/* ============================================================
   Zeyora Tech, stylesheet
   Design tokens + responsive, GPU-friendly styling.
   ============================================================ */

:root {
  --bg:      #060409;
  --bg-2:    #0a0713;
  --bg-3:    #050308;
  --panel:   rgba(255, 255, 255, 0.03);
  --panel-2: rgba(255, 255, 255, 0.045);

  --purple:      #7c5cfc;
  --purple-lite: #8b6bff;
  --purple-soft: #a48bff;
  --purple-glow: #c3b2ff;
  --purple-deep: #4a2c9e;

  --border:      rgba(124, 92, 252, 0.22);
  --border-lite: rgba(124, 92, 252, 0.14);
  --border-strong: #7c5cfc;

  --text:      #ffffff;
  --text-soft: #cfc7dd;
  --text-mut:  #b3aac4;
  --text-dim:  #8f86a3;
  --text-body: #a49dba;

  --gold: #ffce3d;

  --font-display: 'Fredoka', 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --maxw: 1280px;
  --radius: 24px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* stop iOS Safari from auto-inflating text on real devices (invisible in emulators) */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--purple-soft); text-decoration: none; }
a:hover { color: var(--purple-glow); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; }

/* ---------- helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-inline: clamp(20px, 5vw, 40px); }
.wrap { max-width: 1180px; }
.grad-word { color: var(--purple-lite); }
.eyebrow {
  display: inline-block; border: 1px solid rgba(124, 92, 252, 0.6);
  color: var(--purple-glow); padding: 8px 18px; border-radius: 24px;
  font-size: 14px; font-weight: 600;
}
.section { padding-block: clamp(56px, 9vw, 90px); }
.center { text-align: center; }
.muted { color: var(--text-dim); }

/* section theme backgrounds */
.bg-1 { background: var(--bg); }
.bg-2 { background: var(--bg-2); }
.bg-3 { background: var(--bg-3); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--purple); color: #fff; font-weight: 700;
  font-size: 16px; padding: 14px 32px; border-radius: 30px;
  cursor: pointer; border: none; transition: background .3s, transform .3s, box-shadow .3s;
  will-change: transform;
}
.btn:hover { background: #6a48f0; color: #fff; transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid #3a3350; color: #fff; padding: 12px 26px;
  border-radius: 30px; font-weight: 600; cursor: pointer;
  background: transparent; transition: border-color .3s, background .3s;
}
.btn-ghost:hover { border-color: var(--purple); }

.btn-pulse { position: relative; }
.btn-pulse::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(124, 92, 252, 0.55);
  animation: btnpulse 2.6s ease-out infinite; pointer-events: none;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 4, 9, 0.72); border-bottom: 1px solid var(--border-lite);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 40px);
}
.brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, #8b6bff, #6a3ff0);
  display: flex; align-items: center; justify-content: center;
  transform: skewX(-8deg);
}
.brand-mark span { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 20px; transform: skewX(8deg); }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: #fff; }

.nav-links { display: flex; gap: clamp(20px, 3vw, 38px); font-size: 16px; color: var(--text-soft); font-weight: 500; }
.nav-links a { color: var(--text-soft); cursor: pointer; }
.nav-links a:hover, .nav-links a.active { color: #fff; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;                 /* buttons default to white UA bg otherwise */
  border: 1px solid var(--purple); color: #fff; padding: 10px 22px;
  border-radius: 26px; font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background .3s;
}
.nav-cta:hover { background: var(--purple); }
.nav-cta span { color: var(--purple-soft); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--border); background: transparent; cursor: pointer;
  color: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ---------- page switching ---------- */
.page { animation: fadeUp .4s ease; }
.page[hidden] { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 100% at 78% 45%, #1c1140 0%, #0a0713 60%, #060409 100%);
}

/* ---------- hero background video media layer ----------
   Self-contained z-index:0 block that sits behind all hero content
   (.hero-inner is z-index:2). Mobile-first: 80% centred; full-bleed >=768px. */
.hero-media {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
/* the hand (PNG + video) has a real alpha channel, so it sits directly on the
   hero gradient — background is literally the same pixels left and right */
.hero-hand-img, .hero-media-video {
  position: absolute; right: clamp(28px, 6.5vw, 110px); bottom: 0;
  height: 86%; aspect-ratio: 999 / 1871; width: auto;
  object-fit: contain; object-position: right bottom; display: block;
  /* faint purple rim so the dark hand separates from the dark gradient */
  filter: drop-shadow(0 0 34px rgba(124, 92, 252, 0.30));
}
/* entrance */
.hero-hand-img, .hero-media-video { opacity: 0; transform: scale(1.05);
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1); }
.hero-media.is-in .hero-hand-img { opacity: 1; transform: scale(1); }
.hero-media.is-in .hero-media-video { opacity: 0; transform: scale(1); }   /* video hidden until it truly plays */
/* once the video is really playing, cross-fade: hide the static PNG, show the video */
.hero-media.playing .hero-hand-img { opacity: 0; }
.hero-media.playing.is-in .hero-media-video { opacity: 1; }

@media (max-width: 767px) {
  /* phones: PNG + video share the same spot. PNG is the guaranteed baseline;
     the video plays over it and only replaces it once genuinely playing. */
  .hero-hand-img, .hero-media-video { height: 52%; right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-hand-img, .hero-media-video { opacity: 1; transform: none; transition: none; }
  .hero-media.playing .hero-hand-img { opacity: 0; }
}
/* keep the hero tall enough on mobile; dvh tracks the real visible viewport
   on phones (URL bar collapse) with vh as the older-browser fallback */
@media (max-width: 767px) {
  .hero { min-height: 86vh; min-height: 86dvh; display: flex; align-items: center; }
  .hero-inner { width: 100%; }
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(124, 92, 252, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 252, 0.06) 1px, transparent 1px);
  background-size: 44px 44px; animation: gridDrift 8s linear infinite;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 45%, #000, transparent);
  mask-image: radial-gradient(70% 70% at 70% 45%, #000, transparent);
}
#starfield { position: absolute; inset: 0; pointer-events: none; }
.hero-inner {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center;
  padding: clamp(40px, 6vw, 56px) clamp(20px, 5vw, 40px) clamp(60px, 9vw, 90px);
}
.hero-inner > div { min-width: 0; }              /* let grid columns shrink below content width */
.hero h1 {
  font-size: clamp(34px, 5.4vw, 60px); line-height: 1.05; margin: 24px 0 22px;
  color: #fff; letter-spacing: -0.5px; font-weight: 600; overflow-wrap: break-word;
}
.d-br { display: none; }
@media (min-width: 761px) { .d-br { display: inline; } }
.hero p { color: var(--text-mut); font-size: clamp(16px, 2.2vw, 18px); line-height: 1.6; max-width: 460px; margin: 0 0 34px; }
.hero-actions { display: flex; gap: 18px; align-items: center; margin-bottom: 56px; flex-wrap: wrap; }
.trust-label { color: var(--text-dim); font-size: 14px; margin: 0 0 14px; }
.trust-logos { display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 30px); color: var(--text-soft); font-size: 15px; font-weight: 600; opacity: .85; }

.hero-orb-col { display: flex; justify-content: center; align-items: center; perspective: 1000px; }
.hero-orb-wrap { position: relative; width: min(420px, 80vw); aspect-ratio: 1; transform-style: preserve-3d; transition: transform .25s ease-out; will-change: transform; }
.orb-core {
  position: absolute; inset: 10px; border-radius: 50%; animation: floatOrb 6s ease-in-out infinite;
  background:
    radial-gradient(circle at 38% 30%, rgba(200, 175, 255, 0.95), rgba(140, 95, 250, 0.55) 26%, transparent 42%),
    radial-gradient(circle at 68% 74%, rgba(120, 70, 240, 0.75), transparent 46%),
    radial-gradient(circle at 50% 50%, #4a2c9e, #1a0f3d 68%, #090616);
  box-shadow: 0 40px 120px rgba(124, 92, 252, 0.5), inset -30px -40px 80px rgba(0, 0, 0, 0.6);
}
.orb-ring { position: absolute; border-radius: 50%; }
.orb-ring.r1 { inset: -24px; border: 1px dashed rgba(124, 92, 252, 0.4); animation: spin360 18s linear infinite; }
.orb-ring.r2 { inset: -60px; border: 1px dashed rgba(124, 92, 252, 0.2); animation: spin360 30s linear infinite reverse; }
.orb-ring.r3 { inset: -100px; border: 1px solid rgba(124, 92, 252, 0.1); animation: spin360 44s linear infinite; }
.orb-dot { position: absolute; border-radius: 50%; }
.orb-dot.d1 { top: 50%; left: -4px; width: 8px; height: 8px; margin-top: -4px; background: var(--purple-soft); box-shadow: 0 0 12px var(--purple); }
.orb-dot.d2 { top: -4px; left: 50%; width: 7px; height: 7px; margin-left: -3px; background: #5cd0ff; box-shadow: 0 0 12px #3aa0ff; }

/* ---------- marquee ---------- */
.marquee-band {
  background: var(--bg-2); border-top: 1px solid rgba(124, 92, 252, 0.1);
  border-bottom: 1px solid rgba(124, 92, 252, 0.1); overflow: hidden; padding: 26px 0;
}
.marquee { display: flex; width: max-content; gap: 64px; animation: marquee 26s linear infinite; color: var(--text-soft); font-size: 18px; font-weight: 600; opacity: .75; white-space: nowrap; }
.marquee:hover { animation-play-state: paused; }

/* ---------- section heads ---------- */
.sec-head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(30px, 5vw, 46px); margin: 14px 0; }
.sec-head p { color: var(--text-dim); font-size: clamp(16px, 2.2vw, 18px); max-width: 640px; margin: 0 auto; line-height: 1.6; }

/* ---------- stats row ---------- */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.stat-item { display: flex; align-items: center; gap: 20px; justify-content: center; }
.stat-num { font-family: var(--font-display); font-size: 30px; color: var(--purple-soft); font-weight: 600; }
.avatar-stack { display: flex; }
.avatar-stack > * { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--bg-2); object-fit: cover; }
.avatar-stack > *:not(:first-child) { margin-left: -16px; }
.orb-blue { width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3aa0ff, #0b2a52); box-shadow: 0 0 30px rgba(58, 160, 255, 0.35); }

/* ---------- two-col feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.split-why { grid-template-columns: .9fr 1.1fr; }   /* desktop ratio; media query below overrides on mobile */
.split h2 { font-size: clamp(30px, 5vw, 46px); line-height: 1.08; margin: 0 0 22px; }
.split p { color: var(--text-mut); font-size: clamp(16px, 2.2vw, 18px); line-height: 1.65; margin: 0 0 32px; }

.product-art {
  position: relative; height: clamp(300px, 40vw, 420px); border-radius: var(--radius);
  background: radial-gradient(120% 120% at 30% 20%, #2a1a5c, #0d0820 70%);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
.product-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard {
  position: absolute; width: 260px; max-width: 70%; aspect-ratio: 260/165; border-radius: 16px;
  background: linear-gradient(135deg, #b79bff, #7c5cfc); transform: rotate(-16deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); padding: 22px;
}
.pcard .chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #ffd66b, #e0a020); }
.pcard .no { color: rgba(255, 255, 255, 0.85); font-family: monospace; font-size: 15px; letter-spacing: 2px; margin-top: 34px; }
.pcard .name { color: rgba(255, 255, 255, 0.7); font-family: var(--font-display); font-size: 14px; margin-top: 8px; font-style: italic; }
.float-a { position: absolute; top: 60px; right: 70px; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #9b7bff, #6a3ff0); box-shadow: 0 8px 20px rgba(124, 92, 252, 0.5); }
.float-b { position: absolute; bottom: 90px; left: 70px; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #8b6bff, #4a2c9e); }

/* ---------- tech stack ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.chip-pill {
  display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(124, 92, 252, 0.4);
  border-radius: 26px; padding: 11px 22px; background: rgba(255, 255, 255, 0.02);
  font-weight: 600; font-size: 15px; color: #e6e1f0; transition: border-color .3s, background .3s;
}
.chip-pill:hover { border-color: var(--purple); background: rgba(124, 92, 252, 0.1); }
.tag-badge {
  display: inline-flex; align-items: center; gap: 10px; border: 1px solid #2c2740;
  border-radius: 26px; padding: 9px 20px; margin-bottom: 30px;
}
.tag-badge .dot { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #000; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.tag-badge .lbl { letter-spacing: 2px; font-size: 13px; color: var(--text-soft); font-weight: 600; }

/* ---------- generic card / tilt ---------- */
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.tilt { transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; will-change: transform; }
.tilt:hover { transform: translateY(-6px); border-color: var(--purple) !important; box-shadow: 0 24px 50px rgba(124, 92, 252, 0.22); }
.icon-box { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-grad { background: linear-gradient(135deg, #8b6bff, #4a2c9e); }

/* shared inline-SVG icon system — one clean line-icon per concept */
.zsvg { width: 1.05em; height: 1.05em; display: block; }
.zsvg path, .zsvg rect, .zsvg circle, .zsvg line, .zsvg polyline, .zsvg polygon, .zsvg ellipse {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.zsvg .fill { fill: currentColor; stroke: none; }
.zsvg text { fill: currentColor; stroke: none; }
/* icon tiles: center the svg; white icon on gradient tiles */
.icon-box, .mini-icon, .svc-row-ic, .prod-ic, .contact-mini .ic, .region-card .ic, .tag-badge .dot {
  color: #fff;
}
.region-card .ic, .contact-mini .ic { font-size: 18px; }
.mini-icon { font-size: 24px; }
/* play buttons sit on white circles -> dark icon */
.tag-badge .dot { color: #000; }
.socials div { font-size: 18px; }
.chip-pill .zsvg { width: 18px; height: 18px; }
.chip-ic { display: inline-flex; align-items: center; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 20px; }
.bento .cell { border-radius: var(--radius); padding: 26px; border: 1px solid var(--border); background: var(--panel); overflow: hidden; position: relative; }
.bento .lg { grid-column: span 2; grid-row: span 2; padding: 34px; background: radial-gradient(120% 120% at 20% 15%, #2a1a5c, #0d0820 72%); border-color: rgba(124, 92, 252, 0.3); display: flex; flex-direction: column; justify-content: flex-end; }
.bento-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.bento-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 4, 9, 0.9) 0%, rgba(6, 4, 9, 0.45) 45%, rgba(6, 4, 9, 0.05) 100%); }
.bento .wide { grid-column: span 2; display: flex; align-items: center; gap: 22px; }
.bento h3 { margin: 0; }
.bento .lg h3 { font-size: 28px; margin-bottom: 10px; }
.bento p { color: var(--text-mut); font-size: 16px; line-height: 1.6; margin: 0; }
.bento .wide p { color: var(--text-body); font-size: 15px; line-height: 1.5; }

/* ---------- process ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.step .no { font-family: var(--font-display); font-size: 44px; font-weight: 600; color: #2f2947; margin-bottom: 10px; }
.step h3 { font-size: 22px; margin: 0 0 10px; color: #e6e1f0; }
.step p { color: var(--text-body); font-size: 15px; line-height: 1.6; margin: 0; }

/* ---------- why / values / awards ---------- */
.mini-icon { width: 50px; height: 50px; border-radius: 13px; font-size: 24px; margin-bottom: 16px; }
.feature h3 { font-size: 19px; margin: 0 0 8px; }
.feature p { color: var(--text-body); font-size: 14px; line-height: 1.55; margin: 0; }

/* ---------- industries ---------- */
.pill-tag { border: 1px solid rgba(124, 92, 252, 0.35); border-radius: 26px; padding: 13px 26px; font-weight: 600; font-size: 15px; color: #e6e1f0; background: rgba(255, 255, 255, 0.02); transition: border-color .3s, background .3s; }
.pill-tag:hover { border-color: var(--purple); background: rgba(124, 92, 252, 0.1); }

/* ---------- services preview ---------- */
.svc-card { cursor: pointer; transition: border-color .3s, background .3s, transform .3s; }
.svc-card:hover { border-color: var(--purple) !important; background: rgba(124, 92, 252, 0.07); transform: translateY(-4px); }
.svc-card .num { font-family: var(--font-display); font-size: 30px; color: #4a4360; font-weight: 600; margin-bottom: 14px; }
.svc-card h3 { font-size: 24px; margin: 0 0 12px; }
.svc-card p { color: var(--text-body); font-size: 15px; line-height: 1.6; margin: 0 0 22px; }
.svc-card .go { color: var(--purple-soft); font-weight: 600; font-size: 15px; }

/* ---------- metrics band ---------- */
.metrics {
  border: 1px solid rgba(124, 92, 252, 0.25); border-radius: 28px; padding: clamp(32px, 5vw, 52px) 40px;
  background: radial-gradient(120% 160% at 50% 0%, rgba(124, 92, 252, 0.14), transparent);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.metrics .n { font-family: var(--font-display); font-size: clamp(38px, 5vw, 52px); font-weight: 600; color: var(--purple-soft); }
.metrics .lbl { color: var(--text-mut); font-size: 15px; margin-top: 6px; }

/* ---------- testimonials ---------- */
.quote-card p { color: #ddd6ea; font-size: 16px; line-height: 1.6; margin: 0 0 24px; }
.stars { color: var(--gold); font-size: 18px; margin-bottom: 16px; }
.who { display: flex; align-items: center; gap: 14px; }
.who .av { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.who .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.who .nm { font-weight: 700; font-size: 15px; }
.who .rl { color: var(--text-dim); font-size: 13px; }

/* ---------- insights ---------- */
.post { overflow: hidden; cursor: pointer; padding: 0; }
.post .cover { height: 150px; position: relative; overflow: hidden; }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.post .cover .tag { z-index: 1; }
.post .cover .tag { position: absolute; bottom: 12px; left: 16px; background: rgba(0, 0, 0, 0.35); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 16px; backdrop-filter: blur(4px); }
.post .body { padding: 24px; }
.post h3 { font-size: 20px; margin: 0 0 10px; line-height: 1.25; }
.post .body p { color: var(--text-body); font-size: 14px; line-height: 1.55; margin: 0 0 18px; }
.post .meta { display: flex; align-items: center; justify-content: space-between; }
.post .meta .rd { color: var(--text-dim); font-size: 13px; }
.post .meta .go { color: var(--purple-soft); font-weight: 700; font-size: 14px; }

/* ---------- awards ---------- */
.award { display: flex; align-items: center; gap: 18px; padding: 28px; }
.award .t { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: #efeaf7; line-height: 1.2; }
.award .s { color: var(--text-dim); font-size: 13px; margin-top: 3px; }

/* ---------- faq ---------- */
.faq { border: 1px solid var(--border); border-radius: 18px; padding: 22px 28px; cursor: pointer; background: rgba(255, 255, 255, 0.02); transition: border-color .35s, background .35s; }
.faq:hover, .faq.open { border-color: var(--purple); background: rgba(124, 92, 252, 0.06); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.faq-q .q { font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 2.4vw, 19px); color: #efeaf7; }
.faq-q .caret { color: var(--purple-soft); font-size: 20px; flex-shrink: 0; transition: transform .4s; }
.faq.open .faq-q .caret { transform: rotate(180deg); }
.faq-a { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.faq.open .faq-a { max-height: 240px; opacity: 1; margin-top: 14px; }
.faq-a p { color: var(--text-body); font-size: 16px; line-height: 1.6; margin: 0; }

/* ---------- CTA ---------- */
.cta-box {
  border: 1.5px solid var(--purple); border-radius: 28px; padding: clamp(36px, 5vw, 60px);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 56px); align-items: center;
  background: radial-gradient(120% 140% at 0% 0%, rgba(124, 92, 252, 0.12), transparent);
}
.cta-box h2 { font-size: clamp(32px, 5vw, 48px); line-height: 1.05; margin: 0 0 18px; }
.cta-box > div:first-child > p { color: #c0b8d2; font-size: 18px; line-height: 1.6; margin: 0 0 30px; }
.contact-mini { display: block; color: inherit; border: 1px solid rgba(124, 92, 252, 0.4); border-radius: 16px; padding: 18px; transition: border-color .3s, background .3s; }
.contact-mini:hover { border-color: var(--purple); background: rgba(124, 92, 252, 0.08); color: inherit; }
.contact-mini .ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(124, 92, 252, 0.14); display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 26px; }
.contact-mini .rg { color: var(--text-dim); font-size: 13px; margin-bottom: 4px; }
.contact-mini .vl { color: #e6e1f0; font-size: 15px; font-weight: 600; }

/* ---------- page hero (sub pages) ---------- */
.page-hero { background: radial-gradient(100% 90% at 50% 0%, #1a1038, #060409 60%); padding: clamp(56px, 8vw, 80px) clamp(20px, 5vw, 40px) 60px; text-align: center; }
.page-hero h1 { font-size: clamp(38px, 6vw, 58px); margin: 24px auto 20px; max-width: 860px; line-height: 1.05; }
.page-hero p { color: var(--text-mut); font-size: clamp(16px, 2.4vw, 19px); max-width: 680px; margin: 0 auto; line-height: 1.6; }

/* ---------- services (accordion) ---------- */
.svc-list { display: flex; flex-direction: column; gap: 20px; perspective: 1500px; }
.svc-row {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border); border-radius: 26px; padding: clamp(24px, 4vw, 32px) clamp(22px, 4vw, 36px);
  cursor: pointer; transition: transform .5s var(--ease), border-color .4s, box-shadow .4s; transform-style: preserve-3d;
}
.svc-row.open { border-color: var(--purple) !important; box-shadow: 0 34px 80px rgba(124, 92, 252, 0.28); transform: translateY(-4px); }
/* desktop / pointer devices: hovering a row auto-expands it (matches Claude Design) */
@media (hover: hover) {
  .svc-row:hover { border-color: var(--purple) !important; box-shadow: 0 34px 80px rgba(124, 92, 252, 0.28); transform: translateY(-4px); }
  .svc-row:hover .svc-panel { max-height: 900px; opacity: 1; }
  .svc-row:hover .svc-row-ic { transform: rotateY(360deg); }
  .svc-row:hover .svc-plus { transform: rotate(135deg); background: var(--purple); color: #fff; }
}
.svc-row-head { display: flex; align-items: center; gap: 22px; }
.svc-row-ic { width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(135deg, #8b6bff, #4a2c9e); display: flex; align-items: center; justify-content: center; font-size: 30px; flex-shrink: 0; transition: transform .7s var(--ease); }
.svc-row.open .svc-row-ic { transform: rotateY(360deg); }
.svc-row-head h3 { font-size: clamp(20px, 3vw, 26px); margin: 0 0 4px; }
.svc-row-head p { color: var(--text-body); font-size: 15px; margin: 0; }
.svc-plus { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #3a3350; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--purple-soft); flex-shrink: 0; transition: transform .5s, background .4s, color .4s; }
.svc-row.open .svc-plus { transform: rotate(135deg); background: var(--purple); color: #fff; }
.svc-panel { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .65s var(--ease), opacity .5s; }
.svc-row.open .svc-panel { max-height: 900px; opacity: 1; }
.svc-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding-top: 28px; margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.svc-group .glabel { color: var(--purple-soft); font-weight: 700; font-size: 14px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; }
.svc-group .items { display: flex; flex-direction: column; gap: 10px; }
.svc-group .items div { color: #c6bed8; font-size: 14px; display: flex; gap: 9px; align-items: flex-start; line-height: 1.4; }
.svc-group .items div span:first-child { color: var(--purple); }

/* ---------- Zey products ---------- */
.prod-card { position: relative; display: flex; flex-direction: column; padding: 32px 30px; }
.prod-ic { width: 58px; height: 58px; border-radius: 16px; margin-bottom: 20px; }
.prod-ic svg { width: 30px; height: 30px; display: block; }
.prod-ic svg path, .prod-ic svg rect, .prod-ic svg circle, .prod-ic svg line {
  fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.prod-ic svg .fill { fill: #fff; stroke: none; }
.prod-name { font-size: 24px; margin: 0 0 4px; }
.prod-tag { color: var(--purple-soft); font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.prod-blurb { color: var(--text-body); font-size: 15px; line-height: 1.6; margin: 0 0 20px; }
.prod-caps { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.prod-caps div { color: #c6bed8; font-size: 14px; display: flex; gap: 9px; align-items: flex-start; line-height: 1.4; }
.prod-caps div span:first-child { color: var(--purple); }
.prod-ideal { color: var(--text-dim); font-size: 13px; margin-bottom: 22px; }
.prod-ideal span { color: #6f6884; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; margin-right: 6px; }
.prod-cta { margin-top: auto; justify-content: center; width: 100%; font-size: 15px; padding: 13px 24px; }
.prod-premium { border-color: rgba(124, 92, 252, 0.5); background: radial-gradient(130% 130% at 100% 0%, rgba(124, 92, 252, 0.12), var(--panel)); }
.prod-badge { position: absolute; top: 18px; right: 18px; background: var(--purple); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; }

/* ---------- customers cases ---------- */
.case { overflow: hidden; padding: 0; transition: border-color .3s; }
.case:hover { border-color: var(--purple); }
.case .cover { height: 180px; position: relative; display: flex; align-items: flex-end; padding: 22px; overflow: hidden; }
.case .cover::after {                       /* scrim so the project name stays readable over photos */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4, 3, 7, 0.72) 0%, rgba(4, 3, 7, 0.18) 45%, transparent 70%);
}
.case .cover span { font-family: var(--font-display); font-weight: 600; font-size: 26px; color: #fff; position: relative; z-index: 1; }
.case .body { padding: 28px; }
.case .sector { color: var(--text-dim); font-size: 14px; margin-bottom: 10px; }
.case .body p { color: #ddd6ea; font-size: 16px; line-height: 1.6; margin: 0 0 22px; }
.case .kpis { display: flex; gap: 28px; }
.case .kpis .k { font-family: var(--font-display); font-size: 28px; color: var(--purple-soft); font-weight: 600; }
.case .kpis .kl { color: var(--text-dim); font-size: 13px; }

/* ---------- about ---------- */
.about-stat { text-align: center; background: var(--panel); border: 1px solid rgba(124, 92, 252, 0.2); border-radius: 20px; padding: 30px 16px; }
.about-stat .n { font-family: var(--font-display); font-size: 40px; color: var(--purple-soft); font-weight: 600; }
.about-stat .l { color: var(--text-body); font-size: 15px; margin-top: 6px; }
.mv-card { background: var(--panel); border: 1px solid rgba(124, 92, 252, 0.2); border-radius: var(--radius); padding: 38px; }
.mv-card h3 { font-size: 26px; margin: 0 0 14px; color: var(--purple-soft); }
.mv-card p { color: #c6bed8; font-size: 17px; line-height: 1.65; margin: 0; }

/* ---------- CEO card (about) ---------- */
.ceo-card { text-align: center; padding-bottom: 90px; }
.ceo-avatar {
  width: 190px; height: 190px; border-radius: 50%; margin: 0 auto 20px; padding: 5px;
  background: linear-gradient(135deg, #8b6bff, #4a2c9e);
  box-shadow: 0 18px 50px rgba(124, 92, 252, 0.3);
}
.ceo-avatar img { width: 100%; height: 100%; border-radius: 50%; display: block; object-fit: cover; }
.ceo-name { font-family: var(--font-display); font-weight: 600; font-size: 26px; }
.ceo-role { color: var(--purple-soft); font-size: 15px; font-weight: 600; margin-top: 4px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-card { background: var(--panel); border: 1px solid rgba(124, 92, 252, 0.25); border-radius: 26px; padding: clamp(26px, 4vw, 38px); }
.form-card h3 { font-size: 26px; margin: 0 0 24px; }
.field { background: rgba(255, 255, 255, 0.04); border: 1px solid #2c2740; border-radius: 12px; padding: 14px 16px; color: #fff; font-family: var(--font-body); font-size: 15px; outline: none; width: 100%; transition: border-color .25s; }
.field:focus { border-color: var(--purple); }
.field::placeholder { color: #7a7390; }
.form-fields { display: flex; flex-direction: column; gap: 16px; }
.form-ok { border: 1px solid #6bffb0; background: rgba(107, 255, 176, 0.08); border-radius: 16px; padding: 30px; text-align: center; }
.form-ok .tick { font-size: 38px; margin-bottom: 12px; }
.form-ok .h { font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; }
.form-ok p { color: var(--text-mut); font-size: 15px; margin: 0 0 20px; }

.region { margin-bottom: 26px; }
.region-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.region-head .rn { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: #e6e1f0; }
.region-head .ln { height: 1px; flex: 1; background: linear-gradient(90deg, #06b6d4, transparent); }
.region-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.region-card { display: block; color: inherit; border: 1px solid rgba(124, 92, 252, 0.45); border-radius: 14px; padding: 16px; transition: border-color .3s, background .3s; }
.region-card:hover { border-color: var(--purple); background: rgba(124, 92, 252, 0.08); color: inherit; }
.region-card .ic { width: 36px; height: 36px; border-radius: 9px; background: rgba(124, 92, 252, 0.14); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.region-card .vl { color: #c6bed8; font-size: 14px; word-break: break-word; }

/* ---------- footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--border-lite); }
.footer-top { max-width: 1200px; margin: 0 auto; padding: 64px clamp(20px, 5vw, 40px) 48px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .lead { color: var(--text-dim); font-size: 16px; line-height: 1.6; max-width: 300px; margin: 0 0 24px; }
.footer h4 { color: var(--text-dim); font-size: 15px; margin: 0 0 20px; font-weight: 500; font-family: var(--font-body); }
.footer-col { display: flex; flex-direction: column; gap: 16px; font-size: 15px; color: #d7d0e4; }
.footer-col a, .footer-col span { color: #d7d0e4; cursor: pointer; }
.footer-col a:hover { color: var(--purple-soft); }
.socials { display: flex; gap: 14px; }
.socials div { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(124, 92, 252, 0.4); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; color: var(--text-soft); transition: border-color .3s, color .3s; }
.socials div:hover { border-color: var(--purple); color: #fff; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 24px clamp(20px, 5vw, 40px) 40px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-bottom .cp { color: #6f6884; font-size: 14px; }
.footer-bottom .tb { display: flex; align-items: center; gap: 22px; color: var(--text-dim); font-size: 14px; font-weight: 600; opacity: .8; flex-wrap: wrap; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- keyframes ---------- */
@keyframes floatOrb { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-24px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin360 { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes gridDrift { from { background-position: 0 0; } to { background-position: 44px 44px; } }
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: .9; } }
@keyframes btnpulse { 0% { box-shadow: 0 0 0 0 rgba(124, 92, 252, 0.5); } 70% { box-shadow: 0 0 0 18px rgba(124, 92, 252, 0); } 100% { box-shadow: 0 0 0 0 rgba(124, 92, 252, 0); } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-orb-col { order: -1; }
  .split { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .bento .lg, .bento .wide, .bento .cell { grid-column: auto; grid-row: auto; }
  .bento .lg { min-height: 320px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: 1fr; gap: 22px; }
  .cta-box { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .svc-groups { grid-template-columns: repeat(2, 1fr); }
  /* groups get much taller as they stack -> raise the open cap so the
     "Get Started" button at the bottom is never clipped */
  .svc-row:hover .svc-panel, .svc-row.open .svc-panel { max-height: 2600px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px clamp(20px, 5vw, 40px) 16px;
    background: #0a0713; border-bottom: 1px solid var(--border-lite);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
  }
  .nav.open .nav-links a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav.open .nav-links a:last-child { border-bottom: 0; }
  /* Sign Up stays hidden in the mobile menu (redundant: "Contact" is already listed
     and Sign Up links there too). Prevents it floating over the menu items. */
  .nav.open .nav-cta { display: none; }

  .grid-2, .grid-3, .grid-4, .bento, .metrics, .svc-groups, .region-cards, .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .bento .lg { min-height: 260px; }
  .hero-actions { gap: 12px; }
  .metrics { gap: 28px; }
  .svc-row-head { flex-wrap: wrap; }
  .footer-bottom { justify-content: center; text-align: center; }

  /* hero fits small screens without overflow */
  .hero h1 { font-size: clamp(30px, 8.2vw, 40px); line-height: 1.08; }
  .page-hero h1 { font-size: clamp(30px, 8.5vw, 44px); }
  .cta-box h2 { font-size: clamp(28px, 8vw, 40px); }
  .hero-orb-wrap { width: min(280px, 66vw); }
  .hero-inner { padding-top: 32px; }
}

/* touch devices: services & faq open by class (click), not hover */
@media (hover: none) {
  .svc-row:hover { border-color: var(--border) !important; box-shadow: none; transform: none; }
  .faq:hover { border-color: var(--border); background: rgba(255,255,255,.02); }
  .tilt:hover { transform: none; box-shadow: none; }
}

/* reduced 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; }
  .reveal { opacity: 1; transform: none; }
}
