:root {
    --bg-primary: #0a0612;
    --bg-secondary: #120a22;
    --bg-tertiary: #1a1030;
    --purple-deep: #3F1289;
    --purple-vibrant: #602EAD;
    --purple-light: #8B5FD9;
    --gold: #FAB101;
    --orange: #F38B08;
    --white: #ffffff;
    --gray-light: #e0d8f0;
    --gray: #a89dc0;
    --gray-dark: #6b5f80;
    --gradient-purple: linear-gradient(135deg, #602EAD 0%, #3F1289 100%);
    --gradient-gold: linear-gradient(135deg, #FAB101 0%, #F38B08 100%);
    --gradient-hero: radial-gradient(ellipse at top, #2a1454 0%, #0a0612 60%);
    --glass-bg: rgba(96, 46, 173, 0.08);
    --glass-border: rgba(139, 95, 217, 0.2);
    --shadow-purple: 0 20px 60px -15px rgba(96, 46, 173, 0.4);
    --shadow-glow: 0 0 80px rgba(96, 46, 173, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 6, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 95, 217, 0.1);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

.logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { height: 72px; width: auto; }

.nav { display: flex; align-items: center; gap: 32px; }

.nav a {
    color: var(--gray-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav a:hover { color: var(--gold); }

.lang-selector {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-selector option { background: var(--bg-secondary); color: var(--white); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(96, 46, 173, 0.15) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content { position: relative; z-index: 2; max-width: 800px; }

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-logo {
    height: 80px;
    width: auto;
    margin-bottom: 32px;
    filter: drop-shadow(0 10px 40px rgba(250, 177, 1, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.75rem);
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--gray-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--bg-primary);
    box-shadow: 0 10px 30px -10px rgba(250, 177, 1, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px -10px rgba(250, 177, 1, 0.7);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(96, 46, 173, 0.2);
    border-color: var(--purple-light);
}

/* SECTIONS */
.section { padding: 100px 0; position: relative; }

.section-header { text-align: center; margin-bottom: 64px; }

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* FEATURES */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple-light), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--purple-light);
    box-shadow: var(--shadow-purple);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.feature-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
.feature-desc { color: var(--gray-light); line-height: 1.7; }

/* DEVICES */
.devices-section {
    background: linear-gradient(180deg, transparent 0%, rgba(96, 46, 173, 0.05) 50%, transparent 100%);
}

.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.device-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    transition: all 0.3s;
}

.device-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    background: rgba(250, 177, 1, 0.05);
}

.device-icon { font-size: 2.5rem; margin-bottom: 12px; }
.device-name { font-weight: 600; color: var(--white); }
.device-status { font-size: 0.8rem; color: var(--gold); margin-top: 6px; }

/* HOW IT WORKS */
.how-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    position: relative;
}

.how-step { text-align: center; position: relative; }

.step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px -10px rgba(96, 46, 173, 0.6);
}

.step-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.step-desc { color: var(--gray-light); }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover { border-color: var(--purple-light); }

.faq-question {
    width: 100%;
    padding: 24px 28px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 28px;
    color: var(--gray-light);
}

.faq-item.active .faq-answer { max-height: 500px; padding: 0 28px 24px; }

/* DISCLAIMER BANNER */
.disclaimer-banner {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.disclaimer-banner p { color: var(--gray-light); font-size: 1rem; }

/* FOOTER */
.footer {
    background: var(--bg-secondary);
    padding: 64px 0 32px;
    border-top: 1px solid rgba(139, 95, 217, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo-link { margin-bottom: 16px; }
.footer-brand .logo-img { height: 140px; }
.footer-tagline { color: var(--gray); max-width: 300px; }

.footer-col h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-col a {
    display: block;
    color: var(--gray);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(139, 95, 217, 0.1);
    padding-top: 32px;
    text-align: center;
    color: var(--gray-dark);
    font-size: 0.9rem;
}

/* LEGAL PAGES */
.legal-page { padding: 140px 0 80px; min-height: 100vh; }
.legal-content { max-width: 800px; margin: 0 auto; }

.legal-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.legal-updated { color: var(--gold); margin-bottom: 40px; font-size: 0.95rem; }

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0 16px;
    color: var(--white);
}

.legal-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--gold);
}

.legal-content p, .legal-content li {
    color: var(--gray-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content ul { padding-left: 24px; margin-bottom: 16px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--gold); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }

.placeholder {
    background: rgba(250, 177, 1, 0.1);
    border: 1px dashed var(--gold);
    border-radius: 8px;
    padding: 16px;
    color: var(--gold);
    margin: 16px 0;
    font-style: italic;
}

/* SUPPORT FORM */
.support-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    margin-top: 32px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
}

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

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 73px;
        left: 0; right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .footer-content { grid-template-columns: 1fr; gap: 32px; }
    .section { padding: 64px 0; }
}
