/* ========================================
   ActiveLog — activelog.ai
   Dark, developer-focused, terminal aesthetic
   ======================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
input, textarea { font: inherit; }

/* ---------- Tokens ---------- */
:root {
  /* Base */
  --bg:           #0a0a0b;
  --bg-alt:       #0f0f11;
  --bg-card:      #131316;
  --bg-card-hi:   #1a1a1f;
  --border:       rgba(255,255,255,0.08);
  --border-hi:    rgba(255,255,255,0.14);

  /* Text */
  --text:         #ededf0;
  --text-dim:     #a1a1aa;
  --text-muted:   #71717a;

  /* Accents */
  --indigo:       #6366f1;
  --purple:       #a855f7;
  --violet:       #8b5cf6;
  --blue:         #3b82f6;
  --green:        #22c55e;
  --yellow:       #eab308;
  --red:          #ef4444;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --grad-soft:    linear-gradient(135deg, rgba(99,102,241,.12), rgba(168,85,247,.12));

  /* Misc */
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --maxw:         1140px;
  --nav-h:        64px;
  --ease:         cubic-bezier(.4, 0, .2, 1);
  --ease-out:     cubic-bezier(0, 0, .2, 1);
}

/* ---------- Typography ---------- */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

code, pre, .mono {
  font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', Consolas, 'Liberation Mono', monospace;
  font-feature-settings: 'liga' 0;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--indigo);
  margin-right: 12px;
}

.section-title {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 64px;
}

/* ---------- Utilities ---------- */
.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-muted { color: var(--text-muted); }
.strikethrough { position: relative; }
.strikethrough::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 55%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  animation: strike 0.8s 0.3s var(--ease) forwards;
}
@keyframes strike { to { transform: scaleX(1); } }

.desktop-only { display: flex; }
.mobile-only { display: none; }

/* ---------- Buttons ---------- */
.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 10px;
  transition: all .2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.3), 0 0 0 1px rgba(99,102,241,.4), 0 8px 24px -8px rgba(99,102,241,.5);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(0,0,0,.3), 0 0 0 1px rgba(99,102,241,.5), 0 12px 32px -8px rgba(99,102,241,.6);
}
.btn-ghost {
  color: var(--text-dim);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-hi);
  background: rgba(255,255,255,.05);
}
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 12px 24px; font-size: 15px; }

/* ---------- Nav ---------- */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(10,10,11,.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.logo-accent {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  gap: 28px;
  font-size: 14px;
  color: var(--text-dim);
}
.nav-links a {
  transition: color .2s;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--grad-primary);
  border-radius: 1px;
  transition: width .2s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.menu-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all .3s var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: rgba(10,10,11,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 0;
  font-size: 16px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--text); }

/* ---------- Hero ---------- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}
#hero-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(10,10,11,.7) 70%, var(--bg) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.25);
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--green);
  opacity: .4;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .4; }
  100% { transform: scale(2.5); opacity: 0; }
}

.hero-title {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.05;
}
.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.stat-num {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.stat-num span {
  font-size: 16px;
  color: var(--text-dim);
  font-weight: 600;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-hint svg { opacity: .5; animation: scrollHint 2s infinite; }
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* ---------- Problem ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .3s var(--ease);
}
.problem-card:hover {
  border-color: var(--border-hi);
  background: var(--bg-card-hi);
  transform: translateY(-2px);
}
.problem-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239,68,68,.08);
  color: var(--red);
  margin-bottom: 20px;
}
.problem-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.problem-card p {
  color: var(--text-dim);
  font-size: 15px;
}

/* ---------- Solution ---------- */
.solution-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.solution-step {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all .3s var(--ease);
}
.solution-step:hover {
  border-color: rgba(99,102,241,.3);
  box-shadow: 0 0 40px -10px rgba(99,102,241,.2);
}
.step-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--indigo);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.solution-step h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.solution-step p {
  color: var(--text-dim);
  font-size: 15px;
}
.solution-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  color: var(--text-muted);
}

/* ---------- Modes ---------- */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all .3s var(--ease);
  cursor: default;
}
.mode-card:hover {
  border-color: var(--border-hi);
  background: var(--bg-card-hi);
  transform: translateY(-3px);
}
.mode-glow {
  position: absolute;
  top: -50%; right: -30%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(99,102,241,.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.mode-card:hover .mode-glow { opacity: 1; }

.mode-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-soft);
  color: var(--indigo);
  margin-bottom: 20px;
  transition: transform .3s var(--ease);
}
.mode-card:hover .mode-icon { transform: scale(1.08) rotate(-3deg); }

.mode-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.mode-card p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin-bottom: 16px;
}
.mode-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.mode-tags span {
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ---------- Architecture ---------- */
.arch-diagram {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.arch-layer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.arch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  transition: all .3s var(--ease);
  min-width: 180px;
}
.arch-node:hover {
  border-color: var(--border-hi);
}
.arch-node-icon {
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}
.arch-node-icon.big { color: var(--indigo); }
.arch-node-label {
  font-weight: 700;
  font-size: 16px;
}
.arch-node-label.big { font-size: 18px; }
.arch-node-sub {
  font-size: 13px;
  color: var(--text-muted);
}
.arch-node-badge {
  position: absolute;
  top: -10px; right: -10px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 100px;
  background: var(--grad-primary);
  color: #fff;
}

.arch-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.arch-core-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.arch-thinker { border-color: rgba(99,102,241,.25); }
.arch-thinker:hover { border-color: rgba(99,102,241,.4); box-shadow: 0 0 40px -10px rgba(99,102,241,.25); }
.arch-supervisor { border-color: rgba(168,85,247,.25); }
.arch-supervisor:hover { border-color: rgba(168,85,247,.4); box-shadow: 0 0 40px -10px rgba(168,85,247,.25); }

.arch-loop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
}
.arch-loop-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.arch-arrow {
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, var(--border), transparent, var(--border));
  position: relative;
  margin: 16px 0;
}
.arch-arrow.down::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--border-hi);
}

.arch-output {
  padding-top: 0;
}
.arch-output-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.arch-output-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  transition: all .2s;
}
.arch-output-item:hover {
  color: var(--text);
  border-color: var(--border-hi);
}
.arch-output-item svg { color: var(--green); }

/* ---------- Developers ---------- */
.dev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Code block */
.code-block {
  background: #0d0d0f;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.code-dots {
  display: flex;
  gap: 6px;
}
.code-dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #febc2e; }
.code-dots span:nth-child(3) { background: #28c840; }
.code-lang {
  font-size: 12px;
  color: var(--text-muted);
}
.code-block pre {
  padding: 24px;
  font-size: 14px;
  line-height: 1.7;
  overflow-x: auto;
}
.code-block code { font-size: 14px; }

/* Syntax highlight */
.c-gray { color: #6b7280; }
.c-green { color: #34d399; }
.c-blue { color: #60a5fa; }
.c-yellow { color: #fbbf24; }
.c-purple { color: #c084fc; }

/* Dev features */
.dev-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.dev-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.dev-feature-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-soft);
  color: var(--indigo);
}
.dev-feature h4 {
  font-size: 16px;
  margin-bottom: 4px;
}
.dev-feature p {
  font-size: 14px;
  color: var(--text-dim);
}
.dev-links {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.dev-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--indigo);
  transition: gap .2s;
}
.dev-link:hover { gap: 10px; }

/* ---------- CTA ---------- */
.section-cta {
  padding: 80px 0 120px;
}
.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: -60%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(99,102,241,.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta-title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}
.cta-sub {
  color: var(--text-dim);
  font-size: 17px;
  margin-bottom: 36px;
  position: relative;
}
.code-snippet {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0d0d0f;
  border: 1px solid var(--border-hi);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 36px;
  position: relative;
}
.code-snippet-inner {
  font-size: 16px;
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.copy-btn {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-muted);
  transition: all .2s;
}
.copy-btn:hover {
  color: var(--text);
  background: rgba(255,255,255,.06);
}
.copy-btn.copied {
  color: var(--green);
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ---------- Footer ---------- */
#footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg-alt);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  margin-bottom: 16px;
}
.footer-tagline {
  color: var(--text-dim);
  font-size: 14px;
  max-width: 280px;
  margin-bottom: 16px;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  padding: 5px 0;
  transition: color .2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(34,197,94,.5);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .desktop-only { display: none; }
  .mobile-only { display: flex; }
  .menu-toggle { display: flex; }

  .section { padding: 80px 0; }
  .section-sub { margin-bottom: 40px; }

  .problem-grid { grid-template-columns: 1fr; }
  .modes-grid { grid-template-columns: repeat(2, 1fr); }
  .dev-grid { grid-template-columns: 1fr; }

  .solution-flow { flex-direction: column; gap: 16px; }
  .solution-connector {
    width: 100%;
    height: 40px;
    transform: rotate(90deg);
  }

  .hero-stats { gap: 20px; }
  .stat-num { font-size: 22px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; }

  .arch-core-row { flex-direction: column; }
  .arch-loop { transform: rotate(90deg); }

  .cta-card { padding: 40px 24px; }
}

@media (max-width: 560px) {
  .modes-grid { grid-template-columns: 1fr; }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  .stat-divider {
    width: 40px; height: 1px;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }
  .code-snippet { width: 100%; justify-content: center; }
  .cta-actions .btn-primary,
  .cta-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #hero-canvas { display: none; }
}
