:root {
    --primary: #2d2d2d;
    --secondary: #4a4a4a;
    --accent: #6b7280;
    --light: #f9f9f9;
    --dark: #1a1a1a;
    --gray-dark: #3d3d3d;
    --gray: #71717a;
    --gray-light: #d4d4d8;
    --tech-bg: #0d1117;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--light);
    background-color: var(--tech-bg);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'),
        radial-gradient(circle at 20% 30%, rgba(45, 45, 45, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(107, 114, 128, 0.4) 0%, transparent 50%);
    background-blend-mode: overlay, normal;
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
header {
    background-color: rgba(13, 17, 23, 0.95);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--gray-light);
    font-size: 28px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--light);
}

.logo-text span {
    color: var(--gray-light);
}

/* Переключатель языка */
.lang-switcher {
    display: flex;
    gap: 5px;
    background-color: rgba(45, 45, 45, 0.7);
    border-radius: 30px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--light);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.lang-btn.active {
    background-color: var(--gray);
    color: white;
}

.lang-btn:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Навигация */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav a:hover {
    color: var(--gray-light);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gray-light);
    left: 0;
    bottom: -5px;
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 24px;
    cursor: pointer;
}

/* Основной контент */
main {
    margin-top: 100px;
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    margin-bottom: 50px;
    text-align: center;
    color: var(--light);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--gray);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Герой секция */
.hero {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(rgba(13, 17, 23, 0.9), rgba(13, 17, 23, 0.95));
    border-radius: 10px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--light);
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--gray-light);
}

.cta-button {
    display: inline-block;
    background-color: var(--gray);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--gray-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Услуги */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: rgba(13, 17, 23, 0.9);
    border-radius: 10px;
    padding: 40px 30px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gray), transparent);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-icon {
    font-size: 48px;
    color: var(--gray-light);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--light);
}

.service-card p {
    color: var(--gray-light);
    margin-bottom: 20px;
}

/* Технологии */
.technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tech-tag {
    background-color: rgba(107, 114, 128, 0.2);
    color: var(--gray-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Прайс-лист */
.price-section {
    background-color: rgba(13, 17, 23, 0.9);
    border-radius: 10px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 30px;
}

.price-category {
    margin-bottom: 40px;
}

.price-category h3 {
    font-size: 24px;
    color: var(--light);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.price-table th {
    background-color: rgba(107, 114, 128, 0.2);
    color: var(--light);
    text-align: left;
    padding: 15px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-table td {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray-light);
}

.price-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

.price-table tr:hover {
    background-color: rgba(107, 114, 128, 0.1);
}

.price-code {
    font-size: 12px;
    color: var(--accent);
}

.price-name {
    font-weight: 500;
    color: var(--light);
}

.price-description {
    font-size: 14px;
}

.price-cost {
    font-weight: 600;
    color: var(--light);
    white-space: nowrap;
}

/* Реквизиты */
.requisites {
    background-color: rgba(13, 17, 23, 0.9);
    border-radius: 10px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 30px;
}

.requisites h3 {
    font-size: 24px;
    color: var(--light);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray);
}

.requisites-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.requisites-item {
    margin-bottom: 15px;
}

.requisites-label {
    font-weight: 600;
    color: var(--light);
    margin-bottom: 5px;
    display: block;
}

.requisites-value {
    color: var(--gray-light);
}

.notes {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(107, 114, 128, 0.1);
    border-radius: 5px;
    border-left: 4px solid var(--gray);
}

.notes h4 {
    color: var(--light);
    margin-bottom: 10px;
}

.notes ul {
    list-style-type: none;
    padding-left: 0;
}

.notes li {
    margin-bottom: 8px;
    color: var(--gray-light);
    position: relative;
    padding-left: 20px;
}

.notes li:before {
    content: "•";
    color: var(--gray);
    position: absolute;
    left: 0;
}

/* О нас */
.about-content {
    background-color: rgba(13, 17, 23, 0.9);
    border-radius: 10px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray-light);
    font-size: 18px;
}

.experience-list {
    margin-top: 30px;
}

.experience-list h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--light);
    border-bottom: 2px solid var(--gray);
    padding-bottom: 10px;
    display: inline-block;
}

.experience-item {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.experience-title {
    font-size: 18px;
    color: var(--light);
    margin-bottom: 8px;
    font-weight: 500;
}

.experience-tech {
    color: var(--gray-light);
    font-size: 16px;
}

/* Контакты и форма */
.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* Форма */
.contact-form {
    background-color: rgba(13, 17, 23, 0.9);
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--light);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--light);
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gray);
    background-color: rgba(255, 255, 255, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Защита от ботов */
.honeypot {
    opacity: 0;
    position: absolute;
    left: -9999px;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.form-message {
    padding: 12px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: rgba(72, 187, 120, 0.2);
    color: #48bb78;
    border: 1px solid rgba(72, 187, 120, 0.3);
    display: block;
}

.form-message.error {
    background-color: rgba(245, 101, 101, 0.2);
    color: #f56565;
    border: 1px solid rgba(245, 101, 101, 0.3);
    display: block;
}

/* Подвал */
footer {
    background-color: rgba(8, 12, 18, 0.95);
    padding: 50px 0 20px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.copyright {
    text-align: center;
    color: var(--gray);
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .about-content {
        padding: 40px 30px;
    }
    
    .contact-form {
        padding: 40px 30px;
    }
    
    .price-section {
        padding: 30px 20px;
    }
    
    .requisites {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(13, 17, 23, 0.98);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-footer {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .price-table {
        display: block;
        overflow-x: auto;
    }
    
    .price-table th,
    .price-table td {
        min-width: 150px;
    }
}

@media (max-width: 480px) {
    .services {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .about-content {
        padding: 30px 20px;
    }
    
    .price-table th,
    .price-table td {
        padding: 10px 8px;
        font-size: 14px;
    }
}