/* ===== DESIGN TOKENS ===== */
:root {
    --bg-primary: #0a0a12;
    --bg-secondary: #12121e;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.15);
    
    --text-primary: #f0eef6;
    --text-secondary: #9590a8;
    --text-muted: #6b6580;
    
    --accent-purple: #a855f7;
    --accent-violet: #7c3aed;
    --accent-gold: #f59e0b;
    --accent-amber: #d97706;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-pink: #ec4899;
    
    --gradient-primary: linear-gradient(135deg, #a855f7 0%, #f59e0b 100%);
    --gradient-hero: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #f59e0b 100%);
    --gradient-card: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    --shadow-glow: 0 0 60px rgba(168, 85, 247, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== ANIMATED BACKGROUND ===== */
.bg-orbs { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; background: var(--accent-purple); top: -200px; left: -100px; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: var(--accent-gold); top: 50%; right: -150px; animation-delay: -7s; }
.orb-3 { width: 400px; height: 400px; background: var(--accent-violet); bottom: -100px; left: 30%; animation-delay: -14s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition);
}
.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: #fff; font-weight: 600; font-size: 0.95rem;
    border: none; border-radius: var(--radius-full);
    cursor: pointer; transition: var(--transition);
    font-family: var(--font-body);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(168, 85, 247, 0.4); }

.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: var(--text-primary); font-weight: 600; font-size: 0.95rem;
    border: 1px solid var(--glass-border-hover); border-radius: var(--radius-full);
    cursor: pointer; transition: var(--transition);
    font-family: var(--font-body);
}
.btn-outline:hover { background: rgba(255,255,255,0.05); border-color: var(--accent-purple); }

.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px;
    background: transparent;
    color: var(--text-secondary); font-weight: 500; font-size: 0.9rem;
    border: none; border-radius: var(--radius-full);
    cursor: pointer; transition: var(--transition);
    font-family: var(--font-body);
}
.btn-ghost:hover { color: var(--text-primary); }

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
}
.nav-container {
    max-width: 1200px; margin: 0 auto;
    padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}
.logo-img {
    width: 42px; height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(168, 85, 247, 0.4);
    box-shadow: 0 2px 12px rgba(168, 85, 247, 0.25);
}
.logo-img-lg {
    width: 64px; height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(168, 85, 247, 0.5);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.5px; }

.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-secondary); font-weight: 500; font-size: 0.9rem; transition: var(--transition); }
.nav-links a:hover { color: var(--text-primary); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .lang-switch { display: flex; gap: 4px; }
.nav-actions .lang-btn {
    padding: 6px 12px; border-radius: var(--radius-full);
    background: transparent; border: 1px solid var(--glass-border);
    color: var(--text-muted); font-size: 0.8rem; font-weight: 600;
    cursor: pointer; transition: all 0.3s ease; font-family: 'Outfit', sans-serif;
}
.nav-actions .lang-btn:hover { border-color: var(--accent-purple); color: var(--text-primary); }
.nav-actions .lang-btn.active { background: var(--accent-purple); color: #fff; border-color: var(--accent-purple); }

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--text-primary); margin: 5px 0; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 120px 24px 80px;
    max-width: 1200px; margin: 0 auto;
    gap: 60px;
    z-index: 1;
}
.hero-container { flex: 1; }
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.85rem; font-weight: 500;
    color: var(--accent-purple);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}
.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 36px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; animation: fadeInUp 0.6s ease-out 0.3s both; }

.hero-stats { display: flex; gap: 32px; align-items: center; animation: fadeInUp 0.6s ease-out 0.4s both; }
.stat-item { text-align: center; }
.stat-number { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--glass-border); }

/* Hero Visual */
.hero-visual { flex: 1; display: flex; justify-content: center; animation: fadeInUp 0.8s ease-out 0.3s both; }
.hero-card { padding: 32px; width: 100%; max-width: 440px; }
.mock-player { position: relative; }
.mock-waveform { display: flex; align-items: flex-end; gap: 3px; height: 80px; margin-bottom: 20px; }
.wave-bar {
    flex: 1;
    height: var(--h);
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: waveAnim 1.5s ease-in-out infinite alternate;
}
.wave-bar:nth-child(odd) { animation-delay: 0.2s; }
.wave-bar:nth-child(3n) { animation-delay: 0.5s; }

@keyframes waveAnim {
    0% { opacity: 0.4; transform: scaleY(0.6); }
    100% { opacity: 1; transform: scaleY(1); }
}

.mock-info { margin-bottom: 16px; }
.mock-title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.mock-status { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--accent-gold); }
.status-dot { width: 8px; height: 8px; background: var(--accent-gold); border-radius: 50%; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.mock-progress { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--gradient-primary); border-radius: 2px; animation: progressAnim 3s ease-in-out infinite; }
@keyframes progressAnim { 0% { width: 0; } 50% { width: 75%; } 100% { width: 100%; } }

/* ===== SECTIONS ===== */
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem; font-weight: 600;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}
.section-subtitle { color: var(--text-secondary); font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

/* ===== FEATURES ===== */
.features { position: relative; z-index: 1; padding: 100px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { padding: 32px; }
.feature-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(168, 85, 247, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: var(--accent, var(--accent-purple));
}
.feature-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* ===== HOW IT WORKS ===== */
.how-it-works { position: relative; z-index: 1; padding: 100px 0; }
.steps-grid { display: flex; align-items: center; justify-content: center; gap: 20px; }
.step-card {
    flex: 1; max-width: 320px;
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}
.step-card:hover { background: var(--bg-card-hover); border-color: var(--glass-border-hover); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.step-number {
    font-family: var(--font-display);
    font-size: 3rem; font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 16px;
}
.step-content h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 8px; }
.step-content p { color: var(--text-secondary); font-size: 0.9rem; }
.step-connector { color: var(--text-muted); flex-shrink: 0; }

/* ===== PRICING ===== */
.pricing { position: relative; z-index: 1; padding: 100px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.pricing-card { padding: 40px 32px; text-align: center; position: relative; }
.pricing-card.featured {
    border-color: rgba(168, 85, 247, 0.4);
    background: var(--gradient-card);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.1);
}
.featured-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    white-space: nowrap;
}
.plan-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text-secondary); margin-bottom: 8px; }
.plan-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 900; margin-bottom: 4px; }
.plan-period { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.plan-save-tag { display: inline-block; padding: 3px 12px; border-radius: 20px; background: rgba(245,158,11,0.15); color: #f59e0b; font-size: 0.7rem; font-weight: 700; margin-bottom: 8px; }
.plan-features { margin-bottom: 32px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 0.9rem; color: var(--text-secondary); }
.plan-features li div { display: flex; flex-direction: column; }
.plan-features li strong { font-size: 0.88rem; color: var(--text-primary); font-weight: 600; }
.plan-features li span { font-size: 0.75rem; color: var(--text-muted); margin-top: 1px; }

/* ===== SECURITY ===== */
.security { position: relative; z-index: 1; padding: 100px 0; }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.security-card { padding: 36px; text-align: center; }
.security-icon { font-size: 2.5rem; margin-bottom: 16px; }
.security-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 8px; }
.security-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== FOOTER ===== */
.footer {
    position: relative; z-index: 1;
    border-top: 1px solid var(--glass-border);
    padding: 48px 0 24px;
    margin-top: 40px;
}
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-secondary); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--accent-purple); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--glass-border); }
.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hero { flex-direction: column; text-align: center; padding-top: 140px; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .features-grid, .security-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { flex-direction: column; }
    .step-connector { transform: rotate(90deg); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .nav-links { display: none; }
    .nav-actions .btn-ghost { display: none; }
    .mobile-menu-btn { display: block; }
}
@media (max-width: 640px) {
    .features-grid, .security-grid { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; gap: 24px; text-align: center; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-divider { width: 40px; height: 1px; }
}
