/* Переменные для удобного управления цветами */
        :root {
    --bg-main: #0a0e14;
    --bg-secondary: #111822;
    --accent-primary: #00ffd5;
    --accent-hover: #00ccaa;
    --text-light: #e2e8f0;
    --text-muted: #8b949e;
    --glass-border: rgba(0, 255, 213, 0.15);
    --glass-border-hover: rgba(0, 255, 213, 0.4);
}

body.page-home {
    --glass-bg: rgba(17, 24, 34, 0.6);
}

body.page-legal {
    --glass-bg: rgba(17, 24, 34, 0.7);
}

        /* Базовые стили сброса */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: var(--bg-main);
            color: var(--text-light);
            line-height: 1.6;
            overflow-x: hidden;
            position: relative;
        }

        /* Кастомный скроллбар */
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: var(--bg-main);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--glass-border);
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: var(--accent-primary);
        }

        /* Эффект выделения текста */
        ::selection {
            background: var(--accent-primary);
            color: var(--bg-main);
        }

        /* Паттерн заднего фона (имитация штрихкода) */
        .barcode-bg {
            position: fixed;
            inset: 0;
            background-image:
                linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.02) 2px, transparent 2px),
                linear-gradient(90deg, rgba(255,255,255,0.01) 4px, transparent 4px);
            background-size: 10px 100%, 28px 100%, 45px 100%;
            z-index: -2;
        }

        /* Общий контейнер */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Шапка и навигация (Стекломорфизм) */
        header {
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 100;
            background: var(--glass-bg);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--glass-border);
            transition: all 0.3s ease;
        }

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

        header h1 {
            font-family: 'Fira Code', monospace;
            font-size: 28px;
            font-weight: 700;
            color: var(--text-light);
            letter-spacing: -1px;
            cursor: pointer;
        }

        header h1::after {
/*            content: '_'; */
            color: var(--accent-primary);
            animation: blink 1s step-end infinite;
        }

        header h1 a {
            color: inherit;
            text-decoration: none;
        }

        @keyframes blink {
            50% { opacity: 0; }
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 30px;
        }

        nav a {
            color: var(--text-light);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: color 0.3s ease, text-shadow 0.3s ease;
        }

        nav a:hover,
        nav a.active {
            color: var(--accent-primary);
            text-shadow: 0 0 10px rgba(0, 255, 213, 0.4);
        }

        /* Главный баннер (Hero) */
        .hero {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 120px 20px 60px;
            position: relative;
        }

        .hero h2 {
            font-family: 'Fira Code', monospace;
            font-size: clamp(32px, 5vw, 64px);
            line-height: 1.2;
            max-width: 900px;
            margin-bottom: 24px;
            background: linear-gradient(135deg, #ffffff 0%, #00ffd5 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 40px rgba(0, 255, 213, 0.2);
        }

        .hero p {
            font-size: clamp(16px, 2vw, 20px);
            color: var(--text-muted);
            max-width: 700px;
            margin-bottom: 40px;
            line-height: 1.7;
        }

        .cta-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 18px 45px;
            background-color: var(--accent-primary);
            color: var(--bg-main);
            font-family: 'Fira Code', monospace;
            font-weight: 700;
            font-size: 16px;
            text-transform: uppercase;
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.3s ease;
            box-shadow: 0 0 25px rgba(0, 255, 213, 0.4);
            position: relative;
            overflow: hidden;
        }

        .cta-button svg {
            width: 24px;
            height: 24px;
            fill: var(--bg-main);
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 0 40px rgba(0, 255, 213, 0.7);
            background-color: var(--accent-hover);
        }

        .store-buttons {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        .store-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 18px 28px;
            min-height: 60px;
            background: var(--glass-bg);
            color: var(--text-light);
            font-family: 'Fira Code', monospace;
            font-weight: 700;
            font-size: 16px;
            text-decoration: none;
            border-radius: 8px;
            border: 1px solid var(--glass-border-hover);
            transition: all 0.3s ease;
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
        }

        .store-button svg {
            width: 24px;
            height: 24px;
            fill: currentColor;
            flex-shrink: 0;
        }

        .store-button:hover {
            transform: translateY(-3px);
            color: var(--accent-primary);
            border-color: var(--accent-primary);
            box-shadow: 0 0 24px rgba(0, 255, 213, 0.18);
        }

        /* Блок преимуществ (Features) */
        .features {
            padding: 80px 20px;
            position: relative;
            z-index: 10;
        }

        .section-title {
            text-align: center;
            font-family: 'Fira Code', monospace;
            font-size: 32px;
            color: var(--text-light);
            margin-bottom: 60px;
        }

        .section-title span {
            color: var(--accent-primary);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .feature-card {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 40px 30px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

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

        .feature-icon {
            width: 60px;
            height: 60px;
            background: rgba(0, 255, 213, 0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px;
            border: 1px solid var(--glass-border);
            color: var(--accent-primary);
        }

        .feature-card h3 {
            font-family: 'Fira Code', monospace;
            font-size: 20px;
            margin-bottom: 15px;
            color: var(--text-light);
        }

        .feature-card p {
            color: var(--text-muted);
            font-size: 15px;
            line-height: 1.7;
        }

        .feature-card p a,
        .feature-card p a:visited {
            color: var(--accent-primary);
            text-decoration: none;
        }

        .feature-card p a:hover {
            color: var(--accent-hover);
            text-shadow: 0 0 10px rgba(0, 255, 213, 0.4);
        }

        /* Блок "Как это работает" (How it works) */
        .how-it-works {
            padding: 100px 20px;
            background: linear-gradient(180deg, transparent 0%, rgba(0, 255, 213, 0.03) 50%, transparent 100%);
            position: relative;
            z-index: 10;
        }

        .steps-container {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            max-width: 1000px;
            margin: 0 auto;
            position: relative;
        }

        /* Линия соединения шагов */
        .steps-container::before {
            content: '';
            position: absolute;
            top: 40px;
            left: 10%;
            width: 80%;
            height: 2px;
            background: dashed 2px var(--glass-border-hover);
            z-index: -1;
        }

        .step {
            flex: 1;
            text-align: center;
            padding: 0 20px;
        }

        .step-number {
            width: 80px;
            height: 80px;
            margin: 0 auto 20px;
            background: var(--bg-secondary);
            border: 2px solid var(--accent-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Fira Code', monospace;
            font-size: 32px;
            font-weight: 700;
            color: var(--accent-primary);
            box-shadow: 0 0 20px rgba(0, 255, 213, 0.2);
        }

        .step h4 {
            font-family: 'Fira Code', monospace;
            font-size: 18px;
            margin-bottom: 10px;
        }

        .step p {
            font-size: 14px;
            color: var(--text-muted);
        }

        /* Финальный призыв к действию (Bottom CTA) */
        .cta-bottom {
            padding: 80px 20px 120px;
            position: relative;
            z-index: 10;
        }

        .cta-box {
            max-width: 900px;
            margin: 0 auto;
            background: var(--glass-bg);
            border: 1px solid var(--accent-primary);
            border-radius: 20px;
            padding: 60px 40px;
            text-align: center;
            box-shadow: 0 0 50px rgba(0, 255, 213, 0.15);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
        }

        .cta-box h2 {
            font-family: 'Fira Code', monospace;
            font-size: 36px;
            margin-bottom: 20px;
        }

        .cta-box p {
            font-size: 18px;
            color: var(--text-muted);
            margin-bottom: 30px;
        }

        /* Подвал */
        footer {
            background-color: #05080b;
            border-top: 1px solid var(--glass-border);
            padding: 60px 0;
            position: relative;
            z-index: 10;
        }

        footer .container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
        }

        footer h3 {
            font-family: 'Fira Code', monospace;
            color: var(--text-light);
            font-size: 18px;
            margin-bottom: 24px;
            position: relative;
            display: inline-block;
        }

        footer h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -8px;
            width: 50%;
            height: 2px;
            background: var(--accent-primary);
            opacity: 0.5;
        }

        footer ul {
            list-style: none;
        }

        footer li {
            margin-bottom: 12px;
        }

        footer a {
            color: var(--text-muted);
            text-decoration: none;
            transition: color 0.3s ease;
            font-size: 15px;
        }

        footer a:hover {
            color: var(--accent-primary);
        }

        /* Адаптивность (Медиа-запросы) */
        @media (max-width: 768px) {
            header .container {
                flex-direction: column;
                justify-content: center;
                height: auto;
                padding: 20px;
            }
            nav ul {
                margin-top: 20px;
                flex-wrap: wrap;
                justify-content: center;
                gap: 15px;
            }
            .hero {
                padding-top: 150px;
            }
            .steps-container {
                flex-direction: column;
                align-items: center;
                gap: 40px;
            }
            .steps-container::before {
                display: none; /* Прячем линию на мобильных */
            }
            .cta-box {
                padding: 40px 20px;
            }
            .store-buttons {
                gap: 12px;
            }

            .store-button {
                width: 100%;
                max-width: 360px;
                padding: 16px 20px;
            }
        }

/* Правила для юридических страниц */
/* Анимация сканера (вертикальный лазер) */
        .scanner-laser {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 2px;
            background: var(--accent-primary);
            box-shadow: 0 0 20px 4px rgba(0, 255, 213, 0.6);
            z-index: -1;
            opacity: 0.7;
            animation: scan 12s linear infinite;
        }

        @keyframes scan {
            0% { top: -10px; opacity: 0; }
            5% { opacity: 0.5; }
            95% { opacity: 0.5; }
            100% { top: 100vh; opacity: 0; }
        }

        /* Паттерн заднего фона (имитация штрихкода) */
        .barcode-bg {
            position: fixed;
            inset: 0;
            background-image:
                linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.02) 2px, transparent 2px),
                linear-gradient(90deg, rgba(255,255,255,0.01) 4px, transparent 4px);
            background-size: 10px 100%, 28px 100%, 45px 100%;
            z-index: -2;
        }

        /* Общий контейнер */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Шапка и навигация (Стекломорфизм) */
        header {
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 100;
            background: var(--glass-bg);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--glass-border);
            transition: all 0.3s ease;
        }

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

        header h1 {
            font-family: 'Fira Code', monospace;
            font-size: 28px;
            font-weight: 700;
            color: var(--text-light);
            letter-spacing: -1px;
            cursor: pointer;
        }

        /* Мигающий курсор терминала */
        header h1::after {
/*            content: '_'; */
            color: var(--accent-primary);
            animation: blink 1s step-end infinite;
        }

        header h1 a {
            color: inherit;
            text-decoration: none;
        }

        @keyframes blink {
            50% { opacity: 0; }
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 30px;
        }

        nav a {
            color: var(--text-light);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: color 0.3s ease, text-shadow 0.3s ease;
        }

        nav a:hover, nav a.active {
            color: var(--accent-primary);
            text-shadow: 0 0 10px rgba(0, 255, 213, 0.4);
        }

        /* Секция с документами (Legal Content) */
        .legal-content {
            padding: 140px 20px 80px;
            position: relative;
        }

        .legal-card {
            max-width: 900px;
            margin: 0 auto;
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 60px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.5);
            position: relative;
            z-index: 10;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        /* Декоративный элемент в виде штрихкода в карточке */
        .legal-card::before {
            content: '';
            position: absolute;
            top: 30px;
            right: 30px;
            width: 50px;
            height: 30px;
            background: repeating-linear-gradient(90deg, var(--accent-primary), var(--accent-primary) 2px, transparent 2px, transparent 4px, var(--accent-primary) 4px, var(--accent-primary) 5px, transparent 5px, transparent 9px);
            opacity: 0.15;
        }

        .legal-card h1 {
            font-family: 'Fira Code', monospace;
            font-size: clamp(28px, 4vw, 36px);
            color: var(--text-light);
            margin-bottom: 10px;
        }

        .legal-card .last-update {
            font-family: 'Fira Code', monospace;
            font-size: 14px;
            color: var(--accent-primary);
            opacity: 0.8;
            margin-bottom: 40px;
            display: inline-block;
        }

        .legal-card h2 {
            font-family: 'Fira Code', monospace;
            font-size: 22px;
            color: var(--text-light);
            margin: 40px 0 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--glass-border);
        }

        .legal-card p {
            font-size: 16px;
            color: var(--text-muted);
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .legal-card strong {
            color: var(--text-light);
            font-weight: 600;
        }

        /* Стилизация списков под терминал */
        .legal-card ul, .legal-card ol {
            margin-bottom: 25px;
            padding-left: 0;
            color: var(--text-muted);
        }

        .legal-card li {
            margin-bottom: 12px;
            line-height: 1.7;
            position: relative;
        }

        .legal-card ul {
            list-style: none;
        }

        .legal-card ul li {
            padding-left: 25px;
        }

        .legal-card ul li::before {
            content: '>';
            position: absolute;
            left: 0;
            color: var(--accent-primary);
            font-family: 'Fira Code', monospace;
            font-weight: bold;
        }

        /* Вложенные списки */
        .legal-card ul ul {
            margin-top: 12px;
            margin-bottom: 0;
            padding-left: 20px;
        }

        .legal-card ol {
            list-style: none;
            counter-reset: my-counter;
        }

        .legal-card ol li {
            padding-left: 35px;
            counter-increment: my-counter;
        }

        .legal-card ol li::before {
            content: counter(my-counter) ".";
            position: absolute;
            left: 0;
            color: var(--accent-primary);
            font-family: 'Fira Code', monospace;
            font-weight: bold;
        }

        .legal-card a {
            color: var(--accent-primary);
            text-decoration: none;
            border-bottom: 1px dashed rgba(0, 255, 213, 0.4);
            transition: all 0.3s ease;
        }

        .legal-card a:hover {
            color: var(--accent-hover);
            border-bottom: 1px solid var(--accent-hover);
            text-shadow: 0 0 10px rgba(0, 255, 213, 0.3);
        }

/* Адаптивность (Медиа-запросы) */
        @media (max-width: 768px) {
            header .container {
                flex-direction: column;
                justify-content: center;
                height: auto;
                padding: 20px;
            }
            nav ul {
                margin-top: 20px;
                flex-wrap: wrap;
                justify-content: center;
                gap: 15px;
            }
            .legal-content {
                padding-top: 160px;
            }
            .legal-card {
                padding: 40px 20px;
            }
        }
/* Страница обратной связи */
.contacts-content {
    padding: 140px 20px 80px;
    position: relative;
}

.contacts-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px;
    background: var(--glass-bg, rgba(17, 24, 34, 0.7));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contacts-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 255, 213, 0.18), rgba(255, 255, 255, 0.04));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.contacts-card h1 {
    margin: 0 0 16px;
    font-family: 'Fira Code', monospace;
    font-size: clamp(28px, 4vw, 36px);
    color: var(--text-light);
}

.contacts-card .contact-intro {
    margin: 0 0 32px;
    max-width: 720px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

.contact-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    margin: 0 0 36px;
    padding: 18px 22px;
    background: rgba(10, 14, 20, 0.55);
    border: 1px solid rgba(0, 255, 213, 0.10);
    border-radius: 12px;
}

.contact-meta-item {
    min-width: 220px;
}

.contact-meta-label {
    display: block;
    margin: 0 0 6px;
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-primary);
}

.contact-meta-value {
    color: var(--text-light);
}

.contact-meta-value a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-meta-value a:hover {
    color: var(--accent-primary);
    border-color: rgba(0, 255, 213, 0.45);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-field--full {
    grid-column: 1 / -1;
}

.contact-label {
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    color: var(--text-light);
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 213, 0.16);
    background: rgba(10, 14, 20, 0.72);
    color: var(--text-light);
    font: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    appearance: none;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: rgba(226, 232, 240, 0.42);
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    border-color: rgba(0, 255, 213, 0.55);
    box-shadow: 0 0 0 4px rgba(0, 255, 213, 0.10);
    background: rgba(10, 14, 20, 0.9);
}

.contact-textarea {
    min-height: 220px;
    resize: vertical;
}

.contact-help {
    color: var(--text-muted);
    font-size: 14px;
}

.contact-status {
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 15px;
    line-height: 1.7;
}

.contact-status--success {
    background: rgba(0, 255, 213, 0.10);
    border-color: rgba(0, 255, 213, 0.28);
    color: var(--text-light);
}

.contact-status--error {
    background: rgba(255, 84, 112, 0.10);
    border-color: rgba(255, 84, 112, 0.30);
    color: var(--text-light);
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    background-color: var(--accent-primary);
    color: var(--bg-main);
    font-family: 'Fira Code', monospace;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    text-decoration: none;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 25px rgba(0, 255, 213, 0.32);
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(0, 255, 213, 0.48);
    background-color: var(--accent-hover);
}

.contact-note {
    max-width: 420px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.contact-hidden {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 768px) {
    .contacts-content {
        padding: 120px 16px 60px;
    }

    .contacts-card {
        padding: 32px 24px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-submit {
        width: 100%;
    }

    .contact-note {
        max-width: none;
    }
}

/* Исправление мобильной шапки: логотип слева, гамбургер справа, меню выпадает ниже */
@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 80px;
        padding: 0 20px;
    }

    header h1 {
        margin: 0;
        flex: 0 1 auto;
    }

    .nav-toggle {
        display: inline-flex;
        flex: 0 0 auto;
    }

    header nav {
        position: absolute;
        top: calc(100% + 12px);
        left: 20px;
        right: 20px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    }

    header.nav-open nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    nav ul {
        margin-top: 0;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0;
        padding: 8px 0;
        border: 1px solid rgba(0, 255, 213, 0.15);
        border-radius: 16px;
        background: rgba(17, 24, 34, 0.96);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    nav li + li {
        border-top: 1px solid rgba(0, 255, 213, 0.08);
    }

    nav a {
        display: block;
        padding: 14px 16px;
        white-space: normal;
    }
}
