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

:root {
    --bg: #0a0a0f;
    --bg-subtle: #12121a;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --border: #2a2a3a;
    --text: #e8e8f0;
    --text-muted: #8888a0;
    --text-dim: #555568;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.15);
    --green: #34d399;
    --radius: 12px;
    --radius-lg: 20px;
    --max-w: 1120px;
    --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: #a5b4fc; }

/* === Buttons === */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 10px;
    font-weight: 600; font-size: 15px;
    transition: all 0.2s ease; cursor: pointer;
    border: none; text-decoration: none;
}
.btn-sm { padding: 8px 18px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: 12px; }
.btn-primary {
    background: var(--accent); color: #fff;
    box-shadow: 0 0 20px var(--accent-glow), 0 4px 12px rgba(0,0,0,0.3);
}
.btn-primary:hover {
    background: var(--accent-light); color: #fff;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.25), 0 6px 16px rgba(0,0,0,0.4);
    transform: translateY(-1px);
}
.btn-ghost {
    background: transparent; color: var(--text-muted);
    border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-dim); }

/* === Nav === */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.nav-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nav-logo { font-size: 24px; }
.nav-name { font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
    display: block; width: 20px; height: 2px; background: var(--text-muted);
    margin: 4px 0; transition: 0.2s;
}

/* === Hero === */
.hero {
    position: relative; padding: 160px 0 100px; overflow: hidden;
    min-height: 90vh; display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-gradient {
    position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
    width: 800px; height: 800px; border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
}
.hero-dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, var(--text-dim) 1px, transparent 1px);
    background-size: 40px 40px; opacity: 0.15;
}
.hero-content { position: relative; text-align: center; }
.hero-badge {
    display: inline-block; padding: 6px 16px; border-radius: 100px;
    background: var(--accent-glow); border: 1px solid rgba(99,102,241,0.2);
    color: var(--accent-light); font-size: 13px; font-weight: 600;
    margin-bottom: 28px;
}
.hero h1 {
    font-size: clamp(40px, 7vw, 72px); font-weight: 800;
    line-height: 1.08; letter-spacing: -2px; margin-bottom: 24px;
}
.text-gradient {
    background: linear-gradient(135deg, var(--accent-light), var(--green));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 19px; color: var(--text-muted); max-width: 560px;
    margin: 0 auto 40px; line-height: 1.6;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
    display: flex; gap: 0; justify-content: center; align-items: center;
    margin-top: 64px;
}
.stat { text-align: center; padding: 0 32px; }
.stat-value { display: block; font-size: 32px; font-weight: 800; color: var(--text); }
.stat-label { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* === Compare === */
.compare {
    padding: 48px 0; border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border); background: var(--bg-subtle);
}
.compare-text {
    text-align: center; font-size: 17px; color: var(--text-muted);
    max-width: 640px; margin: 0 auto;
}
.compare-text strong { color: var(--text); }

/* === Features === */
.features { padding: 120px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
    font-size: clamp(32px, 5vw, 48px); font-weight: 800;
    letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 16px;
}
.section-header p { font-size: 18px; color: var(--text-muted); max-width: 480px; margin: 0 auto; }
.feature-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-lg); padding: 32px;
    transition: all 0.3s ease;
}
.feature-card:hover {
    background: var(--bg-card-hover); border-color: rgba(99,102,241,0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* === Privacy === */
.privacy-section { padding: 120px 0; background: var(--bg-subtle); }
.privacy-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.privacy-content h2 {
    font-size: clamp(28px, 4vw, 42px); font-weight: 800;
    letter-spacing: -1px; line-height: 1.15; margin-bottom: 20px;
}
.privacy-content > p { color: var(--text-muted); font-size: 17px; margin-bottom: 32px; }
.privacy-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.privacy-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check { color: var(--green); font-weight: 700; flex-shrink: 0; }
.privacy-visual { display: flex; justify-content: center; align-items: center; }
.shield { position: relative; display: flex; justify-content: center; align-items: center; }
.shield-icon { font-size: 100px; position: relative; z-index: 2; }
.shield-ring {
    position: absolute; width: 200px; height: 200px; border-radius: 50%;
    border: 1px solid rgba(99,102,241,0.15);
    animation: pulse 3s ease-in-out infinite;
}
.shield-ring-2 {
    width: 280px; height: 280px;
    border-color: rgba(99,102,241,0.08);
    animation-delay: 1s;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.7; }
}

/* === Pricing === */
.pricing { padding: 120px 0; }
.pricing-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    max-width: 760px; margin: 0 auto;
}
.price-card {
    position: relative; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 40px 32px; text-align: center;
}
.price-card-pro {
    border-color: var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
}
.price-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
    padding: 4px 16px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.5px;
}
.price-tier { font-size: 14px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.price-amount { font-size: 48px; font-weight: 800; margin: 8px 0 4px; }
.price-period { font-size: 14px; color: var(--text-dim); margin-bottom: 32px; }
.price-features { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 12px; }
.price-features li {
    font-size: 14px; color: var(--text-muted); padding-left: 24px;
    position: relative;
}
.price-features li::before {
    content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700;
}
.price-card-pro .price-features { margin-bottom: 32px; }

/* === Download === */
.download {
    padding: 100px 0; text-align: center;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-subtle) 100%);
}
.download h2 {
    font-size: clamp(32px, 5vw, 48px); font-weight: 800;
    letter-spacing: -1px; margin-bottom: 12px;
}
.download p { color: var(--text-muted); font-size: 18px; margin-bottom: 32px; }
.app-store-badge img { transition: transform 0.2s; }
.app-store-badge:hover img { transform: scale(1.05); }

/* === Footer === */
.footer {
    padding: 40px 0; border-top: 1px solid var(--border);
}
.footer-inner {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-dim); font-size: 13px; }
.footer-links a:hover { color: var(--text-muted); }
.footer-copy { color: var(--text-dim); font-size: 13px; }

/* === Responsive === */
@media (max-width: 768px) {
    .nav-links {
        display: none; position: absolute; top: 64px; left: 0; right: 0;
        background: rgba(10,10,15,0.95); backdrop-filter: blur(20px);
        padding: 20px 24px; flex-direction: column; gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .hero { padding: 120px 0 80px; min-height: auto; }
    .hero h1 { letter-spacing: -1px; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .stat-divider { width: 40px; height: 1px; }
    .feature-grid { grid-template-columns: 1fr; }
    .privacy-grid { grid-template-columns: 1fr; gap: 40px; }
    .privacy-visual { order: -1; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
}

/* === Page Styles (shared by privacy, terms, support) === */
.page-header {
    padding: 120px 0 48px; text-align: center;
    background: var(--bg-subtle); border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: 36px; font-weight: 800; letter-spacing: -1px; margin-bottom: 8px; }
.page-header p { color: var(--text-muted); font-size: 15px; }
.page-content {
    max-width: 720px; margin: 0 auto; padding: 64px 24px 100px;
}
.page-content h2 {
    font-size: 22px; font-weight: 700; margin-top: 48px; margin-bottom: 12px;
    letter-spacing: -0.3px;
}
.page-content h2:first-child { margin-top: 0; }
.page-content p, .page-content li {
    color: var(--text-muted); font-size: 15px; line-height: 1.75; margin-bottom: 16px;
}
.page-content ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.page-content li { margin-bottom: 8px; }
.page-content a { color: var(--accent-light); }
.page-content strong { color: var(--text); }
.page-content .highlight-box {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px; margin: 24px 0;
}

/* Support form */
.support-options {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0;
}
.support-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px; text-align: center;
    transition: all 0.2s;
}
.support-card:hover {
    border-color: rgba(99,102,241,0.3); transform: translateY(-2px);
}
.support-card .icon { font-size: 36px; margin-bottom: 12px; }
.support-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.support-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

.faq { margin-top: 48px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; cursor: pointer; }
.faq-item p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin: 0; }

@media (max-width: 768px) {
    .support-options { grid-template-columns: 1fr; }
}
