/* =========================================================
   ShipCartExpress. Master stylesheet.
   Table of contents:
   1. Reset and base
   2. Design tokens
   3. Typography
   4. Layout and grid
   5. Buttons
   6. Header and navigation
   7. Hero
   8. Trust strip
   9. Cards and sections
   10. Delivery business components
   11. Forms
   12. Footer
   13. Utilities and animation
   14. Responsive breakpoints
   ========================================================= */

/* 1. Reset and base -------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
svg { display: block; }

/* 2. Design tokens ---------------------------------------- */
:root {
  --navy: #063B8C;
  --navy-deep: #062C68;
  --blue: #009FE3;
  --orange: #FF6B00;
  --gold: #FFB000;
  --white: #FFFFFF;
  --bg-soft: #F6F8FB;
  --text-dark: #101828;
  --text-secondary: #667085;
  --border-soft: #E4E9F2;

  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 4px 12px rgba(6, 44, 104, 0.08);
  --shadow-lg: 0 12px 32px rgba(6, 44, 104, 0.12);

  --container-width: 1240px;
  --section-space: 96px;
}

/* 3. Typography --------------------------------------------- */
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 3.4vw, 3.25rem); margin-bottom: 20px; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4 { font-size: 1.05rem; margin-bottom: 6px; }
p { color: var(--text-secondary); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 16px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--gold); }

/* 4. Layout and grid ------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: var(--section-space) 0; }
.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--navy-deep); color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.72); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--border-soft) 20%, var(--border-soft) 80%, transparent);
}

/* 5. Buttons ------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.28);
}
.btn-primary:hover { background: #E85F00; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255, 107, 0, 0.34); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }
.btn-on-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-on-dark:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--navy-deep);
}
.btn-white:hover { background: var(--bg-soft); transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* 6. Header and navigation ------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.2s ease, padding 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;
  padding: 16px 0;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--navy); }
.main-nav a.active { color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn-primary { padding: 12px 20px; font-size: 0.9rem; }
.nav-utility {
  display: flex;
  align-items: center;
  gap: 0;
  padding-right: 10px;
  margin-right: 2px;
  border-right: 1px solid var(--border-soft);
}
.nav-utility a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 9px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.83rem;
  color: var(--navy);
  white-space: nowrap;
  transition: background-color 0.15s ease;
}
.nav-utility a:hover { background: var(--bg-soft); }
.nav-utility svg { flex-shrink: 0; color: var(--blue); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: var(--white);
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy-deep);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 71px;
  background: var(--white);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 16px 4px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-nav .cta-row { margin-top: 24px; flex-direction: column; align-items: stretch; }
body.nav-open { overflow: hidden; }

/* 7. Hero -------------------------------------------------- */
.hero {
  padding: 76px 0 calc(var(--section-space) + 8px);
  background:
    radial-gradient(640px 480px at 92% -12%, rgba(0, 159, 227, 0.32), transparent 62%),
    radial-gradient(560px 440px at -10% 112%, rgba(255, 107, 0, 0.20), transparent 62%),
    linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 68%, #0A3A94 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.55;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(3, 20, 51, 0.35) 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; color: var(--white); }
.hero .lead { margin-bottom: 32px; max-width: 520px; color: rgba(255, 255, 255, 0.78); }
.hero-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-mini-stats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
}
.hero-mini-stats .icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold);
  backdrop-filter: blur(2px);
}
.hero-mini-stats .icon-badge.orange { background: rgba(255, 176, 0, 0.18); color: var(--gold); }
.hero-visual-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; }
.hero-stats-row { display: flex; gap: 16px; }
.hero-visual {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: 0 28px 60px rgba(2, 14, 41, 0.45), 0 8px 20px rgba(2, 14, 41, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-visual-framed {
  aspect-ratio: auto;
  border-radius: 0;
  overflow: visible;
  background: none;
  box-shadow: none;
  border: none;
}
.hero-visual-framed img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.hero-float-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px 20px 16px 16px;
  box-shadow: 0 18px 34px rgba(6, 44, 104, 0.22), 0 3px 10px rgba(6, 44, 104, 0.1);
  z-index: 3;
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.hero-float-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}
.hero-float-card.bottom::before { background: linear-gradient(90deg, var(--navy), var(--blue)); }
.hero-float-card .icon-badge { width: 42px; height: 42px; border-radius: 11px; }
.hero-float-card div { display: flex; flex-direction: column; }
.hero-float-card .value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy-deep);
  line-height: 1.2;
}
.hero-float-card .label {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.3;
  margin-top: 2px;
}
.page-hero {
  padding: 56px 0 72px;
  background: var(--navy-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.75); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

/* 8. Trust strip ------------------------------------------- */
.trust-strip {
  padding: 40px 0;
  border-bottom: 1px solid var(--border-soft);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.trust-item .icon-badge { flex-shrink: 0; }
.trust-item h4 { margin-bottom: 4px; font-size: 0.98rem; }
.trust-item p { font-size: 0.88rem; margin: 0; }

/* 9. Cards and sections -------------------------------------- */
.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(6, 59, 140, 0.12), rgba(0, 159, 227, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.icon-badge.orange { background: linear-gradient(135deg, rgba(255, 107, 0, 0.14), rgba(255, 176, 0, 0.08)); color: var(--orange); }
.card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 36px 32px 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(0, 159, 227, 0.25);
}
.card:hover::before { transform: scaleX(1); }
.card:hover .icon-badge { transform: scale(1.06); }
.service-card h3 { margin: 22px 0 10px; }
.service-card p { margin-bottom: 18px; }
.card .card-link {
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
}
.card .card-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.card:hover .card-link svg { transform: translateX(4px); }
.card h3 { margin: 22px 0 10px; }
.card > p:last-of-type { margin-bottom: 18px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.stat-row {
  display: flex;
  gap: 40px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.stat-row .stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--navy);
}
.stat-row .stat span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.about-visual {
  border-radius: 0;
  overflow: visible;
  aspect-ratio: auto;
  background: none;
  box-shadow: none;
  padding: 0;
  display: block;
}
.about-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  display: block;
}

/* 10. Delivery business components --------------------------- */
.db-cta {
  background: var(--navy-deep);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.db-cta::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,0.18) 0%, transparent 70%);
}
.db-cta-inner { position: relative; z-index: 1; max-width: 620px; }
.db-cta h2 { color: var(--white); }
.db-cta p { color: rgba(255, 255, 255, 0.75); }
.db-cta .price-tag {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.15rem;
  margin: 18px 0 20px;
}

.payout-highlight {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  color: var(--white);
  text-align: center;
}
.payout-highlight .payout-figure {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4rem);
  color: var(--gold);
  margin: 10px 0;
  letter-spacing: -0.01em;
}
.payout-highlight p { color: rgba(255,255,255,0.78); max-width: 620px; margin: 0 auto; }

.calc-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-soft);
}
.calc-row:last-of-type { border-bottom: none; }
.calc-row .calc-label { font-weight: 600; color: var(--text-dark); }
.calc-row .calc-value {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.15rem;
}
.disclaimer-box {
  background: var(--bg-soft);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin-top: 24px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  max-width: 520px;
}
.pricing-card .amount {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--navy-deep);
  margin: 6px 0 24px;
}
.pricing-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.pricing-split .split-item {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
}
.pricing-split .split-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy);
}
.pricing-split .split-item span { font-size: 0.82rem; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
}
.check-list li:last-child { border-bottom: none; }
.check-list .check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-list li p { margin: 0; color: var(--text-dark); font-weight: 500; }

.important-info {
  background: #FFF7ED;
  border: 1.5px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.important-info h2 { display: flex; align-items: center; gap: 12px; }
.important-info .warn-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.important-info ul { margin-top: 18px; }
.important-info li {
  padding: 10px 0 10px 26px;
  position: relative;
  color: var(--text-dark);
}
.important-info li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* 11. Forms --------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.contact-info-list { margin-top: 32px; display: flex; flex-direction: column; gap: 22px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item h4 { margin-bottom: 4px; }
.contact-info-item p { margin: 0; }

.form-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.form-row .required { color: var(--orange); }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border-soft);
  border-radius: 10px;
  background: var(--white);
  color: var(--text-dark);
  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(0, 159, 227, 0.15);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-row .error-msg {
  display: none;
  color: #D92D20;
  font-size: 0.82rem;
  margin-top: 6px;
}
.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea {
  border-color: #D92D20;
}
.form-row.has-error .error-msg { display: block; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.form-status {
  display: none;
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.94rem;
}
.form-status.show { display: block; }
.form-status.success { background: #ECFDF3; color: #027A48; border: 1px solid #ABEFC6; }
.form-status.error { background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; }

.form-submit-btn { position: relative; }
.form-submit-btn .spinner {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  animation: spin 0.7s linear infinite;
}
.form-submit-btn.is-loading .spinner { display: inline-block; }
.form-submit-btn.is-loading .btn-label { opacity: 0.8; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 12. Footer ---------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.72);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand img { height: 34px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,0.6); max-width: 320px; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.93rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* 13. Utilities and animation -------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.route-line {
  stroke-dasharray: 6 8;
  animation: dash 20s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -400; } }
@media (prefers-reduced-motion: reduce) {
  .route-line { animation: none; }
}
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.15s ease;
  z-index: 900;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--navy-deep); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 8px;
  z-index: 2000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* Legal page prose */
.legal-content h2 { margin: 40px 0 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 24px 0 10px; }
.legal-content p, .legal-content li { color: var(--text-secondary); margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; }
.legal-content li { list-style: disc; margin-left: 4px; }
.legal-content .updated-date { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 32px; }

/* 14. Responsive breakpoints ------------------------------------ */
@media (max-width: 1024px) {
  :root { --section-space: 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual-wrap { max-width: 520px; margin: 0 auto; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse .about-visual { order: -1; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .db-cta { padding: 48px; }
}
@media (max-width: 1260px) {
  .main-nav, .header-actions .btn, .nav-utility { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { padding: 18px 0; }
  .mobile-nav { top: 81px; }
}
@media (max-width: 640px) {
  :root { --section-space: 56px; }
  h1 { font-size: 2rem; }
  .lead { font-size: 0.98rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-stats-row { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .pricing-split { grid-template-columns: 1fr; }
  .db-cta { padding: 32px; border-radius: var(--radius-md); }
  .payout-highlight { padding: 32px; }
  .form-card, .calc-card { padding: 28px; }
  .important-info { padding: 28px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .stat-row { gap: 24px; }
}
