/* ============================================
   JexKnows.AI — Redesign v2
   Editorial / Asymmetric / Restrained
   ============================================ */

:root {
  --bg: #0a0a0c;
  --bg-alt: #0f0f13;
  --bg-card: #141419;
  --bg-card-hover: #1a1a22;

  --text: #e8e8ed;
  --text-2: #9b9bae;
  --text-3: #5c5c72;

  --accent: #4f7df5;
  --accent-2: #7c5cfc;
  --accent-muted: rgba(79, 125, 245, 0.12);

  --border: rgba(255,255,255,0.06);
  --border-2: rgba(255,255,255,0.10);

  --sans: 'Inter', -apple-system, system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 12px;
}

/* Reset */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width:100%; display:block; }
ul { list-style: none; }

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ============================================
   Typography
   ============================================ */

.heading-xl {
  font-family: var(--sans);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.heading-lg {
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.heading-xl em, .heading-lg em, .hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.body-lg {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  color: var(--text-2);
  max-width: 540px;
}

.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 20px;
}

.label-light { color: var(--text); opacity: 0.5; }

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(10,10,12,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-jex { color: var(--text); }
.logo-knows { color: var(--text-3); font-weight: 400; }
.logo-dot { color: var(--accent); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-3);
  transition: color 0.25s;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 9px 22px !important;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(79,125,245,0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text);
  transition: all 0.3s var(--ease);
  border-radius: 1px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: white;
  padding: 14px 32px;
  border-radius: 100px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(79,125,245,0.3);
}
.btn-primary:active { transform: translateY(0); }

.btn-text {
  color: var(--text-3);
  background: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-2);
}
.btn-text:hover { color: var(--text); border-color: var(--text-3); }

.btn-full { width: 100%; justify-content: center; }

/* ============================================
   Hero
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  position: relative;
}

.hero-content {
  width: 100%;
  max-width: 860px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--sans);
  font-size: clamp(2.75rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 64px;
}

.hero-metrics {
  display: flex;
  align-items: start;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero-metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.hero-metric-sep {
  width: 1px;
  height: 56px;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 4px;
}

.metric-value {
  font-family: var(--sans);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  white-space: nowrap;
}

.metric-label {
  font-size: 0.8125rem;
  color: var(--text-3);
  line-height: 1.45;
}

/* ============================================
   Marquee
   ============================================ */

.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
}

.marquee { position: relative; }

.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.marquee-dot {
  width: 4px !important;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   Sections
   ============================================ */

.section { padding: 120px 0; position: relative; }
.section-dark { background: var(--bg-alt); }

.section-intro {
  margin-bottom: 72px;
  max-width: 900px;
}

.section-intro .body-lg {
  max-width: 680px;
}

/* ============================================
   Problem — Split Layout
   ============================================ */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.sticky-content {
  position: sticky;
  top: 120px;
}

.problem-item {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.problem-item:first-child { padding-top: 0; }

.problem-number {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 4px;
  letter-spacing: 0.05em;
}

.problem-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.problem-body p {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 12px;
}

.problem-stat {
  font-size: 0.8125rem;
  color: var(--text-3);
  padding: 8px 14px;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.1);
  border-radius: 6px;
  display: inline-block;
}

.problem-stat strong { color: #ef4444; }

/* ============================================
   Bento Grid — Difference Section
   ============================================ */

.bento-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}

.bento-large { grid-row: 1 / 3; }

.bento-wide { grid-column: 2 / 4; }

.bento-number {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.bento-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.bento-card p {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.6;
}

.bento-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(135deg, rgba(79,125,245,0.06), rgba(124,92,252,0.04));
  pointer-events: none;
}

/* ============================================
   Solution Hero (Shadow CEO)
   ============================================ */

.solution-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 48px;
  overflow: hidden;
}

.solution-hero-content h3 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.solution-hero-content p {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 24px;
}

.solution-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.solution-tags span {
  padding: 6px 14px;
  background: var(--accent-muted);
  border: 1px solid rgba(79,125,245,0.15);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
}

/* Orbit visual */
.solution-hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  width: 80%;
  height: 80%;
  border: 1px solid var(--border);
  border-radius: 50%;
  animation: orbit-spin 8s linear infinite;
}

.orbit-ring-2 {
  width: 55%;
  height: 55%;
  animation-duration: 12s;
  animation-direction: reverse;
}

.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(79,125,245,0.5);
  animation: orbit-spin 8s linear infinite;
  animation-delay: var(--delay);
}

.orbit-ring-2 .orbit-dot {
  animation-duration: 12s;
  animation-direction: reverse;
}

.orbit-center {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-2);
  border-radius: 50%;
  background: var(--bg);
  z-index: 1;
  letter-spacing: 0.05em;
}

@keyframes orbit-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================
   Solution Cards Row
   ============================================ */

.solutions-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.sol-card {
  padding: 32px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  position: relative;
}

.sol-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: var(--border-2);
}

.sol-card-line {
  width: 24px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 24px;
  transition: width 0.4s var(--ease);
}

.sol-card:hover .sol-card-line { width: 48px; }

.sol-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.sol-card p {
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 16px;
}

.sol-card-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
}

/* ============================================
   Process — Horizontal Cards
   ============================================ */

.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  position: relative;
}

.process-progress {
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  background: var(--accent);
  width: 0;
  transition: width 0.1s linear;
  z-index: 2;
}

.process-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2px solid transparent;
  transition: all 0.4s var(--ease);
}

.process-card:hover, .process-card.active {
  border-top-color: var(--accent);
  background: var(--bg-card-hover);
}

.process-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.process-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.process-phase {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
}

.process-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.process-card p {
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 20px;
}

.process-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.process-pills span {
  padding: 4px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.6875rem;
  color: var(--text-3);
}

/* ============================================
   Stats
   ============================================ */

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 64px;
}

.stat-block {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-block:nth-child(3n) { border-right: none; }
.stat-block:nth-child(n+4) { border-bottom: none; }

.stat-val {
  font-family: var(--sans);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-block p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 16px;
}

.stat-src {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
}

.gap-callout {
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gap-callout::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79,125,245,0.04), rgba(124,92,252,0.03));
  pointer-events: none;
}

.gap-callout h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  position: relative;
}

.gap-callout p {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
  position: relative;
}

.gap-callout strong { color: var(--accent); font-weight: 600; }

/* ============================================
   Who We Serve
   ============================================ */

.serve-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.serve-item {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  transition: background 0.4s var(--ease);
}

.serve-item:last-child { border-right: none; }

.serve-item:hover { background: rgba(255,255,255,0.02); }

.serve-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.serve-item p {
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 20px;
}

.serve-item ul { display: flex; flex-direction: column; gap: 8px; }

.serve-item li {
  font-size: 0.8125rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 10px;
}

.serve-item li::before {
  content: '';
  width: 3px; height: 3px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   Who's Jex
   ============================================ */

.jex-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}

.jex-photo-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.jex-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jex-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(79,125,245,0.08), rgba(124,92,252,0.06));
}

.jex-photo-placeholder span {
  font-family: var(--sans);
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
}

.jex-social {
  display: flex;
  gap: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-3);
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}

.social-link:hover {
  color: var(--accent);
  border-color: rgba(79,125,245,0.2);
  background: var(--accent-muted);
}

.jex-role {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 32px;
}

.jex-bio p {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 16px;
}

.jex-bio p:last-child { margin-bottom: 0; }

.jex-bio { margin-bottom: 36px; }

.jex-credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.credential {
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.credential-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 6px;
}

.credential-value {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.jex-quote {
  padding: 24px 28px;
  border-left: 2px solid var(--accent);
  background: var(--accent-muted);
  border-radius: 0 8px 8px 0;
}

.jex-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--text);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .jex-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .jex-photo-wrap { max-width: 240px; }
  .jex-credentials { grid-template-columns: 1fr; }
}

/* ============================================
   Contact
   ============================================ */

.section-contact { background: var(--bg-alt); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-left .heading-lg { margin-bottom: 20px; }
.contact-left .body-lg { margin-bottom: 32px; }

.contact-checks { display: flex; flex-direction: column; gap: 14px; }
.check-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9375rem; color: var(--text-2);
}
.check-icon { color: var(--accent); font-weight: 700; font-size: 0.8rem; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.9375rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-3); }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-muted);
}

.contact-form select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235c5c72' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.contact-form select option { background: var(--bg-card); }
.contact-form textarea { resize: vertical; min-height: 120px; }

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
}

.footer-brand { max-width: 260px; }
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { color: var(--text-3); font-size: 0.8125rem; line-height: 1.6; }

.footer-cols { display: flex; gap: 64px; }
.footer-col h4 { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; color: var(--text-2); }
.footer-col a { display: block; font-size: 0.8125rem; color: var(--text-3); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }

.footer-bottom { padding-top: 32px; border-top: 1px solid var(--border); text-align: center; }
.footer-bottom p { color: var(--text-3); font-size: 0.75rem; }

/* ============================================
   Reveal Animations
   ============================================ */

.reveal-text {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-text.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger reveals */
.split-right .reveal-text:nth-child(2) { transition-delay: 0.08s; }
.split-right .reveal-text:nth-child(3) { transition-delay: 0.16s; }

.bento-grid .reveal-text:nth-child(2) { transition-delay: 0.06s; }
.bento-grid .reveal-text:nth-child(3) { transition-delay: 0.12s; }
.bento-grid .reveal-text:nth-child(4) { transition-delay: 0.18s; }

.solutions-row .reveal-text:nth-child(2) { transition-delay: 0.05s; }
.solutions-row .reveal-text:nth-child(3) { transition-delay: 0.10s; }
.solutions-row .reveal-text:nth-child(4) { transition-delay: 0.15s; }
.solutions-row .reveal-text:nth-child(5) { transition-delay: 0.20s; }

.stats-row .reveal-text:nth-child(2) { transition-delay: 0.06s; }
.stats-row .reveal-text:nth-child(3) { transition-delay: 0.12s; }
.stats-row .reveal-text:nth-child(4) { transition-delay: 0.18s; }
.stats-row .reveal-text:nth-child(5) { transition-delay: 0.24s; }
.stats-row .reveal-text:nth-child(6) { transition-delay: 0.30s; }

.serve-row .reveal-text:nth-child(2) { transition-delay: 0.06s; }
.serve-row .reveal-text:nth-child(3) { transition-delay: 0.12s; }
.serve-row .reveal-text:nth-child(4) { transition-delay: 0.18s; }


/* ============================================
   Mobile Overlay
   ============================================ */

.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 99;
  opacity: 0; visibility: hidden;
  transition: all 0.4s var(--ease);
}
.nav-overlay.active { opacity: 1; visibility: visible; }

/* ============================================
   Scrollbar
   ============================================ */

::selection { background: rgba(79,125,245,0.3); color: white; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-card); border-radius: 3px; }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .solutions-row { grid-template-columns: repeat(3, 1fr); }
  .process-track { grid-template-columns: repeat(3, 1fr); }
  .serve-row { grid-template-columns: repeat(2, 1fr); }
  .serve-item:nth-child(2) { border-right: none; }
  .serve-item { border-bottom: 1px solid var(--border); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-block:nth-child(2n) { border-right: none; }
  .stat-block:nth-child(n+5) { border-bottom: none; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-large { grid-row: auto; }
  .bento-wide { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--bg-alt);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 28px 32px;
    gap: 20px;
    transition: right 0.4s var(--ease);
    z-index: 100;
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1rem; color: var(--text-2); }

  .hero { padding: 120px 0 64px; min-height: auto; }
  .hero-metrics { flex-direction: column; gap: 24px; }
  .hero-metric-sep { width: 100%; height: 1px; }
  .hero-cta { flex-direction: column; gap: 12px; }
  .hero-cta .btn { width: 100%; justify-content: center; }

  .split-section { grid-template-columns: 1fr; gap: 48px; }
  .sticky-content { position: static; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: auto; }

  .solution-hero { grid-template-columns: 1fr; padding: 32px 24px; gap: 40px; }
  .solution-hero-visual { max-width: 240px; margin: 0 auto; }

  .solutions-row { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-block { border-right: none !important; border-bottom: 1px solid var(--border); }
  .stat-block:last-child { border-bottom: none; }
  .serve-row { grid-template-columns: 1fr; }
  .serve-item { border-right: none; border-bottom: 1px solid var(--border); }
  .serve-item:last-child { border-bottom: none; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }

  .gap-callout { padding: 32px 20px; }

  .footer-inner { flex-direction: column; gap: 36px; }
  .footer-cols { gap: 40px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.25rem; }
  .heading-xl { font-size: 2rem; }
  .heading-lg { font-size: 1.75rem; }
  .metric-value { font-size: 1.5rem; }
}
