/* =========================================================
   OPHTECH — Premium Design System
   Ophiukai Technologies
   ========================================================= */

:root {
  /* Brand palette */
  --ink-900: #070A18;
  --ink-900-soft: #0A0F22;
  --ink-800: #0E1428;
  --ink-700: #161D35;
  --ink-600: #1F2942;
  --ink-500: #2A3454;
  --ink-400: #475569;
  --ink-300: #94A3B8;
  --ink-200: #CBD5E1;
  --ink-100: #E2E8F0;
  --ink-50:  #F1F5F9;
  --paper:   #FFFFFF;
  --canvas:  #F7F8FB;
  --tint:    #F4F1FF;

  /* Accent */
  --brand-500: #6366F1;
  --brand-600: #4F46E5;
  --brand-700: #4338CA;
  --cyan-500:  #06B6D4;
  --cyan-600:  #0891B2;
  --teal-500:  #14B8A6;
  --amber-500: #F59E0B;
  --pink-500:  #EC4899;
  --green-500: #10B981;

  --gradient-brand: linear-gradient(135deg, #6366F1 0%, #06B6D4 100%);
  --gradient-mesh: radial-gradient(at 12% 18%, rgba(99,102,241,0.35) 0px, transparent 50%),
                   radial-gradient(at 88% 12%, rgba(6,182,212,0.30) 0px, transparent 50%),
                   radial-gradient(at 70% 88%, rgba(236,72,153,0.18) 0px, transparent 50%),
                   radial-gradient(at 12% 92%, rgba(20,184,166,0.20) 0px, transparent 50%);
  --gradient-text: linear-gradient(135deg, #6366F1 0%, #06B6D4 50%, #14B8A6 100%);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(15, 23, 42, 0.10), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 48px -16px rgba(15, 23, 42, 0.18), 0 8px 16px -8px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 0 1px rgba(99, 102, 241, 0.10), 0 12px 40px -8px rgba(99, 102, 241, 0.30);

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 999px;

  /* Type */
  --font-display: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --gutter: 24px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink-900);
}
h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); letter-spacing: -0.035em; line-height: 1.05; font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.45rem); }
h4 { font-size: 1.125rem; }
p  { margin: 0 0 1em; color: var(--ink-400); }

::selection { background: rgba(99, 102, 241, 0.2); color: var(--ink-900); }

/* Layout helpers */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-600);
  background: rgba(99, 102, 241, 0.08);
  padding: 6px 12px;
  border-radius: var(--r-full);
  border: 1px solid rgba(99, 102, 241, 0.15);
  margin-bottom: 18px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-500); box-shadow: 0 0 12px var(--brand-500); }

.section-title { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-title h2 { margin-bottom: 14px; }
.section-title p { font-size: 1.0625rem; color: var(--ink-400); }
.section-title.left { margin: 0 0 48px; text-align: left; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--ink-900);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 8px 20px -8px rgba(7, 10, 24, 0.5);
}
.btn-primary:hover { background: #000; transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(7, 10, 24, 0.55); }

.btn-brand {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-brand:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.20), 0 16px 48px -8px rgba(99, 102, 241, 0.50); }

.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border: 1px solid var(--ink-100);
}
.btn-ghost:hover { background: var(--ink-50); border-color: var(--ink-200); transform: translateY(-1px); }

.btn-light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
}
.btn-light:hover { background: rgba(255,255,255,0.14); transform: translateY(-1px); }

.btn-sm { padding: 10px 16px; font-size: 0.875rem; }
.btn-lg { padding: 16px 26px; font-size: 1rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-600);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: gap 0.2s var(--ease);
}
.link-arrow:hover { gap: 10px; }
.link-arrow svg { width: 14px; height: 14px; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s var(--ease);
}
.nav-wrapper.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--ink-100);
  padding: 10px 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--gradient-brand);
  display: grid; place-items: center;
  color: #fff;
  position: relative;
  box-shadow: 0 6px 18px -4px rgba(99, 102, 241, 0.5);
}
.brand-mark::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.35));
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-name { display: flex; align-items: baseline; gap: 4px; }
.brand-name strong { font-weight: 600; }
.brand-name .nm { font-size: 0.7rem; color: var(--ink-300); font-family: var(--font-mono); font-weight: 400; margin-left: 6px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-400);
  border-radius: var(--r-full);
  transition: all 0.2s var(--ease);
}
.nav-links a:hover { color: var(--ink-900); background: var(--ink-50); }
.nav-links a.active { color: var(--ink-900); background: var(--ink-50); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--ink-100);
  background: var(--paper);
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--ink-900);
  position: relative;
  transition: all 0.2s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0;
  width: 16px; height: 1.5px; background: var(--ink-900);
  transition: all 0.2s var(--ease);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after  { top: 5px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
  background: var(--canvas);
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.6;
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.hero h1 .grad {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero p.lead {
  font-size: 1.125rem;
  color: var(--ink-400);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--ink-100);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-trust .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-300);
  margin-right: 8px;
}
.hero-trust .pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 500;
  background: var(--paper);
  border: 1px solid var(--ink-100);
  color: var(--ink-700);
  box-shadow: var(--shadow-xs);
}
.pill .pdot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-500); }

/* Hero visual / card */
.hero-visual { position: relative; }
.hero-card {
  position: relative;
  background: var(--paper);
  border-radius: var(--r-2xl);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  overflow: hidden;
}
.hero-card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--ink-50);
}
.hero-card-head .dots { display: flex; gap: 6px; }
.hero-card-head .dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-100); }
.hero-card-head .dots span:first-child { background: #FF5F57; }
.hero-card-head .dots span:nth-child(2) { background: #FEBC2E; }
.hero-card-head .dots span:last-child { background: #28C840; }
.hero-card-head .url {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-300);
  background: var(--ink-50);
  padding: 4px 10px; border-radius: var(--r-full);
}
.codeblock {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--canvas);
  border-radius: var(--r-md);
  padding: 20px;
  border: 1px solid var(--ink-50);
}
.codeblock .c-kw { color: #8B5CF6; }
.codeblock .c-fn { color: #06B6D4; }
.codeblock .c-str { color: #10B981; }
.codeblock .c-com { color: var(--ink-300); font-style: italic; }
.codeblock .c-pn { color: #F59E0B; }
.codeblock .c-prop { color: #6366F1; }

.float-stat {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
}
.float-stat.s1 { top: -24px; left: -32px; }
.float-stat.s2 { bottom: -24px; right: -20px; }
.float-stat .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: #fff;
}
.float-stat.s1 .ico { background: linear-gradient(135deg, #6366F1, #06B6D4); }
.float-stat.s2 .ico { background: linear-gradient(135deg, #F59E0B, #EC4899); }
.float-stat .lbl { font-size: 0.7rem; color: var(--ink-300); text-transform: uppercase; letter-spacing: 0.1em; }
.float-stat .val { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink-900); line-height: 1.2; }

/* Page hero (smaller) */
.page-hero {
  padding: 160px 0 80px;
  background: var(--canvas);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-mesh); opacity: 0.45; z-index: -2;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 30%, transparent 80%);
  z-index: -1;
}
.page-hero h1 { max-width: 820px; }
.page-hero p { font-size: 1.125rem; max-width: 700px; color: var(--ink-400); }
.page-hero-inner { text-align: center; margin: 0 auto; }
.page-hero-inner .eyebrow { margin: 0 auto 18px; }

/* =========================================================
   FEATURE GRID
   ========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-xl);
  padding: 28px;
  transition: all 0.35s var(--ease);
  overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 0;
}
.feature-card > * { position: relative; z-index: 1; }
.feature-card:hover {
  border-color: rgba(99, 102, 241, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-card .ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(6,182,212,0.1));
  color: var(--brand-600);
  margin-bottom: 20px;
  border: 1px solid rgba(99,102,241,0.15);
}
.feature-card .ico svg { width: 22px; height: 22px; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.125rem; }
.feature-card p { font-size: 0.9375rem; margin: 0; }

/* Why choose us — premium card variant */
.why-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.why-card::after {
  content: ''; position: absolute; top: -1px; right: -1px;
  width: 120px; height: 120px;
  background: radial-gradient(circle at top right, rgba(99,102,241,0.10), transparent 70%);
  border-radius: 50%;
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.why-card:hover { transform: translateY(-6px); border-color: rgba(99,102,241,0.2); box-shadow: var(--shadow-lg); }
.why-card:hover::after { opacity: 1; }
.why-card .num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--brand-600);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: inline-block;
}
.why-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.why-card p { font-size: 0.9375rem; margin: 0; }

/* =========================================================
   SERVICES BLOCKS (DETAILED)
   ========================================================= */
.svc-grid { display: grid; gap: 20px; }
.svc-block {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 32px;
  padding: 36px;
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-2xl);
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.svc-block:hover { border-color: rgba(99,102,241,0.25); box-shadow: var(--shadow-md); }
.svc-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px rgba(99,102,241,0.4);
  line-height: 1;
  letter-spacing: -0.04em;
}
.svc-block h3 { font-size: 1.35rem; margin-bottom: 16px; }
.svc-block .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-600);
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}
.svc-block ul { list-style: none; margin: 0; padding: 0; }
.svc-block li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9375rem;
  color: var(--ink-400);
  margin-bottom: 8px;
}
.svc-block li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 12px; height: 1.5px;
  background: var(--brand-500);
  border-radius: 2px;
}
.svc-block .outcome {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--ink-100);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-800);
}

/* =========================================================
   PRODUCTS
   ========================================================= */
.product-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background: linear-gradient(135deg, #0A0F22 0%, #1A1F3D 100%);
  border-radius: var(--r-2xl);
  padding: 56px;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.product-featured::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.7; z-index: -1;
}
.product-featured::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 80% at 70% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 70% 50%, #000 30%, transparent 80%);
  z-index: -1;
}
.product-featured .tag {
  display: inline-flex;
  align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #94A3B8;
  margin-bottom: 18px;
}
.product-featured .tag .dot { width: 6px; height: 6px; border-radius: 50%; background: #10B981; box-shadow: 0 0 10px #10B981; }
.product-featured h2 { color: #fff; font-size: clamp(2rem, 3vw, 2.6rem); }
.product-featured p { color: rgba(255,255,255,0.7); }
.product-featured .value {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin: 24px 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
  font-weight: 500;
}
.product-featured ul { list-style: none; padding: 0; margin: 0 0 28px; }
.product-featured li {
  position: relative;
  padding-left: 26px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9375rem;
  margin-bottom: 10px;
}
.product-featured li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px;
  background: linear-gradient(135deg, #6366F1, #06B6D4);
  border-radius: 50%;
  color: #fff; font-size: 0.65rem;
  display: grid; place-items: center; font-weight: 700;
}

.product-visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(6,182,212,0.2));
  border: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  padding: 18px;
}
.pv-tile {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--font-display);
}
.pv-tile.t1 { grid-column: 1; grid-row: 1; background: linear-gradient(135deg, rgba(99,102,241,0.25), rgba(6,182,212,0.15)); }
.pv-tile.t2 { grid-column: 2; grid-row: 1; }
.pv-tile.t3 { grid-column: 1; grid-row: 2; }
.pv-tile.t4 { grid-column: 2; grid-row: 2; background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(236,72,153,0.15)); }
.pv-tile .pv-emoji { font-size: 1.5rem; }
.pv-tile .pv-lbl { font-size: 0.7rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-mono); }
.pv-tile .pv-val { font-size: 0.9rem; color: #fff; font-weight: 500; }

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.pipeline-card {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-xl);
  padding: 28px;
  transition: all 0.3s var(--ease);
  position: relative;
}
.pipeline-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(99,102,241,0.2); }
.pipeline-card .pl-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-400);
  margin-bottom: 14px;
  padding: 4px 10px;
  background: var(--ink-50);
  border-radius: var(--r-full);
}
.pipeline-card .pl-tag .dot { width: 7px; height: 7px; border-radius: 50%; }
.pl-green .pl-tag .dot { background: #10B981; box-shadow: 0 0 8px #10B981; }
.pl-red   .pl-tag .dot { background: #EF4444; box-shadow: 0 0 8px #EF4444; }
.pl-blue  .pl-tag .dot { background: #3B82F6; box-shadow: 0 0 8px #3B82F6; }
.pipeline-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.pipeline-card p { font-size: 0.9375rem; margin: 0; }
.pipeline-card .icon-bg {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--ink-50);
  color: var(--ink-400);
}
.pipeline-card .icon-bg svg { width: 18px; height: 18px; }

/* =========================================================
   ABOUT — VALUES
   ========================================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  transition: all 0.3s var(--ease);
}
.value-item:hover { border-color: rgba(99,102,241,0.2); transform: translateX(4px); }
.value-item .vico {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(6,182,212,0.12));
  color: var(--brand-600);
  display: grid; place-items: center;
}
.value-item .vico svg { width: 18px; height: 18px; }
.value-item h4 { font-size: 1rem; margin: 0 0 4px; }
.value-item p { font-size: 0.9rem; margin: 0; color: var(--ink-400); }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv-card {
  padding: 40px;
  border-radius: var(--r-2xl);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.mv-card.mission {
  background: linear-gradient(135deg, #0A0F22 0%, #161D35 100%);
  color: #fff;
}
.mv-card.vision {
  background: var(--paper);
  border: 1px solid var(--ink-100);
}
.mv-card.mission::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-mesh); opacity: 0.6; z-index: -1;
}
.mv-card .ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.mv-card.mission .ico { background: rgba(255,255,255,0.1); color: #fff; }
.mv-card.vision .ico { background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(6,182,212,0.1)); color: var(--brand-600); }
.mv-card .ico svg { width: 22px; height: 22px; }
.mv-card h3 { color: inherit; font-size: 1.5rem; margin-bottom: 14px; }
.mv-card.mission p { color: rgba(255,255,255,0.75); }
.mv-card p { margin: 0; }

/* =========================================================
   STATS STRIP
   ========================================================= */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--ink-900);
  border-radius: var(--r-2xl);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.stats-strip::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-mesh); opacity: 0.5; z-index: -1;
}
.stat-cell {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-cell:last-child { border-right: none; }
.stat-cell .val {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  background: linear-gradient(135deg, #fff, #94A3B8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.stat-cell .lbl {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}

/* =========================================================
   INSIGHTS
   ========================================================= */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.insight-card {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.insight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(99,102,241,0.2); }
.insight-thumb {
  aspect-ratio: 16/9;
  background: var(--gradient-brand);
  position: relative;
  overflow: hidden;
}
.insight-thumb::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.6;
}
.insight-thumb::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.insight-thumb.t-2 { background: linear-gradient(135deg, #F59E0B, #EC4899); }
.insight-thumb.t-3 { background: linear-gradient(135deg, #10B981, #06B6D4); }
.insight-thumb.t-4 { background: linear-gradient(135deg, #8B5CF6, #EC4899); }
.insight-thumb.t-5 { background: linear-gradient(135deg, #06B6D4, #4F46E5); }
.insight-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.insight-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.75rem; color: var(--ink-300);
  margin-bottom: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.insight-meta .cat { color: var(--brand-600); }
.insight-body h3 { font-size: 1.125rem; margin-bottom: 10px; line-height: 1.3; }
.insight-body p { font-size: 0.9rem; margin: 0 0 16px; flex: 1; }

/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section {
  background: linear-gradient(135deg, #0A0F22 0%, #161D35 100%);
  border-radius: var(--r-2xl);
  padding: clamp(48px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.7; z-index: -1;
}
.cta-section::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 75%);
  z-index: -1;
}
.cta-section h2 { color: #fff; max-width: 720px; margin: 0 auto 16px; }
.cta-section p { color: rgba(255,255,255,0.7); max-width: 620px; margin: 0 auto 32px; font-size: 1.0625rem; }
.cta-section .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 18px; }
.contact-info > p { font-size: 1.0625rem; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 18px; }
.contact-detail {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  transition: all 0.3s var(--ease);
}
.contact-detail:hover { border-color: rgba(99,102,241,0.2); transform: translateX(4px); }
.contact-detail .cd-ico {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(6,182,212,0.12));
  color: var(--brand-600);
}
.contact-detail .cd-ico svg { width: 18px; height: 18px; }
.contact-detail .cd-lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-300);
  margin-bottom: 4px;
}
.contact-detail .cd-val {
  font-size: 0.9375rem;
  color: var(--ink-800);
  font-weight: 500;
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-2xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-700);
  margin-bottom: 8px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink-900);
  background: var(--canvas);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  transition: all 0.2s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(99,102,241,0.1);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-card .btn { width: 100%; }
.form-note {
  font-size: 0.8rem;
  color: var(--ink-300);
  text-align: center;
  margin-top: 14px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink-900);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 32px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.footer::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-mesh); opacity: 0.3; z-index: -1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer .brand { color: #fff; }
.footer .brand-name strong { color: #fff; }
.footer h5 {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9375rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-about p { color: rgba(255,255,255,0.55); font-size: 0.9375rem; max-width: 320px; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom .socials { display: flex; gap: 12px; }
.footer-bottom .socials a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}
.footer-bottom .socials a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.footer-bottom .socials svg { width: 16px; height: 16px; }

/* =========================================================
   ANIMATIONS
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.20s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.30s; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float-stat.s1 { animation: float 6s ease-in-out infinite; }
.float-stat.s2 { animation: float 6s ease-in-out 3s infinite; }

@keyframes pulseGlow { 0%,100% { box-shadow: 0 0 0 0 rgba(99,102,241,0.4); } 50% { box-shadow: 0 0 0 8px rgba(99,102,241,0); } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero-inner, .product-featured, .contact-grid, .mv-grid, .values-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-block { grid-template-columns: 1fr; gap: 16px; padding: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-cell:nth-child(2n) { border-right: none; }
  .float-stat.s1 { left: 8px; top: -16px; }
  .float-stat.s2 { right: 8px; bottom: -16px; }
  .product-featured { padding: 36px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta .btn:not(.nav-toggle-wrap) { display: none; }
  .nav-toggle { display: inline-flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-featured { padding: 28px; }
  .form-card { padding: 28px; }
  .hero { padding: 130px 0 60px; }
  .page-hero { padding: 130px 0 60px; }
  .stats-strip { grid-template-columns: 1fr; }
  .stat-cell { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-cell:last-child { border-bottom: none; }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--paper);
  z-index: 200;
  padding: 24px;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-menu-close { width: 40px; height: 40px; border-radius: 10px; background: var(--ink-50); display: grid; place-items: center; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink-900);
  padding: 12px 0;
  border-bottom: 1px solid var(--ink-100);
}
.mobile-menu .btn { margin-top: 24px; }
