/* ============ RESET & BASE ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0A0A0F;
    --bg-card: rgba(255,255,255,0.04);
    --bg-card-hover: rgba(255,255,255,0.07);
    --text: #F0F0F5;
    --text-muted: #8888A0;
    --primary: #7C5DFA;
    --primary-light: #9B7FFF;
    --primary-dark: #5A3ED6;
    --accent: #00D4AA;
    --accent2: #FF6B6B;
    --border: rgba(255,255,255,0.08);
    --border-light: rgba(255,255,255,0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 32px rgba(0,0,0,0.4);
    --gradient: linear-gradient(135deg, #7C5DFA 0%, #00D4AA 50%, #FF6B6B 100%);
    --gradient-text: linear-gradient(135deg, #7C5DFA, #00D4AA);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: var(--text); text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============ NAVBAR ============ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10,10,15,0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}
.nav-container {
    max-width: 1200px; margin: 0 auto;
    padding: 0 24px; height: 72px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; }
.logo-icon { font-size: 1.5rem; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
    background: var(--primary); color: white; border: none;
    padding: 10px 24px; border-radius: 50px; font-weight: 600;
    font-size: 0.9rem; cursor: pointer; transition: all 0.3s;
}
.nav-cta:hover { background: var(--primary-light); transform: translateY(-1px); }
.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-mobile-toggle span { width: 24px; height: 2px; background: var(--text); transition: 0.3s; }

/* ============ HERO ============ */
.hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: -300px; left: 50%; transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(124,93,250,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.hero-container { position: relative; z-index: 1; }
.hero-badges { display: flex; justify-content: center; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.badge {
    background: var(--bg-card); border: 1px solid var(--border-light);
    padding: 6px 16px; border-radius: 50px; font-size: 0.8rem;
    font-weight: 500; color: var(--text-muted);
}
.hero-title { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.02em; }
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle { font-size: 1.15rem; color: var(--text-muted); max-width: 640px; margin: 0 auto 40px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn-primary {
    background: var(--primary); color: white; border: none;
    padding: 14px 32px; border-radius: 50px; font-weight: 700;
    font-size: 1rem; cursor: pointer; transition: all 0.3s;
    box-shadow: 0 4px 24px rgba(124,93,250,0.3);
}
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 6px 32px rgba(124,93,250,0.4); }
.btn-secondary {
    background: transparent; color: var(--text); border: 1px solid var(--border-light);
    padding: 14px 32px; border-radius: 50px; font-weight: 600;
    font-size: 1rem; cursor: pointer; transition: all 0.3s;
}
.btn-secondary:hover { background: var(--bg-card); border-color: var(--text-muted); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

.hero-proof {
    display: flex; justify-content: center; align-items: center; gap: 32px;
    margin-top: 56px; flex-wrap: wrap;
}
.proof-item { text-align: center; }
.proof-number { display: block; font-size: 1.8rem; font-weight: 800; color: var(--primary-light); }
.proof-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.proof-divider { width: 1px; height: 40px; background: var(--border-light); }

/* ============ DASHBOARD PREVIEW ============ */
.preview { padding: 0 0 80px; }
.preview-window {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow), 0 0 80px rgba(124,93,250,0.08);
    max-width: 960px; margin: 0 auto;
}
.preview-topbar {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 20px; background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border);
}
.preview-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #FF5F57; } .dot.yellow { background: #FFBD2E; } .dot.green { background: #28CA42; }
.preview-url { font-size: 0.75rem; color: var(--text-muted); margin-left: 8px; }
.preview-content { display: flex; min-height: 320px; }
.preview-sidebar { width: 180px; border-right: 1px solid var(--border); padding: 16px 12px; flex-shrink: 0; }
.sidebar-step {
    padding: 8px 12px; border-radius: 8px; font-size: 0.78rem;
    color: var(--text-muted); margin-bottom: 4px; transition: 0.2s;
}
.sidebar-step.done { color: var(--accent); }
.sidebar-step.current { background: rgba(124,93,250,0.15); color: var(--primary-light); font-weight: 600; }
.sidebar-step.active { color: var(--accent); }
.preview-main { flex: 1; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.preview-header-bar { display: flex; justify-content: space-between; align-items: center; }
.preview-header-bar h3 { font-size: 1.1rem; }
.status-badge {
    background: rgba(124,93,250,0.15); color: var(--primary-light);
    padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.preview-waveform { display: flex; align-items: flex-end; gap: 6px; height: 80px; padding: 8px 0; }
.wave-bar {
    flex: 1; background: var(--gradient); border-radius: 4px; min-width: 8px;
    animation: wave 1.5s ease-in-out infinite alternate;
}
.wave-bar:nth-child(2n) { animation-delay: 0.2s; }
.wave-bar:nth-child(3n) { animation-delay: 0.4s; }
.wave-bar:nth-child(5n) { animation-delay: 0.6s; }
@keyframes wave { from { transform: scaleY(0.7); } to { transform: scaleY(1); } }
.preview-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); }

/* ============ STATS BAR ============ */
.stats-bar {
    padding: 48px 0;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    background: rgba(124,93,250,0.03);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-number { display: block; font-size: 2rem; font-weight: 800; color: var(--primary-light); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* ============ SECTION HEADERS ============ */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block; background: rgba(124,93,250,0.12); color: var(--primary-light);
    padding: 6px 18px; border-radius: 50px; font-size: 0.8rem;
    font-weight: 600; margin-bottom: 16px; letter-spacing: 0.03em;
}
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 12px; letter-spacing: -0.01em; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ============ FEATURES ============ */
.features { padding: 100px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px;
    transition: all 0.3s;
}
.feature-card:hover { background: var(--bg-card-hover); border-color: var(--border-light); transform: translateY(-4px); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.highlight-card { border-color: var(--primary); background: rgba(124,93,250,0.06); }

/* ============ HOW IT WORKS ============ */
.how-it-works { padding: 100px 0; background: rgba(255,255,255,0.01); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px; position: relative;
    transition: all 0.3s;
}
.step-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.step-number {
    font-size: 3rem; font-weight: 900; color: rgba(124,93,250,0.15);
    margin-bottom: 12px; line-height: 1;
}
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

/* ============ TESTIMONIALS ============ */
.testimonials { padding: 100px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px;
    transition: all 0.3s;
}
.testimonial-card:hover { border-color: var(--border-light); }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.review-source { font-size: 0.75rem; color: var(--accent); font-weight: 600; }
.stars { color: #FFB800; font-size: 1.1rem; letter-spacing: 2px; }
.testimonial-card > p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-photo {
    width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--border-light); flex-shrink: 0;
}
.author-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--gradient); display: flex; align-items: center;
    justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.78rem; color: var(--text-muted); display: block; }
.review-date { font-size: 0.72rem !important; color: var(--text-muted); opacity: 0.6; margin-top: 2px; }

/* ============ PRICING ============ */
.pricing { padding: 100px 0; }
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 48px; }
.toggle-label { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; transition: 0.3s; }
.toggle-label.active { color: var(--text); font-weight: 700; }
.save-badge { background: var(--accent); color: #000; padding: 2px 10px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; }
.toggle-switch {
    width: 52px; height: 28px; background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: 50px; cursor: pointer; position: relative; transition: 0.3s;
}
.toggle-knob {
    width: 22px; height: 22px; background: var(--primary); border-radius: 50%;
    position: absolute; top: 2px; left: 2px; transition: 0.3s;
}
.toggle-switch.annual .toggle-knob { left: 26px; }
.toggle-switch.annual { background: rgba(124,93,250,0.2); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.pricing-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 40px 32px;
    position: relative; transition: all 0.3s;
}
.pricing-card:hover { border-color: var(--border-light); transform: translateY(-4px); }
.pricing-card.popular {
    border-color: var(--primary); background: rgba(124,93,250,0.06);
    box-shadow: 0 0 40px rgba(124,93,250,0.1);
    transform: scale(1.04);
}
.pricing-card.popular:hover { transform: scale(1.06); }
.popular-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: white; padding: 6px 20px;
    border-radius: 50px; font-size: 0.75rem; font-weight: 700;
    white-space: nowrap;
}
.plan-name { font-size: 1.1rem; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; }
.plan-price { margin-bottom: 8px; }
.currency { font-size: 1.5rem; font-weight: 700; vertical-align: top; }
.amount { font-size: 3.5rem; font-weight: 900; letter-spacing: -0.02em; }
.period { font-size: 1rem; color: var(--text-muted); }
.plan-desc { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 24px; }
.plan-features { list-style: none; margin-bottom: 32px; }
.plan-features li { padding: 8px 0; font-size: 0.9rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.plan-features li:last-child { border: none; }
.btn-plan {
    width: 100%; padding: 14px; border-radius: 50px; border: 1px solid var(--border-light);
    background: transparent; color: var(--text); font-weight: 700;
    font-size: 0.95rem; cursor: pointer; transition: all 0.3s;
}
.btn-plan:hover { background: var(--bg-card-hover); border-color: var(--text-muted); }
.btn-popular {
    background: var(--primary); border-color: var(--primary); color: white;
    box-shadow: 0 4px 20px rgba(124,93,250,0.3);
}
.btn-popular:hover { background: var(--primary-light); }

/* Add-ons */
.addons-section { text-align: center; }
.addons-section h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 24px; }
.addon-note { font-size: 0.85rem; color: var(--text-muted); font-weight: 400; }
.addons-grid { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.addon-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 20px 28px;
    display: flex; align-items: center; gap: 12px;
    transition: all 0.3s; cursor: default;
}
.addon-card:hover { border-color: var(--primary); background: rgba(124,93,250,0.05); }
.addon-icon { font-size: 1.4rem; }
.addon-name { font-weight: 600; font-size: 0.9rem; }
.addon-price { color: var(--primary-light); font-weight: 700; font-size: 0.9rem; }

/* ============ COMPARISON ============ */
.comparison { padding: 100px 0; background: rgba(255,255,255,0.01); }
.comparison-table-wrapper { overflow-x: auto; }
.comparison-table {
    width: 100%; border-collapse: collapse;
    background: var(--bg-card); border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border);
}
.comparison-table th, .comparison-table td {
    padding: 16px 24px; text-align: center;
    border-bottom: 1px solid var(--border); font-size: 0.9rem;
}
.comparison-table th { background: rgba(255,255,255,0.03); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.comparison-table td:first-child, .comparison-table th:first-child { text-align: left; font-weight: 600; }
.highlight-col { background: rgba(124,93,250,0.08) !important; color: var(--accent) !important; font-weight: 600; }
.comparison-table tbody tr:hover { background: rgba(255,255,255,0.02); }

/* ============ FAQ ============ */
.faq { padding: 100px 0; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    margin-bottom: 12px; overflow: hidden; cursor: pointer;
    transition: border-color 0.3s;
}
.faq-item:hover { border-color: var(--border-light); }
.faq-item.active { border-color: var(--primary); }
.faq-question {
    padding: 20px 24px; display: flex; justify-content: space-between;
    align-items: center; font-weight: 600; font-size: 0.95rem;
}
.faq-icon { font-size: 1.3rem; color: var(--primary-light); transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 24px 20px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* ============ FINAL CTA ============ */
.final-cta {
    padding: 100px 0; text-align: center;
    background: linear-gradient(180deg, transparent, rgba(124,93,250,0.06));
    position: relative;
}
.final-cta h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 16px; }
.final-cta p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 36px; }
.cta-note { display: block; margin-top: 16px; font-size: 0.85rem; color: var(--text-muted); }

/* ============ FOOTER ============ */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; margin-top: 12px; max-width: 280px; }
.footer-links h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; color: var(--text-muted); }
.footer-links a { display: block; color: var(--text-muted); font-size: 0.88rem; padding: 4px 0; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; }
.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; }

/* ============ MODAL ============ */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px); z-index: 200;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
    background: #16161F; border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 48px; max-width: 440px;
    width: 90%; position: relative; transform: scale(0.9);
    transition: transform 0.3s;
}
.modal-overlay.active .modal { transform: scale(1); }
.modal-close {
    position: absolute; top: 16px; right: 20px; background: none;
    border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer;
}
.modal-content { text-align: center; }
.modal-emoji { font-size: 3rem; display: block; margin-bottom: 16px; }
.modal h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.modal p { color: var(--text-muted); margin-bottom: 24px; font-size: 0.95rem; }
.modal input[type="email"] {
    width: 100%; padding: 14px 20px; border-radius: 50px;
    border: 1px solid var(--border-light); background: var(--bg-card);
    color: var(--text); font-size: 1rem; margin-bottom: 12px;
    outline: none; transition: border-color 0.3s;
}
.modal input:focus { border-color: var(--primary); }
.modal .btn-primary { width: 100%; }
.modal-note { display: block; margin-top: 12px; font-size: 0.8rem; color: var(--text-muted); }
.hidden { display: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-mobile-toggle { display: flex; }
    .nav-links.active {
        display: flex; flex-direction: column; position: absolute;
        top: 72px; left: 0; right: 0; background: rgba(10,10,15,0.95);
        padding: 24px; gap: 16px; border-bottom: 1px solid var(--border);
    }
    .hero { padding: 120px 0 60px; }
    .hero-title { font-size: 2.2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .features-grid, .testimonials-grid, .pricing-grid, .steps-grid { grid-template-columns: 1fr; }
    .pricing-card.popular { transform: scale(1); }
    .pricing-card.popular:hover { transform: scale(1); }
    .preview-sidebar { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-proof { gap: 20px; }
    .proof-divider { display: none; }
    .comparison-table th, .comparison-table td { padding: 12px 10px; font-size: 0.78rem; }
}
