/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #090B10;
    --surface: #111318;
    --surface-hover: #181B22;
    --border: rgba(148,163,184,0.1);
    --text: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --primary: #3B82F6;
    --primary-hover: #2563EB;
    --secondary: #8B5CF6;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --gradient: linear-gradient(135deg, #3B82F6, #8B5CF6);
    --radius: 12px;
    --radius-lg: 20px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--primary-hover); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === Nav === */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(9,11,16,0.85); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; height: 64px; gap: 32px;
}
.nav-brand {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.2rem; font-weight: 800; color: var(--text); letter-spacing: -0.5px;
    text-decoration: none;
}
.nav-links { display: flex; gap: 24px; flex: 1; }
.nav-links a { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 12px; align-items: center; }

/* === Buttons === */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; border-radius: var(--radius); font-weight: 600;
    font-size: 0.9rem; cursor: pointer; transition: all 0.2s;
    border: none; text-decoration: none;
}
.btn-primary {
    background: var(--primary); color: white;
}
.btn-primary:hover { background: var(--primary-hover); color: white; transform: translateY(-1px); }
.btn-ghost {
    background: transparent; color: var(--text-secondary); border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-muted); }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 14px; }
.btn-outline {
    background: transparent; color: var(--primary); border: 1px solid var(--primary);
}
.btn-outline:hover { background: rgba(59,130,246,0.1); color: var(--primary); }

/* === Hero === */
.hero {
    padding: 160px 0 100px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(ellipse at center, rgba(59,130,246,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 999px;
    background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2);
    color: var(--primary); font-size: 0.8rem; font-weight: 600; margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800;
    line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero h1 em {
    background: var(--gradient); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; font-style: normal;
}
.hero p {
    font-size: 1.2rem; color: var(--text-secondary); max-width: 640px;
    margin: 0 auto 36px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === Section === */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
    font-size: 2.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px;
}
.section-header p { color: var(--text-secondary); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* === Feature Grid === */
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.feature-card {
    padding: 32px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--border);
    transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(59,130,246,0.3); transform: translateY(-2px); }
.feature-icon {
    width: 48px; height: 48px; border-radius: 12px; display: flex;
    align-items: center; justify-content: center; margin-bottom: 16px;
    font-size: 1.4rem;
}
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* === Stats === */
.stats { display: flex; justify-content: center; gap: 60px; padding: 60px 0; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-value { font-size: 3rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }

/* === Pricing === */
.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px; align-items: start;
}
.price-card {
    padding: 36px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--border);
    position: relative;
}
.price-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(59,130,246,0.1);
}
.price-card.featured::before {
    content: 'Most Popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: white; padding: 4px 16px; border-radius: 999px;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
}
.price-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.price-card .price {
    font-size: 3rem; font-weight: 800; margin: 16px 0;
}
.price-card .price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.price-card .price-desc { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 24px; }
.price-features { list-style: none; margin-bottom: 28px; }
.price-features li {
    padding: 8px 0; font-size: 0.9rem; color: var(--text-secondary);
    display: flex; align-items: center; gap: 10px;
}
.price-features li::before { content: '✓'; color: var(--success); font-weight: 700; }
.price-features li.disabled { opacity: 0.4; }
.price-features li.disabled::before { content: '—'; color: var(--text-muted); }

/* === CTA === */
.cta {
    text-align: center; padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(59,130,246,0.04) 100%);
}
.cta h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.cta p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 32px; }

/* === Contact Form === */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text-secondary); }
.form-input {
    width: 100%; padding: 12px 16px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--border); color: var(--text);
    font-family: var(--font); font-size: 0.95rem; transition: border-color 0.2s;
}
.form-input:focus { outline: none; border-color: var(--primary); }
textarea.form-input { resize: vertical; min-height: 120px; }

/* === Legal === */
.legal { padding: 120px 0 60px; max-width: 800px; margin: 0 auto; }
.legal h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.legal .updated { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.3rem; font-weight: 700; margin: 32px 0 12px; }
.legal p, .legal li { color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; }
.legal ul { padding-left: 24px; }

/* === Footer === */
.footer { border-top: 1px solid var(--border); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .footer-desc { color: var(--text-muted); font-size: 0.85rem; max-width: 300px; }
.footer h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 12px; }
.footer a { display: block; color: var(--text-secondary); font-size: 0.9rem; padding: 4px 0; }
.footer a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; }
.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; }

/* === Responsive === */
/* === Mobile Nav === */
/* === Mobile Nav === */
.nav-toggle {
    display: none; background: none; border: none; color: var(--text-secondary);
    cursor: pointer; padding: 4px; line-height: 0; margin-left: auto;
}
.nav-toggle:hover { color: var(--text); }
.nav-mobile {
    display: none; flex-direction: column; gap: 4px;
    padding: 0 24px 16px; background: rgba(9,11,16,0.95);
    border-bottom: 1px solid var(--border);
}
.nav-mobile a {
    display: block; padding: 10px 0; color: var(--text-secondary);
    font-size: 0.95rem; font-weight: 500;
}
.nav-mobile a:hover { color: var(--text); }
.nav-mobile.open { display: flex; }

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .nav-toggle { display: block; }
    .hero h1 { font-size: 2.2rem; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .stats { gap: 30px; }
    .footer-grid { grid-template-columns: 1fr; }
}
