/* ============================================================================
   AI SHOP MANAGER — Coming Soon
   Premium DARK cinematic visual system: deep space background, electric
   royal blue + deep violet accents, glassmorphism, CSS-3D, particles.
   No frameworks, no webfonts — system font stacks only.
   ========================================================================== */

/* ------------------------------- Tokens ---------------------------------- */
:root {
  --bg-0: #05080f;
  --bg-1: #0a101d;
  --bg-2: #101a2c;

  --text-1: #eef4ff;
  --text-2: #b7c4dc;
  --text-3: #8b98b3;

  --accent: #3b82f6;          /* electric royal blue                       */
  --accent-soft: #93c5fd;     /* light blue                                */
  --accent-2: #8b5cf6;        /* violet                                    */
  --accent-3: #60a5fa;        /* sky blue                                  */

  --danger: #f87171;

  --glass-bg: rgba(18, 28, 48, 0.55);
  --glass-bg-2: rgba(14, 22, 40, 0.72);
  --glass-brd: rgba(160, 190, 235, 0.14);
  --glass-brd-strong: rgba(96, 165, 250, 0.4);

  --grad-accent: linear-gradient(92deg, #3b82f6 0%, #7c3aed 55%, #8b5cf6 100%);

  --shadow-1: 0 6px 24px rgba(2, 6, 16, 0.45);
  --shadow-2: 0 18px 50px rgba(2, 6, 16, 0.55);

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

  --header-h: 72px;

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", -apple-system, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
}

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

/* The hidden attribute must always win, even over display:grid rules */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-1);
  background: var(--bg-0);
  overflow-x: clip;
  min-height: 100vh;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--accent-soft); text-decoration: none; }
a:hover { color: #bfdbfe; }
button { font: inherit; }
::selection { background: rgba(59, 130, 246, 0.35); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 400;
  padding: 10px 16px;
  background: var(--bg-2);
  color: var(--text-1);
  border: 1px solid var(--glass-brd-strong);
  border-radius: 10px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: var(--text-1); }

/* ---------------------------- Loading screen ----------------------------- */
.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 26px;
  background: radial-gradient(900px 500px at 50% 30%, rgba(59, 130, 246, 0.12), transparent 65%), var(--bg-0);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.boot-screen.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-logo {
  width: 92px; height: 92px;
  border-radius: 24%;
  animation: boot-float 2.2s ease-in-out infinite;
  filter: drop-shadow(0 14px 34px rgba(59, 130, 246, 0.45));
}
@keyframes boot-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.03); }
}
.boot-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-2);
}
.boot-bar {
  width: 148px; height: 3px;
  border-radius: 3px;
  background: rgba(160, 190, 235, 0.14);
  overflow: hidden;
  position: relative;
}
.boot-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  border-radius: 3px;
  background: var(--grad-accent);
  animation: boot-load 1.1s ease-in-out infinite;
}
@keyframes boot-load {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(380%); }
}

/* ------------------------------ Background -------------------------------- */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 78% -5%, rgba(59, 130, 246, 0.08), transparent 60%),
    radial-gradient(900px 520px at 12% 108%, rgba(124, 58, 237, 0.09), transparent 60%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 55%, var(--bg-0));
}
.bg-grid {
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(rgba(140, 170, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 170, 220, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(1200px 800px at 50% 20%, #000 20%, transparent 75%);
}
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.bg-glow-1 { width: 44vw; height: 44vw; left: -12vw; top: -14vw; background: radial-gradient(circle, rgba(59,130,246,.16), transparent 65%); animation: drift-1 26s ease-in-out infinite alternate; }
.bg-glow-2 { width: 50vw; height: 50vw; right: -16vw; top: 22vh; background: radial-gradient(circle, rgba(124,58,237,.15), transparent 65%); animation: drift-2 32s ease-in-out infinite alternate; }
.bg-glow-3 { width: 36vw; height: 36vw; left: 28vw; bottom: -18vw; background: radial-gradient(circle, rgba(96,165,250,.11), transparent 65%); animation: drift-3 38s ease-in-out infinite alternate; }
@keyframes drift-1 { to { transform: translate(9vw, 7vh) scale(1.12); } }
@keyframes drift-2 { to { transform: translate(-8vw, -9vh) scale(0.92); } }
@keyframes drift-3 { to { transform: translate(-6vw, -6vh) scale(1.1); } }
#bg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 30%, transparent 55%, rgba(3, 5, 10, 0.55) 100%);
}

/* ------------------------------- Header ---------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 11, 20, 0.72);
  border-bottom-color: var(--glass-brd);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-1);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand:hover { color: var(--text-1); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.45), 0 0 0 1px rgba(147, 197, 253, 0.18);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { font-size: 0.98rem; }

.main-nav ul { display: flex; gap: clamp(14px, 2vw, 28px); }
.main-nav a {
  position: relative;
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 2px;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 2px;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
  transition: right 0.3s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--text-1); }
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 999px;
  white-space: nowrap;
}

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px; height: 42px;
  color: var(--text-1);
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.icon { width: 20px; height: 20px; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
  background: rgba(5, 8, 15, 0.9);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu nav { width: 100%; max-width: 420px; text-align: center; }
.mobile-menu ul { display: grid; gap: 6px; margin-bottom: 34px; }
.mobile-menu li a {
  display: block;
  padding: 14px 10px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  font-weight: 600;
  color: var(--text-1);
  border-radius: 14px;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease, background 0.2s ease;
}
.mobile-menu.is-open li a { transform: none; opacity: 1; }
.mobile-menu li a:hover { background: rgba(59, 130, 246, 0.08); }
.mobile-menu li a span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--accent-3);
}

/* -------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 32px; font-size: 0.9rem; }
.btn-sm { padding: 9px 18px; font-size: 0.74rem; }
.btn-primary {
  background: var(--grad-accent);
  box-shadow: 0 8px 26px rgba(59, 130, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  box-shadow: 0 12px 34px rgba(59, 130, 246, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-ghost {
  color: var(--text-1);
  background: rgba(18, 28, 48, 0.4);
  border-color: rgba(160, 190, 235, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--glass-brd-strong); color: var(--accent-soft); }

/* Submit state: loading / disabled */
.btn .btn-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn.is-loading .btn-spinner { display: inline-block; }
.btn:disabled { cursor: not-allowed; opacity: 0.6; transform: none; }

/* --------------------------- Reveal animations ---------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* -------------------------------- Sections ------------------------------- */
.section { position: relative; padding: clamp(72px, 10vw, 120px) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head-tight { margin-top: clamp(56px, 8vw, 88px); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-3);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--grad-accent);
}
.section-head .eyebrow::after {
  content: "";
  width: 26px; height: 1px;
  background: var(--grad-accent);
}
.section-head h2, .section-head h3 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text-1);
}
.section-sub { color: var(--text-2); font-size: 1.02rem; }

.glass {
  background: linear-gradient(160deg, rgba(24, 36, 60, 0.5), rgba(12, 19, 34, 0.55));
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.visual-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 26px auto 0;
  max-width: 640px;
  font-size: 0.82rem;
  color: var(--text-3);
}
.visual-note .icon { width: 16px; height: 16px; flex: none; }
.qr-copy .visual-note { justify-content: flex-start; }

/* ================================= HERO ================================== */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 84px;
  overflow: hidden;
}
#core-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease 0.15s;
  pointer-events: none;
}
#core-canvas.is-ready { opacity: 1; }
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(24px, 5vw, 60px);
}
.hero-copy { max-width: 640px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  margin-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-soft);
  background: rgba(59, 130, 246, 0.07);
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.18), inset 0 0 18px rgba(59, 130, 246, 0.06);
}
.hero-title {
  margin-bottom: 18px;
  font-size: clamp(2.9rem, 7.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero-line { display: block; color: var(--text-1); }
.hero-line-accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 26px rgba(59, 130, 246, 0.35));
}
.hero-tagline {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 2.4vw, 1.02rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.hero-desc {
  max-width: 540px;
  margin-bottom: 36px;
  font-size: clamp(1rem, 2.4vw, 1.14rem);
  color: var(--text-2);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* --- Hero visual: 3D logo inside the animated neural core --- */
.hero-visual { display: grid; place-items: center; min-height: 320px; }
.hero-orbit {
  position: relative;
  width: clamp(240px, 30vw, 380px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.hero-logo {
  position: relative;
  z-index: 3;
  width: clamp(150px, 18vw, 230px);
  aspect-ratio: 1;
  border-radius: 24%;
  animation: logo-float 7s ease-in-out infinite;
  filter: drop-shadow(0 30px 50px rgba(59, 130, 246, 0.4));
}
.hero-logo img {
  width: 100%; height: 100%;
  border-radius: 24%;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    inset 0 -14px 30px rgba(2, 6, 16, 0.35),
    0 24px 60px rgba(4, 10, 25, 0.6),
    0 0 70px rgba(59, 130, 246, 0.35);
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0) rotateX(4deg) rotateY(-6deg); }
  50% { transform: translateY(-14px) rotateX(-2deg) rotateY(5deg); }
}
.orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(96, 165, 250, 0.3);
  transform: rotateX(68deg);
  animation: ring-spin 18s linear infinite;
  pointer-events: none;
}
.orbit-ring-2 {
  inset: -10%;
  border-color: rgba(139, 92, 246, 0.26);
  transform: rotateX(68deg) rotateY(48deg);
  animation: ring-spin-2 26s linear infinite reverse;
}
@keyframes ring-spin { to { transform: rotateX(68deg) rotateZ(360deg); } }
@keyframes ring-spin-2 { to { transform: rotateX(68deg) rotateY(48deg) rotateZ(360deg); } }
.orbit-sat { position: absolute; width: 12px; height: 12px; z-index: 2; }
.orbit-sat i {
  display: block;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 16px rgba(96, 165, 250, 0.8);
}
.orbit-sat-2 i { background: var(--accent-2); box-shadow: 0 0 16px rgba(139, 92, 246, 0.8); }
.orbit-sat-3 i { background: var(--accent-soft); box-shadow: 0 0 14px rgba(147, 197, 253, 0.8); }
.hero-logo-shadow {
  position: absolute;
  left: 50%; bottom: -44px;
  width: 62%; height: 26px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(2, 6, 16, 0.55), transparent 70%);
  border-radius: 50%;
  filter: blur(4px);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  color: var(--text-2);
  background: rgba(18, 28, 48, 0.4);
  border: 1px solid var(--glass-brd);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: bob 2.6s ease-in-out infinite;
}
.hero-scroll:hover { color: var(--accent-soft); border-color: var(--glass-brd-strong); }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* =============================== ECOSYSTEM =============================== */
.orbit-stage {
  --eh: clamp(560px, 58vw, 680px);
  position: relative;
  width: min(100%, 980px);
  height: var(--eh);
  margin: 0 auto;
  perspective: 1400px;
}
.ecosystem {
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(8deg);
}
.eco-core {
  position: absolute;
  left: 50%; top: 50%;
  width: clamp(170px, 24vw, 230px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}
.eco-core-sphere {
  position: absolute;
  inset: 14%;
  border-radius: 26%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(10, 16, 29, 0.6);
  box-shadow:
    0 0 60px rgba(59, 130, 246, 0.4),
    0 0 140px rgba(124, 58, 237, 0.28),
    inset 0 0 42px rgba(4, 10, 20, 0.65);
  animation: core-breathe 6s ease-in-out infinite;
}
.eco-core-sphere img {
  width: 72%; height: 72%;
  object-fit: cover;
  border-radius: 24%;
  box-shadow: 0 16px 40px rgba(4, 10, 25, 0.6), 0 0 44px rgba(59, 130, 246, 0.35);
}
@keyframes core-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}
.eco-core-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.28);
  transform: rotateX(68deg);
  animation: ring-spin 18s linear infinite;
  pointer-events: none;
}
.eco-core-ring-2 {
  inset: -9%;
  border-color: rgba(139, 92, 246, 0.25);
  transform: rotateX(68deg) rotateY(48deg);
  animation: ring-spin 26s linear infinite reverse;
  animation-name: ring-spin-2;
  pointer-events: none;
}
.eco-core-label {
  position: absolute;
  bottom: -4%;
  z-index: 2;
  padding: 9px 18px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-1);
  background: rgba(8, 13, 24, 0.66);
  border: 1px solid var(--glass-brd-strong);
  border-radius: 999px;
  box-shadow: 0 0 26px rgba(59, 130, 246, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.eco-module {
  --i: 0;
  --ox: 0%; /* horizontal offset from center, % of the stage width  */
  --oy: 0%; /* vertical offset from center, % of the stage height */
  position: absolute;
  left: calc(50% + var(--ox));
  top: calc(50% + var(--oy));
  display: grid;
  justify-items: center;
  gap: 2px;
  width: clamp(120px, 16vw, 158px);
  padding: 18px 14px;
  text-align: center;
  text-decoration: none;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(26, 38, 64, 0.62), rgba(12, 19, 34, 0.68));
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
  animation: module-float 6.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.7s);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}
@keyframes module-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -9px; }
}
.eco-module:hover, .eco-module:focus-visible {
  transform: translate(-50%, calc(-50% - 6px)) scale(1.05);
  border-color: var(--glass-brd-strong);
  box-shadow: 0 10px 36px rgba(59, 130, 246, 0.18), 0 0 0 1px rgba(96, 165, 250, 0.2), var(--shadow-2);
  z-index: 5;
}
.eco-module:hover ~ .eco-module { opacity: 0.55; }
.eco-module:hover ~ .eco-core { opacity: 0.75; }
.eco-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 8px;
  color: var(--accent-soft);
  background: rgba(59, 130, 246, 0.09);
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 12px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.eco-icon svg { width: 20px; height: 20px; }
.eco-module:hover .eco-icon { box-shadow: 0 0 18px rgba(59, 130, 246, 0.35); }
.eco-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-1);
}
.eco-desc {
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-3);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin 0.35s ease;
}
.eco-module:hover .eco-desc, .eco-module:focus-visible .eco-desc {
  max-height: 5.5em;
  opacity: 1;
  margin-top: 4px;
}
/* connector lines from core to modules */
.ecosystem::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(96, 165, 250, 0.55) 1.5px, transparent 2px),
    repeating-conic-gradient(from 0deg, rgba(96, 165, 250, 0.14) 0deg 0.4deg, transparent 0.4deg 36deg);
  background-size: 100% 100%;
  mask-image: radial-gradient(circle at 50% 50%, transparent 8%, #000 11%, #000 47%, transparent 49%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 8%, #000 11%, #000 47%, transparent 49%);
  pointer-events: none;
}

/* ============================ PILLARS / FEATURES ========================== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 8px;
}
.pillar-card {
  position: relative;
  padding: 30px 26px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-brd-strong);
  box-shadow: var(--shadow-2);
}
.pillar-card:hover::before { opacity: 1; }
.pillar-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 18px;
  color: var(--accent-soft);
  background: rgba(59, 130, 246, 0.09);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 14px;
}
.pillar-icon svg { width: 23px; height: 23px; }
.pillar-card h3 { font-size: 1.16rem; letter-spacing: 0.06em; text-transform: uppercase; }
.pillar-card p { margin: 0; color: var(--text-2); font-size: 0.92rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: feature;
}
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 20px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-brd-strong);
  box-shadow: var(--shadow-2);
}
.feature-num {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(139, 152, 179, 0.55);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 8px;
  color: var(--accent-soft);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.26);
  border-radius: 12px;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-card h4 { font-size: 0.94rem; letter-spacing: 0.05em; text-transform: uppercase; }
.feature-card p { margin: 0; font-size: 0.83rem; color: var(--text-2); }

/* ================================ SMART QR ================================ */
.qr-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(36px, 6vw, 72px);
}
.qr-copy .eyebrow { margin-bottom: 10px; }
.qr-copy h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.check-list { display: grid; gap: 12px; margin: 22px 0 6px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--text-2);
  font-size: 0.95rem;
}
.check-list .icon {
  flex: none;
  width: 20px; height: 20px;
  margin-top: 2px;
  padding: 3px;
  color: var(--accent-3);
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
}

.qr-stage {
  --ring-r: clamp(150px, 19vw, 206px);
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(var(--ring-r) * 2.4 + 220px);
}
.qr-card {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(70vw, 282px);
  padding: 24px 22px 18px;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(30, 44, 74, 0.85), rgba(10, 16, 29, 0.9));
  border: 1px solid rgba(96, 165, 250, 0.3);
  box-shadow:
    0 24px 70px rgba(2, 6, 16, 0.6),
    0 0 60px rgba(59, 130, 246, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform: rotateX(6deg) rotateY(-6deg);
  transition: transform 0.4s ease;
  transform-style: preserve-3d;
}
.qr-stage:hover .qr-card { transform: rotateX(2deg) rotateY(-2deg); }
.qr-card-top { display: grid; justify-items: center; gap: 3px; text-align: center; }
.qr-card-logo {
  width: 34px; height: 34px;
  border-radius: 9px;
  margin-bottom: 4px;
  box-shadow: 0 3px 12px rgba(59, 130, 246, 0.4);
}
.qr-card-brand {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-1);
}
.qr-card-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
#qr-canvas {
  width: min(48vw, 172px);
  height: auto;
  border-radius: 10px;
  background: #f4f8ff;
  padding: 8px;
}
.qr-scanline {
  position: absolute;
  top: 24px;
  left: 18px;
  right: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.8), transparent);
  box-shadow: 0 0 14px rgba(96, 165, 250, 0.7);
  animation: scan 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scan {
  0%, 100% { transform: translateY(0); opacity: 0; }
  12% { opacity: 1; }
  50% { transform: translateY(calc(min(48vw, 172px) + 8px)); opacity: 1; }
  88% { opacity: 0; }
}
.qr-card-bottom {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--text-3);
}

.hub-ring { position: absolute; inset: 0; pointer-events: none; }
.hub-ring li {
  --cx: 1;   /* precomputed cos(a) */
  --cy: 0;   /* precomputed sin(a) */
  --d: 0;    /* float animation delay index */
  --r: var(--ring-r);
  position: absolute;
  left: 50%; top: 50%;
  translate: calc(var(--r) * var(--cx)) calc(var(--r) * 1.22 * var(--cy) - 8px);
  display: grid;
  justify-items: center;
  gap: 5px;
  pointer-events: auto;
  animation: node-float 5.4s ease-in-out infinite;
  animation-delay: calc(var(--d) * -0.4s);
}
@keyframes node-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -7px; }
}
.hub-ring li svg {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 10px;
  color: var(--text-1);
  background: linear-gradient(165deg, rgba(28, 42, 70, 0.85), rgba(12, 19, 34, 0.9));
  border: 1px solid var(--glass-brd);
  border-radius: 14px;
  box-shadow: var(--shadow-1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
.hub-ring li span {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
  transition: color 0.3s ease;
}
.hub-ring li:hover svg, .hub-ring li:focus-within svg {
  border-color: var(--glass-brd-strong);
  color: var(--accent-soft);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.3);
}
.hub-ring li:hover span { color: var(--accent-soft); }

/* dashed orbit circle behind everything */
.qr-stage::before {
  content: "";
  position: absolute;
  width: calc(var(--ring-r) * 2 + 92px);
  height: calc(var(--ring-r) * 2.44 + 92px);
  border: 1px dashed rgba(96, 165, 250, 0.2);
  border-radius: 50%;
  animation: orbit-rotate 40s linear infinite;
  background-image:
    repeating-conic-gradient(from 0deg, rgba(96, 165, 250, 0.12) 0deg 0.3deg, transparent 0.3deg 30deg);
  mask-image: radial-gradient(circle, transparent 47%, #000 48%, #000 100%);
  -webkit-mask-image: radial-gradient(circle, transparent 47%, #000 48%, #000 100%);
}
@keyframes orbit-rotate { to { transform: rotate(360deg); } }

/* ============================== AI EXPERIENCE ============================= */
.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(30px, 5vw, 60px);
}
.ai-panel {
  overflow: hidden;
  border-color: rgba(96, 165, 250, 0.22);
}
.ai-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
  background: rgba(8, 13, 24, 0.5);
  border-bottom: 1px solid var(--glass-brd);
}
.ai-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.8);
  animation: pulse 2.4s ease-out infinite;
}
.ai-status {
  margin-left: auto;
  padding: 4px 10px;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: #facc15;
  background: rgba(250, 204, 21, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: 999px;
}
.ai-panel-body {
  display: grid;
  gap: 14px;
  padding: 24px 20px 28px;
  min-height: 280px;
  align-content: start;
}
.ai-msg { display: flex; }
.ai-msg span {
  max-width: 85%;
  padding: 13px 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-1);
  background: rgba(24, 36, 60, 0.65);
  border: 1px solid var(--glass-brd);
  border-radius: 4px 16px 16px 16px;
}
.ai-msg-user { justify-content: flex-end; }
.ai-msg-user span {
  background: linear-gradient(120deg, rgba(59, 130, 246, 0.16), rgba(139, 92, 246, 0.14));
  border-color: rgba(96, 165, 250, 0.3);
  border-radius: 16px 4px 16px 16px;
}
.ai-typing { display: inline-flex; gap: 5px; align-items: center; }
.ai-typing i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-soft);
  opacity: 0.4;
  animation: typing 1.2s ease-in-out infinite;
}
.ai-typing i:nth-child(2) { animation-delay: 0.18s; }
.ai-typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing { 0%, 100% { opacity: 0.3; transform: translateY(0); } 45% { opacity: 1; transform: translateY(-4px); } }

.ai-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.ai-chips li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-1);
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.ai-chips li:hover { transform: translateX(5px); border-color: var(--glass-brd-strong); }
.ai-chips .icon { flex: none; color: var(--accent-soft); }

/* ================================ JOURNEY ================================= */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(96, 165, 250, 0.25) 30%, rgba(160, 190, 235, 0.14) 75%);
  border-radius: 2px;
}
.tl-step { position: relative; padding-top: 34px; }
.tl-dot {
  position: absolute;
  top: 2px; left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 2px solid rgba(160, 190, 235, 0.35);
}
.tl-step.is-active .tl-dot {
  background: var(--accent-3);
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.15), 0 0 18px rgba(96, 165, 250, 0.6);
}
.tl-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: var(--text-3);
}
.tl-step.is-active .tl-num { color: var(--accent-soft); }
.tl-step h3 {
  margin: 6px 0 4px;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-1);
}
.tl-step p { margin: 0 0 10px; font-size: 0.84rem; color: var(--text-2); }
.tl-flag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  background: var(--grad-accent);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}
.journey-note { text-align: center; margin-top: clamp(36px, 5vw, 54px); }

/* ============================== COMING SOON =============================== */
.section-soon {
  padding: clamp(90px, 13vw, 160px) 0;
  text-align: center;
  background:
    radial-gradient(900px 420px at 50% 115%, rgba(59, 130, 246, 0.12), transparent 65%),
    radial-gradient(700px 380px at 50% -15%, rgba(124, 58, 237, 0.1), transparent 65%);
  border-block: 1px solid rgba(160, 190, 235, 0.09);
}
.soon-inner { max-width: 760px; margin-inline: auto; }
.soon-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-soft);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.4);
  border-radius: 999px;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.16);
}
.soon-title {
  font-size: clamp(2.4rem, 7.5vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.notify-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 34px auto 0;
}
.notify-form .field { flex: 1; }
.fineprint { margin-top: 14px; font-size: 0.76rem; color: var(--text-3); }
.section-soon .fineprint { margin-top: 20px; }

/* ============================== EARLY ACCESS ============================== */
.access-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 60px);
  padding: clamp(34px, 5vw, 60px);
  border-color: rgba(96, 165, 250, 0.2);
}
.access-copy h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }

.field { display: grid; gap: 7px; }
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}
.field .req { color: var(--danger); }
.field .optional { color: var(--text-3); text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: var(--text-1);
  background: rgba(10, 16, 29, 0.7);
  border: 1px solid rgba(160, 190, 235, 0.2);
  border-radius: 12px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #6b7a94; }
.field select { cursor: pointer; }
.field select option { background: var(--bg-1); color: var(--text-1); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field-error { min-height: 1em; margin: 0; font-size: 0.76rem; color: var(--danger); }

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 42px; }
.select-caret {
  position: absolute;
  right: 14px; top: 50%;
  width: 16px; height: 16px;
  transform: translateY(-50%);
  color: var(--text-3);
  pointer-events: none;
}
.field-custom { animation: field-in 0.3s ease; }
@keyframes field-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Honeypot: invisible to humans, present for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
}

.access-form { display: grid; gap: 16px; align-content: start; }
.form-note { min-height: 1.2em; margin: 2px 0 0; font-size: 0.85rem; font-weight: 500; color: var(--accent-soft); }
.form-note.is-error { color: var(--danger); }

/* Success card (shown only after backend confirms) */
.form-success {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 22px 18px;
  margin-top: 6px;
  text-align: center;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(59, 130, 246, 0.12), rgba(124, 58, 237, 0.12));
  border: 1px solid rgba(96, 165, 250, 0.35);
  animation: field-in 0.35s ease;
}
.form-success .success-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 4px;
  color: #fff;
  background: var(--grad-accent);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(59, 130, 246, 0.45);
}
.form-success h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.form-success p { margin: 0; font-size: 0.86rem; color: var(--text-2); }

/* Error card (real submission failures — honest, no fake success) */
.form-error-card {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 20px 18px;
  margin-top: 6px;
  text-align: center;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(248, 113, 113, 0.1), rgba(124, 58, 237, 0.08));
  border: 1px solid rgba(248, 113, 113, 0.4);
  animation: field-in 0.35s ease;
}
.form-error-card .error-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 4px;
  color: #fff;
  background: linear-gradient(135deg, #f87171, #dc2626);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.4);
}
.form-error-card h3 {
  margin: 0;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.form-error-card p { margin: 0; font-size: 0.86rem; color: var(--text-2); }
.form-error-card .error-detail {
  margin-top: 4px;
  font-size: 0.76rem;
  color: var(--text-3);
}

/* ============================ TRUST / CONTACT ============================= */
.section-trust {
  background:
    radial-gradient(700px 340px at 20% 20%, rgba(124, 58, 237, 0.07), transparent 60%),
    radial-gradient(700px 340px at 80% 80%, rgba(59, 130, 246, 0.06), transparent 60%);
  border-block: 1px solid rgba(160, 190, 235, 0.09);
  text-align: center;
}
.trust-inner { max-width: 780px; margin-inline: auto; }

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}
.contact-copy h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); }
.contact-card { padding: clamp(26px, 4vw, 40px); }
.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  margin-bottom: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-soft);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 12px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.contact-mail:hover { border-color: var(--glass-brd-strong); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2); }
.contact-mail .icon { flex: none; width: 20px; height: 20px; }
.contact-form { display: grid; gap: 16px; }
.contact-form .btn { justify-self: start; }
.contact-card .fineprint { margin-top: 0; }

/* ================================= FOOTER ================================= */
.site-footer {
  border-top: 1px solid var(--glass-brd);
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.6), rgba(4, 7, 13, 0.9));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 34px;
  padding: clamp(44px, 6vw, 70px) 0 40px;
}
.footer-brand .brand { margin-bottom: 12px; }
.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 8px;
}
.footer-note { font-size: 0.8rem; color: var(--text-3); }
.site-footer h3 {
  margin-bottom: 16px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
}
.footer-nav ul, .footer-social ul, .footer-legal ul { display: grid; gap: 10px; }
.footer-nav a, .footer-legal a {
  font-size: 0.9rem;
  color: var(--text-2);
  transition: color 0.2s ease;
}
.footer-nav a:hover, .footer-legal a:hover { color: var(--accent-soft); }
.footer-social-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-2);
  transition: color 0.2s ease;
}
.footer-social-list a:hover { color: var(--accent-soft); }
.footer-social-list .icon { width: 18px; height: 18px; }
.footer-empty-note { font-size: 0.85rem; color: var(--text-3); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(160, 190, 235, 0.08);
  font-size: 0.8rem;
  color: var(--text-3);
}
.footer-bottom p { margin: 0; }
.footer-status { display: inline-flex; align-items: center; gap: 9px; }

/* ============================== BACK TO TOP =============================== */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  color: var(--text-1);
  background: rgba(12, 19, 34, 0.85);
  border: 1px solid var(--glass-brd);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.back-to-top.is-visible { opacity: 1; transform: none; }
.back-to-top:hover { border-color: var(--glass-brd-strong); color: var(--accent-soft); }

/* =============================== RESPONSIVE =============================== */
@media (max-width: 1180px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: grid; }
  .header-actions { gap: 10px; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 260px; margin-bottom: 6px; }
  .hero-orbit { width: clamp(190px, 40vw, 260px); }
  .hero-logo { width: clamp(120px, 24vw, 160px); }

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

  .qr-layout { grid-template-columns: 1fr; }
  .qr-stage { order: -1; margin-bottom: 10px; }

  .ai-layout { grid-template-columns: 1fr; }
  .access-card, .contact-inner { grid-template-columns: 1fr; }

  .timeline { grid-template-columns: 1fr; gap: 30px; max-width: 460px; }
  .timeline::before { top: 6px; bottom: 6px; left: 7px; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(96, 165, 250, 0.25) 40%, rgba(160, 190, 235, 0.14)); }
  .tl-step { padding: 0 0 0 44px; }
  .tl-dot { left: 0; top: 4px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .orbit-stage { height: auto; perspective: none; }
  .ecosystem { transform: none; height: auto; }
  .ecosystem::before { display: none; }
  .eco-core {
    position: relative;
    left: auto; top: auto;
    transform: none;
    margin: 0 auto 34px;
  }
  .eco-module {
    position: relative;
    left: auto; top: auto;
    transform: none;
    width: 100%;
    grid-template-columns: 52px 1fr;
    align-items: center;
    text-align: left;
    gap: 0 14px;
    padding: 16px 18px;
    transform: none;
  }
  .eco-module:hover, .eco-module:focus-visible { transform: none; }
  .eco-icon { width: 44px; height: 44px; margin: 0; }
  .eco-name { justify-self: start; font-size: 0.86rem; }
  .eco-desc { grid-column: 1 / -1; max-height: none; opacity: 1; margin-top: 8px; }
  .orbit-stage .visual-note { margin-top: 18px; }

  .hub-ring { display: none; }
  .qr-stage { min-height: 0; }
  .qr-stage::before { display: none; }
}
@media (max-width: 720px) {
  .hero { padding-top: calc(var(--header-h) + 34px); }
  .hero-title { font-size: clamp(2.5rem, 13vw, 3.6rem); }
  .hero-ctas .btn { flex: 1 1 100%; }

  .notify-form { flex-direction: column; }
  .notify-form .btn { width: 100%; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ai-chips { grid-template-columns: 1fr; }
  .status-chip { display: none; }

  .contact-form .btn, .access-form .btn { width: 100%; }
  .field input, .field textarea, .field select { font-size: 16px; } /* prevents iOS zoom */
}
@media (max-width: 560px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .back-to-top { right: 14px; bottom: 14px; }
  .brand-name { font-size: 0.9rem; }
}
@media (max-width: 380px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* Mobile fallback list of QR destinations (populated by JS, chip grid on small screens) */
.qr-hub-list {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 26px 0 0;
  width: 100%;
}
.qr-hub-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(165deg, rgba(28, 42, 70, 0.7), rgba(12, 19, 34, 0.85));
  border: 1px solid var(--glass-brd);
  border-radius: 12px;
}
.qr-hub-list li .icon { flex: none; width: 18px; height: 18px; color: var(--accent-soft); }
.qr-hub-list li span { font-size: 0.78rem; font-weight: 600; color: var(--text-2); }
@media (max-width: 820px) {
  .qr-hub-list { display: grid; }
}

/* Large screens: gently scale the 3D stage */
@media (min-width: 1600px) {
  :root { --container: 1280px; }
}

/* ============================== LEGAL PAGES =============================== */
.legal-page { padding: calc(var(--header-h) + clamp(48px, 8vw, 90px)) 0 clamp(60px, 8vw, 100px); }
.legal-page h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.legal-page .section-sub { margin-bottom: 30px; }
.legal-card { max-width: 760px; padding: clamp(24px, 4vw, 44px); }
.legal-card h2 { margin-top: 1.6em; font-size: 1.15rem; letter-spacing: 0.04em; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { color: var(--text-2); margin-bottom: 0.9em; }
.legal-page .btn { margin-top: 30px; }

/* ====================== AVIATION ENVIRONMENT ============================= */
/* Persistent cinematic air-traffic layer inside .bg-scene: sits above the
   particle canvas, below the vignette — always BEHIND all website content. */
#aviation-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  pointer-events: none;
  will-change: contents;
}

/* ======================= PREMIUM UI MICRO-POLISH ========================= */
/* CTA: soft blue halo + gentle lift on hover/focus */
.btn-primary {
  transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.25s ease, background-color 0.25s ease;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 14px 40px rgba(59, 130, 246, 0.5),
    0 0 0 1px rgba(147, 197, 253, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:active { transform: translateY(0); }

/* Ghost buttons: quiet depth response */
.btn-ghost {
  transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, 0.55);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.22);
}

/* Dimensional glass cards: richer resting depth + hover lift */
.glass {
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.35s ease, border-color 0.35s ease;
}
.glass:hover {
  transform: translateY(-3px);
  border-color: rgba(147, 197, 253, 0.34);
  box-shadow:
    0 18px 48px rgba(2, 6, 18, 0.55),
    0 0 0 1px rgba(96, 165, 250, 0.14),
    0 0 34px rgba(59, 130, 246, 0.10);
}

/* Blur-to-focus reveal (cinematic depth entry) */
[data-reveal] {
  filter: blur(8px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible { filter: blur(0); }

/* ============================ REDUCED MOTION ============================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .bg-glow { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-scroll { animation: none; }
  .qr-scanline { display: none; }
  .eco-module { animation: none; }
  .hub-ring li { animation: none; }
  .ai-typing i { animation: none; opacity: 0.7; }
  .hero-logo { animation: none; }
  .orbit-ring, .orbit-ring-2 { animation: none; }
  .boot-logo { animation: none; }
  .boot-bar::after { animation: none; width: 100%; opacity: 0.5; }
  /* Aviation env keeps running slowly (aviation.js reads this query); the
     blur-to-focus reveal resolves instantly for readability.            */
  [data-reveal] { filter: blur(0); transition: none; }
  .glass, .btn-primary, .btn-ghost { transition: none; }
  .glass:hover, .btn-primary:hover, .btn-ghost:hover { transform: none; }
}

/* ========================= CINEMATIC INTRO ================================ */
/* Full-screen opening film layer. Sits above everything (incl. boot 300).  */
.intro-cinema {
  position: fixed; inset: 0; z-index: 600;
  background: #02040a;
  opacity: 0; visibility: hidden;
  transition: opacity 0.8s ease;
}
.intro-cinema.is-in { opacity: 1; visibility: visible; }
.intro-cinema.is-out { opacity: 0; pointer-events: none; }
.intro-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Brand reveal (phase 7) — typography matches the site */
.intro-brand {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 14px;
  text-align: center; pointer-events: none;
  opacity: 0; filter: blur(10px);
  transform: translate(-50%, calc(-50% + 14px));
  transition: opacity 1s ease, filter 1s ease, transform 1s ease;
}
.intro-brand.is-on { opacity: 1; filter: blur(0); transform: translate(-50%, -50%); }
.intro-brand-name {
  font-size: clamp(1.6rem, 4.5vw, 2.8rem);
  font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: #eaf2ff;
  text-shadow: 0 0 24px rgba(96, 165, 250, 0.75), 0 0 64px rgba(124, 58, 237, 0.4);
}
.intro-brand-tag {
  font-size: clamp(0.72rem, 1.8vw, 0.95rem);
  font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase;
  color: #9db8e8;
}

/* Progress hairline — bottom center */
.intro-progress {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  width: min(220px, 40vw); height: 2px; border-radius: 2px;
  background: rgba(147, 197, 253, 0.16); overflow: hidden;
}
.intro-progress span {
  display: block; height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transform-origin: left center; transform: scaleX(0);
}

/* Skip — subtle, corner */
.intro-skip {
  position: absolute; right: 18px; bottom: 18px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.25);
  background: rgba(10, 16, 29, 0.55);
  color: #9db8e8; font: 500 11px/1 "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0.18em;
  cursor: pointer; opacity: 0.55;
  transition: opacity 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.intro-skip:hover, .intro-skip:focus-visible { opacity: 1; color: #eaf2ff; border-color: rgba(147, 197, 253, 0.6); }
.intro-skip:focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; }

/* Boot screen: holding frame during the intro — gentle logo breathe */
.boot-screen.is-holding .boot-logo { animation: boot-hold 2.8s ease-in-out infinite; }
@keyframes boot-hold {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 14px rgba(96, 165, 250, 0.35)); }
  50% { transform: scale(1.045); filter: drop-shadow(0 0 26px rgba(124, 58, 237, 0.55)); }
}

/* Footer replay control — subtle, matches footer status row */
.intro-replay {
  margin-top: 10px; padding: 7px 14px;
  border-radius: 999px; border: 1px solid rgba(147, 197, 253, 0.22);
  background: transparent; color: #8ea6cf;
  font: 500 11px/1 "Segoe UI", system-ui, sans-serif; letter-spacing: 0.12em;
  cursor: pointer; opacity: 0.6;
  transition: opacity 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.intro-replay:hover, .intro-replay:focus-visible { opacity: 1; color: #cfe0ff; border-color: rgba(147, 197, 253, 0.5); }
.intro-replay:focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; }

/* Reduced motion: intro layer never appears (intro.js also self-gates) */
@media (prefers-reduced-motion: reduce) {
  .intro-cinema, .intro-brand, .intro-progress, .intro-skip { display: none !important; }
  .boot-screen.is-holding .boot-logo { animation: none; }
}

/* ========================= TURNSTILE (optional) =========================== */
/* Hidden entirely unless the owner configures a site key in config.js.      */
.ts-field { margin-top: 14px; }
.ts-field[hidden] { display: none; }
.ts-widget { min-height: 65px; display: flex; justify-content: flex-start; }
