:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius: 12px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* --- Nav --- */
header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 1.25rem; font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-login {
    color: var(--primary); padding: .5rem 1.25rem;
    border: 2px solid var(--primary); border-radius: 8px;
    text-decoration: none; font-weight: 600; font-size: .9rem;
}
.nav-login:hover { background: var(--primary); color: #fff; }
.nav-cta {
    background: var(--primary); color: #fff; padding: .5rem 1.25rem;
    border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .9rem;
}
.nav-cta:hover { background: var(--primary-dark); }

/* --- Buttons --- */
.btn {
    display: inline-block; padding: .75rem 2rem; border-radius: 8px;
    text-decoration: none; font-weight: 600; transition: .2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-lg { font-size: 1.1rem; padding: 1rem 2.5rem; }

/* --- Hero --- */
.hero {
    text-align: center; padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
}
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; margin-bottom: 1.25rem; }
.subtitle { font-size: 1.2rem; color: var(--text-muted); max-width: 620px; margin: 0 auto 2rem; }

/* --- Features --- */
.features { padding: 5rem 0; }
.features h2, .how-it-works h2, .pricing h2, .faq h2 { text-align: center; margin-bottom: 3rem; font-size: 2rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
    background: var(--card-bg); padding: 2rem; border-radius: var(--radius);
    border: 1px solid var(--border); transition: .2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.06); transform: translateY(-2px); }
.card-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-muted); font-size: .95rem; }

/* --- Steps --- */
.how-it-works { padding: 5rem 0; background: #f1f5f9; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; text-align: center; }
.step-num {
    width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem;
}
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--text-muted); font-size: .95rem; }

/* --- Pricing --- */
.pricing { padding: 5rem 0; }
.price-card {
    max-width: 440px; margin: 0 auto; text-align: center; padding: 3rem 2rem;
    background: var(--card-bg); border-radius: var(--radius); border: 2px solid var(--primary);
}
.price-badge {
    display: inline-block; background: var(--primary); color: #fff;
    padding: .35rem 1.25rem; border-radius: 20px; font-weight: 600; font-size: .9rem;
    margin-bottom: 1.5rem;
}
.price-amount { font-size: 3.5rem; font-weight: 800; margin-bottom: 1.5rem; }
.currency { font-size: 1.5rem; vertical-align: super; margin-right: .25rem; }
.period { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.price-features { list-style: none; text-align: left; margin-bottom: 2rem; }
.price-features li { padding: .5rem 0; border-bottom: 1px solid var(--border); }
.price-note { margin-top: 1rem; font-size: .85rem; color: var(--text-muted); }

/* --- FAQ --- */
.faq { padding: 5rem 0; background: #f1f5f9; }
details {
    background: var(--card-bg); border-radius: var(--radius); border: 1px solid var(--border);
    margin-bottom: 1rem; overflow: hidden;
}
summary {
    padding: 1.25rem 1.5rem; cursor: pointer; font-weight: 600; font-size: 1.05rem;
    list-style: none;
}
summary::before { content: '+ '; color: var(--primary); font-weight: 700; }
details[open] summary::before { content: '− '; }
details p { padding: 0 1.5rem 1.25rem; color: var(--text-muted); }

/* --- Footer --- */
footer { padding: 2rem 0; text-align: center; color: var(--text-muted); font-size: .9rem; border-top: 1px solid var(--border); }

@media (max-width: 640px) {
    .hero { padding: 4rem 0 3rem; }
    .btn-lg { width: 100%; text-align: center; }
}
