/* ═══════════════════════════════════════════════════════════════
   Axilom Landing Page — Design System & Styles
   Matches the app's dark theme: sharp corners, glassmorphism,
   green accent, yellow CTAs.
   ═══════════════════════════════════════════════════════════════ */

/* ── Self-hosted fonts ─────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Google Sans Code';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/google-sans-code-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --bg: #060f11;
  --bg-surface: #0e1618;
  --bg-glass: rgba(14, 22, 24, 0.65);
  --bg-glass-hover: rgba(14, 22, 24, 0.85);
  --border: #23292c;
  --border-hover: #3a4245;

  --text: #f5f5f5;
  --text-secondary: #b0b0b0;
  --text-muted: #596267;

  --accent: #4ad393;
  --accent-glow: rgba(74, 211, 147, 0.15);
  --accent-glow-strong: rgba(74, 211, 147, 0.25);
  --cta: #f4ce67;
  --cta-dark: #0b1419;
  --danger: #de6d84;
  --info: #3b82f6;

  --font: 'Google Sans Code', 'Inter', 'Helvetica Neue', Arial, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Google Sans Code', 'Courier New', monospace;

  --nav-height: 64px;
  --container: 1120px;
  --section-spacing: 120px;
}

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

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-hover);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--border) var(--bg);
}

/* ── Base ───────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cta);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.85;
}

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

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.text-accent {
  color: var(--accent);
}

.text-muted {
  color: var(--text-muted);
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

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

section {
  padding: var(--section-spacing) 0;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  opacity: 1;
}

.btn-primary {
  background: var(--cta);
  color: var(--cta-dark);
  border-color: var(--cta);
}

.btn-primary:hover {
  background: transparent;
  color: var(--cta);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 0.9375rem;
}

.btn-full {
  width: 100%;
}

/* ── Glass card ─────────────────────────────────────────────── */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  padding: 32px;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.glass-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-glass-hover);
}

.card-accent {
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 20px;
}

.card-accent.accent-yellow {
  background: var(--cta);
}

.card-accent.accent-blue {
  background: var(--info);
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(6, 15, 17, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
  background: rgba(6, 15, 17, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.5px;
}

.logo-zero {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
  opacity: 1;
}

.nav-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 40px) 0 80px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    radial-gradient(
      ellipse at top left,
      rgba(0, 51, 51, 0.4) 0%,
      rgba(0, 60, 50, 0.2) 40%,
      var(--bg) 100%
    );
  background-size: 4.5px 4.5px, 100% 100%;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 50% at 50% 50%,
      rgba(74, 211, 147, 0.08) 0%,
      rgba(74, 211, 147, 0.03) 30%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 40% at 30% 40%,
      rgba(74, 211, 147, 0.06) 0%,
      transparent 60%
    );
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
}

.hero-text {
  max-width: 700px;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: 24px auto 32px;
  line-height: 1.7;
  max-width: 560px;
}

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

.hero-note {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Browser frame mockup */
.browser-frame {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(74, 211, 147, 0.06);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
}

.browser-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.6), 0 0 80px rgba(74, 211, 147, 0.1);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(14, 22, 24, 0.9);
  border-bottom: 1px solid var(--border);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.browser-dots span:first-child {
  background: #de6d84;
}

.browser-dots span:nth-child(2) {
  background: #f4ce67;
}

.browser-dots span:nth-child(3) {
  background: #4ad393;
}

.browser-url {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 12px;
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-content {
  line-height: 0;
}

.browser-content img {
  width: 100%;
  height: auto;
}

/* ═══════════════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════════════ */
#stats {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

.stats-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-icon {
  font-size: 1.25rem;
  color: var(--accent);
}

.stat-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}

/* ═══════════════════════════════════════════════════════════════
   PHILOSOPHY
   ═══════════════════════════════════════════════════════════════ */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.philosophy-grid .glass-card h3 {
  margin-bottom: 12px;
}

.philosophy-grid .glass-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════════════ */
#features {
  background: var(--bg-surface);
}

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

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.feature-card:hover {
  box-shadow: 0 0 40px var(--accent-glow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(74, 211, 147, 0.2);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════════ */
.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
}

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

.step-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cta-dark);
  background: var(--cta);
  border: 1px solid var(--cta);
  transition: all 0.3s;
}

.step:hover .step-number {
  background: transparent;
  color: var(--cta);
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: var(--border);
  margin-top: 28px;
  flex-shrink: 0;
  position: relative;
}

.step-connector::after {
  content: '→';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ═══════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════ */
#pricing {
  background: var(--bg-surface);
}

.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  border-color: var(--accent);
  box-shadow: 0 0 60px var(--accent-glow), 0 0 120px rgba(74, 211, 147, 0.05);
  padding: 48px 40px;
}

.pricing-card:hover {
  box-shadow: 0 0 80px var(--accent-glow-strong), 0 0 160px rgba(74, 211, 147, 0.08);
}

.pricing-header {
  margin-bottom: 32px;
}

.pricing-badge {
  display: inline-block;
  padding: 4px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cta-dark);
  background: var(--accent);
  margin-bottom: 24px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.pricing-value {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-tagline {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.pricing-features .check {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  padding: 0;
  cursor: pointer;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  list-style: none;
  user-select: none;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.3s, color 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  content: '−';
  color: var(--accent);
}

.faq-item[open] summary {
  color: var(--accent);
}

.faq-item[open] {
  border-color: var(--border-hover);
}

.faq-answer {
  padding: 0 24px 20px;
}

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

/* ═══════════════════════════════════════════════════════════════
   MEET ASM0
   ═══════════════════════════════════════════════════════════════ */
#meet-asm0 {
  background: var(--bg-surface);
}

.asm0-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.asm0-showcase .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.asm0-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.asm0-stage {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  padding: 48px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.asm0-faces {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.asm0-face {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--text);
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  cursor: default;
  transition: all 0.3s;
  white-space: nowrap;
}

.asm0-face:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════════════════════════ */
#final-cta {
  text-align: center;
  padding: var(--section-spacing) 0;
}

#final-cta .section-subtitle {
  margin-bottom: 32px;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
#footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
  background: var(--bg-surface);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .nav-logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 600;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--text);
  opacity: 1;
}

.footer-bottom {
  margin-top: 48px;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: var(--accent);
}

.footer-legal {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 8px;
}

.footer-legal button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.8125rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
  text-decoration: underline;
}

.footer-legal button:hover {
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════
   LEGAL MODALS
   ═══════════════════════════════════════════════════════════════ */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.legal-modal.open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.legal-modal__panel {
  position: relative;
  width: min(640px, 90vw);
  max-height: 80vh;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.legal-modal.open .legal-modal__panel {
  transform: translateY(0) scale(1);
}

.legal-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.legal-modal__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.legal-modal__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.legal-modal__close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.legal-modal__body {
  padding: 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.legal-modal__body::-webkit-scrollbar {
  width: 4px;
}

.legal-modal__body::-webkit-scrollbar-track {
  background: transparent;
}

.legal-modal__body::-webkit-scrollbar-thumb {
  background: var(--border);
}

.legal-section {
  margin-bottom: 24px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.legal-section p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 8px 0;
  padding-left: 24px;
}

.legal-section ul li {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 4px;
  position: relative;
  list-style: none;
}

.legal-section ul li::before {
  content: '—';
  position: absolute;
  left: -24px;
  color: var(--text-muted);
}

.legal-section--muted p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.legal-link {
  color: var(--cta);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.legal-link:hover {
  border-bottom-color: var(--cta);
  opacity: 1;
}

body.modal-open {
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   ASM0 FLOATING PET
   ═══════════════════════════════════════════════════════════════ */
#asm0-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: rgba(6, 15, 17, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 999;
  cursor: pointer;
  user-select: none;
  overflow: visible;
}

#asm0-pet {
  position: absolute;
  bottom: 6px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  transition: left 130ms linear, transform 130ms ease-in-out;
  pointer-events: none;
}

.asm0-effect {
  position: absolute;
  pointer-events: none;
  font-size: 11px;
  font-weight: 700;
  font-family: system-ui, sans-serif;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATION
   ═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.reveal:nth-child(4) {
  transition-delay: 0.3s;
}

.reveal:nth-child(5) {
  transition-delay: 0.35s;
}

.reveal:nth-child(6) {
  transition-delay: 0.4s;
}

/* ═══════════════════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
@keyframes asm0Breathe {
  0%, 100% {
    transform: translateX(-50%) scale(1);
  }

  50% {
    transform: translateX(-50%) scale(1.06);
  }
}

@keyframes asm0Float {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-3px);
  }
}

@keyframes asm0Msg {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(4px) scale(0.8);
  }

  15% {
    opacity: 1;
    transform: translateX(-50%) translateY(-14px) scale(1);
  }

  70% {
    opacity: 1;
    transform: translateX(-50%) translateY(-16px) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-24px) scale(0.9);
  }
}

@keyframes asm0Heart {
  0% {
    opacity: 1;
    transform: translateY(0) scale(0.8);
  }

  60% {
    opacity: 1;
    transform: translateY(-18px) scale(1.1);
  }

  100% {
    opacity: 0;
    transform: translateY(-28px) scale(0.6);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 60px var(--accent-glow), 0 0 120px rgba(74, 211, 147, 0.05);
  }

  50% {
    box-shadow: 0 0 80px var(--accent-glow-strong), 0 0 160px rgba(74, 211, 147, 0.1);
  }
}

.pricing-card {
  animation: pulseGlow 4s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-spacing: 80px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

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

  .asm0-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .asm0-showcase .section-title {
    text-align: center;
  }

  .asm0-text {
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-spacing: 64px;
    --nav-height: 56px;
  }

  /* Nav mobile */
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(6, 15, 17, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero mobile */
  h1 {
    font-size: 2.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* Stats mobile */
  .stats-grid {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  /* Features mobile */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Steps mobile */
  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .step-connector {
    width: 2px;
    height: 40px;
    margin: 0;
  }

  .step-connector::after {
    content: '↓';
    right: 50%;
    top: auto;
    bottom: -4px;
    transform: translateX(50%);
  }

  /* Pricing mobile */
  .pricing-features {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  /* Footer mobile */
  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    gap: 40px;
  }

  /* ASM0 showcase mobile */
  .asm0-faces {
    gap: 12px;
  }

  .asm0-face {
    font-size: 1rem;
    padding: 8px 12px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .glass-card {
    padding: 24px;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .btn-lg {
    padding: 12px 24px;
    font-size: 0.875rem;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .pricing-card {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Account for ASM0 bar at the bottom */
body {
  padding-bottom: 36px;
}
