/* ============================================================
   AXIOM — AI SaaS Landing Page Template
   Pure CSS. No framework. No build step.
   ------------------------------------------------------------
   CUSTOMIZE COLORS HERE — change the variables below and the
   whole page follows. No other file needs editing for colors.
   ============================================================ */
:root {
  --bg: #0b0a14;
  --bg-soft: #100e1e;
  --card: #171527;
  --card-border: #262344;
  --text: #f1effa;
  --text-muted: #a5a0c3;
  --accent: #8b5cf6;          /* main accent — change to your brand color */
  --accent-dark: #7c3aed;
  --accent-soft: rgba(139, 92, 246, 0.14);
  --accent-glow: rgba(139, 92, 246, 0.35);
  --pink: #e879f9;            /* secondary accent (highlights, badges) */
  --radius: 16px;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.accent { color: var(--accent); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 28px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost {
  background: transparent;
  border-color: var(--card-border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { display: block; width: 100%; margin-top: 20px; }

/* ---------- Sticky nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 10, 20, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; letter-spacing: .05em; }
.logo-mark { color: var(--accent); font-size: 20px; line-height: 1; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: 15px; transition: color .15s; }
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-signin { color: var(--text-muted); font-weight: 600; font-size: 15px; }
.nav-signin:hover { color: var(--text); }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 10px;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 96px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 78% 30%, rgba(139, 92, 246, .22), transparent 65%),
    radial-gradient(ellipse 40% 35% at 12% 85%, rgba(232, 121, 249, .10), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(139, 92, 246, .35);
  border-radius: 999px;
  padding: 7px 14px;
  margin-bottom: 24px;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.hero-sub {
  margin: 22px 0 0;
  color: var(--text-muted);
  font-size: 18px;
  max-width: 520px;
}
.email-capture {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  max-width: 520px;
}
.email-capture input {
  flex: 1;
  min-width: 0;
  background: var(--bg-soft);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color .15s;
}
.email-capture input:focus { border-color: var(--accent); }
.email-capture input::placeholder { color: var(--text-muted); }
.form-msg { min-height: 22px; margin-top: 8px; font-size: 14px; }
.form-msg.ok { color: var(--accent); }
.form-msg.err { color: #f87171; }
.hero-note { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.logos { margin-top: 40px; }
.logos-label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); }
.logos-row { display: flex; gap: 28px; margin-top: 12px; flex-wrap: wrap; align-items: baseline; }
.logo-word { color: var(--text-muted); font-size: 18px; opacity: .85; }
.logo-word.serif { font-family: Georgia, serif; font-style: italic; }
.logo-word.bold { font-weight: 800; letter-spacing: .02em; }
.logo-word.mono { font-family: 'Courier New', monospace; font-weight: 700; }
.logo-word.light { font-weight: 300; letter-spacing: .06em; }
.logo-word.caps { font-weight: 700; letter-spacing: .18em; font-size: 15px; }

/* ---------- Product mockup (pure CSS) ---------- */
.hero-visual { position: relative; }
.mockup {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(139, 92, 246, .12), 0 0 90px rgba(139, 92, 246, .14);
  overflow: hidden;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--card-border);
  padding: 12px 16px;
}
.mock-dot { width: 11px; height: 11px; border-radius: 50%; background: #3a3457; }
.mock-dot:first-child { background: #f87171; }
.mock-dot:nth-child(2) { background: #fbbf24; }
.mock-dot:nth-child(3) { background: #34d399; }
.mock-url {
  margin-left: 10px;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 3px 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.mockup-body { display: flex; min-height: 380px; }
.mock-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 52px;
  flex-shrink: 0;
  padding: 16px 0;
  border-right: 1px solid var(--card-border);
  background: var(--bg-soft);
}
.mock-side-logo { color: var(--accent); font-size: 18px; }
.mock-side-icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px;
  color: var(--text-muted);
  font-size: 16px;
}
.mock-side-icon.active { background: var(--accent-soft); color: var(--accent); }
.mock-main { flex: 1; min-width: 0; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mock-greet { font-weight: 700; font-size: 16px; }
.mock-sub { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.mock-pill {
  flex-shrink: 0;
  font-size: 12px; font-weight: 700;
  color: #34d399;
  background: rgba(52, 211, 153, .12);
  border: 1px solid rgba(52, 211, 153, .3);
  border-radius: 999px;
  padding: 5px 10px;
}
.mock-chart-card {
  background: var(--bg-soft);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px 16px 10px;
}
.mock-chart-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); }
.mock-chart-head strong { color: var(--text); font-size: 15px; }
.mock-chart { width: 100%; height: 76px; margin-top: 8px; }
.mock-chart-x { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); padding: 0 2px; }
.mock-chat { display: flex; flex-direction: column; gap: 8px; }
.bubble {
  max-width: 88%;
  border-radius: 12px;
  padding: 10px 13px;
  font-size: 13.5px;
  line-height: 1.45;
}
.bubble.user {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.bubble.ai {
  align-self: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--card-border);
  border-bottom-left-radius: 4px;
  display: flex;
  gap: 8px;
}
.bubble.ai p { color: var(--text); }
.ai-mark { color: var(--accent); flex-shrink: 0; }
.bubble.typing { display: inline-flex; gap: 5px; padding: 12px 14px; width: auto; }
.bubble.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: typing 1.2s infinite; }
.bubble.typing span:nth-child(2) { animation-delay: .18s; }
.bubble.typing span:nth-child(3) { animation-delay: .36s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.float-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
  font-size: 13px;
  animation: float 5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 14px; }
.float-card span { color: var(--text-muted); font-size: 12px; }
.float-a { left: -16px; bottom: -46px; }
.float-b { right: -10px; top: -18px; animation-delay: 2.2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Sections shared ---------- */
section { scroll-margin-top: 82px; }
.section-eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-title {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-top: 12px;
}
.section-sub { text-align: center; color: var(--text-muted); margin: 12px auto 0; max-width: 580px; font-size: 17px; }

/* ---------- Features ---------- */
.features { padding: 96px 0 40px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color .2s, transform .2s;
}
.feature:hover { border-color: rgba(139, 92, 246, .55); transform: translateY(-3px); }
.feature-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
}
.feature-icon svg { width: 23px; height: 23px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 15px; }

/* ---------- How it works ---------- */
.how { padding: 80px 0 40px; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.step {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 20px; font-weight: 800;
}
.step h3 { margin: 18px 0 8px; font-size: 19px; }
.step p { color: var(--text-muted); font-size: 15px; }

/* ---------- Pricing ---------- */
.pricing { padding: 80px 0 40px; }
.billing-toggle {
  display: inline-flex;
  background: var(--bg-soft);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 5px;
  margin: 36px auto 0;
}
.pricing .billing-toggle { display: flex; width: max-content; }
.toggle-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 14px; font-weight: 700;
  padding: 9px 20px;
  border-radius: 999px;
}
.toggle-btn.active { background: var(--accent); color: #fff; }
.save-tag { font-size: 12px; opacity: .85; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  align-items: stretch;
}
.plan {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 24px 60px rgba(139, 92, 246, .18);
}
.plan-flag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px; font-weight: 800;
  letter-spacing: .04em;
  border-radius: 999px;
  padding: 5px 14px;
  white-space: nowrap;
}
.plan h3 { font-size: 20px; }
.plan-desc { color: var(--text-muted); font-size: 14px; margin-top: 4px; }
.plan-price { margin-top: 20px; font-size: 44px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.plan-price .currency { font-size: 24px; vertical-align: top; }
.plan-price .per { font-size: 15px; font-weight: 500; color: var(--text-muted); }
.plan-bill { font-size: 13px; color: var(--text-muted); margin-top: 8px; min-height: 20px; }
.plan-feats { list-style: none; margin-top: 22px; display: grid; gap: 11px; flex: 1; }
.plan-feats li { font-size: 15px; color: var(--text-muted); padding-left: 26px; position: relative; }
.plan-feats li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 80px 0 40px; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.testi {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testi-stars { color: var(--pink); letter-spacing: 3px; font-size: 15px; }
.testi-quote { font-size: 16px; line-height: 1.6; flex: 1; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: #fff;
  flex-shrink: 0;
}
.testi-who strong { display: block; font-size: 15px; }
.testi-who span { font-size: 13px; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq { padding: 80px 0 40px; }
.faq-inner { max-width: 780px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  margin-top: 12px;
  overflow: hidden;
}
.faq-item:first-of-type { margin-top: 40px; }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none;
  padding: 18px 20px;
  color: var(--text);
  font-size: 16px; font-weight: 600;
  text-align: left;
}
.faq-icon { font-size: 22px; color: var(--accent); font-weight: 400; transition: transform .25s ease; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 20px 18px; color: var(--text-muted); font-size: 15px; }

/* ---------- Final CTA ---------- */
.cta { padding: 60px 0 100px; }
.cta-band {
  background: linear-gradient(135deg, rgba(139, 92, 246, .28), rgba(232, 121, 249, .12));
  border: 1px solid rgba(139, 92, 246, .45);
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.cta-band > p { color: var(--text-muted); margin-top: 12px; font-size: 17px; }
.cta-form { margin: 32px auto 0; justify-content: center; }
.cta-form input { max-width: 300px; }
.cta-note { font-size: 13px; color: var(--text-muted); margin-top: 10px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--card-border); background: var(--bg-soft); padding: 56px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 12px; max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 14px; margin-bottom: 4px; }
.footer-col a { color: var(--text-muted); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--card-border);
    padding: 8px 4%;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-top: 1px solid var(--card-border); }
  .nav-links a:first-child { border-top: none; }
  .menu-toggle { display: flex; }
  .nav-signin { display: none; }
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-sub { max-width: none; }
  .float-a { left: 8px; }
  .float-b { right: 8px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .plan.featured { order: -1; }
  .testi-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .cta-band { padding: 48px 24px; }
}

/* ---------- Web3 3D layer (hero) ----------
   Pure CSS + vanilla JS. No libraries, no images, no WebGL.
   PERFORMANCE: every animation below animates ONLY transform
   and opacity (GPU-composited, no layout/paint thrash).
   The blur on the blobs is static — it is never animated.
   Stars are tiny 2px dots (~80 of them). Tilt is throttled
   with requestAnimationFrame and disabled on touch devices
   and when the user prefers reduced motion. */
.web3-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.stars { position: absolute; inset: 0; }
.stars span {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: #fff;
  opacity: .2;
  animation: twinkle var(--d, 3s) ease-in-out infinite;
  animation-delay: var(--dl, 0s);
}
@keyframes twinkle { 0%, 100% { opacity: .12; } 50% { opacity: .9; } }
.orb-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  animation: drift 16s ease-in-out infinite alternate;
}
.blob-a {
  width: 340px; height: 340px;
  right: 6%; top: -6%;
  background: radial-gradient(circle, rgba(139, 92, 246, .55), transparent 70%);
}
.blob-b {
  width: 260px; height: 260px;
  left: -4%; bottom: 6%;
  background: radial-gradient(circle, rgba(232, 121, 249, .35), transparent 70%);
  animation-duration: 20s;
  animation-delay: -6s;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-24px, 18px, 0) scale(1.08); }
}
/* 3D orbiting planet: glowing core + 3 spinning rings on a tilted plane */
.orb { position: absolute; right: -30px; top: 6%; width: 420px; height: 420px; }
.orb-core {
  position: absolute;
  left: 50%; top: 50%;
  width: 150px; height: 150px;
  margin: -75px 0 0 -75px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #c4b5fd 28%, #8b5cf6 55%, #4c1d95 100%);
  box-shadow: 0 0 60px rgba(139, 92, 246, .65), 0 0 140px rgba(139, 92, 246, .3);
  animation: core-pulse 5s ease-in-out infinite;
}
@keyframes core-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.orb-ring {
  position: absolute;
  left: 50%; top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, .55);
}
.orb-ring::after {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: #e879f9;
  box-shadow: 0 0 12px #e879f9;
}
.ring-a { width: 260px; height: 260px; margin: -130px 0 0 -130px; animation: spin-ring 14s linear infinite; }
.ring-b { width: 340px; height: 340px; margin: -170px 0 0 -170px; border-color: rgba(139, 92, 246, .35); animation: spin-ring 22s linear infinite reverse; }
.ring-c { width: 420px; height: 420px; margin: -210px 0 0 -210px; border-color: rgba(232, 121, 249, .22); border-style: dashed; animation: spin-ring 30s linear infinite; }
@keyframes spin-ring {
  from { transform: rotateX(72deg) rotateZ(0deg); }
  to   { transform: rotateX(72deg) rotateZ(360deg); }
}
/* 3D mouse tilt for the product mockup (JS drives transform only) */
.hero-visual { perspective: 1200px; }
.mockup { transform-style: preserve-3d; will-change: transform; transition: transform .3s ease-out; }

/* ---------- Reduced motion: all animation off ---------- */
@media (prefers-reduced-motion: reduce) {
  .stars span, .orb-blob, .orb-core, .orb-ring,
  .float-card, .eyebrow-dot, .bubble.typing span { animation: none !important; }
  .mockup { transition: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Web3 layer on small screens ---------- */
@media (max-width: 900px) {
  .orb { transform: scale(.55); right: -110px; top: -30px; opacity: .7; }
}
@media (max-width: 520px) {
  .orb, .orb-blob { display: none; }
}

@media (max-width: 520px) {
  .features-grid { grid-template-columns: 1fr; }
  .email-capture { flex-direction: column; }
  .email-capture .btn { width: 100%; }
  .mockup-body { min-height: 340px; }
  .mock-side { width: 44px; }
  .mock-main { padding: 14px; }
  .float-card { display: none; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .logos-row { gap: 18px; }
}
