/* ============================================================
   北京人机寓言科技有限公司 — 官网样式
   设计语言与主应用一致：紫色主色 + 现代暗黑风格
   ============================================================ */

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

:root {
  --primary:     #7c3aed;
  --primary-l:   #a78bfa;
  --primary-ll:  #ede9fe;
  --primary-d:   #5b21b6;
  --accent:      #c084fc;
  --blue:        #3b82f6;
  --green:       #10b981;
  --orange:      #f59e0b;
  --pink:        #ec4899;
  --teal:        #14b8a6;
  --dark:        #0a0a14;
  --dark-2:      #111120;
  --dark-3:      #1a1a30;
  --text:        #f1f5f9;
  --text-muted:  #94a3b8;
  --border:      rgba(148,163,184,.12);
  --glass:       rgba(255,255,255,.04);
  --glass-hover: rgba(255,255,255,.07);
  --radius:      16px;
  --radius-sm:   8px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-glow: 0 0 60px rgba(124,58,237,.25);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Sans SC', 'Inter', -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ─── Utilities ─────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-l) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-light {
  background: linear-gradient(135deg, #e9d5ff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(124,58,237,.15);
  color: var(--primary-l);
  border: 1px solid rgba(124,58,237,.3);
  margin-bottom: 18px;
}
.section-tag--light {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.15);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title.light { color: #fff; }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.section-desc.light { color: rgba(255,255,255,.65); }

/* ─── Reveal Animation ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  text-decoration: none;
  transition: all .22s var(--ease);
  border: none;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124,58,237,.55);
  background: linear-gradient(135deg, var(--primary-l) 0%, var(--primary) 100%);
}

.btn-ghost {
  background: rgba(255,255,255,.06);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}

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

/* ─── Navbar ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
  padding: 0;
}
.nav.scrolled {
  background: rgba(10,10,20,.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.logo-icon { width: 36px; height: 36px; flex-shrink: 0; }
.logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #fff;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-d));
  color: #fff;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 10px;
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all .22s var(--ease);
  box-shadow: 0 2px 12px rgba(124,58,237,.35);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(124,58,237,.5);
}

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

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(10,10,20,.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  transition: color .2s;
}
.mobile-menu a:hover { color: #fff; }

/* ─── Hero ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 {
  width: 600px; height: 600px;
  top: -200px; left: -150px;
  background: radial-gradient(circle, rgba(124,58,237,.35) 0%, transparent 70%);
  animation: float1 8s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  top: 20%; right: -100px;
  background: radial-gradient(circle, rgba(192,132,252,.25) 0%, transparent 70%);
  animation: float2 10s ease-in-out infinite;
}
.orb-3 {
  width: 400px; height: 400px;
  bottom: -100px; left: 30%;
  background: radial-gradient(circle, rgba(59,130,246,.2) 0%, transparent 70%);
  animation: float1 12s ease-in-out infinite reverse;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(30px, -40px); }
  66%       { transform: translate(-20px, 20px); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-40px, 30px); }
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: .4;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 860px;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 100px;
  border: 1px solid rgba(124,58,237,.4);
  background: rgba(124,58,237,.1);
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary-l);
  margin-bottom: 28px;
  letter-spacing: .03em;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary-l);
  box-shadow: 0 0 8px var(--primary-l);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 8px var(--primary-l); }
  50%       { box-shadow: 0 0 16px var(--primary-l), 0 0 4px #fff; }
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: clamp(.95rem, 2vw, 1.125rem);
  color: rgba(255,255,255,.6);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-metrics {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 40px;
  backdrop-filter: blur(10px);
}
.metric { text-align: center; }
.metric-num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.metric-unit {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-l);
}
.metric-label {
  display: block;
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.metric-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: .75rem;
  animation: scroll-hint 2.5s ease-in-out infinite;
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 12px;
  position: relative;
}
.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 6px;
  background: rgba(255,255,255,.5);
  border-radius: 2px;
  animation: scroll-dot 2s ease-in-out infinite;
}
@keyframes scroll-hint { 0%,100%{opacity:.4} 50%{opacity:.8} }
@keyframes scroll-dot { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px); opacity:.2} }

/* ─── Features ───────────────────────────────────── */
.features-section { background: var(--dark-2); }

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

.feature-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all .3s var(--ease);
}
.feature-card:hover {
  background: var(--glass-hover);
  border-color: rgba(124,58,237,.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.3), 0 0 0 1px rgba(124,58,237,.1);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.5), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.feature-card:hover::before { opacity: 1; }

.feature-card--wide {
  grid-column: span 3;
}
.feature-card--wide .feature-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
.feature-card--wide .feature-content { flex: 1; }
.feature-card--wide .feature-visual { flex: 1; }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-icon--purple { background: rgba(124,58,237,.2); color: var(--primary-l); }
.feature-icon--blue   { background: rgba(59,130,246,.2);  color: #93c5fd; }
.feature-icon--green  { background: rgba(16,185,129,.2);  color: #6ee7b7; }
.feature-icon--orange { background: rgba(245,158,11,.2);  color: #fcd34d; }
.feature-icon--pink   { background: rgba(236,72,153,.2);  color: #f9a8d4; }
.feature-icon--teal   { background: rgba(20,184,166,.2);  color: #5eead4; }

.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: #fff; }
.feature-card p  { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

.card-badge {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
}
.card-badge--blue   { background: rgba(59,130,246,.15);  color: #93c5fd; }
.card-badge--green  { background: rgba(16,185,129,.15);  color: #6ee7b7; }
.card-badge--orange { background: rgba(245,158,11,.15);  color: #fcd34d; }
.card-badge--pink   { background: rgba(236,72,153,.15);  color: #f9a8d4; }
.card-badge--teal   { background: rgba(20,184,166,.15);  color: #5eead4; }

/* Feature Visual — mini position cards */
.feature-visual--positions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .85rem;
  color: var(--text-muted);
}
.mini-card span { flex: 1; }
.mc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
}
.mc-dot.green  { background: #10b981; box-shadow: 0 0 6px #10b981; }
.mc-dot.blue   { background: #3b82f6; box-shadow: 0 0 6px #3b82f6; }
.mc-dot.purple { background: #a78bfa; box-shadow: 0 0 6px #a78bfa; }
.mc-badge {
  padding: 2px 10px;
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 600;
  background: rgba(16,185,129,.15);
  color: #6ee7b7;
}
.mc-badge.orange { background: rgba(245,158,11,.15); color: #fcd34d; }

/* ─── AI Section ─────────────────────────────────── */
.ai-section {
  background: linear-gradient(180deg, var(--dark-3) 0%, var(--dark-2) 100%);
}
.ai-bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.ai-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.ai-orb-1 {
  width: 700px; height: 500px;
  top: -100px; right: -200px;
  background: radial-gradient(circle, rgba(124,58,237,.2) 0%, transparent 70%);
}
.ai-orb-2 {
  width: 500px; height: 500px;
  bottom: -150px; left: -100px;
  background: radial-gradient(circle, rgba(59,130,246,.15) 0%, transparent 70%);
}

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

.ai-card {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all .3s var(--ease);
}
.ai-card:hover {
  border-color: rgba(124,58,237,.4);
  background: rgba(124,58,237,.06);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.ai-card-glow {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(124,58,237,.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s;
}
.ai-card:hover .ai-card-glow { opacity: 1; }

.ai-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-l);
  margin-bottom: 20px;
}
.ai-icon svg { width: 26px; height: 26px; }

.ai-card h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.ai-card p  { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 20px; }

/* AI demo widgets */
.ai-demo {
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 14px;
}
.demo-prompt {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 8px;
}
.prompt-label { color: var(--primary-l); }
.demo-output {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
}
.typing-cursor {
  width: 2px; height: 14px;
  background: var(--primary-l);
  border-radius: 1px;
  animation: blink .8s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.resume-parse { display: flex; flex-direction: column; gap: 6px; }
.parse-row { display: flex; align-items: center; gap: 12px; font-size: .82rem; }
.parse-key { color: var(--primary-l); font-weight: 600; min-width: 32px; }
.parse-val { color: rgba(255,255,255,.7); }

.match-bars { display: flex; flex-direction: column; gap: 8px; }
.match-item {
  display: flex; align-items: center; gap: 8px; font-size: .78rem; color: rgba(255,255,255,.6);
}
.match-item > span:first-child { min-width: 56px; }
.match-item > span:last-child  { min-width: 38px; text-align: right; color: var(--primary-l); font-weight: 600; }
.bar-wrap { flex: 1; height: 5px; background: rgba(255,255,255,.08); border-radius: 3px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 3px; }

.chat-bubbles { display: flex; flex-direction: column; gap: 8px; }
.bubble {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: .8rem;
  line-height: 1.5;
}
.bubble-ai {
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.25);
  color: rgba(255,255,255,.75);
}

.model-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 56px;
  flex-wrap: wrap;
  justify-content: center;
}
.model-label { font-size: .82rem; color: var(--text-muted); white-space: nowrap; }
.model-list { display: flex; gap: 10px; flex-wrap: wrap; }
.model-chip {
  padding: 6px 18px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  transition: all .2s;
}
.model-chip:hover {
  background: rgba(124,58,237,.15);
  border-color: rgba(124,58,237,.3);
  color: var(--primary-l);
}

/* ─── Workflow ───────────────────────────────────── */
.workflow-section { background: var(--dark); }

.workflow-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.workflow-steps::before {
  content: '';
  position: absolute;
  top: 60px; left: 60px; right: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  opacity: .25;
  z-index: 0;
}

.workflow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
.step-arrow {
  position: absolute;
  top: 45px;
  right: -16px;
  font-size: 1.4rem;
  color: var(--primary-l);
  opacity: .4;
  z-index: 2;
}

.step-num {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--primary-l);
  opacity: .5;
  margin-bottom: 12px;
}

.step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
}

.step-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  position: relative;
}
.step-icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 21px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--primary-l), var(--accent)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: .3;
}
.step-icon svg { width: 28px; height: 28px; }
.step-icon--1 { background: rgba(124,58,237,.15); color: var(--primary-l); }
.step-icon--2 { background: rgba(59,130,246,.15); color: #93c5fd; }
.step-icon--3 { background: rgba(16,185,129,.15); color: #6ee7b7; }
.step-icon--4 { background: rgba(245,158,11,.15); color: #fcd34d; }
.step-icon--5 { background: rgba(20,184,166,.15); color: #5eead4; }

.step-content h3 { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.step-content p  { font-size: .8rem; color: var(--text-muted); line-height: 1.6; }

/* ─── Stats ──────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-2) 100%);
}
.stats-bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.stats-orb {
  position: absolute;
  width: 800px; height: 800px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124,58,237,.12) 0%, transparent 65%);
  filter: blur(60px);
}

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

.stat-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all .3s var(--ease);
}
.stat-card:hover {
  border-color: rgba(124,58,237,.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.3), var(--shadow-glow);
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(124,58,237,.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.stat-card:hover::before { opacity: 1; }

.stat-icon { font-size: 2.5rem; margin-bottom: 16px; }
.stat-value {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  background: linear-gradient(135deg, #fff, var(--primary-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-unit {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-l);
}
.stat-label {
  font-size: .9rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  margin-top: 10px;
  margin-bottom: 8px;
}
.stat-desc { font-size: .78rem; color: var(--text-muted); line-height: 1.5; }

/* ─── Contact ────────────────────────────────────── */
.contact-section { background: var(--dark); }

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

/* Form */
.contact-form-wrap {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: .83rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  font-size: .9rem;
  font-family: inherit;
  transition: border-color .2s, background .2s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(124,58,237,.6);
  background: rgba(124,58,237,.05);
  box-shadow: 0 0 0 3px rgba(124,58,237,.1);
}
.form-group select option { background: var(--dark-2); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* Contact Info */
.contact-info { display: flex; flex-direction: column; gap: 20px; }

.contact-info-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-info-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-item svg {
  width: 22px; height: 22px;
  color: var(--primary-l);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-item strong { display: block; font-size: .88rem; color: #fff; margin-bottom: 4px; }
.contact-item p { font-size: .83rem; color: var(--text-muted); line-height: 1.6; }

.contact-feature-list {
  background: rgba(124,58,237,.06);
  border: 1px solid rgba(124,58,237,.2);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: rgba(255,255,255,.7);
}
.cf-item svg {
  width: 18px; height: 18px;
  color: #6ee7b7;
  flex-shrink: 0;
}

/* ─── Footer ─────────────────────────────────────── */
.footer { background: var(--dark-2); border-top: 1px solid var(--border); }

.footer-top { padding: 60px 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-tagline {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: .88rem;
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--primary-l); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: var(--text-muted);
}
.icp a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}
.icp a:hover { color: var(--primary-l); }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--wide { grid-column: span 2; }
  .ai-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-steps { flex-wrap: wrap; gap: 28px; }
  .workflow-steps::before { display: none; }
  .step-arrow { display: none; }
  .workflow-step { flex: 0 0 calc(50% - 14px); }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-menu-btn { display: flex; }

  .section { padding: 72px 0; }
  .section-header { margin-bottom: 48px; }

  .hero { padding: 100px 20px 60px; }
  .hero-metrics { flex-direction: column; gap: 20px; padding: 20px; }
  .metric-divider { width: 60px; height: 1px; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card--wide { grid-column: span 1; }
  .feature-card--wide .feature-card-inner { flex-direction: column; }

  .ai-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .workflow-step { flex: 0 0 100%; }

  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-links-group { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .footer-links-group { grid-template-columns: 1fr; }
}
