/* ============================================
   Zestta — Delight as a Service
   ============================================ */

:root {
  --bg-deep: #050B1F;
  --ink: #0B1020;
  --accent-blue: #003293;
  --accent-purple: #A855F7;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito Sans', sans-serif;
  background: #fff;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.font-serif-display { font-family: 'Nunito Sans', sans-serif; font-weight: 500; letter-spacing: -0.01em; }
.font-display { font-family: 'Nunito Sans', sans-serif; letter-spacing: -0.02em; }

.grad-text-blue { background: linear-gradient(90deg, #2B7FFF 0%, #9810FA 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-purple { background: linear-gradient(90deg, #2B7FFF 0%, #9810FA 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-sky { background: linear-gradient(90deg, #3B82F6 0%, #60A5FA 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== HERO ===== */
.hero-wrap {
  position: relative;
  background: radial-gradient(120% 80% at 50% 30%, #0E1E4A 0%, #06091E 70%);
  overflow: hidden;
  min-height: 760px;
}
#three-hero { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fade-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background: linear-gradient(to bottom, transparent, #06091E 80%);
  pointer-events: none;
}

.btn-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.1rem; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  transition: all .2s ease; cursor: pointer;
}
.btn-white { background: #fff; color: #0B1020; }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(255,255,255,.15); }
.btn-primary { background: linear-gradient(90deg, #003293, #003293); color: #fff; }
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* ===== WHAT WE OFFER ===== */
.offer-wrap {
  position: relative;
  background: #06091E;
  overflow: hidden;
}
.offer-wrap::before {
  content: '';
  position: absolute; inset: 0;
  /* soft checker — matches reference */
  background-image:
    linear-gradient(rgba(120,150,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,150,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 70% at 50% 50%, #000 40%, transparent 100%);
  pointer-events: none;
}
.offer-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 85% 15%, rgba(45,92,255,.20), transparent 60%),
    radial-gradient(50% 60% at 15% 90%, rgba(124,92,255,.16), transparent 60%);
  pointer-events: none;
}
.offer-card-bg {
  position: relative;
  background: linear-gradient(180deg, #E9EEFF 0%, #DCE6FF 100%);
  border-radius: 28px;
  overflow: hidden;
  z-index: 1;
}
.offer-card-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(45,92,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,92,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(80% 70% at 70% 50%, #000 30%, transparent 90%);
  pointer-events: none;
}

.offer-tab {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 0; font-size: 15px; color: #64748B;
  cursor: pointer; transition: color .2s ease;
}
.offer-tab.active { color: #003293; font-weight: 700; }
.offer-tab .arrow { width: 24px; height: 1px; background: currentColor; transition: all .3s; opacity: 0; }
.offer-tab.active .arrow { width: 36px; opacity: 1; }

/* Crossfade frame */
.offer-frame {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 24px;
  overflow: hidden;
}
.offer-frame .slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .8s ease, transform 1.2s ease;
}
.offer-frame .slide.on { opacity: 1; transform: scale(1); }
.offer-frame .slide img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ===== ECOSYSTEM ===== */
.ecosystem-wrap {
  background-color: #03071B;
  position: relative;
  overflow: hidden;
}
.eco-bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.ecosystem-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 50%, rgba(3,7,27,0) 30%, rgba(3,7,27,.7) 90%);
  pointer-events: none;
  z-index: 1;
}
.ecosystem-wrap > .max-w-6xl { position: relative; z-index: 2; }
.ecosystem-stage {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 1200/640;
  margin: 0 auto;
}
.ecosystem-stage .z-img {
  position: absolute;
  left: 50%; top: 50%;
  width: 200px; height: 200px;
  transform: translate(-50%, -50%);
  z-index: 2;
  filter: drop-shadow(0 0 40px rgba(99,130,255,.25));
}
.eco-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  font-weight: 500;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.eco-node.right-side { flex-direction: row-reverse; }
.eco-node.bottom-center { flex-direction: column; gap: 10px; text-align: center; }
.eco-node .icon-wrap { width: 64px; height: 64px; transition: transform .3s ease, filter .3s ease; flex-shrink: 0; }
.eco-node .icon-wrap img { width: 100%; height: 100%; display: block; }
.eco-node:hover .icon-wrap { transform: scale(1.08); filter: drop-shadow(0 0 18px rgba(255,230,161,.5)); }

.eco-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.eco-path { fill: none; stroke: #FFFFFF; stroke-opacity: 0.1; stroke-width: 0.89; }
.eco-travel {
  fill: none;
  stroke: url(#goldLine);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 60 600;
  stroke-dashoffset: 0;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(255,230,161,.55));
}
.eco-travel.live { opacity: 1; animation: eco-travel 3.8s linear infinite; }
@keyframes eco-travel { to { stroke-dashoffset: -660; } }

/* ===== MOBILE — orbital constellation ===== */
@media (max-width: 768px) {
  .ecosystem-stage {
    aspect-ratio: 1/1;
    max-width: 92vw;
    margin: 0 auto;
    position: relative;
  }

  /* Reuse the same SVG but with a mobile viewBox that's square */
  .ecosystem-stage .eco-svg {
    display: block;
    viewBox: 0 0 640 640;
  }
  /* Swap to mobile paths via attr override in JS (below) */

  .ecosystem-stage .z-img {
    width: 112px; height: 112px;
    z-index: 5;
    filter: drop-shadow(0 0 30px rgba(147,180,255,.45));
  }

  .eco-node {
    position: absolute;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.2;
    width: auto;
    z-index: 3;
    transform: translate(-50%, -50%);
  }
  .eco-node.right-side { flex-direction: column; }
  .eco-node.bottom-center { flex-direction: column; }
  .eco-node .icon-wrap {
    width: 46px; height: 46px;
    padding: 6px;
    border-radius: 12px;
    background: rgba(12,20,50,.6);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px -8px rgba(0,0,0,.6);
  }
  .eco-node span {
    color: rgba(255,255,255,.85);
    max-width: 76px;
    white-space: nowrap;
  }

  /* 8 nodes in circle + 1 concierge at bottom. Radius ≈ 42% of stage. */
  /* angles (from top, clockwise): 315, 0, 45, 90, 135, 180, 225, 270 — but we tuck 9th below */
  .eco-node:nth-of-type(1) { left: 50%; top: 8%; }                           /* Lifestyle  — top */
  .eco-node:nth-of-type(2) { left: 12%; top: 24%; }                          /* Health     — TL */
  .eco-node:nth-of-type(3) { left: 6%;  top: 52%; }                          /* Fitness    — L */
  .eco-node:nth-of-type(4) { left: 18%; top: 80%; }                          /* Market Pl  — BL */
  .eco-node:nth-of-type(5) { left: 88%; top: 24%; }                          /* Mental H   — TR */
  .eco-node:nth-of-type(6) { left: 94%; top: 52%; }                          /* Travel     — R */
  .eco-node:nth-of-type(7) { left: 82%; top: 80%; }                          /* Finance    — BR */
  .eco-node:nth-of-type(8) { left: 50%; top: 96%; }                          /* Road Side  — bottom */
  .eco-node:nth-of-type(9) { display: none; }                                /* Concierge hidden on mobile — collapse to 8 for clean circle */

  /* Beautiful radial glow backdrop */
  .ecosystem-stage::before {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 300px; height: 300px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(80,120,255,.18), transparent 70%);
    border-radius: 50%;
    animation: orbit-pulse 4s ease-in-out infinite;
    pointer-events: none;
  }
  /* Rotating orbit ring */
  .ecosystem-stage::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 76%; height: 76%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(255,255,255,.08);
    border-radius: 50%;
    animation: orbit-rotate 40s linear infinite;
    pointer-events: none;
  }
  @keyframes orbit-pulse {
    0%, 100% { opacity: .5; transform: translate(-50%, -50%) scale(1); }
    50%      { opacity: 1;  transform: translate(-50%, -50%) scale(1.12); }
  }
  @keyframes orbit-rotate { to { transform: translate(-50%, -50%) rotate(360deg); } }

  /* Mobile paths: override via nested selector using SVG's preserveAspectRatio */
  .eco-svg { preserveAspectRatio: xMidYMid meet; }

  /* Swap path data per path to match mobile node positions.
     viewBox stays 1200x640; our positions are in stage percent.
     Easier fix: use CSS transform scale on the whole SVG + keep the
     lines radiating from (center = 600,320) to the desktop anchor —
     which won't align. So instead, on mobile we use a simpler approach:
     show short pulsing radial lines using per-node pseudo. */
  .ecosystem-stage .eco-svg { display: none; }

  /* Re-enable the shared SVG so lines ALWAYS connect to Z at center */
  .ecosystem-stage .eco-svg { display: block !important; }

  /* Override the desktop path data with mobile-tuned paths via attribute in index.html */
  .eco-node::before { content: none; }

  @keyframes line-pulse {
    0%, 100% { opacity: .25; filter: blur(0); }
    50%      { opacity: .85; filter: drop-shadow(0 0 6px rgba(255,230,161,.6)); }
  }

  /* Ecosystem title/subtitle sizing */
  .ecosystem-wrap h2 { font-size: 36px !important; }
  .ecosystem-wrap p  { font-size: 13px !important; }
  .ecosystem-wrap .mt-16 { margin-top: 2.5rem; }
}

/* ===== Generic image-on-top card ===== */
.img-card { background: #F4F6FF; border-radius: 22px; overflow: hidden; border: 1px solid #E2E8FF; transition: transform .3s, box-shadow .3s; }
.img-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(45,92,255,.25); }
.img-card .img-slot { aspect-ratio: 16/10; overflow: hidden; background: #ECEFF6; }
.img-card .img-slot img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s ease; }
.img-card:hover .img-slot img { transform: scale(1.05); }
.img-card .body { padding: 1.5rem; }

.pill-tag {
  display: inline-block; padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid #BFD3FF; color: #003293;
  font-size: 12px; font-weight: 600; letter-spacing: .05em;
}

/* ===== BUILT FOR EVERYONE ===== */
.built-wrap {
  background: #050B1F;
  position: relative;
  overflow: hidden;
}
.built-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120,150,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,150,255,.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 70% at 50% 50%, #000 30%, transparent 95%);
  animation: checker-pulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes checker-pulse {
  0%, 100% { opacity: .4; }
  50%      { opacity: 1; }
}
.built-wrap > * { position: relative; z-index: 1; }
.carousel-track { display: flex; gap: 1.5rem; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.built-card {
  flex: 0 0 auto;
  width: 380px;
  border-radius: 22px;
  overflow: hidden;
  /* border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 80px -30px rgba(45,92,255,.25);
  background: #0E1B42; */
}
.built-card .img-slot { aspect-ratio: 1/1; overflow: hidden; }
.built-card .img-slot img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s; }
.built-card:hover .img-slot img { transform: scale(1.04); }

/* ============================================================
   Built-for-everyone carousel — fractional cards (peek effect)
   3.5 desktop / 2.5 tablet / 1.5 mobile
   ============================================================ */
.built-wrap .carousel-track {
  display: flex;
  gap: 24px;
  will-change: transform;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.built-wrap .carousel-track.is-dragging {
  transition: none;
  cursor: grabbing;
}

/* Default — 3.5 cards visible on desktop.
   Math: card width = (containerW - 3 gaps) / 3.5
   The 3 gaps are between the 4 cards on screen at any moment. */
.built-wrap .built-card {
  flex: 0 0 calc((100% - 24px * 3) / 3.5);
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
}
.built-wrap .built-card .img-slot {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.built-wrap .built-card .img-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

/* Tablet — 2.5 cards visible. 2 gaps between 3 visible cards. */
@media (max-width: 992px) {
  .built-wrap .built-card {
    flex: 0 0 calc((100% - 24px * 2) / 2.5);
  }
}

/* Mobile — 1.5 cards visible. 1 gap between 2 visible cards.
   Tighter gap looks better at small widths. */
@media (max-width: 600px) {
  .built-wrap .carousel-track { gap: 16px; }
  .built-wrap .built-card {
    flex: 0 0 calc((100% - 16px * 1) / 1.5);
  }
}

/* ===== STEPS — parallax stacking cards ===== */
.steps-wrap {
  background: linear-gradient(180deg, #050B1F, #0A1433 50%, #050B1F);
  position: relative;
}
.steps-stack { position: relative; }
.step-card {
  position: sticky;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(30,56,120,.85), rgba(15,29,68,.95));
  border: 1px solid rgba(99,130,255,.25);
  padding: 3.5rem 3.5rem;
  color: #fff;
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
  backdrop-filter: blur(10px);
  transition: filter .4s ease, transform .4s ease;
}
/* stagger sticky top so each card peeks above the next */
.step-card:nth-child(1) { top: 80px; }
.step-card:nth-child(2) { top: 110px; }
.step-card:nth-child(3) { top: 140px; }
.step-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 85% 15%, rgba(124,92,255,.28), transparent 60%);
  pointer-events: none;
}
.step-card::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(60% 80% at 20% 50%, #000 20%, transparent 80%);
  pointer-events: none;
}
.step-card > * { position: relative; z-index: 2; }
.step-number {
  position: absolute; right: 2.5rem; top: 1.5rem;
  font-size: 130px; font-weight: 800;
  background: linear-gradient(180deg, rgba(167,139,255,.45), rgba(167,139,255,.02));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-family: 'Nunito Sans', sans-serif;
  letter-spacing: -.04em;
  line-height: 1;
  z-index: 1 !important;
}
.check-row { display: flex; align-items: center; gap: .6rem; color: #CFE0FF; font-size: 14px; }
.check-row svg { flex-shrink: 0; }

/* rail progress indicator */
.steps-rail {
  position: sticky; top: 50%; left: 0;
  margin-left: 1.5rem; height: 0; z-index: 5;
  pointer-events: none;
}
.steps-rail-inner {
  position: absolute; left: 0; top: 0;
  display: flex; flex-direction: column; gap: 14px;
  transform: translateY(-50%);
}
.rail-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.15); transition: all .3s ease; }
.rail-dot.on { background: #A78BFF; box-shadow: 0 0 12px rgba(167,139,255,.8); transform: scale(1.4); }

/* ===== CONTACT ===== */
.contact-wrap { background: linear-gradient(135deg, #1E3A8A 0%, #0F1D44 50%, #1E40AF 100%); }
.contact-form { background: #fff; border-radius: 22px; padding: 2rem; color: #0B1020; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid #E2E8F0; border-radius: 10px;
  padding: .75rem 1rem; font-size: 14px;
  transition: border-color .2s; font-family: inherit;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: #003293; box-shadow: 0 0 0 3px rgba(45,92,255,.1);
}
.contact-form label { display: block; font-size: 13px; font-weight: 500; color: #334155; margin-bottom: .4rem; }

/* ===== FOOTER ===== */
footer { background: #fff; }
.footer-link { color: #334155; font-size: 14px; transition: color .2s; cursor: pointer; }
.footer-link:hover { color: #003293; }
.footer-link.active { color: #003293; }

/* ===== Utilities ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: all .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.noselect { user-select: none; -webkit-user-select: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #334155; transition: all .3s; cursor: pointer; }
.dot.on { width: 24px; background: #003293; border-radius: 4px; }

/* ============================================
   WHO WE ARE page
   ============================================ */
.who-hero {
  position: relative;
  background: radial-gradient(120% 80% at 50% 30%, #0E1E4A 0%, #06091E 70%);
  overflow: hidden;
  padding-bottom: 80px;
  min-height: 100vh;
}
.who-hero #three-hero {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.who-hero .hero-fade-bottom {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, #06091E 80%);
  pointer-events: none;
  z-index: 1;
}
.who-card {
  position: relative;
  background-image: linear-gradient(#BED6FF, #E0EBFF);
  border-radius: 28px;
  padding: 1.5rem;
  overflow: hidden;
}
.who-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(45,92,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,92,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(80% 70% at 30% 30%, #000 30%, transparent 95%);
  pointer-events: none;
}
.who-card > * { position: relative; z-index: 1; }

.idea-panel {
  background: linear-gradient(160deg, #1E40AF 0%, #1E3A8A 100%);
  border-radius: 22px;
  padding: 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.idea-panel::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 90% 10%, rgba(124,92,255,.28), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(59,130,246,.25), transparent 60%);
  pointer-events: none;
}
.idea-panel > * { position: relative; z-index: 1; }
.idea-step { display: flex; align-items: center; gap: 1rem; padding: .75rem 0; font-size: 17px; font-weight: 500; }
.idea-step .n {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
}
.idea-step .rail { width: 2px; background: rgba(255,255,255,.15); flex-shrink: 0; }

/* Stats strip */
.stats-strip {
  background: linear-gradient(90deg, #003293 0%, #003293 100%);
  color: #fff;
  padding: 1.75rem 1rem;
}
.stat-val { font-size: 40px; font-weight: 800; font-family: 'Nunito Sans', sans-serif; letter-spacing: -.02em; }
.stat-lbl { font-size: 12px; color: rgba(255,255,255,.8); margin-top: .25rem; }

/* Stand-for cards */
.stand-wrap {
  background: #050B1F;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.stand-bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  z-index: 0;
  pointer-events: none;
  display: block;
}
.stand-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(5,11,31,0) 20%, rgba(5,11,31,.7) 85%),
    linear-gradient(180deg, rgba(5,11,31,.4) 0%, transparent 30%, transparent 70%, rgba(5,11,31,.6) 100%);
  pointer-events: none;
  z-index: 1;
}
.stand-wrap > .max-w-6xl { position: relative; z-index: 2; }
.stand-card {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(15,25,60,.9), rgba(8,14,38,.95));
  border: 1px solid rgba(99,130,255,.18);
  padding: 2rem;
  color: #fff;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.stand-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,92,255,.4);
  box-shadow: 0 30px 60px -20px rgba(45,92,255,.35);
}
.stand-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, #3B6BFF, #7C5CFF);
  display: grid; place-items: center; color: #fff;
  margin-bottom: 1.2rem;
  box-shadow: 0 10px 24px -6px rgba(124,92,255,.5);
}
.stand-card h3 { font-family: 'Nunito Sans', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin-bottom: .6rem; }
.stand-card p { color: #94A3B8; font-size: 13.5px; line-height: 1.6; }

/* Unified section */
.unified-wrap {
  background: linear-gradient(180deg, #050B1F 0%, #0A1530 50%, #050B1F 100%);
  position: relative;
  overflow: hidden;
}
.unified-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120,150,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,150,255,.09) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 70% at 50% 50%, #000 30%, transparent 95%);
  animation: checker-pulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.unified-wrap > * { position: relative; z-index: 1; }
.unified-card {
  position: relative;
  border-radius: 22px;
  background: #0A1840;
  border: 1px solid rgba(99,130,255,.2);
  overflow: hidden;
  aspect-ratio: 4/5;
  padding: 1.5rem;
  color: #fff;
  transition: transform .3s ease, border-color .3s ease;
  isolation: isolate;
}
.unified-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('assets/wave-bg.gif');
  background-size: cover;
  background-position: center;
  opacity: .6;
  z-index: 0;
  transition: opacity .4s ease, transform .8s ease;
}
.unified-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,24,64,.15) 0%, rgba(5,11,31,.9) 80%);
  z-index: 1;
}
.unified-card > * { position: relative; z-index: 2; }
.unified-card:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.4); }
.unified-card:hover::before { opacity: .85; transform: scale(1.05); }
.unified-card h4 { font-family: 'Nunito Sans', sans-serif; font-size: 20px; font-weight: 700; }
.unified-card .img-slot {
  margin-top: 1rem; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3;
  background: #0A1230;
  border: 1px solid rgba(255,255,255,.08);
}
.unified-card .img-slot img { width: 100%; height: 100%; object-fit: cover; }

/* Ready-to-build CTA */
.ready-wrap {
  background: linear-gradient(180deg, #050B1F 0%, #0A1530 100%);
  padding: 6rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ready-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 50%, rgba(45,92,255,.2), transparent 70%);
  z-index: 0;
}
.ready-shape {
  position: absolute;
  top: 50%;
  width: 420px;
  height: auto;
  pointer-events: none;
  opacity: .9;
  z-index: 0;
  animation: shape-float 6s ease-in-out infinite;
}
.ready-shape-left {
  left: 0;
  transform: translate(-20%, -50%);
}
.ready-shape-right {
  right: 0;
  transform: translate(20%, -50%);
  animation-delay: -3s;
}
@keyframes shape-float {
  0%, 100% { transform: translate(var(--tx, -20%), -50%) translateY(0); }
  50%      { transform: translate(var(--tx, -20%), -50%) translateY(-14px); }
}
.ready-shape-left  { --tx: -20%; }
.ready-shape-right { --tx: 20%; }
@media (max-width: 768px) {
  .ready-shape { width: 260px; opacity: .5; }
}

/* ============================================
   INDUSTRIES page
   ============================================ */
.ind-hero {
  position: relative;
  background: radial-gradient(120% 80% at 50% 30%, #0E1E4A 0%, #06091E 70%);
  overflow: hidden;
  padding-bottom: 60px;
}
.ind-hero #three-hero { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.ind-hero .hero-fade-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background: linear-gradient(to bottom, transparent, #06091E 80%);
  pointer-events: none; z-index: 1;
}
.ind-stack {
  background: linear-gradient(160deg, #0F2360 0%, #0A1A4A 100%);
  border-radius: 22px;
  padding: 1.4rem;
  display: flex; flex-direction: column; gap: .9rem;
  min-height: 420px;
}
.ind-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem;
  background: linear-gradient(180deg, rgba(20,40,100,.65), rgba(10,22,68,.85));
  border: 1px solid rgba(167,139,255,.22);
  border-radius: 14px;
  color: #fff;
  transition: transform .25s ease, border-color .25s ease;
}
.ind-row:hover { transform: translateX(4px); border-color: rgba(167,139,255,.5); }
.ind-row .ind-ic {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, #7C5CFF, #3B6BFF);
  display: grid; place-items: center; color: #fff;
  flex-shrink: 0;
}
.ind-row .ind-meta { display: flex; flex-direction: column; }
.ind-row .ind-meta strong { font-family: 'Nunito Sans', sans-serif; font-size: 14.5px; font-weight: 700; }
.ind-row .ind-meta span { font-size: 11.5px; color: rgba(255,255,255,.55); margin-top: 2px; }

/* Where Zestta delivers */
.delivers-wrap {
  background: #050B1F;
  position: relative;
  overflow: hidden;
  padding: 6rem 1rem 4rem;
}
.delivers-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 50% at 20% 20%, rgba(45,92,255,.12), transparent 70%),
    radial-gradient(50% 50% at 80% 80%, rgba(124,92,255,.1), transparent 70%);
  pointer-events: none;
}
.delivers-wrap > * { position: relative; z-index: 1; }
.ind-card {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(15,25,60,.85), rgba(8,14,38,.95));
  border: 1px solid rgba(99,130,255,.18);
  padding: 1.6rem;
  color: #fff;
  transition: transform .3s ease, border-color .3s ease;
  overflow: hidden;
}
.ind-card:hover { transform: translateY(-3px); border-color: rgba(124,92,255,.4); }
.ind-card .ind-ic {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #7C5CFF, #3B6BFF);
  display: grid; place-items: center; color: #fff;
}
.ind-card h3 { font-family: 'Nunito Sans', sans-serif; font-size: 18px; font-weight: 700; margin-top: 1rem; }
.ind-card p { color: rgba(255,255,255,.62); font-size: 12.5px; line-height: 1.5; margin-top: .55rem; }
.ind-tag {
  display: inline-block;
  padding: .25rem .55rem;
  border-radius: 999px;
  font-size: 10.5px; font-weight: 600;
  background: rgba(124,92,255,.12);
  border: 1px solid rgba(124,92,255,.25);
  color: rgba(199,180,255,.95);
  margin-right: .35rem; margin-top: .25rem;
}

/* Built for the people who build */
.build-wrap {
  background: linear-gradient(180deg, #050B1F 0%, #0A1530 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 1rem;
}
.build-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120,150,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,150,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 50%, #000 30%, transparent 95%);
  pointer-events: none;
}
.build-wrap > * { position: relative; z-index: 1; }
.team-card {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(15,25,60,.6), rgba(8,14,38,.9));
  border: 1px solid rgba(99,130,255,.2);
  padding: 1.8rem;
  color: #fff;
  transition: transform .3s ease, border-color .3s ease;
}
.team-card:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.4); }
.team-card .ic {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(124,92,255,.14);
  border: 1px solid rgba(124,92,255,.3);
  display: grid; place-items: center;
  color: #A78BFF;
}
.pp-hero {
  position: relative;
  background: radial-gradient(120% 80% at 50% 30%, #0E1E4A 0%, #06091E 70%);
  overflow: hidden;
  padding-bottom: 60px;
}
.pp-hero #three-hero { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.pp-hero .hero-fade-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background: linear-gradient(to bottom, transparent, #06091E 80%);
  pointer-events: none; z-index: 1;
}

/* ============================================
   CASE STUDIES page
   ============================================ */
.cs-hero {
  position: relative;
  background: radial-gradient(120% 80% at 50% 30%, #0E1E4A 0%, #06091E 70%);
  overflow: hidden;
  padding-bottom: 60px;
}
.cs-hero #three-hero { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.cs-hero .hero-fade-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background: linear-gradient(to bottom, transparent, #06091E 80%);
  pointer-events: none; z-index: 1;
}

/* stack of case study tabs */
.cs-stack { position: relative; height: 100%; min-height: 420px; }
.cs-tab {
  position: absolute;
  left: 0; right: 0;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 1rem 1.5rem;
  font-size: 13px;
  font-weight: 600;
  color: #1A2240;
  display: flex; align-items: center; gap: .8rem;
  box-shadow: 0 -8px 30px -8px rgba(0,0,0,.2);
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.cs-tab.t1 { top: 0;   background: #DCE6FF; }
.cs-tab.t2 { top: 56px; background: #E5ECFF; }
.cs-tab.t3 { top: 112px; background: #EEF2FF; }
.cs-tab.t4 { top: 168px; background: #F4F6FF; }
.cs-tab.t5 {
  top: 224px;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  height: auto;
  min-height: 200px;
  display: block;
  box-shadow: 0 24px 60px -16px rgba(0,0,0,.4);
}
.cs-tab .num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  font-weight: 700; color: #1A2240;
  border: 2px solid #1A2240;
  font-size: 13px;
  flex-shrink: 0;
}

/* Hero stat card */
.stat-card {
  background: #0B1538;
  border: 1px solid rgba(99,130,255,.18);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
}
.stat-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 13.5px;
}
.stat-row:last-child { border-bottom: 0; }
.stat-row .label { color: rgba(255,255,255,.65); }
.stat-row .val { font-weight: 700; font-family: 'Nunito Sans', sans-serif; }

/* Industry case grid cards */
.cs-grid-card {
  position: relative;
  background: linear-gradient(180deg, rgba(15,25,60,.85) 0%, rgba(8,14,38,.95) 100%);
  border: 1px solid rgba(99,130,255,.18);
  border-radius: 18px;
  padding: 1.5rem;
  color: #fff;
  transition: transform .3s ease, border-color .3s ease;
}
.cs-grid-card:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.4); }
.cs-grid-card .ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #3B6BFF, #7C5CFF);
  display: grid; place-items: center;
  margin-bottom: 1rem;
  color: #fff;
}
.cs-grid-card h4 { font-family: 'Nunito Sans', sans-serif; font-size: 15.5px; font-weight: 700; line-height: 1.35; }
.cs-grid-card .pills { display: flex; gap: .4rem; margin-top: .85rem; flex-wrap: wrap; }
.cs-grid-card .pill {
  font-size: 10.5px; font-weight: 600;
  background: rgba(124,92,255,.18);
  color: #C5B6FF;
  border: 1px solid rgba(124,92,255,.3);
  border-radius: 999px;
  padding: 3px 10px;
}
.cs-grid-card .pill.green { background: rgba(16,185,129,.15); color: #6EE7B7; border-color: rgba(16,185,129,.3); }
.cs-grid-card .read {
  margin-top: 1.1rem;
  font-size: 12.5px; color: #7BA3FF; font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
}
.cs-grid-card .read:hover { color: #A78BFF; }

/* "Your results could be next" CTA */
.cs-next-wrap {
  background: #050B1F;
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem;
  text-align: center;
}
.cs-next-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 50%, rgba(45,92,255,.18), transparent 70%);
  z-index: 0;
}
.cs-next-wrap > * { position: relative; z-index: 1; }

/* ============================================
   CASE STUDY DETAIL page
   ============================================ */
.csd-hero-banner {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  height: 320px;
}
.csd-hero-banner img {
  width: 100%; height: 100%; object-fit: cover;
}
.csd-hero-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,11,31,.45) 0%, rgba(5,11,31,.85) 100%);
}
.csd-hero-banner h1 {
  position: absolute; left: 0; right: 0; bottom: 28px;
  text-align: center;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  padding: 0 1.5rem;
  letter-spacing: -.01em;
}
.csd-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  font-size: 11.5px;
  font-weight: 500;
}
.csd-block {
  background: linear-gradient(180deg, rgba(15,25,60,.6) 0%, rgba(8,14,38,.8) 100%);
  border: 1px solid rgba(99,130,255,.18);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  color: #fff;
}
.csd-block h3 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: .85rem;
}
.csd-block p,
.csd-block li {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,.72);
}
.csd-block ul {
  list-style: none;
  margin: .5rem 0;
  padding: 0;
}
.csd-block ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: .55rem;
}
.csd-block ul li::before {
  content: '';
  position: absolute;
  left: 0; top: .65rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #7C5CFF;
}

/* sticky left column on desktop */
.csd-left-sticky {
  position: sticky;
  top: 6rem;
  align-self: start;
}

/* Comment form */
.csd-comment-card {
  background: linear-gradient(180deg, rgba(15,25,60,.6) 0%, rgba(8,14,38,.8) 100%);
  border: 1px solid rgba(99,130,255,.18);
  border-radius: 16px;
  padding: 1.75rem;
}
.csd-input,
.csd-textarea {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: .75rem 1rem;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color .2s ease;
}
.csd-input:focus,
.csd-textarea:focus { border-color: rgba(124,92,255,.5); }
.csd-input::placeholder,
.csd-textarea::placeholder { color: rgba(255,255,255,.35); }
.csd-textarea { resize: vertical; min-height: 110px; }
  pointer-events: none; z-index: 1;
}

.orbit-panel {
  position: relative;
  background: linear-gradient(160deg, #1E3A8A 0%, #142966 100%);
  border-radius: 22px;
  aspect-ratio: 1/1;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.orbit-panel::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(59,130,246,.35), transparent 70%),
    radial-gradient(40% 40% at 85% 15%, rgba(124,92,255,.25), transparent 70%);
}
.orbit-center {
  position: absolute; left: 50%; top: 50%;
  width: 110px; height: 110px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #4C6FFF 0%, #1E3A8A 100%);
  box-shadow: 0 0 40px rgba(76,111,255,.5), inset 0 0 30px rgba(255,255,255,.1);
  display: grid; place-items: center;
  color: #fff;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 52px; font-weight: 800;
  z-index: 2;
}
.orbit-ring {
  position: absolute; left: 50%; top: 50%;
  width: 260px; height: 260px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  animation: orbit-rot 40s linear infinite;
}
.orbit-icon {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  transform: translate(-50%, -50%);
  animation: orbit-counter 40s linear infinite;
}
.orbit-icon img { width: 100%; height: 100%; display: block; }
.orbit-ring-outer {
  width: 360px; height: 360px;
  opacity: .4;
  border-style: dashed;
  animation-duration: 60s;
  animation-direction: reverse;
}
@keyframes orbit-rot { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes orbit-counter { to { transform: translate(-50%, -50%) rotate(-360deg); } }

/* Plans */
.plans-wrap {
  background: #050B1F;
  position: relative;
  overflow: hidden;
}
.plans-bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .35;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.plans-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(45,92,255,.2), transparent 70%),
    linear-gradient(180deg, rgba(5,11,31,.6) 0%, rgba(5,11,31,.85) 100%);
  pointer-events: none;
  z-index: 1;
}
.plans-wrap > * { position: relative; z-index: 2; }
.billing-toggle {
  display: inline-flex;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 4px;
}
.billing-toggle button {
  padding: .55rem 1.3rem;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  transition: all .25s ease;
}
.billing-toggle button.active {
  background: linear-gradient(90deg, #3B6BFF, #7C5CFF);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(124,92,255,.5);
}

.plan-card {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(180deg, #1C398E4D, #59168B4D);
  border: 1px solid #1E2939;
  padding: 2rem;
  color: #fff;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.plan-card:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.35); }
.plan-card.featured {
  background: linear-gradient(180deg, #3A1D7A 0%, #1E2173 100%);
  border: 1px solid rgba(167,139,255,.4);
  box-shadow: 0 20px 40px -10px #2B7FFF1A;
  transform: translateY(-10px);
}
.plan-card.featured::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 50% 0%, rgba(167,139,255,.35), transparent 70%);
  pointer-events: none;
  border-radius: 22px;
}
.plan-card > * { position: relative; z-index: 1; }
.plan-price { font-family: 'Nunito Sans', sans-serif; font-size: 48px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.plan-price .per { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.55); margin-left: .4rem; letter-spacing: 0; }
.plan-cta {
  display: block; width: 100%; text-align: center;
  padding: .75rem 1rem; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff; transition: all .2s ease;
}
.plan-cta:hover { background: rgba(255,255,255,.14); }
.plan-card.featured .plan-cta {
  background: linear-gradient(90deg, #7C5CFF, #A78BFF);
  border-color: transparent;
  box-shadow: 0 10px 24px -6px rgba(124,92,255,.5);
}
.plan-feature {
  display: flex; align-items: flex-start; gap: .6rem;
  color: rgba(255,255,255,.8); font-size: 13.5px; line-height: 1.4;
  padding: .35rem 0;
}
.plan-feature svg { flex-shrink: 0; margin-top: 2px; }

/* Zestta Universe */
.universe-wrap {
  background: #050B1F;
  position: relative;
  overflow: hidden;
}
.universe-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 50% at 20% 100%, rgba(45,92,255,.15), transparent 70%),
    radial-gradient(50% 50% at 80% 0%, rgba(124,92,255,.12), transparent 70%);
  pointer-events: none;
}
.universe-card {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(15,25,60,.85), rgba(5,11,35,.95));
  border: 1px solid rgba(99,130,255,.2);
  padding: 2rem;
  color: #fff;
  transition: transform .3s ease, border-color .3s ease;
  overflow: hidden;
}
.universe-card:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.4); }
.universe-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, #3B6BFF, #7C5CFF);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 8px 20px -4px rgba(124,92,255,.5);
}

/* Animated checked-square list */
.check-list { display: flex; flex-direction: column; gap: .55rem; }
.check-list li {
  display: flex; align-items: center; gap: .65rem;
  color: rgba(255,255,255,.78); font-size: 12.8px; line-height: 1.4;
}
.check-box {
  width: 18px; height: 18px; flex-shrink: 0;
  display: inline-grid; place-items: center;
  color: #A78BFF;
}
.check-box svg { width: 100%; height: 100%; overflow: visible; }
.check-box .cb-rect {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  transition: stroke-dashoffset .6s ease;
}
.check-box .cb-check {
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  transition: stroke-dashoffset .45s ease .35s;
}
.universe-card.in .check-box .cb-rect { stroke-dashoffset: 0; }
.universe-card.in .check-box .cb-check { stroke-dashoffset: 0; }
.universe-card .check-list li:nth-child(2) .cb-check { transition-delay: .55s; }
.universe-card .check-list li:nth-child(3) .cb-check { transition-delay: .75s; }
.universe-card .check-list li:nth-child(2) .cb-rect { transition-delay: .15s; }
.universe-card .check-list li:nth-child(3) .cb-rect { transition-delay: .3s; }

/* Figure it out CTA */
.figure-wrap {
  background: #050B1F;
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem 6rem;
  text-align: center;
}
.ready-shape {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 420px;
  width: auto;
  opacity: .9;
  z-index: 0;
  pointer-events: none;
}
.ready-shape-left { left: 0; }
.ready-shape-right { right: 0; transform: translateY(-50%) scaleX(-1); }
@media (max-width: 900px) { .ready-shape { height: 260px; opacity: .5; } }
.figure-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 50%, rgba(45,92,255,.2), transparent 70%);
  z-index: 0;
}
.figure-wrap > * { position: relative; z-index: 1; }

/* ============================================
   RESPONSIVE TYPOGRAPHY — cross-device scaling
   --------------------------------------------
   Uses clamp(min, fluid-value, max) so font sizes
   scale smoothly from small phone -> tablet ->
   desktop without awkward jumps at a single
   breakpoint. Targets the headings & display
   text only — body copy (13-15px) is already
   mobile-friendly.

   Rough sizes you'll get at common viewports:
     320px (small phone)   |   768px (tablet)   |   1280px+ (desktop)
   ============================================ */

/* ----- HERO ----- */
/* "Delight" — was 96px / md:140px (96px overflowed small phones) */
.hero-wrap h1 {
  font-size: clamp(56px, 11vw, 140px) !important;
  line-height: .95 !important;
}
/* "As a service" — was 22px / md:28px */
.hero-wrap p.font-serif-display {
  font-size: clamp(18px, 2.6vw, 28px) !important;
}

/* ----- SECTION HEADINGS ----- */
/* "Life is complicated" — was 44px / md:56px */
.offer-wrap h2.font-display {
  font-size: clamp(32px, 5.5vw, 56px) !important;
  line-height: 1.05 !important;
}

/* "Multiple services. One roof." — was 44px / md:64px
   (section has no wrapper class — target via data-screen-label) */
[data-screen-label="04 Multiple Services"] h2.font-display {
  font-size: clamp(34px, 6vw, 64px) !important;
  line-height: 1.05 !important;
}

/* "Built for everyone" — was 44px / md:64px */
.built-wrap h2.font-display {
  font-size: clamp(34px, 6vw, 64px) !important;
}

/* "Let's Build Something great" — was 56px / md:72px
   (this h2 sits in a 50% column at md+, so 72 was very tight on tablets) */
.contact-wrap h2.font-display {
  font-size: clamp(38px, 6.8vw, 72px) !important;
  line-height: 1 !important;
}

/* ----- HOW IT WORKS / STEPS ----- */
/* "Simple by Design" — was 44px / md:56px */
.step-card h3 {
  font-size: clamp(32px, 5.5vw, 56px) !important;
  line-height: 1.05 !important;
}
/* "Discover / Configure / Run & Evolve" — was fixed 40px (no responsive) */
.step-card h4 {
  font-size: clamp(26px, 4.5vw, 40px) !important;
  line-height: 1.1;
}
/* Big background step number — was fixed 130px (huge on phones) */
.step-number {
  font-size: clamp(64px, 12vw, 130px);
}

/* ----- BREAKPOINT-SPECIFIC NUDGES ----- */
/* Things that font-size alone can't fix on small screens. */
@media (max-width: 767px) {
  /* Step-number's absolute position needs to come closer to the corner
     once the number itself is smaller, otherwise it floats awkwardly */
  .step-number {
    right: 1.25rem;
    top: .75rem;
  }

  /* Hero vertical breathing room — the original pt-28/pb-48 pushed the
     dot indicator off-screen on shorter phones */
  .hero-wrap .pt-28 { padding-top: 4.5rem; }
  .hero-wrap .pb-48 { padding-bottom: 5.5rem; }
  .hero-wrap { min-height: 580px; }

  /* Card titles 22px is fine, but tighten the line-height for the
     two-word "Unified API Integration" wrap on narrow phones */
  .img-card .body h3 { line-height: 1.25; }
}

/* Tablet portrait (768-1023px): clamp() already handles the headings
   smoothly, but the contact-form column gets cramped at this width.
   No font-size change needed here; clamp's vw-based middle value
   already gives tablet the right intermediate size. */

/* ============================================
   HAMBURGER + MOBILE OFF-CANVAS DRAWER
   --------------------------------------------
   - Hamburger button: visible only below md (<768px)
   - Drawer: slides in from the right at 90% width
     (max 420px), full viewport height
   - Close button: top-right of drawer
   - Backdrop: tap-to-close, blurred dark overlay
   ============================================ */

/* Hamburger trigger (in nav, mobile only) */
.hamburger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.hamburger-btn:hover  { background: rgba(255,255,255,.16); }
.hamburger-btn:active { transform: scale(.96); }

/* Backdrop (sits behind drawer; tap-to-close) */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 11, 31, .6);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer panel — anchored to right, slides in from right→left */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 90%;
  max-width: 420px;
  height: 100vh;
  height: 100dvh;                                    /* mobile browsers w/ dynamic toolbars */
  background: linear-gradient(180deg, #0E1E4A 0%, #06091E 100%);
  color: #fff;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 2rem;
  border-left: 1px solid rgba(255,255,255,.08);
  box-shadow: -20px 0 60px -10px rgba(0,0,0,.5);
  transform: translateX(100%);                       /* start off-canvas to the right */
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { transform: translateX(0); }     /* slides leftward into view */

/* Top row of the drawer: logo (left) + close button (top right) */
.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.mobile-menu-logo img { height: 30px; width: auto; display: block; }

.mobile-menu-close {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.mobile-menu-close:hover  { background: rgba(255,255,255,.16); }
.mobile-menu-close:active { transform: scale(.94); }

/* Link list */
.mobile-menu-links {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-menu-links > li > a {
  display: block;
  font-family: 'Nunito Sans', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.85);
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .2s ease, padding-left .2s ease;
}
.mobile-menu-links > li > a:hover,
.mobile-menu-links > li > a.active {
  color: #fff;
  padding-left: .35rem;
}
.mobile-menu-links > li > a.active { color: #93B4FF; }

/* CTA pinned to the bottom of the drawer */
.mobile-menu-cta {
  margin-top: auto;
  align-self: stretch;
  justify-content: center;
}

/* Lock body scroll while drawer is open */
body.menu-open { overflow: hidden; }

/* Footer logo: source SVG fill is #f2f1e5 (light cream).
   Footer is white -> darken the SVG to brand-dark with a CSS filter
   so we don't have to alter the asset. */
.footer-logo {
  height: 30px;
  width: auto;
  display: block;
  filter: brightness(0);
}

/* ============================================
   RESPONSIVE SECTION PADDING — for sections whose
   y-padding is set in CSS (not Tailwind classes).
   These wrappers had fixed padding like 5-6rem
   which is too generous on small phones.
   ============================================ */
@media (max-width: 767px) {
  .ready-wrap     { padding: 3.5rem 1.25rem; }      /* was 6rem 1.5rem */
  .delivers-wrap  { padding: 3.5rem 1rem 2.5rem; }  /* was 6rem 1rem 4rem */
  .build-wrap     { padding: 3rem 1rem; }           /* was 5rem 1rem */
  .cs-next-wrap   { padding: 3rem 1.25rem; }        /* was 5rem 1.5rem */
  .figure-wrap    { padding: 3rem 1.25rem 3.5rem; } /* was 5rem 1.5rem 6rem */
}

/* ============================================
   CONTACT US PAGE
   ============================================ */

/* Hero — same dark gradient pattern as ind-hero / who-hero / pp-hero */
.contact-hero {
  position: relative;
  background: radial-gradient(120% 80% at 50% 30%, #0E1E4A 0%, #06091E 70%);
  overflow: hidden;
  padding-bottom: 60px;
}
.contact-hero #three-hero { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.contact-hero .hero-fade-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background: linear-gradient(to bottom, transparent, #06091E 80%);
  pointer-events: none; z-index: 1;
}

/* Hero LEFT card — light card on dark background */
.contact-hero-card {
  background: linear-gradient(160deg, #F1F4FF 0%, #E2E8FF 100%);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 22px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.contact-hero-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(45,92,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,92,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(70% 70% at 30% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}
.contact-hero-card > * { position: relative; z-index: 1; }

/* Hero RIGHT panel — dark card with quick-contact methods */
.contact-hero-side {
  background: linear-gradient(160deg, #0F2360 0%, #0A1A4A 100%);
  border: 1px solid rgba(167,139,255,.18);
  border-radius: 22px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: .25rem 0;
  text-decoration: none;
  transition: transform .2s ease;
}
a.contact-method:hover { transform: translateX(2px); }
.contact-method .ic {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}
.contact-method .ic.ic-amber   { background: rgba(245,194,61,.15);  color: #F5C23D; }
.contact-method .ic.ic-emerald { background: rgba(16,185,129,.15);  color: #34D399; }
.contact-method .ic.ic-rose    { background: rgba(244,63,94,.15);   color: #FB7185; }
.contact-method .ic.ic-violet  { background: rgba(167,139,255,.15); color: #A78BFF; }

/* Form section background */
.contact-form-section {
  background: linear-gradient(180deg, #06091E 0%, #050B1F 100%);
  position: relative;
  overflow: hidden;
}
.contact-form-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 15% 20%, rgba(45,92,255,.10), transparent 60%),
    radial-gradient(50% 60% at 85% 80%, rgba(124,92,255,.08), transparent 60%);
  pointer-events: none;
}
.contact-form-section > * { position: relative; z-index: 1; }

/* Select element — match input/textarea styling */
.contact-form select {
  width: 100%;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: .75rem 2.5rem .75rem 1rem;
  font-size: 14px;
  font-family: inherit;
  color: #0B1020;
  background-color: #fff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form select:focus {
  outline: none;
  border-color: #003293;
  box-shadow: 0 0 0 3px rgba(45,92,255,.1);
}

/* Required-field asterisk */
.contact-form .req {
  color: #DC2626;
  margin-left: 2px;
  font-weight: 700;
}

/* Consent checkbox row */
.contact-form-consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-top: 1.25rem;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #64748B !important;
  cursor: pointer;
  margin-bottom: 0;
}
.contact-form-consent input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 2px;
  accent-color: #003293;
  flex-shrink: 0;
  cursor: pointer;
}
.contact-form-consent a { color: #003293; text-decoration: underline; }

/* Submit button */
.contact-form-submit {
  width: 100%;
  margin-top: 1.5rem;
  background: #003293;
  color: #fff;
  padding: .9rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: background .2s ease, transform .2s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.contact-form-submit:hover { background: #1E40AF; transform: translateY(-1px); }
.contact-form-submit:active { transform: translateY(0); }

/* "What happens next?" side panel */
.contact-aside { position: sticky; top: 2rem; }
.aside-card {
  background: linear-gradient(160deg, #0F2360 0%, #0A1A4A 100%);
  border: 1px solid rgba(167,139,255,.18);
  border-radius: 22px;
  padding: 1.75rem;
}
.aside-step {
  display: flex; align-items: flex-start; gap: 0.875rem;
}
.aside-step .step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(45,92,255,.2);
  border: 1px solid rgba(124,144,255,.35);
  color: #93B4FF;
  display: grid; place-items: center;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* FAQ section */
.faq-wrap {
  background: #050B1F;
  position: relative;
  overflow: hidden;
}
.faq-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(50% 40% at 50% 30%, rgba(45,92,255,.15), transparent 70%);
  pointer-events: none;
}
.faq-wrap > * { position: relative; z-index: 1; }
.faq-item {
  background: linear-gradient(180deg, rgba(20,40,100,.55), rgba(10,22,68,.75));
  border: 1px solid rgba(167,139,255,.18);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  transition: border-color .25s ease, transform .25s ease;
}
.faq-item:hover {
  border-color: rgba(167,139,255,.4);
  transform: translateY(-2px);
}

/* Mobile tweaks */
@media (max-width: 767px) {
  .contact-hero { padding-bottom: 30px; }
  .contact-hero-card { padding: 1.75rem; }
  .contact-hero-side { padding: 1.5rem; }
  .contact-aside { position: static; }
  .aside-card { padding: 1.5rem; }
  .faq-item { padding: 1.25rem 1.5rem; }
}

/* ============ NAV PRODUCTS DROPDOWN ============ */
/* Desktop hover/click dropdown — appears below the "Products" trigger */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
}
.nav-dropdown-toggle:focus-visible { outline: 2px solid rgba(255,255,255,.4); outline-offset: 4px; border-radius: 4px; }
.nav-dropdown-caret { transition: transform .2s ease; }
.nav-dropdown.open .nav-dropdown-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 200px;
  background: #0E1530;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility 0s .18s;
  z-index: 60;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .18s ease, transform .18s ease, visibility 0s 0s;
}
/* invisible hover-bridge so cursor can travel from the toggle to the menu without closing */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-dropdown-menu li { list-style: none; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: rgba(45,92,255,.16);
  color: #fff;
  outline: none;
}

/* ============ MOBILE DRAWER PRODUCTS GROUP ============ */
.mobile-menu-group { list-style: none; }
.mobile-menu-group-toggle {
  /* match .mobile-menu-links a styling so it sits flush in the list */
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 14px 0;
  color: rgba(255,255,255,.85);
  font-size: 18px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-menu-group-toggle:hover { color: #fff; }
.mobile-menu-caret { transition: transform .2s ease; flex-shrink: 0; }
.mobile-menu-group.open .mobile-menu-caret { transform: rotate(180deg); }

.mobile-menu-sublinks {
  list-style: none;
  margin: 0;
  padding: 0 0 0 14px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.mobile-menu-group.open .mobile-menu-sublinks { max-height: 400px; }
.mobile-menu-sublinks li { list-style: none; }
.mobile-menu-sublinks a {
  display: block;
  padding: 12px 0;
  color: rgba(255,255,255,.7);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: color .15s ease;
}
.mobile-menu-sublinks a:hover,
.mobile-menu-sublinks a.active { color: #93B4FF; }


/* ============ CASE STUDIES — DYNAMIC CARD VARIANT ============ */
/* When .cs-grid-card is rendered as an <a>, kill default link styling */
a.cs-grid-card { text-decoration: none; color: #fff; display: block; }
a.cs-grid-card:hover .read { color: #93B4FF; }

/* Cover image variant: the image sits inside the card padding, not flush to edge */
.cs-grid-card-img {
  margin: -1.5rem -1.5rem 1rem -1.5rem;  /* breaks out of the 1.5rem card padding */
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  overflow: hidden;
  background: rgba(0,0,0,.2);
}
.cs-grid-card-img img { display: block; width: 100%; height: 180px; object-fit: cover; }

/* Two-line clamp fallback (Tailwind CDN may not ship line-clamp utility) */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* "Read more" link — slight lift on hover */
.cs-grid-card .read {
  display: inline-block;
  margin-top: 1rem;
  font-size: 13px;
  font-weight: 600;
  color: #BFD3FF;
  transition: color .2s ease;
}

/* ============ CASE STUDIES — PAGINATION ============ */
.cs-pagination ul { list-style: none; }
.cs-page-btn,
.cs-page-num {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-page-btn a,
.cs-page-btn span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none;
}
.cs-page-btn a:hover {
  color: #fff;
  background: rgba(45,92,255,.18);
  border-color: rgba(45,92,255,.4);
}
.cs-page-btn.disabled span {
  color: rgba(255,255,255,.3);
  cursor: not-allowed;
}
.cs-page-num a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.cs-page-num a:hover {
  color: #fff;
  background: rgba(45,92,255,.18);
  border-color: rgba(45,92,255,.4);
}
.cs-page-num.active a {
  background: linear-gradient(135deg, #3B6BFF, #7C5CFF);
  color: #fff;
  border-color: transparent;
}


/* ============ CASE STUDY DETAIL — COMMENTS LIST ============ */
.csd-comments-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.csd-comment-item {
  list-style: none;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 1.25rem;
}
.csd-comment-item .d-flex { display: flex; }
.csd-comment-item .align-items-start { align-items: flex-start; }
.csd-comment-item .align-items-center { align-items: center; }
.csd-comment-item .justify-between { justify-content: space-between; }
.csd-comment-item .flex-1 { flex: 1 1 0%; }
.csd-comment-item .flex-shrink-0 { flex-shrink: 0; }
.csd-comment-item .flex-wrap { flex-wrap: wrap; }
.csd-comment-item .gap-2 { gap: .5rem; }
.csd-comment-item .gap-3 { gap: .75rem; }
.csd-comment-item .mb-2 { margin-bottom: .5rem; }

.csd-comment-avatar {
  display: inline-block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(124,92,255,.2);
  border: 1px solid rgba(255,255,255,.1);
}
.csd-comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.csd-comment-name {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.csd-comment-date {
  font-size: 12px;
  color: rgba(255,255,255,.45);
}
.csd-comment-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.75);
  margin: 0;
}

/* ============ CASE STUDY DETAIL — RICH-TEXT (CMS) CONTENT ============ */
/* The blogDetail['description'] field arrives as raw HTML from the CMS.
   These rules style headings, lists, links, blockquotes inside it
   so it matches the dark theme. */
.blog-content { color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.7; }
.blog-content > * + * { margin-top: 1rem; }
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-top: 1.75rem;
  margin-bottom: .75rem;
}
.blog-content h1 { font-size: 28px; }
.blog-content h2 { font-size: 24px; }
.blog-content h3 { font-size: 20px; }
.blog-content h4 { font-size: 17px; }
.blog-content p { color: rgba(255,255,255,.78); }
.blog-content a { color: #93B4FF; text-decoration: underline; }
.blog-content a:hover { color: #BFD3FF; }
.blog-content strong { color: #fff; font-weight: 700; }
.blog-content ul,
.blog-content ol { padding-left: 1.5rem; margin: 1rem 0; }
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content li { margin: .35rem 0; color: rgba(255,255,255,.78); }
.blog-content blockquote {
  border-left: 3px solid #7C5CFF;
  padding: .5rem 0 .5rem 1rem;
  color: rgba(255,255,255,.7);
  font-style: italic;
  margin: 1.25rem 0;
}
.blog-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 1rem 0; }
.blog-content code {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 13px;
  color: #BFD3FF;
}
.blog-content pre {
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 1rem;
  overflow-x: auto;
  font-size: 13px;
  color: rgba(255,255,255,.85);
}
/* === Contact popup — small overrides === */
.popupModal .contact-form .error-text {
  display: block;
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  min-height: 16px;          /* prevents row jumping when an error appears */
}
.popupModal .contact-form .req {
  color: #ef4444;
  margin-left: 2px;
  font-weight: 600;
}
/* Soften the modal entry */
.popupModal:not(.hidden) .reveal {
  animation: modalIn .35s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
/* Backdrop fade */
.popupModal {
  transition: opacity .25s ease;
}
/* ============================================================
   Product showcase section — Zestta One
   ============================================================ */
.product-showcase-wrap {
  position: relative;
  overflow: hidden;
  padding: 80px 0 96px;
  background: linear-gradient(180deg, #06091E 0%, #0A0E2C 50%, #06091E 100%);
}
@media (min-width: 768px) {
  .product-showcase-wrap { padding: 120px 0 140px; }
}

/* Soft ambient glows — same purple/blue palette as the rest of the dark sections */
.ps-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .35;
  pointer-events: none;
  z-index: 0;
}
.ps-glow-1 {
  top: -150px; left: -150px;
  background: radial-gradient(circle, rgba(167, 139, 255, .55) 0%, transparent 70%);
}
.ps-glow-2 {
  bottom: -200px; right: -150px;
  background: radial-gradient(circle, rgba(45, 92, 255, .45) 0%, transparent 70%);
}

/* The image stage */
.ps-stage {
  position: relative;
  margin: 0 auto;
  max-width: 980px;
  padding: 0 8px;
}
.ps-image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, .55),
    0 60px 120px -40px rgba(45, 92, 255, .35),
    0 0 0 1px rgba(255, 255, 255, .06);
  transform: translateZ(0);
}

/* Floor reflection — gives the device a "lifted" feel */
.ps-floor {
  position: absolute;
  z-index: 1;
  bottom: -40px; left: 10%; right: 10%;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
              rgba(167, 139, 255, .35) 0%,
              rgba(45, 92, 255, .15) 40%,
              transparent 70%);
  filter: blur(30px);
}

/* Floating chips — glassy, subtle, callout details around the image */
.ps-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: rgba(255, 255, 255, .85);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .4);
  animation: ps-float 5s ease-in-out infinite;
}
.ps-chip-tl { top: -12px;  left: -8px; }
.ps-chip-tr { top: 30px;   right: -16px; animation-delay: -1.5s; }
.ps-chip-bl { bottom: 30px; left: -16px; animation-delay: -3s; }

.ps-chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #2D5CFF;
  box-shadow: 0 0 10px rgba(45, 92, 255, .7);
}
.ps-chip-dot-purple { background: #A78BFF; box-shadow: 0 0 10px rgba(167, 139, 255, .7); }
.ps-chip-dot-gold   { background: #F5C23D; box-shadow: 0 0 10px rgba(245, 194, 61, .7); }

@keyframes ps-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Hide chips on small screens — keeps the focus on the image */
@media (max-width: 767px) {
  .ps-chip { display: none; }
}

/* Caption row below */
.ps-feat {
  text-align: left;
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: all .3s ease;
}
.ps-feat:hover {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(167, 139, 255, .2);
  transform: translateY(-2px);
}
.ps-feat-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #A78BFF 0%, #2D5CFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.ps-feat-h {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.ps-feat-p {
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
  line-height: 1.6;
}