/* ============================================================
   30p Direct Debit — style.css
   Redesign: Trust & Authority | IBM Plex Sans | Dark Theme
   Accent: Emerald #22C55E
   ============================================================ */

:root {
  /* Surfaces */
  --bg:             #06101C;
  --surface:        #0A1828;
  --surface-hi:     #0E2040;

  /* Borders */
  --border:         rgba(148,163,184,0.10);
  --border-hi:      rgba(148,163,184,0.18);

  /* Text */
  --text:           #EEF4FF;
  --muted:          #8EAAC4;
  --subtle:         #4B6480;

  /* Brand / accent */
  --accent:         #22C55E;
  --accent-hover:   #16A34A;
  --accent-glow:    rgba(34,197,94,0.22);
  --accent-dim:     rgba(34,197,94,0.09);

  /* Functional */
  --blue:           #60A5FA;
  --blue-dim:       rgba(96,165,250,0.09);
  --error:          #F87171;
  --error-dim:      rgba(248,113,113,0.10);
  --warn:           #FBBF24;

  /* Radii */
  --radius-sm:      6px;
  --radius-md:      10px;
  --radius-lg:      16px;
  --radius-xl:      22px;

  /* Shadows */
  --shadow:         0 4px 24px rgba(0,0,0,0.40);
  --shadow-lg:      0 16px 56px rgba(0,0,0,0.55);
  --shadow-accent:  0 8px 32px rgba(34,197,94,0.25);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ── Containers ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow { max-width: 680px; }

/* ══════════════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════════════ */
.nav {
  background: rgba(6,16,28,0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  text-decoration: none;
}
.logo-mark {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.logo-text {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1.1rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem 5rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148,163,184,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hero-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-dim);
  border: 1px solid rgba(34,197,94,0.22);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 2.25rem;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: var(--shadow-accent);
}
.btn-hero:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(34,197,94,0.35);
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--subtle);
}
.hero-note svg { color: var(--accent); }

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 0 auto;
}
.stat { text-align: center; }
.stat-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}
.stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--subtle);
  margin-top: 0.2rem;
  letter-spacing: 0.02em;
}
.stat-divider {
  width: 1px;
  height: 2.5rem;
  background: var(--border-hi);
}

/* ══════════════════════════════════════════════════════════════
   SECTION SHARED
══════════════════════════════════════════════════════════════ */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  color: var(--text);
}
.section-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 540px;
}

/* ══════════════════════════════════════════════════════════════
   INFO SECTION (Why this exists)
══════════════════════════════════════════════════════════════ */
.info-section {
  background: var(--surface);
  padding: 5.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 720px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
}
.info-text p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.97rem;
  margin-bottom: 1.1rem;
}
.info-text p strong { color: var(--text); font-weight: 600; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 1.4rem;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  margin-top: 0.5rem;
}
.btn-outline:hover { background: var(--accent); color: #fff; }

/* Bonus card */
.bonus-card {
  background: var(--surface-hi);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.bonus-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #34D399);
}
.bonus-bank {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.bonus-bank svg { color: var(--muted); }
.bonus-amount {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  line-height: 1;
  color: var(--text);
}
.bonus-req { display: flex; flex-direction: column; gap: 0.5rem; }
.req-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  color: var(--muted);
}
.req-done { color: var(--text); }
.req-done svg { color: var(--accent); flex-shrink: 0; }
.req-pending {
  background: rgba(251,191,36,0.05);
  border-color: rgba(251,191,36,0.18);
  color: var(--text);
}
.req-pending svg { color: var(--warn); flex-shrink: 0; }
.req-pending em { font-style: normal; font-weight: 600; color: var(--warn); }

/* ══════════════════════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════════════════════ */
.how-section {
  background: var(--bg);
  padding: 5.5rem 0;
}
.how-section .section-sub { margin-bottom: 3rem; }
.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
@media (min-width: 720px) {
  .steps { flex-direction: row; align-items: flex-start; }
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.25rem;
}
.step-number {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1.5px solid rgba(34,197,94,0.28);
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.step-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.step-body p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.65;
}
.step-arrow {
  color: var(--subtle);
  padding: 0.9rem 0;
  display: flex;
  align-items: center;
}
@media (min-width: 720px) {
  .step-arrow { padding: 0; margin-top: 1.3rem; }
}
@media (max-width: 719px) {
  .step-arrow svg { transform: rotate(90deg); }
}

/* ══════════════════════════════════════════════════════════════
   FEATURES GRID
══════════════════════════════════════════════════════════════ */
.features-section {
  background: var(--surface);
  padding: 5.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-section .section-sub { margin-bottom: 3rem; }
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-hi);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-hi);
}
@media (min-width: 600px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.feature-card {
  padding: 1.75rem;
  background: var(--surface);
  transition: background 0.15s;
}
.feature-card:hover { background: var(--surface-hi); }
.feature-icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════════════ */
.faq-section {
  background: var(--bg);
  padding: 5.5rem 0;
}
.faq-section .section-sub { margin-bottom: 2.25rem; }
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq-item[open] { border-color: var(--border-hi); }
.faq-item summary {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  color: var(--text);
  transition: background 0.15s;
}
.faq-item summary:hover { background: var(--surface-hi); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--muted);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body {
  padding: 0 1.4rem 1.2rem;
  border-top: 1px solid var(--border);
}
.faq-body p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
  padding-top: 1rem;
}

/* ══════════════════════════════════════════════════════════════
   FORM SECTION
══════════════════════════════════════════════════════════════ */
.form-section {
  background: var(--surface);
  padding: 5.5rem 0 6rem;
  border-top: 1px solid var(--border);
}
.form-header {
  text-align: center;
  margin-bottom: 2.25rem;
}
.form-header .section-sub { margin: 0 auto; }

.form-card {
  background: var(--bg);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2.25rem;
}

/* Step progress dots */
.step-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 2rem;
}
.step-dot {
  height: 6px;
  border-radius: 3px;
  background: var(--border-hi);
  transition: background 0.25s, width 0.25s;
  width: 6px;
}
.step-dot.active {
  background: var(--accent);
  width: 22px;
}

/* Row layout */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}
.field input,
.field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-sm);
  font-size: 0.97rem;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  appearance: none;
}
.field input::placeholder { color: var(--subtle); }
.field input:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.field input.input-error { border-color: var(--error); }

.field-hint {
  font-size: 0.74rem;
  color: var(--subtle);
  margin-top: 0.3rem;
}
.field-hint--tip {
  color: var(--accent);
  font-weight: 500;
}

/* Quantity selector */
.qty-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 5px;
  margin-top: 0.4rem;
}
.qty-btn {
  padding: 0.45rem 0;
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  text-align: center;
}
.qty-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.qty-btn--active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}
@media (max-width: 480px) {
  .qty-grid { grid-template-columns: repeat(5, 1fr); }
}
/* Optional tip */
.tip-box {
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  margin: 0 0 1.1rem;
  min-width: 0;
}
.tip-box legend {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0 0.4rem;
}
.tip-text {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 0.6rem;
}
.tip-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.3rem 0;
  cursor: pointer;
}
.tip-option input { accent-color: var(--accent); margin: 0; }
.tip-summary {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin: 0.6rem 0 0;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border-hi);
}
.field input[readonly] {
  background: var(--surface-hi);
  color: var(--muted);
  cursor: default;
}

/* Mandate box */
.mandate-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  margin-bottom: 1.1rem;
}
.mandate-box p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.mandate-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
}
.mandate-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.mandate-check span {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.5;
  font-weight: 500;
}

/* Form section divider label */
.form-section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--subtle);
  margin: 1.25rem 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Error area */
#card-errors { min-height: 0; }

/* Button spinner */
.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btnSpin 0.65s linear infinite;
  vertical-align: middle;
  margin-right: 7px;
  flex-shrink: 0;
}
@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* Connection visualizer */
.cv {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent-dim);
  border: 1px solid rgba(34,197,94,0.14);
  border-radius: var(--radius-md);
  padding: 1rem 1rem 0.85rem;
  margin-top: 0.75rem;
}
.cv--active {
  display: flex;
  animation: cvIn 0.22s ease-out;
}
@keyframes cvIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cv__row {
  display: flex;
  align-items: center;
  width: 100%;
}
.cv__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.cv__node-icon {
  width: 46px;
  height: 46px;
  background: rgba(34,197,94,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.cv__node-icon--stripe {
  background: rgba(96,165,250,0.12);
  color: var(--blue);
  animation: cvGlow 1.5s ease-in-out infinite;
}
@keyframes cvGlow {
  0%, 100% { box-shadow: 0 0 0 0   rgba(96,165,250,0.25); }
  50%       { box-shadow: 0 0 0 6px rgba(96,165,250,0);    }
}
.cv__node-label {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--subtle);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cv__wires {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 10px;
  min-width: 0;
}
.cv__wire {
  position: relative;
  height: 8px;
  background: rgba(34,197,94,0.07);
  border-radius: 99px;
  overflow: visible;
}
.cv__pkt {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0;
}
.cv__wire--fwd .cv__pkt {
  background: var(--accent);
  animation: cvFwd 1.6s linear infinite;
}
.cv__wire--ret .cv__pkt {
  background: var(--blue);
  animation: cvRet 1.6s linear infinite;
}
.cv__pkt:nth-child(1) { animation-delay: 0s;    }
.cv__pkt:nth-child(2) { animation-delay: 0.53s; }
.cv__pkt:nth-child(3) { animation-delay: 1.07s; }
@keyframes cvFwd {
  0%   { left: -4px;             opacity: 0; }
  5%   {                         opacity: 1; }
  95%  {                         opacity: 1; }
  100% { left: calc(100% - 4px); opacity: 0; }
}
@keyframes cvRet {
  0%   { left: calc(100% - 4px); opacity: 0; }
  5%   {                         opacity: 1; }
  95%  {                         opacity: 1; }
  100% { left: -4px;             opacity: 0; }
}
.cv__status {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
  text-align: center;
}

/* Error box */
.err-box {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  background: var(--error-dim);
  border: 1px solid rgba(248,113,113,0.20);
  border-left: 3px solid var(--error);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.9rem;
  animation: errShake 0.4s cubic-bezier(.36,.07,.19,.97);
}
@keyframes errShake {
  0%, 100% { transform: translateX(0);   }
  20%      { transform: translateX(-5px); }
  40%      { transform: translateX(5px);  }
  60%      { transform: translateX(-3px); }
  80%      { transform: translateX(3px);  }
}
.err-box__icon { flex-shrink: 0; color: var(--error); margin-top: 1px; }
.err-box__msg  { font-size: 0.87rem; color: var(--error); font-weight: 500; line-height: 1.45; }
#payment-errors { margin-top: 0.75rem; }

/* Submit / primary button */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s, transform 0.1s;
  text-align: center;
  letter-spacing: 0.01em;
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--subtle);
  margin-top: 0.85rem;
  line-height: 1.55;
}

/* Trust badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}
.badge svg { color: var(--accent); }

/* ══════════════════════════════════════════════════════════════
   SUCCESS PAGE
══════════════════════════════════════════════════════════════ */
.success-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.5rem;
  text-align: center;
}
.success-main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 1.5rem 5rem;
  background: var(--bg);
}
.success-card {
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 520px;
  text-align: center;
}
.success-icon {
  margin: 0 auto 1.5rem;
  width: 72px;
  height: 72px;
  background: var(--accent-dim);
  border: 1.5px solid rgba(34,197,94,0.24);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-card h1 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
  color: var(--text);
}
.success-card .lead {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.97rem;
  margin-bottom: 1rem;
}
.success-info-box {
  background: rgba(251,191,36,0.05);
  border: 1px solid rgba(251,191,36,0.18);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  margin-bottom: 1.75rem;
  text-align: left;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.success-info-box svg { flex-shrink: 0; margin-top: 2px; color: var(--warn); }
.success-info-box p { font-size: 0.83rem; color: var(--muted); line-height: 1.55; }
.success-info-box strong { color: var(--text); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.btn-secondary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.cancel-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--subtle);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
footer {
  background: var(--surface);
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.footer-inner .nav-logo { justify-content: center; margin-bottom: 0.75rem; }
.footer-legal {
  font-size: 0.77rem;
  color: var(--subtle);
  line-height: 1.75;
}
.footer-credit {
  font-size: 0.77rem;
  color: var(--subtle);
  line-height: 1.75;
  margin-top: 0.9rem;
}
.footer-credit a {
  color: var(--muted);
  text-decoration: underline;
}
.footer-credit a:hover { color: var(--text); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero { padding: 4rem 1.25rem 3rem; }
  .hero-stats { gap: 1.25rem; padding: 1rem 1.25rem; }
  .stat-divider { display: none; }
  .form-card { padding: 1.75rem 1.25rem; }
  .field-row { grid-template-columns: 1fr; }
  .info-section,
  .how-section,
  .features-section,
  .faq-section,
  .form-section { padding: 4rem 0; }
}

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