/* ==========================================================================
   Starling SEO — Design System
   Light mode is the default (matches the logo lockup); dark mode is a toggle.
   Tokens live on :root and are redefined under [data-theme="dark"].
   ========================================================================== */

:root {
  /* Brand — sampled from the logo gradient (deep indigo -> violet) */
  --brand-900: #2e1065;
  --brand-800: #4c1d95;
  --brand-700: #5b21b6;
  --brand-600: #6d28d9;
  --brand-500: #7c3aed;
  --brand-400: #a78bfa;
  --brand-300: #c4b5fd;
  --brand-100: #ede9fe;

  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f8fafc;

  /* Text */
  --text: #0f172a;
  --text-muted: #475569;
  --text-faint: #64748b;

  /* Lines & shadows */
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);
  --ring: rgba(124, 58, 237, 0.35);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 12px 28px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.08), 0 24px 56px rgba(15, 23, 42, 0.10);
  --shadow-brand: 0 10px 30px rgba(109, 40, 217, 0.22);

  /* Tier accents */
  --silver-a: #94a3b8;
  --silver-b: #e2e8f0;
  --gold-a: #b8860b;
  --gold-b: #f5d78e;

  --nav-h: 76px;
  --radius: 16px;
  --radius-lg: 24px;
}

[data-theme="dark"] {
  --bg: #0b0f1a;
  --bg-soft: #0f1524;
  --surface: #111827;
  --surface-2: #161f33;

  --text: #f1f5f9;
  --text-muted: #cbd5e1;
  --text-faint: #94a3b8;

  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.45), 0 12px 28px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5), 0 24px 56px rgba(0, 0, 0, 0.45);
  --shadow-brand: 0 10px 34px rgba(124, 58, 237, 0.4);

  --silver-a: #cbd5e1;
  --silver-b: #64748b;
  --gold-a: #f5d78e;
  --gold-b: #b8860b;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Tajawal", "Cairo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}

h1, h2, h3, h4 {
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 800;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Latin numerals/words inside RTL copy stay readable */
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding-block: 96px; }
.section-tight { padding-block: 72px; }

/* --------------------------------------------------------------------------
   Ambient background glow (subtle, never distracting)
   -------------------------------------------------------------------------- */

.glow-wrap {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
}

.glow-1 {
  width: 620px; height: 620px;
  top: -220px; inset-inline-end: -180px;
  background: radial-gradient(circle, rgba(124, 58, 237, .28), transparent 68%);
}

.glow-2 {
  width: 560px; height: 560px;
  top: 46%; inset-inline-start: -220px;
  background: radial-gradient(circle, rgba(167, 139, 250, .22), transparent 68%);
}

[data-theme="dark"] .glow { opacity: .75; }

main, footer, .nav { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   Navbar — sticky floating glass
   -------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.brand { display: flex; align-items: center; gap: 10px; }

/* Logo is inline SVG so the wordmark inherits the theme's text colour while
   the bird mark keeps its own brand gradient. */
/* The lockup is a Latin wordmark: it must not mirror inside the RTL document,
   or the bird mark lands on top of the text. */
.brand-logo {
  height: 40px;
  width: auto;
  color: var(--text);
  overflow: visible;
  direction: ltr;
}

.logo-word {
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 1.2px;
  fill: currentColor;
}

.logo-tag {
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 2.3px;
  fill: currentColor;
}

/* The mark's dark inner facet needs to lift in dark mode to stay visible */
[data-theme="dark"] .brand-logo path[opacity] { fill: #a78bfa; opacity: .35; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color .2s ease, background-color .2s ease;
}

.nav-link:hover { color: var(--text); background: var(--surface-2); }
.nav-link.is-active { color: var(--brand-600); background: var(--brand-100); }
[data-theme="dark"] .nav-link.is-active { color: var(--brand-300); background: rgba(124, 58, 237, .16); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.icon-btn:hover { color: var(--brand-600); border-color: var(--border-strong); transform: translateY(-1px); }
.icon-btn svg { width: 19px; height: 19px; }

.nav-toggle { display: none; }

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 55;
  padding: 16px 20px 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.mobile-menu.is-open { display: block; }
.mobile-menu .nav-link { display: block; padding: 12px 14px; font-size: 16px; }

/* --------------------------------------------------------------------------
   Buttons & pills
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(109, 40, 217, .34); }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover { transform: translateY(-2px); border-color: var(--brand-400); color: var(--brand-600); }
[data-theme="dark"] .btn-ghost:hover { color: var(--brand-300); }

.btn-block { width: 100%; }
.btn-lg { padding: 15px 30px; font-size: 16px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, .16);
}

/* --------------------------------------------------------------------------
   Section headers
   -------------------------------------------------------------------------- */

.section-head {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 56px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.section-title { font-size: clamp(28px, 4vw, 42px); }
.section-sub { color: var(--text-muted); font-size: 17px; }

.gradient-text {
  background: linear-gradient(120deg, var(--brand-700), var(--brand-500) 55%, var(--brand-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-theme="dark"] .gradient-text {
  background: linear-gradient(120deg, var(--brand-300), #e9d5ff 55%, var(--brand-400));
  -webkit-background-clip: text;
  background-clip: text;
}

/* --------------------------------------------------------------------------
   Cards (shared)
   -------------------------------------------------------------------------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, border-color .3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.card-icon svg { width: 24px; height: 24px; }
.card-title { font-size: 19px; margin-bottom: 10px; }
.card-text { color: var(--text-muted); font-size: 15.5px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding-block: 104px 88px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}

.hero-copy { display: grid; justify-items: start; gap: 26px; }

.hero-title {
  font-size: clamp(34px, 5.4vw, 60px);
  letter-spacing: -0.03em;
}

.hero-text {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 54ch;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding-top: 12px;
}

.stat-value {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-theme="dark"] .stat-value {
  background: linear-gradient(135deg, var(--brand-300), var(--brand-400));
  -webkit-background-clip: text;
  background-clip: text;
}

.stat-label { font-size: 14px; color: var(--text-faint); font-weight: 600; }

/* Hero visual: a stylised rank-progress panel (no stock photo needed) */
.hero-visual {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.serp-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.serp-row:last-of-type { margin-bottom: 0; }

.serp-row.is-you {
  background: linear-gradient(135deg, rgba(109, 40, 217, .12), rgba(124, 58, 237, .05));
  border-color: rgba(124, 58, 237, .34);
  box-shadow: 0 8px 24px rgba(109, 40, 217, .14);
}

.serp-rank {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  flex: none;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-faint);
}

.serp-row.is-you .serp-rank {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  border-color: transparent;
  color: #fff;
}

.serp-bars { flex: 1; display: grid; gap: 7px; }
.serp-bar { height: 8px; border-radius: 999px; background: var(--border-strong); }
.serp-bar.short { width: 58%; }
.serp-row.is-you .serp-bar { background: linear-gradient(90deg, var(--brand-500), var(--brand-400)); }

.serp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, .14);
  color: #047857;
  font-size: 12.5px;
  font-weight: 800;
}

[data-theme="dark"] .serp-badge { color: #6ee7b7; background: rgba(16, 185, 129, .18); }

.hero-float {
  position: absolute;
  bottom: -22px;
  inset-inline-start: -18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.hero-float .card-icon { width: 38px; height: 38px; margin: 0; border-radius: 11px; }
.hero-float .card-icon svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   Bento grid
   -------------------------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.bento > .card { grid-column: span 2; }
.bento > .card.wide { grid-column: span 3; }
.bento > .card.full { grid-column: span 6; }

.bento-feature {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 980px;
  margin-inline: auto;
  align-items: start;
}

/* Source order is silver -> gold (logical: base tier, then upgrade), but the
   recommended tier should lead visually. */
.plan-gold { order: -1; }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}

/* The metallic sheen strip across the top of each plan */
.plan::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
}

.plan-silver::before { background: linear-gradient(90deg, var(--silver-a), var(--silver-b), var(--silver-a)); }
.plan-gold::before { background: linear-gradient(90deg, var(--gold-a), var(--gold-b), var(--gold-a)); }

.plan:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }

.plan-gold {
  border-color: rgba(184, 134, 11, .34);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(184, 134, 11, .1);
}

.plan-gold:hover { box-shadow: var(--shadow-lg), 0 0 44px rgba(184, 134, 11, .18); }

.plan-badge {
  position: absolute;
  top: 22px;
  inset-inline-end: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #92400e, #d4a017);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(146, 64, 14, .3);
}

.plan-badge svg { width: 13px; height: 13px; }

.plan-mark {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 18px;
  border-radius: 16px;
  color: #fff;
}

.plan-silver .plan-mark {
  background: linear-gradient(135deg, #64748b, #cbd5e1);
  box-shadow: 0 10px 26px rgba(100, 116, 139, .28);
}

.plan-gold .plan-mark {
  background: linear-gradient(135deg, #b8860b, #f5d78e);
  box-shadow: 0 10px 26px rgba(184, 134, 11, .32);
}

.plan-mark svg { width: 26px; height: 26px; }

.plan-name { font-size: 24px; margin-bottom: 6px; }
.plan-tag { color: var(--text-faint); font-size: 15px; }

.plan-keywords {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-block: 22px 8px;
  padding-block: 20px;
  border-block: 1px solid var(--border);
}

.plan-kw-num {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan-silver .plan-kw-num { color: #64748b; }
[data-theme="dark"] .plan-silver .plan-kw-num { color: #cbd5e1; }
.plan-gold .plan-kw-num { color: #b8860b; }
[data-theme="dark"] .plan-gold .plan-kw-num { color: #f5d78e; }

.plan-kw-label { color: var(--text-muted); font-size: 15px; font-weight: 600; }

.plan-inherits {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 12px 15px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(184, 134, 11, .12), rgba(245, 215, 142, .07));
  border: 1px solid rgba(184, 134, 11, .24);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}

.plan-inherits svg { width: 17px; height: 17px; flex: none; color: #b8860b; }
[data-theme="dark"] .plan-inherits svg { color: #f5d78e; }

.plan-features {
  display: grid;
  gap: 11px;
  margin-bottom: 28px;
  flex: 1;
}

.feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-muted);
}

.feat-check {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  flex: none;
  margin-top: 4px;
  border-radius: 6px;
}

.feat-check svg { width: 12px; height: 12px; color: #fff; }

.plan-silver .feat-check { background: linear-gradient(135deg, #64748b, #94a3b8); }
.plan-gold .feat-check { background: linear-gradient(135deg, #b8860b, #d4a017); }

.feat-new { color: var(--text); font-weight: 600; }

/* --------------------------------------------------------------------------
   About / vision / mission
   -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: start;
}

.about-text { display: grid; gap: 18px; color: var(--text-muted); font-size: 16.5px; }

.vm-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}

.vm-card + .vm-card { margin-top: 18px; }
.vm-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.vm-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 11px;
  font-size: 18px;
  font-weight: 800;
}

.vm-head svg { width: 21px; height: 21px; color: var(--brand-600); }
[data-theme="dark"] .vm-head svg { color: var(--brand-400); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  padding: 60px 40px;
  border-radius: 28px;
  text-align: center;
  background: linear-gradient(135deg, var(--brand-900), var(--brand-700) 55%, var(--brand-500));
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 20px;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  top: -180px; inset-inline-end: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%);
}

.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 38px); }
.cta-band p { color: rgba(255, 255, 255, .84); font-size: 17px; max-width: 58ch; }

.cta-band .btn-ghost {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
  backdrop-filter: blur(8px);
}

.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; border-color: rgba(255, 255, 255, .5); }

.cta-band .btn-primary {
  background: #fff;
  color: var(--brand-800);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
}

.cta-band .btn-primary:hover { background: #f8fafc; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.contact-item + .contact-item { margin-top: 14px; }
.contact-item:hover { transform: translateY(-3px); border-color: var(--brand-400); box-shadow: var(--shadow-md); }
.contact-item .card-icon { margin: 0; width: 44px; height: 44px; border-radius: 12px; }
.contact-item .card-icon svg { width: 20px; height: 20px; }
.contact-label { font-size: 13.5px; color: var(--text-faint); font-weight: 600; }
.contact-value { font-weight: 700; font-size: 15.5px; }

.form-card { padding: 32px; }
.field { margin-bottom: 18px; }

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14.5px;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px var(--ring);
}

.field textarea { resize: vertical; min-height: 130px; }

.form-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-faint);
  text-align: center;
}

.form-status {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
}

.form-status.is-ok { display: block; background: rgba(16, 185, 129, .13); color: #047857; }
[data-theme="dark"] .form-status.is-ok { color: #6ee7b7; }
.form-status.is-err { display: block; background: rgba(239, 68, 68, .13); color: #b91c1c; }
[data-theme="dark"] .form-status.is-err { color: #fca5a5; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  margin-top: 96px;
  padding-block: 56px 28px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 40px;
}

.footer h4 { font-size: 16px; margin-bottom: 16px; }
.footer-text { color: var(--text-muted); font-size: 15px; max-width: 42ch; margin-top: 16px; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { color: var(--text-muted); font-size: 15px; transition: color .2s ease; }
.footer-links a:hover { color: var(--brand-600); }
[data-theme="dark"] .footer-links a:hover { color: var(--brand-300); }

.socials { display: flex; gap: 11px; margin-top: 18px; }

.social {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.social:hover {
  transform: translateY(-3px);
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  box-shadow: var(--shadow-brand);
}

.social svg { width: 19px; height: 19px; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  color: var(--text-faint);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Floating WhatsApp
   -------------------------------------------------------------------------- */

.wa-float {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .42);
  transition: transform .25s ease;
}

.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1);
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .hero { padding-block: 72px 64px; }
  .hero-visual { order: -1; }
  .bento > .card,
  .bento > .card.wide { grid-column: span 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-grid; }
  .section { padding-block: 72px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento > .card,
  .bento > .card.wide,
  .bento > .card.full { grid-column: span 1; }
  .bento-feature { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 26px; }
  .cta-band { padding: 44px 24px; }
  .hero-float { inset-inline-start: 50%; transform: translateX(-50%); bottom: -26px; }
}

@media (max-width: 420px) {
  .container { padding-inline: 16px; }
  .plan { padding: 28px 22px; }
  .form-card { padding: 24px 20px; }
}
