/* ── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #1a1a2e; line-height: 1.6; background: #fff; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Variables ─────────────────────────────────────────────────────────────── */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #f59e0b;
    --text: #1a1a2e;
    --text-muted: #6b7280;
    --surface: #f8fafc;
    --border: #e5e7eb;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,.08);
}

/* ── Layout ────────────────────────────────────────────────────────────────── */
.er-container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.er-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 24px; border-radius: 8px; font-size: 0.95rem;
    font-weight: 600; cursor: pointer; transition: all .15s; border: 2px solid transparent;
}
.er-btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.er-btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.er-btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.er-btn-outline:hover { background: var(--primary); color: #fff; }
.er-btn-white { background: #fff; color: var(--primary); }
.er-btn-white:hover { background: #f0f4ff; }
.er-btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.er-btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.er-btn-lg { padding: 14px 32px; font-size: 1.05rem; border-radius: 10px; }
.er-btn-full { width: 100%; justify-content: center; }

/* ── Nav ───────────────────────────────────────────────────────────────────── */
.er-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.er-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.er-logo { font-size: 1.4rem; font-weight: 800; color: var(--text); }
.er-logo span { color: var(--primary); }
.er-nav-links { display: flex; align-items: center; gap: 28px; }
.er-nav-links a:not(.er-btn) { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.er-nav-links a:not(.er-btn):hover { color: var(--primary); }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.er-hero { padding: 100px 0 80px; text-align: center; background: linear-gradient(160deg, #f0f4ff 0%, #fff 60%); }
.er-hero-badge { display: inline-block; background: #e0e7ff; color: var(--primary); font-size: 0.85rem; font-weight: 600; padding: 6px 16px; border-radius: 100px; margin-bottom: 28px; }
.er-hero-title { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.er-accent { color: var(--primary); }
.er-hero-sub { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 36px; }
.er-hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.er-hero-note { margin-top: 16px; font-size: 0.82rem; color: var(--text-muted); }

/* ── Sections ──────────────────────────────────────────────────────────────── */
.er-section { padding: 90px 0; }
.er-section-alt { background: var(--surface); }
.er-section-head { text-align: center; margin-bottom: 56px; }
.er-section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.er-section-head p { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ── Features Grid ─────────────────────────────────────────────────────────── */
.er-features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.er-feature-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s; }
.er-feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.er-feature-icon { font-size: 2rem; margin-bottom: 14px; }
.er-feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.er-feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ── Steps ─────────────────────────────────────────────────────────────────── */
.er-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; margin-bottom: 48px; }
.er-step { display: flex; gap: 20px; align-items: flex-start; }
.er-step-num { flex-shrink: 0; width: 44px; height: 44px; background: var(--primary); color: #fff; border-radius: 50%; font-size: 1.1rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.er-step-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.er-step-body p { font-size: 0.9rem; color: var(--text-muted); }
.er-steps-cta { text-align: center; }

/* ── Pricing ───────────────────────────────────────────────────────────────── */
.er-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.er-pricing-card { background: #fff; border: 2px solid var(--border); border-radius: var(--radius); padding: 36px 28px; position: relative; }
.er-pricing-card--featured { border-color: var(--primary); box-shadow: 0 8px 32px rgba(37,99,235,.12); }
.er-pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 14px; border-radius: 100px; white-space: nowrap; }
.er-pricing-name { font-size: 1rem; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .05em; }
.er-pricing-price { font-size: 2.6rem; font-weight: 800; margin-bottom: 24px; }
.er-pricing-price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.er-pricing-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.er-pricing-features li { font-size: 0.9rem; color: var(--text-muted); }

/* ── CTA Section ───────────────────────────────────────────────────────────── */
.er-cta-section { background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%); color: #fff; padding: 90px 0; text-align: center; }
.er-cta-section h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.er-cta-section p { font-size: 1.1rem; opacity: .85; margin-bottom: 36px; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.er-footer { background: #0f172a; color: #94a3b8; padding: 64px 0 0; }
.er-footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.er-footer-brand .er-logo { color: #fff; font-size: 1.3rem; display: inline-block; margin-bottom: 10px; }
.er-footer-brand p { font-size: 0.88rem; line-height: 1.6; }
.er-footer-links { display: flex; flex-direction: column; gap: 10px; }
.er-footer-links strong { color: #fff; font-size: 0.9rem; margin-bottom: 4px; }
.er-footer-links a { font-size: 0.88rem; transition: color .15s; }
.er-footer-links a:hover { color: #fff; }
.er-footer-copy { border-top: 1px solid #1e293b; padding: 20px 0; font-size: 0.82rem; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .er-nav-links { gap: 12px; }
    .er-nav-links a:not(.er-btn) { display: none; }
    .er-footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .er-steps { grid-template-columns: 1fr; }
}
