/* SUPERSTORE ERP marketing site.
   Dark, Apple-style frosted glass over a fixed WebGL stage (see main.js). The glass is a web
   approximation (backdrop-filter + layered borders), not Apple's platform Liquid Glass.

   Shape rule: interactive controls are pills, surfaces use --radius, nested elements --radius-sm.
   Colour rule: one accent (--blue). Red/green appear only as meaning (bad/good, wait/no wait). */

@font-face {
  font-family: "Geist";
  src: url("https://cdn.jsdelivr.net/npm/geist@1.4.2/dist/fonts/geist-sans/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
}

:root {
  --bg: #050507;
  --ink: #f5f5f7;
  --muted: #a1a1a6;
  --faint: #6e6e73;
  --blue: #2997ff;
  --violet: #bf5af2;
  --teal: #40e0d0;
  --green: #30d158;
  --red: #ff453a;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --stroke: rgba(255, 255, 255, 0.14);
  --stroke-hi: rgba(255, 255, 255, 0.32);
  --radius: 28px;
  --radius-sm: 16px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Geist", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0; }
svg { display: block; }

/* ─── Stage & ambience ─── */
#stage {
  /* Sized by inset alone: 100vh on mobile browsers is the height *without* the address bar,
     which differs from the drawable height and stretched the scene vertically. */
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0; transition: opacity 1s var(--ease); /* fades in once the scene is built (main.js) */
}
#stage.ready { opacity: 1; }
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.aurora span {
  position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  filter: blur(90px); opacity: 0.35; animation: drift 24s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { background: #1b3cff; top: -20vmax; left: -15vmax; }
.aurora span:nth-child(2) { background: #1e3a8a; bottom: -25vmax; right: -20vmax; animation-delay: -8s; }
.aurora span:nth-child(3) { background: #0a8f86; top: 30vh; left: 35vw; width: 40vmax; height: 40vmax; opacity: 0.18; animation-delay: -16s; }
@keyframes drift { to { transform: translate3d(8vw, -6vh, 0) scale(1.15); } }

main, .footer, .nav { position: relative; z-index: 1; }

/* ─── Glass ─── */
.glass {
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
  border: 1px solid var(--stroke);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 30px 60px -20px rgba(0,0,0,0.6);
}

/* ─── Type helpers ─── */
.grad {
  background: linear-gradient(90deg, var(--blue), #64d2ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dim { color: var(--muted); }
.eyebrow {
  font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
h1 { font-size: clamp(44px, 7.2vw, 96px); line-height: 0.98; font-weight: 800; letter-spacing: -0.045em; }
h2 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.02; font-weight: 800; letter-spacing: -0.04em; }
h3 { font-size: 22px; line-height: 1.2; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--muted); margin-top: 24px; max-width: 640px; }
.sub { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); margin-top: 22px; max-width: 680px; }
.muted { color: var(--muted); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: 17px; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.btn-primary { background: #0071e3; color: #fff; box-shadow: 0 8px 20px -12px rgba(0,113,227,0.6); } /* 4.6:1 with white */
.btn-primary:hover { background: #0077ed; }
.btn-glass {
  background: rgba(255,255,255,0.08); border: 1px solid var(--stroke);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.btn-glass:hover { background: rgba(255,255,255,0.14); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* ─── Nav ─── */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(var(--wrap), calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 18px; border-radius: 999px; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; letter-spacing: 0.02em; }
.brand em { font-style: normal; color: var(--muted); font-weight: 600; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), #1d4ed8); font-weight: 800; font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}
.nav-links { display: flex; gap: 26px; font-size: 14px; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }

/* ─── Layout ─── */
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 160px 0; }

/* ─── Hero ─── */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto;
  padding-top: 80px; position: relative;
}
.hero-copy { max-width: 720px; }

/* ─── Cards & 3D tilt ─── */
.card { border-radius: var(--radius); padding: 32px; position: relative; }
.tilt {
  /* No preserve-3d: Chrome drops backdrop-filter on 3D-context elements, which kills the glass. */
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease), border-color .3s;
  will-change: transform;
}
.tilt:hover { border-color: var(--stroke-hi); }
.tilt::after { /* moving specular glare */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,0.14), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.tilt:hover::after { opacity: 1; }
.tilt > .icon3d, .tilt > .mod-icon { /* icon floats "above" the card: parallax shift against the tilt */
  transform: translate3d(calc(var(--ry, 0deg) / 1deg * 1.2px), calc(var(--rx, 0deg) / 1deg * -1.2px), 0);
  transition: transform .5s var(--ease);
}

.icon3d, .mod-icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm); display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(145deg, rgba(41,151,255,0.32), rgba(41,151,255,0.08));
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 14px 24px -14px rgba(41,151,255,0.55);
}
.icon3d i, .mod-icon i { font-size: 28px; color: #fff; line-height: 1; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }

/* Scroll-in reveal: rises from depth */
.reveal {
  opacity: 0;
  transform: perspective(1200px) translate3d(0, 60px, -120px) rotateX(18deg);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
/* Hero: visible from the first paint (good LCP); only position animates */
.hero-in { animation: hero-in 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes hero-in { from { transform: translateY(26px); } to { transform: none; } }
.tilt.reveal.in { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* ─── Problem: queue comparison ─── */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; }
.compare-card.accent { border-color: rgba(48,209,88,0.4); }
.lane {
  position: relative; height: 215px; margin: 28px 0; border-radius: var(--radius-sm); overflow: hidden;
  background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.45));
  border: 1px solid var(--stroke);
  container-type: inline-size;
}
.floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 54px;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), transparent 30%),
              repeating-linear-gradient(90deg, rgba(255,255,255,0.07) 0 1px, transparent 1px 44px),
              linear-gradient(180deg, #4a4f58, #1c1e22);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.crowd { position: absolute; inset: 0; z-index: 2; }
.wait-badge {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 5;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; padding: 5px 10px; border-radius: 999px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.wait-badge b { font-variant-numeric: tabular-nums; }
.wait-badge.bad { color: var(--red); background: rgba(255,69,58,0.14); border: 1px solid rgba(255,69,58,0.45); }
.wait-badge.good { color: var(--green); background: rgba(48,209,88,0.14); border: 1px solid rgba(48,209,88,0.45); }
.counter, .door {
  position: absolute; bottom: 40px; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
}
.counter {
  left: 10px; width: 70px; height: 58px; z-index: 3; border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #6a1f24, #3a1216);
  border: 1px solid rgba(255,69,58,0.55); color: #fff;
}
.door {
  right: 0; width: 64px; height: 150px; z-index: 4; border-radius: 10px 0 0 0;
  background: linear-gradient(90deg, rgba(48,209,88,0.05), rgba(48,209,88,0.35));
  border: 1px solid rgba(48,209,88,0.55); border-right: 0; color: #fff;
  box-shadow: -18px 0 40px -10px rgba(48,209,88,0.5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.counter span, .door span { position: absolute; top: 8px; }

/* People: articulated figures posed per frame by people.js */
.person { position: absolute; will-change: transform; }
.person-svg { display: block; overflow: visible; }

/* Supermarket backdrop behind both scenes */
.lane::before {
  content: ""; position: absolute; inset: -6px; z-index: 0;
  background: url(textures/supermarket.jpg) center 35% / cover no-repeat;
  filter: blur(1.5px) brightness(0.62) saturate(1.1);
}
.lane::after { /* light from above, darker floor */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.1) 55%, rgba(0,0,0,0.55) 100%);
}
.lane-queue::before { filter: blur(1.5px) brightness(0.5) saturate(0.55) sepia(0.15); }
.floor { z-index: 1; }
.lane-queue .crowd .person:first-child { z-index: 1; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.facts li { padding-left: 28px; position: relative; }
.facts li::before { position: absolute; left: 0; font-weight: 700; }
.facts.bad li::before { content: "✕"; color: var(--red); }
.facts.good li::before { content: "✓"; color: var(--green); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; border-radius: var(--radius); padding: 30px 8px; }
.stat { text-align: center; padding: 0 16px; }
.stat + .stat { border-left: 1px solid var(--stroke); }
.stat b { display: block; font-size: clamp(40px, 5vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.stat span { color: var(--muted); font-size: 15px; }

/* ─── Steps (pinned) ─── */
.steps { height: 520vh; position: relative; }
.steps-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
}
.step-progress { width: 180px; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.12); margin-bottom: 36px; overflow: hidden; }
.step-progress span { display: block; height: 100%; width: 0; background: var(--blue); border-radius: inherit; }
.step-stack { position: relative; min-height: 300px; }
.step {
  position: absolute; inset: 0 auto auto 0; max-width: 480px;
  opacity: 0; transform: translate3d(0, 40px, 0) rotateX(-20deg); transform-origin: 50% 100%;
  transition: opacity .7s var(--ease), transform .9s var(--ease);
  pointer-events: none;
}
.step.is-active { opacity: 1; transform: none; }
.step.is-past { opacity: 0; transform: translate3d(0, -40px, 0) rotateX(20deg); }

/* Flip card: turns edge-on, swaps to the next step, turns back. A single element (no
   preserve-3d / backface) so the frosted-glass backdrop blur keeps working in Chrome. */
.flip-card.tilt {
  position: relative; max-width: 520px; border-radius: var(--radius); padding: 44px 42px 64px;
  cursor: pointer; user-select: none; -webkit-user-select: none; outline: none;
  --tilt-y: -9deg; /* resting 3D angle; main.js reads it so the flip swaps exactly edge-on */
  transform: perspective(1100px)
             rotateY(calc(var(--flip, 0deg) + var(--ry, 0deg) + var(--tilt-y)))
             rotateX(calc(var(--rx, 0deg) + 4deg));
  transition: transform .5s var(--ease), background .4s, border-color .4s, box-shadow .4s;
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.22);
}
.flip-card.face-a {
  background: linear-gradient(150deg, rgba(41,151,255,0.30), rgba(64,224,208,0.10) 55%, rgba(255,255,255,0.04));
  border-color: rgba(100,210,255,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 0 0 1px rgba(41,151,255,0.12),
              -14px 0 40px -18px rgba(41,151,255,0.7), 0 40px 80px -30px rgba(0,0,0,0.75);
}
.flip-card.face-b {
  background: linear-gradient(150deg, rgba(191,90,242,0.36), rgba(255,55,95,0.14) 55%, rgba(255,255,255,0.04));
  border-color: rgba(230,120,255,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 0 0 1px rgba(191,90,242,0.12),
              -14px 0 40px -18px rgba(191,90,242,0.75), 0 40px 80px -30px rgba(0,0,0,0.75);
}
.flip-card:focus-visible { box-shadow: 0 0 0 3px var(--blue), 0 40px 80px -30px rgba(0,0,0,0.75); }
.flip-card .step { position: absolute; inset: 0 auto auto 0; transition: none; transform: none; }
.flip-card .step.is-past { transform: none; }
.flip-card .step-stack { min-height: 290px; }
.flip-hint {
  position: absolute; left: 0; right: 0; bottom: 20px; text-align: center;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: rgba(255,255,255,0.55);
}
.step h3 { font-size: clamp(38px, 5vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
.step p { font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); margin-top: 18px; }

/* ─── Bento ─── */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.span-2 { grid-column: span 2; }
.bento .cell-photo {
  background: linear-gradient(180deg, rgba(5,5,7,0.25), rgba(5,5,7,0.88) 78%),
              url(textures/supermarket.jpg) center 40% / cover no-repeat;
  min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end;
}
.bento .cell-photo p { color: #d2d2d7; }
.bento .cell-tint { grid-column: 1 / -1; } /* 6 items, 6 cells: no empty slot after it */
.bento .cell-tint { background: linear-gradient(145deg, rgba(41,151,255,0.24), rgba(41,151,255,0.04) 70%); }

/* ─── Modules ─── */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.module h3 { font-size: 24px; }
.module ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.module li { color: var(--muted); font-size: 15px; line-height: 1.45; }
.module.hero-mod { grid-column: span 2; border-color: rgba(41,151,255,0.45); }
.module.hero-mod h3 { font-size: 32px; }

/* ─── Global ─── */
.global-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.global-list { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 12px; }
.global-list { gap: 22px; }
.global-list li { display: grid; gap: 2px; }
.global-list b { font-weight: 600; }
.global-list span { color: var(--muted); font-size: 15px; }
.global-stage { min-height: 520px; }
.marquee {
  margin-top: 90px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-size: clamp(28px, 4vw, 48px); font-weight: 700; color: rgba(255,255,255,0.42); white-space: nowrap; letter-spacing: -0.02em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-track { direction: ltr; }
.marquee-track a { color: inherit; text-decoration: none; transition: color .2s; }
.marquee-track a:hover { color: var(--ink); }
.marquee:hover .marquee-track { animation-play-state: paused; }
.lang-list {
  width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; padding: 28px 0;
  display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 13px; border-top: 1px solid rgba(255,255,255,0.08);
}
.lang-list a { color: var(--muted); text-decoration: none; }
.lang-list a:hover, .lang-list a[aria-current] { color: var(--ink); }

/* ─── Trust ─── */
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 64px; margin-top: 64px; max-width: 980px;
  padding: 44px 48px; border-radius: var(--radius); }
.trust-item { display: grid; gap: 6px; }
.trust-item b { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.trust-item span { color: var(--muted); font-size: 16px; }

/* ─── Pricing ─── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan h3 { font-size: 28px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.plan .btn { width: 100%; }
.plan.featured { border-color: rgba(41,151,255,0.55); background: linear-gradient(145deg, rgba(41,151,255,0.2), rgba(41,151,255,0.04)); }
.badge {
  position: absolute; top: -13px; left: 32px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; background: var(--blue); color: #fff;
}

/* ─── Final CTA ─── */
.final { padding: 80px 16px 160px; }
.final-card {
  width: min(900px, 100%); margin: 0 auto; text-align: center; border-radius: var(--radius); padding: 80px 32px;
}
.final-card .sub { margin-left: auto; margin-right: auto; }
.final-card .cta-row { justify-content: center; }

.footer {
  width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; padding: 32px 0 48px;
  display: flex; justify-content: space-between; color: var(--muted); font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer a:hover { color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; }
@media (max-width: 820px) {
  .footer { flex-direction: column; gap: 14px; }
  .footer-links { justify-content: flex-start; }
}

/* ─── Responsive ─── */
@media (max-width: 1000px) {
  .modules, .plans, .bento { grid-template-columns: 1fr 1fr; }
  .module.hero-mod { grid-column: span 2; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .section { padding: 110px 0; }
  .hide-sm { display: none; }
  .hero { align-items: flex-end; padding-bottom: 110px; }
  .compare, .modules, .plans, .bento, .global-wrap, .trust-list { grid-template-columns: 1fr; }
  .span-2, .module.hero-mod { grid-column: auto; }
  .stats { padding: 22px 4px; }
  .stat { padding: 0 8px; }
  .stat span { font-size: 13px; }
  .trust-list { gap: 26px; padding: 28px 24px; }
  .card { padding: 26px; }
  /* Pinned steps: phone on top half, copy on the bottom half */
  .steps-pin { grid-template-columns: 1fr; grid-template-rows: 1fr auto; align-items: end; padding-bottom: 48px; }
  .steps-stage { display: none; }
  .steps-copy { order: 2; }
  .steps-copy .dim { color: var(--muted); }
.eyebrow { margin-bottom: 10px; }
  .step-progress { margin-bottom: 16px; }
  .step-stack, .flip-card .step-stack { min-height: 190px; }
  .flip-card.tilt { padding: 24px 24px 46px; border-radius: 24px; --tilt-y: -5deg;
    transform: perspective(900px) rotateY(calc(var(--flip, 0deg) + var(--tilt-y))) rotateX(3deg); }
  .flip-hint { bottom: 14px; font-size: 12px; }
  .step h3 { font-size: 32px; }
  .step p { font-size: 16px; margin-top: 10px; }
  .global-stage { min-height: 340px; order: -1; }
  .final-card { padding: 56px 22px; }
}
@media (max-width: 480px) {
  .nav .brand > span:last-child { font-size: 13px; }
  .btn { height: 48px; padding: 0 22px; font-size: 16px; }
  .btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tilt { transform: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .glass, .btn-glass, .flip-card.tilt, .nav {
    background: #14161c !important;
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  }
}

/* No WebGL: the aurora carries the page */
.no-webgl #stage { display: none; }

/* "Try the demo" under each plan */
.plan-demo{display:block;margin-top:12px;text-align:center;font-size:14px;color:rgba(255,255,255,.72);text-decoration:none}
.plan-demo:hover{color:#fff}
