@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-deep: #0a0e1a;
  --bg-surface: #111827;
  --bg-elevated: #1a2236;
  --bg-card: #1e2a42;
  --cyan: #00E5FF;
  --cyan-dim: #00a5b8;
  --cyan-glow: rgba(0, 229, 255, 0.15);
  --amber: #FFB800;
  --amber-dim: #cc9300;
  --amber-glow: rgba(255, 184, 0, 0.12);
  --text-primary: #f0f4fc;
  --text-secondary: #8b98b8;
  --text-muted: #5a6785;
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(0, 229, 255, 0.2);
  --red-soft: #ff6b6b;
  --green-soft: #4ecdc4;
  --purple: #a78bfa;
  --purple-glow: rgba(167, 139, 250, 0.12);
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg-deep);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(10, 14, 26, 0.6);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.navbar.scrolled {
  background: rgba(10, 14, 26, 0.95);
  border-bottom-color: var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--cyan); }
.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem; color: var(--text-secondary);
  transition: color 0.2s; letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: linear-gradient(135deg, var(--cyan), #00b8d4);
  color: #0a0e1a; font-weight: 700; font-size: 0.85rem;
  border: none; border-radius: 8px; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
}

/* ── CTA shimmer effect ── */
.cta-shimmer {
  position: relative; overflow: hidden;
}
.cta-shimmer::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}

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

/* ── Sections ── */
section {
  position: relative;
  padding: 7rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}
section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(0, 229, 255, 0.03) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 90%, rgba(255, 184, 0, 0.02) 0%, transparent 60%);
  pointer-events: none;
}

.hero-section {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 5rem;
  position: relative; overflow: hidden;
}

/* ── Full-page particle canvas ── */
#bgCanvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0; opacity: 0.35; pointer-events: none;
}

/* ── Animated gradient orbs ── */
.hero-orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(80px);
}
.hero-orb-1 {
  width: 600px; height: 600px; top: -200px; left: -100px;
  background: radial-gradient(circle, rgba(0,229,255,0.12), transparent 70%);
  animation: float-orb 20s ease-in-out infinite;
}
.hero-orb-2 {
  width: 500px; height: 500px; bottom: -150px; right: -50px;
  background: radial-gradient(circle, rgba(255,184,0,0.08), transparent 70%);
  animation: float-orb 25s ease-in-out infinite reverse;
}
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Hero stat pills ── */
.hero-stats {
  display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted);
  letter-spacing: 0.04em;
}
.hero-stats-dot {
  width: 4px; height: 4px; border-radius: 50%; background: var(--text-muted);
}

/* ── Typography ── */
.section-tag {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.section-tag::before {
  content: ''; display: inline-block; width: 20px; height: 1px; background: var(--cyan);
}
.section-tag.purple { color: var(--purple); }
.section-tag.purple::before { background: var(--purple); }

h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.8rem, 5.5vw, 5rem); line-height: 1.08;
  letter-spacing: -0.02em; color: var(--text-primary); max-width: 56rem;
}
h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 3.2rem); line-height: 1.12;
  letter-spacing: -0.015em; color: var(--text-primary); max-width: 50rem;
}
h3 {
  font-family: var(--font-body); font-weight: 600;
  font-size: 1rem; color: var(--text-primary); margin-bottom: 0.5rem;
}
p, li {
  font-size: 1rem; line-height: 1.65; color: var(--text-secondary); max-width: 42rem;
}

.subtitle {
  font-size: 1.15rem; color: var(--text-secondary);
  margin-top: 1.2rem; max-width: 36rem; line-height: 1.7;
}
.highlight { color: var(--cyan); }
.highlight-amber { color: var(--amber); }
.highlight-green { color: var(--green-soft); }
.highlight-purple { color: var(--purple); }

/* ── Grids ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 1.2rem; margin-top: 2.5rem; }

/* ── Cards ── */
.card {
  background: rgba(17, 24, 39, 0.6); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px; padding: 1.6rem; position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.card::before {
  content: ''; position: absolute; inset: -1px; border-radius: 13px; padding: 1px;
  background: linear-gradient(135deg, var(--cyan), var(--purple), var(--amber));
  -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.4s; pointer-events: none;
}
.card:hover { transform: translateY(-2px); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 1rem;
  background: var(--cyan-glow); color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.12);
}
.card-icon.amber { background: var(--amber-glow); color: var(--amber); border-color: rgba(255, 184, 0, 0.12); }
.card-icon.green { background: rgba(78, 205, 196, 0.12); color: var(--green-soft); border-color: rgba(78, 205, 196, 0.12); }
.card-icon.purple { background: var(--purple-glow); color: var(--purple); border-color: rgba(167, 139, 250, 0.12); }
.card h3 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.card p { font-size: 0.85rem; line-height: 1.55; color: var(--text-muted); }

/* ── Stat blocks ── */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.stat {
  text-align: center; padding: 2rem 1rem;
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: 12px;
}
.stat-value {
  font-family: var(--font-display); font-size: 2.8rem;
  font-weight: 400; line-height: 1; margin-bottom: 0.5rem;
  text-shadow: 0 0 40px currentColor;
}
.stat-value.bad { color: var(--red-soft); }
.stat-value.good { color: var(--green-soft); }
.stat-label { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ── Layer Stack ── */
.layer-stack { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; max-width: 52rem; }
.layer-row {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.4rem 1.8rem; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg-surface);
  position: relative; overflow: hidden;
}
.layer-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.layer-row.l1::before { background: var(--cyan); }
.layer-row.l2::before { background: var(--amber); }
.layer-row.l3::before { background: var(--green-soft); }
.layer-num { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); min-width: 5.5rem; }
.layer-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-primary); min-width: 10rem; }
.layer-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }
.layer-connector { width: 1px; height: 1rem; margin-left: 3.5rem; background: linear-gradient(to bottom, var(--border-accent), transparent); }

/* ── Process Flow ── */
.process-flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.8rem; margin-top: 2.5rem; position: relative; }
.process-flow::before {
  content: ''; position: absolute; top: 28px; left: 8%; right: 8%;
  height: 1px; background: linear-gradient(to right, var(--cyan), var(--purple), var(--amber), var(--green-soft), var(--cyan), var(--amber)); opacity: 0.3;
}
.process-step { text-align: center; position: relative; }
.process-step-num {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.8rem; font-family: var(--font-display); font-size: 1.1rem;
  position: relative; z-index: 1;
  background: var(--bg-surface); border: 1px solid var(--border);
}
.process-step h3 { font-size: 0.75rem; margin-bottom: 0.2rem; }
.process-step p { font-size: 0.68rem; color: var(--text-muted); max-width: none; }

/* ── Agent Cards ── */
.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.agent-card {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.4rem; transition: border-color 0.3s, transform 0.3s;
}
.agent-card:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.agent-card .agent-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; margin-bottom: 0.8rem;
  background: var(--cyan-glow); color: var(--cyan); border: 1px solid rgba(0, 229, 255, 0.12);
}
.agent-card h3 { font-size: 0.88rem; margin-bottom: 0.3rem; }
.agent-card p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

/* ── Case study ── */
.case-study { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; margin-top: 2.5rem; align-items: start; }
.case-detail { display: flex; align-items: center; gap: 0.8rem; padding: 0.65rem 0; border-bottom: 1px solid var(--border); }
.case-detail:last-child { border-bottom: none; }
.case-detail-icon { color: var(--cyan); font-size: 0.9rem; width: 1.2rem; text-align: center; flex-shrink: 0; }
.case-detail-text { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }
.case-stack { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.stack-chip {
  font-family: var(--font-mono); font-size: 0.68rem;
  padding: 0.3rem 0.7rem; border-radius: 6px;
  background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-secondary);
}

/* ── Phase timeline ── */
.phases { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.phase {
  position: relative; padding: 1.6rem;
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: 12px;
}
.phase::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; border-radius: 12px 12px 0 0; }
.phase:nth-child(1)::before { background: var(--cyan); }
.phase:nth-child(2)::before { background: var(--amber); }
.phase:nth-child(3)::before { background: var(--green-soft); }
.phase-label {
  font-family: var(--font-mono); font-size: 0.65rem;
  color: var(--text-muted); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 0.6rem;
}
.phase:nth-child(1) .phase-label { color: var(--cyan-dim); }
.phase:nth-child(2) .phase-label { color: var(--amber-dim); }
.phase:nth-child(3) .phase-label { color: var(--green-soft); }
.phase h3 { font-size: 1rem; margin-bottom: 0.6rem; }
.phase-items { list-style: none; }
.phase-items li {
  font-size: 0.78rem; color: var(--text-muted); padding: 0.25rem 0;
  padding-left: 1rem; position: relative;
}
.phase-items li::before { content: '\00B7'; position: absolute; left: 0; color: var(--text-muted); font-weight: bold; }

/* ── Culture cards ── */
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.culture-card {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.5rem; transition: border-color 0.3s;
}
.culture-card:hover { border-color: rgba(167, 139, 250, 0.3); }
.culture-card .culture-num {
  font-family: var(--font-mono); font-size: 0.65rem; color: var(--purple);
  margin-bottom: 0.8rem; letter-spacing: 0.1em;
}
.culture-card h3 { font-size: 0.92rem; margin-bottom: 0.4rem; }
.culture-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* ── Differentiators ── */
.diff-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; max-width: 48rem; }
.diff-item {
  display: flex; align-items: flex-start; gap: 1.2rem;
  padding: 1.2rem 1.5rem; background: var(--bg-surface);
  border: 1px solid var(--border); border-radius: 10px; transition: border-color 0.3s;
}
.diff-item:hover { border-color: var(--border-accent); }
.diff-label {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--cyan);
  min-width: 11rem; flex-shrink: 0; padding-top: 0.1rem;
}
.diff-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

/* ── Callout ── */
.callout-bar {
  margin-top: 1.5rem; padding: 1rem 1.4rem;
  background: var(--amber-glow); border: 1px solid rgba(255, 184, 0, 0.15);
  border-radius: 10px; font-size: 0.85rem; color: var(--amber); font-weight: 500; text-align: center;
}

/* ── Maturity steps ── */
.maturity-steps { display: flex; flex-direction: column; gap: 0; margin-top: 2rem; max-width: 54rem; }
.maturity-step {
  display: grid; grid-template-columns: 3rem 1fr 1.2fr;
  gap: 1.5rem; align-items: center; padding: 1rem 0;
  border-bottom: 1px solid var(--border); position: relative;
}
.maturity-step:last-child { border-bottom: none; }
.maturity-level { font-family: var(--font-display); font-size: 1.8rem; text-align: center; }
.maturity-step:nth-child(1) .maturity-level { color: var(--text-muted); }
.maturity-step:nth-child(2) .maturity-level { color: var(--red-soft); }
.maturity-step:nth-child(3) .maturity-level { color: var(--amber); }
.maturity-step:nth-child(4) .maturity-level { color: var(--cyan); }
.maturity-step:nth-child(5) .maturity-level { color: var(--green-soft); }
.maturity-info h3 { font-size: 0.88rem; margin-bottom: 0.15rem; }
.maturity-info p { font-size: 0.78rem; color: var(--text-muted); }
.maturity-solution { font-size: 0.78rem; color: var(--cyan); display: flex; align-items: center; gap: 0.5rem; }

/* ── Contact Form ── */
.contact-section {
  text-align: center;
}
.contact-form {
  max-width: 32rem; margin: 2.5rem auto 0;
  display: flex; flex-direction: column; gap: 1rem;
  text-align: left;
}
.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.form-group label {
  font-size: 0.75rem; font-family: var(--font-mono);
  color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase;
}
.form-group input,
.form-group textarea {
  padding: 0.8rem 1rem; background: var(--bg-surface);
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--text-primary); font-family: var(--font-body); font-size: 0.9rem;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--cyan);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.submit-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  margin-top: 0.5rem; padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--cyan), #00b8d4);
  color: var(--bg-deep); font-family: var(--font-body);
  font-weight: 600; font-size: 1rem; border: none; border-radius: 10px;
  cursor: pointer; letter-spacing: 0.02em;
  box-shadow: 0 4px 24px rgba(0, 229, 255, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.35);
}
.submit-btn:disabled {
  opacity: 0.6; cursor: not-allowed; transform: none;
}
.form-status {
  text-align: center; font-size: 0.85rem; min-height: 1.4rem; margin-top: 0.5rem;
}
.form-status.success { color: var(--green-soft); }
.form-status.error { color: var(--red-soft); }

/* ── Footer ── */
.site-footer {
  padding: 2rem 3rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.site-footer p {
  font-size: 0.75rem; color: var(--text-muted); max-width: none;
  font-family: var(--font-mono); letter-spacing: 0.04em;
}
.site-footer a { color: var(--cyan); }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.18s; }
.reveal.d3 { transition-delay: 0.28s; }
.reveal.d4 { transition-delay: 0.38s; }
.reveal.d5 { transition-delay: 0.48s; }

/* ── Floating CTA ── */
.floating-cta {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  padding: 0.9rem 1.8rem;
  background: linear-gradient(135deg, var(--cyan), #00b8d4);
  color: var(--bg-deep); font-weight: 600; font-size: 0.9rem;
  font-family: var(--font-body);
  border-radius: 50px; text-decoration: none;
  box-shadow: 0 4px 24px rgba(0,229,255,0.3);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  animation: pulse-cta 2s ease-in-out infinite;
}
.floating-cta.visible { opacity: 1; pointer-events: auto; }
.floating-cta:hover { transform: translateY(-2px); }
@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 4px 24px rgba(0,229,255,0.3); }
  50% { box-shadow: 0 4px 40px rgba(0,229,255,0.5); }
}

/* ── Urgency badge ── */
.urgency-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; color: var(--amber);
  font-family: var(--font-mono);
  margin: 1.5rem auto 0; letter-spacing: 0.02em;
}
.urgency-dot {
  width: 8px; height: 8px; background: var(--green-soft);
  border-radius: 50%; flex-shrink: 0;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan-dim); }

/* ── Card icon hover ── */
.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  transition: transform 0.3s ease;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: opacity 0.3s; transform: none !important; }
  .floating-cta { animation: none; }
  .hero-orb { animation: none; }
  .cta-shimmer::after { animation: none; }
  .urgency-dot { animation: none; }
}

/* ── Dot grid background ── */
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .agent-grid { grid-template-columns: 1fr 1fr; }
  .process-flow { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

@media (max-width: 768px) {
  .floating-cta {
    left: 1rem; right: 1rem; text-align: center; border-radius: 12px;
  }
  .hero-stats { justify-content: center; }
  .hero-orb-1 { width: 300px; height: 300px; }
  .hero-orb-2 { width: 250px; height: 250px; }
  section { padding: 5rem 1.5rem; }
  .navbar { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10, 14, 26, 0.98);
    padding: 1.5rem; gap: 1.2rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-hamburger { display: flex; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .agent-grid { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr; }
  .culture-grid { grid-template-columns: 1fr; }
  .case-study { grid-template-columns: 1fr; }
  .process-flow { grid-template-columns: repeat(2, 1fr); }
  .layer-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .layer-title { min-width: auto; }
  .diff-item { flex-direction: column; gap: 0.5rem; }
  .diff-label { min-width: auto; }
  .form-row { grid-template-columns: 1fr; }
  .maturity-step { grid-template-columns: 2.5rem 1fr; }
  .maturity-solution { grid-column: 1 / -1; padding-left: 0; }
  .site-footer { padding: 2rem 1.5rem; }
}

@media (max-width: 375px) {
  section { padding: 4rem 1rem; }
  .stat-grid { grid-template-columns: 1fr; }
  .process-flow { grid-template-columns: 1fr; }
}
