:root {
    --bg: #03070C;
    --card-bg: rgba(15, 25, 40, 0.4);
    --glass-bright: rgba(255, 255, 255, 0.03);
    --primary: #1E90FF;
    --accent: #48D1CC;
    --text-main: #E0F2FF;
    --text-dim: #A0B3C1;
    --glass-border: rgba(255, 255, 255, 0.08);
    --gradient: linear-gradient(135deg, #1E90FF 0%, #48D1CC 100%);
}

/* Светлая тема */
body.light-theme {
    --bg: #F0F4F8;
    --card-bg: rgba(255, 255, 255, 0.7);
    --glass-bright: rgba(0, 0, 0, 0.02);
    --text-main: #1A202C;
    --text-dim: #4A5568;
    --glass-border: rgba(0, 0, 0, 0.1);
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Фоновая сетка */
.bg-grid {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(to right, rgba(30, 144, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(30, 144, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
    opacity: 0.95;
}

.nav { display: flex; justify-content: space-between; align-items: center; }
.main-logo { height: 50px; width: auto; display: block; filter: drop-shadow(0 0 10px rgba(30, 144, 255, 0.3)); }
.logo-wrapper { display: flex; align-items: center; padding: 10px 0; }

.menu { display: flex; list-style: none; gap: 30px; }

.nav-link { 
    text-decoration: none; 
    color: var(--text-dim); 
    transition: 0.3s; 
    font-size: 14px; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover { color: var(--text-main); }
.nav-link:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 15px; }

.lang-btn, .theme-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}
.lang-btn:hover, .theme-btn:hover { background: var(--primary); transform: translateY(-2px); color: white; }

/* Burger Menu Style */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.burger span {
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 10px;
    transition: all 0.3s linear;
}

/* Burger Animation */
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -8px); }

/* Hero */
.hero { padding: 120px 20px; text-align: center; }
h1 { font-size: clamp(32px, 6vw, 64px); line-height: 1.1; margin-bottom: 24px; font-weight: 700; }
.subtitle { font-size: 18px; color: var(--text-dim); max-width: 800px; margin: 0 auto 40px; }
.hero-bullets { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-bullets span { background: rgba(30, 144, 255, 0.1); padding: 10px 25px; border-radius: 50px; border: 1px solid var(--primary); font-size: 13px; }

.free-trial-container {
    position: relative;
    display: inline-block;
    margin-top: 25px;
    padding: 2px;
    border-radius: 10px;
    overflow: hidden;
}

.rotating-border {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(72, 209, 204, 0.8), transparent 30%);
    animation: rotate 4s linear infinite;
    z-index: 1;
}

.free-trial-badge {
    position: relative;
    z-index: 2;
    background: var(--bg);
    padding: 12px 24px;
    border-radius: 8px;
    color: var(--accent);
    font-weight: 500;
    border: 1px dashed rgba(72, 209, 204, 0.3);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn { 
    display: inline-block; 
    padding: 14px 28px; 
    border-radius: 12px; 
    text-decoration: none; 
    font-weight: 600; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    cursor: pointer; 
    border: none; 
    position: relative;
    overflow: hidden;
}

.btn-primary { 
    background: var(--gradient); 
    color: white; 
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.4);
    filter: brightness(1.1);
}

.btn-secondary { 
    background: rgba(255,255,255,0.05); 
    border: 1px solid var(--glass-border); 
    color: var(--text-main); 
    margin-left: 10px; 
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
    border-color: var(--text-dim);
}

.btn-outline { 
    border: 1px solid var(--primary); 
    color: var(--primary); 
    text-align: center; 
    width: 100%; 
    margin-top: 15px; 
    background: transparent; 
}

.btn-outline:hover { 
    background: var(--primary); 
    color: white; 
    transform: translateY(-3px);
}

/* Cards & Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: 0.4s;
}

.pricing-card:hover { transform: translateY(-10px); border-color: var(--primary); }
.pricing-card.featured { border: 2px solid var(--primary); transform: scale(1.05); }

.price { font-size: 40px; font-weight: 700; margin: 20px 0; }
.price span { font-size: 16px; color: var(--text-dim); }

.pricing-card ul { list-style: none; text-align: left; margin-bottom: 25px; }
.pricing-card li::before { content: "✓"; color: var(--accent); margin-right: 10px; }

/* Security Section */
.security { padding: 100px 20px; text-align: center; }
.section-title { font-size: 36px; margin-bottom: 15px; }
.section-desc { color: var(--text-dim); margin-bottom: 50px; }

.small-card { text-align: left; position: relative; overflow: hidden; }
.small-card h4 { color: var(--accent); margin-bottom: 10px; }
.small-card p { font-size: 14px; color: var(--text-dim); }

/* АНИМАЦИЯ НА ПЛАШКАХ БЕЗОПАСНОСТИ */
.security-anim:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(72, 209, 204, 0.15);
}
.security-anim::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: 0.5s;
}
.security-anim:hover::before { left: 100%; }

.wide-card { grid-column: 1 / -1; margin-top: 30px; }
.doc-links { display: flex; justify-content: center; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.doc-links a { color: var(--primary); text-decoration: none; border-bottom: 1px dashed var(--primary); font-size: 14px; }

/* Download Section - НОВЫЕ ЛОГОТИПЫ */
.download { padding: 120px 20px; text-align: center; }
.download-modern-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
    gap: 25px; 
    margin-top: 60px; 
}
.download-item {
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.platform-icon {
    width: 45px; height: 45px;
    margin-bottom: 20px;
    background-color: var(--primary);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}
/* Монитор */
.icon-monitor { -webkit-mask-image: url('https://cdn-icons-png.flaticon.com/512/3474/3474360.png'); mask-image: url('https://cdn-icons-png.flaticon.com/512/3474/3474360.png'); }
/* Яблоко */
.icon-apple { -webkit-mask-image: url('https://cdn-icons-png.flaticon.com/512/152/152752.png'); mask-image: url('https://cdn-icons-png.flaticon.com/512/152/152752.png'); }
/* Телефон */
.icon-phone { -webkit-mask-image: url('https://cdn-icons-png.flaticon.com/512/3137/3137807.png'); mask-image: url('https://cdn-icons-png.flaticon.com/512/3137/3137807.png'); }

/* Support Section */
.support-section { padding: 100px 20px; }
.support-wrapper { max-width: 800px; margin: 0 auto; }
.support-box { text-align: center; padding: 60px 40px; }
.support-btn-container { margin-top: 30px; display: flex; justify-content: center; }
.btn-support { padding: 18px 45px; font-size: 16px; }

/* Footer & СОЦ СЕТИ СИНЕ-ГОЛУБЫЕ */
.footer { padding: 80px 0 40px; background: #010305; border-top: 1px solid var(--glass-border); }
body.light-theme .footer { background: #E2E8F0; }

.footer-top { display: flex; justify-content: space-between; gap: 60px; margin-bottom: 60px; }
.footer-brand { flex: 1; }
.footer-logo { height: 60px; margin-bottom: 20px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; max-width: 250px; }

.footer-links-grid { display: flex; gap: 80px; flex: 2; justify-content: flex-end; }
.footer-col h5 { color: var(--text-main); margin-bottom: 20px; font-size: 16px; font-weight: 600; }
.footer-col a { display: block; color: var(--text-dim); text-decoration: none; font-size: 14px; margin-bottom: 12px; transition: 0.3s; }
.footer-col a:hover { color: var(--primary); }

.social-icons-mini { display: flex; gap: 15px; }

/* ОБЩИЙ СТИЛЬ ДЛЯ ВСЕХ СОЦ СЕТЕЙ (Сине-голубой) */
.aura-social img {
    width: 22px; height: 22px;
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(170deg) brightness(101%) contrast(101%);
    opacity: 0.8;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.aura-social:hover img { opacity: 1; transform: translateY(-3px) scale(1.1); }

.footer-bottom { padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.03); text-align: center; }
.copy { font-size: 12px; color: var(--text-dim); opacity: 0.5; }

/* --- Mobile Optimization Additions --- */
@media (max-width: 1024px) {
    .menu { gap: 15px; }
    .nav-link { font-size: 12px; }
}

@media (max-width: 768px) {
    .burger { display: flex; }
    
    .menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg);
        z-index: 1050;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 100px 40px;
        border-left: 1px solid var(--glass-border);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .menu-wrapper.active { right: 0; }

    .menu {
        flex-direction: column;
        gap: 25px;
        display: flex;
    }

    .nav-link { font-size: 18px; }

    .nav-cta {
        padding: 8px 16px;
        font-size: 12px;
    }

    .hero { padding: 60px 20px; }
    .hero-btns { display: flex; flex-direction: column; gap: 15px; }
    .btn-secondary { margin-left: 0; }
    
    .grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: scale(1); }
    
    .footer-top { flex-direction: column; text-align: center; gap: 40px; }
    .footer-links-grid { justify-content: center; gap: 40px; flex-wrap: wrap; text-align: center; }
    .footer-col { min-width: 120px; }
    
    .security-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 28px; }
    
    .download-modern-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .download-modern-grid { grid-template-columns: 1fr; }
    .hero-bullets span { width: 100%; }
    .nav-cta { display: none; } /* Hide on very small screens to save space */
}