/*
 * tokens.css — Sweven Ship Unified Design Tokens
 * Source of truth for both dashboard and landing page.
 * Landing-page extensions at the bottom.
 *
 * RULE: If your value is not defined here, it is a bug.
 */
:root {

  /* ── Surfaces ── */
  --bg:         #fafafa;
  --surface:    #ffffff;
  --surface-2:  #f5f5f5;

  /* ── Text ── */
  --text:       #1a1a1a;
  --text-2:     #6b6b6b;
  --text-muted: #a0a0a0;

  /* ── Borders ── */
  --border:     #e5e5e5;
  --border-2:   #f0f0f0;

  /* ── Semantic ── */
  --danger:       #E50914;
  --danger-tint:  #fff0f0;
  --warning:      #F96302;
  --warning-tint: #fff4ee;
  --success:      #006241;
  --success-tint: #f0faf5;
  --info:         #3b82f6;
  --info-tint:    #eff6ff;

  /* ── Accent ── */
  --accent:       #b6f500;
  --accent-hover: #a3dc00;
  --accent-ink:   #1a1a1a;
  --accent-tint:  rgba(182,245,0,0.08);

  /* ── Typography ── */
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;

  /* ── Spacing (8px grid) ── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;

  /* ── Radius ── */
  --r-xs:    6px;
  --r-sm:    10px;
  --r-md:    14px;
  --r-lg:    20px;
  --r-pill:  999px;

  /* ── Shadows ── */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-xl:    0 16px 48px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-focus: 0 0 0 3px rgba(0,0,0,0.10);

  /* ── Motion curves ── */
  --spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --smooth:  cubic-bezier(0.16, 1, 0.30, 1);
  --data:    cubic-bezier(0.4, 0, 0.2, 1);
  --instant: cubic-bezier(0.0, 0, 0.2, 1);

  /* ── Motion durations ── */
  --dur-instant: 80ms;
  --dur-press:   100ms;
  --dur-fast:    150ms;
  --dur-base:    200ms;
  --dur-exit:    180ms;
  --dur-enter:   300ms;
  --dur-spring:  350ms;
  --dur-data:    600ms;

  /* ── Z-Index ── */
  --z-base:     0;
  --z-raised:   10;
  --z-dropdown: 100;
  --z-drawer:   200;
  --z-modal:    300;
  --z-toast:    400;
  --z-island:   500;

  /* ═══ Landing Page Extensions ═══ */
  --dark-surface: #111111;
  --dark: var(--dark-surface);
  --container: 1180px;
  --nav-h: 64px;

  /* ═══ Backward-Compat Aliases ═══ */
  /* Old names → design system names. Use new names in new code. */
  --black:       var(--text);
  --white:       var(--bg);
  --muted:       var(--text-2);
  --muted-light: var(--text-muted);
  --red:         var(--danger);
  --radius-sm:   var(--r-xs);
  --radius-md:   var(--r-sm);
  --radius-lg:   16px;         /* Landing: 16px. Dashboard: 20px. Review later. */
  --radius:      12px;         /* Legacy. Migrate to --r-md (14px). */
  --font:        'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@media (max-width: 768px) {
  :root { --nav-h: 56px; }
}
@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/Geist-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/Geist-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/Geist-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/Geist-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button, input { font-family: inherit; }
::selection { background: var(--accent); color: var(--black); }

/* ─── NAV ────────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: transparent;
  transition: background 0.25s, box-shadow 0.25s, backdrop-filter 0.25s;
}
#nav.scrolled {
  background: rgba(250, 250, 250, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
  overflow: visible;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--black);
  flex-shrink: 0;
}

/* ─── Nav links ──────────────────────────────────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-item {
  position: relative;
}
.nav-trigger,
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color 0.15s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.15s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.1s cubic-bezier(0.0, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
}
.nav-trigger:hover,
.nav-link:hover {
  color: var(--black);
  background: rgba(0, 0, 0, 0.04);
}
.nav-trigger svg.chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}
.nav-item.open .nav-trigger svg.chevron {
  transform: rotate(180deg);
}
.nav-trigger::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--black);
  transition: width 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 2px;
}
.nav-item.open .nav-trigger::after {
  width: calc(100% - 20px);
}

/* ─── Mega menu panel ────────────────────────────────────────── */
.mega-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 560px;
}
#mega-products {
  min-width: 640px;
  max-width: calc(100vw - 48px);
  left: 0;
  right: auto;
  transform: translateX(0) translateY(-8px);
}
#mega-solutions {
  min-width: 480px;
}
.nav-item.open .mega-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-item.open #mega-products {
  transform: translateX(0) translateY(0);
}

/* ─── Mega menu inner layout ─────────────────────────────────── */
.mega-inner {
  display: grid;
  gap: 24px;
}
#mega-products .mega-inner {
  grid-template-columns: 1fr 260px;
}
#mega-solutions .mega-inner {
  grid-template-columns: 1fr 1fr;
}
.mega-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted-light);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.mega-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mega-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  color: inherit;
}
.mega-item:hover {
  background: #f6f6f4;
  transform: translateX(3px);
}
.mega-item:active {
  transform: scale(0.98) translateX(2px);
  transition: transform 0.1s cubic-bezier(0.0, 0, 0.2, 1);
}
.mega-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #f4f4f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mega-item:hover .mega-icon {
  background: var(--black);
  transform: scale(1.12) rotate(-4deg);
}
.mega-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--black);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.15s;
}
.mega-item:hover .mega-icon svg {
  stroke: #fff;
}
.mega-item-copy { flex: 1; min-width: 0; }
.mega-item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
}
.mega-item-desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
  line-height: 1.4;
}

/* Services row (3-col small items) */
.mega-services-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted-light);
  text-transform: uppercase;
  margin-top: 16px;
  margin-bottom: 6px;
}
.mega-items-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.mega-item-sm {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.mega-item-sm:hover {
  background: #f6f6f4;
}
.mega-item-sm .mega-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  margin-bottom: 6px;
}
.mega-item-sm .mega-icon svg {
  width: 15px;
  height: 15px;
}
.mega-item-sm:hover .mega-icon {
  background: var(--accent);
}
.mega-item-sm .mega-item-title {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.mega-item-sm .mega-item-desc {
  font-size: 11px;
  white-space: nowrap;
}

/* Update panel */
.mega-update {
  background: #f5f5f3;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  height: fit-content;
}
.mega-update-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-hover);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.mega-update-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
  line-height: 1.4;
}
.mega-update-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 14px;
}
.mega-update-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s;
}
.mega-update-link:hover {
  color: var(--accent-hover);
}

/* ─── Nav actions (right side) ───────────────────────────────── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-social {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: color 0.15s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.15s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.1s cubic-bezier(0.0, 0, 0.2, 1);
}
.nav-social-icon:hover {
  color: var(--black);
  background: rgba(0, 0, 0, 0.04);
}
.nav-social-icon svg {
  width: 15px;
  height: 15px;
}
.nav-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
  margin: 0 6px;
}
.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: color 0.15s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.15s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.1s cubic-bezier(0.0, 0, 0.2, 1);
  white-space: nowrap;
}
.btn-nav:hover {
  color: var(--black);
  background: rgba(0, 0, 0, 0.04);
}
.btn-nav:active { transform: scale(0.96); }
.btn-nav-primary {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  background: var(--accent);
  border-radius: var(--radius-sm);
  transition: background 0.15s cubic-bezier(0.16,1,0.3,1),
              transform 0.1s cubic-bezier(0.0,0,0.2,1);
  white-space: nowrap;
}
.btn-nav-primary:hover {
  background: var(--accent-hover);
}
.btn-nav-primary:active { transform: scale(0.96); }

/* ─── Hamburger ──────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--black);
  border-radius: var(--radius-sm);
  margin-left: auto;
  align-items: center;
  justify-content: center;
}

/* ─── Mobile nav (full-screen slide) ────────────────────────── */
#nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 80px 24px 48px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
#nav-mobile.open {
  transform: translateX(0);
}
.mobile-section {
  margin-bottom: 2px;
}
.mobile-section-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--black);
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.mobile-section-trigger svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s;
}
.mobile-section.open .mobile-section-trigger svg {
  transform: rotate(180deg);
}
.mobile-section-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16,1,0.3,1);
}
.mobile-section.open .mobile-section-content {
  max-height: 500px;
}
.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  text-decoration: none;
}
.mobile-nav-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #f4f4f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mobile-nav-item-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--black);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-nav-link {
  display: block;
  padding: 14px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.mobile-nav-actions {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-nav-actions .btn-nav {
  justify-content: center;
  height: 46px;
  font-size: 15px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--black);
}
.mobile-nav-actions .btn-nav-primary {
  justify-content: center;
  height: 46px;
  font-size: 15px;
  border-radius: var(--radius-md);
}
.mobile-social {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}
.mobile-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --nav-h: 56px; }
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
}


/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 16px;
  padding-left: 24px;
  padding-right: 24px;
  text-align: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  white-space: nowrap;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; scale: 1; }
  50%       { opacity: 0.5; scale: 0.8; }
}

#hero-counter {
  font-weight: 600;
  color: var(--black);
}

.hero-h1 {
  font-size: clamp(32px, 7vw, 88px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--black);
  margin: 0 auto 20px;
  max-width: 820px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.55;
}

.hero-track-wrap {
  width: 520px;
  margin: 0 auto 12px;
  padding: 0 16px;
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hero-track-wrap.expanded {
  width: 640px;
}

.hero-track-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px 6px 6px 14px;
  transition: border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-track-bar:focus-within {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(26,26,26,0.08);
}

.hero-track-icon {
  color: var(--muted);
  display: flex;
  flex-shrink: 0;
}

.hero-track-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  font-family: 'Geist Mono', monospace;
  color: var(--black);
  outline: none;
  min-width: 0;
}

.hero-track-input::placeholder {
  font-family: 'Geist', sans-serif;
  color: var(--muted);
}

.hero-track-btn {
  height: 44px;
  padding: 0 20px;
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: calc(var(--radius-md) - 3px);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}

.hero-track-btn:hover { background: #222; }

.hero-track-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: left;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.3s cubic-bezier(0.16,1,0.3,1);
}

.hero-track-result.visible {
  max-height: 120px;
  opacity: 1;
}

.hero-result-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-result-awb {
  font-size: 13px;
  font-weight: 600;
  font-family: 'Geist Mono', monospace;
  color: var(--black);
  margin-bottom: 2px;
}

.hero-result-status {
  font-size: 12px;
  color: var(--muted);
}

.hero-track-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  margin-bottom: 8px;
}

#hero-awb-hint {
  font-family: 'Geist Mono', monospace;
  color: var(--black);
}

.hero-marquee-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.hero-marquee-label {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-marquee {
  overflow: hidden;
  flex: none;
  max-width: 560px;
  mask-image: linear-gradient(to right, black 70%, transparent);
  -webkit-mask-image: linear-gradient(to right, black 70%, transparent);
}

.hero-marquee-track {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.hero-marquee-wrap:hover .hero-marquee-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.courier-pill {
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .hero {
    padding-top: calc(var(--nav-h) + 48px);
    padding-bottom: 56px;
  }
  .hero-marquee-label { display: none; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: clamp(32px, 10vw, 56px); }
  .hero-track-bar { padding: 5px 5px 5px 12px; gap: 6px; }
  .hero-track-btn { height: 40px; padding: 0 14px; font-size: 13px; }
  .hero-track-wrap { width: 100%; padding: 0 16px; }
  .hero-track-wrap.expanded { width: 100%; }
}




/* -- Hero responsive (moved from dashboard-bento) -- */
@media (max-width: 600px) {
  .hero-track-wrap { width: calc(100% - 48px); padding: 0; margin: 0 auto 12px; }
  .hero-track-wrap.expanded { width: calc(100% - 16px); }
  .db-navbar-kbd { display: none; }
}

@media (max-width: 600px) {
  .hero-track-bar:active {
    transform: scale(0.98);
    transition: transform 100ms cubic-bezier(0.0, 0, 0.2, 1);
  }
  .hero-track-btn:active {
    transform: scale(0.94);
    transition: transform 100ms cubic-bezier(0.0, 0, 0.2, 1);
  }
}

@media (max-width: 600px) {
  .hero-track-hint {
    margin-top: 12px;
    margin-bottom: 24px;
  }
}


/* -- Responsive (moved from misc) -- */
/* ─── Base ───────────────────────────────────────────────────── */
body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--black);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

#dot-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

section, footer { position: relative; z-index: 1; }

/* ─── HOW IT WORKS ───────────────────────────────────────── */
.hiw {
  padding: 96px 0;
}
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
}
.hiw-step {
  background: var(--surface);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.hiw-num {
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  color: var(--bg);
  position: absolute;
  top: -12px;
  right: 16px;
  user-select: none;
  letter-spacing: -0.05em;
}
.hiw-icon {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.hiw-step-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text);
}
.hiw-step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── FEATURES ───────────────────────────────────────────── */
.features {
  padding: 0 0 96px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 36px 32px;
}
.feature-icon {
  width: 36px; height: 36px;
  margin-bottom: 20px;
  color: var(--text);
}
.feature-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── CTA BAND ───────────────────────────────────────────── */
.cta-band {
  background: var(--dark);
  padding: 96px 0;
  text-align: center;
}
.cta-band .container {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.34,1.56,0.64,1);
}
.cta-band.visible .container {
  opacity: 1;
  transform: translateY(0);
}
.cta-band .hero-h1 { color: var(--white); }
.cta-band .hero-sub { color: rgba(255,255,255,0.55); }
.cta-band .hero-input {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.cta-band .hero-input::placeholder { color: rgba(255,255,255,0.4); }
.cta-band .hero-input:focus { border-color: rgba(255,255,255,0.35); }
.cta-band .btn-primary { background: var(--accent); color: var(--dark); }
.cta-band .btn-primary:hover { background: var(--accent-hover); }
.cta-band .hero-wa { color: rgba(255,255,255,0.45); }
.cta-band .hero-wa a {
  color: rgba(255,255,255,0.85);
  text-decoration-color: rgba(255,255,255,0.25);
}
/* ── DASHBOARD SECTION ────────────────────────────────────────── */
.dashboard-section {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin: 0 auto 32px;
  width: 100%;
  display: block;
}

.section-label {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 16px;
}

.section-title {
  display: block;
  text-align: center;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--black);
  max-width: 600px;
  margin: 0 auto;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .section-title { white-space: normal; font-size: clamp(24px, 6vw, 36px); }
}

/* Frame */
.db-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  background: var(--surface);
  max-width: 1100px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.5s cubic-bezier(0.16,1,0.3,1);
}
.db-frame.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow: 0 16px 64px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
}

/* Browser topbar */
.db-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  height: 48px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.db-navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
  flex-shrink: 0;
  width: 200px;
}
.db-navbar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 320px;
  margin: 0 auto;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 12px;
  color: var(--muted-light);
  cursor: text;
  transition: border-color 0.2s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.3s cubic-bezier(0.34,1.56,0.64,1),
              width 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.db-navbar-search:hover {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(26,26,26,0.06);
}
.db-navbar-search.expanded {
  width: 480px;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(26,26,26,0.06);
}
.db-navbar-search span { flex: 1; }
.db-navbar-kbd {
  flex: 0 !important;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted-light);
  background: var(--surface-2, #f5f5f3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: inherit;
}
.db-navbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.db-navbar-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: background 0.15s cubic-bezier(0.16,1,0.3,1),
              color 0.15s cubic-bezier(0.16,1,0.3,1),
              transform 0.1s cubic-bezier(0.0,0,0.2,1);
}
.db-navbar-icon-btn:hover {
  background: var(--surface-2, #f5f5f3);
  color: var(--black);
}
.db-navbar-icon-btn:active { transform: scale(0.92); }
.db-navbar-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.db-navbar-avatar:hover { transform: scale(1.08); }

/* Inner layout */
.db-inner {
  display: grid;
  grid-template-columns: 200px 1fr 260px;
  height: 480px;
}

/* Sidebar */
.db-sidebar {
  background: #f5f5f3;
  border-right: 1px solid var(--border);
  padding: 12px 0;
  overflow: hidden;
}
.db-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
}
.db-sidebar-search {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 10px 12px;
  padding: 6px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 11px;
  color: var(--muted-light);
}
.db-sidebar-section {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted-light);
  padding: 0 14px 6px;
  text-transform: uppercase;
}
.db-nav { display: flex; flex-direction: column; }
.db-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s cubic-bezier(0.16,1,0.3,1),
              color 0.15s cubic-bezier(0.16,1,0.3,1),
              transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  text-decoration: none;
  opacity: 0;
  transform: translateX(-8px);
}
.db-nav-item.db-item-visible {
  opacity: 1;
  transform: translateX(0);
}
.db-nav-item:hover {
  background: rgba(0,0,0,0.04);
  color: var(--black);
  transform: translateX(3px);
}
.db-nav-active {
  color: var(--black) !important;
  font-weight: 500;
}
.db-nav-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--black);
  border-radius: 0 2px 2px 0;
}
.db-nav-badge {
  margin-left: auto;
  background: var(--red);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 999px;
  line-height: 1.4;
}
.db-nav-ai { color: var(--black) !important; }

/* Main content */
.db-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
}
.db-main-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.db-topbar-left {
  flex-shrink: 0;
}
.db-main-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
}
.db-main-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.db-search-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #f5f5f3;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 11px;
  color: var(--muted-light);
  width: 180px;
}
.db-btn-primary {
  padding: 5px 12px;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s cubic-bezier(0.16,1,0.3,1),
              transform 0.1s cubic-bezier(0.0,0,0.2,1);
}
.db-btn-primary:active { transform: scale(0.96); }

/* KPI strip */
.db-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.db-kpi {
  padding: 14px 20px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.db-kpi:last-child { border-right: none; }
.db-kpi-val {
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.db-kpi-alert { color: var(--red) !important; }
.db-kpi-label {
  font-size: 11px;
  color: var(--muted);
}

/* Table */
.db-table {
  flex: 1;
  overflow: hidden;
}
.db-table-head {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 1fr 1.2fr 0.8fr;
  padding: 8px 20px;
  border-bottom: 1px solid var(--border);
  background: #fafaf8;
}
.db-table-head span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.db-table-row {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 1fr 1.2fr 0.8fr;
  padding: 0 20px;
  height: 40px;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: background 0.15s cubic-bezier(0.16,1,0.3,1),
              opacity 0.3s cubic-bezier(0.16,1,0.3,1),
              transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  opacity: 0;
  transform: translateX(-8px);
}
.db-table-row.db-item-visible {
  opacity: 1;
  transform: translateX(0);
}
.db-table-row:hover { background: #f9f9f7; }
.db-table-row span {
  font-size: 12px;
  color: var(--black);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.db-mono {
  font-family: 'Geist Mono', monospace !important;
  font-size: 11px !important;
  color: var(--muted) !important;
}
.db-status {
  display: flex !important;
  align-items: center;
  gap: 6px;
}
.db-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}
.db-cod {
  font-size: 10px !important;
  color: var(--muted) !important;
  background: #f4f4f2;
  padding: 1px 5px;
  border-radius: 4px;
  font-family: inherit !important;
}

/* AI Drawer */
.db-ai-drawer {
  border-left: 1px solid var(--border);
  background: #111111;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) 0;
  margin: 8px 8px 8px 0;
  border-radius: var(--radius-md);
}
.db-ai-header {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.db-ai-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #e8e8e4;
  letter-spacing: -0.01em;
}
.db-ai-body {
  flex: 1;
  padding: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.db-ai-text {
  font-size: 12px;
  color: rgba(232,232,228,0.85);
  line-height: 1.65;
  flex: 1;
  min-height: 100px;
}
#db-ai-text { min-height: 100px; }
.db-ai-refs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.db-ai-ref {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: rgba(182,245,0,0.7);
  background: rgba(182,245,0,0.08);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(182,245,0,0.15);
}
.db-ai-thinking {
  display: none;
  gap: 4px;
  align-items: center;
}
.db-ai-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(182,245,0,0.5);
  animation: ai-pulse 1.2s ease-in-out infinite;
}
.db-ai-dot:nth-child(2) { animation-delay: 0.2s; }
.db-ai-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes ai-pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1); }
}
.db-ai-input {
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.db-ai-input input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 11px;
  color: rgba(232,232,228,0.7);
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
}
.db-ai-input input::placeholder { color: rgba(232,232,228,0.3); }

/* Below mockup pills */
.db-pills {
  display: flex;
  justify-content: center;
  margin-top: 24px;
  overflow: hidden;
}
.db-pills-track {
  display: flex;
  gap: 12px;
  animation: pillScroll 12s linear infinite;
}
.db-pills-track:hover { animation-play-state: paused; }
@keyframes pillScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.db-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.db-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Dashboard responsive */
/* Mobile AI block — hidden by default, shown on mobile */
.db-mobile-ai {
  display: none !important;
}
.db-mobile-ai-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #e8e8e4;
  margin-bottom: 8px;
}
.db-mobile-ai-text {
  font-size: 12px;
  color: #a0a09a;
  line-height: 1.5;
  margin-bottom: 10px;
  min-height: 36px;
}
.db-mobile-ai-dots {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}
.db-mobile-ai-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #444;
}
.db-mobile-ai-refs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.db-mobile-ai-ref {
  font-size: 10px;
  font-family: 'Geist Mono', monospace;
  color: #b6f500;
  background: rgba(182,245,0,0.08);
  border: 1px solid rgba(182,245,0,0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  /* zoom handles scaling — no internal layout changes */
}
@media (max-width: 600px) {
  /* zoom handles scaling — no internal layout changes */
  .db-frame { border-radius: 12px; }
  .db-table-head span:nth-child(5),
  .db-table-row span:nth-child(5) { display: none; }
  .db-table-row { height: 36px; }
  .db-table-row span { font-size: 11px; }
  .db-mobile-ai { display: block; }
  .db-topbar { padding: 8px 12px; }
  .db-url { font-size: 10px; padding: 2px 10px; }
  .db-main-topbar { padding: 10px 14px; }
  .db-main-title { font-size: 13px; }
  .db-main-subtitle { font-size: 11px; }
  .db-btn-primary { padding: 5px 10px; font-size: 11px; }
  .db-search-pill { width: 120px; white-space: nowrap; overflow: hidden; }
  .db-kpi-strip { grid-template-columns: repeat(4, 1fr); }
  .db-kpi { padding: 10px 10px; }
  .db-kpi-val { font-size: 16px; }
  .db-kpi-label { font-size: 10px; }
}

/* ═══════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════ */
/* iOS Safari only — zoom does not work, use transform instead */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 767px) {
    .db-frame-outer {
      width: 100%;
      overflow: hidden;
      height: 300px;
    }
    .db-frame {
      zoom: 1 !important;
      width: 800px !important;
      max-width: 800px !important;
      transform-origin: top center !important;
      transform: scale(0.44) !important;
      margin-left: calc(50% - 400px) !important;
    }
    .db-frame.visible {
      transform: scale(0.44) !important;
    }
  }
}
/* ── Dashboard Mockup Bento Grid ─────────────────────────────── */
.db-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  flex: 1;
  overflow: hidden;
  background: var(--surface);
}
.db-bento-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.35s cubic-bezier(0.16,1,0.3,1),
              transform 0.4s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.2s cubic-bezier(0.16,1,0.3,1);
}
.db-bento-cell.db-item-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.db-bento-cell:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-2px) scale(1);
}
.db-bento-welcome   { grid-column: 1; grid-row: 1; }
.db-bento-wallet    { grid-column: 2; grid-row: 1; }
.db-bento-ai        { grid-column: 1; grid-row: 2; }
.db-bento-stats     { grid-column: 2; grid-row: 2; }
.db-bento-attention { grid-column: 1; grid-row: 3; }
.db-bento-shipments { grid-column: 2; grid-row: 3; }
.db-bento-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a0a0a0;
  margin-bottom: 6px;
}
.db-bento-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
.db-bento-num {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.db-bento-progress-track {
  height: 3px;
  background: #f0f0f0;
  border-radius: 999px;
  overflow: hidden;
}
.db-bento-progress-fill {
  height: 100%;
  background: var(--black);
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.16,1,0.3,1);
}
.db-bento-btn {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--black);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s cubic-bezier(0.16,1,0.3,1),
              transform 0.1s cubic-bezier(0.0,0,0.2,1);
}
.db-bento-btn:hover { background: #f5f5f3; }
.db-bento-btn:active { transform: scale(0.94); }
.db-bento-btn-danger {
  border-color: rgba(229,9,20,0.2);
  color: #E50914;
  background: #fff0f0;
}
.db-bento-btn-danger:hover { background: #ffe0e0; }
.db-bento-action-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  background: #fafafa;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.db-bento-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  padding: 5px 0;
  border-bottom: 1px solid #f5f5f5;
  align-items: center;
}
.db-bento-row:last-child { border-bottom: none; }

/* Dashboard mockup — scale down on smaller screens (Safari-safe) */
@media (max-width: 1300px) {
  .db-frame { zoom: 0.9; -webkit-transform: scale(0.9); -webkit-transform-origin: top center; }
}
@media (max-width: 1100px) {
  .db-frame { zoom: 0.75; -webkit-transform: scale(0.75); -webkit-transform-origin: top center; }
}
@media (max-width: 900px) {
  .db-frame { zoom: 0.6; -webkit-transform: scale(0.6); -webkit-transform-origin: top center; }
}
@media (max-width: 700px) {
  .db-frame { zoom: 0.48; -webkit-transform: scale(0.48); -webkit-transform-origin: top center; }
}
@media (max-width: 500px) {
  .db-frame { zoom: 0.36; -webkit-transform: scale(0.36); -webkit-transform-origin: top center; }
}
@media (max-width: 400px) {
  .db-frame { zoom: 0.3; -webkit-transform: scale(0.3); -webkit-transform-origin: top center; }
}

/* iOS Safari: override zoom with transform for mobile only */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 767px) {
    .db-frame-outer {
      overflow-x: hidden;
      overflow-y: hidden;
      height: 300px;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }
    .db-frame-outer::-webkit-scrollbar { display: none; }
    .db-frame,
    .db-frame.visible {
      zoom: 1 !important;
      width: 910px !important;
      max-width: 910px !important;
      transform: scale(0.36) !important;
      transform-origin: top left !important;
      margin-left: 0 !important;
      opacity: 1 !important;
      transition: none !important;
    }
    .db-mobile-ai { display: none !important; }

  }
}
/* LEGACY SECTION STYLES — rebuilt section by section            */
/* ═══════════════════════════════════════════════════════════════ */

/* ─── CTA BAND DEPENDENCIES ──────────────────────────────── */
.hero-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.hero-input {
  height: 48px;
  width: 280px;
  padding: 0 16px;
  font-size: 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}
.hero-input::placeholder { color: var(--muted); }
.hero-input:focus { border-color: #aaa; }
.btn-primary {
  height: 48px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 600;
  background: var(--text);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s cubic-bezier(0.16,1,0.3,1),
              transform 0.1s cubic-bezier(0.0,0,0.2,1);
  white-space: nowrap;
}
.btn-primary:hover { background: #222; }
.btn-primary:active { transform: scale(0.97); }
.hero-wa {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero-wa a {
  color: var(--text);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}
.hero-wa a:hover { text-decoration-color: var(--text); }

/* ─── STATS BAR ──────────────────────────────────────────── */
.stats-bar {
  padding: 0 0 48px;
  position: relative;
  z-index: 1;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s cubic-bezier(0.34,1.56,0.64,1), transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  cursor: default;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(182,245,0,0.06) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16,1,0.3,1);
}

.stat-card:hover {
  border-color: rgba(182,245,0,0.4);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card-top {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 20px;
}

.stat-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #006241;
  flex-shrink: 0;
  position: relative;
}
.stat-live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(22,163,74,0.3);
  animation: live-ring 2s cubic-bezier(0.16,1,0.3,1) infinite;
}
@keyframes live-ring {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}

.stat-live-label {
  font-size: 11px;
  font-weight: 500;
  color: #006241;
  letter-spacing: 0.02em;
}

.stat-badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  background: #f4f4f2;
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.stat-badge-accent {
  color: #7a9a00;
  background: rgba(182,245,0,0.1);
  border-color: rgba(182,245,0,0.3);
}

.stat-val {
  font-size: 40px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 16px;
  }
  .stat-val { font-size: 28px; }
  .stat-card { padding: 16px; }
  .stats-bar { padding: 32px 0; }
}

/* ── SERVICES BENTO ──────────────────────────────────────── */
.services-section {
  padding: 96px 0;
  position: relative;
  z-index: 1;
}

.services-section .section-title {
  white-space: nowrap;
}
@media (max-width: 768px) {
  .services-section .section-title { white-space: normal; }
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 12px;
  max-width: var(--container);
  margin: 0 auto;
}

/* Explicit tile placement */
#bento-courier  { grid-column: 1 / 3; grid-row: 1 / 3; }
#bento-sameday  { grid-column: 3 / 4; grid-row: 1 / 2; }
#bento-ai       { grid-column: 4 / 5; grid-row: 1 / 3; }
#bento-cod      { grid-column: 3 / 4; grid-row: 2 / 3; }
#bento-ndr      { grid-column: 1 / 2; grid-row: 3 / 4; }
#bento-tracking { grid-column: 2 / 3; grid-row: 3 / 4; }
#bento-wallet   { grid-column: 3 / 4; grid-row: 3 / 4; }
#bento-bulk     { grid-column: 4 / 5; grid-row: 3 / 4; }
#bento-analytics{ grid-column: 1 / 2; grid-row: 4 / 5; }
#bento-support  { grid-column: 2 / 5; grid-row: 4 / 5; }

/* Wide layout for support tile */
#bento-support {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
#bento-support .bento-support-live {
  margin-top: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
#bento-support .bento-desc {
  max-width: 400px;
}

.bento-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: border-color 0.2s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.3s cubic-bezier(0.34,1.56,0.64,1),
              transform 0.5s cubic-bezier(0.34,1.56,0.64,1),
              opacity 0.4s cubic-bezier(0.16,1,0.3,1);
}
.bento-tile.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.bento-tile:hover {
  border-color: rgba(0,0,0,0.15);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.bento-large, .bento-medium, .bento-small {
  grid-column: unset;
  grid-row: unset;
}

.bento-dark {
  background: var(--dark-surface);
  border-color: #2a2a2a;
}
.bento-dark:hover {
  border-color: rgba(182,245,0,0.3);
  box-shadow: 0 4px 24px rgba(182,245,0,0.08);
}

.bento-tile-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bento-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f4f4f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bento-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--black);
}
.bento-icon-dark { background: rgba(255,255,255,0.08); }

.bento-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  background: #f4f4f2;
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.bento-tag-accent {
  color: #6a8a00;
  background: rgba(182,245,0,0.12);
  border-color: rgba(182,245,0,0.3);
}
.bento-tag-dark {
  color: rgba(182,245,0,0.8);
  background: rgba(182,245,0,0.1);
  border-color: rgba(182,245,0,0.2);
}

.bento-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.bento-title-light { color: #f0f0ec; }
.bento-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}
.bento-desc-light { color: rgba(255,255,255,0.45); }

/* Tile 1: Rate rows */
.bento-live {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bento-rate-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fafafa;
  border: 1px solid var(--border);
  font-size: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s cubic-bezier(0.16,1,0.3,1), transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.bento-rate-row.show {
  opacity: 1;
  transform: translateY(0);
}
.bento-rate-best {
  background: rgba(182,245,0,0.08);
  border-color: rgba(182,245,0,0.3);
}
.bento-rate-courier { flex: 1; font-weight: 500; color: var(--black); }
.bento-rate-days    { color: var(--muted); font-size: 11px; }
.bento-rate-price   { font-weight: 600; color: var(--black); }
.bento-rate-badge {
  font-size: 10px;
  font-weight: 600;
  background: var(--accent);
  color: var(--black);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Tile 2: Same-day */
.bento-sameday-live {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.bento-pulse-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(182,245,0,0.15);
  border: 2px solid var(--accent);
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bento-pulse-ring::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}
.bento-pulse-ring::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: sameday-pulse 2s cubic-bezier(0.16,1,0.3,1) infinite;
}
@keyframes sameday-pulse {
  0%   { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}
.bento-sameday-num {
  font-size: 28px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.03em;
  display: block;
}
.bento-sameday-label {
  font-size: 11px;
  color: var(--muted);
  display: block;
}

/* Tile 3: AI */
.bento-ai-live { margin-top: auto; }
.bento-ai-suggestion {
  font-size: 12px;
  color: rgba(240,240,236,0.85);
  line-height: 1.6;
  min-height: 48px;
}
.bento-ai-dots {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}
.bento-ai-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(182,245,0,0.5);
  animation: ai-pulse 1.2s ease-in-out infinite;
}
.bento-ai-dots span:nth-child(2) { animation-delay: 0.2s; }
.bento-ai-dots span:nth-child(3) { animation-delay: 0.4s; }

/* Tile 4: COD */
.bento-cod-live { margin-top: auto; }
.bento-cod-val {
  font-size: 22px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.03em;
  display: block;
}
.bento-cod-sub {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.bento-cod-bar {
  height: 4px;
  background: #f0f0ec;
  border-radius: 2px;
  overflow: hidden;
}
.bento-cod-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 1.5s cubic-bezier(0.16,1,0.3,1);
}

/* Tile 5: NDR */
.bento-ndr-live {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bento-ndr-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--black);
  font-weight: 500;
}
.bento-ndr-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.bento-ndr-arrow {
  font-size: 12px;
  color: var(--muted);
  padding-left: 12px;
}
.bento-ndr-action {
  font-size: 12px;
  color: #006241;
  font-weight: 500;
  padding-left: 12px;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1);
}
.bento-ndr-action.show { opacity: 1; }

/* Tile 6: Branded Tracking */
.bento-tracking-live { margin-top: auto; }
.bento-tracking-bar {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bento-tracking-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted-light);
}
.bento-tracking-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e8e8e4;
  flex-shrink: 0;
}
.bento-tracking-done .bento-tracking-dot { background: var(--success); }
.bento-tracking-done { color: var(--muted); }
.bento-tracking-active .bento-tracking-dot {
  background: var(--accent);
  animation: live-ring 2s cubic-bezier(0.16,1,0.3,1) infinite;
}
.bento-tracking-active { color: var(--black); font-weight: 500; }

/* Tile 7: Wallet */
.bento-wallet-live { margin-top: auto; }
.bento-wallet-val {
  font-size: 22px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.03em;
  display: block;
}
.bento-wallet-sub {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.bento-wallet-notif {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  color: #006241;
  background: rgba(22,163,74,0.08);
  border: 1px solid rgba(22,163,74,0.2);
  padding: 4px 10px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s cubic-bezier(0.16,1,0.3,1), transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
}
.bento-wallet-notif.show {
  opacity: 1;
  transform: translateY(0);
}

/* Tile 8: Bulk */
.bento-bulk-live { margin-top: auto; }
.bento-bulk-bar-wrap {
  height: 4px;
  background: #f0f0ec;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}
.bento-bulk-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 2s cubic-bezier(0.16,1,0.3,1);
}
.bento-bulk-label {
  font-size: 11px;
  color: var(--muted);
}

/* Tile 9: Analytics bar chart */
.bento-analytics-live { margin-top: auto; }
.bento-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 56px;
}
.bento-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
}
.bento-bar::before {
  content: '';
  width: 100%;
  height: 0%;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
  transition: height 1s cubic-bezier(0.16,1,0.3,1);
  opacity: 0.7;
}
.bento-bar.grow::before { height: var(--h); }
.bento-bar span {
  font-size: 9px;
  color: var(--muted-light);
}

/* Tile 10: Support */
.bento-support-live {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bento-support-val {
  font-size: 22px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.02em;
  display: block;
}
.bento-support-sub {
  font-size: 11px;
  color: var(--muted);
  display: block;
}
.bento-support-typing {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bento-support-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bento-typing-dots {
  display: flex;
  gap: 3px;
  background: #f4f4f2;
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 12px;
}
.bento-typing-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.bento-typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.bento-typing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%       { transform: translateY(-3px); opacity: 1; }
}

/* Bento responsive */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  #bento-courier  { grid-column: 1 / 3; grid-row: auto; }
  #bento-sameday  { grid-column: 1 / 2; grid-row: auto; }
  #bento-ai       { grid-column: 2 / 3; grid-row: auto; }
  #bento-cod      { grid-column: 1 / 2; grid-row: auto; }
  #bento-ndr      { grid-column: 2 / 3; grid-row: auto; }
  #bento-tracking { grid-column: 1 / 2; grid-row: auto; }
  #bento-wallet   { grid-column: 2 / 3; grid-row: auto; }
  #bento-bulk     { grid-column: 1 / 2; grid-row: auto; }
  #bento-analytics{ grid-column: 2 / 3; grid-row: auto; }
  #bento-support  { grid-column: 1 / 3; grid-row: auto; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .bento-grid { grid-template-columns: 1fr; gap: 10px; }
  #bento-courier, #bento-sameday, #bento-ai,
  #bento-cod, #bento-ndr, #bento-tracking,
  #bento-wallet, #bento-bulk, #bento-analytics,
  #bento-support { grid-column: 1 / 2; grid-row: auto; }
  .services-section { padding: 64px 0; }
}

/* ── RATE CALCULATOR ── */
.calc-section {
  padding: 96px 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
}

.section-sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.6;
}

.calc-wrap {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* Main input row */
.calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
  background: var(--surface);
  border: none;
  border-radius: 0;
  padding: 20px 24px;
  box-shadow: none;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.calc-input {
  height: 40px;
  padding: 0 12px;
  background: #fafaf8;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--black);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.calc-input:focus {
  border-color: var(--black);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}
.calc-input-sm { height: 36px; }

.calc-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  height: 40px;
  margin-top: 22px;
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  font-family: inherit;
}
.calc-btn:hover { background: #2a2a2a; }
.calc-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}
.calc-btn.loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

/* Expandable sections */
.calc-expand-wrap {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.calc-expand-wrap:last-of-type {
  margin-bottom: 0;
}

.calc-expand-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: color 0.15s;
}
.calc-expand-btn:hover { color: var(--black); }
.calc-expand-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}
.calc-expand-btn.open svg { transform: rotate(180deg); }

.calc-expand-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16,1,0.3,1);
  padding: 0 16px;
}
.calc-expand-content.open {
  max-height: 400px;
  padding: 0 16px 16px;
}

.calc-dim-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

/* Weight display chips */
.calc-weight-display {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.calc-weight-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #f4f4f2;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
}
.calc-weight-chip-accent {
  background: rgba(182,245,0,0.1);
  border-color: rgba(182,245,0,0.4);
}
.calc-weight-chip-label {
  color: var(--muted);
  font-size: 11px;
}
.calc-weight-chip-val {
  font-weight: 600;
  color: var(--black);
  font-variant-numeric: tabular-nums;
}
.calc-weight-divider {
  font-size: 12px;
  color: var(--muted-light);
}
.calc-weight-note {
  font-size: 11px;
  color: var(--muted-light);
  width: 100%;
  margin-top: 4px;
}

/* Payment toggle */
.calc-pay-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.calc-pay-toggle {
  display: flex;
  background: #f4f4f2;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 2px;
}
.calc-pay-btn {
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
.calc-pay-active {
  background: var(--surface) !important;
  color: var(--black) !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Results */
.calc-results {
  display: none;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
}
.calc-results.visible { display: flex; }

/* Skeleton */
.calc-skeleton {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
}
.calc-skeleton-row {
  height: 48px;
  background: linear-gradient(
    90deg,
    #f0f0ec 0%,
    #e8e8e4 40%,
    #f0f0ec 80%
  );
  background-size: 200% 100%;
  border-radius: var(--radius-sm);
  animation: shimmer 1.2s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* AI bar */
.calc-ai-bar {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(182,245,0,0.07);
  border: 1px solid rgba(182,245,0,0.25);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 8px;
}
.calc-ai-bar.visible { display: flex; }

/* Table */
.calc-table { display: none; }
.calc-table.visible { display: block; }

.calc-table-head {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 0.8fr 0.6fr 80px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
}
.calc-table-head span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.calc-row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 0.8fr 0.6fr 80px;
  padding: 0 16px;
  height: 52px;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s cubic-bezier(0.16,1,0.3,1), transform 0.25s cubic-bezier(0.34,1.56,0.64,1), background 0.15s cubic-bezier(0.16,1,0.3,1);
  position: relative;
}
.calc-row:hover { background: #f9f9f7; }
.calc-row.show {
  opacity: 1;
  transform: translateY(0);
}
.calc-row.calc-row-best {
  background: rgba(182,245,0,0.05);
  border-left: 3px solid var(--accent);
}
.calc-row.calc-row-best:hover {
  background: rgba(182,245,0,0.08);
}

.calc-row span {
  font-size: 13px;
  color: var(--black);
}
.calc-row-courier { font-weight: 500; }
.calc-row-mode {
  font-size: 11px !important;
  color: var(--muted) !important;
  background: #f4f4f2;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}
.calc-row-days { color: var(--muted) !important; font-size: 12px !important; }
.calc-row-weight {
  font-family: 'Geist Mono', monospace;
  font-size: 11px !important;
  color: var(--muted) !important;
}
.calc-row-rate { font-weight: 600; }

.calc-book-btn {
  padding: 6px 14px;
  background: var(--accent);
  color: var(--black);
  font-size: 11px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  opacity: 0;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.calc-row:hover .calc-book-btn { opacity: 1; }

/* Mobile */
@media (max-width: 768px) {
  .calc-inputs {
    grid-template-columns: 1fr 1fr;
  }
  .calc-btn { margin-top: 0; grid-column: span 2; width: 100%; justify-content: center; }
  .calc-table-head,
  .calc-row {
    grid-template-columns: 1.4fr 0.7fr 0.6fr 80px;
  }
  .calc-col-mode, .calc-col-weight,
  .calc-row-mode, .calc-row-weight { display: none; }
}

@media (max-width: 480px) {
  .calc-inputs { grid-template-columns: 1fr; }
  .calc-btn { grid-column: span 1; }
  .calc-section { padding: 64px 0; }
}

/* ── WHATSAPP SECTION ── */
.whatsapp-section {
  padding: 96px 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
}

.wa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Copy side */
.wa-copy .section-label { margin-bottom: 16px; }
.wa-copy .section-title {
  margin-bottom: 20px;
  text-align: left;
}
.wa-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 420px;
}
.wa-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.wa-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--black);
}
.wa-feat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.wa-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
  text-decoration: none;
}
.wa-cta-btn:hover { background: #2a2a2a; }

.wa-phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}
.wa-phone {
  width: 260px;
  height: 563px;
  background: #000;
  border-radius: 52px;
  position: relative;
  box-shadow:
    0 0 0 1px #111,
    0 0 0 3px #888,
    0 0 0 4px #555,
    0 0 0 5px #333,
    0 40px 80px rgba(0,0,0,0.45),
    0 12px 28px rgba(0,0,0,0.25),
    12px 0 40px rgba(0,0,0,0.15),
    inset 0 0 0 1px rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
/* Left Side: Action button + Volume buttons */
.wa-phone::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 94px;
  width: 5px;
  height: 16px;
  background: #4a4a4a;
  border-radius: 2px 0 0 2px;
  box-shadow: 
    0 38px 0 0 #4a4a4a, 
    0 82px 0 0 #4a4a4a;
}
/* Right Side: Power button */
.wa-phone::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 135px;
  width: 5px;
  height: 60px;
  background: #4a4a4a;
  border-radius: 0 2px 2px 0;
}
/* Dynamic Island — correct proportions */
.wa-phone-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 24px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
}
.wa-phone-screen {
  margin: 4px;
  border-radius: 49px;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ece5dd;
  min-height: 0;
}
.wa-phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 38px 12px 10px;
  background: #075e54;
  flex-shrink: 0;
}
.wa-phone-back {
  font-size: 22px;
  color: white;
  opacity: 0.9;
  line-height: 1;
}
.wa-phone-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #b6f500;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-phone-name {
  font-size: 14px;
  font-weight: 600;
  color: white;
  line-height: 1.2;
}
.wa-phone-status {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
}
.wa-phone-icons {
  margin-left: auto;
  font-size: 20px;
  color: white;
  opacity: 0.85;
}
.wa-phone-chat {
  flex: 1;
  padding: 10px 8px;
  background: #ece5dd;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
  scroll-behavior: smooth;
  min-height: 0;
}
.wa-phone-chat::-webkit-scrollbar { display: none; }
.wa-msg {
  max-width: 82%;
  padding: 6px 10px 4px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.45;
  word-break: break-word;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s cubic-bezier(0.16,1,0.3,1), transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
  flex-shrink: 0;
}
.wa-msg.show { opacity: 1; transform: translateY(0); }
.wa-msg-time {
  font-size: 9px;
  opacity: 0.55;
  text-align: right;
  margin-top: 2px;
  display: block;
}
.wa-msg-out {
  background: #dcf8c6;
  color: #1a1a1a;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}
.wa-msg-in {
  background: white;
  color: #1a1a1a;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.wa-rate-card {
  background: #f5f5f5;
  border-radius: 6px;
  padding: 6px 8px;
  margin-top: 5px;
}
.wa-rate-item {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding: 3px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.wa-rate-item:last-child { border-bottom: none; }
.wa-rate-name { font-weight: 500; color: #333; }
.wa-rate-price { font-weight: 600; color: #075e54; }
.wa-typing {
  background: white;
  border-radius: 10px;
  border-bottom-left-radius: 2px;
  padding: 10px 12px;
  align-self: flex-start;
  display: flex;
  gap: 4px;
  align-items: center;
  opacity: 0;
  transition: opacity 0.2s cubic-bezier(0.16,1,0.3,1);
  flex-shrink: 0;
}
.wa-typing.show { opacity: 1; }
.wa-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aaa;
  animation: typing-bounce 1.2s ease-in-out infinite;
  display: block;
}
.wa-typing span:nth-child(2) { animation-delay: 0.15s; }
.wa-typing span:nth-child(3) { animation-delay: 0.3s; }
.wa-phone-input {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #f0f0f0;
  flex-shrink: 0;
}
.wa-phone-input-field {
  flex: 1;
  background: white;
  border-radius: 22px;
  padding: 8px 14px;
  font-size: 11px;
  color: #aaa;
}
.wa-phone-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #075e54;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.wa-phone-send svg { width: 15px; height: 15px; }

/* Mobile */
@media (max-width: 900px) {
  .wa-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .wa-copy .section-title { text-align: center; }
  .wa-desc { margin: 0 auto 28px; }
  .wa-features { align-items: center; }
  .whatsapp-section { padding: 64px 0; }
}

/* ── CTA WhatsApp button ── */
.cta-wa-btn-wrap {
  margin-top: 16px;
  text-align: center;
}
.cta-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.cta-wa-btn:hover {
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.9);
}

/* ─── NAGPUR SAME-DAY REDESIGN ───────────────────────────── */
.nagpur-section {
  background: transparent;
  background: #f8f8f6 !important;
  padding: 96px 0 !important;
}
.ngp-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 64px;
  align-items: center;
}

/* Map card */
.ngp-card {
  background: #ffffff;
  border: 1px solid #e8e8e4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.ngp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0ec;
}
.ngp-header-left { display: flex; flex-direction: column; gap: 4px; }
.ngp-live-row { display: flex; align-items: center; gap: 6px; }
.ngp-live-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #22c55e;
}
.ngp-network-label { font-size: 14px; font-weight: 600; color: #1a1a1a; }
.ngp-mini-stats { display: flex; flex-direction: column; gap: 2px; align-items: flex-end; }
.ngp-mini-stat { font-size: 11px; color: #6b6b6b; }
.ngp-mini-val  { font-weight: 600; color: #1a1a1a; }

/* SVG map */
.ngp-map-svg { display: block; width: 100%; }

/* Route animations */
@keyframes routeDraw {
  from { stroke-dashoffset: var(--rl); }
  to   { stroke-dashoffset: 0; }
}
.ngp-route { stroke-dasharray: var(--rl); stroke-dashoffset: var(--rl); }
.ngp-ra { animation: routeDraw 2.4s ease-in-out 0s   infinite alternate; }
.ngp-rb { animation: routeDraw 3.1s ease-in-out 0.4s infinite alternate; }
.ngp-rc { animation: routeDraw 2.8s ease-in-out 0.8s infinite alternate; }
.ngp-rd { animation: routeDraw 3.4s ease-in-out 0.2s infinite alternate; }
.ngp-re { animation: routeDraw 2.6s ease-in-out 1.1s infinite alternate; }

/* Hub pulse */
@keyframes hubPulse {
  0%,100% { transform: scale(1);    opacity: 0.6; }
  50%     { transform: scale(1.35); opacity: 0.15; }
}
.ngp-hub-outer { transform-origin: 250px 150px; animation: hubPulse 2s ease-in-out infinite; }

/* Legend */
.ngp-legend {
  display: flex;
  gap: 16px;
  padding: 12px 16px;
  border-top: 1px solid #f0f0ec;
}
.ngp-legend-item { display: flex; align-items: center; gap: 6px; }
.ngp-leg-label   { font-size: 11px; color: #6b6b6b; }
.ngp-leg-hub {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: #b6f500; flex-shrink: 0;
}
.ngp-leg-rider {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: #1a1a1a;
  outline: 2px solid #b6f500; outline-offset: 1px; flex-shrink: 0;
}
.ngp-leg-route {
  display: inline-block; width: 16px; height: 2px;
  background: #b6f500; border-radius: 2px; flex-shrink: 0;
}

/* Right copy */
.ngp-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.ngp-heading {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}
.ngp-body {
  font-size: 15px;
  color: #6b6b6b;
  line-height: 1.7;
  margin-top: 20px;
}

/* Stats table */
.ngp-stats-table { margin-top: 32px; }
.ngp-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0ec;
}
.ngp-stat-last { border-bottom: none; }
.ngp-stat-label { font-size: 14px; color: #6b6b6b; }
.ngp-stat-val   { font-size: 14px; font-weight: 600; color: #1a1a1a; display: flex; align-items: center; gap: 4px; }

/* Live feed */
.ngp-feed {
  margin-top: 24px;
  background: #f8f8f6;
  border: 1px solid #e8e8e4;
  border-radius: 10px;
  padding: 16px 20px;
}
.ngp-feed-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.feed-event-text {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  flex: 1;
  transition: opacity 0.3s cubic-bezier(0.16,1,0.3,1);
}
.ngp-feed-time { font-size: 11px; color: #6b6b6b; }
.feed-event-loc { font-size: 12px; color: #6b6b6b; padding-left: 23px; }

/* CTA button */
.ngp-btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 24px;
  background: #1a1a1a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  border-radius: 100px;
  white-space: nowrap;
  text-decoration: none;
  margin-top: 28px;
  transition: background 0.2s cubic-bezier(0.16,1,0.3,1), transform 0.1s cubic-bezier(0.0,0,0.2,1);
}
.ngp-btn:hover { background: #333; }

@media (max-width: 900px) {
  .ngp-grid { grid-template-columns: 1fr; gap: 40px; }
  .ngp-card { width: 100%; }
}

/* ─── COMPARISON ─────────────────────────────────────────── */

/* ── Comparison ─────────────────────────────────────────── */
#comparison {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}
#comparison .section-label {
  text-align: center;
  font-size: 11px;
  color: var(--muted-light);
  letter-spacing: 0.1em;
}
.comparison-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--black);
  letter-spacing: -0.03em;
  text-align: center;
  margin-top: 12px;
  margin-bottom: 48px;
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.comparison-col {
  padding: 40px;
}
.comparison-col--light {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.comparison-col--dark {
  background: #1a1a1a;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.comparison-col-header {
  margin-bottom: 32px;
}
.comparison-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
.comparison-badge--muted {
  background: #f3f4f6;
  color: #6b7280;
}
.comparison-badge--accent {
  background: rgba(182,245,0,0.15);
  color: #b6f500;
}
.comparison-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.comparison-col--dark .comparison-item {
  border-bottom-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
}
.comparison-item:last-child {
  border-bottom: none;
}
.cmp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
}
.cmp-icon--no {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}
.cmp-icon--yes {
  background: rgba(182,245,0,0.12);
  border: 1px solid rgba(182,245,0,0.25);
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .comparison-col--light {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .comparison-col--dark {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  .comparison-col {
    padding: 28px 24px;
  }
}

/* ── RAMP TIMELINE ── */
.rtl-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 640px;
  margin: 0 auto 4px;
}
.rtl-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.rtl-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.rtl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), background 0.15s cubic-bezier(0.16,1,0.3,1);
}
.rtl-dot:hover { transform: scale(1.3); }
.rtl-dot-active {
  background: var(--black);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}
.rtl-dot-accent {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(182,245,0,0.3);
}
.rtl-line {
  flex: 1;
  height: 1px;
  background: #d1d5db;
  min-width: 100px;
  max-width: 180px;
}
.rtl-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.rtl-card {
  background: #f4f4f2;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 28px;
  cursor: pointer;
  transition: background 0.2s cubic-bezier(0.16,1,0.3,1), border-color 0.2s cubic-bezier(0.16,1,0.3,1), transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.rtl-card:hover { background: #efefed; }
.rtl-card-active {
  background: rgba(182,245,0,0.08) !important;
  border-color: rgba(182,245,0,0.4) !important;
}
.rtl-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 16px;
  line-height: 1.3;
}
.rtl-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rtl-list li {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
.rtl-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 11px;
  top: 1px;
}
@media (max-width: 768px) {
  .rtl-cards { grid-template-columns: 1fr; }
  .rtl-line { min-width: 60px; }
}

/* ─── SWEVEN INTELLIGENCE ────────────────────────────────── */
.si-section {
  padding: 96px 0;
  background: rgba(17,17,17,0.97);
  position: relative;
  z-index: 1;
  text-align: center;
}
.si-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1);
}
.si-mark.visible { opacity: 1; }
.si-line {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.16,1,0.3,1);
}
.si-mark.visible .si-line { stroke-dashoffset: 0; }
.si-dot {
  opacity: 0;
  transition: opacity 0.3s 0.5s cubic-bezier(0.16,1,0.3,1);
}
.si-mark.visible .si-dot { opacity: 1; }
.si-label { color: rgba(182,245,0,0.6); }
.si-title {
  color: #f0f0ec;
  margin: 16px auto 16px;
  max-width: 600px;
}
.si-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.4);
  max-width: 480px;
  margin: 0 auto 56px;
  line-height: 1.65;
}
.si-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  text-align: left;
}
.si-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.34,1.56,0.64,1), border-color 0.2s cubic-bezier(0.16,1,0.3,1);
}
.si-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.si-card:hover { border-color: rgba(182,245,0,0.2); }
.si-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(182,245,0,0.6);
}
.si-card-text {
  font-size: 13px;
  color: rgba(232,232,228,0.7);
  line-height: 1.65;
  min-height: 60px;
}
.si-card-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #2a2a2a;
}
.si-metric-val {
  font-size: 28px;
  font-weight: 600;
  color: #b6f500;
  letter-spacing: -0.03em;
}
.si-metric-label {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
@media (max-width: 768px) {
  .si-cards { grid-template-columns: 1fr; }
  .si-section { padding: 64px 0; }
}

/* ─── SWEVEN INTELLIGENCE REDESIGN ──────────────────────── */
.si-section {
  background: #0d0d0d !important;
  text-align: left !important;
}
.si-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.si-label-tag {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.si-heading {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 32px;
}
.si-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.si-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border-left: 2px solid #b6f500;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}
.si-pill-accent { color: #b6f500; font-weight: 600; }
.si-pill-alert  { color: #e50914; font-weight: 600; }
.si-pill-val    { color: #b6f500; font-weight: 600; }
.si-btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  background: #b6f500;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s cubic-bezier(0.16,1,0.3,1), transform 0.1s cubic-bezier(0.0,0,0.2,1);
}
.si-btn:hover { background: #a3dc00; }
.si-right {
  position: relative;
}
.si-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(182,245,0,0.04) 0%, transparent 60%);
  pointer-events: none;
  border-radius: 16px;
}
.si-card-new {
  background: #111111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.si-card-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.04);
  padding: 14px 20px;
}
.si-card-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.si-topbar-label { font-size: 13px; color: rgba(255,255,255,0.7); }
.si-topbar-time  { font-size: 11px; color: rgba(255,255,255,0.3); }
.si-courier-table { padding: 0 20px; }
.si-courier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 12px;
}
.si-courier-row-last { border-bottom: none; }
.si-courier-info { flex: 1; min-width: 0; }
.si-courier-name { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.9); }
.si-courier-route { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 2px; }
.si-courier-rel { font-size: 14px; font-weight: 600; color: #b6f500; flex-shrink: 0; }
.si-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}
.si-badge-live { background: rgba(182,245,0,0.12); color: #b6f500; }
.si-badge-alert { background: rgba(229,9,20,0.12); color: #e50914; }
.si-badge-opt { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.5); }
.si-alert-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(229,9,20,0.08);
  border-top: 1px solid rgba(229,9,20,0.15);
  border-left: 3px solid #e50914;
  padding: 14px 20px;
}
.si-alert-title { font-size: 13px; font-weight: 500; color: #e50914; }
.si-alert-route { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 2px; }
.si-alert-time  { font-size: 11px; color: rgba(255,255,255,0.3); }
@keyframes pulse-ring {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50%      { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-ring 2s cubic-bezier(0.16,1,0.3,1) infinite;
  flex-shrink: 0;
  display: inline-block;
}
@media (max-width: 900px) {
  .si-grid { grid-template-columns: 1fr; gap: 48px; }
}


/* ── FAQ TWO-COL ── */
.faq-section {
  padding: 96px 0;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.faq-two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-questions {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.faq-q {
  text-align: left;
  padding: 20px 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  font-family: inherit;
  line-height: 1.4;
  transition: color 0.15s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.15s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.1s cubic-bezier(0.0, 0, 0.2, 1);
  position: relative;
}
.faq-q:last-child { border-bottom: none; }
.faq-q:hover { color: var(--black); background: #f9f9f7; }
.faq-q:active { transform: scale(0.99); }
.faq-q-active {
  color: var(--black) !important;
  background: #f9f9f7 !important;
  font-weight: 600;
}
.faq-q-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--black);
  border-radius: 0 2px 2px 0;
}
.faq-answers {
  background: var(--surface);
  position: relative;
  display: flex;
  align-items: flex-start;
}
.faq-a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 32px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16,1,0.3,1),
              transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.faq-a-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}
.faq-mobile-answer {
  display: none;
}
.faq-a-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  line-height: 1.3;
}
.faq-a-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .faq-two-col {
    grid-template-columns: 1fr;
  }
  .faq-questions { border-right: none; border-bottom: 1px solid var(--border); }
  .faq-section { padding: 64px 0; }
}

/* ── FOOTER ── */
.site-footer {
  background: #111111;
  padding: 56px 0 0;
  border-top: 1px solid #2a2a2a;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin-bottom: 14px;
}
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin-bottom: 8px;
  max-width: 240px;
}
.footer-origin {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social-icon {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: color 0.15s, border-color 0.15s;
}
.footer-social-icon:hover {
  color: white;
  border-color: rgba(255,255,255,0.3);
}
.footer-col-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-response {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 16px;
}
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom span {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .site-footer { padding: 36px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ── CTA Band ── */
.cta-band {
  background: var(--dark);
  padding: 96px 0;
  text-align: center;
}
.cta-band .container {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.34,1.56,0.64,1);
}
.cta-band.visible .container {
  opacity: 1;
  transform: translateY(0);
}
.cta-band:not(.visible) .container {
  opacity: 1;
  transform: translateY(0);
}
.cta-band .hero-h1 { color: var(--white); }
.cta-band .hero-sub { color: rgba(255,255,255,0.55); }
.cta-band .hero-input {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.cta-band .hero-input::placeholder { color: rgba(255,255,255,0.4); }
.cta-band .hero-input:focus { border-color: rgba(255,255,255,0.35); }
.cta-band .btn-primary { background: var(--accent); color: var(--dark); }
.cta-band .btn-primary:hover { background: var(--accent-hover); }
.cta-band .hero-wa { color: rgba(255,255,255,0.45); }
.cta-band .hero-wa a {
  color: rgba(255,255,255,0.85);
  text-decoration-color: rgba(255,255,255,0.25);
}
.cta-wa-btn-wrap { margin-top: 12px; }
.hero-cta { margin-bottom: 0; }
.cta-band .hero-cta { gap: 8px; }

.footer-origin {
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 768px) {
  .faq-two-col {
    grid-template-columns: 1fr;
  }
  .faq-questions {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .faq-answers {
    display: none;
  }
  .faq-q-active::after {
    content: attr(data-answer);
    display: block;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    padding: 12px 0 8px;
    font-weight: 400;
  }
}
@media (max-width: 768px) {
  .faq-two-col {
    grid-template-columns: 1fr;
    border: none;
  }
  .faq-questions {
    border-right: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .faq-answers { display: none; }
  .faq-q {
    padding: 18px 20px;
    font-size: 14px;
  }
  .faq-q-active {
    border-bottom: none;
  }
  .faq-q-active + .faq-mobile-answer {
    display: block;
  }
  .faq-mobile-answer {
    display: none;
    padding: 0 20px 18px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    background: #f9f9f7;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 768px) {
  .intel-card { display: none; }
  .si-section { padding: 64px 0; }
  .intel-right { display: none; }
  .intel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .wa-phone {
    width: 260px;
    height: 500px;
  }
  .wa-phone-screen {
    border-radius: 36px;
  }
  .wa-phone-header {
    padding: 40px 12px 10px;
  }
}

@media (max-width: 600px) {
  .wa-phone-wrap { display: none; }
}

@media (max-width: 900px) {
  .wa-features {
    align-items: flex-start;
    padding: 0 8px;
  }
  .wa-features li {
    text-align: left;
  }
  .wa-copy .section-title {
    text-align: center;
  }
  .wa-desc {
    text-align: center;
    margin: 0 auto 28px;
  }
}

/* Fix footer social links clickability */
.footer-social {
  position: relative;
  z-index: 10;
  display: flex;
  gap: 16px;
  pointer-events: auto;
}
.footer-social-icon {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2, #888);
  transition: color 200ms var(--smooth), transform 200ms var(--spring);
}
.footer-social-icon:hover {
  color: var(--text, #1a1a1a);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════
   Support Hub Elements (Strict Design Contract)
   ══════════════════════════════════════════════════════════ */

/* ── Escalation Matrix ── */
.matrix-grid { 
  display: grid; grid-template-columns: repeat(4, 1fr); 
  gap: var(--space-4); margin-top: 40px; 
}
.matrix-step { 
  background: var(--surface); border: 1px solid var(--border); 
  border-radius: var(--r-md); padding: var(--space-5); 
  position: relative; box-shadow: var(--shadow-sm); 
}
.matrix-step::before { 
  content: ''; position: absolute; top: var(--space-5); 
  right: -16px; width: 16px; height: 1px; background: var(--border); 
}
.matrix-step:last-child::before { display: none; }
@media (max-width: 900px) {
  .matrix-grid { grid-template-columns: 1fr; gap: var(--space-2); }
  .matrix-step::before { top: auto; bottom: -8px; left: var(--space-5); width: 1px; height: 8px; }
}

/* ── Playbooks ── */
.playbook-card {
  transition: transform var(--dur-spring) var(--spring), 
              border-color var(--dur-base) var(--smooth),
              box-shadow var(--dur-spring) var(--spring);
}
.playbook-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-3);
  box-shadow: var(--shadow-lg);
}

/* ── Contact Channels ── */
.channel-card {
  transition: transform var(--dur-spring) var(--spring), 
              border-color var(--dur-base) var(--smooth),
              box-shadow var(--dur-spring) var(--spring);
}
.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
/* Semantic hover borders */
.channel-whatsapp:hover { border-color: var(--success); }
.channel-call:hover     { border-color: var(--text); }
.channel-ticket:hover   { border-color: var(--warning); }
.channel-email:hover    { border-color: var(--text-2); }

/* ── Contact Form ── */
.contact-input {
  transition: border-color var(--dur-fast) var(--smooth),
              box-shadow var(--dur-fast) var(--smooth);
}
.contact-input:focus {
  border-color: var(--text-3);
  outline: none;
}
.contact-btn {
  transition: background var(--dur-fast) var(--smooth),
              transform var(--dur-instant) var(--instant);
}
.contact-btn:hover {
  background: #333;
}
.contact-btn:active {
  transform: scale(0.98);
}

/* ── Transparency Block ── */
.tb-block { 
  background: var(--dark-surface); color: var(--bg); 
  border-radius: var(--radius-lg); padding: var(--space-8) 40px; 
  text-align: center; 
}
.tb-link { 
  color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 500; 
  text-decoration: underline; text-underline-offset: 4px; 
  transition: color var(--dur-fast) var(--smooth); 
}
.tb-link:hover { color: var(--accent); }
/* ══════════════════════════════════════════════════════════
   Mobile Physics, Motion & Scroll Interactions
   ══════════════════════════════════════════════════════════ */

/* ── Scroll Progress Bar ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  z-index: 9999;
  transform-origin: left;
  transform: scaleX(0);
  pointer-events: none;
  will-change: transform;
}

/* ── Section Nav Dots ── */
.section-dots {
  position: fixed;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  gap: 8px;
  z-index: 400;
}
.section-dot {
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background: var(--text-muted, #a0a0a0);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: height 350ms var(--spring),
              background 200ms var(--smooth);
}
.section-dot.active {
  height: 20px;
  background: var(--text, #1a1a1a);
}

/* ── Staggered Scroll Reveals ── */
.s-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 400ms var(--smooth),
              transform 500ms var(--spring);
}
.s-reveal.s-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile Sticky CTA ── */
.mobile-sticky-cta {
  display: none;
}

@media (max-width: 768px) {

  /* ── Landing spacing compaction ── */
  .hero,
  .dashboard-section,
  .services-section,
  .calc-section,
  .whatsapp-section,
  .faq-section,
  .cta-band {
    padding-top: var(--space-6) !important;
    padding-bottom: var(--space-6) !important;
  }
  .hero {
    padding-top: calc(var(--nav-h) + var(--space-5)) !important;
    padding-bottom: var(--space-4) !important;
  }
  .stats-bar {
    padding: var(--space-4) 0 !important;
  }
  .site-footer {
    padding-top: var(--space-5) !important;
  }
  .container,
  .stats-inner,
  .wa-grid {
    padding-left: var(--space-4) !important;
    padding-right: var(--space-4) !important;
  }
  .section-header {
    margin-bottom: var(--space-4) !important;
  }
  .section-label {
    margin-bottom: var(--space-2) !important;
  }
  .section-sub {
    margin-top: var(--space-2) !important;
  }

  /* ── Hero spacing ── */
  .hero-eyebrow {
    margin-bottom: var(--space-4) !important;
  }
  .hero-h1 {
    margin-bottom: var(--space-3) !important;
  }
  .hero-sub {
    margin-bottom: var(--space-4) !important;
  }
  .hero-track-wrap {
    margin-bottom: var(--space-2) !important;
  }
  .hero-track-hint {
    margin-top: var(--space-1) !important;
    margin-bottom: var(--space-3) !important;
  }
  .hero-marquee-wrap {
    gap: var(--space-2) !important;
  }

  /* ── Section internals ── */
  .db-pills {
    margin-top: var(--space-4) !important;
  }
  .stats-inner {
    gap: var(--space-2) !important;
  }
  .stat-card {
    padding: var(--space-4) !important;
    gap: var(--space-2) !important;
  }
  .bento-tile {
    padding: var(--space-4) !important;
    gap: var(--space-2) !important;
  }
  .calc-inputs {
    padding: var(--space-4) !important;
    gap: var(--space-2) !important;
  }
  .calc-expand-btn {
    padding: var(--space-3) var(--space-4) !important;
  }
  .calc-expand-content {
    padding-left: var(--space-4) !important;
    padding-right: var(--space-4) !important;
  }
  .calc-expand-content.open {
    padding-bottom: var(--space-4) !important;
  }
  .calc-dim-inputs,
  .calc-pay-row {
    gap: var(--space-2) !important;
    margin-bottom: var(--space-3) !important;
  }
  .wa-grid {
    gap: var(--space-5) !important;
  }
  .wa-copy .section-title,
  .wa-desc,
  .wa-features {
    margin-bottom: var(--space-4) !important;
  }
  .faq-section .container > div:first-child {
    margin-bottom: var(--space-4) !important;
  }
  .faq-q {
    padding-top: var(--space-3) !important;
    padding-bottom: var(--space-3) !important;
  }
  .faq-a {
    padding: var(--space-5) !important;
  }
  .cta-band .hero-cta {
    margin-top: var(--space-4) !important;
    gap: var(--space-2) !important;
  }
  .cta-wa-btn-wrap {
    margin-top: var(--space-2) !important;
  }
  .footer-grid {
    gap: var(--space-4) !important;
    padding-bottom: var(--space-5) !important;
  }
  .footer-logo,
  .footer-col-label {
    margin-bottom: var(--space-2) !important;
  }
  .footer-origin,
  .footer-response {
    margin-top: var(--space-2) !important;
    margin-bottom: var(--space-3) !important;
  }
  .footer-links {
    gap: var(--space-2) !important;
  }
  .footer-bottom {
    padding: var(--space-4) !important;
    gap: var(--space-2) !important;
  }

  /* Show section dots */
  .section-dots { display: flex; }

  /* ── Sticky CTA ── */
  .mobile-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    background: rgba(250, 250, 250, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border, #e5e5e5);
    z-index: 500;
    transform: translateY(100%);
    transition: transform 350ms var(--spring);
    gap: 8px;
  }
  .mobile-sticky-cta.visible {
    transform: translateY(0);
  }
  .sticky-btn {
    flex: 1;
    height: 44px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: transform 100ms var(--instant);
  }
  .sticky-btn:active {
    transform: scale(0.97);
  }
  .sticky-btn-primary {
    background: var(--accent, #b6f500);
    color: #1a1a1a;
  }
  .sticky-btn-secondary {
    background: var(--surface, #fff);
    color: var(--text, #1a1a1a);
    border: 1px solid var(--border, #e5e5e5) !important;
  }

  /* ── Touch Press Feedback ── */
  .bento-tile:active,
  .stat-card:active,
  .rtl-card:active,
  .si-card:active,
  .si-card-new:active,
  .comparison-col:active,
  .ngp-card:active {
    transform: scale(0.97) !important;
    transition: transform 100ms var(--instant) !important;
  }

  /* ── Horizontal Swipe Bento ── */
  .bento-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-2);
    padding: 0 var(--space-4) var(--space-3);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
  }
  .bento-grid::-webkit-scrollbar { display: none; }
  .bento-tile {
    min-width: 82vw !important;
    max-width: 82vw !important;
    scroll-snap-align: center;
    flex-shrink: 0;
  }

  /* Scroll hint gradient */
  .bento-scroll-hint {
    position: absolute;
    right: 0; top: 0; bottom: 16px;
    width: 48px;
    background: linear-gradient(to right, transparent, var(--bg, #fafafa));
    pointer-events: none;
    z-index: 2;
    transition: opacity 300ms var(--smooth);
  }
  .bento-scroll-hint.hidden { opacity: 0; }

  /* Swipe indicator dots */
  .bento-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: var(--space-2) 0 0;
  }
  .bento-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--border, #e5e5e5);
    transition: background 200ms var(--smooth),
                transform 300ms var(--spring);
  }
  .bento-dot.active {
    background: var(--text, #1a1a1a);
    transform: scale(1.3);
  }

  /* Extra bottom padding for sticky CTA clearance */
  .site-footer {
    padding-bottom: calc(56px + var(--space-4)) !important;
  }
}

/* ── Desktop: hide mobile-only elements ── */
@media (min-width: 769px) {
  .bento-dots { display: none; }
  .bento-scroll-hint { display: none; }
}

/* ── Desktop: disable ALL mobile features ── */
@media (min-width: 769px) {
  .scroll-progress { display: none !important; }
  .section-dots { display: none !important; }
  .mobile-sticky-cta { display: none !important; }
  .s-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .bento-dots { display: none !important; }
  .bento-scroll-hint { display: none !important; }
}

/* ══════════════════════════════════════════════════════════
   Hamburger & Mobile Menu Animations
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Hamburger → X morph ── */
  .nav-hamburger svg line {
    transform-origin: 11px 11px;
    transition: transform 350ms var(--spring),
                opacity 150ms var(--smooth);
  }
  .nav-hamburger[aria-expanded="true"] svg line:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }
  .nav-hamburger[aria-expanded="true"] svg line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-hamburger[aria-expanded="true"] svg line:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  /* ── Backdrop overlay ── */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms var(--smooth);
  }
  .nav-backdrop.visible {
    opacity: 1;
    pointer-events: auto;
  }

  /* ── Enhanced menu slide (spring) ── */
  #nav-mobile {
    transition: transform 0.45s var(--spring) !important;
    box-shadow: -8px 0 32px rgba(0,0,0,0.08);
  }

  /* ── Staggered menu items ── */
  #nav-mobile .mobile-nav-item,
  #nav-mobile .mobile-section,
  #nav-mobile .mobile-nav-actions {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 250ms var(--smooth),
                transform 300ms var(--spring);
  }
  #nav-mobile.open .mobile-nav-item,
  #nav-mobile.open .mobile-section,
  #nav-mobile.open .mobile-nav-actions {
    opacity: 1;
    transform: translateX(0);
  }

  /* ── Touch feedback on menu items ── */
  .mobile-nav-item:active {
    background: rgba(0,0,0,0.04);
  }
  .mobile-section-trigger:active {
    background: rgba(0,0,0,0.04);
  }
}
