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

/* Variables */
:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #EEF2FF;
    --text: #111827;
    --text-light: #6B7280;
    --bg: #FFFFFF;
    --bg-alt: #F9FAFB;
    --border: #E5E7EB;
    --success: #059669;
    --radius: 8px;
    --max-width: 1100px;
}

/* Base */
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--text); line-height: 1.6; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { line-height: 1.2; }
h1 { font-size: 3rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 48px; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
a { color: var(--primary); text-decoration: none; }

/* Buttons */
.btn { display: inline-block; padding: 12px 28px; border-radius: var(--radius); font-weight: 600; font-size: 1rem; transition: all 0.2s; cursor: pointer; text-align: center; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary-light); }
.btn-small { padding: 8px 20px; font-size: 0.875rem; }
.btn-large { padding: 16px 40px; font-size: 1.125rem; }

/* Nav */
nav { position: fixed; top: 0; left: 0; right: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); z-index: 100; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.logo { font-size: 1.25rem; font-weight: 800; color: var(--text); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--text-light); font-size: 0.875rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { padding: 140px 0 80px; text-align: center; background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%); }
.hero h1 { margin-bottom: 20px; }
.hero-sub { font-size: 1.25rem; color: var(--text-light); max-width: 600px; margin: 0 auto 32px; }
.hero-cta { margin-bottom: 48px; }
.hero-note { display: block; margin-top: 12px; font-size: 0.875rem; color: var(--text-light); }
.hero-stats { display: flex; justify-content: center; gap: 64px; }
.stat { text-align: center; }
.stat-number { display: block; font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.875rem; color: var(--text-light); }

/* How it Works */
.how-it-works { padding: 80px 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { text-align: center; padding: 24px; }
.step-number { width: 48px; height: 48px; background: var(--primary); color: white; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.25rem; margin-bottom: 16px; }
.step p { color: var(--text-light); font-size: 0.9rem; }

/* Features */
.features { padding: 80px 0; background: var(--bg-alt); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature { padding: 32px; background: white; border-radius: var(--radius); border: 1px solid var(--border); }
.feature p { color: var(--text-light); font-size: 0.9rem; }

/* Use Cases */
.use-cases { padding: 80px 0; }
.use-case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.use-case { padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); text-align: center; }
.use-case p { color: var(--text-light); font-size: 0.875rem; }

/* Pricing */
.pricing { padding: 80px 0; background: var(--bg-alt); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.plan { padding: 32px; background: white; border-radius: var(--radius); border: 1px solid var(--border); text-align: center; position: relative; }
.plan-popular { border-color: var(--primary); border-width: 2px; transform: scale(1.05); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 4px 16px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.price { font-size: 3rem; font-weight: 800; margin: 16px 0; }
.price span { font-size: 1rem; font-weight: 400; color: var(--text-light); }
.plan ul { list-style: none; margin: 24px 0; text-align: left; }
.plan li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--text-light); }
.plan li::before { content: "\2713 "; color: var(--success); font-weight: 700; margin-right: 8px; }
.plan .btn { width: 100%; margin-top: 16px; }
.pricing-note { text-align: center; margin-top: 24px; color: var(--text-light); font-size: 0.9rem; }

/* Comparison */
.comparison { padding: 80px 0; }
.comparison table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.comparison th, .comparison td { padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--border); }
.comparison th { font-weight: 600; background: var(--bg-alt); }
.comparison th:nth-child(2) { color: var(--primary); }
.comparison td:first-child { text-align: left; font-weight: 500; }
.comparison .yes { color: var(--success); font-weight: 600; }
.comparison .no { color: #DC2626; }

/* FAQ */
.faq { padding: 80px 0; background: var(--bg-alt); }
.faq-list { max-width: 700px; margin: 0 auto; }
details { border-bottom: 1px solid var(--border); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1rem; list-style: none; display: flex; justify-content: space-between; }
summary::after { content: "+"; font-size: 1.25rem; color: var(--text-light); }
details[open] summary::after { content: "-"; }
details p { margin-top: 12px; color: var(--text-light); font-size: 0.9rem; }

/* CTA */
.cta { padding: 80px 0; text-align: center; background: linear-gradient(180deg, var(--bg) 0%, var(--primary-light) 100%); }
.cta p { color: var(--text-light); margin: 12px 0 32px; font-size: 1.1rem; }

/* Footer */
footer { padding: 48px 0 24px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 48px; }
.footer-brand { flex: 1; min-width: 200px; }
.footer-brand p { color: var(--text-light); font-size: 0.875rem; margin-top: 8px; }
.footer-links { display: flex; gap: 64px; }
.footer-links div { display: flex; flex-direction: column; gap: 8px; }
.footer-links h4 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-light); margin-bottom: 4px; }
.footer-links a { color: var(--text-light); font-size: 0.875rem; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { width: 100%; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 0.8rem; color: var(--text-light); }

/* Mobile */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .hero { padding: 100px 0 60px; }
    .hero-stats { gap: 32px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: 1fr; }
    .use-case-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .plan-popular { transform: none; }
    .comparison table { font-size: 0.75rem; }
    .comparison th, .comparison td { padding: 8px; }
    .footer-links { gap: 32px; }
    .nav-links { gap: 16px; }
}
@media (max-width: 480px) {
    .steps { grid-template-columns: 1fr; }
    .use-case-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 16px; }
}
