/* ============================================================
   OPSKUBE — Design System v1.0
   Dark premium theme · Space Grotesk / Inter
   ============================================================ */

:root {
  --bg-0: #050a18;
  --bg-1: #081020;
  --bg-2: #0d1730;
  --bg-3: #142042;
  --surface: rgba(165, 200, 255, 0.035);
  --surface-2: rgba(165, 200, 255, 0.06);
  --border: rgba(165, 200, 255, 0.1);
  --border-strong: rgba(165, 200, 255, 0.19);
  --text-1: #eef2fb;
  --text-2: #9fadcb;
  --text-3: #667492;
  --accent: #3b82f6;
  --accent-2: #6366f1;
  --accent-3: #22d3ee;
  --grad-brand: linear-gradient(100deg, #2563eb 0%, #3b82f6 50%, #22d3ee 100%);
  --grad-text: linear-gradient(100deg, #60a5fa 0%, #7dd3fc 55%, #22d3ee 100%);
  /* product accents */
  --c-zentos: #8b5cf6;
  --c-guardos: #34d399;
  --c-knewr: #fbbf24;
  --c-systacc: #38bdf8;
  --c-tivr: #f472b6;
  --nav-bg: rgba(5, 10, 24, 0.72);
  --menu-bg: rgba(5, 10, 24, 0.97);
  --drop-bg: rgba(10, 18, 38, 0.92);
  --grid-line: rgba(165, 200, 255, 0.04);
  --shadow-card: 0 22px 54px rgba(0, 4, 14, 0.5);
  --shadow-deep: 0 26px 60px rgba(0, 4, 14, 0.55);
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --nav-h: 72px;
  --max-w: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-pill: 999px;
  --success: #34d399;
}

/* ---------- light theme ---------- */
[data-theme="light"] {
  --bg-0: #f6f7fb;
  --bg-1: #ffffff;
  --bg-2: #eef1f8;
  --bg-3: #e3e8f4;
  --surface: rgba(15, 23, 42, 0.028);
  --surface-2: rgba(15, 23, 42, 0.05);
  --border: rgba(15, 23, 42, 0.1);
  --border-strong: rgba(15, 23, 42, 0.18);
  --text-1: #0e1424;
  --text-2: #45506b;
  --text-3: #74809e;
  --accent-3: #0891b2;
  --grad-text: linear-gradient(100deg, #1d4ed8 0%, #2563eb 55%, #0891b2 100%);
  --nav-bg: rgba(246, 247, 251, 0.78);
  --menu-bg: rgba(246, 247, 251, 0.98);
  --drop-bg: rgba(255, 255, 255, 0.95);
  --grid-line: rgba(14, 20, 36, 0.05);
  --shadow-card: 0 20px 44px rgba(15, 23, 42, 0.1);
  --shadow-deep: 0 24px 52px rgba(15, 23, 42, 0.13);
}
[data-theme="light"] ::selection { background: rgba(59, 130, 246, 0.22); }
[data-theme="light"] .hero-bg { opacity: 0.65; }
[data-theme="light"] .mock { box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14); }
[data-theme="light"] .dropdown { box-shadow: 0 24px 64px rgba(15, 23, 42, 0.16); }
[data-theme="light"] .btn-primary { box-shadow: 0 8px 28px rgba(59, 130, 246, 0.3); }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

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

::selection { background: rgba(59, 130, 246, 0.35); }

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

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

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

/* ---------- utilities ---------- */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-3);
  margin-bottom: 18px; font-family: var(--font-display);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px;
  background: var(--grad-brand); border-radius: 2px;
}
.section { padding: 104px 0; position: relative; }
.section-tight { padding: 72px 0; }
.section-title { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 16px; }
.section-lede { color: var(--text-2); font-size: 17.5px; max-width: 680px; }
.center { text-align: center; }
.center .section-lede, .center .eyebrow { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: 0.01em; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(37, 99, 235, 0.5); }
.btn-ghost {
  border: 1px solid var(--border-strong); color: var(--text-1);
  background: var(--surface);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-2px); background: var(--surface-2); border-color: rgba(255,255,255,0.28); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo {
  font-family: var(--font-display); font-weight: 700; font-size: 21px;
  letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-1);
  transition: opacity 0.2s var(--ease);
}
.logo:hover { opacity: 0.88; }
.logo-icon {
  width: 40px;
  height: auto;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
  image-rendering: auto;
}
.logo-icon--v2 {
  width: 76px;
  height: auto;
  object-position: left center;
}
.logo-word {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text-1);
}
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  font-size: 15px; color: #fff; font-weight: 800;
  box-shadow: 0 4px 18px rgba(59, 130, 246, 0.45);
}
.logo span.k { color: var(--accent-3); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links a.nav-link, .nav-links button.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 15px; border-radius: 10px;
  font-size: 14.5px; font-weight: 500; color: var(--text-2);
  transition: color 0.25s, background 0.25s;
  font-family: var(--font-display);
}
.nav-links a.nav-link:hover, .nav-links button.nav-link:hover,
.nav-links a.nav-link.active { color: var(--text-1); background: var(--surface-2); }
.nav-link .chev { width: 12px; height: 12px; transition: transform 0.25s; }
.has-drop:hover .chev, .has-drop:focus-within .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 320px;
  background: var(--drop-bg);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 11px 13px; border-radius: 11px;
  transition: background 0.2s;
}
.dropdown a:hover { background: var(--surface-2); }
.drop-dot {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  margin-top: 2px;
}
.dropdown b { display: block; font-size: 14.5px; font-family: var(--font-display); font-weight: 600; }
.dropdown small { display: block; color: var(--text-3); font-size: 12.5px; line-height: 1.45; margin-top: 2px; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 10px 20px; font-size: 14px; }

/* theme toggle */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid; place-items: center;
  color: var(--text-2);
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.3s var(--ease);
}
.theme-toggle:hover { color: var(--text-1); border-color: var(--border-strong); transform: translateY(-1px); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--text-1); border-radius: 2px; transition: 0.3s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: var(--menu-bg);
  backdrop-filter: blur(20px);
  padding: 28px 6%;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 15px 4px;
  font-family: var(--font-display); font-size: 19px; font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .sub { font-size: 15.5px; color: var(--text-2); padding-left: 20px; font-weight: 500; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 96px) 0 110px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 60% 45% at 70% 8%, rgba(59, 130, 246, 0.2), transparent 60%),
    radial-gradient(ellipse 55% 40% at 18% 25%, rgba(37, 99, 235, 0.15), transparent 60%),
    radial-gradient(ellipse 45% 35% at 85% 70%, rgba(34, 211, 238, 0.09), transparent 60%);
}

/* aurora beams */
.aurora { position: absolute; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.aurora span {
  position: absolute; border-radius: 50%;
  filter: blur(90px);
  mix-blend-mode: screen;
  animation: drift 20s ease-in-out infinite alternate;
  will-change: transform;
}
.aurora .a1 { width: 55vw; height: 55vw; background: radial-gradient(circle, rgba(37, 99, 235, 0.5), transparent 62%); top: -22%; left: -12%; opacity: 0.5; }
.aurora .a2 { width: 48vw; height: 48vw; background: radial-gradient(circle, rgba(6, 182, 212, 0.4), transparent 62%); top: -14%; right: -14%; opacity: 0.42; animation-delay: -7s; animation-duration: 25s; }
.aurora .a3 { width: 44vw; height: 44vw; background: radial-gradient(circle, rgba(56, 189, 248, 0.32), transparent 62%); bottom: -34%; left: 28%; opacity: 0.3; animation-delay: -13s; animation-duration: 30s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1) rotate(0deg); }
  to { transform: translate(7%, 9%) scale(1.18) rotate(24deg); }
}
[data-theme="light"] .aurora span { opacity: 0.16; mix-blend-mode: normal; }

/* animated headline */
.hero h1 .hw {
  display: inline-block;
  opacity: 0; transform: translateY(30px);
  animation: wordUp 0.85s var(--ease) forwards;
}
.hero h1 .hw.d1 { animation-delay: 0.1s; }
.hero h1 .hw.d2 { animation-delay: 0.26s; }
.hero h1 .hw.d3 { animation-delay: 0.42s; }
.hero h1 .hw.d4 { animation-delay: 0.58s; }
@keyframes wordUp { to { opacity: 1; transform: none; } }
.hero .hero-sub, .hero .hero-ctas {
  opacity: 0; animation: wordUp 0.9s var(--ease) forwards;
}
.hero .hero-sub { animation-delay: 0.7s; }
.hero .hero-ctas { animation-delay: 0.85s; }

.grad-text.shimmer {
  background-size: 220% auto;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }

/* delivery log panel */
@keyframes oh4-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes oh4-dot-pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.6); } 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
@keyframes oh4-fill { from { width: 0%; } to { width: 100%; } }
@keyframes oh4-panel-in { from { opacity: 0; transform: perspective(1400px) rotateY(-10deg) rotateX(3deg) translateY(40px); } to { opacity: 1; transform: perspective(1400px) rotateY(-10deg) rotateX(3deg) translateY(0); } }

.delivery-feed {
  position: absolute; right: 15%; top: calc(var(--nav-h) + 190px);
  width: min(500px, 42vw); z-index: 1;
  display: none;
}
@media (min-width: 550px) { .delivery-feed { display: block; } }

.delivery-feed__glow {
  position: absolute; inset: -60px -40px;
  background: radial-gradient(ellipse at 60% 40%, rgba(37,99,235,0.22), rgba(34,211,238,0.06) 55%, transparent 75%);
  filter: blur(30px); pointer-events: none;
}
.delivery-feed__ghost {
  position: absolute; inset: 26px -22px -22px 26px;
  border-radius: 22px; border: 1px solid var(--border);
  background: rgba(165,200,255,0.03);
  transform: perspective(1400px) rotateY(-10deg) rotateX(3deg);
  pointer-events: none;
}
.delivery-feed__panel {
  position: relative;
  border: 1px solid var(--border-strong); border-radius: 22px;
  background: linear-gradient(180deg, rgba(13,23,48,0.9), rgba(8,16,32,0.92));
  backdrop-filter: blur(10px); box-shadow: var(--shadow-deep);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-10deg) rotateX(3deg);
  transition: transform 0.7s var(--ease);
  animation: oh4-panel-in 1.1s var(--ease) 0.5s both;
}
.delivery-feed__panel:hover {
  transform: perspective(1400px) rotateY(0deg) rotateX(0deg);
}
[data-theme="light"] .delivery-feed__panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(246,247,251,0.98));
}

.delivery-feed__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; border-bottom: 1px solid var(--border);
}
.delivery-feed__brand {
  display: flex; align-items: center; gap: 10px;
}
.delivery-feed__logo {
  width: 24px; height: 24px; border-radius: 7px;
  background: var(--grad-brand); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 12px; color: #fff;
}
.delivery-feed__title {
  font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--text-1);
}
.delivery-feed__live {
  display: flex; align-items: center; gap: 8px;
}
.delivery-feed__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success); animation: oh4-dot-pulse 2s ease-out infinite;
}
.delivery-feed__live span {
  font-family: var(--font-display); font-size: 12.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3);
}

.delivery-feed__rows {
  display: flex; flex-direction: column; padding: 8px; gap: 2px;
}
.delivery-row {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 14px;
  border: 1px solid transparent; background: transparent;
  opacity: 0.58;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), opacity 0.5s var(--ease);
}
.delivery-row.is-active {
  background: rgba(59,130,246,0.1);
  border-color: rgba(165,200,255,0.24);
  opacity: 1;
}
.delivery-row:nth-child(1) { animation: oh4-up 0.7s var(--ease) 0.7s both; }
.delivery-row:nth-child(2) { animation: oh4-up 0.7s var(--ease) 0.8s both; }
.delivery-row:nth-child(3) { animation: oh4-up 0.7s var(--ease) 0.9s both; }
.delivery-row:nth-child(4) { animation: oh4-up 0.7s var(--ease) 1s both; }
.delivery-row:nth-child(5) { animation: oh4-up 0.7s var(--ease) 1.1s both; }
.delivery-row:nth-child(6) { animation: oh4-up 0.7s var(--ease) 1.2s both; }

.delivery-row__icon {
  width: 32px; height: 32px; flex: 0 0 auto; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface);
  display: grid; place-items: center;
}
.delivery-row__name {
  font-family: var(--font-display); font-weight: 600; font-size: 15.5px;
  color: var(--text-1); flex: 1 1 auto; white-space: nowrap;
}
.delivery-row__dest {
  font-size: 13.5px; color: var(--text-3); white-space: nowrap;
}
.delivery-row__status {
  font-family: var(--font-display); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-3); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: var(--radius-pill); white-space: nowrap;
  transition: color 0.4s, border-color 0.4s;
}
.delivery-row.is-active .delivery-row__status {
  color: var(--success); border-color: rgba(52,211,153,0.4);
}
.delivery-row__bar {
  position: absolute; left: 0; bottom: 0; height: 2px;
  background: var(--grad-brand); width: 0;
}

.delivery-feed__footer {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 14px 24px; border-top: 1px solid var(--border);
}
.delivery-feed__footer-label {
  font-family: var(--font-display); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3);
}
.delivery-feed__regions {
  display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end;
}
.delivery-region {
  font-family: var(--font-display); font-size: 11.5px; font-weight: 600;
  padding: 4px 10px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); color: var(--text-3);
  background: transparent; transition: all 0.4s var(--ease);
}
.delivery-region.is-active {
  color: var(--text-1);
  border-color: rgba(34,211,238,0.45);
  background: rgba(34,211,238,0.1);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 20%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 20%, #000 25%, transparent 78%);
}
.hero h1 {
  font-size: clamp(42px, 6.8vw, 66px);
  font-weight: 700;
  max-width: 600px;
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}
.hero-sub { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 640px; margin-bottom: 40px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }

/* hero inline stats (v4.1 delivery feed) */
.hero-stats {
  display: flex; align-items: stretch; gap: 0; margin-top: 10px;
  animation: oh4-up 0.9s var(--ease) 0.6s both;
}
.hero-stat {
  display: flex; flex-direction: column; gap: 4px;
}
.hero-stat:first-child { padding-right: 28px; }
.hero-stat:nth-child(2) { padding: 0 28px; border-left: 1px solid var(--border); }
.hero-stat:nth-child(3) { padding-left: 28px; border-left: 1px solid var(--border); }
.hero-stat__value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 4vw, 42px); line-height: 1;
  color: var(--text-1); font-variant-numeric: tabular-nums;
}
.hero-stat__label { font-size: 13.5px; color: var(--text-3); }
@media (max-width: 720px) {
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-stat:first-child { padding-right: 0; }
  .hero-stat:not(:first-child) {
    padding: 20px 0 0; border-left: none;
    border-top: 1px solid var(--border);
  }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 10px; border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(8px);
  font-size: 13.5px; color: var(--text-2);
  margin-bottom: 32px;
  font-family: var(--font-display); font-weight: 500;
}
.hero-badge .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}
.hero-badge .tag {
  background: var(--grad-brand); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase;
}

/* page hero (interior pages) */
.page-hero { position: relative; padding: calc(var(--nav-h) + 76px) 0 72px; overflow: hidden; }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); max-width: 860px; margin-bottom: 20px; }

/* ---------- stats ---------- */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--bg-1); padding: 30px 26px;
  transition: background 0.3s;
}
.stat:hover { background: var(--bg-2); }
.stat b {
  display: block; font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 42px); font-weight: 700;
  letter-spacing: -0.02em;
}
.stat span { color: var(--text-3); font-size: 13.5px; letter-spacing: 0.02em; }

/* ---------- cards ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.45s var(--ease), border-color 0.35s, box-shadow 0.45s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(59, 130, 246, 0.12), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow-card); }
.card h3 { font-size: 20px; margin: 18px 0 10px; }
.card p { color: var(--text-2); font-size: 14.8px; }
.card-icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #93b4fd;
}
.card-icon svg { width: 22px; height: 22px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- product showcase ---------- */
.product-card {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 38px 34px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.35s, box-shadow 0.45s var(--ease);
}
.product-card::after {
  content: "";
  position: absolute; top: 0; left: 34px; right: 34px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--pc, var(--accent)), transparent);
  opacity: 0.7;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-deep); }
.product-card .p-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.p-logo {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  color: #fff;
}
.product-card h3 { font-size: 23px; }
.product-card .p-tag { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.product-card p.desc { color: var(--text-2); font-size: 15px; flex: 1; margin-bottom: 22px; }
.p-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  font-size: 12.3px; font-weight: 500;
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-2); background: var(--surface);
  font-family: var(--font-display);
}
.p-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px;
  color: var(--text-1);
}
.p-link svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.p-link:hover svg { transform: translateX(4px); }
.p-link:hover { color: #b9c8ff; }

/* ---------- marquee ---------- */
.marquee-wrap {
  overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  padding: 8px 0;
}
.marquee { display: flex; gap: 18px; width: max-content; animation: scroll 46s linear infinite; }
.marquee-wrap:hover .marquee { animation-play-state: paused; }
.marquee.reverse { animation-direction: reverse; animation-duration: 52s; }
@keyframes scroll { to { transform: translateX(-50%); } }
.m-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--font-display); font-weight: 600; font-size: 15.5px;
  color: var(--text-2); white-space: nowrap;
  transition: color 0.3s, border-color 0.3s;
}
.m-item:hover { color: var(--text-1); border-color: var(--border-strong); }
.m-item i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad-brand); flex: 0 0 auto;
}

/* ---------- timeline / process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 700; font-size: 40px;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 14px; opacity: 0.9;
}
.step h4 { font-size: 17.5px; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 14px; }

/* ---------- feature rows ---------- */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; padding: 56px 0;
}
.feature-row .visual {
  border-radius: 22px; border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  padding: 34px; min-height: 300px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.feature-row h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; }
.feature-row p { color: var(--text-2); margin-bottom: 20px; }

.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 9px 0; color: var(--text-2); font-size: 15px;
}
.check-list li::before {
  content: ""; flex: 0 0 20px; height: 20px; margin-top: 2px;
  border-radius: 6px;
  background:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2334d399" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/12px no-repeat,
    rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
}
.check-list b { color: var(--text-1); font-weight: 600; }

/* ---------- blog prose ---------- */
.blog-meta { opacity: 0.6; font-size: 14px; margin-top: 8px; }
.blog-hero-img { width: 100%; border-radius: 16px; border: 1px solid var(--border); }
.blog-prose {
  color: var(--text-2); font-size: 17.5px; line-height: 1.75;
}
.blog-prose > * + * { margin-top: 1.25em; }
.blog-prose h2 {
  color: var(--text-1); font-size: clamp(22px, 3vw, 28px); font-weight: 600;
  margin-top: 2.75em; margin-bottom: 0.35em; letter-spacing: -0.02em;
}
.blog-prose h2:first-child { margin-top: 0; }
.blog-prose h3 { color: var(--text-1); font-size: 18px; font-weight: 600; margin-top: 1.75em; }
.blog-prose p { margin: 0; }
.blog-prose .blog-lead {
  font-size: 19px; color: var(--text-1); line-height: 1.65;
  border-left: 3px solid var(--accent); padding-left: 20px;
}
.blog-prose ul, .blog-prose ol { padding-left: 1.35em; margin: 0; }
.blog-prose li + li { margin-top: 0.55em; }
.blog-prose li::marker { color: var(--accent-3); }
.blog-prose strong { color: var(--text-1); font-weight: 600; }
.blog-prose a { color: var(--accent-3); text-decoration: underline; text-underline-offset: 3px; }
.blog-prose a:hover { color: var(--text-1); }
.blog-prose blockquote {
  margin: 2em 0; padding: 20px 24px;
  border-left: 3px solid var(--accent-3);
  background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-1); font-size: 18px; line-height: 1.6;
}
.blog-prose figure { margin: 2.5em 0; }
.blog-prose figcaption { font-size: 13.5px; color: var(--text-3); margin-top: 10px; }
.blog-prose img { width: 100%; border-radius: 14px; border: 1px solid var(--border); }
.blog-takeaways { padding: 32px; margin-top: 48px; }
.blog-takeaways h3 { margin-top: 0; margin-bottom: 16px; }
.blog-related-card { display: block; text-decoration: none; padding: 24px; }
.blog-related-card small { display: block; color: var(--text-3); font-size: 13.5px; margin-top: 6px; }
.blog-card { display: block; text-decoration: none; padding: 0; overflow: hidden; }
.blog-card__img { width: 100%; display: block; border-bottom: 1px solid var(--border); }
.blog-card__body { padding: 26px; }
.blog-card__body > p { color: var(--text-2); margin-top: 8px; font-size: 15.5px; line-height: 1.6; }
.blog-card__meta { opacity: 0.55; font-size: 13px; margin-top: 12px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: 26px;
  border: 1px solid var(--border-strong);
  padding: clamp(44px, 6vw, 80px);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 90% at 50% -20%, rgba(37, 99, 235, 0.24), transparent 65%),
    radial-gradient(ellipse 50% 70% at 85% 110%, rgba(34, 211, 238, 0.12), transparent 60%),
    var(--bg-2);
}
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.cta-band p { color: var(--text-2); max-width: 560px; margin: 0 auto 34px; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
  background: var(--bg-1);
  position: relative; overflow: hidden;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px;
  margin-bottom: 56px;
}
.footer h5 {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3);
  margin-bottom: 18px;
}
.footer ul li { margin-bottom: 11px; }
.footer ul a { color: var(--text-2); font-size: 14.5px; transition: color 0.25s; }
.footer ul a:hover { color: var(--text-1); }
.footer-brand p { color: var(--text-3); font-size: 14px; max-width: 300px; margin-top: 16px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--text-3); font-size: 13.5px;
}

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ---------- product page specifics ---------- */
.p-hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.06em; margin-bottom: 26px;
  border: 1px solid;
}
.metric-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.metric {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 32px 28px;
}
.metric b { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 700; margin-bottom: 6px; }
.metric span { color: var(--text-2); font-size: 14px; line-height: 1.5; display: block; }

.split-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.panel {
  border-radius: var(--radius); padding: 36px 32px;
  border: 1px solid var(--border);
}
.panel.problem { background: linear-gradient(170deg, rgba(244, 63, 94, 0.07), transparent 55%), var(--surface); }
.panel.solution { background: linear-gradient(170deg, rgba(52, 211, 153, 0.08), transparent 55%), var(--surface); }
.panel h3 { font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.panel.problem h3 { color: #fb7185; }
.panel.solution h3 { color: #34d399; }
.panel p { color: var(--text-2); font-size: 15.5px; }

/* mockup browser frame */
.mock {
  width: 100%; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-1);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.mock-bar {
  display: flex; gap: 7px; padding: 12px 16px;
  background: var(--bg-3); border-bottom: 1px solid var(--border);
}
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.mock-bar i:first-child { background: #fb7185aa; }
.mock-bar i:nth-child(2) { background: #fbbf24aa; }
.mock-bar i:nth-child(3) { background: #34d399aa; }
.mock-body { padding: 22px; display: grid; gap: 12px; }
.mock-row { display: flex; gap: 12px; align-items: center; }
.mock-pill { height: 12px; border-radius: 6px; background: var(--surface-2); }
.mock-block { border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.mock-spark {
  height: 74px; border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(59,130,246,0.22), transparent),
    repeating-linear-gradient(90deg, transparent 0 14px, rgba(255,255,255,0.05) 14px 15px);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.mock-spark::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 60%;
  background: linear-gradient(180deg, rgba(34,211,238,0.28), transparent);
  clip-path: polygon(0 78%, 9% 62%, 18% 70%, 27% 48%, 36% 58%, 45% 38%, 54% 47%, 63% 28%, 72% 40%, 81% 18%, 90% 30%, 100% 8%, 100% 100%, 0 100%);
}

/* tables */
.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { padding: 15px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--border); }
.spec-table th { font-family: var(--font-display); background: var(--bg-2); color: var(--text-2); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.spec-table td { color: var(--text-2); }
.spec-table td:first-child { color: var(--text-1); font-weight: 500; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.form-card {
  border: 1px solid var(--border); border-radius: 22px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: 40px 36px;
}
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-display); font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--text-2); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px;
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: 12px; color: var(--text-1);
  font: inherit; font-size: 15px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.field textarea { min-height: 130px; resize: vertical; }

.info-tile {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px; border: 1px solid var(--border); border-radius: 16px;
  background: var(--surface); margin-bottom: 16px;
}
.info-tile .card-icon { flex: 0 0 46px; }
.info-tile b { font-family: var(--font-display); display: block; margin-bottom: 3px; }
.info-tile span, .info-tile a.mail { color: var(--text-2); font-size: 14.5px; }
.info-tile a.mail:hover { color: var(--accent-3); }

/* badges row (trust) */
.trust-row { display: flex; flex-wrap: wrap; gap: 14px; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  font-size: 13.5px; color: var(--text-2); font-family: var(--font-display); font-weight: 500;
}
.trust-pill svg { width: 15px; height: 15px; color: var(--accent-3); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .hamburger { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2, .split-panel, .metric-band { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .grid-4, .steps, .stats-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--nav-h) + 60px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
