/* ==========================================================================
   OKUMPI — Design System v4
   Deep indigo + violet · dark cinematic hero · airy white content sections
   ========================================================================== */

:root {
  /* Canvas */
  --bg-0: #0a0819;
  --bg-1: #0f0c22;
  --bg-2: #151130;
  --bg-3: #1d173f;

  /* Surfaces */
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --surface-3: rgba(255, 255, 255, 0.10);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text-hi: #f4f1ff;
  --text: #cbc5e4;
  --text-dim: #948eb4;

  /* Accents — indigo/violet family */
  --accent: #8b5cf6;
  --accent-hi: #a78bfa;
  --accent-soft: #c4b5fd;
  --iris: #818cf8;
  --magenta: #e879f9;
  --cyan: #22d3ee;
  --sky: #38bdf8;
  --lime: #a3e635;
  --amber: #fbbf24;

  --grad-accent: linear-gradient(135deg, #8b5cf6 0%, #a855f7 55%, #d946ef 100%);
  --glow-accent: 0 10px 40px -8px rgba(139, 92, 246, 0.5);

  /* Type */
  --font-head: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Code', Consolas, monospace;

  /* Layout */
  --container: 1200px;
  --nav-h: 84px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 999px;
}

/* Category accent hues */
.accent-violet  { --acc: #a78bfa; --acc-rgb: 167, 139, 250; }
.accent-iris    { --acc: #818cf8; --acc-rgb: 129, 140, 248; }
.accent-sky     { --acc: #38bdf8; --acc-rgb: 56, 189, 248;  }
.accent-magenta { --acc: #e879f9; --acc-rgb: 232, 121, 249; }
.accent-cyan    { --acc: #22d3ee; --acc-rgb: 34, 211, 238;  }
.accent-lime    { --acc: #a3e635; --acc-rgb: 163, 230, 53;  }
.accent-amber   { --acc: #fbbf24; --acc-rgb: 251, 191, 36;  }
.accent-rose    { --acc: #fb7185; --acc-rgb: 251, 113, 133; }

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text-hi);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}

::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-fill { fill: currentColor; stroke: none; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: var(--glow-accent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -8px rgba(139, 92, 246, 0.6); }

.btn-ghost {
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--text-hi);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--surface-3); border-color: rgba(167, 139, 250, 0.5); transform: translateY(-2px); }

.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   Navbar — floating pill (screenshot layout)
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.navbar.scrolled {
  background: rgba(12, 10, 29, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line), 0 14px 40px -18px rgba(0, 0, 0, 0.8);
}

.nav-inner {
  width: min(1320px, 94%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Brand: mark + two-line micro-copy (like screenshot's left cluster) */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 13px;
  background: var(--grad-accent);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 700; font-size: 1.25rem; color: #fff;
  box-shadow: var(--glow-accent);
}
.brand-text { line-height: 1.25; display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--text-hi); letter-spacing: 0.01em; }
.brand-sub { font-size: 0.68rem; color: var(--text-dim); max-width: 150px; }
.brand-sub strong { color: var(--accent-soft); font-weight: 600; }

/* Center pill menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-menu > li > a {
  display: block;
  padding: 9px 13px;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s, background 0.2s;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: #fff; background: rgba(255, 255, 255, 0.09); }

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop > a .icon { width: 0.8em; height: 0.8em; margin-left: 5px; transition: transform 0.25s; }
.nav-drop:hover > a .icon { transform: rotate(180deg); }
.drop-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  translate: -50% 8px;
  min-width: 218px;
  padding: 10px;
  border-radius: var(--r-md);
  background: rgba(21, 17, 48, 0.96);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, translate 0.25s ease, visibility 0.25s;
}
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { opacity: 1; visibility: visible; translate: -50% 0; }
.drop-menu a {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}
.drop-menu a:hover { background: rgba(139, 92, 246, 0.16); color: #fff; }
.drop-menu .icon { width: 1.05em; height: 1.05em; color: var(--accent-hi); }

/* Right cluster */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.85rem; font-weight: 600; color: var(--text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lang-chip .icon { width: 0.75em; height: 0.75em; }
.nav-cta { padding: 11px 22px; font-size: 0.92rem; }

/* Mobile toggle + panel */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  place-items: center;
  color: var(--text-hi);
  font-size: 1.25rem;
}
.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 99;
  padding: calc(var(--nav-h) + 18px) 6% 40px;
  background: rgba(10, 8, 25, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  overflow-y: auto;
}
.mobile-panel.open { opacity: 1; visibility: visible; }
.mobile-panel a {
  padding: 15px 8px;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-hi);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-panel a span { color: var(--text-dim); font-size: 0.8rem; font-family: var(--font-body); }
.mobile-panel .mobile-group { margin-top: 22px; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-hi); font-weight: 700; }
.mobile-panel .btn { margin-top: 26px; }

/* --------------------------------------------------------------------------
   Hero — cinematic canvas (screenshot layout)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(1000px 340px at 50% -8%, rgba(255, 255, 255, 0.09), transparent 60%),
    radial-gradient(1100px 500px at 78% -10%, rgba(99, 102, 241, 0.16), transparent 60%),
    radial-gradient(900px 480px at 15% 8%, rgba(139, 92, 246, 0.12), transparent 58%),
    linear-gradient(180deg, #110e26 0%, #14102b 42%, #1a1440 72%, #120f2b 100%);
}

/* Star field */
.hero-stars, .hero-stars::after {
  content: '';
  position: absolute;
  inset: 0 0 30% 0;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, rgba(255,255,255,0.9), transparent 55%),
    radial-gradient(1px 1px at 28% 9%,  rgba(255,255,255,0.7), transparent 55%),
    radial-gradient(1.6px 1.6px at 41% 31%, rgba(196,181,253,0.9), transparent 55%),
    radial-gradient(1px 1px at 55% 12%, rgba(255,255,255,0.75), transparent 55%),
    radial-gradient(1.3px 1.3px at 67% 26%, rgba(255,255,255,0.85), transparent 55%),
    radial-gradient(1px 1px at 79% 8%,  rgba(196,181,253,0.8), transparent 55%),
    radial-gradient(1.5px 1.5px at 90% 20%, rgba(255,255,255,0.9), transparent 55%),
    radial-gradient(1px 1px at 8% 44%,  rgba(255,255,255,0.6), transparent 55%),
    radial-gradient(1.2px 1.2px at 22% 55%, rgba(196,181,253,0.7), transparent 55%),
    radial-gradient(1px 1px at 36% 47%, rgba(255,255,255,0.55), transparent 55%),
    radial-gradient(1.4px 1.4px at 60% 52%, rgba(255,255,255,0.65), transparent 55%),
    radial-gradient(1px 1px at 73% 41%, rgba(255,255,255,0.6), transparent 55%),
    radial-gradient(1.2px 1.2px at 86% 49%, rgba(196,181,253,0.75), transparent 55%),
    radial-gradient(1px 1px at 47% 18%, rgba(255,255,255,0.8), transparent 55%),
    radial-gradient(1px 1px at 94% 38%, rgba(255,255,255,0.5), transparent 55%);
  background-repeat: no-repeat;
  pointer-events: none;
  animation: twinkle 6s ease-in-out infinite alternate;
}
.hero-stars::after { transform: translate(3%, 6%) scale(1.15); opacity: 0.5; animation-delay: -3s; }
@keyframes twinkle { from { opacity: 0.55; } to { opacity: 1; } }

/* Aurora ribbons */
.hero-aurora {
  position: absolute;
  inset: -20% -10% auto;
  height: 90%;
  background:
    radial-gradient(46% 34% at 30% 44%, rgba(139, 92, 246, 0.20), transparent 68%),
    radial-gradient(40% 30% at 72% 34%, rgba(217, 70, 239, 0.12), transparent 66%),
    radial-gradient(52% 40% at 52% 60%, rgba(99, 102, 241, 0.15), transparent 70%);
  filter: blur(46px);
  pointer-events: none;
  animation: aurora-drift 18s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  from { transform: translate3d(-2.5%, 0, 0) scale(1); }
  to   { transform: translate3d(2.5%, 2%, 0) scale(1.06); }
}

/* Perspective grid floor */
.hero-grid {
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background-image:
    linear-gradient(rgba(167, 139, 250, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.10) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(620px) rotateX(58deg) scale(1.7);
  transform-origin: center bottom;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 62%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 62%);
  pointer-events: none;
}

/* Skyline silhouette */
.hero-skyline {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 -6px 30px rgba(139, 92, 246, 0.25));
}

.hero-core {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 44px) 0 40px;
}

/* Social-proof avatar pill */
.hero-social {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 7px 18px 7px 8px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 30px;
}
.hero-social strong { color: #fff; font-weight: 700; }
.avatar-row { display: flex; }
.avatar-row .avatar { width: 30px; height: 30px; border: 2px solid #17122e; margin-right: -9px; font-size: 0.62rem; }
.avatar-row .avatar:last-child { margin-right: 0; }

.avatar {
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, hsl(var(--hue, 260) 75% 58%), hsl(calc(var(--hue, 260) + 42) 78% 46%));
  flex-shrink: 0;
}

/* Headline */
.hero-title {
  font-size: clamp(2.7rem, 7.2vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.06;
  max-width: 17ch;
}
.hero-title .line { display: block; }
.hero-title .grad {
  background: linear-gradient(100deg, #efeaff 0%, #c4b5fd 34%, #a78bfa 64%, #f0abfc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 22px;
  max-width: 52ch;
  font-size: clamp(0.98rem, 1.6vw, 1.13rem);
  color: #d3cdec;
}

/* Email capture pill */
.hero-capture { margin-top: 36px; width: min(560px, 100%); }
.capture-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.capture-form:focus-within {
  border-color: rgba(167, 139, 250, 0.65);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.16), var(--glow-accent);
}
.capture-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 10px 10px 16px;
  font-size: 0.98rem;
  color: var(--text-hi);
}
.capture-form input::placeholder { color: var(--text-dim); }
.capture-form .btn { padding: 12px 24px; font-size: 0.94rem; }
.capture-note { margin-top: 12px; font-size: 0.8rem; color: #aaa3cc; }
.capture-msg { margin-top: 12px; font-size: 0.9rem; font-weight: 600; color: var(--lime); display: none; }
.capture-msg.error { color: #fda4af; }
.capture-msg.show { display: block; animation: rise 0.4s ease; }

/* Hero quick-stats chips */
.hero-chips { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.82rem; color: var(--text);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-chip .icon { width: 1em; height: 1em; color: var(--accent-hi); }

/* --------------------------------------------------------------------------
   Testimonials strip (bottom of hero canvas, per screenshot)
   -------------------------------------------------------------------------- */
.t-strip {
  position: relative;
  z-index: 2;
  padding: 26px 0 64px;
}
.t-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.t-title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-size: 1.05rem; font-weight: 600; color: var(--text-hi);
}
.t-title .icon { width: 1.5em; height: 1.5em; color: var(--accent-hi); }
.t-nav { display: flex; gap: 10px; }
.t-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  display: grid; place-items: center;
  color: var(--text-hi);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.t-arrow:hover { background: rgba(139, 92, 246, 0.28); border-color: rgba(167, 139, 250, 0.6); transform: translateY(-2px); }
.t-arrow .icon { width: 1.05rem; height: 1.05rem; }

.t-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 6px;
}
.t-track::-webkit-scrollbar { display: none; }

.t-card {
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 252px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(255,255,255,0.075), rgba(255,255,255,0.03));
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.t-card:hover {
  transform: translateY(-5px);
  border-color: rgba(167, 139, 250, 0.42);
  box-shadow: 0 22px 50px -22px rgba(139, 92, 246, 0.45);
}

.t-platform {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.t-platform .p-logo {
  height: 20px; min-width: 20px;
  display: inline-flex; align-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.85rem;
  color: var(--text-hi);
  gap: 5px;
}
.t-platform .p-logo svg { width: 17px; height: 17px; }

.t-quote { font-size: 0.92rem; line-height: 1.6; color: var(--text); flex: 1; }
.t-quote mark { background: none; color: var(--accent-soft); font-weight: 600; }

.t-foot {
  display: flex; align-items: center; gap: 11px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.t-foot .avatar { width: 38px; height: 38px; font-size: 0.8rem; }
.t-who { flex: 1; min-width: 0; }
.t-name { font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; color: var(--text-hi); }
.t-role { font-size: 0.72rem; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-rating { text-align: right; }
.t-score { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--text-hi); }
.t-stars { display: flex; gap: 1.5px; margin-top: 3px; }
.t-stars .icon { width: 11px; height: 11px; color: var(--amber); }
.t-stars .icon.off { color: rgba(255, 255, 255, 0.18); }

.t-dots { display: flex; justify-content: center; gap: 7px; margin-top: 26px; }
.t-dot {
  width: 7px; height: 7px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.22);
  transition: width 0.3s ease, background 0.3s ease;
}
.t-dot.active { width: 24px; background: var(--accent-hi); }

/* --------------------------------------------------------------------------
   Sections & headers
   -------------------------------------------------------------------------- */
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 64px 0; }

.sec-head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.sec-head.left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-hi);
  margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 22px; height: 1.5px; background: var(--grad-accent); border-radius: 2px; }
.sec-head.left .eyebrow::before { width: 22px; }
.sec-title { font-size: clamp(1.85rem, 4vw, 2.7rem); font-weight: 600; }
.sec-sub { margin-top: 14px; color: var(--text-dim); font-size: 1.02rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Logo marquees
   -------------------------------------------------------------------------- */
.marquee-band {
  padding: 56px 0 30px;
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
  border-top: 1px solid var(--line);
}
.marquee-label {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 30px;
}
.marquee-label strong { color: var(--accent-hi); }
.marquee {
  overflow: hidden;
  position: relative;
  padding: 8px 0 26px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 34s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.logo-chip {
  width: 158px; height: 66px;
  border-radius: 14px;
  background: #fdfdfd;
  display: flex; align-items: center; justify-content: center;
  padding: 10px 16px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 26px -14px rgba(0, 0, 0, 0.65);
  transition: transform 0.25s ease;
}
.logo-chip:hover { transform: translateY(-4px); }
.logo-chip img { max-height: 44px; max-width: 124px; object-fit: contain; }

/* --------------------------------------------------------------------------
   Services grid (practice areas)
   -------------------------------------------------------------------------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.svc-card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--acc), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.svc-card::after {
  content: '';
  position: absolute;
  top: -70px; right: -70px;
  width: 190px; height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--acc-rgb), 0.17), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.svc-card:hover {
  transform: translateY(-7px);
  border-color: rgba(var(--acc-rgb), 0.4);
  box-shadow: 0 30px 60px -28px rgba(var(--acc-rgb), 0.35);
}
.svc-card:hover::before, .svc-card:hover::after { opacity: 1; }

.svc-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(var(--acc-rgb), 0.13);
  border: 1px solid rgba(var(--acc-rgb), 0.28);
  color: var(--acc);
  margin-bottom: 20px;
}
.svc-icon .icon { width: 24px; height: 24px; }

.svc-card h3 { font-size: 1.22rem; margin-bottom: 4px; }
.svc-tagline { font-size: 0.8rem; color: var(--acc); font-weight: 600; margin-bottom: 12px; }
.svc-desc { font-size: 0.92rem; color: var(--text-dim); margin-bottom: 18px; flex: 1; }

.svc-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.chip {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--text);
  white-space: nowrap;
}

.svc-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head);
  font-size: 0.9rem; font-weight: 600;
  color: var(--acc);
}
.svc-link .icon { transition: transform 0.25s; width: 0.95em; height: 0.95em; }
.svc-card:hover .svc-link .icon { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Industry solutions
   -------------------------------------------------------------------------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ind-card {
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.ind-card:hover { transform: translateY(-6px); background: var(--surface-2); border-color: rgba(167, 139, 250, 0.4); }
.ind-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ind-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: grid; place-items: center;
  color: var(--accent-hi);
}
.ind-icon .icon { width: 22px; height: 22px; }
.ind-card h3 { font-size: 1.08rem; }
.ind-head { font-size: 0.8rem; color: var(--accent-soft); font-weight: 600; }
.ind-desc { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 16px; }
.ind-feats { display: grid; gap: 8px; }
.ind-feats li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.84rem; color: var(--text); }
.ind-feats .icon { width: 15px; height: 15px; color: var(--lime); margin-top: 3px; }

/* --------------------------------------------------------------------------
   Security spotlight (split with terminal)
   -------------------------------------------------------------------------- */
.sec-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; }
.check-badge {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: rgba(163, 230, 53, 0.13);
  border: 1px solid rgba(163, 230, 53, 0.35);
  display: grid; place-items: center;
  color: var(--lime);
  flex-shrink: 0;
  margin-top: 2px;
}
.check-badge .icon { width: 13px; height: 13px; }
.check-list strong { display: block; color: var(--text-hi); font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; }
.check-list span { font-size: 0.88rem; color: var(--text-dim); }

.terminal {
  border-radius: var(--r-md);
  background: #0c0a1d;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 70px -30px rgba(139, 92, 246, 0.4);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}
.term-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--line);
}
.term-dot { width: 11px; height: 11px; border-radius: 50%; }
.term-title { margin-left: 10px; color: var(--text-dim); font-size: 0.72rem; }
.term-body { padding: 20px 20px 24px; line-height: 1.9; }
.term-body .ln { display: block; white-space: pre-wrap; word-break: break-word; }
.tp { color: var(--accent-hi); }
.tg { color: var(--lime); }
.tc { color: var(--cyan); }
.ta { color: var(--amber); }
.tm { color: var(--magenta); }
.td { color: var(--text-dim); }
.term-cursor {
  display: inline-block;
  width: 8px; height: 15px;
  background: var(--accent-hi);
  vertical-align: -2px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */
.stats-band {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(700px 260px at 50% 0%, rgba(139, 92, 246, 0.13), transparent 70%),
    var(--bg-1);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #fff 10%, #c4b5fd 60%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { margin-top: 6px; font-size: 0.85rem; color: var(--text-dim); letter-spacing: 0.06em; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   Why Okumpi
   -------------------------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.why-item { position: relative; padding-top: 18px; }
.why-num {
  font-family: var(--font-head);
  font-size: 2.6rem; font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(167, 139, 250, 0.5);
  line-height: 1;
  margin-bottom: 14px;
}
.why-item h3 { font-size: 1.06rem; margin-bottom: 8px; }
.why-item p { font-size: 0.88rem; color: var(--text-dim); }

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq-wrap { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item {
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}
.faq-item[open] { background: var(--surface-2); border-color: rgba(167, 139, 250, 0.4); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text-hi);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-x {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--accent-hi);
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s;
}
.faq-x .icon { width: 13px; height: 13px; }
.faq-item[open] .faq-x { transform: rotate(45deg); background: rgba(139, 92, 246, 0.2); }
.faq-body { padding: 0 24px 22px; color: var(--text-dim); font-size: 0.94rem; max-width: 62ch; }

/* --------------------------------------------------------------------------
   CTA panel
   -------------------------------------------------------------------------- */
.cta-panel {
  position: relative;
  border-radius: 30px;
  padding: clamp(44px, 7vw, 80px) clamp(24px, 6vw, 72px);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(620px 300px at 50% -20%, rgba(217, 70, 239, 0.22), transparent 70%),
    radial-gradient(700px 340px at 50% 120%, rgba(99, 102, 241, 0.3), transparent 70%),
    linear-gradient(160deg, #1b1440, #0f0c22);
  border: 1px solid rgba(167, 139, 250, 0.3);
  box-shadow: 0 50px 110px -50px rgba(139, 92, 246, 0.5);
}
.cta-panel h2 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); max-width: 20ch; margin-inline: auto; }
.cta-panel p { margin: 16px auto 32px; max-width: 46ch; color: var(--text-dim); }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-0), #07051a);
  padding: 72px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { margin: 16px 0 20px; font-size: 0.9rem; color: var(--text-dim); max-width: 30ch; }
.footer h4 { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-hi); margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { font-size: 0.9rem; color: var(--text-dim); transition: color 0.2s, padding-left 0.2s; }
.footer-links a:hover { color: var(--accent-soft); padding-left: 4px; }

.footer-contact { display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--text-dim); }
.footer-contact .icon { width: 16px; height: 16px; color: var(--accent-hi); margin-top: 3px; }
.footer-contact a:hover { color: var(--accent-soft); }

.footer-countries {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.country-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--text-dim);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-dim);
}
.social-row { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid; place-items: center;
  color: var(--text);
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}
.social-btn:hover { background: rgba(139, 92, 246, 0.22); color: #fff; border-color: rgba(167, 139, 250, 0.5); transform: translateY(-3px); }
.social-btn .icon { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Inner page hero
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 76px) 0 70px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(800px 340px at 70% -10%, rgba(99, 102, 241, 0.2), transparent 62%),
    radial-gradient(640px 300px at 22% 0%, rgba(139, 92, 246, 0.17), transparent 60%),
    linear-gradient(180deg, #0c0a1d, #0f0c22 85%, var(--bg-0));
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 500; letter-spacing: -0.025em; }
.page-hero .grad {
  background: linear-gradient(100deg, #e9e4ff, #c4b5fd 45%, #e879f9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero p { margin: 18px auto 0; max-width: 56ch; color: var(--text-dim); font-size: 1.04rem; }
.crumb {
  display: inline-flex; gap: 8px; align-items: center;
  margin-bottom: 20px;
  font-size: 0.8rem; color: var(--text-dim);
  padding: 7px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
}
.crumb a { color: var(--accent-hi); }

/* --------------------------------------------------------------------------
   Services page — practice blocks
   -------------------------------------------------------------------------- */
.practice-block { padding: 76px 0; border-bottom: 1px solid var(--line); }
.practice-block:last-of-type { border-bottom: none; }
.practice-head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 36px; }
.practice-head .svc-icon { margin-bottom: 0; }
.practice-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.practice-head .svc-tagline { margin-bottom: 6px; }
.practice-head p { color: var(--text-dim); max-width: 68ch; font-size: 0.98rem; }
.sub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sub-card {
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.28s, border-color 0.28s, background 0.28s;
}
.sub-card:hover { transform: translateY(-4px); border-color: rgba(var(--acc-rgb), 0.45); background: var(--surface-2); }
.sub-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.sub-card p { font-size: 0.89rem; color: var(--text-dim); margin-bottom: 14px; }

/* --------------------------------------------------------------------------
   Generic card grids (careers, news, blog, KB, community)
   -------------------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.g-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.3s, border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.g-card:hover {
  transform: translateY(-6px);
  border-color: rgba(167, 139, 250, 0.42);
  background: var(--surface-2);
  box-shadow: 0 26px 60px -30px rgba(139, 92, 246, 0.4);
}
.g-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.g-card p { font-size: 0.9rem; color: var(--text-dim); flex: 1; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: var(--accent-soft);
  width: fit-content;
  margin-bottom: 14px;
}
.badge.cyan { background: rgba(139, 92, 246, 0.12); border-color: rgba(139, 92, 246, 0.32); color: var(--cyan); }
.badge.lime { background: rgba(163, 230, 53, 0.1); border-color: rgba(163, 230, 53, 0.3); color: var(--lime); }
.badge.amber { background: rgba(251, 191, 36, 0.12); border-color: rgba(251, 191, 36, 0.32); color: var(--amber); }
.badge.magenta { background: rgba(232, 121, 249, 0.12); border-color: rgba(232, 121, 249, 0.32); color: var(--magenta); }

.meta-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem; color: var(--text-dim);
}
.meta-row .icon { width: 13px; height: 13px; color: var(--accent-hi); vertical-align: -2px; margin-right: 5px; }
.meta-item { display: inline-flex; align-items: center; }

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 30px; align-items: start; }

.form-card {
  padding: 34px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-hi);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  color: var(--text-hi);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(167, 139, 250, 0.65);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.14);
  background: rgba(255, 255, 255, 0.07);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--bg-2); color: var(--text-hi); }
.field textarea { resize: vertical; min-height: 120px; }
.field .errors { margin-top: 6px; font-size: 0.78rem; color: #fda4af; }

.info-card {
  padding: 30px;
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(139, 92, 246, 0.13), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.info-card + .info-card { margin-top: 20px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 18px; }
.info-list { display: grid; gap: 15px; }
.info-list li { display: flex; gap: 12px; font-size: 0.9rem; }
.info-list .icon { width: 17px; height: 17px; color: var(--accent-hi); margin-top: 3px; }
.info-list strong { display: block; font-family: var(--font-head); font-size: 0.86rem; color: var(--text-hi); }
.info-list span, .info-list a { color: var(--text-dim); font-size: 0.85rem; }
.info-list a:hover { color: var(--accent-soft); }

/* Toast messages */
.toast-stack {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 200;
  display: grid; gap: 10px;
  max-width: min(380px, calc(100vw - 48px));
}
.toast {
  padding: 15px 20px;
  border-radius: var(--r-md);
  background: rgba(18, 14, 36, 0.97);
  border: 1px solid rgba(163, 230, 53, 0.4);
  color: var(--text-hi);
  font-size: 0.9rem;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  animation: rise 0.4s ease;
}
.toast.error { border-color: rgba(253, 164, 175, 0.5); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .t-card { flex-basis: calc((100% - 36px) / 3); }
  .svc-grid, .ind-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; row-gap: 34px; }
}

@media (max-width: 1240px) {
  .nav-menu, .lang-chip { display: none; }
  .nav-toggle { display: grid; }
  .nav-cta { display: none; }
}

@media (max-width: 820px) {
  :root { --nav-h: 72px; }
  .section { padding: 72px 0; }
  .t-card { flex-basis: calc((100% - 18px) / 2); }
  .sec-split { grid-template-columns: 1fr; gap: 38px; }
  .contact-grid { grid-template-columns: 1fr; }
  .sub-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
}

@media (max-width: 620px) {
  .svc-grid, .ind-grid, .card-grid, .card-grid.two, .why-grid { grid-template-columns: 1fr; }
  .t-card { flex-basis: 86%; }
  .form-row { grid-template-columns: 1fr; }
  .capture-form { flex-direction: column; padding: 12px; border-radius: 22px; }
  .capture-form input { width: 100%; text-align: center; padding: 10px; }
  .capture-form .btn { width: 100%; }
  .hero-chips { gap: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-actions .btn { width: 100%; }
  .t-head { flex-direction: column; align-items: flex-start; }
  .t-nav { align-self: flex-end; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   v3 additions — tech illustration layers
   ========================================================================== */

/* Hero centerpiece artwork (globe + data ribbons + floating chips) */
.hero-art {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1500px, 150vw);
  z-index: 1;
  pointer-events: none;
  opacity: 0.95;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(50% 36% at 50% 41%, rgba(10, 8, 25, 0.66), transparent 75%);
}

.f-chip { animation: floaty 7.5s ease-in-out infinite; }
.f-chip.d1 { animation-delay: -1.8s; }
.f-chip.d2 { animation-delay: -3.4s; }
.f-chip.d3 { animation-delay: -5.1s; }
.f-chip.d4 { animation-delay: -2.6s; }
.f-chip.d5 { animation-delay: -6.2s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }

.pulse-node { animation: pulseNode 3.4s ease-in-out infinite; }
.pulse-node.p1 { animation-delay: -1.1s; }
.pulse-node.p2 { animation-delay: -2.2s; }
.pulse-node.p3 { animation-delay: -0.6s; }
.pulse-node.p4 { animation-delay: -2.8s; }
@keyframes pulseNode { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }

/* Section background patterns */
.bg-circuit, .bg-net { position: relative; }
.bg-circuit > .container, .bg-net > .container { position: relative; z-index: 1; }
.bg-circuit::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cg fill='none' stroke='%238b5cf6' stroke-opacity='.13'%3E%3Cpath d='M22 44h74v52h62'/%3E%3Cpath d='M238 32v64h-54'/%3E%3Cpath d='M44 218h96v-44h74'/%3E%3Cpath d='M12 128h54v44'/%3E%3C/g%3E%3Cg fill='%238b5cf6' fill-opacity='.2'%3E%3Ccircle cx='22' cy='44' r='2.6'/%3E%3Ccircle cx='158' cy='96' r='2.6'/%3E%3Ccircle cx='238' cy='32' r='2.6'/%3E%3Ccircle cx='184' cy='96' r='2.6'/%3E%3Ccircle cx='44' cy='218' r='2.6'/%3E%3Ccircle cx='214' cy='174' r='2.6'/%3E%3Ccircle cx='12' cy='128' r='2.6'/%3E%3Ccircle cx='66' cy='172' r='2.6'/%3E%3C/g%3E%3Cg fill='%23a78bfa' fill-opacity='.14'%3E%3Crect x='92' y='40' width='5' height='5'/%3E%3Crect x='180' y='92' width='5' height='5'/%3E%3Crect x='136' y='214' width='5' height='5'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}
.bg-net::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340'%3E%3Cg stroke='%23818cf8' stroke-opacity='.10' fill='none'%3E%3Cpath d='M40 60L150 40l90 70 60-30'/%3E%3Cpath d='M60 260l90-60 110 80'/%3E%3Cpath d='M150 40l-30 160'/%3E%3C/g%3E%3Cg fill='%23a78bfa' fill-opacity='.22'%3E%3Ccircle cx='40' cy='60' r='2.4'/%3E%3Ccircle cx='150' cy='40' r='3'/%3E%3Ccircle cx='240' cy='110' r='2.4'/%3E%3Ccircle cx='300' cy='80' r='2'/%3E%3Ccircle cx='60' cy='260' r='2.4'/%3E%3Ccircle cx='150' cy='200' r='3'/%3E%3Ccircle cx='260' cy='280' r='2.4'/%3E%3Ccircle cx='120' cy='200' r='2'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}

/* Radar rings behind the security terminal */
.term-side { position: relative; }
.term-side::before {
  content: '';
  position: absolute;
  inset: -60px -80px;
  pointer-events: none;
  background: repeating-radial-gradient(circle at 50% 50%,
    rgba(139, 92, 246, 0.09) 0 1.5px, transparent 1.5px 74px);
  mask-image: radial-gradient(closest-side at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000, transparent);
}
.term-side .terminal { position: relative; }

/* Inner page hero pattern */
.page-hero { overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cg fill='none' stroke='%238b5cf6' stroke-opacity='.11'%3E%3Cpath d='M22 44h74v52h62'/%3E%3Cpath d='M238 32v64h-54'/%3E%3Cpath d='M44 218h96v-44h74'/%3E%3C/g%3E%3Cg fill='%238b5cf6' fill-opacity='.17'%3E%3Ccircle cx='22' cy='44' r='2.6'/%3E%3Ccircle cx='158' cy='96' r='2.6'/%3E%3Ccircle cx='238' cy='32' r='2.6'/%3E%3Ccircle cx='214' cy='174' r='2.6'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: radial-gradient(80% 100% at 50% 0%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(80% 100% at 50% 0%, #000 30%, transparent 85%);
}

/* CTA constellation overlay */
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340'%3E%3Cg stroke='%23a78bfa' stroke-opacity='.12' fill='none'%3E%3Cpath d='M40 60L150 40l90 70 60-30'/%3E%3Cpath d='M60 260l90-60 110 80'/%3E%3C/g%3E%3Cg fill='%23a78bfa' fill-opacity='.25'%3E%3Ccircle cx='40' cy='60' r='2.4'/%3E%3Ccircle cx='150' cy='40' r='3'/%3E%3Ccircle cx='240' cy='110' r='2.4'/%3E%3Ccircle cx='60' cy='260' r='2.4'/%3E%3Ccircle cx='150' cy='200' r='3'/%3E%3Ccircle cx='260' cy='280' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

@media (max-width: 820px) {
  .hero-art { width: 185vw; opacity: 0.8; top: 42%; }
  .term-side::before { inset: -30px -10px; }
}
@media (prefers-reduced-motion: reduce) {
  .f-chip, .pulse-node { animation: none !important; }
}

/* ==========================================================================
   v4 — LIGHT SECTIONS
   White, airy content sections between the dark cinematic anchors.
   Apply class="light" to a section; every var-driven component re-themes.
   ========================================================================== */
.light {
  background: linear-gradient(180deg, #ffffff 0%, #f7f4ff 55%, #fcfbff 100%);
  --text-hi: #221a4e;
  --text: #47406e;
  --text-dim: #746e97;
  --surface: #ffffff;
  --surface-2: #f6f4fe;
  --surface-3: #efecfc;
  --line: rgba(34, 26, 78, 0.10);
  --line-strong: rgba(34, 26, 78, 0.18);
}
.light.tint {
  background: linear-gradient(180deg, #fdfcff 0%, #efe9ff 48%, #fdfcff 100%);
}

/* Cards on white — solid, soft-shadowed, no glass */
.light .svc-card,
.light .ind-card,
.light .g-card,
.light .sub-card,
.light .form-card {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: 0 12px 34px -20px rgba(34, 26, 78, 0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.light .svc-card:hover,
.light .g-card:hover,
.light .ind-card:hover {
  background: #ffffff;
  box-shadow: 0 26px 54px -24px rgba(var(--acc-rgb, 139, 92, 246), 0.35);
}
.light .sub-card:hover { background: #faf8ff; }

.light .chip { background: #f6f4fe; border-color: var(--line); color: #5a5382; }
.light .eyebrow { color: #7c3aed; }
.light .svc-tagline { filter: saturate(1.1) brightness(0.82); }
.light .ind-icon { background: rgba(139, 92, 246, 0.10); border-color: rgba(139, 92, 246, 0.24); color: #7c3aed; }
.light .svc-icon { color: color-mix(in srgb, var(--acc) 72%, #221a4e); }

.light .faq-item { background: #ffffff; border-color: var(--line); }
.light .faq-item[open] { background: #faf8ff; border-color: rgba(139, 92, 246, 0.35); }
.light .faq-x { border-color: var(--line-strong); color: #7c3aed; }
.light .faq-item[open] .faq-x { background: rgba(139, 92, 246, 0.12); }

.light .badge { background: rgba(139, 92, 246, 0.10); border-color: rgba(139, 92, 246, 0.3); color: #7c3aed; }
.light .badge.cyan { color: #0e7490; background: rgba(34, 211, 238, 0.12); }
.light .badge.lime { color: #4d7c0f; background: rgba(163, 230, 53, 0.16); }
.light .badge.amber { color: #b45309; background: rgba(251, 191, 36, 0.16); }
.light .badge.magenta { color: #a21caf; background: rgba(232, 121, 249, 0.13); }

.light .logo-chip { border: 1px solid var(--line); box-shadow: 0 8px 22px -14px rgba(34, 26, 78, 0.25); }

.light .info-card {
  background: linear-gradient(165deg, #f4f0ff, #ffffff 70%);
  border-color: rgba(139, 92, 246, 0.28);
}
.light .field input,
.light .field select,
.light .field textarea {
  background: #ffffff;
  border-color: rgba(34, 26, 78, 0.16);
  color: #221a4e;
}
.light .field input:focus,
.light .field select:focus,
.light .field textarea:focus {
  background: #ffffff;
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
}
.light .field select option { background: #ffffff; color: #221a4e; }

.light .btn-ghost {
  background: #ffffff;
  border-color: rgba(34, 26, 78, 0.18);
  color: #221a4e;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.light .btn-ghost:hover { background: #f6f4fe; border-color: rgba(139, 92, 246, 0.45); }

.light .check-badge { background: rgba(101, 163, 13, 0.10); border-color: rgba(101, 163, 13, 0.35); color: #4d7c0f; }
.light .why-num { -webkit-text-stroke: 1px rgba(139, 92, 246, 0.55); }
.light .country-chip { background: #ffffff; border-color: var(--line); color: #5a5382; }
.light .hero-chip { background: #ffffff; border-color: var(--line); color: #47406e; }
.light .hero-chip .icon { color: #7c3aed; }
.light .marquee-label strong { color: #7c3aed; }

/* pattern opacity on white */
.light.bg-circuit::before, .light.bg-net::before { opacity: 0.75; }

/* Light marquee band */
.marquee-band.light { border-top: none; }

.marquee-band.light {
  background: linear-gradient(180deg, #ffffff 0%, #f3efff 62%, #fcfbff 100%);
}

/* Dark section with a breathing indigo gradient */
.dark-grad {
  background:
    radial-gradient(720px 300px at 78% 12%, rgba(139, 92, 246, 0.12), transparent 65%),
    linear-gradient(180deg, var(--bg-0) 0%, #131030 48%, var(--bg-0) 100%);
}

/* The CTA panel stays a dark violet jewel inside light sections */
.light .cta-panel {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 40px 90px -45px rgba(88, 52, 190, 0.55);
}
.light .cta-panel h2 { color: #f4f1ff; }
.light .cta-panel p { color: #b9b2d8; }
.light .cta-panel .btn-ghost { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: #f4f1ff; }
.light .cta-panel .btn-ghost:hover { background: rgba(255,255,255,0.14); }

/* stats inside light sections (about page) */
.light .stat-num {
  background: linear-gradient(120deg, #221a4e 5%, #7c3aed 55%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Deepen per-category accent text on white for contrast (lime/amber/cyan) */
.light .svc-tagline,
.light .svc-link,
.light .ind-head {
  color: var(--acc);
  color: color-mix(in srgb, var(--acc) 58%, #221a4e);
  filter: none;
}
.light .practice-head .svc-tagline { color: color-mix(in srgb, var(--acc) 58%, #221a4e); }

/* ==========================================================================
   v4.1 — white balance on the hero
   ========================================================================== */

/* White email-capture pill (hero) */
.capture-form.capture-light {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px -22px rgba(6, 4, 22, 0.8);
}
.capture-form.capture-light input { color: #221a4e; }
.capture-form.capture-light input::placeholder { color: #8b86a8; }
.capture-form.capture-light:focus-within {
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2), 0 18px 50px -22px rgba(6, 4, 22, 0.8);
}

/* White testimonial cards on the dark canvas */
.t-card {
  --text-hi: #221a4e;
  --text: #47406e;
  --text-dim: #746e97;
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 20px 45px -25px rgba(5, 3, 18, 0.75);
}
.t-card:hover {
  border-color: rgba(196, 181, 253, 0.9);
  box-shadow: 0 28px 60px -26px rgba(139, 92, 246, 0.55);
}
.t-card .t-foot { border-top-color: rgba(34, 26, 78, 0.1); }
.t-card .t-quote mark { color: #7c3aed; }
.t-card .t-stars .icon.off { color: rgba(34, 26, 78, 0.15); }
