/* ═══════════════════════════════════════════════════════════════
   DVELOP ATLAS — MARKETING DESIGN SYSTEM v4
   Glass theme matching the Atlas app (apps/web tokens.css):
   deep space navy, frosted glass, indigo/blue accents.
   Used by: page-home.php + all marketing/legal subpages.
═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #05051a;
  --bg-dim: rgba(5, 5, 26, 0.55);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --glass-hover: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.14);
  --border-soft: rgba(255, 255, 255, 0.08);
  --radius: 18px;
  --radius-sm: 10px;
  --radius-chip: 999px;
  --blur: 22px;
  --text: #e9e9ff;
  --muted: #a3a3c7;
  --faint: rgba(163, 163, 199, 0.55);
  --accent: #7c7cff;
  --accent-soft: rgba(124, 124, 255, 0.18);
  --brand-blue: #0a84ff;
  --ok: #6fd3a3;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.atlas-marketing {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.atlas-marketing a { color: inherit; text-decoration: none; }
.atlas-marketing img, .atlas-marketing canvas, .atlas-marketing video { max-width: 100%; display: block; }

/* ── Ambient background: starfield + aurora wash ─────────────── */
.atl-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(124, 124, 255, 0.14), transparent 60%),
    radial-gradient(1000px 700px at 8% 110%, rgba(10, 132, 255, 0.12), transparent 55%),
    var(--bg);
}
.atl-bg::before {
  /* twinkling star layers via tiled radial dots */
  content: "";
  position: absolute;
  inset: -50%;
  background-image:
    radial-gradient(1.2px 1.2px at 22% 31%, rgba(255,255,255,0.8), transparent 55%),
    radial-gradient(1px 1px at 68% 12%, rgba(255,255,255,0.55), transparent 55%),
    radial-gradient(1.4px 1.4px at 44% 74%, rgba(199,210,254,0.7), transparent 55%),
    radial-gradient(1px 1px at 84% 56%, rgba(255,255,255,0.5), transparent 55%),
    radial-gradient(1.1px 1.1px at 8% 88%, rgba(199,210,254,0.6), transparent 55%),
    radial-gradient(1px 1px at 55% 42%, rgba(255,255,255,0.45), transparent 55%);
  background-size: 640px 640px;
  animation: atl-drift 240s linear infinite;
  opacity: 0.7;
}
@keyframes atl-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-320px, -320px, 0); }
}
/* cursor-follow glow (position set by JS via CSS vars) */
.atl-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(560px 560px at var(--mx, 70%) var(--my, 25%), rgba(124, 124, 255, 0.1), transparent 65%);
  transition: opacity 0.4s var(--ease);
}

/* ── Nav ─────────────────────────────────────────────────────── */
.atl-nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px 8px 16px;
  width: min(1060px, calc(100vw - 28px));
  border-radius: var(--radius-chip);
  background: rgba(9, 9, 34, 0.55);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.atl-nav.scrolled { background: rgba(9, 9, 34, 0.8); box-shadow: var(--shadow); }
.atl-nav__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  margin-right: auto;
  white-space: nowrap;
}
.atl-nav__brand svg { width: 22px; height: 22px; flex: none; }
.atl-nav__brand img { width: 26px; height: 26px; flex: none; object-fit: contain; }
.atl-nav__links { display: flex; align-items: center; gap: 2px; }
.atl-nav__links a {
  padding: 8px 13px;
  border-radius: var(--radius-chip);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.atl-nav__links a:hover { color: var(--text); background: var(--glass); }
.atl-nav__cta {
  padding: 9px 18px;
  border-radius: var(--radius-chip);
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), var(--accent));
  box-shadow: 0 4px 18px rgba(10, 132, 255, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.atl-nav__cta:hover { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(10, 132, 255, 0.5); }
.atl-nav__toggle { display: none; }

/* ── Layout helpers ──────────────────────────────────────────── */
.atl-wrap { position: relative; z-index: 1; }
.atl-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 110px 24px 80px;
}
.atl-container { width: min(1120px, 100%); margin: 0 auto; position: relative; }

/* ── Glass card primitives ───────────────────────────────────── */
.atl-glass {
  background: var(--glass);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}
.atl-glass--hover { transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.atl-glass--hover:hover {
  background: var(--glass-hover);
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* buttons */
.atl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 0;
  border-radius: var(--radius-chip);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.atl-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), var(--accent));
  box-shadow: 0 6px 24px rgba(10, 132, 255, 0.4);
}
.atl-btn--primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 36px rgba(10, 132, 255, 0.55); }
.atl-btn--ghost {
  color: var(--text);
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}
.atl-btn--ghost:hover { background: var(--glass-strong); transform: translateY(-2px); }

/* section reveal */
.atl-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.atl-reveal.visible { opacity: 1; transform: none; }
.atl-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.atl-stagger.visible > * { opacity: 1; transform: none; }
.atl-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.atl-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.atl-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.atl-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }

/* ── Globe canvas (fixed behind content, JS-driven) ──────────── */
#atlGlobe {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.atl-globe-fallback {
  /* no-WebGL / no-JS: static planet disc */
  position: fixed;
  right: -8vw;
  top: 6vh;
  width: 46vw;
  height: 46vw;
  max-width: 640px;
  max-height: 640px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(120, 180, 255, 0.35), transparent 55%),
    radial-gradient(circle at 60% 60%, #10306b 0%, #081231 60%, #04040f 100%);
  box-shadow: 0 0 120px rgba(10, 132, 255, 0.25), inset -40px -30px 90px rgba(0, 0, 0, 0.7);
  z-index: 0;
  pointer-events: none;
  display: none;
}
.no-webgl .atl-globe-fallback { display: block; }
.no-webgl #atlGlobe { display: none; }

/* ═══ PANEL 1 — HERO ═════════════════════════════════════════ */
.atl-hero { padding-top: 150px; }
.atl-hero__inner { max-width: 640px; }
.atl-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-chip);
  background: var(--accent-soft);
  border: 1px solid rgba(124, 124, 255, 0.3);
  color: #c7c7ff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.atl-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: atl-pulse 2.4s ease-in-out infinite; }
@keyframes atl-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.atl-h1 {
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.atl-h1 .line { display: block; overflow: hidden; }
.atl-h1 .word { display: inline-block; transform: translateY(110%); animation: atl-rise 0.9s var(--ease) forwards; }
.atl-h1 .line:nth-child(2) .word { animation-delay: 0.12s; }
@keyframes atl-rise { to { transform: none; } }
.atl-h1 .grad {
  background: linear-gradient(100deg, #9ecbff 0%, var(--brand-blue) 45%, var(--accent) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: atl-rise 0.9s var(--ease) forwards, atl-sheen 6s ease-in-out infinite;
  animation-delay: 0.12s, 0s;
}
@keyframes atl-sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

/* Generic gradient text for subpage headings (no rise animation) */
.atl-page .grad,
.atl-sectionhead .grad {
  background: linear-gradient(100deg, #9ecbff 0%, var(--brand-blue) 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.atl-hero__sub { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 480px; margin-bottom: 34px; }
.atl-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.atl-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-chip);
  background: var(--glass);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}
.atl-chip:hover { border-color: rgba(124, 124, 255, 0.5); transform: translateY(-2px); background: var(--glass-hover); }
.atl-chip svg { width: 15px; height: 15px; color: var(--accent); }
.atl-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.atl-scrollcue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.atl-scrollcue::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: atl-cue 1.8s ease-in-out infinite;
}
@keyframes atl-cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ═══ PANEL 2 — LOGIN RING ═══════════════════════════════════ */
.atl-login { text-align: center; }
.atl-login__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
}
.atl-ring {
  position: relative;
  width: min(420px, 82vw);
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.atl-ring::before,
.atl-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(124, 200, 255, 0.5);
  box-shadow: 0 0 44px rgba(10, 132, 255, 0.35), inset 0 0 44px rgba(10, 132, 255, 0.12);
}
.atl-ring::after {
  inset: -16px;
  border-color: rgba(124, 124, 255, 0.16);
  box-shadow: none;
  animation: atl-spin 26s linear infinite;
  border-style: dashed;
}
@keyframes atl-spin { to { transform: rotate(360deg); } }
.atl-ring__card {
  position: relative;
  z-index: 1;
  width: 78%;
  padding: 36px 30px;
  border-radius: var(--radius);
  background: rgba(9, 9, 34, 0.65);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.atl-ring__card h2 { font-size: 22px; font-weight: 700; letter-spacing: 0.18em; }
.atl-ring__card p { font-size: 13.5px; color: var(--muted); }
.atl-login__side { text-align: left; padding: 24px; }
.atl-login__side h3 { font-size: 15px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 10px; text-transform: uppercase; }
.atl-login__side p { font-size: 13.5px; color: var(--muted); }

/* ═══ PANEL 3 — FEATURE CARDS (Atlas demo previews) ══════════ */
.atl-features h2, .atl-sectionhead {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.atl-sectionsub { color: var(--muted); max-width: 560px; margin-bottom: 46px; font-size: 16px; }
.atl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.atl-card { padding: 22px; display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; }
.atl-card::before {
  /* accent glow on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 240px at var(--cx, 50%) var(--cy, 0%), rgba(124, 124, 255, 0.14), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.atl-card:hover::before { opacity: 1; }
.atl-card__label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.atl-card h3 { font-size: 18px; font-weight: 700; }
.atl-card p { font-size: 13.5px; color: var(--muted); flex: 1; }

/* mini mock-UI previews inside cards — "a demo of Atlas" */
.atl-mock {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: rgba(5, 5, 26, 0.6);
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  min-height: 120px;
}
.atl-mock__row { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.atl-mock__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.atl-mock__bar { height: 7px; border-radius: 4px; background: var(--glass-strong); }
.atl-mock__chart { display: flex; align-items: flex-end; gap: 6px; height: 74px; padding-top: 8px; }
.atl-mock__col { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(to top, rgba(10, 132, 255, 0.7), rgba(124, 124, 255, 0.85)); transform: scaleY(0); transform-origin: bottom; transition: transform 0.8s var(--ease); }
.visible .atl-mock__col { transform: scaleY(1); }
.visible .atl-mock__col:nth-child(2) { transition-delay: 0.1s; }
.visible .atl-mock__col:nth-child(3) { transition-delay: 0.2s; }
.visible .atl-mock__col:nth-child(4) { transition-delay: 0.3s; }
.visible .atl-mock__col:nth-child(5) { transition-delay: 0.4s; }
.atl-mock__cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.atl-mock__day { aspect-ratio: 1; border-radius: 4px; background: var(--glass); }
.atl-mock__day.on { background: rgba(10, 132, 255, 0.55); box-shadow: 0 0 8px rgba(10, 132, 255, 0.4); }
.atl-typing::after { content: "▍"; animation: atl-blink 1.1s steps(1) infinite; color: var(--accent); }
@keyframes atl-blink { 50% { opacity: 0; } }

/* ═══ PANEL 4 — CTA + FOOTER ═════════════════════════════════ */
.atl-cta { min-height: 72vh; text-align: center; align-items: center; }
.atl-cta__inner { max-width: 640px; margin: 0 auto; }
.atl-cta h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; }
.atl-cta p { color: var(--muted); margin-bottom: 34px; font-size: 17px; }
.atl-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-soft);
  padding: 34px 24px;
  background: rgba(5, 5, 26, 0.7);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}
.atl-footer__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.atl-footer__brand { display: inline-flex; align-items: center; gap: 12px; }
.atl-footer__banner { height: 26px; width: auto; background: rgba(255, 255, 255, 0.92); padding: 5px 9px; border-radius: 8px; box-sizing: content-box; }
.atl-footer__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.atl-footer__links a { color: var(--muted); transition: color 0.2s var(--ease); }
.atl-footer__links a:hover { color: var(--text); }

/* ═══ Subpage (marketing/legal) shared layout ════════════════ */
.atl-page { position: relative; z-index: 1; padding: 150px 24px 90px; }
.atl-page__inner { width: min(880px, 100%); margin: 0 auto; }
.atl-page h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.atl-page .atl-updated { color: var(--faint); font-size: 13px; margin-bottom: 40px; }
.atl-page h2 { font-size: 22px; font-weight: 700; margin: 42px 0 12px; }
.atl-page h3 { font-size: 17px; font-weight: 600; margin: 28px 0 8px; }
.atl-page p, .atl-page li { color: var(--muted); font-size: 15px; }
.atl-page ul, .atl-page ol { padding-left: 22px; margin: 10px 0; }
.atl-page strong { color: var(--text); }
.atl-page a { color: #9ecbff; }
.atl-page a:hover { text-decoration: underline; }
.atl-prose-card { padding: 34px clamp(20px, 4vw, 44px); }

/* ═══ Responsive ═════════════════════════════════════════════ */
@media (max-width: 980px) {
  .atl-login__grid { grid-template-columns: 1fr; }
  .atl-login__side { text-align: center; }
  .atl-cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .atl-nav__links { display: none; }
  .atl-nav.open .atl-nav__links {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 12px;
    border-radius: var(--radius);
    background: rgba(9, 9, 34, 0.92);
    border: 1px solid var(--border-soft);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
  }
  .atl-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: var(--glass);
    color: var(--text);
    cursor: pointer;
  }
  .atl-section { padding: 96px 18px 60px; }
  .atl-hero { padding-top: 120px; }
  .atl-hero__inner { max-width: 100%; }
}

/* ═══ Scroll-scrubbed background video (big bang -> starfield) ═ */
.atl-bgvideo {
  position: fixed;
  inset: 0;
  z-index: 0;             /* after .atl-bg in DOM, before the globe canvas */
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  pointer-events: none;
  filter: brightness(0.62) saturate(1.1);
  -webkit-mask-image: linear-gradient(100deg, rgba(0, 0, 0, 0.3), #000 52%);
  mask-image: linear-gradient(100deg, rgba(0, 0, 0, 0.3), #000 52%);
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.atl-bgvideo.ready { opacity: 1; }

/* ═══ Use-case marquee ═══════════════════════════════════════ */
.atl-marquee-sec { padding: 40px 0 110px; position: relative; z-index: 1; }
.atl-marquee-sec .atl-sectionsub { text-align: center; margin: 0 auto 34px; }
.atl-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  padding: 6px 0;
}
.atl-marquee + .atl-marquee { margin-top: 14px; }
.atl-marquee__track { display: flex; gap: 12px; width: max-content; animation: atl-marquee 46s linear infinite; }
.atl-marquee--rev .atl-marquee__track { animation-direction: reverse; animation-duration: 54s; }
.atl-marquee:hover .atl-marquee__track { animation-play-state: paused; }
@keyframes atl-marquee { to { transform: translateX(-50%); } }
.atl-usecase {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  padding: 11px 18px;
  border-radius: var(--radius-chip);
  background: var(--glass);
  border: 1px solid var(--border-soft);
  font-size: 14px;
  color: var(--text);
}
.atl-usecase .ico { font-size: 15px; line-height: 1; }

/* ═══ Atlas UI overlay on the globe (demo section) ═══════════ */
/* Tour section: copy sits right, globe parks center-left */
.atl-tour { display: flex; align-items: center; }
.atl-tour__inner { display: flex; }
.atl-tour__copy { margin-left: auto; width: min(430px, 100%); }

.atl-globe-ui {
  /* hugs the globe parked center-left during the tour section */
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 60vw;
  max-width: 900px;
  height: 76vh;
  z-index: 2;
  pointer-events: none;
}
.atl-globe-ui > * {
  position: absolute;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
body.atl-demo-active .atl-globe-ui > * { opacity: 1; transform: none; }
body.atl-demo-active .atl-globe-ui .atl-gui-pin    { transition-delay: 0.1s; }
body.atl-demo-active .atl-globe-ui .atl-gui-layers { transition-delay: 0.28s; }
body.atl-demo-active .atl-globe-ui .atl-gui-chat   { transition-delay: 0.46s; }
.atl-gui-card {
  background: rgba(10, 10, 36, 0.72);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
  font-size: 12.5px;
  color: var(--text);
}
.atl-gui-pin { left: 22%; top: 7%; padding: 11px 15px; }
.atl-gui-pin::after {
  /* leader line rising up from the location dot to the card */
  content: "";
  position: absolute;
  left: 24px;
  top: 100%;
  width: 1.5px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(10, 132, 255, 0.25), var(--brand-blue));
}
.atl-gui-pin .row { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.atl-gui-pin .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-blue); box-shadow: 0 0 10px var(--brand-blue); animation: atl-pulse 2s ease-in-out infinite; }
.atl-gui-pin .sub { color: var(--muted); font-size: 11.5px; margin-top: 3px; }
.atl-gui-layers { left: 2.5%; top: 1%; padding: 12px 14px; min-width: 168px; }
.atl-gui-pin { z-index: 2; }
.atl-gui-layers .hd { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.atl-gui-layers .ly { display: flex; align-items: center; gap: 8px; padding: 4px 0; color: var(--muted); }
.atl-gui-layers .ly .lyDot { width: 8px; height: 8px; border-radius: 50%; flex: none; box-shadow: 0 0 8px currentColor; }
.atl-gui-chat {
  left: 3%;
  bottom: -7%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-chip);
  min-width: 260px;
  color: var(--muted);
}
.atl-gui-chat .spark { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: atl-pulse 1.6s ease-in-out infinite; }

@media (max-width: 980px) {
  .atl-globe-ui { display: none; }
}

/* ═══ Reduced motion ═════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .atl-bg::before, .atl-ring::after, .atl-kicker .dot, .atl-scrollcue::after,
  .atl-h1 .grad { animation: none; }
  .atl-h1 .word { transform: none; animation: none; }
  .atl-reveal, .atl-stagger > * { opacity: 1; transform: none; transition: none; }
  .atl-mock__col { transform: scaleY(1); transition: none; }
  #atlGlobe { display: none; }
  .atl-globe-fallback { display: block; }
  .atl-bgvideo { display: none; }
  .atl-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .atl-globe-ui > *, body.atl-demo-active .atl-globe-ui > * { transition: none; opacity: 1; transform: none; }
}
