/* =========================================================
   LEDA — Hệ thống quản lý Lead tuyển sinh
   Design tokens lấy từ logo: mint (#2DD9A8) -> blue (#2E86E0)
   Motif thương hiệu: mạng lưới node-liên-kết (node mesh)
   ========================================================= */

:root {
  /* Brand */
  --mint: #22C99A;
  --mint-soft: #6FEBC6;
  --blue: #2E7DE0;
  --blue-deep: #1B4FB8;
  --gradient-brand: linear-gradient(120deg, var(--mint) 0%, var(--blue) 100%);
  --gradient-brand-soft: linear-gradient(120deg, rgba(34,201,154,0.12) 0%, rgba(46,125,224,0.12) 100%);

  /* Neutrals */
  --ink: #0B1220;
  --ink-soft: #1E293B;
  --slate: #526079;
  --slate-light: #8592A8;
  --border: #E3E9F1;
  --border-soft: #EEF2F7;
  --bg: #F6F9FC;
  --bg-alt: #EFF4F9;
  --white: #FFFFFF;

  /* Semantic */
  --success-bg: #ECFDF5;
  --success-text: #065F46;
  --success-border: #A7F3D0;
  --error-bg: #FEF2F2;
  --error-text: #991B1B;
  --error-border: #FECACA;

  /* Type */
  --font-display: "Sora", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --wrap-w: 1160px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.04), 0 1px 3px rgba(11, 18, 32, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(11, 18, 32, 0.18);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); color: var(--ink); font-weight: 700; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap-w); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin: 0 0 14px;
}
.section-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-brand);
  flex: none;
}
.section-eyebrow-light { color: var(--mint-soft); }

.section-title {
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  line-height: 1.25;
  max-width: 780px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.section-title-light { color: var(--white); }

.section-lead {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 640px;
  margin: 0 0 44px;
}
.section-lead strong { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: 0 8px 20px -6px rgba(46, 125, 224, 0.45);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -6px rgba(46, 125, 224, 0.55); }
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-deep); }
.btn-outline {
  background: var(--white);
  color: var(--ink-soft);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--mint); color: var(--mint); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(246, 249, 252, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; }
.brand-logo { height: 32px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--slate);
  position: relative;
  padding: 4px 0;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transition: right 0.2s ease;
}
.main-nav a:hover::after { right: 0; }

.header-cta { display: flex; align-items: center; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink-soft);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(720px 420px at 88% -10%, rgba(34, 201, 154, 0.12), transparent 60%),
    radial-gradient(640px 420px at 100% 40%, rgba(46, 125, 224, 0.10), transparent 60%),
    var(--bg);
}
.node-mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 48px;
  align-items: center;
}
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin: 0 0 18px;
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}
.accent-underline {
  background: linear-gradient(to top, rgba(34, 201, 154, 0.35) 38%, transparent 38%);
  padding: 0 2px;
}
.hero-sub {
  font-size: 1.08rem;
  color: var(--slate);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { font-size: 0.88rem; color: var(--slate-light); }

.funnel-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px 22px;
  box-shadow: var(--shadow-lg);
}
.funnel-card-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 18px;
}
.funnel-bars { display: flex; flex-direction: column; gap: 10px; }
.funnel-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  width: var(--w);
  min-width: 168px;
  background: var(--gradient-brand-soft);
  border: 1px solid rgba(46, 125, 224, 0.14);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.funnel-row-final {
  background: var(--gradient-brand);
  border-color: transparent;
}
.funnel-row-final .funnel-stage,
.funnel-row-final .funnel-num { color: var(--white); }
.funnel-stage { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.funnel-num { font-family: var(--font-mono); font-size: 0.82rem; color: var(--slate); }
.funnel-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-size: 0.88rem;
  color: var(--slate);
}
.funnel-card-footer strong {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--ink);
}

/* ---------- Problems ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.problem-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.problem-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--gradient-brand-soft);
  margin-bottom: 18px;
  position: relative;
}
.problem-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-brand);
}
.problem-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.problem-card p { color: var(--slate); font-size: 0.95rem; margin: 0; }

/* ---------- Tabs & features ---------- */
.tabs { margin-top: 8px; }
.tab-buttons {
  display: inline-flex;
  padding: 5px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}
.tab-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate);
  transition: background 0.2s ease, color 0.2s ease;
}
.tab-btn.is-active { background: var(--gradient-brand); color: var(--white); }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: translateY(0); } }

.tab-panel-note {
  font-size: 0.92rem;
  color: var(--slate);
  margin: 0 0 28px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border);
}

.feature-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-group {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
}
.feature-group h4 {
  font-size: 0.98rem;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}
.feature-group ul { display: flex; flex-direction: column; gap: 10px; }
.feature-group li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--slate);
}
.feature-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-brand);
}
.feature-group li strong { color: var(--ink-soft); }

.feature-group-highlight {
  grid-column: 1 / -1;
  background: var(--ink);
  border-color: var(--ink);
}
.feature-group-highlight h4 { color: var(--white); border-bottom-color: rgba(255,255,255,0.12); }
.feature-group-highlight > p { color: rgba(255,255,255,0.72); font-size: 0.92rem; margin: 14px 0 0; }

.stage-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.stage-chain span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 6px 12px;
  border-radius: 999px;
}
.stage-chain span.stage-final {
  background: var(--gradient-brand);
  border-color: transparent;
  color: var(--ink);
  font-weight: 700;
}
.stage-chain i {
  font-style: normal;
  color: var(--mint-soft);
  font-size: 0.85rem;
}

/* ---------- Funnel detail ---------- */
.funnel-detail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 30px 26px;
  box-shadow: var(--shadow-sm);
}
.funnel-detail-row {
  display: grid;
  grid-template-columns: 150px 1fr 80px;
  align-items: center;
  gap: 16px;
}
.funnel-detail-label { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.funnel-detail-track {
  height: 12px;
  background: var(--bg-alt);
  border-radius: 999px;
  overflow: hidden;
}
.funnel-detail-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--gradient-brand);
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.funnel-detail-final .funnel-detail-label { color: var(--blue-deep); }
.funnel-detail-value {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-align: right;
  color: var(--slate);
}
.funnel-conversion {
  margin: 24px 0 0;
  font-size: 0.94rem;
  color: var(--slate);
}
.funnel-conversion strong { color: var(--ink); font-family: var(--font-mono); }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  border-color: transparent;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 30px;
  background: var(--gradient-brand);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}
.price-card-head { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border-soft); }
.price-card-featured .price-card-head { border-bottom-color: rgba(255,255,255,0.12); }
.price-card-head h3 { font-size: 1.15rem; margin-bottom: 12px; }
.price-card-featured .price-card-head h3 { color: var(--white); }
.price-tag {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.price-card-featured .price-tag { color: var(--white); }
.price-tag span { font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; color: var(--slate-light); }
.price-num { font-family: var(--font-mono); }
.price-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mint-soft);
  background: rgba(111, 235, 198, 0.12);
  border: 1px solid rgba(111, 235, 198, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
}
.price-soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint-soft); }
.price-sub { font-size: 0.88rem; color: var(--slate-light); margin: 0; }
.price-card-featured .price-sub { color: rgba(255,255,255,0.6); }

.price-limits {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.price-limits li {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  background: var(--bg-alt);
  color: var(--slate);
  padding: 6px 12px;
  border-radius: 999px;
}
.price-card-featured .price-limits li { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); }

.price-features { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; flex: 1; }
.price-features li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--slate);
}
.price-card-featured .price-features li { color: rgba(255,255,255,0.82); }
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mint);
}
.price-card-featured .price-features li::before { color: var(--mint-soft); }

.addon-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 34px 12px;
}
.addon-title { font-size: 1.2rem; margin-bottom: 10px; }
.addon-block .section-lead { margin-bottom: 26px; }
.addon-table-wrap { overflow-x: auto; }
.addon-table { width: 100%; border-collapse: collapse; }
.addon-table th, .addon-table td {
  text-align: left;
  padding: 14px 16px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-soft);
}
.addon-table th {
  font-family: var(--font-body);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-light);
  font-weight: 700;
}
.addon-table td:last-child { font-family: var(--font-body); color: var(--ink-soft); font-weight: 700; }
.addon-table tr:last-child td { border-bottom: none; }
.addon-table tr.addon-row-custom td { color: var(--blue-deep); }
.addon-table tr.addon-row-custom td:last-child { color: var(--blue-deep); }

/* ---------- Activity log ---------- */
.log-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.log-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.log-table th, .log-table td {
  text-align: left;
  padding: 16px 22px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-soft);
}
.log-table th {
  font-family: var(--font-body);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-light);
  font-weight: 700;
  background: var(--bg-alt);
}
.log-table td:first-child { font-weight: 600; color: var(--ink-soft); }
.log-table td:last-child { color: var(--slate); font-style: italic; font-size: 0.88rem; }
.log-table tr:last-child td { border-bottom: none; }

/* ---------- Order section ---------- */
.section-order {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.order-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}
.order-lead { color: rgba(255,255,255,0.68); font-size: 1.02rem; margin-bottom: 26px; max-width: 420px; }
.order-points { display: flex; flex-direction: column; gap: 12px; }
.order-points li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
}
.order-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mint-soft);
  font-weight: 700;
}

.order-form {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.form-row label span { color: var(--blue); }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  color: var(--ink-soft);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46, 125, 224, 0.14);
}
.form-row textarea { resize: vertical; min-height: 84px; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.form-row-split > div { margin-bottom: 18px; }

.form-fineprint { font-size: 0.8rem; color: var(--slate-light); text-align: center; margin: 12px 0 0; }

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  margin-top: 16px;
  display: none;
  animation: slideDown 0.3s ease;
}
.form-alert-success { background: var(--success-bg); color: var(--success-text); border: 1px solid var(--success-border); }
.form-alert-error { background: var(--error-bg); color: var(--error-text); border: 1px solid var(--error-border); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px);} to { opacity: 1; transform: translateY(0);} }

.form-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  border-radius: var(--radius-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.form-loading-overlay.is-active { opacity: 1; visibility: visible; }
.form-loading-overlay p { margin-top: 14px; font-weight: 600; color: var(--ink-soft); font-size: 0.92rem; }
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.6); padding-top: 64px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { max-width: 300px; }
.brand-logo-footer { height: 30px; margin-bottom: 14px; filter: brightness(1.4); }
.footer-brand p { font-size: 0.9rem; margin: 0; }
.footer-links { display: flex; gap: 64px; }
.footer-links h5 {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 11px;
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--mint-soft); }
.footer-bottom { padding: 24px 0; font-size: 0.82rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; }
  .problem-grid { grid-template-columns: 1fr; }
  .feature-groups { grid-template-columns: 1fr; }
  .feature-group-highlight { grid-column: auto; }
  .pricing-grid { grid-template-columns: 1fr; }
  .order-wrap { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; }
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: auto;
    max-height: 100vh;
    overflow-y: auto;
    background: var(--white);
  }
  .site-header.nav-open .header-inner { align-items: flex-start; }
  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 3;
    gap: 0;
    padding-top: 8px;
    border-top: 1px solid var(--border-soft);
  }
  .site-header.nav-open .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
  .site-header.nav-open .header-cta {
    display: flex;
    order: 4;
    width: 100%;
    padding: 16px 0 20px;
  }
  .site-header.nav-open .header-cta .btn { width: 100%; }

  .section { padding: 64px 0; }
  .form-row-split { grid-template-columns: 1fr; }
  .funnel-detail-row { grid-template-columns: 108px 1fr 60px; gap: 10px; }
}
