/* =========================================================
   Become — Architecture Learning Studio — Design tokens
   Palette: charcoal / concrete / off-white + blueprint blue + clay accent
   ========================================================= */
:root {
  --bg: #101215;
  --bg-soft: #16191d;
  --card: rgba(255, 255, 255, 0.032);
  --card-solid: #1b1f24;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.15);
  --border-hover: rgba(255, 255, 255, 0.3);
  --text: #ecebe5;
  --text-dim: #a6a69e;
  --text-dimmer: #71716a;

  --surface: rgba(255, 255, 255, 0.05);
  --nav-bg: rgba(16, 18, 21, 0.72);
  --menu-bg: rgba(12, 13, 16, 0.92);
  --sheen: rgba(255, 255, 255, 0.28);
  --sheen-soft: rgba(255, 255, 255, 0.06);
  --mesh-opacity: 0.7;
  --noise-opacity: 0.03;
  --grid-opacity: 0.05;
  --shadow-color: 0, 0, 0;

  --navy: #12203f;
  --blue: #3b6ef4;
  --blue-soft: #6e97ff;
  --purple: #7c93c4;
  --amber: #c98b52;
  --amber-soft: #dba36c;

  --grad-primary: linear-gradient(135deg, #3b6ef4 0%, #1e3a8a 100%);
  --grad-amber: linear-gradient(135deg, #c98b52 0%, #a6653a 100%);

  --radius-lg: 1.6rem;
  --radius-md: 1rem;
  --radius-sm: 0.6rem;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);

  --font-ar: "Tajawal", "Segoe UI", sans-serif;
  --font-en: "Space Grotesk", "Plus Jakarta Sans", "Segoe UI", sans-serif;

  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f3f1ea;
  --bg-soft: #faf8f2;
  --card: rgba(28, 26, 22, 0.035);
  --card-solid: #ffffff;
  --border: rgba(28, 26, 22, 0.1);
  --border-strong: rgba(28, 26, 22, 0.16);
  --border-hover: rgba(28, 26, 22, 0.3);
  --text: #1b1d21;
  --text-dim: #565750;
  --text-dimmer: #8a897f;

  --surface: rgba(28, 26, 22, 0.045);
  --nav-bg: rgba(250, 248, 242, 0.78);
  --menu-bg: rgba(243, 241, 234, 0.94);
  --sheen: rgba(255, 255, 255, 0.9);
  --sheen-soft: rgba(28, 26, 22, 0.05);
  --mesh-opacity: 0.4;
  --noise-opacity: 0.02;
  --grid-opacity: 0.06;
  --shadow-color: 28, 26, 22;

  --blue-soft: #3b6ef4;

  color-scheme: light;
}

/* Transition theme-affected properties smoothly */
body, .bezel, .bezel-inner, .nav, .mobile-menu, .btn, .card, .stat, .faq-item {
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), color 0.5s var(--ease);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ar);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100dvh;
}

/* Blueprint / drafting grid — part of the architectural identity, not decoration */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: var(--grid-opacity);
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

html[dir="ltr"] body,
html[dir="ltr"] { font-family: var(--font-en); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input { font: inherit; color: inherit; }

::selection { background: var(--blue); color: #fff; }

/* ---------- Background atmosphere ---------- */
.mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.mesh::before,
.mesh::after,
.mesh span {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: calc(0.28 * var(--mesh-opacity));
  transition: opacity 0.6s var(--ease);
}
.mesh::before {
  width: 42vw;
  height: 42vw;
  background: var(--blue);
  top: -12vw;
  inset-inline-start: -10vw;
}
.mesh::after {
  width: 38vw;
  height: 38vw;
  background: var(--purple);
  top: 20vh;
  inset-inline-end: -14vw;
  opacity: calc(0.22 * var(--mesh-opacity));
}
.mesh span {
  width: 30vw;
  height: 30vw;
  background: var(--amber);
  bottom: -10vw;
  inset-inline-start: 30vw;
  opacity: calc(0.14 * var(--mesh-opacity));
}
.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: var(--noise-opacity);
  mix-blend-mode: overlay;
  transition: opacity 0.6s var(--ease);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { position: relative; z-index: 2; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 768px) {
  .container { padding-inline: 2.5rem; }
}

section { padding-block: 5rem; }
@media (min-width: 768px) { section { padding-block: 7.5rem; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--card);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-soft);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { letter-spacing: 0; }

h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

.lede { color: var(--text-dim); font-size: 1.05rem; max-width: 54ch; }

.grad-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 0.85rem 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s var(--ease);
  white-space: nowrap;
}
html[dir="rtl"] .btn { padding: 0.85rem 1.5rem 0.85rem 0.85rem; }

.btn-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.5s var(--ease);
}
.btn-icon svg { width: 16px; height: 16px; }
html[dir="rtl"] .btn-icon svg { transform: scaleX(-1); }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(59, 130, 246, 0.55);
}
.btn-primary .btn-icon { background: rgba(255, 255, 255, 0.18); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(59, 130, 246, 0.65); }
.btn-primary:hover .btn-icon { transform: translate(3px, -2px) scale(1.06); }
.btn-primary:active { transform: scale(0.98); }

.btn-ghost {
  background: var(--card);
  border: 1px solid var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(16px);
}
.btn-ghost .btn-icon { background: var(--surface); }
.btn-ghost:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.btn-ghost:active { transform: scale(0.98); }

/* WhatsApp CTA */
.btn-wa.btn-primary {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 10px 30px -12px rgba(37, 211, 102, 0.5);
}
.btn-wa.btn-primary:hover { box-shadow: 0 16px 36px -10px rgba(37, 211, 102, 0.6); }
.btn-wa .btn-icon { background: rgba(255, 255, 255, 0.2); }
.btn-wa .btn-icon svg { width: 15px; height: 15px; }
html[dir="rtl"] .btn-wa .btn-icon svg { transform: none; }

.btn-sm { padding: 0.6rem 0.6rem 0.6rem 1.1rem; font-size: 0.85rem; }
html[dir="rtl"] .btn-sm { padding: 0.6rem 1.1rem 0.6rem 0.6rem; }
.btn-sm .btn-icon { width: 1.7rem; height: 1.7rem; }
.btn-sm .btn-icon svg { width: 13px; height: 13px; }

/* ---------- Nav ---------- */
.nav-wrap {
  position: fixed;
  top: 1.1rem;
  inset-inline: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding-inline: 1rem;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  width: min(100%, 1080px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.6rem 0.55rem 1.2rem;
  border-radius: 999px;
  background: var(--nav-bg);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(22px);
  box-shadow: 0 20px 40px -24px rgba(var(--shadow-color), 0.6);
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
html[dir="rtl"] .nav { padding: 0.55rem 1.2rem 0.55rem 0.6rem; }

.logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1.08rem; letter-spacing: 0.04em; }
html[dir="rtl"] .logo { letter-spacing: 0; font-weight: 800; }
.logo-mark {
  width: 2.1rem; height: 2.1rem; border-radius: 0.45rem;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.95rem; font-weight: 800;
  box-shadow: inset 0 1px 1px var(--sheen);
  flex-shrink: 0;
}
.logo-mark svg { width: 16px; height: 16px; }

.nav-links { display: none; align-items: center; gap: 1.9rem; font-size: 0.9rem; color: var(--text-dim); }
.nav-links a { transition: color 0.3s var(--ease); }
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }

.lang-switch, .theme-toggle {
  display: flex; align-items: center; gap: 0.15rem;
  padding: 0.3rem; border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.72rem; font-weight: 800;
}
.theme-toggle { padding: 0.3rem; }
.theme-toggle button {
  width: 1.9rem; height: 1.9rem; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dimmer);
  transition: all 0.35s var(--ease);
}
.theme-toggle button.active { background: var(--card-solid); color: var(--amber-soft); box-shadow: 0 4px 10px -4px rgba(var(--shadow-color), 0.5); }
.theme-toggle button:last-child.active { color: var(--blue-soft); }
.theme-toggle svg { width: 15px; height: 15px; }
.lang-switch button {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  color: var(--text-dimmer);
  transition: all 0.35s var(--ease);
}
.lang-switch button.active { background: var(--card-solid); color: var(--text); box-shadow: 0 4px 10px -4px rgba(var(--shadow-color), 0.5); }

.burger {
  width: 2.4rem; height: 2.4rem; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border);
}
.burger-lines { position: relative; width: 15px; height: 10px; }
.burger-lines span {
  position: absolute; inset-inline: 0; height: 1.5px; background: var(--text);
  border-radius: 2px; transition: transform 0.5s var(--ease), opacity 0.3s var(--ease), top 0.4s var(--ease);
}
.burger-lines span:nth-child(1) { top: 0; }
.burger-lines span:nth-child(2) { top: 4.5px; }
.burger-lines span:nth-child(3) { top: 9px; }
.nav.open .burger-lines span:nth-child(1) { top: 4.5px; transform: rotate(45deg); }
.nav.open .burger-lines span:nth-child(2) { opacity: 0; }
.nav.open .burger-lines span:nth-child(3) { top: 4.5px; transform: rotate(-45deg); }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .burger { display: none; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--menu-bg);
  backdrop-filter: blur(28px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.6rem;
  opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-size: 1.6rem; font-weight: 800;
  opacity: 0; transform: translateY(3rem);
  transition: transform 0.6s var(--ease-soft), opacity 0.6s var(--ease-soft);
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.38s; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(2.5rem); filter: blur(6px); transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft), filter 0.9s var(--ease-soft); }
.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal-1 { transition-delay: 0.05s; }
.reveal-2 { transition-delay: 0.14s; }
.reveal-3 { transition-delay: 0.23s; }
.reveal-4 { transition-delay: 0.32s; }

/* ---------- Double bezel card ---------- */
.bezel {
  padding: 0.4rem;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
}
.bezel-inner {
  border-radius: calc(var(--radius-lg) - 0.4rem);
  background: var(--card-solid);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 1px var(--sheen-soft);
  height: 100%;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 9.5rem;
  padding-bottom: 4rem;
  min-height: 100dvh;
  display: flex;
  align-items: center;
}
@media (max-width: 1023px) {
  .hero { min-height: auto; padding-top: 6.5rem; padding-bottom: 2.5rem; display: block; }
}

/* Sections that only make sense at desktop width for the pre-launch landing */
@media (max-width: 860px) {
  .lg-only { display: none !important; }
  section { padding-block: 3rem; }
  .hero { padding-block: 5.5rem 2rem; }
  .section-head { margin-bottom: 2rem; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 2rem; }
}

.hero h1 { font-size: clamp(2.4rem, 5.6vw, 3.9rem); margin-bottom: 1.4rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
@media (max-width: 560px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: space-between; }
  .btn { white-space: normal; }
}

.trust-row { display: flex; align-items: center; gap: 1rem; margin-top: 2.6rem; flex-wrap: wrap; }

/* Hero launch strip */
.hero-launch {
  display: inline-flex; align-items: center; gap: 0.7rem; flex-wrap: wrap;
  margin-top: 2.2rem; padding: 0.6rem 1rem 0.6rem 0.6rem;
  border-radius: 999px; border: 1px solid var(--border-strong); background: var(--card);
  font-size: 0.85rem; color: var(--text-dim);
  transition: border-color 0.3s var(--ease);
}
html[dir="rtl"] .hero-launch { padding: 0.6rem 0.6rem 0.6rem 1rem; }
.hero-launch:hover { border-color: var(--border-hover); }
.hero-launch-tag {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em;
  padding: 0.28rem 0.7rem; border-radius: 999px;
  background: var(--grad-primary); color: #fff; white-space: nowrap;
}
html[dir="rtl"] .hero-launch-tag { letter-spacing: 0; }
.hero-launch s { color: var(--text-dimmer); }
.hero-launch b { color: var(--text); font-size: 1.05em; }
@media (max-width: 860px) { .hero-launch { display: none; } }

/* Price tag — deliberately large and confident */
.price-tag {
  display: flex; align-items: baseline; gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.9rem 0 0.3rem;
  font-family: var(--font-en);
}
.price-tag .p-cur { flex-basis: 100%; }
@media (min-width: 420px) { .price-tag .p-cur { flex-basis: auto; } }
.price-tag .p-now {
  font-size: 2.6rem; font-weight: 800; line-height: 1;
  color: var(--text); letter-spacing: -0.02em;
}
.price-tag .p-old {
  font-size: 1.35rem; font-weight: 600; color: var(--text-dimmer);
  text-decoration-thickness: 2px;
}
.price-tag .p-cur { font-size: 0.95rem; font-weight: 700; color: var(--text-dimmer); }
.price-tag-lg .p-now { font-size: 3.6rem; }
.price-tag-lg .p-old { font-size: 1.7rem; }
@media (min-width: 768px) {
  .price-tag .p-now { font-size: 3rem; }
  .price-tag-lg .p-now { font-size: 4.2rem; }
}

/* Intro video frame */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 960px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(150deg, color-mix(in srgb, var(--blue) 12%, var(--card-solid)), var(--card-solid));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  overflow: hidden;
}
.video-frame iframe, .video-frame video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; background: #000;
}
.video-play {
  width: 4.6rem; height: 4.6rem; border-radius: 50%;
  background: var(--grad-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 40px -14px rgba(59, 110, 244, 0.7);
  transition: transform 0.4s var(--ease);
  z-index: 2;
}
.video-play:hover { transform: scale(1.07); }
.video-play svg { width: 24px; height: 24px; margin-inline-start: 3px; }
html[dir="rtl"] .video-play svg { transform: scaleX(-1); margin-inline-start: 0; margin-inline-end: 3px; }
.video-note { font-size: 0.82rem; font-weight: 700; color: var(--text-dimmer); z-index: 2; }
.avatars { display: flex; }
.avatars span {
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: 2px solid var(--bg);
  margin-inline-start: -0.6rem;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800; color: #fff;
}
.avatars span:first-child { margin-inline-start: 0; }
.trust-row .stars { color: var(--amber); font-size: 0.85rem; letter-spacing: 0.1em; }
.trust-row small { display: block; color: var(--text-dimmer); font-size: 0.78rem; }

/* Hero visual — architectural scene + a compact progress card */
.hero-visual { position: relative; display: flex; flex-direction: column; gap: 1.2rem; }
.hero-card { position: relative; z-index: 3; }
.hero-visual .dash-float { position: static; animation: none; align-self: flex-start; margin-top: -0.3rem; }
@media (min-width: 1024px) {
  .hero-visual { min-height: 470px; }
  .hero-visual .arch-scene { max-width: 380px; margin: 0 auto -0.5rem; }
  .hero-card { width: min(100%, 340px); margin-inline: auto; }
  .hero-visual .dash-float { position: absolute; bottom: 1.2rem; inset-inline-start: 0.5rem; animation: floaty 5s ease-in-out infinite; }
}

/* Hero dashboard mock */
.dash {
  position: relative;
}
.dash-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0.9rem;
}
.dash-card { padding: 1.15rem 1.3rem; }
.dash-card .label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-dimmer); font-weight: 700; margin-bottom: 0.6rem; }
html[dir="rtl"] .dash-card .label { letter-spacing: 0; }
.dash-span2 { grid-column: 1 / -1; }

.progress-track { height: 8px; border-radius: 999px; background: var(--border-strong); overflow: hidden; margin-top: 0.7rem; }
.progress-fill { height: 100%; border-radius: 999px; background: var(--grad-primary); width: 0%; transition: width 1.4s var(--ease-soft); }

.streak-num { font-size: 1.9rem; font-weight: 800; }
.streak-num span { font-size: 1.1rem; }

.tasks-list { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.85rem; color: var(--text-dim); }
.tasks-list li { display: flex; align-items: center; gap: 0.5rem; }
.tasks-list i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-soft); flex-shrink: 0; }

.badge-count { font-size: 1.9rem; font-weight: 800; color: var(--amber); }

.dash-float {
  position: absolute; bottom: -1.2rem; inset-inline-start: -1.2rem;
  padding: 0.7rem 1rem;
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 700;
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,0.18); }

/* ---------- Stat bar ---------- */
.stats { padding-block: 3rem 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg-soft); padding: 1.6rem 1rem; text-align: center; }
.stat .num { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.stat .num span { background: var(--grad-amber); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .cap { font-size: 0.78rem; color: var(--text-dimmer); margin-top: 0.35rem; }

/* ---------- Problem list ---------- */
.problem-grid { display: grid; grid-template-columns: 1fr; gap: 0.8rem; }
@media (min-width: 768px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
.problem-item {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1.1rem 1.3rem; border-radius: var(--radius-sm);
  background: var(--card); border: 1px solid var(--border);
}
.problem-item .q-mark {
  width: 2.1rem; height: 2.1rem; border-radius: 50%; flex-shrink: 0;
  background: rgba(167, 139, 250, 0.14); color: var(--purple);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.95rem;
}
.problem-item p { font-size: 0.95rem; color: var(--text-dim); }

.solution-line {
  margin-top: 2.6rem; padding: 1.6rem 1.8rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(167,139,250,0.1));
  border: 1px solid var(--border-strong);
  font-size: 1.05rem; font-weight: 700;
}

/* ---------- Bento features ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}
@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; }
  .bento .bezel.big { grid-column: span 2; grid-row: span 2; }
}
.feature-card { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.9rem; min-height: 100%; }
.big .feature-card { padding: 2rem; justify-content: space-between; }
.f-icon {
  width: 2.9rem; height: 2.9rem; border-radius: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(59,130,246,0.14); color: var(--blue-soft);
}
.f-icon svg { width: 20px; height: 20px; }
.feature-card h3 { font-size: 1.05rem; }
.feature-card p { color: var(--text-dim); font-size: 0.88rem; }

/* ---------- Spotlight (editorial split) ---------- */
.spotlight { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .spotlight { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.spotlight-before {
  padding: 1.4rem; border-radius: var(--radius-md);
  background: var(--card); border: 1px dashed var(--border-strong);
  color: var(--text-dimmer); font-size: 0.95rem; text-decoration: line-through; text-decoration-color: var(--border-strong);
}
.spotlight-after {
  margin-top: 1rem; padding: 1.6rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(245,165,36,0.14), rgba(59,130,246,0.08));
  border: 1px solid rgba(245,165,36,0.3);
  font-size: 1.15rem; font-weight: 700;
}
.subject-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.subject-pills span {
  display: inline-block;
  padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  background: var(--card); border: 1px solid var(--border); color: var(--text-dim);
  transition: all 0.4s var(--ease);
}
.subject-pills a:hover span { border-color: var(--blue); color: var(--text); transform: translateY(-2px); }

/* ---------- Journey ---------- */
.journey { display: grid; grid-template-columns: repeat(1,1fr); gap: 1rem; counter-reset: step; }
@media (min-width: 700px) { .journey { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1080px) { .journey { grid-template-columns: repeat(5,1fr); } }
.step { padding: 1.3rem; }
.step-num {
  counter-increment: step;
  width: 2.4rem; height: 2.4rem; border-radius: 0.8rem;
  background: var(--grad-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 0.9rem;
}
.step h4 { font-size: 0.92rem; margin-bottom: 0.3rem; }
.step p { font-size: 0.78rem; color: var(--text-dimmer); }

/* ---------- AI Chat mock ---------- */
.ai-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .ai-layout { grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; } }
.prompt-chip-list { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.6rem; }
.prompt-chip { display: flex; align-items: center; gap: 0.7rem; padding: 0.85rem 1.1rem; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--border); font-size: 0.88rem; color: var(--text-dim); }
.prompt-chip svg { width: 15px; height: 15px; color: var(--blue-soft); flex-shrink: 0; }

.chat-mock { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.9rem; min-height: 360px; }
.chat-head { display: flex; align-items: center; gap: 0.7rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--border); }
.chat-avatar { width: 2.3rem; height: 2.3rem; border-radius: 0.8rem; background: var(--grad-primary); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: 0.85rem; }
.chat-head strong { font-size: 0.9rem; display: block; }
.chat-head small { color: var(--text-dimmer); font-size: 0.72rem; display: flex; align-items: center; gap: 0.35rem; }
.chat-body { display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.bubble { max-width: 82%; padding: 0.75rem 1rem; border-radius: 1.1rem; font-size: 0.86rem; line-height: 1.5; }
.bubble.user { align-self: flex-end; background: var(--grad-primary); color: #fff; border-bottom-right-radius: 0.3rem; }
html[dir="rtl"] .bubble.user { border-bottom-right-radius: 1.1rem; border-bottom-left-radius: 0.3rem; }
.bubble.ai { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 0.3rem; }
html[dir="rtl"] .bubble.ai { border-bottom-left-radius: 1.1rem; border-bottom-right-radius: 0.3rem; }
.typing { display: inline-flex; gap: 3px; align-items: center; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--text-dimmer); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.2s; }
.typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.3; } 30% { opacity: 1; } }

/* ---------- Live / Community / Gamification icon rows ---------- */
.icon-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.icon-pill { display: flex; align-items: center; gap: 0.55rem; padding: 0.65rem 1.05rem; border-radius: 999px; background: var(--card); border: 1px solid var(--border); font-size: 0.82rem; font-weight: 600; color: var(--text-dim); }
.icon-pill svg { width: 15px; height: 15px; color: var(--amber-soft); }

.two-col { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.two-col.reverse .col-visual { order: -1; }
@media (min-width: 960px) { .two-col.reverse .col-visual { order: 2; } }

.gami-card { padding: 1.5rem; display: flex; align-items: center; gap: 1rem; }
.gami-avatar { width: 3.1rem; height: 3.1rem; border-radius: 0.9rem; background: var(--grad-amber); flex-shrink: 0; }
.gami-name { font-weight: 800; font-size: 1rem; }
.gami-meta { color: var(--text-dimmer); font-size: 0.8rem; margin-top: 0.2rem; }
.xp-bar { height: 6px; border-radius: 999px; background: var(--border-strong); margin-top: 0.7rem; overflow: hidden; }
.xp-fill { height: 100%; width: 68%; border-radius: 999px; background: var(--grad-amber); }

.badge-row { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.badge-row .b { width: 2.6rem; height: 2.6rem; border-radius: 0.7rem; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; background: var(--surface); border: 1px solid var(--border); }

/* ---------- Certificate ---------- */
.cert { padding: 1.6rem; position: relative; overflow: hidden; }
.cert-inner { border: 1px dashed var(--border-strong); border-radius: 1rem; padding: 1.8rem; text-align: center; position: relative; }
.cert-seal { width: 3.4rem; height: 3.4rem; margin-inline: auto 0; border-radius: 50%; background: var(--grad-amber); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; margin-bottom: 1rem; }
.cert-name { font-size: 1.25rem; font-weight: 800; margin: 0.4rem 0; }
.cert-meta { color: var(--text-dimmer); font-size: 0.78rem; display: flex; justify-content: center; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.cert-qr { width: 2.6rem; height: 2.6rem; border-radius: 0.4rem; background:
  repeating-conic-gradient(#e5e9f2 0% 25%, #0f1330 0% 50%) 0 0 / 6px 6px;
  margin-inline: auto; margin-top: 1rem; }

/* ---------- Teacher side ---------- */
.trend-up { font-size: 0.78rem; font-weight: 800; color: #34d399; background: rgba(52,211,153,0.12); padding: 0.2rem 0.5rem; border-radius: 999px; }
.mini-bars { display: flex; align-items: flex-end; gap: 0.35rem; height: 44px; margin-top: 0.9rem; }
.mini-bars span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--blue-soft), rgba(59,130,246,0.15)); }
.mini-bars span:last-child { background: linear-gradient(180deg, var(--amber-soft), rgba(245,165,36,0.2)); }

.compare-wrap { max-width: 900px; margin-inline: auto; }
.compare-row { display: grid; grid-template-columns: 1fr; gap: 0.9rem; align-items: center; }
@media (min-width: 760px) { .compare-row { grid-template-columns: 1fr auto 1fr; } }
.compare-card { padding: 1.4rem 1.6rem; border-radius: var(--radius-md); background: var(--card); border: 1px solid var(--border); }
.compare-card.highlight { background: linear-gradient(135deg, rgba(59,130,246,0.14), rgba(167,139,250,0.12)); border-color: rgba(96,165,250,0.35); }
.compare-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-dimmer); font-weight: 800; margin-bottom: 0.5rem; }
html[dir="rtl"] .compare-label { letter-spacing: 0; }
.compare-value { font-size: 0.98rem; font-weight: 700; }
.compare-arrow { display: flex; align-items: center; justify-content: center; color: var(--blue-soft); }
.compare-arrow svg { width: 22px; height: 22px; transform: rotate(90deg); }
@media (min-width: 760px) { .compare-arrow svg { transform: none; } html[dir="rtl"] .compare-arrow svg { transform: scaleX(-1); } }
.compare-result { text-align: center; margin-top: 1.6rem; font-weight: 800; font-size: 1.05rem; color: var(--amber-soft); }

.split-cols { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
@media (min-width: 560px) { .split-cols { grid-template-columns: 1fr 1fr; } }
.split-head { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-dimmer); font-weight: 800; margin-bottom: 0.9rem; }
html[dir="rtl"] .split-head { letter-spacing: 0; }

/* ---------- Admin panel ---------- */
.status-badge { display: inline-block; padding: 0.28rem 0.7rem; border-radius: 999px; font-size: 0.68rem; font-weight: 800; white-space: nowrap; flex-shrink: 0; }
.status-badge.ok { background: rgba(52,211,153,0.14); color: #34d399; }
.status-badge.pending { background: rgba(245,165,36,0.14); color: var(--amber-soft); }
.status-badge.flag { background: rgba(251,113,133,0.14); color: #fb7185; }

.admin-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.admin-row:last-child { border-bottom: none; padding-bottom: 0.2rem; }
.admin-row .meta { color: var(--text-dimmer); font-size: 0.76rem; margin-top: 0.25rem; }

/* ---------- Instructor ---------- */
.instructor { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .instructor { grid-template-columns: 0.8fr 1.2fr; gap: 3.5rem; } }
.instructor-photo { aspect-ratio: 4/5; border-radius: var(--radius-lg); background: linear-gradient(160deg, #141a3d, #0b0f24); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.instructor-photo svg { width: 46%; opacity: 0.9; }
.instructor-photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(59,130,246,0.35), transparent 60%); }
.cred-list { display: grid; gap: 0.9rem; margin-top: 1.6rem; }
.cred-list li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.92rem; color: var(--text-dim); }
.cred-list svg { width: 18px; height: 18px; color: var(--blue-soft); flex-shrink: 0; margin-top: 0.15rem; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 800px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card { padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.testi-stars { color: var(--amber); font-size: 0.8rem; letter-spacing: 0.15em; }
.testi-card p { font-size: 0.92rem; color: var(--text-dim); }
.testi-person { display: flex; align-items: center; gap: 0.7rem; margin-top: auto; }
.testi-avatar { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--grad-primary); flex-shrink: 0; }
.testi-person strong { font-size: 0.85rem; display: block; }
.testi-person small { color: var(--text-dimmer); font-size: 0.75rem; }

/* ---------- Pricing ---------- */
.price-toggle { display: flex; align-items: center; justify-content: center; gap: 0.9rem; margin-bottom: 2.6rem; }
.switch { width: 3.1rem; height: 1.7rem; border-radius: 999px; background: var(--card-solid); border: 1px solid var(--border-strong); position: relative; padding: 0.15rem; }
.switch .knob { width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--grad-primary); transition: transform 0.4s var(--ease); }
.switch.on .knob { transform: translateX(1.4rem); }
html[dir="rtl"] .switch.on .knob { transform: translateX(-1.4rem); }
.save-tag { font-size: 0.7rem; font-weight: 800; color: var(--amber-soft); background: rgba(245,165,36,0.12); padding: 0.2rem 0.55rem; border-radius: 999px; }

.price-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 860px) { .price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.price-card { padding: 2rem; display: flex; flex-direction: column; height: 100%; }
.price-card.featured .bezel-inner, .price-card.featured { position: relative; }
.price-card.featured { transform: translateY(-0.5rem); }
.price-card.featured .bezel-inner { border-color: rgba(59,130,246,0.5); box-shadow: 0 0 0 1px rgba(59,130,246,0.25), inset 0 1px 1px var(--sheen-soft); }
.price-badge { position: absolute; top: -0.9rem; inset-inline-start: 50%; transform: translateX(-50%); background: var(--grad-primary); padding: 0.35rem 0.9rem; border-radius: 999px; font-size: 0.7rem; font-weight: 800; white-space: nowrap; }
html[dir="rtl"] .price-badge { transform: translateX(50%); }
.price-amount { font-size: 2.4rem; font-weight: 800; margin: 0.8rem 0 0.2rem; }
.price-amount span { font-size: 0.95rem; color: var(--text-dimmer); font-weight: 600; }
.price-list { display: grid; gap: 0.65rem; margin: 1.6rem 0 2rem; flex: 1; }
.price-list li { display: flex; gap: 0.6rem; align-items: center; font-size: 0.86rem; color: var(--text-dim); }
.price-list svg { width: 15px; height: 15px; color: #34d399; flex-shrink: 0; }
.price-card .btn { width: 100%; justify-content: center; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.8rem; max-width: 800px; margin-inline: auto; }
.faq-item { border-radius: var(--radius-md); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.5rem; text-align: start; font-weight: 700; font-size: 0.98rem; }
.faq-q .plus { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--surface); flex-shrink: 0; position: relative; transition: transform 0.4s var(--ease), background 0.4s var(--ease); }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--text); top: 50%; left: 50%; }
.faq-q .plus::before { width: 8px; height: 1.5px; transform: translate(-50%,-50%); }
.faq-q .plus::after { width: 1.5px; height: 8px; transform: translate(-50%,-50%); transition: opacity 0.3s var(--ease); }
.faq-item.open .plus { transform: rotate(180deg); background: var(--blue); }
.faq-item.open .plus::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease-soft); }
.faq-a p { padding: 0 1.5rem 1.3rem; color: var(--text-dim); font-size: 0.9rem; }

/* ---------- Final CTA ---------- */
.cta-band { text-align: center; padding: 3.5rem 2rem; border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(59,130,246,0.16), rgba(167,139,250,0.14)); border: 1px solid var(--border-strong); position: relative; overflow: hidden; }
.cta-band h2 { max-width: 30ch; margin-inline: auto 1.2rem; }
.cta-band .lede { margin-inline: auto; margin-bottom: 2rem; }

/* ---------- Footer ---------- */
footer { padding-block: 4rem 2.5rem; border-top: 1px solid var(--border); }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-brand p { color: var(--text-dimmer); font-size: 0.88rem; margin-top: 0.8rem; max-width: 30ch; }
.foot-col h5 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dimmer); margin-bottom: 1rem; }
html[dir="rtl"] .foot-col h5 { letter-spacing: 0; }
.foot-col ul { display: grid; gap: 0.6rem; }
.foot-col a { color: var(--text-dim); font-size: 0.9rem; transition: color 0.3s var(--ease); }
.foot-col a:hover { color: var(--text); }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--border); color: var(--text-dimmer); font-size: 0.8rem; }
.social-row { display: flex; gap: 0.6rem; }
.social-row a { width: 2.1rem; height: 2.1rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--card); border: 1px solid var(--border); }
.social-row svg { width: 14px; height: 14px; }

/* ---------- Misc ---------- */
.skip-link { position: absolute; top: -100px; left: 1rem; background: var(--blue); color: #fff; padding: 0.6rem 1rem; border-radius: 0.5rem; z-index: 100; }
.skip-link:focus { top: 1rem; }

/* =========================================================
   Architectural CSS-3D hero scene — isometric building + blueprint
   Pure CSS transforms, GPU-cheap, pauses under reduced-motion,
   and is hidden entirely on small screens for performance.
   ========================================================= */
.arch-scene {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  perspective: 1400px;
  perspective-origin: 50% 40%;
}
.arch-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(56deg) rotateZ(45deg);
  animation: arch-spin 34s linear infinite;
}
@keyframes arch-spin {
  from { transform: rotateX(56deg) rotateZ(45deg); }
  to   { transform: rotateX(56deg) rotateZ(405deg); }
}
/* Ground plate — the drafting sheet */
.arch-plate {
  position: absolute;
  inset: 8%;
  background:
    linear-gradient(var(--border-strong) 1px, transparent 1px) 0 0 / 12.5% 12.5%,
    linear-gradient(90deg, var(--border-strong) 1px, transparent 1px) 0 0 / 12.5% 12.5%,
    var(--card-solid);
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 60px -20px rgba(var(--shadow-color), 0.55);
  transform: translateZ(0);
}
/* Extruded massing blocks */
.arch-block {
  position: absolute;
  transform-style: preserve-3d;
}
.arch-block > span {
  position: absolute;
  inset: 0;
  border: 1px solid var(--blue-soft);
  background: color-mix(in srgb, var(--blue) 22%, var(--card-solid));
  box-shadow: 0 22px 34px -14px rgba(var(--shadow-color), 0.55);
}
.arch-block > .t  { transform: translateZ(var(--h)); }
.arch-block > .s1 { transform: translateZ(calc(var(--h) * 0.5)); background: color-mix(in srgb, var(--blue) 13%, var(--card-solid)); box-shadow: none; }
.arch-block > .s3 { background: color-mix(in srgb, var(--blue) 7%, var(--card-solid)); box-shadow: none; }
.arch-block > .s4 { display: none; }
.arch-block::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--blue-soft);
  opacity: 0.35;
  transform: translateZ(calc(var(--h) + 0.5px));
}

.b1 { width: 32%; height: 32%; left: 22%; top: 24%; --h: 130px; }
.b2 { width: 22%; height: 24%; left: 52%; top: 32%; --h: 84px; }
.b3 { width: 18%; height: 20%; left: 26%; top: 56%; --h: 52px; }
.b2 > span { border-color: var(--amber-soft); }
.b2 > .t  { background: color-mix(in srgb, var(--amber) 22%, var(--card-solid)); }
.b2 > .s1 { background: color-mix(in srgb, var(--amber) 12%, var(--card-solid)); }

/* Floating blueprint plates above the model */
.arch-float {
  position: absolute;
  border: 1px solid var(--blue-soft);
  background: color-mix(in srgb, var(--blue) 8%, transparent);
  backdrop-filter: blur(2px);
  animation: arch-bob 6s var(--ease-soft) infinite;
}
.arch-float::before {
  content: "";
  position: absolute; inset: 6px;
  background:
    linear-gradient(var(--blue-soft) 1px, transparent 1px) 0 0 / 10px 10px,
    linear-gradient(90deg, var(--blue-soft) 1px, transparent 1px) 0 0 / 10px 10px;
  opacity: 0.25;
}
.arch-float.f1 { width: 30%; height: 30%; left: 8%; top: 4%; transform: translateZ(230px); }
.arch-float.f2 { width: 22%; height: 22%; left: 62%; top: 8%; transform: translateZ(300px); animation-delay: -2s; }
@keyframes arch-bob { 0%,100% { margin-top: 0; } 50% { margin-top: -14px; } }

@media (prefers-reduced-motion: reduce) {
  .arch-stage, .arch-float { animation: none; }
}
@media (max-width: 1023px) {
  .arch-scene { display: none; }
}
