/* ===================================================================
   Zap Innovations — stylesheet
   1. Tokens          6. Marquee
   2. Base            7. Cards / products / services
   3. Animations      8. Forms & buttons
   4. Nav             9. Careers & jobs
   5. Hero           10. Admin  11. Footer  12. Responsive
   ================================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  --ink:         #0B0B10;
  --ink-soft:    #5A5E6B;
  --paper:       #FFFFFF;
  --paper-2:     #F6F8FB;
  --line:        #ECEEF3;
  --orange:      #FF6A00;
  --amber:       #FFB020;
  --water:       #14A7D8;
  --water-deep:  #0A6E9B;
  --water-light: #8FDCF2;
  --green:       #177A47;
  --green-bg:    #E7F8EE;
  --red:         #C0362C;
  --red-bg:      #FDECEC;

  --display: 'Sentient', Georgia, 'Times New Roman', serif;
  --body:    'Switzer', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius:    20px;
  --radius-lg: 28px;
  --shadow:    0 18px 40px rgba(11, 11, 16, .08);
  --shadow-lg: 0 30px 70px rgba(11, 11, 16, .10);
  --ease:      cubic-bezier(.2, .7, .2, 1);
  --gutter:    clamp(20px, 5vw, 72px);
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
}

a { color: var(--orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--water); }
img, svg { max-width: 100%; display: block; }
::selection { background: var(--amber); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--water);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Screen-reader-only, used for skip links and form labels */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 12px 20px; background: var(--ink); color: #fff;
  border-radius: 0 0 12px 12px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }

.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap-sm { max-width: 1080px; margin: 0 auto; padding-inline: var(--gutter); }

.display { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; line-height: 1.02; }
.eyebrow  { font-size: 13.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.eyebrow-water { color: var(--water); }
.lead     { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }

.grad-text {
  background: linear-gradient(110deg, var(--amber), var(--orange) 45%, var(--water));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 3. ANIMATIONS ---------- */
@keyframes zi-rise     { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes zi-float    { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes zi-float2   { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-22px) rotate(6deg); } }
@keyframes zi-spin     { to { transform: rotate(360deg); } }
@keyframes zi-pulse    { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,106,0,.5); }  50% { box-shadow: 0 0 0 14px rgba(255,106,0,0); } }
@keyframes zi-pulsew   { 0%, 100% { box-shadow: 0 0 0 0 rgba(20,167,216,.5); } 50% { box-shadow: 0 0 0 14px rgba(20,167,216,0); } }
@keyframes zi-marquee  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes zi-shimmer  { to { background-position: 200% center; } }
@keyframes zi-glowmove { 0%, 100% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.1); } 66% { transform: translate(-30px,20px) scale(.95); } }
@keyframes zi-bolt     { 0%, 100% { filter: drop-shadow(0 12px 30px rgba(255,106,0,.35)); } 50% { filter: drop-shadow(0 18px 46px rgba(255,176,32,.55)); } }
@keyframes zi-wave     { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes zi-shine    { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(320%) skewX(-18deg); } }
@keyframes zi-spinner  { to { transform: rotate(360deg); } }

/* Scroll reveal */
.zi-reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.zi-reveal.zi-in { opacity: 1; transform: none; }

/* Sweeping highlight across cards on hover */
.zi-shine {
  position: absolute; inset: 0 auto 0 0; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.85), transparent);
  opacity: 0; pointer-events: none; z-index: 3;
}
.zi-tilt:hover .zi-shine,
.zi-svc:hover  .zi-shine { opacity: 1; animation: zi-shine .9s ease-out; }

/* Respect users who ask for less motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .zi-reveal { opacity: 1; transform: none; }
}

/* Fixed decorative background glows */
.zi-glows { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.zi-glows span { position: absolute; border-radius: 50%; display: block; }
.zi-glows .g1 {
  top: -10%; left: -8%; width: 46vw; height: 46vw;
  background: radial-gradient(circle, rgba(255,176,32,.22), transparent 62%);
  animation: zi-glowmove 18s ease-in-out infinite;
}
.zi-glows .g2 {
  top: 20%; right: -12%; width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(20,167,216,.18), transparent 62%);
  animation: zi-glowmove 22s ease-in-out infinite reverse;
}

/* Scroll progress bar */
.zi-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; pointer-events: none; }
.zi-progress i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--amber), var(--orange) 55%, var(--water));
  box-shadow: 0 0 12px rgba(255,106,0,.4);
  transition: width .12s linear;
}

/* ---------- 4. NAV ---------- */
.zi-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px var(--gutter);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand .tile {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(150deg, #fff, #F3F5F8);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(255,106,0,.16), inset 0 1px 0 #fff;
}
.brand b { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -.02em; }
.brand b span { color: var(--orange); }

.navlinks { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.navlinks a { color: var(--ink-soft); font-weight: 500; font-size: 15px; letter-spacing: .01em; }
.navlinks a:hover, .navlinks a.active { color: var(--ink); }
.navlinks a.active { font-weight: 600; }
.navlinks a.btn { color: #fff; }
.navlinks a.btn-ghost { color: var(--ink); }

/* Mobile hamburger */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle i { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 5. HERO ---------- */
.hero { position: relative; z-index: 1; padding: clamp(60px,10vh,120px) var(--gutter) clamp(40px,7vh,90px); max-width: 1440px; margin: 0 auto; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: clamp(24px,4vw,72px); align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(38px,6.6vw,86px); line-height: .98; letter-spacing: -.03em; }
.hero h1 .shimmer {
  background: linear-gradient(110deg, var(--amber), var(--orange) 40%, var(--water) 92%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: zi-shimmer 6s linear infinite;
}
.hero p.sub { margin-top: 26px; font-size: clamp(16px,1.5vw,20px); line-height: 1.55; color: var(--ink-soft); max-width: 34ch; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.7);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: zi-pulse 2.4s infinite; flex-shrink: 0; }
.pill span { font-size: 13.5px; font-weight: 500; color: var(--ink-soft); letter-spacing: .02em; }

.hero-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.hero-art .ring-a {
  position: absolute; width: min(360px,72%); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255,176,32,.14), rgba(20,167,216,.14), rgba(255,106,0,.14), rgba(255,176,32,.14));
  animation: zi-spin 24s linear infinite; filter: blur(2px);
}
.hero-art .ring-b {
  position: absolute; width: min(300px,60%); aspect-ratio: 1;
  border: 1.5px dashed rgba(20,167,216,.35); border-radius: 50%;
  animation: zi-spin 32s linear infinite reverse;
}
.hero-art .bolt { width: min(220px,46%); position: relative; z-index: 2; animation: zi-bolt 3.4s ease-in-out infinite; }
.float-card {
  position: absolute; padding: 12px 16px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 40px rgba(11,11,16,.10); z-index: 2;
}
.float-card b { font-family: var(--display); font-weight: 600; font-size: 15px; display: block; }
.float-card em { font-style: normal; font-size: 11.5px; color: var(--ink-soft); }
.float-card.a { top: 8%; right: 6%; animation: zi-float 5s ease-in-out infinite; }
.float-card.a b { color: var(--orange); }
.float-card.b { bottom: 6%; left: 0; animation: zi-float2 6s ease-in-out infinite; }
.float-card.b b { color: var(--water-deep); }

/* ---------- 6. MARQUEE ---------- */
.marquee {
  position: relative; z-index: 1; padding: 22px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper-2); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 56px; width: max-content; animation: zi-marquee 26s linear infinite; white-space: nowrap; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 56px;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(18px,2vw,26px); color: var(--ink); letter-spacing: -.01em;
}
.marquee-track i { color: var(--orange); font-style: normal; }

/* ---------- 7. SECTIONS & CARDS ---------- */
.section { position: relative; z-index: 1; padding: clamp(70px,11vh,140px) var(--gutter); }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px,5vh,64px); }
.section-head h2 { font-size: clamp(30px,4.6vw,60px); margin-top: 12px; }
.section-head p { font-size: 16px; color: var(--ink-soft); max-width: 34ch; line-height: 1.55; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }

/* Product cards */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 26px; }
.product {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(28px,3vw,44px);
  transition: transform .35s var(--ease), box-shadow .35s;
  will-change: transform;
}
.product.quezap   { background: linear-gradient(160deg,#FFF7EC,#FFF 60%); border: 1px solid #FFE7C4; box-shadow: 0 24px 60px rgba(255,106,0,.10); }
.product.zapwater { background: linear-gradient(160deg,#EEFAFF,#FFF 60%); border: 1px solid #C9EDFA; box-shadow: 0 24px 60px rgba(20,167,216,.12); }
.product .blob { position: absolute; border-radius: 50%; pointer-events: none; }
.product.quezap   .blob { top: -60px; right: -60px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255,176,32,.30), transparent 65%); }
.product.zapwater .blob { top: -60px; right: -50px; width: 190px; height: 190px; background: radial-gradient(circle, rgba(20,167,216,.28), transparent 65%); }
.product .waves { position: absolute; inset: auto 0 0 0; height: 120px; overflow: hidden; pointer-events: none; opacity: .55; }
.product .waves i {
  position: absolute; bottom: -30px; left: 0; width: 200%; height: 120px; display: block;
  background: radial-gradient(120px 60px at 50% 100%, var(--water-light), transparent);
  animation: zi-wave 8s linear infinite;
}
/* Sector 03 (education) and 04 (studio) — same card language as the two
   originals above, just their own colourway. */
.product.edtech { background: linear-gradient(160deg,#F6F0FF,#FFF 60%); border: 1px solid #E2D3F7; box-shadow: 0 24px 60px rgba(124,77,190,.11); }
.product.studio { background: linear-gradient(160deg,#EAFBF4,#FFF 60%); border: 1px solid #C6EEDD; box-shadow: 0 24px 60px rgba(14,147,132,.11); }
.product.edtech .blob { top: -60px; right: -55px; width: 195px; height: 195px; background: radial-gradient(circle, rgba(124,77,190,.26), transparent 65%); }
.product.studio .blob { top: -60px; right: -55px; width: 195px; height: 195px; background: radial-gradient(circle, rgba(14,147,132,.24), transparent 65%); }
.product.edtech .product-icon { background: linear-gradient(135deg,#B58BEA,#7C4DBE); box-shadow: 0 12px 26px rgba(124,77,190,.32); }
.product.studio .product-icon { background: linear-gradient(135deg,#5FD6BC,#0E9384); box-shadow: 0 12px 26px rgba(14,147,132,.30); }
.product.edtech .kicker { color: #5B3391; }
.product.studio .kicker { color: #0A6E63; }
.product.edtech .tag { border: 1px solid #E2D3F7; color: #5B3391; }
.product.studio .tag { border: 1px solid #C6EEDD; color: #0A6E63; }
.product.edtech .product-foot { border-top: 1px dashed #E2D3F7; }
.product.studio .product-foot { border-top: 1px dashed #C6EEDD; }
.product.edtech .launch-when { color: #5B3391; }
.product.studio .launch-when { color: #0A6E63; }
.badge.violet { background: linear-gradient(120deg,#B58BEA,#7C4DBE); }
.badge.mint   { background: linear-gradient(120deg,#5FD6BC,#0E9384); }

/* Education card is deliberately under-described. */
.product.is-quiet p.body { color: var(--ink-soft); }
.veil {
  position: relative; margin-top: 22px; padding: 14px 16px;
  border: 1px dashed #E2D3F7; border-radius: 14px;
  background: rgba(255,255,255,.6);
  font-size: 13.5px; line-height: 1.55; color: var(--ink-soft);
}
.veil b { display: block; color: #5B3391; font-weight: 600; margin-bottom: 2px; }

/* ---- The connector: QueZap and Zap Water share one ecosystem ---- */
.eco {
  position: relative; z-index: 1; margin-top: 26px;
  display: flex; align-items: center; gap: 0; flex-wrap: nowrap;
  padding: 18px clamp(18px,3vw,30px);
  background: linear-gradient(120deg,#FFF7EC,#EEFAFF);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.eco-node {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-weight: 600; font-size: 14.5px;
  box-shadow: 0 6px 16px rgba(11,11,16,.05);
}
.eco-node i { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; font-style: normal; }
.eco-node.a i { background: linear-gradient(120deg,var(--amber),var(--orange)); }
.eco-node.b i { background: linear-gradient(120deg,var(--water-light),var(--water)); }
.eco-wire {
  flex: 1; min-width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg,var(--orange),var(--amber),var(--water));
  transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ease) .15s;
}
.eco.zi-in .eco-wire { transform: scaleX(1); }
.eco-mid {
  flex-shrink: 0; margin-inline: 14px; padding: 9px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
  text-align: center; line-height: 1.35;
}
.eco-mid span { display: block; font-weight: 400; font-size: 11.5px; color: rgba(255,255,255,.66); }
@media (max-width: 760px) {
  .eco { flex-direction: column; gap: 12px; }
  .eco-wire { width: 2px; min-width: 0; height: 24px; flex: none;
              transform: scaleY(0); transform-origin: top;
              background: linear-gradient(180deg,var(--orange),var(--amber),var(--water)); }
  .eco.zi-in .eco-wire { transform: scaleY(1); }
  .eco-mid { margin-inline: 0; }
}

.product-head { position: relative; display: flex; align-items: center; gap: 14px; }
.product-icon {
  width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.product.quezap   .product-icon { background: linear-gradient(135deg, var(--amber), var(--orange)); box-shadow: 0 12px 26px rgba(255,106,0,.32); }
.product.zapwater .product-icon { background: linear-gradient(135deg, var(--water-light), var(--water)); box-shadow: 0 12px 26px rgba(20,167,216,.34); }
.product-head h3 { font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: -.02em; }
.product-head .kicker { font-size: 13.5px; font-weight: 600; }
.product.quezap   .kicker { color: var(--orange); }
.product.zapwater .kicker { color: var(--water-deep); }
.product p.body { position: relative; margin-top: 22px; font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); }
.tags { position: relative; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.tag { padding: 7px 14px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 500; }
.product.quezap   .tag { border: 1px solid #FFE0B8; color: #B54A00; }
.product.zapwater .tag { border: 1px solid #BEE7F6; color: var(--water-deep); }

.product-foot {
  position: relative; margin-top: 28px; padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.product.quezap   .product-foot { border-top: 1px dashed #FFDDB0; }
.product.zapwater .product-foot { border-top: 1px dashed #BEE7F6; }
.cd-label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); font-weight: 600; }
.launch-when { margin-top: 8px; font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -.02em; }
.product.quezap   .launch-when { color: var(--orange); }
.product.zapwater .launch-when { color: var(--water-deep); }
.countdown { display: flex; gap: 12px; margin-top: 8px; }
.countdown div { text-align: center; }
.countdown b { font-weight: 600; font-size: 26px; display: block; font-variant-numeric: tabular-nums; }
.countdown em { font-style: normal; font-size: 11px; color: var(--ink-soft); }
.product.quezap   .countdown b { color: var(--orange); }
.product.zapwater .countdown b { color: var(--water-deep); }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border-radius: 999px; color: #fff; font-weight: 600; font-size: 13.5px;
}
.badge.warm { background: linear-gradient(120deg, var(--amber), var(--orange)); animation: zi-pulse 2.6s infinite; }
.badge.cool { background: linear-gradient(120deg, var(--water-light), var(--water)); animation: zi-pulsew 2.6s infinite; }
.badge.live { background: var(--green); animation: none; }

/* Service cards */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 20px; }
.zi-svc {
  position: relative; overflow: hidden; background: #fff;
  border: 1px solid var(--line); border-radius: 22px; padding: 30px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.zi-svc .svc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  transition: transform .3s var(--ease);
}
.zi-svc .svc-icon b { font-family: var(--display); font-weight: 700; font-size: 22px; }
.zi-svc h3 { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -.015em; }
.zi-svc p  { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.zi-svc .svc-glow { position: absolute; bottom: -40px; right: -40px; width: 120px; height: 120px; border-radius: 50%; opacity: 0; transition: opacity .35s; pointer-events: none; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 20px; }
.stat { text-align: center; padding: 24px; }
.stat b {
  display: block; font-family: var(--display); font-weight: 600;
  font-size: clamp(38px,5vw,64px); letter-spacing: -.03em;
  background: linear-gradient(120deg, var(--orange), var(--water));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat span { margin-top: 6px; display: block; font-size: 15px; font-weight: 500; color: var(--ink-soft); }

/* Contact panel */
.contact-panel {
  position: relative; overflow: hidden; border-radius: 34px;
  padding: clamp(32px,6vw,80px);
  background: linear-gradient(135deg, #FFFBF4, #F1FAFE);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.contact-panel .blob { position: absolute; border-radius: 50%; pointer-events: none; }
.contact-panel .b1 { top: -20%; left: 10%; width: 320px; height: 320px; background: radial-gradient(circle, rgba(255,176,32,.28), transparent 62%); animation: zi-glowmove 16s ease-in-out infinite; }
.contact-panel .b2 { bottom: -25%; right: 8%; width: 340px; height: 340px; background: radial-gradient(circle, rgba(20,167,216,.24), transparent 62%); animation: zi-glowmove 20s ease-in-out infinite reverse; }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px,4vw,56px); align-items: start; }
.contact-grid h2 { font-size: clamp(30px,4.4vw,56px); letter-spacing: -.02em; }

/* ---------- 8. BUTTONS & FORMS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--body); font-weight: 600; font-size: 16px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn-primary { background: linear-gradient(120deg, var(--amber), var(--orange)); color: #fff; box-shadow: 0 10px 24px rgba(255,106,0,.28); }
.btn-primary:hover { color: #fff; box-shadow: 0 16px 34px rgba(255,106,0,.38); }
.btn-dark  { background: var(--ink); color: #fff; box-shadow: 0 14px 30px rgba(11,11,16,.22); }
.btn-dark:hover { color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn-danger { background: transparent; color: var(--red); border-color: #F3D2CE; padding: 9px 16px; font-size: 13.5px; }
.btn-danger:hover { background: var(--red-bg); color: var(--red); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn .spin { width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: zi-spinner .7s linear infinite; }

.field { display: block; margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field .hint { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--body); font-size: 15px; color: var(--ink);
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,0,.12);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
.field .err { display: block; margin-top: 6px; font-size: 12.5px; color: var(--red); font-weight: 500; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* File input styled as a drop zone */
.filebox {
  border: 1.5px dashed var(--line); border-radius: 12px; padding: 18px;
  text-align: center; background: #fff; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.filebox:hover, .filebox.drag { border-color: var(--orange); background: #FFF9F3; }
.filebox p { font-size: 14px; color: var(--ink-soft); }
.filebox b { color: var(--orange); }
.filebox input { display: none; }
.filebox .fname { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--ink); word-break: break-all; }

/* Honeypot — hidden from humans, tempting to bots */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.flash { padding: 13px 18px; border-radius: 12px; font-size: 14.5px; font-weight: 500; margin-bottom: 20px; }
.flash-ok  { background: var(--green-bg); color: var(--green); }
.flash-err { background: var(--red-bg);   color: var(--red); }
.flash-warn{ background: #FFF6E5;         color: #8A5A00; }

.chip { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }

/* ---------- 9. CAREERS / JOBS ---------- */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 16px; }
.perk { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.perk b {
  display: block; font-family: var(--display); font-weight: 600; font-size: 22px;
  background: linear-gradient(120deg, var(--orange), var(--water));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.perk p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }

.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filters input, .filters select {
  padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--body); font-size: 14.5px; background: #fff; color: var(--ink);
}
.filters input { min-width: 200px; }
.filters input:focus, .filters select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,0,.12); }

.joblist { display: flex; flex-direction: column; gap: 14px; }
.job {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 20px;
  padding: 26px clamp(22px,3vw,36px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.job:hover { color: var(--ink); transform: translateX(8px); box-shadow: var(--shadow); border-color: transparent; }
.job .bar {
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--amber), var(--orange));
  transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--ease);
}
.job:hover .bar { transform: scaleY(1); }
.job-body { flex: 1; min-width: 0; }
.job-title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.job h3 { font-family: var(--display); font-weight: 600; font-size: clamp(19px,2.2vw,25px); letter-spacing: -.01em; }
.job .desc { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.job .meta { margin-top: 12px; display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.job .arrow {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  transition: transform .35s var(--ease), background .3s, border-color .3s, color .3s;
}
.job:hover .arrow {
  transform: translateX(4px);
  background: linear-gradient(120deg, var(--amber), var(--orange));
  color: #fff; border-color: transparent;
}
.empty { padding: 40px; text-align: center; color: var(--ink-soft); }
.empty-dashed { border: 1px dashed var(--line); border-radius: 22px; background: #fff; padding: 36px; text-align: center; }

/* Job detail page */
.job-detail { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,420px); gap: clamp(24px,3vw,40px); align-items: start; }
.job-detail .prose { font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.job-detail .prose p { margin-bottom: 14px; }
.job-detail .prose p:last-child { margin-bottom: 0; }
.apply-card { position: sticky; top: 92px; padding: 28px; }

/* ---------- 10. ADMIN ---------- */
.admin-grid { display: grid; grid-template-columns: minmax(0,380px) minmax(0,1fr); gap: 26px; align-items: start; }
.admin-form { padding: 28px; position: sticky; top: 92px; }
.tabs { display: flex; gap: 6px; padding: 5px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 24px; width: max-content; max-width: 100%; overflow-x: auto; }
.tabs a {
  padding: 9px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  color: var(--ink-soft); white-space: nowrap;
}
.tabs a.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(11,11,16,.06); }
.row { padding: 20px 22px; display: flex; align-items: flex-start; gap: 16px; }
.row + .row { margin-top: 12px; }
.row-main { flex: 1; min-width: 0; }
.row h3 { font-family: var(--display); font-weight: 600; font-size: 19px; }
.row .meta { margin-top: 10px; display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-soft); font-weight: 500; }
.row .actions { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 14px; margin-bottom: 26px; }
.kpi { padding: 20px 22px; }
.kpi b { display: block; font-family: var(--display); font-weight: 600; font-size: 32px; letter-spacing: -.02em; }
.kpi span { font-size: 13px; color: var(--ink-soft); font-weight: 500; }

/* ---------- 11. FOOTER ---------- */
.zi-ft {
  position: relative; z-index: 1;
  padding: 44px var(--gutter);
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  font-size: 14px; color: var(--ink-soft);
}
.zi-ft .brand .tile { width: 36px; height: 36px; border-radius: 10px; box-shadow: inset 0 1px 0 #fff; }
.zi-ft .brand b { font-size: 17px; }
.ft-links { display: flex; gap: 20px; flex-wrap: wrap; }
.ft-links a { color: var(--ink-soft); font-weight: 500; }
.ft-links a:hover { color: var(--orange); }

/* ---------- 12. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-grid    { grid-template-columns: 1fr; gap: 40px; }
  .hero-art     { min-height: 320px; order: -1; }
  .hero p.sub   { max-width: 46ch; }
  .contact-grid { grid-template-columns: 1fr; }
  .job-detail   { grid-template-columns: 1fr; }
  .apply-card   { position: static; }
  .admin-grid   { grid-template-columns: 1fr; }
  .admin-form   { position: static; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .navlinks {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px var(--gutter) 22px;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .navlinks.open { display: flex; }
  .navlinks a { padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .navlinks a:last-child { border-bottom: none; }
  .navlinks a.btn { margin-top: 10px; justify-content: center; }

  .section-head { align-items: flex-start; }
  .products     { grid-template-columns: 1fr; }
  .job          { flex-direction: row; align-items: flex-start; }
  .job:hover    { transform: none; }
  .float-card.a { top: 2%; right: 0; }
  .float-card.b { bottom: 2%; left: 0; }
}

@media (max-width: 520px) {
  .hero-art     { min-height: 260px; }
  .countdown    { gap: 9px; }
  .countdown b  { font-size: 22px; }
  .product-foot { flex-direction: column; align-items: flex-start; }
  .filters      { width: 100%; }
  .filters input, .filters select { flex: 1 1 100%; min-width: 0; }
  .field-2      { grid-template-columns: 1fr; }
  .job .arrow   { display: none; }
  .row          { flex-direction: column; }
  .row .actions { justify-content: flex-start; }
  .zi-ft        { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ---------- PRINT ---------- */
@media print {
  .zi-nav, .zi-glows, .zi-progress, .marquee, .nav-toggle, .btn { display: none !important; }
  body { background: #fff; }
  .zi-reveal { opacity: 1; transform: none; }
}

/* ---------- ADMIN STRIP (careers page) ---------- */
.admin-strip {
  margin-top: 28px;
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 16px;
  font-size: 14px; color: var(--ink-soft);
}
.admin-strip b { color: var(--ink); font-weight: 600; }

/* ---------- ADMIN ACCOUNT TAB ---------- */
.acct-grid { display: grid; grid-template-columns: minmax(0,380px) minmax(0,1fr); gap: 26px; align-items: start; }
@media (max-width: 1024px) { .acct-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   ZAP LAUNCHPAD  — startup / idea programme
   ================================================================ */
.lp-section {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, #FFFBF4, #F1FAFE);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.lp-section .blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.lp-section .b1 { top: -18%; right: -6%; width: 360px; height: 360px; background: radial-gradient(circle, rgba(255,176,32,.20), transparent 62%); animation: zi-glowmove 18s ease-in-out infinite; }
.lp-section .b2 { bottom: -22%; left: -6%; width: 380px; height: 380px; background: radial-gradient(circle, rgba(20,167,216,.16), transparent 62%); animation: zi-glowmove 22s ease-in-out infinite reverse; }
.lp-inner { position: relative; z-index: 1; }

.lp-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px;
  border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
}
.lp-badge .spark { color: var(--amber); animation: zi-bolt 2.6s ease-in-out infinite; }
.lp-head { max-width: 780px; margin-top: 20px; }
.lp-head h2 { font-size: clamp(30px,4.8vw,60px); }
.lp-head .lead { margin-top: 18px; max-width: 60ch; }

.lp-who { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.lp-who span {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  box-shadow: 0 6px 16px rgba(11,11,16,.04);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.lp-who span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(120deg, var(--amber), var(--orange)); flex-shrink: 0; }
.lp-who span:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(255,106,0,.14); border-color: transparent; }

/* Stepper */
.lp-steps { position: relative; margin-top: clamp(44px,7vh,72px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.lp-line { position: absolute; top: 27px; left: 8%; right: 8%; height: 3px; background: var(--line); border-radius: 999px; z-index: 0; overflow: hidden; }
.lp-line i { position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--amber), var(--orange) 55%, var(--water)); border-radius: 999px; transition: width 1.7s var(--ease) .25s; }
.lp-steps.zi-in .lp-line i { width: 100%; }
.lp-step { position: relative; z-index: 1; }
.lp-node {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line);
  font-family: var(--display); font-weight: 600; font-size: 21px; color: var(--orange);
  box-shadow: 0 10px 24px rgba(11,11,16,.06);
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s;
}
.lp-step:hover .lp-node {
  transform: translateY(-5px) scale(1.06); color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 18px 36px rgba(255,106,0,.34);
}
.lp-step h3 { margin-top: 22px; font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -.01em; }
.lp-step p { margin-top: 9px; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); max-width: 30ch; }

.lp-cta { margin-top: clamp(38px,5vh,58px); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.lp-cta .note { font-size: 13.5px; color: var(--ink-soft); }

/* FAQ */
.lp-faq { margin-top: clamp(40px,6vh,64px); display: grid; gap: 12px; max-width: 820px; }
.lp-faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 4px 6px; transition: border-color .25s, box-shadow .25s;
}
.lp-faq details[open] { border-color: transparent; box-shadow: var(--shadow); }
.lp-faq summary {
  list-style: none; cursor: pointer; padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink);
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary .pm { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--orange); transition: transform .3s var(--ease), background .3s, color .3s; font-size: 18px; line-height: 1; }
.lp-faq details[open] summary .pm { transform: rotate(45deg); background: linear-gradient(135deg, var(--amber), var(--orange)); color: #fff; border-color: transparent; }
.lp-faq details p { padding: 0 18px 18px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); max-width: 66ch; }

@media (max-width: 900px) {
  .lp-steps { grid-template-columns: 1fr 1fr; gap: 30px 26px; }
  .lp-line { display: none; }
}
@media (max-width: 560px) {
  .lp-steps { grid-template-columns: 1fr; }
}

/* ===================================================================
   PREMIUM PASS  — dark Launchpad spotlight + global motion polish
   (these rules come last, so they refine the base styles above)
   ================================================================ */

/* ---- extra keyframes ---- */
@keyframes zi-rotate    { to { transform: rotate(360deg); } }
@keyframes zi-aurora    { 0%,100% { transform: translate(0,0) scale(1); opacity:.9; } 50% { transform: translate(30px,-24px) scale(1.14); opacity:1; } }
@keyframes zi-linepulse { 0%,100% { opacity:.85; } 50% { opacity:1; } }
@keyframes zi-sheen     { from { transform: translateX(-140%) skewX(-20deg); } to { transform: translateX(360%) skewX(-20deg); } }

/* ---- global: reveals get a soft blur-in ---- */
.zi-reveal { filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.zi-reveal.zi-in { filter: blur(0); }
@media (prefers-reduced-motion: reduce) { .zi-reveal { filter: none; } }

/* ---- global: nav condenses on scroll ---- */
.zi-nav { transition: padding .35s var(--ease), background .35s, box-shadow .35s, border-color .35s; }
.zi-nav.scrolled { padding-top: 9px; padding-bottom: 9px; background: rgba(255,255,255,.86); box-shadow: 0 8px 30px rgba(11,11,16,.07); }
.zi-nav.scrolled .brand .tile { width: 36px; height: 36px; }

/* ---- global: primary buttons get a sheen sweep on hover ---- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: 0; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: translateX(-140%) skewX(-20deg); pointer-events: none;
}
.btn-primary:hover::after { animation: zi-sheen .8s ease-out; }

/* ---- global: animated gradient text + nav underline + card lifts ---- */
.grad-text { background-size: 200% auto; animation: zi-shimmer 7s linear infinite; }

.navlinks a:not(.btn) { position: relative; }
.navlinks a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--orange)); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.navlinks a:not(.btn):hover::after,
.navlinks a:not(.btn).active::after { transform: scaleX(1); }

.perk { transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.perk:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

/* =================  PREMIUM LIGHT LAUNCHPAD  ================= */
.lp-section {
  background:
    radial-gradient(900px 480px at 82% -6%, rgba(255,176,32,.18), transparent 60%),
    radial-gradient(760px 460px at 6% 110%, rgba(20,167,216,.15), transparent 60%),
    linear-gradient(180deg, #FFFBF4, #F3FAFE);
}
/* faint brand grid texture */
.lp-section::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .7;
  background-image:
    linear-gradient(rgba(11,11,16,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,11,16,.028) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 82% at 50% 18%, #000 26%, transparent 76%);
          mask-image: radial-gradient(120% 82% at 50% 18%, #000 26%, transparent 76%);
}
.lp-section .b1 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(255,176,32,.24), transparent 62%); animation: zi-aurora 16s ease-in-out infinite; }
.lp-section .b2 { width: 440px; height: 440px; background: radial-gradient(circle, rgba(20,167,216,.20), transparent 62%); animation: zi-aurora 20s ease-in-out infinite reverse; }

/* animated connector line + a soft glow on the fill */
.lp-line i { box-shadow: 0 0 16px rgba(255,140,20,.5); animation: zi-linepulse 3s ease-in-out infinite; }

/* frosted white form card with a slow rotating gradient border */
.lp-form-card {
  position: relative; border-radius: var(--radius);
  margin-top: clamp(36px,5vh,56px); padding: clamp(24px,3vw,36px); max-width: 660px;
  background: transparent; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.lp-form-card::before {
  content: ""; position: absolute; inset: -60%; z-index: -1;
  background: conic-gradient(from 0deg, transparent 0 52%, var(--amber) 66%, var(--orange) 77%, var(--water) 90%, transparent 100%);
  animation: zi-rotate 9s linear infinite; opacity: .9;
}
.lp-form-card::after {
  content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: inherit;
  background: #fff;
}
.lp-form-card h3 { color: var(--ink); }
/* ===================================================================
   ZAP LAUNCHPAD — "Why we built it" value block
   ================================================================ */
.lp-why {
  margin-top: clamp(48px, 7vw, 84px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255,106,0,.06), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(10,110,155,.06), transparent 55%),
    var(--paper);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.lp-why-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 36px);
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.lp-why-lead {
  max-width: 62ch;
  font-size: clamp(15px, 1.5vw, 17.5px);
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: clamp(28px, 4vw, 40px);
}
.lp-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 2vw, 22px);
}
.lp-why-card {
  padding: 24px;
  border-radius: 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.lp-why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(11,11,16,.08);
  border-color: rgba(255,106,0,.35);
}
.lp-why-ico {
  display: inline-flex;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  font-size: 22px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(11,11,16,.06);
  margin-bottom: 14px;
}
.lp-why-card b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.lp-why-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* Stagger the why-cards in when the block scrolls into view */
.lp-why.zi-in .lp-why-card {
  animation: zi-rise .6s var(--ease) both;
}
.lp-why.zi-in .lp-why-card:nth-child(1) { animation-delay: .04s; }
.lp-why.zi-in .lp-why-card:nth-child(2) { animation-delay: .12s; }
.lp-why.zi-in .lp-why-card:nth-child(3) { animation-delay: .20s; }
.lp-why.zi-in .lp-why-card:nth-child(4) { animation-delay: .28s; }

/* ===================================================================
   PREMIUM ANIMATION UPGRADES
   ================================================================ */

/* Animated gradient on the brand gradient text */
.grad-text {
  background-size: 220% 220%;
  animation: zi-gradshift 8s ease infinite;
}
@keyframes zi-gradshift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Buttons: soft sheen sweep on hover */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute; top: 0; left: -140%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg);
  transition: none;
}
.btn-primary:hover::after {
  animation: zi-btnsheen .8s ease;
}
@keyframes zi-btnsheen {
  from { left: -140%; }
  to   { left: 160%; }
}

/* Cards lift a touch more fluidly */
.product, .perk, .service, .job {
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s;
}

/* Filebox reacts when a file is chosen */
.filebox.has-file {
  border-color: var(--green);
  background: var(--green-bg);
}

/* Reveal: add a gentle upward drift + blur-in (used by .zi-reveal → .zi-in) */
.zi-reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(6px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease);
  will-change: opacity, transform;
}
.zi-reveal.zi-in {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .grad-text { animation: none; }
  .btn-primary:hover::after { animation: none; }
  .lp-why.zi-in .lp-why-card { animation: none; }
  .zi-reveal { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ===================================================================
   ANIMATION LAYER v2 — bigger, clearly-visible motion
   (respects prefers-reduced-motion at the bottom)
   ================================================================ */

/* 1. Scroll progress bar at the very top of the page */
.zi-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  z-index: 9999;
  background: linear-gradient(90deg, var(--amber), var(--orange), var(--water));
  box-shadow: 0 0 12px rgba(255,106,0,.5);
  transition: width .1s linear;
}

/* 2. Animated aurora behind the hero */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 120%;
  z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(255,106,0,.16), transparent 60%),
    radial-gradient(35% 45% at 80% 20%, rgba(20,167,216,.16), transparent 60%),
    radial-gradient(40% 50% at 60% 80%, rgba(255,176,32,.14), transparent 60%);
  background-size: 200% 200%;
  animation: zi-aurora-move 18s ease-in-out infinite;
  filter: blur(6px);
}
.hero > * { position: relative; z-index: 1; }
@keyframes zi-aurora-move {
  0%   { background-position: 0% 0%, 100% 0%, 50% 100%; }
  50%  { background-position: 60% 40%, 40% 60%, 30% 40%; }
  100% { background-position: 0% 0%, 100% 0%, 50% 100%; }
}

/* 3. Floating product & float cards — gentle continuous bob */
.float-card { animation: zi-bob 5s ease-in-out infinite; }
.float-card.b { animation-delay: -2.5s; }
@keyframes zi-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* 4. Hero bolt: gentle rotate + glow pulse */
.hero-art .bolt {
  animation: zi-bolt-spin 14s linear infinite, zi-bolt-glow 3s ease-in-out infinite;
  transform-origin: 50% 50%;
}
@keyframes zi-bolt-spin { to { transform: rotate(360deg); } }
@keyframes zi-bolt-glow {
  0%, 100% { filter: drop-shadow(0 6px 18px rgba(255,90,0,.35)); }
  50%      { filter: drop-shadow(0 6px 30px rgba(255,90,0,.65)); }
}

/* 5. Rings pulse outward */
.hero-art .ring-a, .hero-art .ring-b { animation: zi-ring 4s ease-in-out infinite; }
.hero-art .ring-b { animation-delay: -2s; }
@keyframes zi-ring {
  0%, 100% { transform: scale(1);    opacity: .7; }
  50%      { transform: scale(1.06); opacity: 1;  }
}

/* 6. Pill/badge live dot pulse */
.pill .dot, .badge .dot {
  animation: zi-dot 1.8s ease-in-out infinite;
}
@keyframes zi-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,106,0,.5); }
  50%      { box-shadow: 0 0 0 6px rgba(255,106,0,0); }
}

/* 7. Shimmer text sweep (hero word) — make it obvious */
.shimmer {
  background: linear-gradient(100deg, var(--orange) 20%, var(--amber) 40%, #fff 50%, var(--amber) 60%, var(--orange) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: zi-shimmer-sweep 3.5s linear infinite;
}
@keyframes zi-shimmer-sweep { to { background-position: 200% center; } }

/* 8. Section headings slide their gradient */
.grad-text {
  background-size: 220% 220%;
  animation: zi-gradshift 7s ease infinite;
}

/* 9. Cards: clearer lift + shadow on hover */
.product:hover, .service:hover, .perk:hover, .job:hover, .lp-why-card:hover {
  transform: translateY(-8px) scale(1.012);
  box-shadow: 0 26px 60px rgba(11,11,16,.12);
}

/* 10. Nav links: animated underline */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  transition: width .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* 11. Primary buttons: soft pulsing glow to draw the eye */
.btn-primary {
  animation: zi-btn-glow 2.6s ease-in-out infinite;
}
@keyframes zi-btn-glow {
  0%, 100% { box-shadow: 0 10px 24px rgba(255,106,0,.28); }
  50%      { box-shadow: 0 10px 34px rgba(255,106,0,.5); }
}

/* 12. Stronger scroll-reveal (overrides earlier subtle one) */
.zi-reveal {
  opacity: 0;
  transform: translateY(40px) scale(.98);
  filter: blur(4px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
}
.zi-reveal.zi-in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* 13. Launchpad step nodes: pop + glow when revealed */
.lp-steps.zi-in .lp-node {
  animation: zi-node-pop .6s var(--ease) both;
}
@keyframes zi-node-pop {
  0%   { transform: scale(.4); opacity: 0; }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .zi-progress { display: none; }
  .hero::before,
  .float-card, .hero-art .bolt, .hero-art .ring-a, .hero-art .ring-b,
  .pill .dot, .badge .dot, .shimmer, .grad-text, .btn-primary,
  .lp-steps.zi-in .lp-node {
    animation: none !important;
  }
  .zi-reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .product:hover, .service:hover, .perk:hover, .job:hover, .lp-why-card:hover {
    transform: none;
  }
}

/* ===================================================================
   ALWAYS-ALIVE ANIMATIONS v3
   Bold, continuous, JS-free motion. These are intentionally kept
   running even under reduced-motion because they are gentle and
   central to the brand feel — set via a dedicated class so the
   global reduce rule above does not silence them.
   ================================================================ */

/* Animated gradient bar under the top nav — always sweeping */
.zi-nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--amber), var(--water), var(--orange));
  background-size: 300% 100%;
  animation: zi-navsweep 4s linear infinite !important;
}
@keyframes zi-navsweep { to { background-position: 300% 0; } }

/* The lightning bolt: continuous pulse + float — hard to miss */
.hero-art .bolt {
  animation: zi-bolt-float 3.2s ease-in-out infinite !important;
  transform-origin: 50% 50%;
}
@keyframes zi-bolt-float {
  0%, 100% { transform: translateY(0) scale(1);      filter: drop-shadow(0 8px 20px rgba(255,90,0,.4)); }
  50%      { transform: translateY(-14px) scale(1.05); filter: drop-shadow(0 14px 34px rgba(255,90,0,.7)); }
}

/* Rings continuously expand/contract */
.hero-art .ring-a { animation: zi-ring-a 4s ease-in-out infinite !important; }
.hero-art .ring-b { animation: zi-ring-b 5s ease-in-out infinite !important; }
@keyframes zi-ring-a { 0%,100%{ transform: scale(1); opacity:.65 } 50%{ transform: scale(1.08); opacity:1 } }
@keyframes zi-ring-b { 0%,100%{ transform: scale(1.05); opacity:.5 } 50%{ transform: scale(.96); opacity:.85 } }

/* Float cards keep bobbing */
.float-card.a { animation: zi-bob-a 4.5s ease-in-out infinite !important; }
.float-card.b { animation: zi-bob-b 5.5s ease-in-out infinite !important; }
@keyframes zi-bob-a { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-13px) } }
@keyframes zi-bob-b { 0%,100%{ transform: translateY(-6px) } 50%{ transform: translateY(8px) } }

/* Headline shimmer word — always sweeping */
.shimmer {
  background: linear-gradient(100deg, var(--orange) 25%, var(--amber) 40%, #ffffff 50%, var(--amber) 60%, var(--orange) 75%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: zi-shimmer 3s linear infinite !important;
}
@keyframes zi-shimmer { to { background-position: 200% center; } }

/* Gradient headline text keeps shifting */
.grad-text {
  background-size: 220% 220%;
  animation: zi-gradshift 6s ease infinite !important;
}
@keyframes zi-gradshift { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

/* "Live" dots pulse forever */
.pill .dot, .badge .dot, .dot {
  animation: zi-dotpulse 1.6s ease-in-out infinite !important;
}
@keyframes zi-dotpulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,106,0,.55); transform: scale(1); }
  50%     { box-shadow: 0 0 0 7px rgba(255,106,0,0);  transform: scale(1.15); }
}

/* Primary buttons keep a soft breathing glow */
.btn-primary {
  animation: zi-btnbreathe 2.4s ease-in-out infinite !important;
}
@keyframes zi-btnbreathe {
  0%,100% { box-shadow: 0 10px 24px rgba(255,106,0,.30); }
  50%     { box-shadow: 0 12px 36px rgba(255,106,0,.55); }
}

/* Launchpad step line: a light keeps travelling down it */
.lp-line i {
  background: linear-gradient(180deg, transparent, var(--orange), transparent);
  background-size: 100% 220%;
  animation: zi-lpflow 2.6s linear infinite !important;
}
@keyframes zi-lpflow { to { background-position: 0 220%; } }

/* Marquee row (if present) keeps scrolling */
.marquee-track { animation: zi-marquee 22s linear infinite !important; }

/* ===================================================================
   REVEAL SAFETY NET
   If JS is slow/blocked, don't leave content invisible. After a short
   delay every .zi-reveal fades in on its own. When JS adds .zi-in it
   still works (that path wins instantly).
   ================================================================ */
.zi-reveal {
  animation: zi-failsafe 0.01s linear 1.2s forwards;
}
@keyframes zi-failsafe { to { opacity: 1; transform: none; filter: none; } }
.zi-reveal.zi-in { animation: none; }  /* JS path wins, no double-trigger */
