:root {
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-soft-2: #eef2f7;
  --border: #e4e9f0;
  --text: #1a2433;
  --muted: #5b6675;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #eff4ff;
  --ok: #16a34a;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.05);
  --shadow: 0 4px 16px rgba(16,24,40,.06);
  --shadow-lg: 0 12px 40px rgba(16,24,40,.10);
  --max: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.3rem; color: var(--text); letter-spacing: -.5px; }
.logo:hover { color: var(--text); }
.logo .mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), #4f7cff);
  display: grid; place-items: center; color: #fff; font-size: 1rem; font-weight: 800;
}
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-block; background: var(--brand); color: #fff;
  padding: 11px 22px; border-radius: 9px; font-weight: 600; font-size: .95rem;
  border: 1px solid var(--brand); cursor: pointer; transition: all .15s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.btn-ghost:hover { background: var(--bg-soft); color: var(--text); }

/* ===== Hero ===== */
.hero { text-align: center; padding: 96px 0 72px; }
.eyebrow {
  display: inline-block; background: var(--brand-soft); color: var(--brand);
  font-size: .8rem; font-weight: 600; padding: 6px 14px; border-radius: 999px;
  letter-spacing: .3px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -1.5px; line-height: 1.08; }
.hero h1 span { color: var(--brand); }
.hero p { color: var(--muted); font-size: 1.18rem; max-width: 640px; margin: 24px auto 34px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { color: var(--muted); font-size: .85rem; margin-top: 18px; }

/* ===== Sections ===== */
section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { text-align: center; font-size: 2.1rem; font-weight: 800; letter-spacing: -.8px; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 52px; font-size: 1.05rem; }

/* ===== Grid / Cards ===== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .nav-links { display: none; } }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: box-shadow .18s ease, transform .18s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }
.icon {
  width: 48px; height: 48px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand-soft); font-size: 1.4rem; margin-bottom: 18px;
}

/* ===== Logos / trust strip ===== */
.trust { text-align: center; }
.trust span { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 38px; justify-content: center; margin-top: 22px; opacity: .55; font-weight: 700; color: var(--muted); font-size: 1.1rem; }

/* ===== Stats ===== */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
@media (max-width:880px){ .stats { grid-template-columns: repeat(2,1fr);} }
.stat .num { font-size: 2.4rem; font-weight: 800; color: var(--brand); letter-spacing: -1px; }
.stat .lbl { color: var(--muted); font-size: .95rem; }

/* ===== Pricing ===== */
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -1px; }
.price small { font-size: .95rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; margin: 20px 0; }
.plan li { padding: 9px 0; color: var(--muted); border-bottom: 1px solid var(--border); font-size: .95rem; }
.plan li:last-child { border-bottom: none; }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 9px; }
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand), var(--shadow-lg); position: relative; }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; letter-spacing: .5px; }

/* ===== CTA band ===== */
.cta-band { background: linear-gradient(135deg, #1d4ed8, #2563eb); border-radius: 18px; padding: 56px 40px; text-align: center; color: #fff; box-shadow: var(--shadow-lg); }
.cta-band h2 { font-size: 2rem; font-weight: 800; letter-spacing: -.8px; }
.cta-band p { opacity: .9; max-width: 520px; margin: 14px auto 26px; }
.cta-band .btn { background: #fff; color: var(--brand-dark); border-color: #fff; }
.cta-band .btn:hover { background: #f0f4ff; color: var(--brand-dark); }

/* ===== Legal / content ===== */
.legal { max-width: 840px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: 2.3rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: .92rem; margin-bottom: 34px; }
.legal h2 { font-size: 1.4rem; margin: 36px 0 12px; letter-spacing: -.4px; }
.legal h3 { font-size: 1.12rem; margin: 22px 0 8px; }
.legal p, .legal li { color: #404a59; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }

.note { background: var(--brand-soft); border: 1px solid #d6e2ff; border-left: 4px solid var(--brand); padding: 16px 20px; border-radius: 10px; margin: 22px 0; color: #2a3a55; }

/* ===== Forms ===== */
.form { max-width: 580px; margin: 0 auto; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: .9rem; font-weight: 500; color: var(--text); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; background: #fff; border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: 1rem; font-family: inherit; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field textarea { min-height: 140px; resize: vertical; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.checkbox-row input { width: auto; margin-top: 5px; }

/* ===== Footer ===== */
footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 56px 0 32px; margin-top: 40px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px; }
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); font-size: .92rem; margin-bottom: 9px; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 40px; border-top: 1px solid var(--border); padding-top: 26px; }

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 100;
  max-width: 760px; margin: 0 auto;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 22px 24px;
  display: none; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cookie-banner.show { display: flex; animation: slideUp .35s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px);} to { opacity:1; transform: translateY(0);} }
.cookie-banner .ck-text { flex: 1; min-width: 240px; font-size: .9rem; color: var(--muted); }
.cookie-banner .ck-text strong { color: var(--text); display: block; margin-bottom: 3px; font-size: .95rem; }
.cookie-banner .ck-actions { display: flex; gap: 10px; }
.cookie-banner .btn { padding: 10px 18px; font-size: .9rem; }
@media (max-width: 560px) { .cookie-banner .ck-actions { width: 100%; } .cookie-banner .btn { flex: 1; text-align: center; } }
