/* ============================================================
   CONSULA.ai — style.css
   ============================================================ */

:root {
  --ink: #0a1633;
  --navy: #12275a;
  --navy-2: #1e3d7b;
  --azure: #2f6bff;
  --azure-soft: #e6eeff;
  --sky: #8fb4ff;
  --paper: #f4f7fc;
  --white: #ffffff;
  --muted: #5a6b8c;
  --line: rgba(10, 22, 51, 0.1);
  --line-strong: rgba(10, 22, 51, 0.16);
  --shadow-m: 0 18px 40px -22px rgba(10, 22, 51, 0.35);
  --shadow-l: 0 40px 90px -40px rgba(10, 22, 51, 0.45);
  --r: 18px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* {
  -webkit-tap-highlight-color: transparent;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family:
    'Manrope',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--ink);
  color: #fff;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: inherit;
}
img,
svg {
  max-width: 100%;
}

.display-face {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.06;
}
.mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

/* icons */
.ic {
  width: 1em;
  height: 1em;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.125em;
}
.ic-fill {
  stroke: none;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-2);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--navy-2);
  opacity: 0.5;
}
.eyebrow.light {
  color: rgba(255, 255, 255, 0.62);
}
.eyebrow.light::before {
  background: rgba(255, 255, 255, 0.5);
}

.sec {
  padding: clamp(64px, 9vw, 132px) 0;
}
.sec-tight {
  padding: clamp(52px, 7vw, 96px) 0;
}
.wrap {
  max-width: 1180px;
}
.cv {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

.sec-head {
  max-width: 36rem;
}
.sec-head h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  line-height: 1.1;
  margin: 1rem 0 0.85rem;
}
.sec-head h2 i {
  font-style: italic;
  color: var(--azure);
}
.sec-head p {
  color: var(--muted);
}

/* ---------- BUTTONS ---------- */
.btn-ink {
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 99px;
  padding: 0.72rem 1.5rem;
  font-weight: 700;
  font-size: 0.93rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.btn-ink::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--navy-2), var(--azure));
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.btn-ink > * {
  position: relative;
  z-index: 1;
}
.btn-ink:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(47, 107, 255, 0.7);
}
.btn-ink:hover::before {
  opacity: 1;
}
.btn-ink .ic {
  transition: transform 0.3s var(--ease);
}
.btn-ink:hover .ic {
  transform: translateX(4px);
}
.btn-ghost {
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  background: transparent;
  color: var(--navy);
  padding: 0.72rem 1.4rem;
  font-weight: 700;
  font-size: 0.93rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: 0.3s var(--ease);
}
.btn-ghost:hover {
  background: var(--white);
  border-color: var(--navy);
  color: var(--ink);
  transform: translateY(-2px);
}

/* ---------- NAV ---------- */
.nav-shell {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1030;
  transition:
    background 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.nav-shell.is-scrolled {
  background: rgba(244, 247, 252, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.1rem 0;
  transition: padding 0.4s var(--ease);
}
.nav-shell.is-scrolled .nav-inner {
  padding: 0.6rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.18rem;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--ink);
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
  position: relative;
  overflow: hidden;
}
.brand-mark b {
  font-family: 'Instrument Serif', serif;
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 400;
  transform: translateY(1px);
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: auto -40% -60% -40%;
  height: 70%;
  background: var(--azure);
  filter: blur(10px);
  opacity: 0.75;
}
.brand em {
  font-style: normal;
  color: var(--muted);
  font-weight: 600;
}
.nav-links {
  display: flex;
  gap: 1.55rem;
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 600;
}
.nav-links a {
  color: var(--navy);
  opacity: 0.8;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--azure);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover {
  opacity: 1;
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-act {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-link-auth {
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 0.4rem;
  cursor: pointer;
  transition: 0.25s;
}
.btn-link-auth:hover {
  color: var(--azure);
}
.lang {
  display: flex;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  padding: 3px;
  background: var(--white);
}
.lang button {
  border: 0;
  background: transparent;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.6rem;
  border-radius: 99px;
  color: var(--muted);
  cursor: pointer;
  transition: 0.25s;
}
.lang button.on {
  background: var(--ink);
  color: #fff;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 12px;
  width: 46px;
  height: 46px;
  color: var(--navy);
  font-size: 1.25rem;
  align-items: center;
  justify-content: center;
}

/* ---------- PREMIUM MOBILE PANEL ---------- */
.mnav {
  background: linear-gradient(165deg, #0a1633 0%, #12275a 55%, #1e3d7b 100%);
  border: 0;
  width: min(88vw, 380px);
  color: #fff;
}
.mnav::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.5), transparent 65%);
  filter: blur(70px);
  top: -180px;
  right: -140px;
  pointer-events: none;
}
.mnav .offcanvas-header {
  padding: 1.3rem 1.4rem 0.6rem;
  position: relative;
  z-index: 1;
}
.mnav .brand {
  color: #fff;
}
.mnav .brand em {
  color: rgba(255, 255, 255, 0.5);
}
.mnav .brand-mark {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}
.mnav-close {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  margin-left: auto;
}
.mnav .offcanvas-body {
  padding: 0.6rem 1.4rem 1.6rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.mnav-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin: 0.6rem 0 0.3rem;
}
.mnav-list {
  display: flex;
  flex-direction: column;
}
.mnav-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0.2rem;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  position: relative;
  opacity: 0;
  transform: translateX(18px);
}
.mnav.show .mnav-link {
  animation: mnavIn 0.5s var(--ease) forwards;
}
@keyframes mnavIn {
  to {
    opacity: 1;
    transform: none;
  }
}
.mnav-link .n {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  color: var(--sky);
  opacity: 0.75;
  width: 22px;
}
.mnav-link .t {
  font-family: 'Instrument Serif', serif;
  font-size: 1.42rem;
  line-height: 1.1;
  flex: 1;
}
.mnav-link .ic {
  color: rgba(255, 255, 255, 0.35);
  font-size: 1rem;
  transition:
    transform 0.3s var(--ease),
    color 0.3s;
}
.mnav-link:active .ic,
.mnav-link:hover .ic {
  color: #fff;
  transform: translateX(5px);
}
.mnav-cta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.4rem;
}
.mnav-cta .btn-ink {
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.mnav-cta .btn-ink::before {
  display: none;
}
.mnav-cta .btn-ink:hover {
  color: var(--ink);
}
.mnav-cta .btn-outline-l {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 99px;
  background: transparent;
  color: #fff;
  padding: 0.72rem 1.4rem;
  font-weight: 700;
  font-size: 0.93rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  width: 100%;
}
.mnav-foot {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.mnav .lang {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}
.mnav .lang button {
  color: rgba(255, 255, 255, 0.6);
}
.mnav .lang button.on {
  background: #fff;
  color: var(--ink);
}
.mnav-mail {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(104px, 15vw, 178px) 0 clamp(48px, 7vw, 96px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(18, 39, 90, 0.14) 1px,
    transparent 0
  );
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(
    ellipse 78% 62% at 62% 26%,
    #000 0%,
    transparent 72%
  );
  mask-image: radial-gradient(
    ellipse 78% 62% at 62% 26%,
    #000 0%,
    transparent 72%
  );
}
.hero-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  background: radial-gradient(
    circle,
    rgba(47, 107, 255, 0.45),
    transparent 68%
  );
  top: -210px;
  right: -120px;
  animation: drift 20s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-glow.two {
  background: radial-gradient(circle, rgba(18, 39, 90, 0.3), transparent 68%);
  left: -240px;
  top: 180px;
  animation-delay: -8s;
}
@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-50px, 44px, 0) scale(1.1);
  }
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.5rem);
  margin: 1.3rem 0 1.25rem;
}
.hero h1 i {
  font-style: italic;
  color: var(--azure);
}
.hero-sub {
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  color: var(--muted);
  max-width: 31em;
  margin-bottom: 1.9rem;
}
.hero-cta {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center;
}
.stat-row {
  display: flex;
  gap: 2.4rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.stat b {
  display: block;
  font-family: 'Instrument Serif', serif;
  font-size: 2.15rem;
  line-height: 1;
  color: var(--ink);
  font-weight: 400;
}
.stat small {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- ADVISOR PANEL ---------- */
.panel {
  background: var(--white);
  border-radius: 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-l);
  overflow: hidden;
  position: relative;
}
.panel::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--azure), transparent);
}
.panel-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fbfcff);
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e1e7f2;
}
.dot.live {
  background: #2fbf71;
  box-shadow: 0 0 0 0 rgba(47, 191, 113, 0.55);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 9px rgba(47, 191, 113, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(47, 191, 113, 0);
  }
}
.panel-head .t {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.panel-body {
  padding: 1.2rem 1.1rem 1.25rem;
  min-height: 432px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.bubble {
  align-self: flex-end;
  max-width: 90%;
  background: var(--ink);
  color: #fff;
  padding: 0.72rem 1.05rem;
  border-radius: 16px 16px 4px 16px;
  font-size: 0.93rem;
  font-weight: 500;
  box-shadow: var(--shadow-m);
  min-height: 2.9rem;
}
.caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--azure);
  vertical-align: -2px;
  margin-left: 2px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.chain {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  padding: 0.15rem 0 0.05rem;
}
.chain-step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-8px);
  transition: 0.45s var(--ease);
}
.chain-step.on {
  opacity: 1;
  transform: none;
}
.chain-step .ico {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--azure-soft);
  color: var(--navy-2);
  display: grid;
  place-items: center;
  font-size: 0.6rem;
  flex: none;
}
.chain-step.done .ico {
  background: var(--ink);
  color: #fff;
}
.results {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.rcard {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease),
    border-color 0.3s,
    box-shadow 0.3s;
}
.rcard.on {
  opacity: 1;
  transform: none;
}
.rcard:hover {
  border-color: rgba(47, 107, 255, 0.45);
  box-shadow: 0 12px 26px -18px rgba(47, 107, 255, 0.75);
}
.rcard .meta {
  min-width: 0;
  flex: 1;
}
.rcard .nm {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rcard .sm {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.67rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ring {
  width: 46px;
  height: 46px;
  flex: none;
  position: relative;
}
.ring svg {
  transform: rotate(-90deg);
}
.ring circle {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
}
.ring .bg {
  stroke: #edf1f9;
}
.ring .fg {
  stroke: var(--azure);
  stroke-dasharray: 113;
  stroke-dashoffset: 113;
  transition: stroke-dashoffset 1.1s var(--ease);
}
.ring b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--navy);
}
.panel-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.67rem;
  color: var(--muted);
}

.chip-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.9rem 0.2rem 0.2rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.chip-row::-webkit-scrollbar {
  display: none;
}
.chip {
  flex: none;
  scroll-snap-align: start;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--navy);
  border-radius: 99px;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.3s var(--ease);
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.chip .ic {
  color: var(--azure);
  font-size: 0.85rem;
  transition: 0.3s;
}
.chip:hover {
  border-color: var(--navy);
}
.chip.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.chip.on .ic {
  color: var(--sky);
}
.chip-hint {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-left: 0.25rem;
}

/* ---------- MARQUEE ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  overflow: hidden;
  background: var(--white);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}
.marquee-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  animation: slide 44s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  color: var(--navy);
  white-space: nowrap;
  opacity: 0.75;
}
.marquee-item i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--azure);
  display: block;
}

/* ---------- FEATURES ---------- */
.f-card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.6rem 1.4rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.45s;
}
.f-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 0;
  background: var(--azure);
  transition: width 0.5s var(--ease);
}
.f-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
  border-color: rgba(47, 107, 255, 0.3);
}
.f-card:hover::before {
  width: 100%;
}
.f-ico {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--azure-soft);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  transition: 0.45s var(--ease);
}
.f-card:hover .f-ico {
  background: var(--ink);
  color: #fff;
  transform: rotate(-6deg);
}
.f-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}
.f-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- DARK BAND ---------- */
.dark-band {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.dark-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.12) 1px,
    transparent 0
  );
  background-size: 30px 30px;
  opacity: 0.5;
}
.dark-band .container {
  position: relative;
  z-index: 1;
}
.dark-band .sec-head h2 {
  color: #fff;
}
.dark-band .sec-head h2 i {
  color: var(--sky);
}
.dark-band .sec-head p {
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- HEXAGONE CITY MAP ---------- */
.hex-wrap {
  position: relative;
}
.hex-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.hex-shape {
  fill: rgba(47, 107, 255, 0.05);
  stroke: var(--line-strong);
  stroke-width: 1.5;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 2.2s var(--ease);
}
.hex-wrap.is-in .hex-shape {
  stroke-dashoffset: 0;
}
.hex-grid line {
  stroke: rgba(18, 39, 90, 0.08);
  stroke-width: 1;
}
.city {
  cursor: pointer;
}
.city .halo {
  fill: var(--azure);
  opacity: 0;
  transform-origin: center;
  transition: opacity 0.4s var(--ease);
}
.city .pt {
  fill: var(--white);
  stroke: var(--navy);
  stroke-width: 2;
  transition: 0.35s var(--ease);
}
.city .lb {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  fill: var(--muted);
  transition: 0.35s var(--ease);
}
.city:hover .pt {
  stroke: var(--azure);
  r: 7;
}
.city:hover .lb {
  fill: var(--navy);
}
.city.on .pt {
  fill: var(--azure);
  stroke: var(--azure);
}
.city.on .lb {
  fill: var(--ink);
  font-weight: 500;
}
.city.on .halo {
  opacity: 0.18;
  animation: halo 2.4s ease-out infinite;
}
@keyframes halo {
  0% {
    opacity: 0.25;
    transform: scale(0.6);
  }
  70% {
    opacity: 0;
    transform: scale(2.1);
  }
  100% {
    opacity: 0;
    transform: scale(2.1);
  }
}

.city-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-m);
  padding: 1.5rem 1.4rem;
  position: relative;
  overflow: hidden;
}
.city-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--azure));
}
.cp-body {
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.cp-body.out {
  opacity: 0;
  transform: translateY(8px);
}
.cp-name {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.cp-region {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.cp-stats {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin: 1.2rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cp-stats div b {
  display: block;
  font-family: 'Instrument Serif', serif;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--ink);
  font-weight: 400;
}
.cp-stats div small {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.cp-schools {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.cp-schools span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--navy);
}
.cp-schools .ic {
  color: var(--azure);
  font-size: 0.85rem;
}
.city-chips {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.2rem;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.city-chips::-webkit-scrollbar {
  display: none;
}

/* ---------- SIMULATOR ---------- */
.sim {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-m);
  overflow: hidden;
}
.sim-controls {
  padding: 1.4rem 1.3rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fbfcff);
}
.ctrl-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
  display: block;
}
.ctrl-block + .ctrl-block {
  margin-top: 1.25rem;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.pill {
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--navy);
  border-radius: 12px;
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s var(--ease);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.pill .ic {
  font-size: 1rem;
  color: var(--azure);
}
.pill:hover {
  border-color: var(--navy);
}
.pill.on {
  background: var(--azure-soft);
  border-color: var(--azure);
  color: var(--navy);
}
.sim-out {
  padding: 1.2rem 1.3rem 1.4rem;
  background: var(--paper);
}
.sim-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.sim-head .t {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.sim-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 0.85rem;
  margin-bottom: 0.55rem;
  transition:
    box-shadow 0.35s,
    border-color 0.35s,
    opacity 0.4s;
}
.sim-card:hover {
  border-color: rgba(47, 107, 255, 0.4);
  box-shadow: var(--shadow-m);
}
.sim-card .meta {
  flex: 1;
  min-width: 0;
}
.sim-card .nm {
  font-weight: 700;
  font-size: 0.93rem;
  line-height: 1.25;
}
.sim-card .sm {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.sim-card .why {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.3rem;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  line-height: 1.35;
}
.sim-card .why .ic {
  color: var(--azure);
  font-size: 0.85rem;
  margin-top: 0.15rem;
}
.sim-card.dim {
  opacity: 0.55;
}
.bar {
  height: 5px;
  border-radius: 99px;
  background: #edf1f9;
  overflow: hidden;
  margin-top: 0.45rem;
}
.bar span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--navy), var(--azure));
  width: 0;
  transition: width 0.8s var(--ease);
}
.score {
  font-family: 'Instrument Serif', serif;
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1;
  flex: none;
  width: 56px;
  text-align: right;
}

/* ---------- TEXT TO QUERY ---------- */
.tq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-m);
}
.tq-row {
  padding: 1.2rem 1.3rem;
  border-bottom: 1px solid var(--line);
}
.tq-row:last-child {
  border-bottom: 0;
}
.tq-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.6rem;
}
.tq-q {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.35;
  min-height: 2.7em;
}
.tq-tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-height: 2.6rem;
}
.token {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  background: var(--azure-soft);
  color: var(--navy);
  border-radius: 9px;
  padding: 0.35rem 0.7rem;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: 0.45s var(--ease);
  border: 1px solid rgba(47, 107, 255, 0.2);
}
.token.on {
  opacity: 1;
  transform: none;
}
.token b {
  color: var(--azure);
  font-weight: 500;
}
.tq-result {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.tq-result .big {
  font-family: 'Instrument Serif', serif;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--ink);
}
.tq-result .lbl {
  color: var(--muted);
  font-size: 0.9rem;
}
.tq-replay {
  margin-left: auto;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 99px;
  padding: 0.45rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: 0.3s;
}
.tq-replay:hover {
  border-color: var(--navy);
  background: var(--paper);
}

/* ---------- SCANNER (terminal) ---------- */
.scan {
  background: #060d1f;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.scan::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03) 0 1px,
    transparent 1px 3px
  );
  pointer-events: none;
}
.scan .container {
  position: relative;
  z-index: 2;
}
.scan-shell {
  border: 1px solid rgba(143, 180, 255, 0.2);
  border-radius: 18px;
  background: rgba(10, 22, 51, 0.6);
  overflow: hidden;
  position: relative;
}
.scan-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(143, 180, 255, 0.16);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}
.scan-bar .led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2fbf71;
  box-shadow: 0 0 8px #2fbf71;
}
.scan-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  height: 340px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent,
    #000 14%,
    #000 84%,
    transparent
  );
  mask-image: linear-gradient(
    180deg,
    transparent,
    #000 14%,
    #000 84%,
    transparent
  );
}
.scan-col {
  border-right: 1px solid rgba(143, 180, 255, 0.08);
  overflow: hidden;
  position: relative;
}
.scan-col:last-child {
  border-right: 0;
}
.scan-track {
  display: flex;
  flex-direction: column;
  animation: scanDown linear infinite;
  will-change: transform;
}
@keyframes scanDown {
  from {
    transform: translateY(-50%);
  }
  to {
    transform: translateY(0);
  }
}
.scan-line {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  line-height: 1.45;
  padding: 0.35rem 0.7rem;
  color: rgba(143, 180, 255, 0.32);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid rgba(143, 180, 255, 0.05);
  cursor: default;
  transition:
    color 0.2s,
    background 0.2s;
}
.scan-line.hit {
  color: #cfe0ff;
  background: rgba(47, 107, 255, 0.1);
}
.scan-line.hit::before {
  content: '▸ ';
  color: var(--azure);
}
.scan-line:hover {
  color: #fff;
  background: rgba(143, 180, 255, 0.18);
  text-shadow: 0 0 14px rgba(143, 180, 255, 0.8);
}
.scan-sweep {
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(47, 107, 255, 0.16),
    transparent
  );
  animation: sweep 5.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
  will-change: transform;
}
@keyframes sweep {
  0% {
    transform: translateY(-140px);
  }
  50% {
    transform: translateY(360px);
  }
  100% {
    transform: translateY(-140px);
  }
}
.scan-foot {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(143, 180, 255, 0.16);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}
.scan-foot b {
  color: #fff;
  font-weight: 500;
}
.scan-foot .ok {
  color: #2fbf71;
}
.scan-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--sky);
  animation: blink 1.05s steps(2) infinite;
  vertical-align: -2px;
}
.scan-meta {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}
.scan-meta b {
  display: block;
  font-family: 'Instrument Serif', serif;
  font-size: 1.5rem;
  color: #fff;
  font-weight: 400;
}

/* ---------- STEPS ---------- */
.step {
  padding: 1.7rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
}
.step:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.step-n {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  color: var(--sky);
  padding-top: 0.35rem;
  flex: none;
  letter-spacing: 0.1em;
}
.step h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.55rem;
  margin-bottom: 0.35rem;
  font-weight: 400;
}
.step p {
  color: rgba(255, 255, 255, 0.66);
  margin: 0;
  max-width: 44em;
  font-size: 0.94rem;
}
.step-tag {
  margin-left: auto;
  flex: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 99px;
  padding: 0.3rem 0.8rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- LANGUAGE CARD ---------- */
.lang-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-m);
  position: relative;
  overflow: hidden;
}
.lang-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--azure));
}
.lc-body {
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.lc-body.out {
  opacity: 0;
  transform: translateY(10px);
}
.lc-q {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.45;
}
.lc-q .ic {
  color: var(--azure);
  font-size: 0.95rem;
  margin-top: 0.1rem;
}
.lc-a {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
  line-height: 1.4;
  margin-bottom: 1rem;
}
.lc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.lc-meta span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.3rem 0.65rem;
  color: var(--navy);
}
.lang-seg {
  display: inline-flex;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  padding: 4px;
  gap: 2px;
  margin-bottom: 1.2rem;
}
.lang-seg button {
  border: 0;
  background: transparent;
  border-radius: 99px;
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: 0.3s var(--ease);
  min-height: 42px;
}
.lang-seg button.on {
  background: var(--ink);
  color: #fff;
}

/* ---------- PRICING ---------- */
.pr-toggle {
  display: inline-flex;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  padding: 4px;
  gap: 2px;
  position: relative;
}
.pr-toggle button {
  border: 0;
  background: transparent;
  border-radius: 99px;
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: 0.3s var(--ease);
  min-height: 42px;
}
.pr-toggle button.on {
  background: var(--ink);
  color: #fff;
}
.pr-save {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  color: var(--azure);
  background: var(--azure-soft);
  border-radius: 99px;
  padding: 0.25rem 0.6rem;
  margin-left: 0.5rem;
}
.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.9rem 1.6rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.45s;
}
.plan:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
  border-color: rgba(47, 107, 255, 0.3);
}
.plan-name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  margin: 1rem 0 0.35rem;
}
.plan-price .v {
  font-family: 'Instrument Serif', serif;
  font-size: 3rem;
  line-height: 0.9;
  color: var(--ink);
}
.plan-price .u {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
  padding-bottom: 0.4rem;
}
.plan-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.3rem;
  min-height: 2.6em;
}
.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.45;
}
.plan-list .ic {
  color: var(--azure);
  font-size: 1rem;
  margin-top: 0.18rem;
}
.plan-list li.off {
  color: var(--muted);
  opacity: 0.65;
}
.plan-list li.off .ic {
  color: var(--muted);
}
.plan .cta {
  margin-top: auto;
}
.plan-badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--azure-soft);
  color: var(--navy-2);
  border-radius: 99px;
  padding: 0.3rem 0.7rem;
}
.plan.hot {
  background: linear-gradient(160deg, var(--ink), var(--navy-2) 75%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-l);
}
.plan.hot::after {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.5), transparent 65%);
  filter: blur(60px);
  top: -150px;
  right: -110px;
  pointer-events: none;
}
.plan.hot > * {
  position: relative;
  z-index: 1;
}
.plan.hot .plan-name,
.plan.hot .plan-desc {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 20px;
}
.plan.hot .plan-price .v {
  color: #fff;
}
.plan.hot .plan-price .u {
  color: rgba(255, 255, 255, 0.55);
}
.plan.hot .plan-list .ic {
  color: var(--sky);
}
.plan.hot .plan-badge {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.plan.hot .btn-ink {
  background: #fff;
  color: var(--ink);
}
.plan.hot .btn-ink::before {
  display: none;
}
.plan.hot .btn-ink:hover {
  color: var(--ink);
}
.plan .btn-ink,
.plan .btn-ghost {
  width: 100%;
}
.pr-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1.6rem;
}

/* ---------- QUOTES ---------- */
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.7rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: 0.4s var(--ease);
}
.quote:hover {
  box-shadow: var(--shadow-m);
  transform: translateY(-4px);
}
.quote p {
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  line-height: 1.45;
  margin: 0;
}
.quote .who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}
.av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex: none;
}
.who b {
  display: block;
  font-size: 0.88rem;
}
.who small {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  color: var(--muted);
}
.scroll-x {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.4rem;
}
.scroll-x::-webkit-scrollbar {
  display: none;
}
.scroll-x > * {
  scroll-snap-align: center;
  flex: 0 0 86%;
}

/* ---------- FAQ ---------- */
.accordion-item {
  border: 1px solid var(--line);
  border-radius: 14px !important;
  margin-bottom: 0.6rem;
  overflow: hidden;
  background: var(--white);
}
.accordion-button {
  font-weight: 700;
  font-size: 0.98rem;
  padding: 1.1rem 1.2rem;
  color: var(--ink);
  background: var(--white);
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
  background: var(--white);
  color: var(--azure);
}
.accordion-button::after {
  background-image: none;
  content: '+';
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.3s var(--ease);
  width: auto;
  height: auto;
}
.accordion-button:not(.collapsed)::after {
  transform: rotate(45deg);
}
.accordion-body {
  padding: 0 1.2rem 1.2rem;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- CTA ---------- */
.cta-box {
  background: linear-gradient(135deg, var(--ink), var(--navy-2) 65%, #2a4fa0);
  border-radius: 26px;
  padding: clamp(2.2rem, 5vw, 4rem);
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-box::before {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(47, 107, 255, 0.55),
    transparent 65%
  );
  filter: blur(65px);
  top: -190px;
  left: 50%;
  transform: translateX(-50%);
}
.cta-box > * {
  position: relative;
  z-index: 1;
}
.cta-box h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.08;
  margin: 1rem auto;
  max-width: 16em;
}
.cta-box h2 i {
  font-style: italic;
  color: var(--sky);
}
.cta-box p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 34em;
  margin: 0 auto 1.9rem;
}
.btn-light-cta {
  background: #fff;
  color: var(--ink);
  border: 0;
  border-radius: 99px;
  padding: 0.85rem 1.9rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  transition: 0.35s var(--ease);
}
.btn-light-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
  color: var(--ink);
}

/* ---------- MOBILE STICKY CTA ---------- */
.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + var(--safe-b));
  z-index: 1020;
  display: none;
  background: rgba(10, 22, 51, 0.95);
  backdrop-filter: blur(14px);
  border-radius: 99px;
  padding: 0.55rem 0.6rem 0.55rem 1.15rem;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 18px 40px -14px rgba(10, 22, 51, 0.6);
  transform: translateY(160%);
  transition: transform 0.45s var(--ease);
}
.mobile-cta.show {
  transform: none;
}
.mobile-cta .txt {
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.25;
  flex: 1;
}
.mobile-cta .txt small {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mobile-cta button {
  background: #fff;
  color: var(--ink);
  border: 0;
  border-radius: 99px;
  padding: 0.6rem 1.1rem;
  font-weight: 800;
  font-size: 0.84rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---------- AUTH MODALS ---------- */
.auth-modal .modal-dialog {
  max-width: 900px;
}
.auth-modal .modal-content {
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-l);
}
.auth-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
}
.auth-side {
  background: linear-gradient(165deg, var(--ink), var(--navy-2) 70%, #2a4fa0);
  color: #fff;
  padding: 2.3rem 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.auth-side::after {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.5), transparent 65%);
  filter: blur(60px);
  bottom: -160px;
  left: -120px;
}
.auth-side > * {
  position: relative;
  z-index: 1;
}
.auth-side .brand {
  color: #fff;
  margin-bottom: 2rem;
}
.auth-side .brand em {
  color: rgba(255, 255, 255, 0.5);
}
.auth-side .brand-mark {
  background: rgba(255, 255, 255, 0.15);
}
.auth-side h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.85rem;
  line-height: 1.15;
  margin-bottom: 0.7rem;
  font-weight: 400;
}
.auth-side p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}
.auth-points {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.auth-points li {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}
.auth-points .ic {
  color: var(--sky);
}
.auth-main {
  padding: 2.3rem 2.1rem;
  background: var(--white);
}
.auth-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 5;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--navy);
}
.auth-main h4 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
}
.auth-main .sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.btn-google {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
  transition: 0.3s var(--ease);
  color: var(--ink);
}
.btn-google:hover {
  border-color: var(--navy);
  background: var(--paper);
  transform: translateY(-1px);
}
.btn-google svg {
  width: 19px;
  height: 19px;
}
.auth-or {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.25rem 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.auth-or::before,
.auth-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.fld {
  margin-bottom: 0.9rem;
}
.fld label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.4rem;
}
.fld .box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  padding: 0.2rem 0.9rem;
  background: var(--white);
  transition: 0.25s;
}
.fld .box:focus-within {
  border-color: var(--azure);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.12);
}
.fld .box .ic {
  color: var(--muted);
  font-size: 1.05rem;
}
.fld input {
  border: 0;
  outline: 0;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  width: 100%;
  background: transparent;
  color: var(--ink);
}
.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.2rem 0 1.2rem;
  font-size: 0.84rem;
  color: var(--muted);
}
.auth-row a {
  color: var(--azure);
  font-weight: 600;
}
.chk {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 1.2rem;
}
.chk input {
  margin-top: 0.25rem;
  accent-color: var(--azure);
  width: 16px;
  height: 16px;
}
.auth-swap {
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 1.2rem;
}
.auth-swap button {
  border: 0;
  background: transparent;
  color: var(--azure);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.modal-backdrop.show {
  opacity: 0.55;
}

/* ---------- FOOTER ---------- */
footer {
  padding: 3.2rem 0 2.4rem;
  border-top: 1px solid var(--line);
}
footer a {
  color: var(--muted);
  font-size: 0.92rem;
  display: block;
  padding: 0.22rem 0;
  transition: 0.25s;
}
footer a:hover {
  color: var(--azure);
  transform: translateX(3px);
}
footer h6 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.85rem;
}
.foot-bot {
  margin-top: 2.4rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1199px) {
  .nav-links {
    gap: 1.2rem;
    font-size: 0.86rem;
  }
  .scan-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 991px) {
  .nav-links,
  .nav-shell .lang,
  .nav-act .btn-link-auth,
  .nav-act .btn-ink {
    display: none;
  }
  .nav-act {
    margin-left: auto;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .panel-body {
    min-height: 400px;
  }
  .stat-row {
    gap: 1.6rem;
    margin-top: 2.4rem;
  }
  .mobile-cta {
    display: flex;
  }
  footer {
    padding-bottom: calc(5.5rem + var(--safe-b));
  }
  .step {
    padding: 1.4rem 0;
  }
  .auth-grid {
    grid-template-columns: 1fr;
  }
  .auth-side {
    display: none;
  }
  .auth-modal .modal-dialog {
    max-width: 520px;
  }
  .scan-cols {
    grid-template-columns: repeat(2, 1fr);
    height: 300px;
  }
  .hero-glow.two {
    display: none;
  }
}
@media (max-width: 767px) {
  .scroll-x > * {
    flex: 0 0 88%;
  }
  .sim-controls,
  .sim-out {
    padding: 1.15rem 1rem;
  }
  .tq-row {
    padding: 1.05rem 1rem;
  }
  .lang-card,
  .city-panel {
    padding: 1.25rem 1.1rem;
  }
  .plan {
    padding: 1.6rem 1.3rem;
  }
  .auth-main {
    padding: 1.8rem 1.3rem;
  }
}
@media (max-width: 575px) {
  body {
    font-size: 15.5px;
  }
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .stat b {
    font-size: 1.6rem;
  }
  .stat {
    min-width: 44%;
  }
  .step {
    flex-direction: column;
    gap: 0.5rem;
  }
  .step-tag {
    margin-left: 0;
  }
  .hero-cta .btn-ink,
  .hero-cta .btn-ghost {
    width: 100%;
  }
  .panel-body {
    min-height: 376px;
    padding: 1rem 0.85rem 1.1rem;
  }
  .bubble {
    max-width: 100%;
    font-size: 0.88rem;
  }
  .rcard {
    padding: 0.65rem 0.7rem;
    gap: 0.7rem;
  }
  .ring {
    width: 40px;
    height: 40px;
  }
  .score {
    font-size: 1.3rem;
    width: 48px;
  }
  .cta-box {
    border-radius: 22px;
  }
  .lang-seg button {
    padding: 0.5rem 0.8rem;
    font-size: 0.78rem;
  }
  .cp-name {
    font-size: 1.65rem;
  }
  .scan-cols {
    height: 270px;
  }
  .scan-line {
    font-size: 0.66rem;
    padding: 0.32rem 0.55rem;
  }
  .plan-price .v {
    font-size: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .mnav .mnav-link {
    opacity: 1;
    transform: none;
  }
}
:focus-visible {
  outline: 2px solid var(--azure);
  outline-offset: 3px;
  border-radius: 6px;
}
