﻿:root {
    --primary-dark: #0D1B48;
    --primary-light: #4A9DFF;
    --accent: #00FFC5;
    --accent-glow: rgba(0, 255, 197, 0.6);
    --bg-main: #0A0E1F;
    --white: #FFFFFF;
    --text-muted: #B0B8D0;
    --purple-neon: #A855F7;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
}

/* ===== КОСМИЧЕСКИЙ ФОН ===== */
body {
    min-height: 100vh;
    background: radial-gradient(circle at 20% 80%, rgba(74, 157, 255, 0.1) 0%, transparent 40%), radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 40%), radial-gradient(circle at 40% 40%, rgba(0, 255, 197, 0.05) 0%, transparent 50%), linear-gradient(135deg, #0A0E1F 0%, #0F1A3A 50%, #1A1F33 100%);
    color: var(--white);
    position: relative;
    overflow-x: hidden;
}

/* Звезды - слой 1 (мелкие) */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    animation: twinkle 4s infinite;
}

/* Звезды - слой 2 (средние) */
.stars2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
}

.star2 {
    position: absolute;
    background-color: var(--primary-light);
    border-radius: 50%;
    animation: twinkle 3s infinite;
    animation-delay: 1s;
}

/* Звезды - слой 3 (крупные) */
.stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.star3 {
    position: absolute;
    background-color: var(--accent);
    border-radius: 50%;
    animation: twinkle 5s infinite;
    animation-delay: 2s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
main {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    animation: float 8s infinite ease-in-out;
}

/* ===== ФУТЕР ===== */
footer {
    margin-top: 80px;
    background: rgba(13, 27, 72, 0.6);
    border-top: 1px solid rgba(74, 157, 255, 0.25);
    text-align: center;
    padding: 30px;
    color: var(--primary-light);
    font-size: 15px;
    border-radius: 20px 20px 0 0;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

    footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--accent), var(--primary-light), transparent);
    }

    footer:hover {
        background: rgba(13, 27, 72, 0.7);
        border-top-color: var(--accent);
    }

/* ===== ХЕДЕР ===== */
.main-header {
    position: relative;
    z-index: 10;
    padding: 20px 0;
    border-bottom: 1px solid rgba(74, 157, 255, 0.2);
    background: rgba(13, 27, 72, 0.8);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

    .nav-link:hover {
        color: var(--accent);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--accent);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }

.header-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.login-btn {
    background: linear-gradient(135deg, rgba(74, 157, 255, 0.15), rgba(13, 27, 72, 0.25));
    border: 1px solid rgba(74, 157, 255, 0.3);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .login-btn:hover {
        background: linear-gradient(135deg, rgba(0, 255, 197, 0.2), rgba(13, 27, 72, 0.35));
        border-color: var(--accent);
        transform: translateY(-2px);
    }

.download-btn {
    background: linear-gradient(135deg, var(--accent), #00D4A3);
    color: #00110D;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border: none;
    transition: all 0.3s ease;
}

    .download-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0, 255, 197, 0.3);
    }

/* ===== ГЕРОЙ СЕКЦИЯ ===== */
.hero-section {
    margin: 60px auto;
    max-width: 1200px;
    padding: 0 24px;
}

.hero-content {
    text-align: center;
    padding: 40px 20px;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0;
    padding: 30px;
    background: rgba(13, 27, 72, 0.3);
    border-radius: 20px;
    border: 1px solid rgba(74, 157, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    text-decoration: none;
}

.secondary-btn {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(13, 27, 72, 0.25)) !important;
    border: 1px solid rgba(168, 85, 247, 0.3) !important;
}

    .secondary-btn:hover {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(13, 27, 72, 0.35)) !important;
        border-color: var(--purple-neon) !important;
    }

/* ===== СЕКЦИИ ===== */
.features-section,
.subscriptions-section,
.download-section {
    margin: 80px auto;
    max-width: 1200px;
    padding: 0 24px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--white);
}

.section p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 15px;
}

/* ===== ПОДПИСКИ ===== */
.subscription-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.subscription-plan {
    background: linear-gradient(145deg, rgba(13, 27, 72, 0.5), rgba(20, 35, 90, 0.4));
    border-radius: 22px;
    padding: 40px 30px;
    border: 1px solid rgba(74, 157, 255, 0.15);
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
}

    .subscription-plan:hover {
        transform: translateY(-10px);
        border-color: var(--accent);
    }

    .subscription-plan.popular {
        border: 2px solid var(--accent);
        transform: scale(1.05);
    }

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #00110D;
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.subscription-plan h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--white);
}

.plan-price {
    margin-bottom: 30px;
}

.price {
    font-size: 48px;
    font-weight: 800;
}

.period {
    color: var(--text-muted);
    font-size: 16px;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

    .plan-features li {
        padding: 10px 0;
        color: var(--text-muted);
        border-bottom: 1px solid rgba(74, 157, 255, 0.1);
        position: relative;
        padding-left: 25px;
    }
.plan-btn {
    width: 100%;
    margin-top: 20px;
}

/* ===== СЕКЦИЯ ЗАГРУЗКИ ===== */
.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.platform-btn {
    background: rgba(13, 27, 72, 0.3);
    border: 1px solid rgba(74, 157, 255, 0.2);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
}

    .platform-btn:hover {
        background: rgba(74, 157, 255, 0.1);
        border-color: var(--accent);
        transform: translateY(-3px);
    }

.platform-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Мокап приложения */
.device-mockup {
    width: 300px;
    height: 500px;
    background: linear-gradient(145deg, #0D1B48, #1A1F33);
    border-radius: 30px;
    padding: 20px;
    border: 2px solid var(--primary-light);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.device-screen {
    background: #0A0E1F;
    height: 100%;
    border-radius: 20px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-interface {
    text-align: center;
}

.app-header {
    margin-bottom: 40px;
}

.app-status {
    color: var(--accent);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
}

.app-location {
    color: var(--text-muted);
    font-size: 14px;
}

.app-speed {
    margin: 40px 0;
}

.speed-value {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

.speed-label {
    color: var(--text-muted);
    font-size: 14px;
}

.app-connect-btn {
    background: linear-gradient(135deg, #FF4D4D, #FF3333);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 30px;
}

    .app-connect-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(255, 77, 77, 0.5);
    }

/* ===== ПРОФИЛЬ ===== */
.profile-wrapper {
    background: linear-gradient(145deg, rgba(13, 27, 72, 0.85), rgba(20, 35, 90, 0.75));
    border-radius: 28px;
    padding: 50px;
    border: 1px solid rgba(74, 157, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.profile-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(74, 157, 255, 0.2);
    position: relative;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1;
    min-width: 30px;
}

.avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #00D4A3);
    color: #00110D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 800;
    border: 2px solid var(--primary-light);
    position: relative;
    overflow: hidden;
    animation: avatarFloat 4s infinite ease-in-out;
}

@keyframes avatarFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-5px) scale(1.02);
    }
}

.avatar::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: avatarShine 3s infinite;
}

@keyframes avatarShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.user-text h1 {
    font-size: 32px;
    margin-bottom: 8px;
    text-shadow: 0 0 15px rgba(0, 255, 197, 0.4);
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, var(--accent), #80FFE8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.user-text p {
    color: var(--text-muted);
    font-size: 16px;
    letter-spacing: 0.5px;
}

.logo {
    height: 65px;
    transition: all 0.3s ease;
    opacity: 0.9;
}

    .logo:hover {
        transform: scale(1.08);
        opacity: 1;
    }

.bt-conteiner {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.edit-btn {
    background: linear-gradient(135deg, rgba(74, 157, 255, 0.15), rgba(13, 27, 72, 0.25));
    border: 1px solid rgba(74, 157, 255, 0.3);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 160px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

    .edit-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: left 0.6s;
    }

    .edit-btn:hover {
        background: linear-gradient(135deg, rgba(0, 255, 197, 0.2), rgba(13, 27, 72, 0.35));
        border-color: var(--accent);
        transform: translateY(-3px);
    }

        .edit-btn:hover::before {
            left: 100%;
        }

.sections {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.section {
    background: linear-gradient(145deg, rgba(13, 27, 72, 0.5), rgba(20, 35, 90, 0.4));
    border-radius: 22px;
    padding: 30px;
    border: 1px solid rgba(74, 157, 255, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

    .section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    }

    .section:hover {
        transform: translateY(-8px) scale(1.01);
        border-color: var(--accent);
    }

    .section h3 {
        font-size: 17px;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: var(--primary-light);
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 25px;
        font-weight: 600;
    }

        .section h3::before {
            content: "";
            width: 10px;
            height: 10px;
            background: var(--accent);
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.subscription-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(74, 157, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

    .subscription-item:hover {
        padding-left: 10px;
        padding-right: 10px;
        background: rgba(74, 157, 255, 0.05);
        border-radius: 8px;
    }

    .subscription-item:last-child {
        border-bottom: none;
    }

.accent-highlight {
    color: var(--accent);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 255, 197, 0.4);
    font-size: 17px;
    position: relative;
}

    .accent-highlight::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 100%;
        height: 1px;
        background: var(--accent);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

.subscription-item:hover .accent-highlight::after {
    transform: scaleX(1);
}

.empty-subscription {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 30px 20px;
    font-size: 16px;
    border: 2px dashed rgba(74, 157, 255, 0.2);
    border-radius: 12px;
    margin: 15px 0;
    transition: all 0.3s ease;
    background: rgba(13, 27, 72, 0.2);
}

    .empty-subscription:hover {
        border-color: var(--accent);
        color: var(--accent);
        background: rgba(0, 255, 197, 0.05);
    }

.subs-link {
    display: inline-block;
    margin-top: 25px;
    background: linear-gradient(135deg, rgba(74, 157, 255, 0.08), rgba(13, 27, 72, 0.15));
    color: var(--white);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 12px;
    border: 1px solid var(--primary-light);
    transition: all 0.3s ease;
    font-weight: 600;
    text-align: center;
    width: 100%;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

    .subs-link:hover {
        background: linear-gradient(135deg, rgba(0, 255, 197, 0.15), rgba(13, 27, 72, 0.25));
        border-color: var(--accent);
        transform: translateY(-2px);
        letter-spacing: 1px;
    }

    .subs-link::after {
        content: '→';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        transition: all 0.3s ease;
    }

    .subs-link:hover::after {
        right: 15px;
        color: var(--accent);
    }

/* ===== ПЕРЕКЛЮЧАТЕЛЬ ТЕМЫ ===== */
.theme-switcher-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: left;
    margin: 5px;
}

.theme-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
}

.theme-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    background: rgba(13, 27, 72, 0.6);
    color: var(--white);
    border: 1px solid rgba(74, 157, 255, 0.3);
}

    .theme-btn:hover {
        background: rgba(74, 157, 255, 0.3);
        transform: scale(1.1);
    }

    .theme-btn.active {
        background: linear-gradient(135deg, var(--accent), #00D4A3);
        color: #00110D;
        box-shadow: 0 0 15px rgba(0, 255, 197, 0.5);
    }

/* ===== СВЕТЛАЯ ТЕМА ===== */
body.light-theme {
    --primary-dark: #0D1B48;
    --primary-light: #4A9DFF;
    --accent: #00A2FF;
    --accent-glow: rgba(0, 162, 255, 0.6);
    --bg-main: #F0F5FF;
    --white: #FFFFFF;
    --text-muted: #4A5568;
    --purple-neon: #7C3AED;
    background: radial-gradient(circle at 10% 20%, rgba(74, 157, 255, 0.15) 0%, transparent 25%), radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 25%), radial-gradient(circle at 50% 50%, rgba(0, 255, 197, 0.08) 0%, transparent 30%), linear-gradient(135deg, #E6F0FF 0%, #F0F7FF 30%, #FFFFFF 70%, #F8FAFF 100%);
    color: #1A202C;
    position: relative;
    overflow-x: hidden;
}

    body.light-theme::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 1;
        background: radial-gradient(circle at 20% 30%, rgba(74, 157, 255, 0.12) 0%, transparent 40%), radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.08) 0%, transparent 40%), radial-gradient(circle at 40% 60%, rgba(0, 162, 255, 0.1) 0%, transparent 45%);
        opacity: 0.6;
    }

    body.light-theme .profile-wrapper,
    body.light-theme .section,
    body.light-theme .subscription-plan,
    body.light-theme .hero-stats {
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(240, 245, 255, 0.75));
        border: 1px solid rgba(74, 157, 255, 0.2);
        box-shadow: 0 8px 32px rgba(13, 27, 72, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    }

        body.light-theme .profile-wrapper::before,
        body.light-theme .section::before {
            background: linear-gradient(90deg, transparent, rgba(74, 157, 255, 0.3), transparent);
        }

        body.light-theme .section:hover,
        body.light-theme .subscription-plan:hover {
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(240, 245, 255, 0.85));
            border-color: var(--accent);
            box-shadow: 0 12px 40px rgba(0, 162, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
        }

    body.light-theme .hero-title {
        background: linear-gradient(90deg, #00A2FF, #4A9DFF, #7C3AED);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 4px 20px rgba(0, 162, 255, 0.2);
    }

    body.light-theme .section-title {
        color: rgba(74, 157, 255);
    }

    body.light-theme .hero-subtitle,
    body.light-theme .stat-label,
    body.light-theme .section p,
    body.light-theme .user-text p,
    body.light-theme .subscription-item {
        color: #4A5568;
    }

    body.light-theme .stat-value,
    body.light-theme .accent-highlight {
        color: var(--accent);
        text-shadow: 0 2px 10px rgba(0, 162, 255, 0.3);
    }

    body.light-theme .edit-btn,
    body.light-theme .login-btn {
        background: linear-gradient(135deg, rgba(74, 157, 255, 0.1), rgba(240, 245, 255, 0.8));
        border: 1px solid rgba(74, 157, 255, 0.3);
        color: var(--primary-dark);
        box-shadow: 0 4px 15px rgba(74, 157, 255, 0.1);
    }

        body.light-theme .edit-btn:hover,
        body.light-theme .login-btn:hover {
            background: linear-gradient(135deg, rgba(0, 162, 255, 0.15), rgba(240, 245, 255, 0.9));
            border-color: var(--accent);
            box-shadow: 0 8px 25px rgba(0, 162, 255, 0.2);
        }

    body.light-theme .download-btn,
    body.light-theme .plan-btn {
        background: linear-gradient(135deg, var(--accent), #0088CC);
        color: white;
        box-shadow: 0 6px 20px rgba(0, 162, 255, 0.3);
    }

        body.light-theme .download-btn:hover,
        body.light-theme .plan-btn:hover {
            background: linear-gradient(135deg, #0088CC, var(--accent));
            box-shadow: 0 10px 30px rgba(0, 162, 255, 0.4);
        }

    body.light-theme footer {
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(240, 245, 255, 0.85));
        border-top: 1px solid rgba(74, 157, 255, 0.25);
        color: var(--primary-dark);
    }

        body.light-theme footer::before {
            background: linear-gradient(90deg, transparent, var(--accent), var(--primary-light), transparent);
        }

        body.light-theme footer:hover {
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(240, 245, 255, 0.9));
        }

    body.light-theme .device-mockup {
        background: linear-gradient(145deg, #FFFFFF, #F0F5FF);
        border: 2px solid var(--primary-light);
        box-shadow: 0 15px 35px rgba(13, 27, 72, 0.1);
    }

    body.light-theme .device-screen {
        background: #F8FAFF;
    }

    body.light-theme .platform-btn {
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(74, 157, 255, 0.25);
        color: var(--primary-dark);
    }

        body.light-theme .platform-btn:hover {
            background: rgba(74, 157, 255, 0.1);
            border-color: var(--accent);
        }

    body.light-theme .empty-subscription {
        background: rgba(255, 255, 255, 0.5);
        border: 2px dashed rgba(74, 157, 255, 0.3);
        color: #718096;
    }

        body.light-theme .empty-subscription:hover {
            background: rgba(74, 157, 255, 0.1);
            border-color: var(--accent);
            color: var(--accent);
        }

    body.light-theme .subs-link {
        background: linear-gradient(135deg, rgba(74, 157, 255, 0.1), rgba(240, 245, 255, 0.8));
        color: var(--primary-dark);
        border: 1px solid rgba(74, 157, 255, 0.3);
    }

        body.light-theme .subs-link:hover {
            background: linear-gradient(135deg, rgba(0, 162, 255, 0.15), rgba(240, 245, 255, 0.9));
            border-color: var(--accent);
        }

    body.light-theme .main-header {
        background: rgba(13, 27, 72, 0.95) !important;
        border-bottom: 1px solid rgba(74, 157, 255, 0.3) !important;
        box-shadow: 0 2px 20px rgba(13, 27, 72, 0.15) !important;
        backdrop-filter: blur(10px) !important;
    }

    body.light-theme .nav-link {
        color: rgba(255, 255, 255, 0.9) !important;
    }

        body.light-theme .nav-link:hover {
            color: var(--accent) !important;
        }

    body.light-theme .header-container,
    body.light-theme .nav-menu,
    body.light-theme .header-buttons {
        color: white !important;
    }

    body.light-theme .login-btn {
        background: linear-gradient(135deg, rgba(0, 255, 197, 0.15), rgba(13, 27, 72, 0.25)) !important;
        border: 1px solid rgba(0, 255, 197, 0.3) !important;
        color: white !important;
    }

        body.light-theme .login-btn:hover {
            background: linear-gradient(135deg, rgba(0, 255, 197, 0.25), rgba(13, 27, 72, 0.35)) !important;
            border-color: var(--accent) !important;
            color: white !important;
        }

    body.light-theme .download-btn {
        background: linear-gradient(135deg, var(--accent), #00D4A3) !important;
        color: #00110D !important;
    }

    body.light-theme .secondary-btn {
        background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(240, 245, 255, 0.8)) !important;
        border: 1px solid rgba(124, 58, 237, 0.3) !important;
        color: var(--primary-dark) !important;
    }

        body.light-theme .secondary-btn:hover {
            background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(240, 245, 255, 0.9)) !important;
            border-color: var(--purple-neon) !important;
        }

    body.light-theme .accent-highlight::after {
        background: var(--accent);
    }

@keyframes pulse-light {
    0%, 100% {
        opacity: 0.3;
        box-shadow: 0 0 5px rgba(0, 162, 255, 0.3);
    }

    50% {
        opacity: 0.6;
        box-shadow: 0 0 15px rgba(0, 162, 255, 0.5);
    }
}

body.light-theme .section h3::before {
    animation: pulse-light 2s infinite;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .nav-menu {
        justify-content: center;
    }

    .download-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .subscription-plan.popular {
        transform: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .profile-top {
        flex-direction: column;
        text-align: center;
    }

    .profile-info {
        flex-direction: column;
        text-align: center;
    }

    .bt-conteiner {
        justify-content: center;
    }

    .sections {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .subscription-plans {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .device-mockup {
        width: 250px;
        height: 450px;
    }

    .profile-wrapper {
        padding: 30px 20px;
    }

    .edit-btn {
        min-width: 140px;
        padding: 12px 24px;
    }

    .theme-switcher-container {
        position: fixed;
    }

    .theme-switcher {
        padding: 10px;
    }

    .theme-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

        .theme-btn span:last-child {
            display: none;
        }

    .theme-icon {
        font-size: 14px;
    }

    .mobile-theme-toggle {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 15px;
    }
}

/* Стили для мобильного переключателя */
.mobile-theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.theme-toggle-btn {
    background: linear-gradient(135deg, var(--accent), #00D4A3);
    color: #00110D;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .theme-toggle-btn:hover {
        transform: scale(1.1) rotate(180deg);
    }

/* Подключение стилей подписок и оплаты */
@import url('subscription.css');
@import url('payment.css');

/* ===== СТИЛИ ДЛЯ ИКОНКИ ПОЛЬЗОВАТЕЛЯ В ХЕДЕРЕ ===== */
.profile-header-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    background: rgba(13, 27, 72, 0.4);
    border: 1px solid rgba(74, 157, 255, 0.3);
    border-radius: 50px;
    padding: 8px 16px 8px 8px;
    transition: all 0.3s ease;
    margin-right: 10px;
}

    .profile-header-btn:hover {
        background: rgba(74, 157, 255, 0.2);
        border-color: var(--accent);
        transform: translateY(-2px);
    }

.profile-header-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-header-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #00D4A3);
    color: #00110D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.profile-header-name {
    font-weight: 600;
    font-size: 14px;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Адаптивность для иконки профиля */
@media (max-width: 768px) {
    .profile-header-name {
        display: none;
    }

    .profile-header-btn {
        padding: 8px;
    }

    .profile-header-avatar {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* Светлая тема */
body.light-theme .profile-header-btn {
    background: rgba(0, 162, 255, 0.1);
    border: 1px solid rgba(0, 162, 255, 0.3);
    color: var(--primary-dark);
}

    body.light-theme .profile-header-btn:hover {
        background: rgba(0, 162, 255, 0.2);
        border-color: var(--accent);
    }

body.light-theme .profile-header-avatar {
    background: linear-gradient(135deg, var(--accent), #0088CC);
    color: white;
}

/* ===== СТИЛИ ДЛЯ ИКОНКИ ПОЛЬЗОВАТЕЛЯ В ХЕДЕРЕ ===== */
.profile-header-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    background: rgba(13, 27, 72, 0.4);
    border: 1px solid rgba(74, 157, 255, 0.3);
    border-radius: 50px;
    padding: 8px 16px 8px 8px;
    transition: all 0.3s ease;
    margin-right: 10px;
}

    .profile-header-btn:hover {
        background: rgba(74, 157, 255, 0.2);
        border-color: var(--accent);
        transform: translateY(-2px);
    }

.profile-header-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-header-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #00D4A3);
    color: #00110D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.profile-header-name {
    font-weight: 600;
    font-size: 14px;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Адаптивность для иконки профиля */
@media (max-width: 768px) {
    .profile-header-name {
        display: none;
    }

    .profile-header-btn {
        padding: 8px;
    }

    .profile-header-avatar {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* Светлая тема */
body.light-theme .profile-header-btn {
    background: rgba(0, 162, 255, 0.1);
    border: 1px solid rgba(0, 162, 255, 0.3);
    color: var(--primary-dark);
}

    body.light-theme .profile-header-btn:hover {
        background: rgba(0, 162, 255, 0.2);
        border-color: var(--accent);
    }

body.light-theme .profile-header-avatar {
    background: linear-gradient(135deg, var(--accent), #0088CC);
    color: white;
}