/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #4a9b6e;
  --accent-dark: #3a7d58;
  --accent-light: #e8f5ee;
  --text: #1e293b;
  --text-secondary: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --max-w: 1100px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── Nav ──────────────────────────────────────────────────────────────────── */
nav { background: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
nav .logo { font-size: 22px; font-weight: 800; color: var(--accent); letter-spacing: -0.5px; }
nav .nav-links { display: flex; gap: 28px; align-items: center; }
nav .nav-links a { color: var(--text-secondary); font-size: 14px; font-weight: 500; transition: color .2s; }
nav .nav-links a:hover { color: var(--accent); }
nav .nav-links .btn-nav { background: var(--accent); color: #fff; padding: 8px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; }
nav .nav-links .btn-nav:hover { background: var(--accent-dark); }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero { padding: 80px 0 60px; text-align: center; background: linear-gradient(180deg, var(--accent-light) 0%, var(--bg) 100%); }
.hero h1 { font-size: 44px; font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px; color: var(--text); }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 18px; color: var(--text-secondary); max-width: 560px; margin: 0 auto 32px; }
.hero .cta-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 15px; transition: all .2s; border: none; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent-light); }

.hero-image { margin: 40px auto 0; max-width: 700px; background: var(--bg); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 14px; border: 1px solid var(--border); }

/* ── Sections ─────────────────────────────────────────────────────────────── */
section { padding: 72px 0; }
section.alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 32px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 8px; }
.section-header p { color: var(--text-secondary); font-size: 16px; max-width: 500px; margin: 0 auto; }

/* ── How It Works ─────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.step { text-align: center; padding: 28px 20px; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border); }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--text-secondary); }

/* ── Features ─────────────────────────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature { padding: 28px; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border); transition: box-shadow .2s; }
.feature:hover { box-shadow: var(--shadow); }
.feature-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.feature h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--text-secondary); }

/* ── Courier CTA ──────────────────────────────────────────────────────────── */
.courier-cta { background: var(--accent); color: #fff; border-radius: 16px; padding: 48px; text-align: center; margin: 0 24px; }
.courier-cta h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.courier-cta p { font-size: 16px; opacity: .9; margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; }
.courier-cta .btn { background: #fff; color: var(--accent); }
.courier-cta .btn:hover { background: #f0f0f0; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer { background: #1e293b; color: #cbd5e1; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-grid h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.footer-grid p, .footer-grid a { font-size: 13px; color: #94a3b8; line-height: 1.8; display: block; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #334155; padding-top: 20px; text-align: center; font-size: 12px; color: #64748b; }

/* ── Legal Pages ──────────────────────────────────────────────────────────── */
.legal { padding: 48px 0 72px; }
.legal h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.legal .updated { color: var(--text-secondary); font-size: 13px; margin-bottom: 32px; }
.legal h2 { font-size: 18px; font-weight: 600; margin: 28px 0 8px; }
.legal p, .legal li { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 12px; }
.legal ul { padding-left: 20px; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .courier-cta { margin: 0; border-radius: 0; padding: 36px 24px; }
  nav .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 16px; }
  nav .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
}
