/* ==========================================================================
   Valthor Technology — Premium Landing Page
   HTML5 / CSS3 / Vanilla JS — no external dependencies
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ---------- Design tokens ---------- */
:root {
  --bg: #050505;
  --bg-alt: #0a0a0d;
  --gray-900: #0d0d11;
  --gray-800: #17171c;
  --gray-700: #232329;
  --gray-500: #6b6b76;
  --gray-300: #a3a3ad;
  --white: #ffffff;
  --blue: #0a6cff;
  --blue-soft: #3b8cff;
  --cyan: #22e5ff;
  --gradient: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(10,108,255,0.15), rgba(34,229,255,0.15));
  --glass-bg: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.09);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1200px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}

@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
}

::selection { background: var(--blue); color: var(--white); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.section { position: relative; padding: 140px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 12px var(--cyan);
  flex-shrink: 0;
}

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
p { max-width: 60ch; }

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__mark {
  font-size: 40px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: loaderPulse 1.1s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; }
.cursor__dot, .cursor__ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cursor__dot { width: 6px; height: 6px; background: var(--cyan); }
.cursor__ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(34,229,255,0.5);
  transition: width 0.2s var(--ease), height 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.cursor--active .cursor__ring {
  width: 54px; height: 54px;
  background: rgba(34,229,255,0.08);
  border-color: var(--cyan);
}
@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* ---------- Progress bar ---------- */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient);
  z-index: 9997;
  box-shadow: 0 0 10px var(--cyan);
  transition: width 0.08s linear;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 22px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.is-scrolled {
  padding: 14px 0;
  background: rgba(5,5,5,0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--glass-border);
}
.navbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: opacity 0.3s var(--ease);
}
.navbar__logo:hover { opacity: 0.8; }
.navbar__logo em { font-style: normal; color: var(--gray-300); font-weight: 400; }
.navbar__nav { display: flex; align-items: center; gap: 36px; }
.nav-link {
  position: relative;
  font-size: 14.5px;
  color: var(--gray-300);
  transition: color 0.3s var(--ease);
  padding: 4px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gradient);
  transition: width 0.35s var(--ease);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.lang-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.lang-toggle:hover { border-color: rgba(34,229,255,0.4); transform: translateY(-1px); }
.lang-toggle__current { color: var(--white); }
.lang-toggle__sep { color: var(--gray-500); }
.lang-toggle__other { color: var(--gray-500); }
.lang-toggle__tooltip {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--gray-800);
  border: 1px solid var(--glass-border);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
}
.lang-toggle__tooltip.is-visible { opacity: 1; transform: translateY(0); }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  z-index: 901;
}
.navbar__toggle span {
  height: 1.5px;
  width: 100%;
  background: var(--white);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.navbar__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navbar__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 8px 30px -8px rgba(10,108,255,0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(34,229,255,0.7); }
.btn--ghost {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  color: var(--white);
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }
.btn--cta {
  background: var(--white);
  color: var(--bg);
  padding: 20px 44px;
  font-size: 17px;
  box-shadow: 0 20px 60px -12px rgba(34,229,255,0.5);
}
.btn--cta:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 25px 70px -10px rgba(34,229,255,0.7); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}
.hero__glow--1 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(10,108,255,0.35), transparent 70%);
  top: -150px; left: -150px;
  animation: floatSlow 14s ease-in-out infinite;
}
.hero__glow--2 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(34,229,255,0.25), transparent 70%);
  bottom: -180px; right: -120px;
  animation: floatSlow 18s ease-in-out infinite reverse;
}
@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}
.hero__content { position: relative; z-index: 2; text-align: center; max-width: 880px; }
.hero__title {
  font-size: clamp(2.4rem, 6.4vw, 5rem);
  margin-bottom: 26px;
}
.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--gray-300);
  max-width: 640px;
  margin: 0 auto 44px;
  font-weight: 400;
}
.hero__actions { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero__scroll span {
  width: 1px; height: 40px;
  background: linear-gradient(var(--cyan), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
.hero__scroll p { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray-500); }
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Platform sections (Orbis / Atlas) ---------- */
.platform { min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.platform__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.platform__grid--reverse .platform__visual { order: 2; }
.platform__grid--reverse .platform__text { order: 1; }

.platform__title { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: 14px; letter-spacing: -0.01em; }
.platform__tag { color: var(--blue-soft); font-weight: 600; font-size: 1.05rem; margin-bottom: 22px; }
.platform__desc { color: var(--gray-300); font-size: 1.08rem; margin-bottom: 34px; max-width: 480px; }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; max-width: 560px; }
.chip {
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  font-size: 0.85rem;
  color: var(--gray-300);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.chip:hover {
  border-color: rgba(34,229,255,0.45);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -14px rgba(34,229,255,0.7);
}

/* Orbis globe */
.platform--orbis { background: radial-gradient(circle at 75% 50%, rgba(10,108,255,0.08), transparent 60%); }
.orbis__globe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin: 0 auto;
}
.orbis__glow-bg {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,108,255,0.3), transparent 70%);
  filter: blur(50px);
}
.orbis__globe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Atlas visual */
.platform--atlas { background: radial-gradient(circle at 25% 50%, rgba(34,229,255,0.07), transparent 60%); }
.atlas__visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 480px;
  margin: 0 auto;
}
.atlas__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.atlas__panel {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 140px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(20,20,26,0.75);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
  animation: floatPanel 7s ease-in-out infinite;
}
.atlas__panel svg { width: 20px; height: 20px; color: var(--cyan); }
.atlas__panel p { font-size: 0.8rem; color: var(--gray-300); font-weight: 500; }
.atlas__panel--db { top: 4%; left: 0%; animation-delay: 0s; }
.atlas__panel--docs { top: 2%; right: 2%; animation-delay: 1.2s; }
.atlas__panel--stats { top: 40%; right: 0%; animation-delay: 2.4s; }
.atlas__panel--map { bottom: 20%; left: -4%; animation-delay: 0.6s; }
.atlas__panel--mail { bottom: 22%; right: -2%; animation-delay: 1.8s; }
.atlas__panel--control { bottom: 0%; left: 32%; animation-delay: 3s; }
@keyframes floatPanel {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Transitions ---------- */
.transition {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}
.transition__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.transition__caption {
  position: relative;
  z-index: 2;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--gray-300);
  text-align: center;
  max-width: 560px;
  padding: 0 24px;
}

/* ---------- Valthor AI ---------- */
.ai-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gray-900);
  text-align: center;
}
.ai-section__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.75; }
.ai-section__content { position: relative; z-index: 2; }
.ai-section__title { font-size: clamp(2.8rem, 7vw, 5.2rem); }
.ai-section__tag { font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: var(--white); margin: 18px 0 20px; font-weight: 500; }
.ai-section__desc { max-width: 680px; margin: 0 auto 56px; color: var(--gray-300); font-size: 1.1rem; }

.ai-usecases {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 980px;
  margin: 0 auto 56px;
}
.ai-usecase {
  padding: 20px 16px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-300);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.ai-usecase:hover {
  transform: translateY(-5px);
  border-color: rgba(34,229,255,0.4);
  color: var(--white);
}

.legislative-panel {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  text-align: left;
}
.legislative-panel__desc { color: var(--gray-300); margin: 14px 0 30px; font-size: 1rem; max-width: 100%; }
.legislative-panel__flow {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.legislative-panel__node {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}
.legislative-panel__node--ai {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 0 30px -6px rgba(34,229,255,0.7);
}
.legislative-panel__arrow {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  position: relative;
  flex-shrink: 0;
}
.legislative-panel__arrow::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 6px; height: 6px;
  border-right: 1.5px solid var(--cyan);
  border-top: 1.5px solid var(--cyan);
  transform: translateY(-50%) rotate(45deg);
}
.legislative-panel__outputs { display: flex; flex-wrap: wrap; gap: 10px; }
.legislative-panel__outputs span {
  padding: 10px 16px;
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  font-size: 0.82rem;
  color: var(--gray-300);
}

/* ---------- Ecosystem ---------- */
.ecosystem { text-align: center; overflow: hidden; }
.ecosystem__content h2 { max-width: 700px; margin: 0 auto; }
.ecosystem__diagram {
  position: relative;
  max-width: 420px;
  margin: 80px auto 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.ecosystem__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.ecosystem__node {
  position: relative;
  z-index: 1;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.ecosystem__node:hover { transform: translateY(-6px); border-color: rgba(34,229,255,0.4); }
.ecosystem__node-mark { display: block; font-size: 12px; font-weight: 700; color: var(--cyan); letter-spacing: 0.08em; margin-bottom: 10px; }
.ecosystem__node h3 { font-size: 1.5rem; margin-bottom: 6px; }
.ecosystem__node p { color: var(--gray-300); font-size: 0.95rem; margin: 0 auto; }
.ecosystem__node--ai { background: var(--gradient-soft); border-color: rgba(34,229,255,0.3); }
.ecosystem__closing { margin: 60px auto 0; color: var(--gray-300); font-size: 1.1rem; max-width: 560px; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(10,108,255,0.28), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(34,229,255,0.22), transparent 55%);
  filter: blur(20px);
  animation: ctaShift 12s ease-in-out infinite;
}
@keyframes ctaShift {
  0%, 100% { transform: scale(1) translate(0,0); }
  50% { transform: scale(1.15) translate(-20px, 20px); }
}
.cta__content { position: relative; z-index: 2; margin: 0 auto; }
.cta__content h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 0 auto 22px; max-width: 800px; }
.cta__content p { color: var(--gray-300); font-size: 1.15rem; margin: 0 auto 46px; max-width: 620px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--glass-border);
  background: var(--bg-alt);
  padding: 80px 0 40px;
  text-align: center;
}
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer__logo { justify-content: center; }
.footer__location { color: var(--gray-500); font-size: 0.95rem; }
.footer__social { display: flex; gap: 28px; margin: 16px 0; flex-wrap: wrap; justify-content: center; }
.footer__social a { color: var(--gray-300); font-size: 0.92rem; transition: color 0.3s var(--ease); }
.footer__social a:hover { color: var(--cyan); }
.footer__domain { color: var(--cyan); font-weight: 600; margin-bottom: 24px; }
.footer__copy { color: var(--gray-500); font-size: 0.82rem; padding-top: 24px; border-top: 1px solid var(--glass-border); width: 100%; max-width: 400px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .platform__grid { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .platform__grid--reverse .platform__visual { order: 1; }
  .platform__grid--reverse .platform__text { order: 2; }
  .platform__desc { margin-left: auto; margin-right: auto; }
  .chip-list { justify-content: center; margin-left: auto; margin-right: auto; }
  .ai-usecases { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .section { padding: 100px 0; }
  .platform { min-height: auto; padding: 100px 0; }
  .navbar__nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: rgba(8,8,10,0.85);
    backdrop-filter: blur(24px);
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    z-index: 900;
  }
  .navbar__nav.is-open { transform: translateX(0); }
  .navbar__toggle { display: flex; }
  .nav-link { font-size: 18px; }
  .lang-toggle { margin-top: 10px; }
  .lang-toggle__tooltip { left: 0; right: auto; }

  .atlas__visual { height: 420px; max-width: 420px; }
  .atlas__panel { width: 118px; padding: 12px 14px; }

  .ai-usecases { grid-template-columns: repeat(2, 1fr); }
  .legislative-panel { padding: 28px; }
  .legislative-panel__flow { flex-direction: column; align-items: flex-start; }
  .legislative-panel__arrow { width: 1px; height: 22px; }
  .legislative-panel__arrow::after { right: auto; left: 50%; top: 100%; transform: translateX(-50%) rotate(135deg); }
}

@media (max-width: 640px) {
  .container { padding: 0 22px; }
  .platform__grid { padding: 0 22px; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .atlas__visual { height: 380px; max-width: 320px; }
  .atlas__panel { width: 100px; padding: 10px 12px; }
  .atlas__panel p { font-size: 0.7rem; }
  .ai-usecases { grid-template-columns: 1fr 1fr; }
  .cta__content .btn { width: 100%; }
}
