/* ── Design tokens ─────────────────────────────────────────────────────────── */
:root {
  /* Palette: Clinical white + deep navy + electric blue accent */
  --blue-600: #0057FF;
  --blue-700: #0048D4;
  --blue-50:  #EEF3FF;
  --navy:     #0A1628;
  --navy-80:  #1E2E4A;
  --slate:    #4A5568;
  --slate-lt: #718096;
  --border:   #E2E8F0;
  --bg:       #F8FAFC;
  --white:    #FFFFFF;

  /* Status */
  --green:    #059669;
  --green-bg: #ECFDF5;
  --amber:    #D97706;
  --amber-bg: #FFFBEB;
  --red:      #DC2626;
  --red-bg:   #FEF2F2;

  /* Type */
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Radii & shadows */
  --radius:   10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg: 0 16px 40px rgba(0,0,0,.10);
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { color: var(--slate); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-muted { color: var(--slate-lt); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  border: 2px solid transparent;
  transition: all .15s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
}
.btn-primary:hover { background: var(--blue-700); border-color: var(--blue-700); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn-ghost {
  background: transparent;
  color: var(--slate);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--navy); }
.btn-danger {
  background: var(--red-bg);
  color: var(--red);
  border-color: transparent;
}
.btn-danger:hover { background: var(--red); color: white; }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 7px 14px; font-size: 0.82rem; }

/* ── Navigation ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  flex-shrink: 0;
}
.logo-tld { color: var(--blue-600); }
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.main-nav a {
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  transition: all .12s;
}
.main-nav a:hover { color: var(--navy); background: var(--bg); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .2s;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-80) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,87,255,.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,87,255,.2);
  border: 1px solid rgba(0,87,255,.4);
  color: #93B4FF;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.hero h1 { color: white; margin-bottom: 20px; max-width: 680px; }
.hero p { color: rgba(255,255,255,.72); font-size: 1.15rem; max-width: 560px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: white;
}
.stat-item .stat-label { color: rgba(255,255,255,.55); font-size: 0.85rem; margin-top: 2px; }

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-title { text-align: center; margin-bottom: 16px; }
.section-sub { text-align: center; color: var(--slate); font-size: 1.05rem; margin-bottom: 56px; max-width: 560px; margin-left: auto; margin-right: auto; }
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 12px;
  text-align: center;
}

/* ── Cards ───────────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card-sm { padding: 20px; border-radius: var(--radius); }

/* ── Grids ───────────────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-80);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.form-control:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(0,87,255,.12);
}
.form-control::placeholder { color: var(--slate-lt); }
.form-hint { font-size: 0.8rem; color: var(--slate-lt); margin-top: 5px; }
.form-error { font-size: 0.8rem; color: var(--red); margin-top: 5px; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ── Alerts ──────────────────────────────────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 16px;
  border: 1px solid transparent;
}
.alert-success { background: var(--green-bg); color: #065F46; border-color: #A7F3D0; }
.alert-error   { background: var(--red-bg);   color: #991B1B; border-color: #FECACA; }
.alert-warning { background: var(--amber-bg); color: #92400E; border-color: #FDE68A; }
.alert-info    { background: var(--blue-50);  color: #1E40AF; border-color: #BFDBFE; }

/* ── Status badges ───────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.badge-valid    { background: var(--green-bg); color: var(--green); }
.badge-expiring { background: var(--amber-bg); color: var(--amber); }
.badge-expired  { background: var(--red-bg);   color: var(--red);   }
.badge-unknown  { background: var(--bg);        color: var(--slate-lt); }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin: 0 auto; }
.pricing-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
}
.pricing-card.featured { border-color: var(--blue-600); }
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-600);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 14px;
  border-radius: 100px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.price-period { font-size: 0.9rem; color: var(--slate-lt); font-weight: 400; }
.price-features { margin: 24px 0; display: flex; flex-direction: column; gap: 10px; }
.price-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--slate);
}
.price-feature svg { flex-shrink: 0; color: var(--green); }
.price-feature.miss svg { color: var(--slate-lt); }

/* ── Feature list ────────────────────────────────────────────────────────── */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.feature-icon svg { color: var(--blue-600); }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.faq-q svg { flex-shrink: 0; transition: transform .2s; }
.faq-q.open svg { transform: rotate(180deg); }
.faq-a { padding: 0 0 20px; display: none; color: var(--slate); font-size: 0.95rem; line-height: 1.7; }
.faq-a.open { display: block; }

/* ── Category pills ──────────────────────────────────────────────────────── */
.category-pill {
  display: inline-block;
  padding: 3px 10px;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ── Auth pages ──────────────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 32px 16px;
}
.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-md);
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo a { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--navy); }
.auth-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; text-align: center; }
.auth-sub { text-align: center; color: var(--slate); font-size: 0.9rem; margin-bottom: 28px; }
.auth-footer { text-align: center; margin-top: 24px; font-size: 0.875rem; color: var(--slate); }
.auth-footer a { color: var(--blue-600); font-weight: 500; }

/* ── Cookie banner ───────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--navy);
  color: white;
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.cookie-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-content p { color: rgba(255,255,255,.8); font-size: 0.88rem; flex: 1; min-width: 200px; }
.cookie-content a { color: #93B4FF; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ── Site footer ─────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .logo { color: white; margin-bottom: 12px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; max-width: 260px; }
.footer-links h4 { color: white; font-size: 0.8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 0; }
.footer-links a { font-size: 0.88rem; padding: 5px 0; transition: color .12s; }
.footer-links a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  font-size: 0.8rem;
}

/* ── Hero trust bar ──────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.trust-items {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--slate);
}
.trust-item svg { color: var(--green); }

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-ghost { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 64px 0 56px; }
  .hero-stats { gap: 28px; }
  .auth-card { padding: 28px 20px; }
  .cookie-content { flex-direction: column; gap: 12px; }
  .section { padding: 56px 0; }
}

/* ── Utility ─────────────────────────────────────────────────────────────── */
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.bg-muted { background: var(--bg); }
.divider { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
