/* ========================================
   MKTfit — Design Tokens
   ======================================== */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.06);
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b2;
  --text-muted: #6e6e85;
  --indigo: #818cf8;
  --violet: #8b5cf6;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --success: #22c55e;
  --error: #f87171;
  --warning: #fbbf24;
  --border-subtle: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6, #3b82f6);
  --gradient-text: linear-gradient(135deg, #818cf8, #a78bfa, #60a5fa);
  --gradient-glow: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.15), rgba(59,130,246,0.15));
  --container-max: 1200px;
  --radius: 12px;
  --radius-lg: 20px;
}

/* ========================================
   Reset & Base
   ======================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 48px; }

/* Layout utilities — Apple-style whitespace */
.content-narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.content-medium { max-width: 900px; margin-left: auto; margin-right: auto; }
.content-wide { max-width: 1060px; margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* Z-pattern two-column layout */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-section-text { max-width: 520px; }
.split-section-text p { color: var(--text-secondary); font-size: 17px; line-height: 1.7; max-width: 480px; }
.split-section-visual { display: flex; align-items: center; justify-content: center; }

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

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

h1 { font-family: 'Outfit', sans-serif; font-size: clamp(36px, 5.5vw, 64px); font-weight: 800; line-height: 1.08; letter-spacing: -2px; }
h2 { font-family: 'Outfit', sans-serif; font-size: clamp(32px, 5vw, 48px); font-weight: 700; line-height: 1.15; letter-spacing: -1px; }
h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 600; line-height: 1.3; }
.section-sub { color: var(--text-secondary); font-size: 18px; max-width: 600px; margin-top: 20px; line-height: 1.7; }

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

.btn { display: inline-flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 600; border: none; cursor: pointer; transition: all 0.3s ease; }

.btn-primary { background: var(--gradient-primary); background-size: 200% 200%; animation: gradient-shift 4s ease infinite; color: #fff; padding: 16px 32px; border-radius: 10px; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3); }

.btn-secondary { background: transparent; border: 1px solid var(--border-hover); color: var(--text-primary); padding: 16px 32px; border-radius: 10px; }
.btn-secondary:hover { background: var(--bg-card-hover); transform: translateY(-2px); }

.btn-nav { background: var(--gradient-primary); background-size: 200% 200%; animation: gradient-shift 4s ease infinite; color: #fff; padding: 10px 24px; border-radius: 8px; }
.btn-nav:hover { opacity: 0.9; transform: translateY(-1px); }

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

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 20px 0; transition: all 0.3s ease; }
.nav.scrolled { padding: 12px 0; background: rgba(10, 10, 15, 0.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-subtle); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding: 4px 8px;
}
.nav-logo::before {
  content: '';
  position: absolute;
  inset: -8px -12px;
  background-image:
    linear-gradient(rgba(129,140,248,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129,140,248,0.06) 1px, transparent 1px);
  background-size: 8px 8px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  z-index: -1;
  border-radius: 8px;
  pointer-events: none;
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) { color: var(--text-secondary); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:not(.btn):hover { color: var(--text-primary); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); transition: all 0.3s; }

.mobile-menu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 999; background: var(--bg-primary); flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
.mobile-menu.active { display: flex; }
.mobile-menu a { font-size: 20px; font-weight: 500; color: var(--text-secondary); }
.mobile-menu a:hover { color: var(--text-primary); }

/* ========================================
   Hero — Video Background
   ======================================== */

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

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 15, 0.7) 0%,
    rgba(10, 10, 15, 0.5) 40%,
    rgba(10, 10, 15, 0.8) 100%
  );
}

.hero-centered {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 100px; background: var(--bg-card); border: 1px solid var(--border-subtle); font-size: 14px; font-weight: 500; color: var(--text-secondary); margin-bottom: 32px; }
.badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse-glow 2s ease-in-out infinite; }

.hero-sub { font-size: 18px; color: var(--text-secondary); max-width: 580px; margin: 24px auto 0; line-height: 1.7; }
.hero-ctas { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; justify-content: center; }

/* ========================================
   Data Flow Animation — In-flow (Right Side)
   ======================================== */

.dataflow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0.55;
}

/* Source Nodes */
.df-sources {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  width: 90px;
}

.df-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation: df-fade-in 1s ease both;
}

.df-node[data-delay="0"] { animation-delay: 0.2s; }
.df-node[data-delay="1"] { animation-delay: 0.4s; }
.df-node[data-delay="2"] { animation-delay: 0.6s; }
.df-node[data-delay="3"] { animation-delay: 0.8s; }
.df-node[data-delay="4"] { animation-delay: 1.0s; }
.df-node[data-delay="5"] { animation-delay: 1.2s; }

.df-node-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.df-node-icon svg { width: 18px; height: 18px; color: var(--indigo); }

.df-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Flow Lines */
.df-lines { width: 100px; height: 372px; flex-shrink: 0; }

.df-line {
  fill: none;
  stroke: url(#df-gradient);
  stroke-width: 1;
  stroke-dasharray: 8 4;
  animation: df-flow 3s linear infinite;
}

.df-line[data-delay="0"] { animation-delay: 0s; }
.df-line[data-delay="1"] { animation-delay: 0.5s; }
.df-line[data-delay="1.5"] { animation-delay: 0.75s; }
.df-line[data-delay="2"] { animation-delay: 1s; }
.df-line[data-delay="3"] { animation-delay: 1.5s; }
.df-line[data-delay="4"] { animation-delay: 2s; }
.df-line[data-delay="4.5"] { animation-delay: 2.25s; }
.df-line[data-delay="5"] { animation-delay: 2.5s; }

/* Central Hub */
.df-hub {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.df-hub-ring { position: absolute; border-radius: 50%; border: 1px solid; }
.df-hub-ring-outer { width: 64px; height: 64px; border-color: rgba(99, 102, 241, 0.2); animation: df-pulse 3s ease-in-out infinite; }
.df-hub-ring-inner { width: 44px; height: 44px; border-color: rgba(139, 92, 246, 0.3); animation: df-pulse 3s ease-in-out infinite 0.5s; }

.df-hub-core {
  width: 30px;
  height: 30px;
  background: var(--gradient-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.df-hub-core svg { width: 16px; height: 16px; color: var(--indigo); }

/* Output Cards */
.df-outputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  width: 200px;
}

.df-output-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  animation: df-card-in 0.8s ease both;
}

.df-output-card[data-delay="0"] { animation-delay: 1.5s; }
.df-output-card[data-delay="1.5"] { animation-delay: 2.5s; }
.df-output-card[data-delay="3"] { animation-delay: 3.5s; }
.df-output-card[data-delay="4.5"] { animation-delay: 4.5s; }

.df-output-indicator { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.df-indicator-warn { background: var(--warning); box-shadow: 0 0 8px rgba(251, 191, 36, 0.4); }
.df-indicator-success { background: var(--success); box-shadow: 0 0 8px rgba(34, 197, 94, 0.4); }
.df-indicator-info { background: var(--blue); box-shadow: 0 0 8px rgba(59, 130, 246, 0.4); }

.df-output-text { display: flex; flex-direction: column; }
.df-output-title { font-size: 11px; font-weight: 600; color: var(--text-primary); }
.df-output-detail { font-size: 10px; color: var(--text-muted); }

/* Data Flow Animations */
@keyframes df-fade-in {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes df-flow { to { stroke-dashoffset: -24; } }

@keyframes df-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes df-card-in {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ========================================
   Enterprise Logo Bar
   ======================================== */

.logo-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.logo-bar-label {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.logo-scroll-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-scroll {
  display: flex;
  gap: 64px;
  animation: logo-scroll 30s linear infinite;
  width: max-content;
}

.logo-item { flex-shrink: 0; opacity: 0.5; transition: opacity 0.3s; }
.logo-item:hover { opacity: 0.7; }
.logo-svg { height: 32px; width: 120px; color: var(--text-primary); }

@keyframes logo-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 32px)); }
}

/* ========================================
   How It Works (Process) — Simplified
   ======================================== */

.process {
  padding: 180px 0;
  text-align: center;
}
.process .section-sub { margin-left: auto; margin-right: auto; }

.process-video-wrapper {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.process-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.process-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 64px;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.process-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--gradient-glow);
  border: 1px solid var(--border-subtle);
  margin: 0 auto 20px;
}

.process-icon svg { width: 28px; height: 28px; color: var(--indigo); }

.process-step h3 { font-size: 20px; margin-bottom: 12px; }
.process-step p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

.process-arrow {
  display: flex;
  align-items: center;
  padding-top: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  width: 32px;
}

.process-arrow svg { width: 24px; height: 24px; }

.process-note {
  text-align: center;
  color: var(--indigo);
  font-size: 15px;
  font-weight: 600;
  margin-top: 48px;
  padding: 16px 24px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 10px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   Services
   ======================================== */

.services { padding: 180px 0; text-align: center; }
.services .section-sub { margin-left: auto; margin-right: auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.services-grid-3 { grid-template-columns: repeat(3, 1fr); }
.services-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 32px; }

.services-more { display: flex; align-items: center; justify-content: center; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.services-custom-link { color: var(--text-secondary); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.services-custom-link:hover { color: var(--indigo); }

.service-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius); padding: 32px; transition: all 0.3s ease; position: relative; overflow: hidden; text-align: center; display: flex; flex-direction: column; align-items: center; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gradient-primary); opacity: 0; transition: opacity 0.3s; }
.service-card:hover { background: var(--bg-card-hover); border-color: var(--border-hover); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }

.step-number { display: inline-block; font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 800; color: var(--indigo); padding: 3px 10px; background: rgba(99,102,241,0.1); border-radius: 100px; margin-bottom: 16px; letter-spacing: 1px; }

.process-carousel { margin-top: 64px; }
.carousel-nav { display: none; }

.service-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--gradient-glow); margin-bottom: 20px; }
.service-icon svg { width: 24px; height: 24px; color: var(--indigo); }
.service-card h3 { margin-bottom: 12px; font-size: 20px; }
.service-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

/* ========================================
   Who This Is For (ICP)
   ======================================== */

.icp { padding: 180px 0; background: var(--bg-secondary); }
.icp h2 { text-align: center; }

.icp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.icp-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.icp-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.icp-icon { width: 24px; height: 24px; flex-shrink: 0; color: var(--indigo); }
.icp-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.5; }
.icp-note { text-align: center; color: var(--text-muted); font-size: 13px; margin-top: 32px; }

/* ========================================
   Credibility
   ======================================== */

.credibility { padding: 180px 0; }

.credibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.cred-block {
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.cred-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--indigo);
  padding: 4px 12px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 100px;
  margin-bottom: 20px;
}

.cred-case-study h3 { font-size: 22px; margin-bottom: 16px; }
.cred-desc { color: var(--text-secondary); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }

.cred-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.cred-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.cred-feature .icon-check { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.cred-result { font-size: 16px; font-weight: 600; color: var(--text-primary); padding-top: 16px; border-top: 1px solid var(--border-subtle); }

.cred-stat-list { display: flex; flex-direction: column; gap: 24px; margin-top: 8px; }
.cred-stat-item { padding-bottom: 24px; border-bottom: 1px solid var(--border-subtle); }
.cred-stat-item:last-child { padding-bottom: 0; border-bottom: none; }

.cred-stat-num { display: block; font-family: 'Outfit', sans-serif; font-size: 32px; font-weight: 800; background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.2; }
.cred-stat-text { display: block; color: var(--text-secondary); font-size: 14px; line-height: 1.5; margin-top: 4px; }
.cred-stat-source { display: block; color: var(--text-muted); font-size: 12px; margin-top: 4px; }

/* ========================================
   Comparison
   ======================================== */

.comparison { padding: 160px 0; background: var(--bg-secondary); }
.comparison-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; margin-top: 64px; align-items: start; }
.comparison-col { padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--border-subtle); }
.comparison-bad { background: rgba(248, 113, 113, 0.03); }
.comparison-good { background: rgba(34, 197, 94, 0.03); }
.comparison-col h3 { margin-bottom: 24px; font-size: 20px; }
.comparison-bad h3 { color: var(--error); }
.comparison-good h3 { color: var(--success); }
.comparison-col li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; color: var(--text-secondary); font-size: 15px; line-height: 1.5; }
.comparison-col li + li { border-top: 1px solid var(--border-subtle); }
.icon-x, .icon-check { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.icon-x { color: var(--error); }
.icon-check { color: var(--success); }
.comparison-divider { display: flex; align-items: center; justify-content: center; align-self: center; }
.comparison-divider span { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; }

/* ========================================
   Custom Builds
   ======================================== */

.custom-builds { padding: 160px 0; }

.custom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.custom-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
}

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

.custom-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--gradient-glow);
  margin-bottom: 16px;
}

.custom-icon svg { width: 22px; height: 22px; color: var(--violet); }
.custom-card h3 { font-size: 18px; margin-bottom: 10px; }
.custom-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }

.custom-note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 16px;
  margin-top: 48px;
}

.custom-note a {
  color: var(--indigo);
  font-weight: 600;
  transition: color 0.2s;
}

.custom-note a:hover { color: var(--violet); }

/* ========================================
   Audit & Educate
   ======================================== */

.audit-section {
  padding: 180px 0;
  position: relative;
  overflow: hidden;
}

.audit-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.audit-bg .grid-bg {
  opacity: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.audit-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.audit-content .cred-tag { margin-bottom: 24px; }
.audit-content h2 { margin-bottom: 24px; }

.audit-content > p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.audit-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  text-align: left;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.audit-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.audit-point svg {
  color: var(--indigo);
  flex-shrink: 0;
  margin-top: 2px;
}

.audit-includes {
  margin-bottom: 36px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

.audit-includes h3 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.audit-includes .cred-feature {
  margin-bottom: 14px;
}

.audit-includes .cred-feature:last-child {
  margin-bottom: 0;
}

.audit-note {
  color: var(--text-muted);
  font-size: 14px;
  font-style: italic;
  margin-bottom: 36px;
  padding: 16px 20px;
  border-left: 2px solid var(--indigo);
  background: rgba(99, 102, 241, 0.04);
  border-radius: 0 8px 8px 0;
}

.audit-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================
   About — Values Grid
   ======================================== */

.about-values {
  padding: 100px 0;
  border-top: 1px solid var(--border-subtle);
}

.about-values .section-sub {
  margin-bottom: 0;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
  max-width: 900px;
}

.about-value-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.about-value-card:hover::before {
  opacity: 1;
}

.about-value-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--gradient-glow);
  border: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.about-value-icon svg {
  width: 22px;
  height: 22px;
  color: var(--indigo);
}

.about-value-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.about-value-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* ========================================
   Founder Section
   ======================================== */

.founder {
  padding: 160px 0;
  background: var(--bg-secondary);
}

.founder .cred-tag { margin-bottom: 16px; }
.founder h2 { margin-bottom: 8px; }
.founder .section-sub { margin-bottom: 56px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 56px;
  max-width: 800px;
}

.team-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
}

.team-card h3 { margin-top: 20px; margin-bottom: 4px; }

.founder-photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gradient-glow);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--indigo);
  margin: 0 auto;
}

.founder-location {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.team-bio {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: left;
}

.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
}

.founder-linkedin svg {
  width: 18px;
  height: 18px;
}

/* ========================================
   Onboarding Timeline — Card Layout
   ======================================== */

.onboarding-timeline {
  padding: 160px 0;
}

.onboarding-timeline .section-sub {
  margin-bottom: 64px;
}

.timeline-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.timeline-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.timeline-card:hover::before {
  opacity: 1;
}

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

.timeline-num {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.timeline-week {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--indigo);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 100px;
  white-space: nowrap;
}

.timeline-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.timeline-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

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

.footer-location {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 4px;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-bg .grid-bg {
  opacity: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}

.cta-card {
  text-align: center;
  padding: 80px 40px;
  border-radius: var(--radius-lg);
  background: var(--gradient-glow);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.cta-card h2 { margin-bottom: 12px; }

.cta-lead {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 540px;
  margin: 0 auto 32px;
}

.cta-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto 36px;
  text-align: left;
}

.cta-point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.cta-point .icon-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--success);
}

.cta-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 16px;
}

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

.footer { padding: 64px 0 32px; border-top: 1px solid var(--border-subtle); }
.footer-inner { display: flex; flex-direction: column; gap: 32px; }
.footer-brand p { color: var(--text-secondary); font-size: 14px; margin-top: 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-secondary); font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom { padding-top: 32px; border-top: 1px solid var(--border-subtle); }
.footer-bottom p { color: var(--text-muted); font-size: 13px; }

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

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========================================
   Sticky Anchor Nav (Services Page)
   ======================================== */

.anchor-nav {
  position: sticky;
  top: 64px;
  z-index: 900;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.anchor-nav::-webkit-scrollbar { display: none; }

.anchor-nav-inner {
  display: flex;
  gap: 8px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 48px;
  white-space: nowrap;
}

.anchor-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}
.anchor-pill:hover { color: var(--text-primary); background: var(--bg-card); }
.anchor-pill.active { color: var(--indigo); background: rgba(99, 102, 241, 0.1); border-color: rgba(99, 102, 241, 0.2); }

/* ========================================
   Social Proof Micro
   ======================================== */

.social-proof-micro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
}
.social-proof-micro svg { width: 16px; height: 16px; color: var(--indigo); flex-shrink: 0; }

/* ========================================
   ROI CTA Card (Inline)
   ======================================== */

.roi-cta-card {
  background: var(--gradient-glow);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  margin: 80px 0;
}
.roi-cta-card h3 { font-size: 24px; margin-bottom: 12px; }
.roi-cta-card p { color: var(--text-secondary); font-size: 16px; max-width: 480px; margin: 0 auto 24px; line-height: 1.7; }

/* ========================================
   Section Grid Background Utility
   ======================================== */

.section-grid-bg { position: relative; overflow: hidden; }
.section-grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.section-grid-bg > .container { position: relative; z-index: 1; }

/* ========================================
   Timeline (How We Build)
   ======================================== */

.timeline { margin-top: 64px; position: relative; }

.timeline-line {
  position: absolute;
  top: 13px;
  left: 12%;
  right: 12%;
  height: 3px;
  background: linear-gradient(90deg, rgba(129,140,248,0.05), rgba(129,140,248,0.35), rgba(167,139,250,0.35), rgba(96,165,250,0.05));
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(129,140,248,0.15);
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.timeline-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: 2px solid var(--bg-primary);
  box-shadow: 0 0 12px rgba(129,140,248,0.4);
  margin-bottom: 16px;
  position: absolute;
  top: 8px; /* centers 12px dot on the 2px line at top:14px (14 - 6 = 8) */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

/* Position dots ON the connecting line */
.timeline-step { padding-top: 28px; position: relative; }

.timeline-step-visual {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.timeline-step:hover .timeline-step-visual { opacity: 1; }
.timeline-step-visual svg { width: 100%; height: 100%; }

.timeline-step h3 { font-size: 20px; margin-bottom: 10px; }
.timeline-step p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; max-width: 240px; }

/* ========================================
   2x2 Grid (What We Build with 4 cards)
   ======================================== */

.services-grid-2x2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ========================================
   ROI Split Section
   ======================================== */

.roi-section { padding: 80px 0; }

.roi-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(139,92,246,0.18), rgba(59,130,246,0.18));
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(1px);
}

.roi-text h3 { font-size: 24px; margin-bottom: 12px; }
.roi-text p { color: var(--text-secondary); font-size: 16px; line-height: 1.7; max-width: 420px; margin-bottom: 24px; }

.roi-visual { display: flex; align-items: center; justify-content: center; }
.roi-chart { width: 100%; max-width: 400px; height: auto; }

/* ========================================
   Proof Section (Polar Vision Stats)
   ======================================== */

.proof-section { padding: 180px 0; text-align: center; }
.proof-header { margin-bottom: 64px; }
.proof-header h2 { margin-bottom: 0; }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.proof-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.proof-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: var(--gradient-primary);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity 0.3s;
}

.proof-card:hover { transform: translateY(-4px); }
.proof-card:hover::before { opacity: 1; }

.proof-task {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.proof-numbers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.proof-before {
  font-size: 16px;
  color: var(--text-muted);
}

.proof-before s { text-decoration: line-through; }

.proof-after {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
}

.proof-savings {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
  padding: 4px 12px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 100px;
}

.proof-total {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 48px;
  padding: 20px;
  background: var(--gradient-glow);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   ROI Calculator Chart
   ======================================== */

.calc-chart-wrapper {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

.roi-chart-dynamic { width: 100%; height: auto; }

.calc-cta {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.calc-cta p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 16px;
}

/* ========================================
   Founder Profile (About Page)
   ======================================== */

.founder-split {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.founder-photo-wrapper {
  width: 200px;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  position: relative;
}

.founder-photo-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(129,140,248,0.1), transparent 60%);
  pointer-events: none;
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder-bio .cred-tag { margin-bottom: 12px; }

/* ========================================
   FAQ Accordion
   ======================================== */

.faq-accordion {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item-accordion {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item-accordion:first-child {
  border-top: 1px solid var(--border-subtle);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--indigo); }

.faq-chevron {
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item-accordion.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item-accordion.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* ========================================
   Workflow Image + Annotations
   ======================================== */

.workflow-img-wrapper {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  position: relative;
}

.workflow-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.wf-label {
  position: absolute;
  padding: 6px 10px;
  background: rgba(10,10,15,0.85);
  border: 1px solid;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

/* Desktop legend: 3-col grid */
.workflow-legend-desktop {
  max-width: 960px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: left;
}

.wf-legend-item {
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.wf-legend-item span {
  font-size: 12px;
  font-weight: 600;
  display: block;
}

.wf-legend-item p {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 4px;
}

/* Mobile legend: hidden on desktop */
.workflow-legend-mobile { display: none; }

/* Mobile step flow styles */
.wf-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  padding-bottom: 20px;
}

.wf-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 5px;
  width: 1px;
  height: calc(100% - 4px);
  background: var(--border-subtle);
}

.wf-step-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
  z-index: 1;
}

.wf-step-content { flex: 1; }

.wf-step-title {
  font-size: 13px;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.wf-step-content p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ========================================
   Swipe Carousel (Mobile 4+ cards)
   ======================================== */

.swipe-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  display: flex;
  gap: 16px;
  padding-bottom: 8px;
}

.swipe-carousel::-webkit-scrollbar { display: none; }

.swipe-carousel > * {
  flex: 0 0 85%;
  scroll-snap-align: center;
}

.swipe-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.swipe-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-subtle);
  transition: all 0.3s;
}

.swipe-dot.active {
  background: var(--indigo);
  width: 24px;
  border-radius: 4px;
}

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

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 100px 0 60px; }
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-centered { text-align: center; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; }

  .hero-video-overlay {
    background: linear-gradient(
      to bottom,
      rgba(10, 10, 15, 0.85) 0%,
      rgba(10, 10, 15, 0.75) 40%,
      rgba(10, 10, 15, 0.92) 100%
    );
  }

  .hero-sub {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  }

  /* Hide dataflow on mobile */
  .dataflow { display: none; }

  .logo-scroll { gap: 40px; }

  .process { padding: 100px 0; }
  .process-grid { flex-direction: column; gap: 32px; }
  .process-arrow { display: none; }
  .process-step { padding: 0; }

  .step-number { display: none; }

  .process-carousel { overflow: hidden; position: relative; }
  .process-carousel .process-track {
    display: flex !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0 !important;
    margin-top: 0 !important;
    touch-action: pan-x;
  }
  .process-carousel .process-track::-webkit-scrollbar { display: none; }
  .process-carousel .service-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    margin: 0 8px;
  }

  .carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
  }
  .carousel-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
  }
  .carousel-arrow:hover { border-color: var(--indigo); color: var(--indigo); }
  .carousel-dots { display: flex; gap: 8px; }
  .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-subtle);
    transition: all 0.3s;
  }
  .carousel-dot.active { background: var(--indigo); width: 24px; border-radius: 4px; }

  /* Timeline mobile — vertical stack */
  .timeline-line { display: none; }
  .timeline-steps { grid-template-columns: 1fr; gap: 40px; }
  .timeline-dot { display: none; }

  /* 2x2 and 4-card grids become swipe carousels on mobile */
  .services-grid-2x2 {
    display: flex !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    touch-action: pan-x;
  }
  .services-grid-2x2::-webkit-scrollbar { display: none; }
  .services-grid-2x2 > .service-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    touch-action: pan-x;
    user-select: none;
    -webkit-user-select: none;
  }

  /* Proof grid mobile — swipe */
  .proof-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    touch-action: pan-x;
  }
  .proof-grid::-webkit-scrollbar { display: none; }
  .proof-card { flex: 0 0 80%; scroll-snap-align: center; touch-action: pan-x; user-select: none; -webkit-user-select: none; }

  /* ROI split mobile — stack */
  .roi-split { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
  .roi-chart { max-width: 100%; }

  /* Founder profile mobile — stack */
  .founder-split { grid-template-columns: 1fr; text-align: center; }
  .founder-photo-wrapper { width: 160px; height: 210px; margin: 0 auto; }
  .founder-bio { text-align: center; }
  .founder-bio div { justify-content: center; }

  /* Swipe dots visible on mobile */
  .swipe-dots { display: flex; }

  .services { padding: 100px 0; }
  .services-grid-3 { grid-template-columns: 1fr; }
  .services-grid:not(.services-grid-2x2) { grid-template-columns: 1fr !important; gap: 16px; }

  .audit-section { padding: 100px 0; }
  .audit-content { padding: 0 8px; }


  .icp { padding: 100px 0; }
  .icp-grid { grid-template-columns: 1fr; }

  .custom-builds { padding: 100px 0; }
  .custom-grid { grid-template-columns: 1fr; }

  .credibility { padding: 100px 0; }
  .credibility-grid { grid-template-columns: 1fr; }
  .cred-block { padding: 24px; }

  .comparison { padding: 100px 0; }
  .comparison-grid { grid-template-columns: 1fr; gap: 24px; }
  .comparison-divider { padding: 8px 0; }
  .comparison-col { padding: 24px; }

  .cta-section { padding: 100px 0; }
  .cta-card { padding: 48px 24px; }

  .about-values { padding: 60px 0; }
  .about-values-grid { grid-template-columns: 1fr; }

  .founder { padding: 100px 0; }
  .team-grid { grid-template-columns: 1fr; }

  .onboarding-timeline { padding: 100px 0; }
  .timeline-cards { grid-template-columns: 1fr; }

  .container { padding: 0 24px; }

  .split-section { grid-template-columns: 1fr; gap: 40px; }
  .split-section.reverse { direction: ltr; }
  .split-section-text { max-width: 100%; }

  .anchor-nav-inner { padding: 0 24px; }
  .anchor-pill { font-size: 12px; padding: 5px 12px; }

  .roi-cta-card { padding: 32px 24px; margin: 48px 0; }

  /* Workflow annotations — hide overlays + desktop legend, show mobile flow */
  .workflow-labels { display: none; }
  .workflow-legend-desktop { display: none; }
  .workflow-legend-mobile {
    display: block;
    max-width: 400px;
    margin: 24px auto 0;
    text-align: left;
  }

  /* Center all content on mobile */
  .section-sub { margin-left: auto !important; margin-right: auto !important; }
  .audit-ctas { justify-content: center; }
  .proof-header, .proof-section { text-align: center; }

  /* ROI split — stack and center */
  .roi-text { text-align: center; }
  .roi-text p { margin-left: auto; margin-right: auto; }
  .roi-text .btn { margin: 0 auto; }

  .footer-links { flex-direction: column; gap: 12px; }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .services-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .custom-grid { grid-template-columns: repeat(2, 1fr); }
  .credibility-grid { grid-template-columns: 1fr; }
  .hero-split { grid-template-columns: 1fr; }
  .dataflow { display: none; }
  .timeline-cards { grid-template-columns: repeat(2, 1fr); }
  .timeline-steps { grid-template-columns: repeat(2, 1fr); }
  .roi-split { grid-template-columns: 1fr 1fr; }
}
