/* =====================================================================
   GLOBALI — Building Global Brands in India
   Design system / shared styles
   ---------------------------------------------------------------------
   REBRANDING: change the variables in :root below (colors + fonts).
   Everything else on the site inherits from these tokens.
   ===================================================================== */

:root {
  /* ---- Brand palette (edit these to match your brand kit) ---- */
  --brand-navy: #1C3B5A;   /* Globali logo navy — wordmark */
  --ink:        #0F1E3A;   /* deep navy — primary text & dark sections */
  --ink-2:      #17294B;   /* raised dark surface */
  --ink-soft:   #3a4a63;   /* secondary text on light */
  --muted:      #64748b;   /* captions / meta */
  --line:       #e5e9f0;   /* hairline borders */
  --surface:    #ffffff;   /* page background */
  --surface-2:  #f5f8fc;   /* alt section background */
  --surface-3:  #eef2f8;

  --accent:     #2563EB;   /* Globali blue (deck title blue) — CTAs, highlights */
  --accent-2:   #4F86F7;   /* lighter blue for gradients */
  --accent-ink: #1D4ED8;   /* darker blue for text on light */
  --teal:       #0891B2;   /* cyan — quick-commerce / data accent */
  --blue:       #2563eb;   /* marketplace accent */

  /* ---- Typography ---- */
  --font-head: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ---- Layout ---- */
  --wrap: 1240px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11,21,36,.06), 0 4px 16px rgba(11,21,36,.05);
  --shadow-md: 0 10px 40px rgba(11,21,36,.10);
  --shadow-lg: 0 30px 80px rgba(11,21,36,.16);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
p { color: var(--ink-soft); }

/* ---------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section--tight { padding: clamp(48px, 6vw, 90px) 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: #b7c2d4; }
.section--alt { background: var(--surface-2); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.maxw-720 { max-width: 720px; }
.maxw-620 { max-width: 620px; }

/* eyebrow / kicker */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.section--dark .kicker { color: var(--accent-2); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft); line-height: 1.55; }
.section--dark .lead { color: #cdd6e4; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 15px 28px; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(37,99,235,.32); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(37,99,235,.42); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); background: var(--ink-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.section--dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.section--dark .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600; color: var(--accent-ink); transition: gap .2s var(--ease); }
.link-arrow:hover { gap: 12px; }
.section--dark .link-arrow { color: var(--accent-2); }

/* ---------------------------------------------------------------- header / nav */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
/* Globali logo lockup: navy wordmark + blue globe (replace the "O") */
.brand { display: inline-flex; align-items: center; gap: .05em; font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; letter-spacing: .04em; line-height: 1; }
.brand .bw { color: var(--brand-navy); }
.brand .brand-globe { display: inline-flex; align-items: center; justify-content: center; width: .96em; height: .96em; transform: translateY(.03em); }
.brand .brand-globe svg { width: 100%; height: 100%; }
.site-footer .brand .bw { color: #fff; }
/* real Globali logo image */
.brand-img { height: 30px; width: auto; display: block; }
.site-header .brand-img { height: 29px; }   /* reduced 15% */
.site-footer .brand-img { height: 30px; filter: brightness(0) invert(1); } /* white knockout on dark footer */
/* legacy square mark — still used inside the Globali OS dashboard mock */
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(37,99,235,.35);
}

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-family: var(--font-head); font-weight: 500; font-size: .96rem; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: .3s; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(70px, 10vw, 130px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 32px; max-width: 560px; }
.hero-note { margin-top: 22px; font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--teal); }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface-2); border: 1px solid var(--line);
  padding: 8px 16px 8px 10px; border-radius: 100px; margin-bottom: 26px;
  font-size: .86rem; font-weight: 500; color: var(--ink-soft);
}
.pill b { background: var(--accent); color: #fff; font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .04em; padding: 3px 9px; border-radius: 100px; }

/* hero stat cards */
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-card .num { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.stat-card .num small { font-size: 1.1rem; color: var(--accent); }
.stat-card .lbl { margin-top: 8px; font-size: .88rem; color: var(--muted); line-height: 1.35; }

/* ---------------------------------------------------------------- section head */
.sec-head { max-width: 760px; margin-bottom: 54px; }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-head p { margin-top: 16px; }

/* ---------------------------------------------------------------- grids & cards */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .ico {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(255,138,61,.12));
  color: var(--accent); margin-bottom: 18px;
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { font-size: .96rem; }
.card--dark { background: var(--ink-2); border-color: rgba(255,255,255,.08); }
.card--dark h3 { color: #fff; } .card--dark p { color: #aebbcd; }

/* feature list with checks */
.checks { display: grid; gap: 12px; margin-top: 6px; }
.checks li { display: flex; align-items: flex-start; gap: 11px; color: var(--ink-soft); font-size: .98rem; }
.checks li svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--teal); margin-top: 2px; }
.section--dark .checks li { color: #cdd6e4; }

/* ---------------------------------------------------------------- stat band */
.statband { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.statband .cell { padding: 34px 26px; border-right: 1px solid var(--line); }
.statband .cell:last-child { border-right: 0; }
.statband .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem,3.4vw,2.9rem); letter-spacing: -0.03em; line-height: 1; background: linear-gradient(120deg,var(--ink),var(--accent-ink)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.statband .lbl { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.section--dark .statband { background: var(--ink-2); border-color: rgba(255,255,255,.08); }
.section--dark .statband .cell { border-color: rgba(255,255,255,.08); }
.section--dark .statband .num { background: linear-gradient(120deg,#fff,var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------------------------------------------------------------- logo strip */
.logostrip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.logostrip .label { text-align: center; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; font-family: var(--font-head); margin-bottom: 22px; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.wordmark { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; color: #9aa7b8; opacity: .9; transition: color .25s, opacity .25s; }
.wordmark:hover { color: var(--ink); opacity: 1; }
/* real logo images — uniform size + muted grayscale, colour on hover */
.blogo { height: 28px; width: auto; max-width: 130px; object-fit: contain;
  filter: grayscale(1) opacity(.6); transition: filter .35s var(--ease), transform .35s var(--ease); }
.blogo:hover { filter: grayscale(0) opacity(1); transform: translateY(-3px); }
.blogo.sm { height: 24px; }
.case-logo { height: 44px; width: auto; max-width: 190px; object-fit: contain; margin-bottom: 16px; }

/* ---------------------------------------------------------------- split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: -1; }
.split-media {
  border-radius: var(--radius); overflow: hidden; min-height: 340px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  position: relative; box-shadow: var(--shadow-md);
}

/* ---------------------------------------------------------------- image placeholder */
.imgph {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(37,99,235,.18), transparent 50%),
    radial-gradient(120% 120% at 100% 100%, rgba(8,145,178,.16), transparent 50%),
    linear-gradient(135deg,#111e33,#1b2f4d);
  display: grid; place-items: center; min-height: 320px; color: #6b7f9c;
}
.imgph[data-tall] { min-height: 440px; }
.imgph .imgph-tag {
  position: absolute; bottom: 14px; left: 14px;
  font-family: var(--font-head); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.55); background: rgba(0,0,0,.28); padding: 6px 11px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.12);
}
.imgph svg { width: 46px; height: 46px; opacity: .5; }

/* ---------------------------------------------------------------- process / steps */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step .n { counter-increment: step; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 700; }
.step h4 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: .95rem; }

/* pipeline (5 stage) */
.pipeline { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.pl-stage { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 18px; position: relative; }
.pl-stage .st-n { font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .1em; color: var(--accent-ink); text-transform: uppercase; }
.pl-stage h4 { font-size: 1.05rem; margin: 8px 0 10px; }
.pl-stage ul li { font-size: .86rem; color: var(--muted); padding: 3px 0; }
.section--dark .pl-stage { background: var(--ink-2); border-color: rgba(255,255,255,.08); }
.section--dark .pl-stage h4 { color:#fff; }

/* ---------------------------------------------------------------- comparison table */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
table.cmp th, table.cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: .96rem; }
table.cmp thead th { font-family: var(--font-head); font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
table.cmp thead th.hl { color: var(--accent-ink); }
table.cmp td:first-child { font-weight: 600; color: var(--ink); }
table.cmp td.hl { background: rgba(37,99,235,.05); font-weight: 600; color: var(--ink); }
table.cmp tr:last-child td { border-bottom: 0; }

/* ---------------------------------------------------------------- CTA band */
.cta-band { background: linear-gradient(135deg, var(--ink) 0%, #13233c 60%, #1c2f4d 100%); border-radius: 26px; padding: clamp(40px,6vw,72px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content:""; position:absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.35), transparent 65%); top: -160px; right: -120px; }
.cta-band::after { content:""; position:absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(8,145,178,.28), transparent 65%); bottom: -180px; left: -120px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: #c6d0df; max-width: 560px; margin: 0 auto 30px; }
/* ghost button is on a dark band here — make it visible */
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.34); }
.cta-band .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: #9fb0c6; padding: 70px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer h5 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-head); }
.site-footer ul li { padding: 6px 0; }
.site-footer a { color: #9fb0c6; font-size: .95rem; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-about p { color: #8fa0b8; font-size: .95rem; max-width: 320px; margin-bottom: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: .86rem; color: #7286a0; }
.footer-contact li { display: flex; gap: 9px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; margin-top: 4px; color: var(--accent-2); flex: 0 0 auto; }

/* ---------------------------------------------------------------- misc badges */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-family: var(--font-head); font-size: .8rem; font-weight: 600; padding: 6px 13px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-soft); }
.tag--accent { background: rgba(37,99,235,.1); color: var(--accent-ink); border-color: rgba(37,99,235,.2); }
.tag--teal { background: rgba(8,145,178,.1); color: #0E7490; border-color: rgba(8,145,178,.22); }

/* footer legal links */
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: #7286a0; }
.footer-legal a:hover { color: #fff; }

/* WhatsApp floating button */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.22); transition: transform .25s var(--ease); }
.wa-fab:hover { transform: translateY(-3px) scale(1.05); }
.wa-fab svg { width: 30px; height: 30px; fill: #fff; }

/* legal / prose pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin: 34px 0 12px; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 12px; }
.prose ul { list-style: disc; padding-left: 22px; }

/* page hero (interior) */
.page-hero { padding: clamp(56px,8vw,110px) 0 clamp(30px,4vw,56px); position: relative; overflow: hidden; }
.page-hero .crumb { font-family: var(--font-head); font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); margin-bottom: 20px; }
.page-hero .crumb a:hover { color: var(--accent-ink); }
.page-hero h1 { max-width: 900px; }
.page-hero .lead { max-width: 680px; margin-top: 20px; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ================================================================ motion & richer components */
/* card hover accent line */
.card { position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--teal)); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease); }
.card:hover::after { transform: scaleX(1); }
.card--dark::after { opacity: .9; }

/* gradient numbers */
.gnum { background: linear-gradient(120deg, var(--ink), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* hero floating blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .5; z-index: 0; pointer-events: none; }
.blob.b1 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(37,99,235,.30), transparent 70%); top: -140px; left: -120px; animation: float1 16s ease-in-out infinite; }
.blob.b2 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(8,145,178,.26), transparent 70%); top: 40px; right: -140px; animation: float2 19s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,30px) scale(1.08); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px,24px) scale(1.06); } }

/* trusted-by marquee — seamless auto-scroll, every logo in an equal-size box (+10% larger) */
.marquee { overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: 0 0 auto; }
.mq-item { flex: 0 0 auto; width: 158px; height: 58px; display: flex; align-items: center; justify-content: center; }
.mq-item img { width: 144px; height: auto; object-fit: contain;   /* every logo is a 320x100 canvas, so equal footprint */
  filter: grayscale(1) opacity(.6); transition: filter .35s var(--ease), transform .35s var(--ease); }
.mq-item:hover img { filter: none; transform: translateY(-2px); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* vertical 5-stage timeline (E-commerce) */
.stage-vert { display: grid; gap: 0; position: relative; }
.stage-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 0; min-height: 92px; align-items: start; position: relative; }
.stage-item:last-child { min-height: 44px; }
.stage-item::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line); }
.stage-item:last-child::before { display: none; }
.stage-dot { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: .95rem; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 6px 16px rgba(37,99,235,.28); z-index: 1; }
.stage-item.lead .stage-dot { background: linear-gradient(135deg, var(--ink), var(--ink-2)); }
.stage-item h4 { font-size: 1.05rem; margin: 8px 0 3px; }
.stage-item p { font-size: .9rem; margin: 0; }

/* platform cards (Different platforms own different consumers) */
.plat-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.plat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.plat-card .plat-logos { display: flex; align-items: center; height: 34px; margin-bottom: 16px; }
.plat-card .plat-logos img { max-height: 30px; max-width: 130px; width: auto; object-fit: contain; }
.plat-card .plat-stat { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; line-height: 1; background: linear-gradient(120deg, var(--accent-ink), var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.plat-card .plat-stat span { font-size: .95rem; color: var(--muted); font-weight: 600; -webkit-text-fill-color: initial; }
.plat-card p { font-size: .94rem; margin-top: 8px; }
.plat-card .plat-tag { position: absolute; top: 18px; right: 18px; font-family: var(--font-head); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); background: rgba(37,99,235,.08); padding: 5px 10px; border-radius: 100px; }

/* quick-commerce platform chips (uniform, in colour) */
.qc-logo { width: 96px; height: 42px; background: #fff; border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 6px 10px; }
.qc-logo img { max-height: 24px; max-width: 74px; width: auto; object-fit: contain; }

/* ---------------- live telemetry ticker ---------------- */
.ticker { background: var(--ink); color: #cdd9ea; border-radius: 100px; padding: 9px 8px; display: flex; align-items: center; gap: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.ticker .live { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.08); padding: 5px 12px; border-radius: 100px; }
.ticker .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.7); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.ticker-scroll { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 34px; width: max-content; animation: marquee 30s linear infinite; font-size: .84rem; font-family: var(--font-head); font-weight: 500; }
.ticker-track b { color: #fff; }
.ticker-track .sep { color: var(--accent-2); }

/* ---------------- case-study brand panels (hover-reveal) ---------------- */
.case-media { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 360px; box-shadow: var(--shadow-md);
  background: var(--b); /* fallback */
  background: linear-gradient(135deg, color-mix(in srgb, var(--b) 88%, #000 0%), color-mix(in srgb, var(--b) 60%, #0b1524 40%)); }
.case-media .cm-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.case-media .cm-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,21,36,.12), rgba(11,21,36,.44)); z-index: 1; }
.case-media .cm-logo, .case-media .cm-slot, .case-media .cm-hover { z-index: 2; }
.case-media .cm-logo { position: absolute; inset: 0; margin: auto; width: 210px; height: 66px; background: #fff; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; padding: 12px 18px; box-shadow: 0 14px 40px rgba(0,0,0,.22); transition: transform .5s var(--ease), opacity .4s; }
.case-media .cm-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.case-media .cm-slot { position: absolute; bottom: 12px; left: 12px; font-family: var(--font-head); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.7); background: rgba(0,0,0,.25); padding: 5px 10px; border-radius: 100px; border: 1px solid rgba(255,255,255,.16); }
.case-media .cm-hover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--b) 92%, #000 8%), rgba(11,21,36,.86)); opacity: 0; transition: opacity .45s var(--ease); text-align: center; padding: 20px; }
.case-media:hover .cm-hover { opacity: 1; }
.case-media:hover .cm-logo { transform: scale(.9); opacity: 0; }
.case-media .cm-metric { font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; color: #fff; }
.case-media .cm-sub { color: rgba(255,255,255,.86); font-size: 1rem; }
.case-media .cm-pills { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.case-media .cm-pills span { font-family: var(--font-head); font-size: .74rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.24); padding: 5px 11px; border-radius: 100px; }
.liveon { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; }
.liveon .lbl { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.liveon img { height: 22px; width: auto; max-width: 92px; object-fit: contain; filter: grayscale(1) opacity(.62); transition: filter .3s; }
.liveon img:hover { filter: none; }

/* section soft tint */
.section--tint { background: linear-gradient(180deg, #f7faff, #eef4fd); }

/* results teaser card */
.result-card { display: block; }
.result-card .r-cat { font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.result-card .r-metric { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; margin: 12px 0 4px; background: linear-gradient(120deg, var(--ink), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .blob { animation: none !important; }
}

/* ================================================================ vibrancy layer */
:root { --grad-brand: linear-gradient(135deg, #2563EB 0%, #4F86F7 55%, #0FB5D6 100%); }
/* gradient primary buttons */
.btn--primary { background: var(--grad-brand); box-shadow: 0 10px 26px rgba(37,99,235,.34); }
.btn--primary:hover { box-shadow: 0 16px 38px rgba(37,99,235,.46); }
/* richer, tinted card hover */
.card { transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(37,99,235,.14); }
.stat-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(37,99,235,.16); }
/* colourful kicker chip */
.kicker { background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(15,181,178,.10)); padding: 6px 13px 6px 11px; border-radius: 100px; }
.kicker::before { background: var(--grad-brand); }
.section--dark .kicker { background: rgba(255,255,255,.06); }
/* vivid tags */
.tag--accent { background: rgba(37,99,235,.12); }
.tag--teal { background: rgba(8,145,178,.13); }
/* dark sections get a subtle blue depth + glow blobs */
.section--dark { background: radial-gradient(120% 90% at 100% 0%, #16345e 0%, var(--ink) 55%); position: relative; overflow: hidden; }
.section--dark .wrap { position: relative; z-index: 1; }
/* animated gradient accent word in hero */
.hero h1 span { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* links pop */
.link-arrow { color: var(--accent); }
.link-arrow:hover { color: var(--accent-ink); }
/* pill accent */
.pill b { background: var(--grad-brand); }
/* stat band numbers a touch bolder gradient */
.statband .num { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
/* section alt gets a faint blue wash */
.section--alt { background: linear-gradient(180deg, #f4f8ff 0%, #eef3fb 100%); }
/* reveal: add slight scale for life */
.reveal { transform: translateY(28px) scale(.99); }
.reveal.in { transform: none; }

/* ---------------- layered platform stack ---------------- */
.stack-wrap { display: grid; grid-template-columns: 1fr 150px; gap: 26px; align-items: center; }
.stack { display: grid; gap: 14px; }
.stack-row { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: center; border-radius: 16px; padding: 24px 28px; color: #fff; box-shadow: var(--shadow-md); transition: transform .4s var(--ease); }
.stack-row:hover { transform: translateX(8px); }
.stack-row .lyr small { display: block; font-family: var(--font-head); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; opacity: .78; margin-bottom: 2px; }
.stack-row .lyr b { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; line-height: 1; }
.stack-row h3 { color: #fff; font-size: 1.25rem; margin-bottom: 4px; }
.stack-row .kick { font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: rgba(255,255,255,.72); margin-bottom: 8px; }
.stack-row p { color: rgba(255,255,255,.86); font-size: .95rem; margin-bottom: 12px; }
.stack-row .prod { display: flex; flex-wrap: wrap; gap: 7px; }
.stack-row .prod span { font-family: var(--font-head); font-size: .74rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.24); padding: 4px 11px; border-radius: 100px; }
.stack-row.l3 { background: linear-gradient(135deg, #2563EB, #0FB5D6); }
.stack-row.l2 { background: linear-gradient(135deg, #1d4ed8, #2f6ae0); }
.stack-row.l1 { background: linear-gradient(135deg, #0f1e3a, #1b3355); }
.stack-updir { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--accent-ink); font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-align: center; height: 100%; }
.stack-updir .arrow { width: 40px; height: 200px; border-radius: 100px; background: linear-gradient(180deg, var(--accent), var(--teal)); position: relative; opacity: .85; }
.stack-updir .arrow::before { content: "↑"; position: absolute; top: 8px; left: 0; right: 0; text-align: center; color: #fff; font-size: 1.3rem; }
@media (max-width: 820px) { .stack-wrap { grid-template-columns: 1fr; } .stack-updir { flex-direction: row; height: auto; } .stack-updir .arrow { width: 100%; height: 30px; } .stack-updir .arrow::before { top: 3px; } }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .split-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .statband { grid-template-columns: repeat(2,1fr); }
  .statband .cell:nth-child(2) { border-right: 0; }
  .statband .cell:nth-child(1), .statband .cell:nth-child(2) { border-bottom: 1px solid var(--line); }
  .pipeline { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open + .mobile-menu { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .statband { grid-template-columns: 1fr 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* mobile menu */
.mobile-menu { display: none; position: fixed; inset: 74px 0 0; background: #fff; z-index: 99; padding: 30px 24px; border-top: 1px solid var(--line); }
.mobile-menu.show { display: block; }
.mobile-menu a { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-menu .btn { width: 100%; margin-top: 24px; }
