/* ============================================
   AIVRY — GLOBAL DESIGN SYSTEM
   Multi-page website stylesheet
============================================ */

:root {
  /* Surfaces — Aivry brand navy */
  --bg-0: #0a0f1e;
  --bg-1: #0d1424;
  --bg-2: #131b2e;
  --bg-3: #19223b;
  --bg-4: #1f2a47;

  /* Borders */
  --line: rgba(248,250,252,0.08);
  --line-2: rgba(248,250,252,0.14);
  --line-3: rgba(248,250,252,0.22);

  /* Text — slate-tinted whites */
  --text-0: #f8fafc;
  --text-1: #e2e8f0;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --text-4: #475569;

  /* Accents — Aivry indigo→blue→cyan */
  --accent-1: #37388f;   /* indigo */
  --accent-2: #2e5eb2;   /* royal blue */
  --accent-3: #0a9cd9;   /* cyan */
  --accent-4: #4ade80;   /* success green */
  --accent-5: #fb923c;   /* warm */

  /* Gradients — primary brand identity */
  --grad-primary: linear-gradient(135deg, #37388f 0%, #2e5eb2 50%, #0a9cd9 100%);
  --grad-secondary: linear-gradient(135deg, #2e5eb2 0%, #0a9cd9 100%);
  --grad-tertiary: linear-gradient(135deg, #0a9cd9 0%, #4ade80 100%);
  --grad-warm: linear-gradient(135deg, #fb923c 0%, #f43f5e 100%);
  --grad-soft: linear-gradient(180deg, rgba(46,94,178,0.08), rgba(10,156,217,0.05));

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Effects */
  --shadow-glow: 0 0 80px rgba(46, 94, 178, 0.3);
  --shadow-card: 0 20px 60px rgba(2, 6, 23, 0.5);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent-1); color: #fff; }
img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-0);
}
.mono { font-family: 'JetBrains Mono', monospace; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 960px; margin: 0 auto; padding: 0 32px; }

.grad-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grad-text-warm {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================
   NAVIGATION
============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: rgba(5, 5, 7, 0.7);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  max-width: 1280px; margin: 0 auto;
}
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 22px;
  letter-spacing: -0.04em;
  display: flex; align-items: center; gap: 10px;
  color: var(--text-0);
}
.logo-mark {
  width: 28px; height: 28px;
  background: var(--grad-primary);
  border-radius: 8px;
  position: relative;
  box-shadow: 0 0 20px rgba(10, 156, 217, 0.55);
  flex-shrink: 0;
}
.logo-mark::after {
  content: ''; position: absolute; inset: 6px;
  border-radius: 4px;
  background: var(--bg-0);
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-2); font-size: 14px; transition: color .2s; font-weight: 500;}
.nav-links a:hover, .nav-links a.active { color: var(--text-0); }

/* dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-dropdown > a::after { content: '⌄'; font-size: 12px; opacity: 0.6; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 18px); left: -20px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 12px;
  min-width: 320px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .25s;
  box-shadow: var(--shadow-card);
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  color: var(--text-1);
  transition: background .2s;
}
.nav-dropdown-menu a:hover { background: var(--bg-3); color: var(--text-0); }
.nav-dropdown-menu a .icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 14px; font-weight: 700; color: white;
}
.nav-dropdown-menu a.halo .icon { background: var(--grad-primary); }
.nav-dropdown-menu a.inkrant .icon { background: var(--grad-secondary); }
.nav-dropdown-menu a.nio .icon { background: var(--grad-tertiary); }
.nav-dropdown-menu a.ray .icon { background: var(--grad-warm); }
.nav-dropdown-menu a.auto .icon { background: linear-gradient(135deg, #B6FF3C, #FF8A3D); }
.nav-dropdown-menu a .meta { display: block; }
.nav-dropdown-menu a .name { font-weight: 600; font-size: 14px; }
.nav-dropdown-menu a .desc { font-size: 12px; color: var(--text-3); margin-top: 2px; }

.nav-cta {
  background: var(--text-0); color: var(--bg-0) !important;
  padding: 9px 20px; border-radius: 100px;
  font-size: 14px; font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(255,255,255,0.15);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-2);
  width: 38px; height: 38px;
  border-radius: 8px;
  color: var(--text-0);
  font-size: 20px;
  cursor: pointer;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600; font-size: 15px;
  border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  font-family: inherit;
}
.btn-primary {
  background: var(--text-0);
  color: var(--bg-0);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(255,255,255,0.2);
}
.btn-secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-2);
  color: var(--text-0);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--line-3);
}
.btn-grad {
  background: var(--grad-primary);
  color: white;
  box-shadow: 0 10px 30px rgba(46, 94, 178, 0.35);
}
.btn-grad:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(10, 156, 217, 0.55);
}
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn .arrow { font-size: 16px; }

/* ============================================
   HERO COMMON
============================================ */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}
.hero-compact {
  padding: 140px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(55, 56, 143, 0.35), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(10, 156, 217, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(46, 94, 178, 0.18), transparent 60%);
  z-index: -1;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 60% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 60% at 50% 30%, black 30%, transparent 80%);
  z-index: -1;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: 13px; color: var(--text-2);
  margin-bottom: 28px;
}
.hero-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-4);
  box-shadow: 0 0 12px var(--accent-4);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
  font-size: clamp(44px, 6.5vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 26px;
  max-width: 900px;
}
.hero p.lede {
  font-size: 19px;
  color: var(--text-2);
  max-width: 640px;
  margin-bottom: 38px;
  line-height: 1.5;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

/* ============================================
   SECTIONS
============================================ */
section { padding: 120px 0; position: relative; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 20px;
}
.section-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--accent-2);
}
.section-title {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  max-width: 900px;
}
.section-sub {
  font-size: 18px; color: var(--text-2);
  max-width: 680px;
  margin-bottom: 56px;
  line-height: 1.55;
}

/* ============================================
   METRICS / STATS
============================================ */
.metrics-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  max-width: 900px;
}
.metric-cell {
  background: var(--bg-1);
  padding: 26px 22px;
}
.metric-cell .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 34px; font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
  line-height: 1;
}
.metric-cell .label {
  font-size: 13px; color: var(--text-2);
  margin-top: 8px;
}

.stats-banner {
  padding: 100px 0;
  background: var(--bg-0);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.stats-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(55, 56, 143, 0.2), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(10, 156, 217, 0.18), transparent 50%);
  z-index: 0;
}
.stats-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat-block .big {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 60px; font-weight: 700;
  letter-spacing: -0.04em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-block .lbl {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-2);
  max-width: 220px;
  line-height: 1.4;
}

/* ============================================
   MARQUEE
============================================ */
.marquee {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 28px;
}
.marquee-track {
  display: flex; gap: 64px;
  align-items: center;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 600;
  color: var(--text-3);
  display: flex; align-items: center; gap: 12px;
  letter-spacing: -0.02em;
}
.marquee-item .badge {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--text-3);
}

/* ============================================
   PRODUCT SUITE GRID (HOME)
============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--card-grad, var(--grad-primary));
  opacity: 0;
  transition: opacity .3s;
}
.product-card:hover::before { opacity: 1; }

.card-halo { grid-column: span 3; --card-grad: var(--grad-primary); }
.card-inkrant { grid-column: span 3; --card-grad: var(--grad-secondary); }
.card-nio { grid-column: span 4; --card-grad: var(--grad-tertiary); }
.card-ray { grid-column: span 2; --card-grad: var(--grad-warm); }
.card-automations { grid-column: span 6; --card-grad: var(--grad-primary); }

.product-tag {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 22px;
}
.product-name {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
  display: flex; align-items: baseline; gap: 12px;
  flex-wrap: wrap;
}
.product-name .sub {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-3);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0;
}
.product-desc {
  font-size: 15px; color: var(--text-2);
  margin-bottom: 26px;
  line-height: 1.55;
  max-width: 480px;
}
.product-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.feature-chip {
  font-size: 12px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text-2);
}
.product-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-0); font-size: 14px; font-weight: 500;
  transition: gap .2s;
}
.product-link:hover { gap: 10px; }
.product-link .arrow-mark {
  display: inline-flex;
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  align-items: center; justify-content: center;
  font-size: 14px;
}

/* product visuals */
.product-visual {
  margin-top: 24px;
  height: 180px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

/* HALO visual */
.halo-visual { padding: 20px; }
.halo-pipeline { display: flex; gap: 8px; margin-bottom: 14px; }
.halo-stage { flex: 1; height: 6px; border-radius: 3px; background: rgba(46, 94, 178, 0.18); }
.halo-stage.active { background: var(--grad-primary); }
.halo-candidates { display: flex; flex-direction: column; gap: 8px; }
.halo-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  font-size: 12px;
}
.halo-avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--grad-primary); flex-shrink: 0; }
.halo-name { color: var(--text-1); flex: 1; }
.halo-score { font-family: 'JetBrains Mono', monospace; color: var(--accent-2); font-size: 11px; font-weight: 500; }
.halo-tag { font-size: 10px; padding: 2px 8px; background: rgba(74, 222, 128, 0.12); color: var(--accent-4); border-radius: 100px; }

/* INKRANT */
.inkrant-visual { padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inkrant-stat { background: rgba(46, 94, 178, 0.06); border: 1px solid rgba(46, 94, 178, 0.18); border-radius: 10px; padding: 14px; }
.inkrant-stat .lbl { font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; }
.inkrant-stat .val { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; color: var(--text-0); margin-top: 4px; }
.inkrant-stat .delta { font-size: 11px; color: var(--accent-4); margin-top: 4px; }

/* NIO */
.nio-visual { display: flex; flex-direction: column; padding: 20px; gap: 14px; }
.nio-call { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: rgba(10, 156, 217, 0.06); border: 1px solid rgba(10, 156, 217, 0.18); border-radius: 12px; }
.nio-pulse { width: 36px; height: 36px; border-radius: 50%; background: var(--grad-secondary); flex-shrink: 0; position: relative; }
.nio-pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(10, 156, 217, 0.4); animation: pulse-ring 1.8s infinite; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.nio-meta { flex: 1; font-size: 12px; }
.nio-meta .who { color: var(--text-1); font-weight: 500; }
.nio-meta .what { color: var(--text-3); font-size: 11px; margin-top: 2px;}
.nio-wave { display: flex; align-items: center; gap: 2px; height: 24px; }
.nio-wave span { width: 3px; background: var(--accent-3); border-radius: 2px; animation: wave 1s infinite ease-in-out; }
.nio-wave span:nth-child(1) { height: 30%; animation-delay: 0s; }
.nio-wave span:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.nio-wave span:nth-child(3) { height: 90%; animation-delay: 0.2s; }
.nio-wave span:nth-child(4) { height: 50%; animation-delay: 0.3s; }
.nio-wave span:nth-child(5) { height: 80%; animation-delay: 0.4s; }
.nio-wave span:nth-child(6) { height: 40%; animation-delay: 0.5s; }
.nio-wave span:nth-child(7) { height: 60%; animation-delay: 0.6s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.6); } 50% { transform: scaleY(1.4); } }

/* RAY */
.ray-visual { padding: 18px; font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.ray-line { color: var(--text-3); padding: 3px 0; }
.ray-line .tok-purple { color: #c084fc; }
.ray-line .tok-pink { color: #f472b6; }
.ray-line .tok-orange { color: #fb923c; }
.ray-line .tok-green { color: #86efac; }
.ray-cursor { display: inline-block; width: 8px; height: 12px; background: var(--accent-4); vertical-align: middle; animation: blink 1s infinite; }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* AUTOMATIONS */
.auto-visual { display: flex; align-items: center; justify-content: space-between; padding: 32px; height: 220px; flex-wrap: nowrap; }
.auto-node {
  background: rgba(46, 94, 178, 0.08);
  border: 1px solid rgba(46, 94, 178, 0.3);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 12px;
  display: flex; align-items: center; gap: 10px;
  position: relative;
  flex-shrink: 0;
}
.auto-node .ico {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: var(--grad-primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: white;
}
.auto-arrow {
  flex: 1; height: 2px; min-width: 30px;
  background: linear-gradient(90deg, rgba(46, 94, 178, 0.45), rgba(10, 156, 217, 0.45));
  position: relative;
}
.auto-arrow::after {
  content: '→'; position: absolute; right: -2px; top: -10px;
  color: var(--accent-3);
  font-size: 14px;
}

/* ============================================
   FEATURE GRID (used in product pages)
============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-grid.two { grid-template-columns: repeat(2, 1fr); }
.feature-grid.four { grid-template-columns: repeat(4, 1fr); }
.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: all .3s;
}
.feature-card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: white;
  margin-bottom: 22px;
}
.feature-icon.warm { background: var(--grad-warm); }
.feature-icon.tertiary { background: var(--grad-tertiary); }
.feature-icon.secondary { background: var(--grad-secondary); }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; letter-spacing: -0.02em; }
.feature-card p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.feature-card .meta {
  margin-top: 18px;
  font-size: 12px; color: var(--text-3);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
}

/* ============================================
   STEPS (How it works)
============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  position: relative;
  transition: transform .3s, border-color .3s;
}
.step-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--accent-2);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.step-title { font-size: 22px; margin-bottom: 12px; letter-spacing: -0.02em; }
.step-desc { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }

/* ============================================
   COMPARE TABLE
============================================ */
.compare-table {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.compare-row:last-child { border-bottom: none; }
.compare-row.head { background: rgba(255,255,255,0.02); }
.compare-cell {
  padding: 20px 26px;
  font-size: 14.5px;
  display: flex; align-items: center; gap: 10px;
  border-right: 1px solid var(--line);
}
.compare-cell:last-child { border-right: none; }
.compare-cell.label { color: var(--text-2); }
.compare-cell.aivry { background: linear-gradient(180deg, rgba(46, 94, 178, 0.08), rgba(10, 156, 217, 0.05)); color: var(--text-0); font-weight: 500; }
.compare-cell.others { color: var(--text-3); }
.compare-cell .check { color: var(--accent-4); font-size: 18px; }
.compare-cell .x { color: var(--text-3); font-size: 18px; }
.compare-cell.head-aivry { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 17px; color: var(--text-0); }
.compare-cell.head-aivry .badge { font-size: 10px; padding: 4px 10px; background: var(--grad-primary); border-radius: 100px; color: white; letter-spacing: 0.05em; }

/* ============================================
   INDUSTRIES GRID
============================================ */
.industries-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.industry-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition: all .3s;
  cursor: pointer;
  display: block;
}
.industry-card:hover {
  background: var(--bg-3);
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.industry-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(46, 94, 178, 0.25), rgba(10, 156, 217, 0.25));
  border: 1px solid rgba(46, 94, 178, 0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  color: var(--text-0);
}
.industry-name { font-size: 16px; font-weight: 600; color: var(--text-0); margin-bottom: 6px; }
.industry-meta { font-size: 13px; color: var(--text-3); line-height: 1.5; }

/* ============================================
   CTA BANNER
============================================ */
.cta-section { padding: 140px 0; background: var(--bg-0); position: relative; overflow: hidden; }
.cta-card {
  background: linear-gradient(135deg, rgba(55, 56, 143, 0.2) 0%, rgba(10, 156, 217, 0.12) 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(55, 56, 143, 0.5), rgba(10, 156, 217, 0.45));
  z-index: -1;
  filter: blur(40px);
  opacity: 0.55;
}
.cta-card h2 {
  font-size: clamp(34px, 5vw, 60px);
  margin-bottom: 22px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.cta-card p { color: var(--text-2); font-size: 18px; margin-bottom: 36px; max-width: 580px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   PRICING
============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  position: relative;
  display: flex; flex-direction: column;
}
.price-card.featured {
  background: linear-gradient(180deg, rgba(46, 94, 178, 0.12), var(--bg-2));
  border-color: rgba(46, 94, 178, 0.35);
  box-shadow: 0 30px 80px rgba(46, 94, 178, 0.2);
}
.price-card .price-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--grad-primary);
  border-radius: 100px;
  font-size: 11px; font-weight: 600;
  color: white; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 16px;
  align-self: flex-start;
}
.price-card h3 {
  font-size: 28px; margin-bottom: 8px; letter-spacing: -0.03em;
}
.price-card .price-desc { color: var(--text-2); font-size: 14px; margin-bottom: 28px; }
.price-card .price-val {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 8px;
}
.price-card .amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px; font-weight: 700;
  color: var(--text-0);
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-card .period { color: var(--text-3); font-size: 14px; }
.price-card .price-foot { color: var(--text-3); font-size: 13px; margin-bottom: 28px; }
.price-card ul {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}
.price-card li {
  padding: 10px 0;
  color: var(--text-2); font-size: 14px;
  display: flex; align-items: flex-start; gap: 10px;
  border-bottom: 1px solid var(--line);
}
.price-card li:last-child { border-bottom: none; }
.price-card li::before {
  content: '✓';
  color: var(--accent-4);
  font-weight: 700;
  flex-shrink: 0;
}
.price-card .btn { width: 100%; justify-content: center; }

/* ============================================
   TIMELINE
============================================ */
.timeline {
  position: relative;
  padding-left: 36px;
}
.timeline::before {
  content: ''; position: absolute;
  left: 11px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-1), var(--accent-3));
  opacity: 0.4;
}
.timeline-item {
  position: relative;
  padding: 0 0 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px; top: 6px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg-0);
  border: 2px solid var(--accent-3);
  box-shadow: 0 0 0 4px var(--bg-0), 0 0 20px var(--accent-3);
}
.timeline-item .day {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent-3);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.timeline-item h4 { font-size: 19px; margin-bottom: 8px; letter-spacing: -0.02em; }
.timeline-item p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }

/* ============================================
   TESTIMONIALS
============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
}
.testimonial .quote {
  font-size: 16px; line-height: 1.6;
  color: var(--text-1);
  margin-bottom: 24px;
}
.testimonial .quote::before {
  content: '"';
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px; color: var(--accent-1);
  line-height: 0; vertical-align: -16px;
  margin-right: 4px;
}
.testimonial .who {
  display: flex; align-items: center; gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.testimonial .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-primary);
}
.testimonial .who .name { font-weight: 600; color: var(--text-0); font-size: 14px; }
.testimonial .who .role { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* ============================================
   FAQ
============================================ */
.faq-list {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-1);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  padding: 24px 28px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  color: var(--text-0);
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.01em;
}
.faq-q::after {
  content: '+'; font-size: 24px; color: var(--text-2);
  transition: transform .3s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); color: var(--accent-2); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 28px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 28px 24px;
}

/* ============================================
   FOOTER
============================================ */
footer.site-footer {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand { max-width: 320px; }
.footer-brand .tag { color: var(--text-2); font-size: 14px; margin-top: 16px; line-height: 1.6; }
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 12px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--text-0); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .links { display: flex; gap: 24px; flex-wrap: wrap; }

/* ============================================
   FORMS
============================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full { grid-column: 1 / -1; }
.input, .textarea, .select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--text-0);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s, background .2s;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--accent-1);
  background: var(--bg-3);
}
.textarea { min-height: 140px; resize: vertical; }
.label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
  font-weight: 600;
}

/* ============================================
   PAGE-SPECIFIC: PRODUCT PAGE HERO
============================================ */
.product-hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}
.product-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.product-hero-content .product-hero-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 24px;
}
.product-hero-content h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.product-hero-content p {
  font-size: 18px;
  color: var(--text-2);
  margin-bottom: 36px;
  line-height: 1.55;
  max-width: 540px;
}
.product-hero-visual {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.product-hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46, 94, 178, 0.14), transparent);
  z-index: 0;
}
.product-hero-visual > * { position: relative; z-index: 1; }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .card-halo, .card-inkrant, .card-nio, .card-ray, .card-automations { grid-column: span 2; }
  .industries-grid, .feature-grid, .feature-grid.four, .testimonials-grid, .pricing-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .metrics-row { grid-template-columns: repeat(2, 1fr); }
  .product-hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-1); border-bottom: 1px solid var(--line);
    padding: 16px 32px;
  }
  .nav-links.open a { padding: 12px 0; }
  .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0; border: none; background: transparent; box-shadow: none; }
}
@media (max-width: 640px) {
  .container, .container-narrow { padding: 0 20px; }
  section { padding: 80px 0; }
  .hero, .product-hero { padding: 130px 0 70px; }
  .products-grid, .industries-grid, .feature-grid, .feature-grid.four, .feature-grid.two, .testimonials-grid, .pricing-grid, .steps-grid, .form-grid { grid-template-columns: 1fr; }
  .card-halo, .card-inkrant, .card-nio, .card-ray, .card-automations { grid-column: span 1; }
  .stats-grid, .metrics-row { grid-template-columns: 1fr 1fr; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-cell { border-right: none; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 48px 24px; }
  .auto-visual { flex-direction: column; height: auto; gap: 12px; padding: 20px; }
  .auto-arrow { width: 2px; height: 30px; min-width: 0; }
  .auto-arrow::after { content: '↓'; right: -7px; top: auto; bottom: -2px; }
}
