/* ════════════════════════════════════════════════════════════════
   Aether AI — futuristic marketing site
   Design system: neo-cyber dark, electric gradients,
   glass surfaces, soft glow, monospace accents.
   ════════════════════════════════════════════════════════════════ */

:root {
  --ae-bg:        #06080f;
  --ae-bg-2:      #0a0f1f;
  --ae-surface:   rgba(15, 21, 38, 0.7);
  --ae-surface-2: rgba(20, 28, 50, 0.55);
  --ae-border:    rgba(140, 160, 220, 0.14);
  --ae-border-strong: rgba(140, 160, 220, 0.28);
  --ae-text:      #e7ecf7;
  --ae-text-dim:  #8a93ab;
  --ae-text-mute: #5b6480;

  --ae-orange:    #ff8a3d;
  --ae-amber:     #fbbf24;
  --ae-rust:      #d97757;
  --ae-mint:      #34d399;
  --ae-pink:      #ff6ec7;
  --ae-deep:      #ff6420;

  --ae-grad-main: linear-gradient(135deg, #ff8a3d 0%, #fbbf24 50%, #d97757 100%);
  --ae-grad-warm: linear-gradient(135deg, #ff6420 0%, #fbbf24 100%);
  --ae-grad-cool: linear-gradient(135deg, #fbbf24 0%, #ff6420 100%);

  --ae-shadow-glow: 0 10px 40px -10px rgba(255, 138, 61, 0.55);
  --ae-shadow-card: 0 18px 50px -22px rgba(0, 0, 0, 0.6);

  --ae-radius:    14px;
  --ae-radius-lg: 22px;

  --ae-mono: 'JetBrains Mono', 'Space Mono', ui-monospace, monospace;
  --ae-font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--ae-bg);
  color: var(--ae-text);
  font-family: var(--ae-font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: rgba(255, 138, 61, 0.4); color: #fff; }

/* ─── Background layers ──────────────────────────────────────── */
.ae-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 138, 61, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(251, 191, 36, 0.10), transparent 60%),
    var(--ae-bg);
}
#ae-grid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.6;
}
.ae-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  animation: ae-float 18s ease-in-out infinite;
}
.ae-glow-1 { width: 480px; height: 480px; background: #ff8a3d; top: -120px; left: -120px; }
.ae-glow-2 { width: 520px; height: 520px; background: #fbbf24; top: 30%; right: -200px; animation-delay: -6s; }
.ae-glow-3 { width: 400px; height: 400px; background: #d97757; bottom: -180px; left: 30%; animation-delay: -12s; }
@keyframes ae-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.1); }
  66%      { transform: translate(-30px, 40px) scale(0.95); }
}
.ae-scanline {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(255,255,255,0.012) 2px, rgba(255,255,255,0.012) 3px);
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* ─── Layout / shell ─────────────────────────────────────────── */
.ae-body { position: relative; min-height: 100vh; }
.ae-main { position: relative; z-index: 1; }

.ae-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ─── Nav ────────────────────────────────────────────────────── */
.ae-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 8, 15, 0.65);
  border-bottom: 1px solid var(--ae-border);
  transition: background .25s, border-color .25s;
}
.ae-nav.scrolled {
  background: rgba(6, 8, 15, 0.88);
  border-bottom-color: var(--ae-border-strong);
}
.ae-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ae-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ae-text);
  font-weight: 600;
  letter-spacing: -0.5px;
}
.ae-brand-mark {
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 14px rgba(255, 138, 61, 0.5));
  animation: ae-mark-spin 14s linear infinite;
}
@keyframes ae-mark-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.ae-brand-text {
  font-size: 19px;
  font-family: var(--ae-font);
}
.ae-brand-text span {
  background: var(--ae-grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ae-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ae-nav-links > a,
.ae-nav-trigger {
  position: relative;
  color: var(--ae-text-dim);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  background: none;
  border: none;
  transition: color .18s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ae-nav-links > a:hover,
.ae-nav-trigger:hover,
.ae-nav-links > a.active,
.ae-nav-trigger.active {
  color: var(--ae-text);
}
.ae-nav-links > a.active::after,
.ae-nav-trigger.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--ae-grad-main);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(255, 138, 61, 0.6);
}
.ae-nav-secondary {
  color: var(--ae-text-dim);
  font-size: 14px;
  padding: 8px 14px;
}

/* Restore CTA button appearance when nested inside the nav link rule */
.ae-nav-links > a.ae-cta {
  background: linear-gradient(135deg, #ff8a3d 0%, #fbbf24 50%, #d97757 100%) !important;
  background-size: 200% 200% !important;
  color: #06080f !important;
  box-shadow: 0 8px 28px -8px rgba(255, 138, 61, 0.6) !important;
  border-radius: 999px !important;
}
.ae-nav-links > a.ae-cta:hover {
  background-position: 100% 50% !important;
  box-shadow: 0 14px 40px -8px rgba(255, 138, 61, 0.8) !important;
  color: #06080f !important;
  transform: translateY(-2px);
}

/* dropdown */
.ae-dropdown { position: relative; }
.ae-dropdown .caret { transition: transform .2s; }
.ae-dropdown.open .caret { transform: rotate(180deg); }
.ae-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 320px;
  background: rgba(12, 16, 30, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--ae-border-strong);
  border-radius: var(--ae-radius);
  padding: 8px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 138, 61, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 999;
}
.ae-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.ae-dropdown.open .ae-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.ae-dropdown-menu a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ae-text);
  transition: background .15s;
}
.ae-dropdown-menu a:hover { background: rgba(255, 138, 61, 0.12); }
.ae-dropdown-menu strong { display: block; font-size: 14px; font-weight: 600; }
.ae-dropdown-menu em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  color: var(--ae-text-dim);
}
.ae-menu-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ae-grad-main);
  color: #06080f;
  font-weight: 700;
  flex-shrink: 0;
}

/* burger */
.ae-burger {
  display: none;
  background: none;
  border: 1px solid var(--ae-border-strong);
  border-radius: 8px;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
}
.ae-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ae-text);
  border-radius: 2px;
  transition: transform .2s;
}

/* CTA buttons */
.ae-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ae-grad-main);
  background-size: 200% 200%;
  color: #06080f !important;
  font-weight: 600;
  font-size: 14px;
  border: none;
  transition: transform .2s, box-shadow .2s, background-position .8s;
  box-shadow: 0 8px 28px -8px rgba(255, 138, 61, 0.6);
  overflow: hidden;
  isolation: isolate;
}
.ae-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform .8s;
  z-index: -1;
}
.ae-cta:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 14px 40px -8px rgba(255, 138, 61, 0.8);
}
.ae-cta:hover::before { transform: translateX(100%); }
.ae-cta-sm { padding: 9px 16px; font-size: 13px; }
.ae-cta-lg { padding: 16px 30px; font-size: 16px; }

.ae-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(140, 160, 220, 0.06);
  border: 1px solid var(--ae-border-strong);
  color: var(--ae-text) !important;
  font-weight: 500;
  font-size: 14px;
  transition: border-color .2s, background .2s, transform .2s;
}
.ae-cta-ghost:hover {
  border-color: rgba(255, 138, 61, 0.6);
  background: rgba(255, 138, 61, 0.08);
  transform: translateY(-2px);
}

/* ─── Hero ───────────────────────────────────────────────────── */
.ae-hero {
  padding: 100px 24px 80px;
  position: relative;
  z-index: 2;
}
.ae-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.ae-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 138, 61, 0.1);
  border: 1px solid rgba(255, 138, 61, 0.3);
  color: var(--ae-orange);
  font-family: var(--ae-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: ae-fade-up .8s .1s ease-out forwards;
}
.ae-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--ae-mint);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--ae-mint);
  animation: ae-pulse 2s ease-in-out infinite;
}
@keyframes ae-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.6; }
}

.ae-h1 {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  opacity: 0;
  animation: ae-fade-up .9s .2s ease-out forwards;
}
.ae-h1 .grad {
  background: var(--ae-grad-main);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ae-grad-shift 8s ease infinite;
}
@keyframes ae-grad-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.ae-h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.ae-h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.ae-h4 { font-size: 16px; font-weight: 600; margin: 0 0 6px; }

.ae-lede {
  max-width: 720px;
  margin: 0 auto 36px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ae-text-dim);
  line-height: 1.6;
  opacity: 0;
  animation: ae-fade-up .9s .35s ease-out forwards;
}
.ae-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  opacity: 0;
  animation: ae-fade-up .9s .5s ease-out forwards;
}

@keyframes ae-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* terminal under hero */
.ae-terminal {
  max-width: 760px;
  margin: 64px auto 0;
  background: linear-gradient(180deg, rgba(20, 26, 48, 0.85), rgba(12, 16, 30, 0.85));
  border: 1px solid var(--ae-border-strong);
  border-radius: var(--ae-radius);
  overflow: hidden;
  box-shadow: var(--ae-shadow-card), 0 0 0 1px rgba(255, 138, 61, 0.05) inset;
  text-align: left;
  opacity: 0;
  animation: ae-fade-up 1s .7s ease-out forwards;
}
.ae-terminal-head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--ae-border);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 11, 22, 0.6);
}
.ae-terminal-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.ae-terminal-dot.r { background: #ff6058; }
.ae-terminal-dot.y { background: #ffbd2e; }
.ae-terminal-dot.g { background: #27c93f; }
.ae-terminal-title {
  margin-left: 12px;
  font-family: var(--ae-mono);
  font-size: 12px;
  color: var(--ae-text-mute);
}
.ae-terminal-body {
  padding: 20px 22px 22px;
  font-family: var(--ae-mono);
  font-size: 13px;
  line-height: 1.85;
  color: var(--ae-text);
}
.ae-terminal-body .prompt { color: var(--ae-mint); }
.ae-terminal-body .arg    { color: var(--ae-amber); }
.ae-terminal-body .out    { color: var(--ae-text-dim); }
.ae-terminal-body .ok     { color: var(--ae-mint); }
.ae-terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--ae-mint);
  vertical-align: text-bottom;
  animation: ae-blink 1s steps(2) infinite;
}
@keyframes ae-blink { 50% { opacity: 0; } }

/* ─── Sections ───────────────────────────────────────────────── */
.ae-section {
  padding: 100px 24px;
  position: relative;
  z-index: 1;
}
.ae-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.ae-section-head .ae-eyebrow { animation: none; opacity: 1; }
.ae-section-head p {
  color: var(--ae-text-dim);
  font-size: 17px;
  margin: 14px 0 0;
}

/* trust strip */
.ae-trust {
  padding: 36px 24px;
  border-top: 1px solid var(--ae-border);
  border-bottom: 1px solid var(--ae-border);
  background: rgba(10, 14, 28, 0.4);
}
.ae-trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ae-trust-label {
  font-family: var(--ae-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ae-text-mute);
}
.ae-trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
}
.ae-trust-logos span {
  color: var(--ae-text-dim);
  font-family: var(--ae-mono);
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 500;
  opacity: 0.65;
  transition: opacity .2s, color .2s;
}
.ae-trust-logos span:hover { opacity: 1; color: var(--ae-text); }

/* ─── Service cards grid ─────────────────────────────────────── */
.ae-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}
.ae-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 640px) {
  .ae-grid-2 { grid-template-columns: 1fr; }
}

/* Perk / bonus card */
.ae-card-perk {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  background: rgba(251, 191, 36, 0.04);
  border-color: rgba(251, 191, 36, 0.2);
}
.ae-card-perk:hover { border-color: rgba(251, 191, 36, 0.5); }
.ae-perk-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--ae-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: var(--ae-amber);
  white-space: nowrap;
}
.ae-card {
  position: relative;
  padding: 28px 26px;
  background: var(--ae-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--ae-border);
  border-radius: var(--ae-radius);
  transition: transform .3s, border-color .3s, background .3s;
  overflow: hidden;
  isolation: isolate;
}
.ae-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--ae-grad-main);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
  z-index: -1;
}
.ae-card:hover {
  transform: translateY(-4px);
  background: var(--ae-surface-2);
}
.ae-card:hover::before { opacity: 1; }
.ae-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 138, 61, 0.18), rgba(251, 191, 36, 0.18));
  border: 1px solid rgba(255, 138, 61, 0.3);
  font-size: 24px;
  margin-bottom: 18px;
  color: var(--ae-orange);
  transition: transform .3s;
}
.ae-card:hover .ae-card-icon {
  transform: rotate(-6deg) scale(1.08);
}
.ae-card p {
  color: var(--ae-text-dim);
  font-size: 14.5px;
  margin: 0 0 18px;
}
.ae-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ae-amber);
  font-family: var(--ae-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: gap .2s;
}
.ae-card-link:hover { gap: 12px; }
.ae-card-link svg { transition: transform .2s; }
.ae-card-link:hover svg { transform: translateX(3px); }

/* feature card variant — wider, with bullets */
.ae-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}
.ae-feature.reverse { direction: rtl; }
.ae-feature.reverse > * { direction: ltr; }
.ae-feature-copy h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 12px 0 18px;
}
.ae-feature-copy p {
  color: var(--ae-text-dim);
  font-size: 16px;
  margin: 0 0 24px;
}
.ae-feature-list { list-style: none; padding: 0; margin: 0 0 28px; }
.ae-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  color: var(--ae-text);
  font-size: 15px;
}
.ae-feature-list li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ae-grad-main);
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
  box-shadow: 0 0 14px rgba(255, 138, 61, 0.5);
}

.ae-feature-visual {
  position: relative;
  border: 1px solid var(--ae-border-strong);
  border-radius: var(--ae-radius-lg);
  background: linear-gradient(180deg, rgba(20, 26, 48, 0.75), rgba(12, 16, 30, 0.75));
  padding: 24px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--ae-shadow-card);
}
.ae-feature-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(255, 138, 61, 0.25), transparent 50%),
              radial-gradient(circle at 80% 100%, rgba(251, 191, 36, 0.18), transparent 50%);
  pointer-events: none;
}

/* ─── Stats / counters ───────────────────────────────────────── */
.ae-stats {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
  background: var(--ae-border);
  border: 1px solid var(--ae-border-strong);
  border-radius: var(--ae-radius);
  overflow: hidden;
}
.ae-stat {
  padding: 32px 26px;
  background: var(--ae-bg-2);
  text-align: center;
}
.ae-stat-value {
  display: block;
  font-family: var(--ae-mono);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  background: var(--ae-grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  line-height: 1;
}
.ae-stat-label {
  margin-top: 10px;
  font-family: var(--ae-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ae-text-mute);
}

/* ─── Process / steps ────────────────────────────────────────── */
.ae-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  counter-reset: ae-step;
}
.ae-step {
  position: relative;
  padding: 28px 24px 26px;
  background: var(--ae-surface);
  border: 1px solid var(--ae-border);
  border-radius: var(--ae-radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  counter-increment: ae-step;
}
.ae-step::before {
  content: '0' counter(ae-step);
  display: block;
  font-family: var(--ae-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--ae-amber);
  margin-bottom: 14px;
}
.ae-step h3 {
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 600;
}
.ae-step p {
  color: var(--ae-text-dim);
  font-size: 14.5px;
  margin: 0;
}

/* ─── Testimonials ───────────────────────────────────────────── */
.ae-quote-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.ae-quote {
  padding: 30px 28px;
  background: var(--ae-surface);
  border: 1px solid var(--ae-border);
  border-radius: var(--ae-radius);
  position: relative;
}
.ae-quote::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 18px;
  font-size: 80px;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--ae-orange);
  opacity: 0.5;
}
.ae-quote blockquote {
  margin: 0 0 22px;
  padding: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ae-text);
}
.ae-quote cite {
  display: flex;
  align-items: center;
  gap: 12px;
  font-style: normal;
}
.ae-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ae-grad-main);
  display: grid;
  place-items: center;
  color: #06080f;
  font-weight: 700;
  font-size: 15px;
}
.ae-quote cite strong { display: block; font-weight: 600; }
.ae-quote cite span   { font-size: 13px; color: var(--ae-text-dim); }

/* ─── CTA banner ─────────────────────────────────────────────── */
.ae-cta-banner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 56px;
  background: linear-gradient(135deg, rgba(255, 138, 61, 0.18), rgba(251, 191, 36, 0.15));
  border: 1px solid var(--ae-border-strong);
  border-radius: var(--ae-radius-lg);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.ae-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 138, 61, 0.35), transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(251, 191, 36, 0.25), transparent 50%);
  z-index: -1;
}
.ae-cta-banner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.ae-cta-banner p {
  color: var(--ae-text-dim);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto 28px;
}

/* ─── Service hero (sub-pages) ───────────────────────────────── */
.ae-service-hero {
  padding: 80px 24px 60px;
  position: relative;
  z-index: 2;
}
.ae-service-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.ae-service-hero h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 16px 0 22px;
}
.ae-service-hero p {
  font-size: 18px;
  color: var(--ae-text-dim);
  margin: 0 0 28px;
  line-height: 1.6;
}

.ae-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.ae-pill {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 138, 61, 0.1);
  border: 1px solid rgba(255, 138, 61, 0.25);
  color: var(--ae-orange);
  font-family: var(--ae-mono);
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* mock dashboard panel */
.ae-mock {
  position: relative;
  background: linear-gradient(180deg, rgba(20, 26, 48, 0.85), rgba(10, 14, 28, 0.85));
  border: 1px solid var(--ae-border-strong);
  border-radius: var(--ae-radius-lg);
  padding: 20px;
  overflow: hidden;
  min-height: 380px;
  box-shadow: var(--ae-shadow-card), 0 0 60px -20px rgba(255, 138, 61, 0.3);
}
.ae-mock-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ae-border);
  margin-bottom: 16px;
}
.ae-mock-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(140,160,220,0.3); }
.ae-mock-dot.live { background: var(--ae-mint); box-shadow: 0 0 10px var(--ae-mint); animation: ae-pulse 2s infinite; }
.ae-mock-title {
  font-family: var(--ae-mono);
  font-size: 12px;
  color: var(--ae-text-dim);
  margin-left: 8px;
}
.ae-mock-tag {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--ae-mint);
  font-family: var(--ae-mono);
  font-size: 11px;
}

/* candlestick mini-chart */
.ae-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 140px;
  margin: 14px 0 18px;
  padding: 0 6px;
}
.ae-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--ae-amber), var(--ae-orange));
  border-radius: 3px;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  animation: ae-bar-grow .8s ease-out forwards;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}
.ae-bar.down { background: linear-gradient(180deg, var(--ae-pink), #ff8b3d); }
@keyframes ae-bar-grow {
  to { opacity: 0.9; transform: scaleY(1); }
}

.ae-mock-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.ae-mock-metric {
  padding: 12px 14px;
  background: rgba(8, 11, 22, 0.6);
  border: 1px solid var(--ae-border);
  border-radius: 8px;
}
.ae-mock-metric-label {
  font-family: var(--ae-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--ae-text-mute);
  text-transform: uppercase;
}
.ae-mock-metric-value {
  display: block;
  margin-top: 6px;
  font-family: var(--ae-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--ae-text);
}
.ae-mock-metric-value.up   { color: var(--ae-mint); }
.ae-mock-metric-value.down { color: #ff6e6e; }

/* chat bubbles inside mock */
.ae-mock-chat {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ae-bubble {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  animation: ae-fade-up .5s ease-out forwards;
}
.ae-bubble.user {
  align-self: flex-end;
  background: var(--ae-grad-main);
  color: #06080f;
  border-bottom-right-radius: 4px;
}
.ae-bubble.bot {
  align-self: flex-start;
  background: rgba(140, 160, 220, 0.08);
  border: 1px solid var(--ae-border);
  color: var(--ae-text);
  border-bottom-left-radius: 4px;
}

/* ─── Pricing ────────────────────────────────────────────────── */
.ae-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}
.ae-plan {
  position: relative;
  padding: 32px 30px;
  background: var(--ae-surface);
  border: 1px solid var(--ae-border);
  border-radius: var(--ae-radius);
  display: flex;
  flex-direction: column;
}
.ae-plan.featured {
  border-color: rgba(255, 138, 61, 0.5);
  background: linear-gradient(180deg, rgba(255, 138, 61, 0.08), rgba(251, 191, 36, 0.04));
  box-shadow: var(--ae-shadow-glow);
}
.ae-plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ae-grad-main);
  color: #06080f;
  font-family: var(--ae-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}
.ae-plan-name {
  font-family: var(--ae-mono);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ae-text-dim);
}
.ae-plan-price {
  margin: 12px 0 16px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.ae-plan-price small {
  font-size: 14px;
  color: var(--ae-text-dim);
  font-weight: 400;
}
.ae-plan p { color: var(--ae-text-dim); font-size: 14px; margin: 0 0 22px; }
.ae-plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}
.ae-plan ul li {
  padding: 9px 0;
  border-top: 1px solid var(--ae-border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}
.ae-plan ul li::before {
  content: '✓';
  color: var(--ae-mint);
  font-weight: 700;
}

/* ─── Forms ──────────────────────────────────────────────────── */
.ae-form {
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ae-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ae-field label {
  font-family: var(--ae-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ae-text-dim);
}
.ae-field input,
.ae-field select,
.ae-field textarea {
  padding: 12px 14px;
  background: rgba(8, 11, 22, 0.6);
  border: 1px solid var(--ae-border-strong);
  border-radius: 10px;
  color: var(--ae-text);
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color .2s, background .2s;
}
.ae-field input:focus,
.ae-field select:focus,
.ae-field textarea:focus {
  outline: none;
  border-color: var(--ae-orange);
  background: rgba(10, 14, 28, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.15);
}
.ae-field textarea { resize: vertical; min-height: 120px; }

/* ─── Reveal-on-scroll utility ──────────────────────────────── */
/* Hidden state only when JS is confirmed (html.ae-js). Without JS, content stays visible. */
html.ae-js .ae-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease-out, transform .9s ease-out;
}
html.ae-js .ae-reveal.in {
  opacity: 1;
  transform: translateY(0);
}
html.ae-js .ae-reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease-out, transform .8s ease-out;
}
html.ae-js .ae-reveal-stagger.in > *           { opacity: 1; transform: translateY(0); }
html.ae-js .ae-reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
html.ae-js .ae-reveal-stagger.in > *:nth-child(2) { transition-delay: 80ms; }
html.ae-js .ae-reveal-stagger.in > *:nth-child(3) { transition-delay: 160ms; }
html.ae-js .ae-reveal-stagger.in > *:nth-child(4) { transition-delay: 240ms; }
html.ae-js .ae-reveal-stagger.in > *:nth-child(5) { transition-delay: 320ms; }
html.ae-js .ae-reveal-stagger.in > *:nth-child(6) { transition-delay: 400ms; }

/* ─── Footer ─────────────────────────────────────────────────── */
.ae-footer {
  margin-top: 80px;
  border-top: 1px solid var(--ae-border);
  background: rgba(6, 8, 15, 0.6);
  position: relative;
  z-index: 2;
}
.ae-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
}
.ae-footer-brand .ae-brand { display: inline-flex; }
.ae-footer-blurb {
  color: var(--ae-text-dim);
  font-size: 14px;
  max-width: 280px;
  margin: 0;
}
.ae-footer-col h4 {
  font-family: var(--ae-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ae-text-mute);
  margin: 0 0 16px;
}
.ae-footer-col a,
.ae-footer-col span {
  display: block;
  padding: 5px 0;
  color: var(--ae-text-dim);
  font-size: 14px;
  transition: color .15s;
}
.ae-footer-col a:hover { color: var(--ae-text); }
.ae-footer-muted { color: var(--ae-text-mute); font-size: 13px; }
.ae-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid var(--ae-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ae-text-mute);
  font-family: var(--ae-mono);
  font-size: 11.5px;
  letter-spacing: 0.5px;
}
.ae-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ae-mint);
}
.ae-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ae-mint);
  box-shadow: 0 0 8px var(--ae-mint);
  animation: ae-pulse 2s infinite;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 920px) {
  .ae-burger { display: flex; }
  .ae-nav-links {
    position: fixed;
    top: 62px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: rgba(8, 11, 22, 0.97);
    border: 1px solid var(--ae-border-strong);
    border-radius: var(--ae-radius);
    gap: 4px;
    z-index: 200;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .ae-nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .ae-dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    background: rgba(8, 11, 22, 0.6);
    margin-top: 4px;
  }
  .ae-dropdown:hover .ae-dropdown-menu,
  .ae-dropdown:focus-within .ae-dropdown-menu { transform: none; }
  .ae-feature, .ae-service-hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ae-feature.reverse { direction: ltr; }
  .ae-footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .ae-section { padding: 70px 20px; }
  .ae-hero    { padding: 60px 20px 50px; }
}
@media (max-width: 580px) {
  .ae-nav-inner { padding: 12px 16px; gap: 12px; }
  .ae-footer-inner { grid-template-columns: 1fr; }
  .ae-cta-banner { padding: 44px 24px; }
  .ae-hero-cta { flex-direction: column; align-items: stretch; }
  .ae-hero-cta .ae-cta, .ae-hero-cta .ae-cta-ghost { justify-content: center; }
  .ae-hero { padding: 48px 16px 36px; }
  .ae-section { padding: 50px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .ae-glow { display: none; }
}
