/* ===================================================================
   TreadSpark (Software) — page-specific styles
   Shared brand tokens, nav, footer, and buttons live in shared.css
   =================================================================== */


  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

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

  :root {
    /* dark "bookend" zones: nav, hero, final-cta, footer */
    --black: #0B0B0B;
    --charcoal: #141414;
    --card-dark: #1B1B1B;
    --muted-dark: #B8B8BC;
    --border-dark: rgba(255,255,255,.10);
    --border-dark-strong: rgba(255,255,255,.18);

    /* light zones: everything else */
    --bg: #FFFFFF;
    --bg-alt: #F6F6F3;
    --bg-soft: #FBFBF9;
    --ink: #15151A;
    --ink-soft: #46464C;
    --muted: #6B6B72;
    --card: #FFFFFF;
    --card-hover: #FCFCFA;
    --border: rgba(17,17,17,.09);
    --border-strong: rgba(17,17,17,.16);

    /* shared */
    --white: #FFFFFF;
    --gold: #F7C600;
    --gold-dim: #D4A800;
    --gold-pale: rgba(247,198,0,0.10);
    --accent: #FFD84D;
    --red: #EF4444;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(20,20,15,0.06);
    --shadow-lg: 0 24px 60px rgba(20,20,15,0.10);
    --shadow-dark-lg: 0 24px 70px rgba(0,0,0,0.55);
    --glow: 0 0 0 1px rgba(247,198,0,0.14), 0 8px 28px rgba(247,198,0,0.12);
  }

  html { scroll-behavior: smooth; }
  body { font-family: 'Inter', sans-serif; color: var(--ink); background: var(--bg); overflow-x: hidden; }
  body.modal-open { overflow: hidden; }

  /* ===== Demo Request Modal ===== */
  .demo-overlay {
    position: fixed; inset: 0; z-index: 1000; display: none;
    align-items: center; justify-content: center; padding: 24px;
    background: rgba(11,11,11,0.72); backdrop-filter: blur(4px);
  }
  .demo-overlay.is-open { display: flex; animation: demoFadeIn .2s ease; }
  @keyframes demoFadeIn { from { opacity: 0; } to { opacity: 1; } }
  .demo-modal {
    width: 100%; max-width: 880px; max-height: 90vh; overflow-y: auto;
    background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-dark-lg);
    position: relative; animation: demoSlideUp .25s ease;
  }
  @keyframes demoSlideUp { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
  .demo-modal-close {
    position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg-alt); border: 1px solid var(--border); color: var(--ink);
    display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; transition: all .15s;
  }
  .demo-modal-close:hover { background: var(--gold-pale); border-color: var(--gold); color: var(--gold-dim); }
  .demo-modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
  @media (max-width: 720px) { .demo-modal-grid { grid-template-columns: 1fr; } }
  .demo-modal-header { padding: 32px 32px 0; grid-column: 1 / -1; }
  .demo-modal-eyebrow { color: var(--gold-dim); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
  .demo-modal-title { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
  .demo-modal-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 8px; }

  .demo-modal-form { padding: 24px 32px 32px; }
  .demo-field { margin-bottom: 16px; }
  .demo-field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
  .demo-field input {
    width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--border-strong);
    font-family: inherit; font-size: 14.5px; color: var(--ink); background: var(--bg-soft); transition: all .15s;
  }
  .demo-field input:focus { outline: none; border-color: var(--gold); background: var(--card); box-shadow: 0 0 0 3px var(--gold-pale); }
  .demo-field .field-error { display: none; color: var(--red); font-size: 12px; margin-top: 5px; }
  .demo-field.has-error input { border-color: var(--red); }
  .demo-field.has-error .field-error { display: block; }

  .demo-modal-schedule { padding: 24px 32px 32px; border-left: 1px solid var(--border); }
  @media (max-width: 720px) { .demo-modal-schedule { border-left: none; border-top: 1px solid var(--border); } }
  .demo-schedule-label { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
  .demo-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
  .demo-cal-month { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14.5px; color: var(--ink); }
  .demo-cal-nav { display: flex; gap: 6px; }
  .demo-cal-nav button {
    width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--bg-soft);
    color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .15s;
  }
  .demo-cal-nav button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-dim); }
  .demo-cal-nav button:disabled { opacity: .35; cursor: not-allowed; }
  .demo-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 18px; }
  .demo-cal-dow { text-align: center; font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; padding-bottom: 4px; }
  .demo-cal-day {
    aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 8px;
    font-size: 13px; font-weight: 600; color: var(--ink); background: transparent; border: 1px solid transparent;
    cursor: pointer; transition: all .15s;
  }
  .demo-cal-day.is-empty { visibility: hidden; cursor: default; }
  .demo-cal-day.is-past { color: var(--muted); opacity: .35; cursor: not-allowed; }
  .demo-cal-day:not(.is-empty):not(.is-past):hover { border-color: var(--gold); background: var(--gold-pale); }
  .demo-cal-day.is-selected { background: var(--gold); color: var(--black); }
  .demo-cal-day.is-today:not(.is-selected) { border-color: var(--border-strong); }

  .demo-slots-label { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
  .demo-slots-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
  .demo-slot {
    padding: 9px 8px; border-radius: 8px; border: 1.5px solid var(--border-strong); background: var(--bg-soft);
    font-family: inherit; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; transition: all .15s;
  }
  .demo-slot:hover { border-color: var(--gold); color: var(--gold-dim); }
  .demo-slot.is-selected { background: var(--gold); border-color: var(--gold); color: var(--black); }
  .demo-slots-empty { font-size: 13px; color: var(--muted); padding: 8px 2px; }
  .demo-selected-summary {
    margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--gold-pale);
    border: 1px solid rgba(247,198,0,0.3); font-size: 13px; color: var(--ink); display: none;
  }
  .demo-selected-summary.is-visible { display: block; }
  .demo-selected-summary strong { color: var(--gold-dim); }

  .demo-modal-submit {
    grid-column: 1 / -1; margin: 0 32px 32px; padding: 14px; border-radius: 10px; border: none;
    background: var(--gold); color: var(--black); font-family: inherit; font-size: 15px; font-weight: 700;
    cursor: pointer; transition: all .2s;
  }
  .demo-modal-submit:hover { background: var(--accent); box-shadow: 0 6px 20px rgba(247,198,0,0.3); }
  .demo-modal-submit:disabled { opacity: .5; cursor: not-allowed; }

  .demo-success { padding: 56px 32px; text-align: center; grid-column: 1 / -1; }
  .demo-success-icon {
    width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--black);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
  }
  .demo-success h3 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; margin-bottom: 8px; color: var(--ink); }
  .demo-success p { color: var(--muted); font-size: 14.5px; }

  ::selection { background: var(--gold); color: var(--black); }

  /* ICONS */
  .icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: middle; }
  .icon-fill { fill: currentColor; stroke: none; }


  /* HERO (dark) */
  .hero {
    min-height: 100vh; padding-top: 108px;
    background:
      radial-gradient(ellipse 900px 600px at 85% 20%, rgba(247,198,0,0.10) 0%, transparent 60%),
      radial-gradient(ellipse 700px 500px at 10% 90%, rgba(247,198,0,0.05) 0%, transparent 60%),
      var(--black);
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0;
    overflow: hidden; position: relative;
  }
  .hero-left {
    padding: 90px 60px 90px 80px;
    display: flex; flex-direction: column; justify-content: center;
    position: relative; z-index: 2;
  }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(247,198,0,0.12); border: 1px solid rgba(247,198,0,0.28);
    border-radius: 100px; padding: 7px 16px; margin-bottom: 28px;
    color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
    width: fit-content;
  }
  .hero-eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; display: block; animation: pulseDot 2s ease-in-out infinite; }
  @keyframes pulseDot { 0%,100%{opacity:1; box-shadow:0 0 0 0 rgba(247,198,0,.5);} 50%{opacity:.6; box-shadow:0 0 0 6px rgba(247,198,0,0);} }
  .hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(40px, 4.6vw, 68px); font-weight: 700; line-height: 1.04;
    color: var(--white); margin-bottom: 26px; letter-spacing: -0.02em;
  }
  .hero h1 span { color: var(--gold); }
  .hero-sub {
    font-size: 19px; line-height: 1.7; color: var(--muted-dark); margin-bottom: 42px; max-width: 500px; font-weight: 400;
  }
  .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
  .btn-hero-primary {
    padding: 17px 32px; background: var(--gold); border: none; border-radius: 10px;
    color: var(--black); font-family: inherit; font-size: 16px; font-weight: 700;
    cursor: pointer; transition: all .2s; display: flex; align-items: center; gap: 8px;
  }
  .btn-hero-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(247,198,0,0.35); }
  .btn-hero-secondary {
    padding: 17px 32px; background: rgba(255,255,255,0.06); border: 1.5px solid var(--border-dark-strong);
    border-radius: 10px; color: var(--white); font-family: inherit; font-size: 16px; font-weight: 600;
    cursor: pointer; transition: all .2s; display: flex; align-items: center; gap: 8px;
  }
  .btn-hero-secondary:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,.3); }
  .hero-stats { display: flex; gap: 40px; }
  .hero-stat-num { font-size: 28px; font-weight: 800; color: var(--white); font-family: 'Space Grotesk', sans-serif; display: flex; align-items: center; gap: 6px; }
  .hero-stat-num span { color: var(--gold); }
  .hero-stat-label { font-size: 13px; color: var(--muted-dark); margin-top: 2px; }

  .hero-right {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center; padding: 40px 24px 40px 16px;
  }
  .hero-ring { position: absolute; width: 620px; height: 620px; border-radius: 50%; top: 50%; left: 52%; transform: translate(-50%,-50%); pointer-events: none; }
  .hero-ring svg { width: 100%; height: 100%; animation: spinSlow 60s linear infinite; }
  @keyframes spinSlow { from { transform: rotate(0deg);} to { transform: rotate(360deg);} }
  .hero-particles { position: absolute; inset: 0; pointer-events: none; }
  .hero-particle { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: .5; animation: floatUp linear infinite; }
  @keyframes floatUp { 0% { transform: translateY(20px); opacity: 0; } 10% { opacity: .6; } 90% { opacity: .3; } 100% { transform: translateY(-420px); opacity: 0; } }
  .hero-screen-stack { position: relative; width: 100%; max-width: 680px; z-index: 2; animation: floatCard 7s ease-in-out infinite; }
  @keyframes floatCard { 0%,100% { transform: translateY(0px); } 50% { transform: translateY(-14px); } }
  .hero-screen-main {
    width: 100%; border-radius: 16px; box-shadow: var(--shadow-dark-lg);
    border: 1px solid var(--border-dark-strong); overflow: hidden; position: relative; z-index: 2;
    background: var(--card-dark);
  }
  .hero-screen-main img { width: 100%; display: block; }
  .hero-sweep { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.16) 48%, transparent 60%); transform: translateX(-120%); animation: sweep 5s ease-in-out infinite; pointer-events: none; }
  @keyframes sweep { 0% { transform: translateX(-120%);} 35%,100% { transform: translateX(120%);} }
  .hero-screen-float {
    position: absolute; bottom: -34px; right: -26px; z-index: 3;
    width: 52%; border-radius: 12px; border: 1px solid var(--border-dark-strong);
    box-shadow: 0 24px 60px rgba(0,0,0,0.6); overflow: hidden;
    animation: floatCard2 6s ease-in-out infinite; background: var(--card-dark);
  }
  @keyframes floatCard2 { 0%,100% { transform: translateY(0px) translateX(0px); } 50% { transform: translateY(10px) translateX(-6px); } }
  .hero-screen-float img { width: 100%; display: block; }
  .hero-glow {
    position: absolute; width: 460px; height: 460px; border-radius: 50%;
    background: radial-gradient(circle, rgba(247,198,0,0.18) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
    animation: pulseGlow 4s ease-in-out infinite;
  }
  @keyframes pulseGlow { 0%,100% { opacity: .7; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.08); } }

  /* SECTION COMMON (light by default) */
  section { padding: 110px 80px; }
  section[id], div[id].gallery-stage { scroll-margin-top: 132px; }
  .section-eyebrow {
    font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--gold-dim); margin-bottom: 16px;
  }
  .section-title {
    font-family: 'Space Grotesk', sans-serif; font-size: clamp(32px, 4vw, 50px);
    font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink);
    margin-bottom: 22px;
  }
  .section-sub { font-size: 18px; color: var(--muted); line-height: 1.7; max-width: 580px; }
  .center { text-align: center; }
  .center .section-sub { margin: 0 auto; }

  /* LOGOS BAR (light) */
  .logos-bar {
    padding: 44px 80px; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  }
  .logos-bar-label { text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 28px; }
  .logos-row { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
  .logo-pill {
    padding: 10px 22px; border-radius: 100px; border: 1px solid var(--border-strong); background: var(--card);
    font-size: 13.5px; font-weight: 600; color: var(--ink-soft); letter-spacing: 0.02em;
  }

  /* PROBLEM (light) */
  .problem-section { background: var(--bg); color: var(--ink); padding: 110px 80px; }
  .pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1200px; margin: 48px auto 48px; }
  .pain-chip {
    display: flex; align-items: center; gap: 12px;
    padding: 18px 18px; background: var(--card);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    box-shadow: var(--shadow); transition: all .25s;
  }
  .pain-chip:hover { border-color: rgba(247,198,0,.4); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
  .pain-chip .icon-wrap { width: 38px; height: 38px; border-radius: 9px; background: rgba(239,68,68,0.08); color: #DC2626; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
  .pain-chip span { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
  .problem-image-wrap { max-width: 1200px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-dark-lg); border: 1px solid var(--border); }
  .problem-image-wrap img { width: 100%; display: block; }

  /* FEATURE SLIDE CONTENT (used inside each gallery-slide) */
  .feature-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .feature-inner.reverse { direction: rtl; }
  .feature-inner.reverse > * { direction: ltr; }
  .feature-content { }
  .feature-content .section-sub { margin-top: 20px; max-width: 100%; }
  .feature-bullets { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
  .feature-bullet { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-soft); font-weight: 500; }
  .feature-bullet::before { content: ''; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4.5L4.5 8L11 1' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
  .feature-screen {
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-dark-lg);
    border: 1px solid var(--border); transition: transform .4s ease, box-shadow .4s ease;
  }
  .feature-screen:hover { transform: translateY(-6px); box-shadow: var(--shadow-dark-lg), var(--glow); }
  .feature-screen img { width: 100%; display: block; }

  /* PRODUCT GALLERY (feature slideshow) — merged with workflow tabs into one flowing section */
  .gallery-section { background: var(--bg); }
  .gallery-stage { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--border); }
  .gallery-track { position: relative; }
  .gallery-slide {
    display: none; opacity: 0; transform: translateY(10px);
    transition: opacity .4s ease, transform .4s ease;
  }
  .gallery-slide.is-active { display: block; }
  .gallery-slide.is-active.is-visible { opacity: 1; transform: translateY(0); }

  .gallery-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 52px; }
  .gallery-arrow {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s;
  }
  .gallery-arrow:hover { border-color: rgba(247,198,0,.5); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
  .gallery-arrow .icon { width: 18px; height: 18px; }
  .gallery-dots { display: flex; align-items: center; gap: 9px; }
  .gallery-dot {
    width: 9px; height: 9px; border-radius: 100px; background: var(--border-strong);
    border: none; cursor: pointer; padding: 0; transition: width .25s, background .25s;
  }
  .gallery-dot:hover { background: var(--gold-dim); }
  .gallery-dot.is-active { width: 26px; background: var(--gold); }

  @media (prefers-reduced-motion: reduce) {
    .gallery-slide { transition: none !important; transform: none !important; }
  }
  @media (max-width: 640px) {
    .gallery-controls { gap: 14px; }
  }

  /* WORKFLOW TABS (light) — sits at the top of the merged how-it-works/features section */
  .workflow-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-top: 64px; align-items: stretch; position: relative; }
  .workflow-step {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    position: relative; padding: 0 14px; background: none; border: none; margin: 0;
    font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .workflow-step:not(:last-child)::after {
    content: ''; position: absolute; right: -2px; top: 34px; width: 24px; height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
  }
  .workflow-card {
    display: block; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px 18px; width: 100%; box-shadow: var(--shadow); transition: all .3s;
  }
  .workflow-card:hover { border-color: rgba(247,198,0,.4); transform: translateY(-6px); box-shadow: var(--shadow-lg), var(--glow); }
  .workflow-step.is-active .workflow-card {
    border-color: var(--gold); box-shadow: var(--shadow-lg), var(--glow); background: var(--gold-pale);
  }
  .step-circle {
    width: 56px; height: 56px; border-radius: 14px;
    background: rgba(247,198,0,0.12); border: 1.5px solid rgba(247,198,0,0.35);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin: 0 auto 16px; color: var(--gold-dim); transition: background .3s, border-color .3s, color .3s;
  }
  .workflow-step.is-active .step-circle { background: var(--gold); border-color: var(--gold); color: var(--black); }
  .step-label { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.4; margin-bottom: 8px; }
  .step-desc { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

  /* STATS / QUANTIFIED BENEFITS (light, warm tint) */
  .stats-section { background: var(--bg-alt); padding: 100px 80px; position: relative; overflow: hidden; }
  .stats-section::before { content:''; position:absolute; width:700px; height:700px; border-radius:50%; background: radial-gradient(circle, rgba(247,198,0,0.10) 0%, transparent 70%); top:50%; left:50%; transform:translate(-50%,-50%); pointer-events:none; }
  .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; position: relative; }
  .stat-card { padding: 36px 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); text-align: left; }
  .stat-number { font-family: 'Space Grotesk', sans-serif; font-size: 46px; font-weight: 800; color: var(--gold-dim); line-height: 1; margin-bottom: 14px; display: flex; align-items: baseline; gap: 6px; }
  .stat-title { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
  .stat-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

  /* VIDEO / PLATFORM PREVIEW (light) */
  .video-section { background: var(--bg); padding: 110px 80px; }
  .video-player-wrap { margin-top: 52px; max-width: 880px; margin-left: auto; margin-right: auto; }
  .video-player { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-dark); box-shadow: var(--shadow-dark-lg); background: var(--card-dark); aspect-ratio: 16/9; }
  .video-player img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .video-player-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.05) 55%, rgba(0,0,0,.75) 100%); }
  .video-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 80px; height: 80px; border-radius: 50%; background: var(--gold); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 28px rgba(247,198,0,0.35), 0 0 0 14px rgba(255,255,255,0.08); transition: transform .2s ease; }
  .video-play-btn:hover { transform: translate(-50%,-50%) scale(1.06); }
  .video-play-btn svg { width: 30px; height: 30px; color: var(--black); margin-left: 4px; }
  .video-duration { position: absolute; top: 18px; right: 18px; background: rgba(0,0,0,0.55); color: var(--white); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 6px; letter-spacing: .02em; }
  .video-controls { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 14px 20px; }
  .vc-btn { background: none; border: none; padding: 0; cursor: pointer; color: var(--white); opacity: .9; }
  .vc-btn .icon { width: 18px; height: 18px; stroke: currentColor; }
  .video-progress { position: relative; flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.25); }
  .video-progress-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 26%; border-radius: 2px; background: var(--gold); }
  .video-progress-knob { position: absolute; left: 26%; top: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); transform: translate(-50%,-50%); box-shadow: 0 0 0 3px rgba(247,198,0,0.25); }
  .video-time { color: var(--white); font-size: 12px; font-weight: 500; opacity: .85; white-space: nowrap; }

  /* PRICING (light) */
  .pricing-section { padding: 110px 80px; background: var(--bg-alt); }
  .pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; margin-bottom: 48px; }
  .toggle-label { font-size: 15px; font-weight: 600; color: var(--muted); }
  .toggle-label.active { color: var(--ink); }
  .toggle-switch {
    width: 52px; height: 28px; background: var(--gold); border-radius: 14px;
    cursor: pointer; position: relative; transition: background .2s;
  }
  .toggle-switch::after {
    content: ''; position: absolute; width: 22px; height: 22px; background: var(--black);
    border-radius: 50%; top: 3px; left: var(--pos, 3px); transition: left .2s;
  }
  .toggle-badge {
    background: var(--gold-pale); color: var(--gold-dim); font-size: 11px; font-weight: 700;
    padding: 4px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.05em; border: 1px solid rgba(247,198,0,.35);
  }
  .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .pricing-card {
    border-radius: var(--radius); border: 1px solid var(--border); padding: 40px 36px;
    position: relative; transition: all .3s; background: var(--card); box-shadow: var(--shadow);
  }
  .pricing-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
  .pricing-card.featured {
    border-color: var(--gold); background: linear-gradient(180deg, rgba(247,198,0,0.08), var(--card) 40%);
    transform: scale(1.03); box-shadow: var(--shadow-lg);
  }
  .pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }
  .pricing-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--gold); color: var(--black); font-size: 12px; font-weight: 800;
    padding: 5px 16px; border-radius: 100px; white-space: nowrap; letter-spacing: 0.05em; text-transform: uppercase;
  }
  .pricing-tier { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
  .pricing-price { font-family: 'Space Grotesk', sans-serif; font-size: 48px; font-weight: 700; color: var(--ink); line-height: 1; margin-bottom: 4px; }
  .pricing-price span { font-size: 20px; font-weight: 400; color: var(--muted); }
  .pricing-desc { font-size: 14px; color: var(--muted); margin-bottom: 28px; margin-top: 10px; line-height: 1.6; }
  .pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
  .pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); }
  .pricing-features li svg { flex-shrink: 0; color: var(--gold-dim); }
  .btn-pricing { width: 100%; padding: 14px; border-radius: 10px; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: all .2s; }
  .btn-pricing-primary { background: var(--gold); border: none; color: var(--black); }
  .btn-pricing-primary:hover { background: var(--accent); }
  .btn-pricing-outline { background: none; border: 1.5px solid var(--border-strong); color: var(--ink); }
  .btn-pricing-outline:hover { border-color: var(--gold-dim); color: var(--gold-dim); }

  /* COMPARISON (light) */
  .comparison-section { background: var(--bg); padding: 110px 80px; }
  .comparison-table-wrap { margin-top: 52px; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
  table.comparison-table { width: 100%; border-collapse: collapse; min-width: 920px; background: var(--card); }
  .comparison-table th, .comparison-table td { padding: 18px 20px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
  .comparison-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; background: var(--bg-alt); }
  .comparison-table tbody tr:last-child td { border-bottom: none; }
  .comparison-table tbody tr:hover td { background: rgba(17,17,17,0.025); }
  .comparison-table td.platform-name { font-weight: 700; color: var(--ink); }
  .comparison-table tr.ts-row td { background: rgba(247,198,0,0.09); font-weight: 600; }
  .comparison-table tr.ts-row td.platform-name { color: var(--gold-dim); font-weight: 800; }
  .comparison-table tr.ts-row { box-shadow: inset 3px 0 0 var(--gold); }
  .yes-icon { color: var(--gold-dim); }
  .no-icon { color: #B8B8B8; }
  .partial-tag { font-size: 11px; color: var(--muted); border: 1px solid var(--border-strong); padding: 2px 8px; border-radius: 100px; }

  /* PLATFORM: OPEN API + FLEET (merged, light section with dark hub + dark banner) */
  .platform-section { background: var(--bg-alt); padding: 110px 80px; position: relative; overflow: hidden; }
  .platform-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; margin-top: 56px; align-items: start; }
  .platform-col-title { font-family: 'Space Grotesk', sans-serif; font-size: 25px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 12px; line-height: 1.2; }
  .platform-col-sub { font-size: 14.5px; color: var(--muted); line-height: 1.7; max-width: 460px; }

  /* Open API hub-and-spoke visual */
  .api-hub { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1; margin: 44px auto 0; }
  .api-hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .hub-line { stroke: rgba(247,198,0,0.32); stroke-width: 2; stroke-dasharray: 5 9; stroke-linecap: round; animation: hubFlow 3.4s linear infinite; }
  @keyframes hubFlow { to { stroke-dashoffset: -28; } }
  .hub-core { position: absolute; top: 50%; left: 50%; width: 128px; height: 128px; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle at 34% 28%, #232320, var(--black)); border: 1px solid var(--border-dark-strong); box-shadow: var(--shadow-dark-lg); display: flex; align-items: center; justify-content: center; z-index: 3; }
  .hub-core-ring { position: absolute; inset: -13px; border-radius: 50%; border: 1px solid rgba(247,198,0,0.35); animation: pulseGlow 4s ease-in-out infinite; pointer-events: none; }
  .hub-core-inner { text-align: center; }
  .hub-core-inner svg { width: 26px; height: 26px; color: var(--gold); margin-bottom: 6px; }
  .hub-core-inner span { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.01em; color: var(--white); }
  .hub-node { position: absolute; width: 148px; padding: 15px 14px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); text-align: center; transition: all .25s; z-index: 2; transform: translate(-50%,-50%); }
  .hub-node:hover { border-color: rgba(247,198,0,.45); box-shadow: var(--shadow-lg), var(--glow); transform: translate(-50%,-50%) translateY(-3px); }
  .hub-node-icon { width: 28px; height: 28px; margin: 0 auto 8px; color: var(--gold-dim); display: flex; align-items: center; justify-content: center; }
  .hub-node-name { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
  .hub-node-desc { font-size: 11px; color: var(--muted); margin-top: 2px; line-height: 1.4; }

  /* Fleet operations workflow + feature grid */
  .fleet-flow { display: flex; flex-direction: column; align-items: center; margin-top: 40px; }
  .fleet-flow-step { width: 100%; max-width: 340px; padding: 13px 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow); text-align: center; font-size: 13.5px; font-weight: 700; color: var(--ink-soft); }
  .fleet-flow-arrow { color: var(--gold-dim); margin: 3px 0; display: flex; }
  .fleet-flow-arrow svg { width: 15px; height: 15px; }
  .fleet-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 36px; }
  .fleet-feature-card { display: flex; align-items: center; gap: 10px; padding: 13px 14px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow); font-size: 12.5px; font-weight: 600; color: var(--ink-soft); transition: all .2s; }
  .fleet-feature-card:hover { border-color: rgba(247,198,0,.4); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
  .fleet-feature-card .icon-wrap { width: 30px; height: 30px; border-radius: 8px; background: rgba(247,198,0,0.12); color: var(--gold-dim); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .fleet-feature-card .icon-wrap svg { width: 16px; height: 16px; }

  /* Bottom banner */
  .platform-banner { margin-top: 84px; padding: 56px 60px; border-radius: var(--radius); background: linear-gradient(160deg, var(--black), var(--charcoal)); border: 1px solid var(--border-dark); text-align: center; position: relative; overflow: hidden; }
  .platform-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 640px 320px at 50% 0%, rgba(247,198,0,0.14), transparent 62%); pointer-events: none; }
  .platform-banner-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(26px, 3vw, 38px); font-weight: 700; color: var(--white); margin-bottom: 16px; position: relative; z-index: 1; }
  .platform-banner-text { font-size: 16px; color: var(--muted-dark); line-height: 1.7; max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
  .platform-banner-bold { margin-top: 20px; font-weight: 700; color: var(--gold); font-size: 16.5px; position: relative; z-index: 1; }

  /* TESTIMONIALS (light) */
  .testimonials-section { padding: 110px 80px; background: var(--bg); }
  .testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
  .testimonial-card {
    padding: 32px; border-radius: var(--radius); border: 1px solid var(--border);
    background: var(--card); box-shadow: var(--shadow); position: relative;
  }
  .testimonial-stars { display: flex; gap: 3px; color: var(--gold-dim); margin-bottom: 18px; }
  .testimonial-text { font-size: 15px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 24px; }
  .testimonial-author { display: flex; align-items: center; gap: 12px; }
  .author-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-dim)); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--black); font-size: 16px; }
  .author-name { font-size: 14px; font-weight: 700; color: var(--ink); }
  .author-title { font-size: 12px; color: var(--muted); margin-top: 2px; }

  /* FAQ (light) */
  .faq-section { background: var(--bg-alt); padding: 110px 80px; }
  .faq-list { max-width: 780px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 0; }
  .faq-item { border-bottom: 1px solid var(--border); }
  .faq-q {
    padding: 26px 0; font-size: 16px; font-weight: 600; color: var(--ink);
    cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
    list-style: none; user-select: none;
  }
  .faq-q::-webkit-details-marker { display: none; }
  .faq-chevron { flex-shrink: 0; color: var(--muted); transition: transform .3s; display:flex; }
  details[open] .faq-chevron { transform: rotate(180deg); color: var(--gold-dim); }
  .faq-a { padding-bottom: 26px; font-size: 15px; line-height: 1.8; color: var(--muted); max-width: 700px; }

  /* FINAL CTA (dark) */
  .final-cta {
    padding: 130px 80px; background: var(--black);
    text-align: center; position: relative; overflow: hidden;
  }
  .final-cta::before {
    content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(247,198,0,0.14) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
  }
  .final-cta .section-title { color: var(--white); position: relative; }
  .final-cta .section-sub { color: var(--muted-dark); position: relative; margin: 0 auto; }
  .final-cta-buttons { display: flex; gap: 16px; justify-content: center; margin-top: 40px; position: relative; }


  /* RESPONSIVE */
  @media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-left { padding: 80px 40px 50px; }
    .hero-right { display: none; }
    .feature-inner { grid-template-columns: 1fr; gap: 40px; }
    .feature-inner.reverse { direction: ltr; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .pricing-card.featured { transform: none; }
    .pricing-card.featured:hover { transform: translateY(-4px); }
    .platform-split { grid-template-columns: 1fr; gap: 56px; }
    .api-hub { max-width: 420px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .pain-grid { grid-template-columns: repeat(2,1fr); }
    .workflow-steps { grid-template-columns: repeat(3, 1fr); gap: 20px 0; }
    .workflow-step:nth-child(3)::after { display:none; }
    .workflow-step::after { display: none; }
    .fleet-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .video-controls { gap: 10px; padding: 12px 14px; }
    .video-play-btn { width: 64px; height: 64px; }
    section { padding: 80px 40px; }
  }

  @media (max-width: 640px) {
    section { padding: 64px 24px; }
    .hero-left { padding: 60px 24px; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .stats-grid { grid-template-columns: 1fr; }
    .api-hub { max-width: 100%; height: auto; aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .api-hub-lines, .hub-core, .hub-core-ring { display: none; }
    .hub-node { position: static; transform: none; width: auto; }
    .hub-node:hover { transform: translateY(-2px); }
    .workflow-steps { grid-template-columns: 1fr; }
    .workflow-step::after { display: none; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .logos-bar { padding: 32px 24px; }
    .logos-row { gap: 10px; }
    .pain-grid { grid-template-columns: 1fr; }
    .fleet-feature-grid { grid-template-columns: 1fr; }
    .platform-banner { padding: 40px 24px; }
    .comparison-section, .pricing-section { padding-left: 24px; padding-right: 24px; }
  }

