/* ════════════════════════════════════════════════════════════
   TAXI DISPATCH SOFTWARE — page-specific styles
   Builds on top of ../../taxi-app-development/css/styles.css
   (reuses variables: --primary, --secondary, --text-dark, etc.)

   Theme: light, premium SaaS. Yellow primary for CTAs (brand
   consistency with rest of OnGraph site), blue accent for
   highlighted words in headings.
   ════════════════════════════════════════════════════════════ */

:root {
  --tds-blue: #1E4FD9;
  --tds-blue-dark: #0F3490;
  --tds-blue-soft: #EEF3FF;
  --tds-ink: #0B1B3F;
  --tds-card-shadow: 0 14px 36px rgba(15,26,26,0.08);
}

/* ════════════════════════════════════════════════════════════
   HERO  ·  Editorial mission-control aesthetic
   - Serif display (Fraunces) for the headline, italic accent
   - Mono technical labels (JetBrains Mono)
   - Topographic line pattern + grain overlay for atmosphere
   - Orchestrated staggered reveal on load
   ════════════════════════════════════════════════════════════ */
.tds-hero {
  --ink:          #0B1B3F;
  --ink-soft:     #46557C;
  --paper:        #FAFBFF;
  --rule:         rgba(11,27,63,0.10);
  --accent:       #1E4FD9;
  --accent-warm:  #FFB400;
  --accent-cool:  #4F7BFF;
  background:
    radial-gradient(circle at 88% 8%,  rgba(30,79,217,0.18), transparent 45%),
    radial-gradient(circle at 6% 78%,  rgba(255,180,0,0.14), transparent 55%),
    radial-gradient(circle at 95% 95%, rgba(16,185,129,0.08), transparent 50%),
    linear-gradient(180deg, #EDF2FF 0%, #F6F9FF 55%, var(--paper) 100%);
  padding: 130px 0 110px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--ink);
}

/* Topographic contour lines — drawn as a tiled SVG. Calm, technical,
   suggests "maps" without being literal. */
.tds-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'><g fill='none' stroke='%231E4FD9' stroke-opacity='0.10' stroke-width='1'><path d='M-40 240 Q 40 180 120 220 T 280 200 T 440 240'/><path d='M-40 200 Q 40 140 120 180 T 280 160 T 440 200'/><path d='M-40 160 Q 40 100 120 140 T 280 120 T 440 160'/><path d='M-40 120 Q 40  60 120 100 T 280  80 T 440 120'/><path d='M-40  80 Q 40  20 120  60 T 280  40 T 440  80'/><path d='M-40 280 Q 40 220 120 260 T 280 240 T 440 280'/></g></svg>");
  background-size: 320px 320px;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 0%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 0%, transparent 75%);
}

/* Fine grain noise — SVG turbulence, adds tactile depth */
.tds-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.04  0 0 0 0 0.10  0 0 0 0 0.24  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ── HERO BACKGROUND OBJECTS LAYER ────────────────
   Floating orbs (blurred gradient blobs) and themed SVG icons that drift
   slowly behind the main content. Live BELOW the dot-grid so the hero
   text always reads clearly on top. */
.tds-hero-objects {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* Blurred gradient orbs — soft ambient colour */
.tds-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  will-change: transform;
}
.tds-bg-orb.orb-1 {
  top: 12%;
  left: 6%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(30,79,217,0.28), transparent 70%);
  animation: tdsOrbDrift1 14s ease-in-out infinite;
}
.tds-bg-orb.orb-2 {
  top: 45%;
  right: 4%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,180,0,0.22), transparent 70%);
  animation: tdsOrbDrift2 16s ease-in-out infinite;
}
.tds-bg-orb.orb-3 {
  bottom: 8%;
  left: 32%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(16,185,129,0.20), transparent 70%);
  animation: tdsOrbDrift3 18s ease-in-out infinite;
}
@keyframes tdsOrbDrift1 {
  0%, 100% { transform: translate(0,   0)   scale(1); }
  50%      { transform: translate(40px,-30px) scale(1.12); }
}
@keyframes tdsOrbDrift2 {
  0%, 100% { transform: translate(0,    0)   scale(1); }
  50%      { transform: translate(-36px,40px) scale(0.92); }
}
@keyframes tdsOrbDrift3 {
  0%, 100% { transform: translate(0,   0)   scale(1); }
  50%      { transform: translate(28px,-44px) scale(1.08); }
}

/* Themed SVG icons — small, faded, drifting in slow circles */
.tds-bg-icon {
  position: absolute;
  opacity: 0.32;
  will-change: transform;
}
.tds-bg-icon.icon-pin {
  top: 22%;
  left: 4%;
  width: 36px;
  height: 36px;
  fill: var(--tds-blue);
  animation: tdsIconDrift 9s ease-in-out infinite;
}
.tds-bg-icon.icon-taxi {
  top: 72%;
  left: 10%;
  width: 44px;
  height: 44px;
  fill: var(--primary-dark);
  opacity: 0.38;
  animation: tdsIconDrift 11s ease-in-out infinite 1.2s;
}
.tds-bg-icon.icon-clock {
  top: 18%;
  right: 6%;
  width: 38px;
  height: 38px;
  fill: #059669;
  animation: tdsIconDrift 10s ease-in-out infinite 0.6s;
}
.tds-bg-icon.icon-route {
  bottom: 14%;
  right: 32%;
  width: 40px;
  height: 40px;
  fill: var(--tds-blue);
  opacity: 0.28;
  animation: tdsIconDrift 12s ease-in-out infinite 2.4s;
}
.tds-bg-icon.icon-bolt {
  top: 52%;
  left: 18%;
  width: 28px;
  height: 28px;
  fill: var(--primary-dark);
  opacity: 0.30;
  animation: tdsIconDrift 8.5s ease-in-out infinite 1.8s;
}
@keyframes tdsIconDrift {
  0%, 100% { transform: translateY(0)     rotate(-6deg); }
  50%      { transform: translateY(-22px) rotate(6deg);  }
}

/* Reduced-motion: freeze every decorative drift */
@media (prefers-reduced-motion: reduce) {
  .tds-bg-orb,
  .tds-bg-icon { animation: none; }
}

/* On phones the icons clutter the small canvas — keep the orbs only */
@media (max-width: 640px) {
  .tds-bg-icon { display: none; }
  .tds-bg-orb { filter: blur(40px); opacity: 0.7; }
  .tds-bg-orb.orb-2 { width: 220px; height: 220px; }
  .tds-bg-orb.orb-3 { display: none; }
}

.tds-hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.tds-hero-content { text-align: left; }

/* Editorial pre-headline label */
.tds-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--ink-soft);
  padding: 0 0 0 16px;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  margin-bottom: 22px;
}
.tds-hero .hero-badge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
  animation: tdsHeroLive 1.8s ease-in-out infinite;
}
.tds-hero .hero-badge::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--rule);
  margin-left: 4px;
}
@keyframes tdsHeroLive {
  0%, 100% { box-shadow: 0 0 0 0   rgba(30,79,217,0.55); }
  50%      { box-shadow: 0 0 0 6px rgba(30,79,217,0.00); }
}

/* Headline — uses the page's default font, big and confident */
.tds-hero h1 {
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 3.25rem);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 26px;
  text-wrap: balance;
}
/* "for 5K USD." never splits across lines. */
.tds-hero h1 .tds-h1-price { white-space: nowrap; }
.tds-hero h1 .accent {
  background: linear-gradient(95deg, var(--accent) 10%, var(--accent-cool) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.tds-hero h1 .marker {
  position: relative;
  display: inline-block;
}
.tds-hero h1 .marker::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.28em;
  background: linear-gradient(90deg, rgba(255,180,0,0.55), rgba(255,180,0,0.10));
  z-index: -1;
  border-radius: 2px;
}

.tds-hero-sub {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 0 24px;
  font-weight: 400;
}
.tds-hero-sub strong { color: var(--ink); font-weight: 700; }

.tds-hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #047857;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 0;
  border-radius: 0;
  border: none;
  margin-bottom: 28px;
}
.tds-hero-note svg { width: 14px; height: 14px; fill: #10B981; }

.tds-hero .hero-btns {
  justify-content: flex-start;
  margin-bottom: 44px;
  gap: 14px;
}

/* Stats — bold display numbers with mono labels, sharp ruled separators.
   Replaces the rounded chip row with an editorial KPI strip. */
.tds-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.tds-hero-stat {
  padding: 0 22px 0 0;
  margin: 0;
  border-right: 1px solid var(--rule);
  position: relative;
}
.tds-hero-stat:not(:first-child) { padding-left: 22px; }
.tds-hero-stat:last-child { border-right: none; padding-right: 0; }
.tds-hero-stat strong {
  display: block;
  font-weight: 900;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.tds-hero-stat strong em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
  margin-left: 1px;
}
.tds-hero-stat span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 8px;
}

.tds-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px;
}
/* Editorial frame — a thin double-rule "screen bezel" around the mockup */
.tds-hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--rule);
  border-radius: 28px;
  pointer-events: none;
}
.tds-hero-visual::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(11,27,63,0.06);
  border-radius: 22px;
  pointer-events: none;
}

.tds-hero-image {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 40px 90px rgba(11,27,63,0.18), 0 6px 14px rgba(11,27,63,0.05);
  display: block;
  position: relative;
  z-index: 2;
  animation: tdsHeroFloat 7s ease-in-out infinite;
}
@keyframes tdsHeroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .tds-hero-image { animation: none; }
}

/* Live KPI ticker — a thin mono strip running across the bottom of the hero */
.tds-hero-ticker {
  position: relative;
  z-index: 3;
  margin-top: 56px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: rgba(255,255,255,0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.tds-hero-ticker-track {
  display: flex;
  width: -webkit-max-content;
  width: max-content;
  align-items: center;
  gap: 56px;
  padding: 14px 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: tdsHeroTicker 36s linear infinite;
  will-change: transform;
}
.tds-hero-ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.tds-hero-ticker-track span b {
  color: var(--ink);
  font-weight: 700;
}
.tds-hero-ticker-track span i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  font-style: normal;
}
.tds-hero-ticker-track .sep {
  color: rgba(11,27,63,0.20);
  font-weight: 400;
}
@keyframes tdsHeroTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tds-hero-ticker:hover .tds-hero-ticker-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .tds-hero-ticker-track { animation: none; }
}

/* ── Orchestrated load reveal — one polished moment, not scattered fluff ── */
.tds-hero-content > *,
.tds-hero-visual > .tds-hero-image,
.tds-hero-visual > .tds-hero-tag,
.tds-hero-ticker {
  opacity: 0;
  transform: translateY(14px);
  animation: tdsHeroReveal 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.tds-hero-content > .hero-badge       { animation-delay: 0.05s; }
.tds-hero-content > h1                { animation-delay: 0.18s; transform: translateY(22px); }
.tds-hero-content > .tds-hero-sub     { animation-delay: 0.34s; }
.tds-hero-content > .tds-hero-note    { animation-delay: 0.46s; }
.tds-hero-content > .hero-btns        { animation-delay: 0.56s; }
.tds-hero-content > .tds-hero-stats   { animation-delay: 0.68s; }
.tds-hero-visual   > .tds-hero-image  { animation-delay: 0.32s; transform: translateY(28px) scale(0.97); }
.tds-hero-visual   > .tds-hero-tag    { animation-delay: 0.82s; }
.tds-hero-ticker                      { animation-delay: 0.92s; }

@keyframes tdsHeroReveal {
  from { opacity: 0; }
  to   { opacity: 1; transform: translate(0); }
}
@media (prefers-reduced-motion: reduce) {
  .tds-hero-content > *,
  .tds-hero-visual > .tds-hero-image,
  .tds-hero-visual > .tds-hero-tag,
  .tds-hero-ticker {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Floating live-status tags on the hero image */
.tds-hero-tag {
  position: absolute;
  background: var(--white);
  color: var(--tds-ink);
  padding: 12px 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 18px 40px rgba(15,26,26,0.16), 0 2px 6px rgba(15,26,26,0.04);
  font-size: 0.84rem;
  line-height: 1.2;
  z-index: 3;
  border: 1px solid rgba(15,26,26,0.05);
}
.tds-hero-tag strong { display: block; font-weight: 800; font-size: 0.92rem; }
.tds-hero-tag span { display: block; color: var(--text-light); font-size: 0.74rem; margin-top: 2px; }
.tds-hero-tag .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 5px rgba(16,185,129,0.22);
  flex-shrink: 0;
  animation: tdsHeroPulse 1.6s ease-in-out infinite;
}
@keyframes tdsHeroPulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(16,185,129,0.22); }
  50%      { box-shadow: 0 0 0 8px rgba(16,185,129,0.10); }
}
@media (prefers-reduced-motion: reduce) {
  .tds-hero-tag .dot { animation: none; }
}
.tds-hero-tag-tl { top: 10%; left: -22px; }
.tds-hero-tag-br { bottom: 12%; right: -16px; }
.tds-hero-tag-br .dot {
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(255,180,0,0.22);
  animation: tdsHeroPulseAmber 1.8s ease-in-out infinite;
}
@keyframes tdsHeroPulseAmber {
  0%, 100% { box-shadow: 0 0 0 5px rgba(255,180,0,0.22); }
  50%      { box-shadow: 0 0 0 8px rgba(255,180,0,0.10); }
}

/* ── SHARED SECTION STRUCTURE ────────────────────── */
.tds-section { padding: 90px 0; }
.tds-section-alt { background: #F7FAFF; }
.tds-section-soft { background: var(--tds-blue-soft); }

.tds-intro {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.tds-intro h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 800;
  color: var(--tds-ink);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  line-height: 1.2;
}
.tds-intro h2 .accent { color: var(--tds-blue); }
.tds-intro p {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── TRUSTED-BY MARQUEE ──────────────────────────── */
.tds-trust {
  padding: 80px 0 64px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

/* Trust-by heading block — eyebrow + bold title + decorative side lines */
.tds-trust-head {
  text-align: center;
  margin-bottom: 44px;
}
.tds-trust-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--tds-blue);
  background: rgba(30,79,217,0.10);
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(30,79,217,0.20);
  margin-bottom: 14px;
}
.tds-trust-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tds-blue);
}
.tds-trust-title {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 700;
  color: var(--tds-ink);
  letter-spacing: 0.2px;
  margin: 0;
}
.tds-trust-title strong { color: var(--tds-blue); font-weight: 800; }
.tds-trust-title em {
  font-style: normal;
  color: var(--text-light);
  font-weight: 600;
}
/* Decorative side lines that taper out from the title */
.tds-trust-title::before,
.tds-trust-title::after {
  content: '';
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(30,79,217,0.45), transparent);
  border-radius: 2px;
}

/* Full-width strip; the .container constraint is removed for the marquee */
.tds-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 12px 0;
  /* Soft fade at both edges so logos slide in/out gracefully */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tds-marquee-track {
  display: flex;
  width: -webkit-max-content;
  width: max-content;
  gap: 28px;
  /* Default direction: right-to-left */
  animation: tds-scroll-rtl 50s linear infinite;
  will-change: transform;
}
/* Pause the marquee when the user hovers anywhere over the trust strip */
.tds-trust:hover .tds-marquee-track { animation-play-state: paused; }

@keyframes tds-scroll-rtl {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .tds-marquee-track { animation: none; }
}

.tds-logo-card {
  flex: 0 0 auto;
  width: 260px;
  height: 130px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 28px;
  box-shadow: 0 8px 22px rgba(15,26,26,0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tds-logo-card:hover {
  border-color: rgba(30,79,217,0.35);
  box-shadow: 0 16px 34px rgba(15,26,26,0.12);
}

/* Each logo image floats gently and independently — staggered delays per card */
.tds-logo-card img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  animation: tdsLogoFloat 4.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes tdsLogoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.tds-logo-card:nth-child(8n+1) img { animation-delay: 0s;    animation-duration: 4.5s; }
.tds-logo-card:nth-child(8n+2) img { animation-delay: 0.4s;  animation-duration: 5.2s; }
.tds-logo-card:nth-child(8n+3) img { animation-delay: 0.8s;  animation-duration: 4.8s; }
.tds-logo-card:nth-child(8n+4) img { animation-delay: 1.2s;  animation-duration: 5.5s; }
.tds-logo-card:nth-child(8n+5) img { animation-delay: 0.2s;  animation-duration: 5.0s; }
.tds-logo-card:nth-child(8n+6) img { animation-delay: 0.6s;  animation-duration: 4.7s; }
.tds-logo-card:nth-child(8n+7) img { animation-delay: 1.0s;  animation-duration: 5.3s; }
.tds-logo-card:nth-child(8n)   img { animation-delay: 1.4s;  animation-duration: 4.9s; }

@media (prefers-reduced-motion: reduce) {
  .tds-logo-card img { animation: none; }
}

@media (max-width: 900px) {
  .tds-trust { padding: 64px 0 52px; }
  .tds-trust-title { font-size: 1rem; gap: 14px; }
  .tds-trust-title::before,
  .tds-trust-title::after { width: 40px; }
  .tds-marquee-track { gap: 22px; }
  .tds-logo-card { width: 220px; height: 110px; padding: 18px 22px; }
  .tds-logo-card img { max-height: 60px; }
}

@media (max-width: 640px) {
  .tds-trust { padding: 52px 0 44px; }
  .tds-trust-head { margin-bottom: 32px; }
  .tds-trust-title {
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
    line-height: 1.4;
    padding: 0 16px;
  }
  /* Hide the decorative side lines on narrow screens — they don't fit aesthetically */
  .tds-trust-title::before,
  .tds-trust-title::after { display: none; }
  .tds-marquee-track { gap: 18px; }
  .tds-logo-card { width: 180px; height: 92px; padding: 14px 18px; }
  .tds-logo-card img { max-height: 48px; }
}

/* ── WHY CHOOSE WHITE LABEL ──────────────────────── */
.tds-why { background: #F1F7FF; }

/* Top intro row: text + illustration (scoped to .tds-why-head only,
   so the feature-grid container below isn't turned into a 2-col grid) */
.tds-why-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 50px;
}

.tds-why-text h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 800;
  color: var(--tds-ink);
  margin-bottom: 14px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.tds-why-text h2 .accent { color: var(--tds-blue); }
.tds-why-text .tagline {
  display: inline-block;
  color: var(--tds-blue);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.tds-why-text p {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 560px;
}
.tds-why-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.tds-why-visual img {
  width: 100%;
  max-width: 460px;
  border-radius: 18px;
  filter: drop-shadow(0 24px 50px rgba(15,26,26,0.18));
  animation: tdsAppFloat 6s ease-in-out infinite;
  will-change: transform;
}

/* 2-column × 3-row feature grid (matches reference site layout) */
.tds-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}

.tds-feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px 26px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  box-shadow: 0 4px 18px rgba(15,26,26,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tds-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(15,26,26,0.10);
}

.tds-feature-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--tds-blue-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tds-feature-icon svg { width: 28px; height: 28px; fill: var(--tds-blue); }
.tds-feature-icon.warn { background: #FFF3DB; }
.tds-feature-icon.warn svg { fill: #E89A00; }
.tds-feature-icon.success { background: #E1F6EC; }
.tds-feature-icon.success svg { fill: #10B981; }
.tds-feature-icon.danger { background: #FFE6E8; }
.tds-feature-icon.danger svg { fill: #E94560; }
.tds-feature-icon.purple { background: #EDE4FF; }
.tds-feature-icon.purple svg { fill: #6D45E0; }
.tds-feature-icon.teal { background: #DDF1F5; }
.tds-feature-icon.teal svg { fill: #16A2D7; }

.tds-feature-body { flex: 1; min-width: 0; }
.tds-feature-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--tds-ink);
  margin-bottom: 8px;
  line-height: 1.3;
}
.tds-feature-card p {
  font-size: 0.96rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}

.tds-why-cta {
  text-align: center;
  margin-top: 50px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── STAY CONNECTED BANNER ───────────────────────── */
.tds-banner {
  position: relative;
  padding: 70px 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(255,180,0,0.18), transparent 55%),
    radial-gradient(circle at 15% 80%, rgba(30,79,217,0.45), transparent 60%),
    linear-gradient(135deg, #0B1B3F 0%, #102B6A 60%, #1E4FD9 100%);
  color: var(--white);
  overflow: hidden;
}
.tds-banner .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 50px;
  align-items: center;
}
.tds-banner-inner {
  max-width: 560px;
}
.tds-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}
.tds-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  line-height: 1.7;
}

.tds-banner-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tds-banner-visual img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 28px 60px rgba(0,0,0,0.45);
  animation: tdsBannerFloat 6s ease-in-out infinite;
}
@keyframes tdsBannerFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .tds-banner-visual img { animation: none; }
}

.tds-banner-tag {
  position: absolute;
  background: var(--white);
  color: var(--tds-ink);
  padding: 10px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.28);
  font-size: 0.82rem;
  line-height: 1.2;
  z-index: 2;
}
.tds-banner-tag strong { display: block; font-weight: 800; font-size: 0.88rem; }
.tds-banner-tag span { display: block; color: var(--text-light); font-size: 0.72rem; margin-top: 2px; }
.tds-banner-tag .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.22);
  flex-shrink: 0;
}
.tds-banner-tag-top { top: 8px; left: -16px; }
.tds-banner-tag-bot { bottom: 12px; right: -10px; }
.tds-banner-tag-bot .dot { background: var(--primary); box-shadow: 0 0 0 4px rgba(255,180,0,0.22); }

/* ── PRODUCT SHOWCASE BLOCKS ─────────────────────── */
.tds-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 60px 0;
}
.tds-showcase.flip { direction: rtl; }
.tds-showcase.flip > * { direction: ltr; }

.tds-showcase-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}
/* Soft radial glow behind the floating mockup — gives the image room
   to "sit on" rather than appear stranded on the white background. */
.tds-showcase-media::before {
  content: '';
  position: absolute;
  inset: 10% 10%;
  background: radial-gradient(circle, rgba(30,79,217,0.14) 0%, transparent 65%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}
.tds-showcase-media::after {
  content: '';
  position: absolute;
  bottom: 6%;
  left: 12%;
  right: 12%;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(15,26,26,0.20) 0%, transparent 70%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}
.tds-showcase-media img {
  width: 100%;
  max-width: 460px;
  border-radius: 22px;
  /* filter: drop-shadow(0 26px 50px rgba(15,26,26,0.18)); */
  animation: tdsAppFloat 6s ease-in-out infinite;
  will-change: transform;
  position: relative;
  z-index: 1;
}

/* Stagger each showcase image so they bob out of phase — not synchronized */
.tds-showcase:nth-of-type(1) .tds-showcase-media img { animation-delay: 0s;   animation-duration: 6.0s; }
.tds-showcase:nth-of-type(2) .tds-showcase-media img { animation-delay: 1.0s; animation-duration: 6.6s; }
.tds-showcase:nth-of-type(3) .tds-showcase-media img { animation-delay: 0.5s; animation-duration: 5.8s; }
.tds-showcase:nth-of-type(4) .tds-showcase-media img { animation-delay: 1.5s; animation-duration: 6.4s; }

/* Shared float keyframe used by why-visual + all showcase mockups */
@keyframes tdsAppFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .tds-why-visual img,
  .tds-showcase-media img { animation: none; }
}

.tds-showcase-body .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(30,79,217,0.10), rgba(30,79,217,0.04));
  color: var(--tds-blue);
  border: 1px solid rgba(30,79,217,0.20);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.tds-showcase-body .section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tds-blue);
  box-shadow: 0 0 0 3px rgba(30,79,217,0.18);
}

.tds-showcase-body h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.2rem);
  font-weight: 800;
  color: var(--tds-ink);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}
.tds-showcase-body h2 .accent {
  background: linear-gradient(90deg, var(--tds-blue) 0%, #4F7BFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.tds-mini-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 30px;
}

/* Each mini-feature is now a soft hover-able card row */
.tds-mini-features li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.tds-mini-features li:hover {
  background: var(--tds-blue-soft);
  border-color: rgba(30,79,217,0.18);
  transform: translateX(4px);
}

.tds-mini-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--tds-blue-soft) 0%, #DCE7FF 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(30,79,217,0.08);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}
.tds-mini-features li:hover .tds-mini-icon {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 10px 20px rgba(30,79,217,0.20);
}
.tds-mini-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--tds-blue);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tds-mini-features li:hover .tds-mini-icon svg { transform: scale(1.1); }

.tds-mini-features h4 {
  color: var(--tds-ink);
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.1px;
}
.tds-mini-features p {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .tds-mini-features li,
  .tds-mini-icon,
  .tds-mini-icon svg { transition: none; }
}

/* ── EDGE / DIFFERENTIATORS ──────────────────────── */
.tds-edge {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tds-edge-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 26px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.tds-edge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(15,26,26,0.10);
  border-color: rgba(30,79,217,0.30);
}

.tds-edge-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(30,79,217,0.12), rgba(30,79,217,0.04));
  display: flex;
  align-items: center;
  justify-content: center;
}
.tds-edge-icon svg { width: 28px; height: 28px; fill: var(--tds-blue); }

.tds-edge-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tds-ink);
  margin-bottom: 10px;
}
.tds-edge-card p {
  color: var(--text-mid);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ── JOURNEY / STEPS ─────────────────────────────── */
.tds-journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  margin-bottom: 50px;
  padding-top: 32px; /* room for the floating icon badges */
}
/* Connecting track between steps — gradient line with animated flow */
.tds-journey::before {
  content: '';
  position: absolute;
  top: 64px;
  left: 18%;
  right: 18%;
  height: 3px;
  background-image: linear-gradient(90deg,
    rgba(255,180,0,0.55) 0%,
    rgba(30,79,217,0.55) 35%,
    rgba(255,255,255,0.95) 50%,
    rgba(30,79,217,0.55) 65%,
    rgba(16,185,129,0.55) 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  border-radius: 3px;
  z-index: 0;
  animation: tdsJourneyTrack 4s linear infinite;
}
.tds-journey::after {
  content: '';
  position: absolute;
  top: 60px;
  left: 18%;
  right: 18%;
  height: 11px;
  background-image:
    radial-gradient(circle, rgba(255,180,0,0.85) 0 4px, transparent 5px),
    radial-gradient(circle, rgba(16,185,129,0.85) 0 4px, transparent 5px);
  background-repeat: no-repeat;
  background-position: 0% 50%, 100% 50%;
  z-index: 0;
}
@keyframes tdsJourneyTrack {
  0%   { background-position: 200% 50%; }
  100% { background-position:   0% 50%; }
}

.tds-journey-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px 28px 28px;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 28px rgba(15,26,26,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.tds-journey-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(15,26,26,0.12);
}

/* Step number badge — gradient circle that floats above the card */
.tds-journey-num {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--tds-blue) 0%, var(--tds-blue-dark) 100%);
  box-shadow: 0 14px 28px rgba(30,79,217,0.35), 0 0 0 6px var(--white);
  z-index: 2;
  /* Gentle bob — transformX(-50%) is preserved inside the keyframes */
  animation: tdsBadgeFloat 4s ease-in-out infinite;
}

/* Expanding aura ring behind each badge (built with an outer box-shadow ring
   that grows and fades). The keyframes per step preserve the badge's drop
   shadow + white ring on the inside, then add a third ring that pulses out. */
@keyframes tdsBadgeFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-4px); }
}

/* Per-step accent colours — each card gets its own personality */
.tds-journey-step.step-1 { border-top: 4px solid var(--primary); }
.tds-journey-step.step-1 .tds-journey-num {
  background: linear-gradient(135deg, #FFD24F 0%, #FFB400 100%);
  color: var(--tds-ink);
  animation: tdsBadgeFloat 4s ease-in-out infinite, tdsBadgePulseAmber 2.4s ease-out infinite;
  animation-delay: 0s, 0s;
}
.tds-journey-step.step-1 .tds-journey-tag { background: rgba(255,180,0,0.14); color: #B47200; }
.tds-journey-step.step-1 .tds-journey-icon { background: rgba(255,180,0,0.14); }
.tds-journey-step.step-1 .tds-journey-icon svg { fill: #B47200; }

.tds-journey-step.step-2 { border-top: 4px solid var(--tds-blue); }
.tds-journey-step.step-2 .tds-journey-num {
  animation: tdsBadgeFloat 4s ease-in-out infinite, tdsBadgePulseBlue 2.4s ease-out infinite;
  animation-delay: 0.6s, 0.8s;
}
.tds-journey-step.step-2 .tds-journey-tag { background: var(--tds-blue-soft); color: var(--tds-blue); }
.tds-journey-step.step-2 .tds-journey-icon { background: var(--tds-blue-soft); }
.tds-journey-step.step-2 .tds-journey-icon svg { fill: var(--tds-blue); }

.tds-journey-step.step-3 { border-top: 4px solid #10B981; }
.tds-journey-step.step-3 .tds-journey-num {
  background: linear-gradient(135deg, #34D399 0%, #059669 100%);
  animation: tdsBadgeFloat 4s ease-in-out infinite, tdsBadgePulseGreen 2.4s ease-out infinite;
  animation-delay: 1.2s, 1.6s;
}
.tds-journey-step.step-3 .tds-journey-tag { background: rgba(16,185,129,0.14); color: #059669; }
.tds-journey-step.step-3 .tds-journey-icon { background: rgba(16,185,129,0.14); }
.tds-journey-step.step-3 .tds-journey-icon svg { fill: #059669; }

/* Per-step expanding aura — the third box-shadow ring grows from 6px to 22px
   while fading from opaque to transparent, giving each badge a "broadcast"
   feel that pulses in the step's accent colour. The first two shadows stay
   constant: drop-shadow + white ring. */
@keyframes tdsBadgePulseAmber {
  0%   { box-shadow: 0 14px 28px rgba(255,180,0,0.35), 0 0 0 6px var(--white), 0 0 0 6px  rgba(255,180,0,0.55); }
  100% { box-shadow: 0 14px 28px rgba(255,180,0,0.35), 0 0 0 6px var(--white), 0 0 0 22px rgba(255,180,0,0);    }
}
@keyframes tdsBadgePulseBlue {
  0%   { box-shadow: 0 14px 28px rgba(30,79,217,0.35), 0 0 0 6px var(--white), 0 0 0 6px  rgba(30,79,217,0.55); }
  100% { box-shadow: 0 14px 28px rgba(30,79,217,0.35), 0 0 0 6px var(--white), 0 0 0 22px rgba(30,79,217,0);    }
}
@keyframes tdsBadgePulseGreen {
  0%   { box-shadow: 0 14px 28px rgba(16,185,129,0.35), 0 0 0 6px var(--white), 0 0 0 6px  rgba(16,185,129,0.55); }
  100% { box-shadow: 0 14px 28px rgba(16,185,129,0.35), 0 0 0 6px var(--white), 0 0 0 22px rgba(16,185,129,0);    }
}

/* Round icon tile inside the card */
.tds-journey-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tds-blue-soft);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tds-journey-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--tds-blue);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* On card hover: tile gets a subtle bump, icon scales + tilts */
.tds-journey-step:hover .tds-journey-icon { transform: translateY(-3px) scale(1.05); }
.tds-journey-step:hover .tds-journey-icon svg { transform: scale(1.15) rotate(-8deg); }

/* Pause all journey animations for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  .tds-journey::before { animation: none; }
  .tds-journey-num,
  .tds-journey-step.step-1 .tds-journey-num,
  .tds-journey-step.step-2 .tds-journey-num,
  .tds-journey-step.step-3 .tds-journey-num { animation: none; }
  .tds-journey-icon,
  .tds-journey-icon svg { transition: none; }
}

.tds-journey-step h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--tds-ink);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.tds-journey-step p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* Deliverables checklist inside each step */
.tds-journey-list {
  text-align: left;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tds-journey-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.5;
}
.tds-journey-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16,185,129,0.14);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='%2310B981'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 2px;
}

.tds-journey-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--tds-blue);
  background: var(--tds-blue-soft);
  padding: 6px 14px;
  border-radius: 50px;
}

/* ── FINAL CTA ───────────────────────────────────── */
.tds-final {
  padding: 90px 0;
  background:
    linear-gradient(120deg, rgba(11,27,63,0.94) 0%, rgba(30,79,217,0.85) 100%),
    radial-gradient(circle at 80% 30%, rgba(255,180,0,0.20), transparent 60%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tds-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,180,0,0.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.10), transparent 50%);
  pointer-events: none;
}
.tds-final .container { position: relative; z-index: 2; }
.tds-final h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.tds-final h2 .accent {
  background: linear-gradient(90deg, #FFD24F, #FFB400);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tds-final p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.tds-final .hero-btns { justify-content: center; }
.tds-final .btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.tds-final .btn-outline:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--white);
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1100px) {
  .tds-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .tds-edge { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .tds-hero { padding: 120px 0 0; }
  .tds-hero .container { grid-template-columns: 1fr; gap: 40px; }
  .tds-hero-content { text-align: left; }
  .tds-hero-content .hero-badge { margin-left: 0; }
  .tds-hero-sub { margin: 0 0 24px; max-width: 100%; }
  .tds-hero h1 { font-size: clamp(2.3rem, 7vw, 3.4rem); }
  .tds-hero .hero-btns { justify-content: flex-start; }
  .tds-hero-visual { order: -1; }
  .tds-hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .tds-hero-stat:nth-child(2) { border-right: none; padding-right: 0; }
  .tds-hero-stat:nth-child(3) { padding-left: 0; }
  .tds-hero-tag-tl { top: 0; left: 0; }
  .tds-hero-tag-br { bottom: 0; right: 0; }
  .tds-hero-ticker { margin-top: 48px; }
  .tds-hero-ticker-track { font-size: 0.7rem; gap: 40px; padding: 12px 0; }
  .tds-why-head { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .tds-why-text p { margin-left: auto; margin-right: auto; }
  .tds-feature-grid { grid-template-columns: 1fr; }
  .tds-banner .container { grid-template-columns: 1fr; gap: 36px; }
  .tds-banner-inner { max-width: none; text-align: center; margin: 0 auto; }
  .tds-banner-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .tds-banner-tag-top { top: 0; left: 0; }
  .tds-banner-tag-bot { bottom: 0; right: 0; }
  .tds-showcase,
  .tds-showcase.flip {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
    padding: 40px 0;
  }
  .tds-showcase-media { order: 1; }
  .tds-showcase-body { order: 2; text-align: center; }
  .tds-mini-features li { text-align: left; }
  .tds-journey { grid-template-columns: 1fr; row-gap: 56px; padding-top: 0; }
  .tds-journey::before,
  .tds-journey::after { display: none; }
  .tds-journey-step { padding-top: 60px; }
}

@media (max-width: 640px) {
  .tds-section { padding: 64px 0; }
  .tds-feature-grid { grid-template-columns: 1fr; }
  .tds-edge { grid-template-columns: 1fr; }
  .tds-hero .hero-btns,
  .tds-final .hero-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  .tds-hero .hero-btns .btn-primary,
  .tds-hero .hero-btns .btn-outline,
  .tds-final .hero-btns .btn-primary,
  .tds-final .hero-btns .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    min-height: 56px;
    box-sizing: border-box;
  }

  /* ── Standalone section buttons — full-width on mobile ── */
  /* "Get Started" in Why section, "Get In Touch" in Banner,
     "Schedule A Demo" in each Showcase block */
  .tds-why-text .btn-primary,
  .tds-banner-inner .btn-primary,
  .tds-showcase-body .btn-primary {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    min-height: 56px;
    box-sizing: border-box;
  }

  /* Why-CTA pair ("Schedule A Demo" + "Explore Features") —
     stack vertically and go full-width */
  .tds-why-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .tds-why-cta .btn-primary,
  .tds-why-cta .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    min-height: 56px;
    box-sizing: border-box;
  }

  .tds-banner { padding: 56px 0; }
  .tds-banner-visual { max-width: 320px; }
  .tds-banner-tag { font-size: 0.74rem; padding: 8px 12px; }
  .tds-banner-tag strong { font-size: 0.78rem; }
  .tds-banner-tag span { font-size: 0.66rem; }
  /* Hero — keep the editorial ruled stats but reflow to 2x2 */
  .tds-hero { padding: 110px 0 0; }
  .tds-hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); line-height: 1.05; }
  .tds-hero-sub { font-size: 1.02rem; }
  .tds-hero-stats {
    grid-template-columns: 1fr 1fr;
    row-gap: 22px;
    border-top: 1px solid var(--rule);
    padding-top: 22px;
  }
  .tds-hero-stat {
    padding: 0 16px 0 0;
    border-right: 1px solid var(--rule);
    text-align: left;
  }
  .tds-hero-stat:nth-child(2n) { border-right: none; padding-right: 0; }
  .tds-hero-stat:nth-child(2n+1) { padding-left: 0; }
  /* Right column only — both rows line up (n+3 indented "1,000+" under "30M+"). */
  .tds-hero-stat:nth-child(2n) { padding-left: 16px; }
  .tds-hero-stat:nth-child(3),
  .tds-hero-stat:nth-child(4) { border-top: 0; }
  .tds-hero-stat strong { font-size: 1.4rem; }
  .tds-hero-stat span { font-size: 0.62rem; }
  .tds-hero-tag { font-size: 0.72rem; padding: 8px 12px; }
  .tds-hero-tag strong { font-size: 0.78rem; }
  .tds-hero-tag span { font-size: 0.66rem; }
  .tds-hero-ticker-track { font-size: 0.66rem; gap: 32px; padding: 10px 0; }
  .tds-hero-ticker-track span b { font-weight: 700; }
}

/* ── Tablet nav fix ────────────────────────────────────
   Logo + full link row + the CTA pill need ~1000px to sit on
   one line; below that they collided with the logo and wrapped
   to two rows, so hand the nav to the hamburger up to 1024px. */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ══════════════════════════════════════════════════════════════
   LAPTOP SCREENS ONLY — short desktop viewports (≈1366×768 / 1536×864)
   Scoped by viewport HEIGHT, so 1080p+ and any tall monitor is
   completely unaffected. Hero measured ~930px on a 640px laptop
   viewport; this block only tightens the vertical rhythm.
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 1200px) and (max-height: 820px) {
  /* Full-screen hero — header is fixed and overlays the hero, so 100vh here
     makes header + hero exactly one laptop screen. The container takes the
     slack (flex:1) so the KPI ticker stays pinned to the bottom edge. */
  .tds-hero {
    padding: 124px 0 22px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .tds-hero > .container { flex: 1 1 auto; }
  .tds-hero .container { gap: 48px; }
  .tds-hero h1 { font-size: clamp(1.9rem, 2.8vw, 2.4rem); margin: 0 0 16px; }
  .tds-hero-sub { font-size: 0.98rem; line-height: 1.55; margin: 0 0 14px; }
  .tds-hero-note { margin-bottom: 16px; }
  .tds-hero .hero-btns { margin-bottom: 22px; }
  .tds-hero-stats { padding-top: 16px; }
  .tds-hero-visual { padding: 8px; }
  .tds-hero-ticker { margin-top: 26px; }
}

/* Safari: a large filter:blur() on a moving, composited layer inside an
   overflow:hidden hero gets painted as a solid BLACK box in Safari (Chrome is
   fine). The blur is dropped; each glow's box grows by 2x the old blur radius
   (negative margin keeps it centred) and its gradient stops are the old
   blurred profile, so it looks the same with no filter. */
.tds-bg-orb { filter: none; margin: -100px; }
.tds-bg-orb.orb-1 { width: 440px; height: 440px; background: radial-gradient(circle closest-side, rgba(30,79,217, 0.136) 0%, rgba(30,79,217, 0.129) 10%, rgba(30,79,217, 0.113) 20%, rgba(30,79,217, 0.089) 30%, rgba(30,79,217, 0.063) 40%, rgba(30,79,217, 0.04) 50%, rgba(30,79,217, 0.023) 60%, rgba(30,79,217, 0.011) 70%, rgba(30,79,217, 0.005) 80%, rgba(30,79,217, 0.002) 90%, rgba(30,79,217, 0) 100%); }
.tds-bg-orb.orb-2 { width: 520px; height: 520px; background: radial-gradient(circle closest-side, rgba(255,180,0, 0.134) 0%, rgba(255,180,0, 0.128) 10%, rgba(255,180,0, 0.112) 20%, rgba(255,180,0, 0.09) 30%, rgba(255,180,0, 0.065) 40%, rgba(255,180,0, 0.041) 50%, rgba(255,180,0, 0.023) 60%, rgba(255,180,0, 0.011) 70%, rgba(255,180,0, 0.004) 80%, rgba(255,180,0, 0.001) 90%, rgba(255,180,0, 0) 100%); }
.tds-bg-orb.orb-3 { width: 400px; height: 400px; background: radial-gradient(circle closest-side, rgba(16,185,129, 0.08) 0%, rgba(16,185,129, 0.076) 10%, rgba(16,185,129, 0.066) 20%, rgba(16,185,129, 0.052) 30%, rgba(16,185,129, 0.037) 40%, rgba(16,185,129, 0.024) 50%, rgba(16,185,129, 0.014) 60%, rgba(16,185,129, 0.007) 70%, rgba(16,185,129, 0.003) 80%, rgba(16,185,129, 0.001) 90%, rgba(16,185,129, 0) 100%); }
@media (max-width: 640px) {
  .tds-bg-orb { filter: none; margin: -80px; }
  .tds-bg-orb.orb-1 { width: 400px; height: 400px; background: radial-gradient(circle closest-side, rgba(30,79,217, 0.163) 0%, rgba(30,79,217, 0.156) 10%, rgba(30,79,217, 0.136) 20%, rgba(30,79,217, 0.108) 30%, rgba(30,79,217, 0.078) 40%, rgba(30,79,217, 0.05) 50%, rgba(30,79,217, 0.028) 60%, rgba(30,79,217, 0.013) 70%, rgba(30,79,217, 0.005) 80%, rgba(30,79,217, 0.002) 90%, rgba(30,79,217, 0) 100%); }
  .tds-bg-orb.orb-2 { width: 380px; height: 380px; background: radial-gradient(circle closest-side, rgba(255,180,0, 0.12) 0%, rgba(255,180,0, 0.114) 10%, rgba(255,180,0, 0.1) 20%, rgba(255,180,0, 0.078) 30%, rgba(255,180,0, 0.057) 40%, rgba(255,180,0, 0.035) 50%, rgba(255,180,0, 0.02) 60%, rgba(255,180,0, 0.009) 70%, rgba(255,180,0, 0.004) 80%, rgba(255,180,0, 0.001) 90%, rgba(255,180,0, 0) 100%); }
}

/* ══════════════════════════════════════════════════════════════
   HERO LEAD FORM — right column (replaces the dashboard image + tags;
   `index copy.html` still uses those, so their CSS above stays).
   Same fields as the popup, so custom-lead.js binds it with no extra JS.
   Navy ink card on the light hero: white fields + the yellow CTA stand out
   inside it. No overflow:hidden on the card — it would clip the country list.
   ══════════════════════════════════════════════════════════════ */
.tds-hero-visual--form { justify-content: flex-end; padding: 0; min-width: 0; }
.tds-hero-visual--form::before,
.tds-hero-visual--form::after { content: none; }
.tds-lead {
  position: relative;
  width: 100%;
  max-width: 540px;
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  animation: tdsHeroReveal 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.32s forwards;
}
/* The clock + route icons sat behind the old opaque image; through the
   see-through card they read as clutter, so they go when the form is there. */
.tds-hero:has(.tds-lead) .tds-bg-icon.icon-clock,
.tds-hero:has(.tds-lead) .tds-bg-icon.icon-route { display: none; }
.tds-lead::before {
  content: '';
  position: absolute;
  inset: -48px;
  background: radial-gradient(closest-side, rgba(255,180,0,0.30), transparent);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .tds-lead { opacity: 1; transform: none; animation: none; }
}
.tds-lead-card {
  position: relative;
  background: #00000066; /* same see-through card as uber-clone */
  border: 2px solid var(--accent-warm);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(11,27,63,0.38), 0 10px 24px rgba(11,27,63,0.20);
}
.tds-lead-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.tds-lead-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-warm);
}
.tds-lead-icon svg { width: 22px; height: 22px; fill: var(--tds-ink); }
.tds-lead-title {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}
.tds-lead-title em { font-style: normal; color: var(--accent-warm); }
.tds-lead-sub {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255,255,255,0.86);
  text-wrap: balance;
}
.tds-lead .lead-form { padding: 16px 24px; }
.tds-lead .lead-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-bottom: 12px; }
.tds-lead .lead-row .lead-field { margin-bottom: 0; }
.tds-lead .lead-field { position: relative; margin-bottom: 12px; }
.tds-lead .lead-field label {
  display: block;
  height: 20px;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: #fff;
}
.tds-lead .lead-field label em { font-style: normal; color: var(--accent-warm); }
.tds-lead .lead-field input,
.tds-lead .lead-field textarea {
  padding: 11px 14px;
  font-size: 16px;
  font-weight: 400;
  color: var(--tds-ink);
  background: #fff;
  border: 2px solid #fff;
  border-radius: 10px;
}
.tds-lead .lead-field input::placeholder,
.tds-lead .lead-field textarea::placeholder { color: #5A6787; opacity: 1; }
.tds-lead .lead-field input:focus,
.tds-lead .lead-field textarea:focus {
  border-color: var(--accent-warm);
  box-shadow: 0 0 0 4px rgba(255,180,0,0.40);
}
/* intl-tel-input v17 sets the left padding inline, tight against the divider. */
.tds-lead .lead-field input[type="tel"] { padding-right: 6px; text-indent: 3px; }
.tds-lead .iti__selected-flag { padding-right: 0; }
.tds-lead .iti--allow-dropdown .iti__flag-container .iti__selected-flag,
.tds-lead .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
  background-color: #fff;
  border-radius: 8px 0 0 8px;
}
/* Phone is the right half of its row: keep the nowrap list inside the card. */
.tds-lead .iti__country-list { width: 230px; font-size: 14px; color: var(--tds-ink); white-space: normal; }
/* Counter sits inside the textarea's bottom edge; custom-lead.js writes its
   colour inline, so only !important reaches it. Grey until a submit fails. */
.tds-lead .lead-field textarea {
  display: block;
  height: 72px;
  min-height: 0;
  padding-bottom: 24px;
  resize: none;
}
.tds-lead .word-count-info {
  position: absolute;
  top: 75px;
  right: 12px;
  margin: 0 !important;
  font-size: 11px !important;
  font-weight: 500;
  color: #6B7690 !important;
  pointer-events: none;
}
.tds-lead .form-field-error { font-size: 12px !important; font-weight: 600; color: #FFB4B4 !important; }
.tds-lead .lead-submit { min-height: 54px; margin-top: 2px; padding: 12px 16px; font-size: 17px; }
.tds-lead-checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.tds-lead-checks li {
  padding-left: 19px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFB400' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat 0 center / 14px;
}

/* Laptop: tighter column gap so the form keeps a usable width. */
@media (min-width: 901px) and (max-width: 1280px) {
  .tds-hero .container { gap: 40px; }
}

/* Tablet + phone: compact. Labels visually hidden (screen readers keep them,
   placeholders carry the words); names stay side by side. */
@media (max-width: 1199px) {
  .tds-lead .lead-row { gap: 8px; margin-bottom: 8px; }
  .tds-lead .tds-lead-contact { grid-template-columns: minmax(0, 1fr); }
  .tds-lead .lead-field { margin-bottom: 8px; }
  .tds-lead .lead-field label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .tds-lead-head { gap: 10px; padding: 10px 16px; }
  .tds-lead-icon { width: 34px; height: 34px; border-radius: 9px; }
  .tds-lead-icon svg { width: 18px; height: 18px; }
  .tds-lead-title { font-size: 18px; }
  .tds-lead-sub { margin-top: 0; font-size: 11px; }
  .tds-lead .lead-form { padding: 12px 16px; }
  .tds-lead .lead-field input,
  .tds-lead .lead-field textarea { padding: 8px 12px; font-size: 14px; border-radius: 9px; }
  .tds-lead .lead-field textarea { height: 62px; padding-bottom: 22px; }
  .tds-lead .iti__selected-dial-code { font-size: 14px; }
  .tds-lead .iti__country-list { font-size: 12px; }
  .tds-lead .word-count-info { top: 44px; right: 10px; font-size: 10px !important; }
  .tds-lead .form-field-error { font-size: 11px !important; }
  .tds-lead .lead-submit { min-height: 46px; margin-top: 0; padding: 10px 16px; font-size: 14px; }
  .tds-lead-checks { gap: 2px 12px; margin-top: 8px; }
  .tds-lead-checks li { padding-left: 16px; font-size: 11px; background-size: 11px; }
  /* iOS zooms the page when a focused field is under 16px. */
  @supports (-webkit-touch-callout: none) {
    .tds-lead .lead-field input,
    .tds-lead .lead-field textarea { font-size: 16px; }
  }
}
/* Stacked: like uber-clone, hero copy first and the form below it
   (overrides the old order:-1 that put the image on top). */
@media (max-width: 900px) {
  .tds-hero-visual--form { order: 1; justify-content: center; }
  .tds-lead { max-width: 100%; }
  .tds-lead-card { box-shadow: 0 12px 28px rgba(11,27,63,0.28); }
  .tds-lead::before { inset: -20px; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .tds-lead .tds-lead-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
