/* ===== Campton Font ===== */

@font-face {
  font-family: "Campton";
  src: url("assets/fonts/camptonbook.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Campton";
  src: url("assets/fonts/camptonmedium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Campton";
  src: url("assets/fonts/camptonsemibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Campton";
  src: url("assets/fonts/camptonbold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Kantumruy Pro";
  src: url("assets/fonts/KantumruyPro-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

:root {
  --bg: #080b14;
  --bg-soft: #0d1322;
  --surface: #141b2e;
  --surface-2: #1b2540;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --teal: #00e6c0;
  --teal-dim: rgba(0, 230, 192, 0.1);
  --blue: #3b6fed;
  --brand: #1260cc;
  --brand-dim: rgba(18, 96, 204, 0.16);
  --amber: #ffb400;
  --amber-dim: rgba(255, 180, 0, 0.1);
  --text: #eef2fa;
  --text-muted: #8d97b5;
  --text-dim: #56607f;
  --up: #3ddc8a;
  --down: #ff6b6b;
  --font-display: "Campton", sans-serif;
  --font-body: "Campton", sans-serif;
  --font-khmer: "Kantumruy Pro", "Khmer OS", "Khmer MN", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --container: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Campton", "Kantumruy Pro", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

body.lang-km {
  font-family: var(--font-khmer);
}

body.lang-km h1,
body.lang-km h2,
body.lang-km h3,
body.lang-km h4,
body.lang-km .btn,
body.lang-km .nav-links,
body.lang-km .language-option {
  font-family: var(--font-khmer);
}

body.lang-km button,
body.lang-km input,
body.lang-km textarea,
body.lang-km select,
body.lang-km [data-i18n],
body.lang-km [data-i18n-html],
body.lang-km .evgal-section,
body.lang-km .evgal-head h2,
body.lang-km .evgal-head p,
body.lang-km .evgal-tag,
body.lang-km .evgal-card-label,
body.lang-km .evgal-lightbox-caption,
body.lang-km .faq-section,
body.lang-km .faq-title-block h2,
body.lang-km .faq-title-block p,
body.lang-km .faq-question,
body.lang-km .faq-num,
body.lang-km .faq-text,
body.lang-km .faq-answer-inner p,
body.lang-km .faq-view-more-btn {
  font-family: var(--font-khmer);
}

body.lang-km .eyebrow,
body.lang-km .feature-tag,
body.lang-km .evgal-tag,
body.lang-km .faq-num {
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-dim);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.mono {
  font-family: var(--font-mono);
}

body.lang-km .hero-content h1 {
  line-height: 1.32;
  letter-spacing: 0;
}

body.lang-km .hero-content h1 .accent {
  display: inline-block;
  margin-top: 10px;
}

/* ============ NAV ============ */
header.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 27, 62, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
}

.logo-icon {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.logo-wordmark {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #ffffff;
}

.logo-wordmark strong {
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.mobile-trade-btn {
  display: none !important;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.nav-language-toggle {
  flex-shrink: 0;
  margin-left: 0;
}

.language-option {
  min-width: 48px;
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(238, 242, 250, 0.72);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.language-option:hover,
.language-option.active {
  background: #ffffff;
  color: #0d1b3e;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}
/* Burger hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 28px;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
}

.nav-toggle:hover {
  background: rgba(18, 96, 204, 0.2);
  color: #3b7bff;
}

.nav-toggle.active {
  background: rgba(18, 96, 204, 0.3);
  border: 1px solid rgba(59, 111, 237, 0.4);
  color: #3b7bff;
}

@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    transform: none;
    background: #0d1b3e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 26px;
    gap: 22px;
    z-index: 999;
  }

  .nav-links.open a {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
  }

  .mobile-trade-btn {
    display: inline-flex !important;
    width: 100%;
    height: 56px;
    border-radius: 999px !important;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .nav-inner {
    gap: 10px;
  }

  .logo-icon {
    height: 36px;
  }

  .language-toggle {
    padding: 2px;
  }

  .language-option {
    min-width: 42px;
    height: 32px;
    padding: 0 9px;
    font-size: 12px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }
}

@media (max-width: 1080px) {
  .nav-actions .btn {
    display: none !important;
  }
}
.nav-actions .btn,
.nav-actions .btn-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 28px;
  height: 50px;
  min-width: 150px;
  line-height: 1;
}
/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d1b3e;
}
.hero::before {
  display: none !important;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(18, 96, 204, 0.2), transparent 45%),
    rgba(13, 27, 62, 0.1);
  z-index: 1;
}

.hero-center {
  position: relative;
  z-index: 2;
  text-align: center;
  transform: translateY(-70px);
}

.hero-content {
  max-width: 780px;
  margin: 0 auto;
  animation: heroFadeUp 1s ease both;
}

.hero-content h1 {
  font-size: 64px;
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 22px;
  color: #fff;
}

.hero-content h1 .accent {
  background: linear-gradient(95deg, var(--teal), var(--blue), var(--teal));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientMove 4s linear infinite;
}

.hero-content .lead {
  font-size: 18px;
  color: #aeb8d4;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 32px;
}

.hero-ctas .btn {
  min-width: 190px;
  height: 58px;
  border-radius: 999px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  padding: 0 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  height: 52px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
}

.btn-lg {
  height: 58px;
  padding: 0 36px;
  font-size: 17px;
}

.btn-brand {
  background: #2f7bff;
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px rgba(47, 123, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: translateX(-150%);
}

.btn-brand:hover::before {
  animation: shine 1s ease;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.nav-actions .btn,
.nav-actions .btn-brand {
  height: 50px;
  min-width: 140px;
  border-radius: 999px !important;
  padding: 0 28px;
  justify-content: center;
}

/* Arrow button */
.scroll-down {
  position: absolute;
  bottom: 78px;
  left: 50%;
  z-index: 30;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  transition: 0.25s ease;
  animation: bounce 2s infinite;
}

.scroll-down:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* Hide old hero elements only */
.hero-visual,
.stats-bar {
  display: none !important;
}

/* ============ HERO BACKGROUND TICKER ============ */

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d1b3e !important;
}

#heroChart {
  position: absolute;
  inset: -80px;
  z-index: 1;
  opacity: 0.55;
  pointer-events: none;
  filter: brightness(1.45) contrast(1.25) saturate(1.25);
  animation: chartMove 18s ease-in-out infinite alternate;
}

#heroChart iframe {
  width: 100% !important;
  height: 100% !important;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at center, rgba(18, 96, 204, 0.28), transparent 42%),
    linear-gradient(
      90deg,
      rgba(13, 27, 62, 0.82),
      rgba(13, 27, 62, 0.48),
      rgba(13, 27, 62, 0.82)
    ),
    rgba(0, 0, 0, 0.12);
}

.hero-center {
  position: relative;
  z-index: 3;
}

.scroll-down {
  z-index: 4;
}

/* remove old ticker background */
.hero-bg-ticker,
.ticker-wrap {
  display: none !important;
}

/* Animations */
@keyframes chartMove {
  from {
    transform: scale(1.05) translateX(-20px);
  }
  to {
    transform: scale(1.1) translateX(20px);
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientMove {
  to {
    background-position: 200% center;
  }
}

@keyframes shine {
  to {
    transform: translateX(150%);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Mobile */
@media (max-width: 760px) {
  .hero {
    min-height: 86vh;
  }

  #heroChart {
    inset: -60px;
    opacity: 0.65;
  }

  .hero-center {
    transform: translateY(-40px);
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content .lead {
    font-size: 15px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 260px;
  }

  .scroll-down {
    bottom: 42px;
  }
}
/* Make hero animation more lively */
.hero-market-bg::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(
      circle at 30% 40%,
      rgba(0, 230, 192, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 70% 55%,
      rgba(59, 111, 237, 0.22),
      transparent 30%
    );
  animation: glowMove 8s ease-in-out infinite alternate;
}

.hero-market-bg::after {
  content: "XAU/USD 4342.90  +0.79%   BTC/USD 66537  +0.38%   EUR/USD 1.1600  +0.04%   US30 51749  -0.08%";
  position: absolute;
  top: 18%;
  left: -20%;
  width: 140%;
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: rgba(0, 230, 192, 0.18);
  white-space: nowrap;
  animation: priceFloat 18s linear infinite;
}

#heroChart,
.chart-bg {
  animation: chartDrift 16s ease-in-out infinite alternate;
  filter: brightness(1.35) contrast(1.2) saturate(1.2);
}

.hero-content {
  animation: heroFloat 5s ease-in-out infinite alternate;
}

@keyframes glowMove {
  from {
    transform: translate(-3%, -2%) scale(1);
    opacity: 0.7;
  }
  to {
    transform: translate(3%, 2%) scale(1.08);
    opacity: 1;
  }
}

@keyframes priceFloat {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(35%);
  }
}

@keyframes chartDrift {
  from {
    transform: scale(1.04) translateX(-18px);
  }
  to {
    transform: scale(1.09) translateX(18px);
  }
}

@keyframes heroFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}
/* ============ SCROLL REVEAL ============ */
.js-reveal .reveal {
  opacity: 1;
  transform: translateY(14px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
.js-reveal .reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.js-reveal .reveal-stagger > * {
  opacity: 1;
  transform: translateY(14px);
  transition:
    opacity 0.42s ease,
    transform 0.42s ease;
}
.js-reveal .reveal-stagger.in > * {
  opacity: 1;
  transform: translateY(0);
}
.js-reveal .reveal-stagger.in > *:nth-child(1) {
  transition-delay: 0s;
}
.js-reveal .reveal-stagger.in > *:nth-child(2) {
  transition-delay: 0.04s;
}
.js-reveal .reveal-stagger.in > *:nth-child(3) {
  transition-delay: 0.08s;
}
.js-reveal .reveal-stagger.in > *:nth-child(4) {
  transition-delay: 0.12s;
}
.js-reveal .reveal-stagger.in > *:nth-child(5) {
  transition-delay: 0.16s;
}
.js-reveal .reveal-stagger.in > *:nth-child(6) {
  transition-delay: 0.2s;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-stagger,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (hover: none), (pointer: coarse) {
  .feature-card,
  .feature-bg-img,
  .feature-icon,
  .feature-tag {
    transition-duration: 0.18s;
  }

  .feature-card--bg:hover,
  .feature-card--bg:hover .feature-bg-img,
  .feature-card--bg:hover .feature-icon {
    transform: none;
  }

  .feature-card--bg:hover {
    box-shadow: none;
  }
}

/* ============ SECTION HEADERS ============ */
.section {
  padding: 110px 0;
}
.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}
.section-head .eyebrow {
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: 38px;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 16px;
}

/* ============ FEATURES ============ */
.features-section {
  background: linear-gradient(175deg, #f0f4fb 0%, #e8edf8 100%);
}
.features-section .section-head {
  max-width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.features-section .section-head h2 {
  color: #0d1b3e;
}
.features-section .section-head p {
  color: rgba(13, 27, 62, 0.65);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 100%;
  align-items: stretch;
}

/* Base card — background image version */
.feature-card {
  border-radius: 14px;
  padding: 28px;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease;
  background: var(--surface);
  border: 1px solid var(--border);
}
.feature-card--bg {
  position: relative;
  overflow: hidden;
  background-color: #18233b;
  background-image:
    linear-gradient(160deg, rgba(6, 10, 24, 0.42), rgba(6, 10, 24, 0.58)),
    var(--feature-fallback);
  background-position: center;
  background-size: cover;
  border: none;
  min-height: 220px;
  aspect-ratio: 16 / 10;
  transform: translateZ(0);
  isolation: isolate;
  contain: paint;
}
/* Actual background image layer */
.feature-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    opacity 0.28s ease,
    transform 0.35s ease;
  z-index: 0;
  backface-visibility: hidden;
}
img.feature-bg-img {
  opacity: 0;
}
img.feature-bg-img.is-loaded {
  opacity: 1;
}
.feature-card--bg > div.feature-bg-img {
  background-position: center;
  background-size: cover;
}
/* Dark gradient overlay for readability */
.feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(6, 10, 24, 0.82) 0%,
    rgba(6, 10, 24, 0.65) 50%,
    rgba(6, 10, 24, 0.5) 100%
  );
  z-index: 1;
  transition: background 0.3s ease;
}
/* Content sits above overlay */
.feature-content {
  position: relative;
  z-index: 2;
  min-width: 0;
}
/* Hover: zoom image slightly, deepen overlay */
.feature-card--bg:hover .feature-bg-img {
  transform: scale(1.035);
}
.feature-card--bg:hover .feature-overlay {
  background: linear-gradient(
    160deg,
    rgba(6, 10, 24, 0.9) 0%,
    rgba(6, 10, 24, 0.75) 50%,
    rgba(6, 10, 24, 0.6) 100%
  );
}
.feature-card--bg:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -18px rgba(0, 0, 0, 0.54);
}

.feature-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
  gap: 12px;
  min-width: 0;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 230, 192, 0.15);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
  flex-shrink: 0;
}
.feature-card--bg:hover .feature-icon {
  transform: scale(1.04);
  background: rgba(0, 230, 192, 0.25);
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--teal);
}
.feature-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.feature-tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(47, 123, 255, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 5px 14px;
  font-weight: 700;
  transition: background 0.2s;
  max-width: calc(100% - 56px);
  overflow-wrap: anywhere;
  text-align: center;
  flex-shrink: 1;
}
.feature-card--bg:hover .feature-tag {
  background: rgba(47, 123, 255, 0.95);
}
.feature-card h3,
.feature-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  overflow-wrap: anywhere;
}
.feature-card p,
.feature-content p {
  color: rgba(220, 230, 255, 0.85);
  font-size: 14px;
  line-height: 1.65;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .feature-card--bg {
    min-height: 230px;
    aspect-ratio: auto;
  }
}

@media (max-width: 640px) {
  .features-section .container {
    padding: 0 18px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-card {
    padding: 24px;
  }

  .feature-card--bg {
    min-height: 245px;
    aspect-ratio: auto;
  }
}

/* ============ PROMOTIONS ============ */
.promotions-section {
  background: linear-gradient(175deg, #ffffff 0%, #f5f8ff 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.promotions-section::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(47, 107, 255, 0.06),
    transparent 65%
  );
  pointer-events: none;
}

/* Title */
.promo-title-block {
  text-align: center;
  margin-bottom: 48px;
}

.promo-title-block h2 {
  font-size: 44px;
  font-weight: 800;
  color: #071026;
  line-height: 1.1;
  margin-bottom: 12px;
}

.promo-title-accent-text {
  color: #2f6bff;
}

.promo-title-block p {
  font-size: 16px;
  color: #7a879c;
  margin-bottom: 16px;
}

.promo-title-accent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.promo-title-accent::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: #ffc42e;
}

.promo-title-accent::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffc42e;
}

/* Grid */
.promo-layout {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* Shared card — NO overflow:hidden on soon cards so content never clips */
.promo-main-card,
.promo-soon-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  position: relative;
  box-shadow: 0 4px 20px rgba(20, 40, 90, 0.07);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.promo-main-card:hover,
.promo-soon-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(30, 70, 150, 0.12);
}

/* Main card: overflow hidden only here (for trophy image) */
.promo-main-card {
  border: 2px solid #ffc42e;
  overflow: hidden;
}

/* Coming soon card: NO overflow hidden — lets all content show */
.promo-soon-card {
  border: 1px solid #edf1f7;
  overflow: visible;
}

/* Live badge */
.promo-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffc42e;
  color: #071026;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  width: fit-content;
}

/* Trophy */
.promo-trophy {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 90px;
  height: 90px;
  filter: drop-shadow(0 6px 16px rgba(255, 196, 46, 0.35));
  animation: float-trophy 4s ease-in-out infinite;
}

.promo-trophy img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes float-trophy {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* Eyebrow */
.promo-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2f6bff;
  margin-bottom: 8px;
}

/* Main card headline */
.promo-main-card h3 {
  font-size: 34px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  margin-bottom: 8px;
  padding-right: 80px;
}

.promo-h3-accent {
  color: #ffc42e;
}

.promo-main-card > p {
  color: #7a879c;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Countdown */
.countdown-box {
  margin: 18px 0;
}

.countdown-box > span {
  color: #2f6bff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.countdown-digits {
  display: flex;
  align-items: center;
  gap: 5px;
}

.countdown-digits div {
  width: 52px;
  height: 58px;
  border-radius: 12px;
  background: #f4f7fb;
  border: 1px solid #e5ecf7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.countdown-digits strong {
  color: #071026;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-digits small {
  color: #9fb1d2;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Separator colon */
.cd-sep {
  width: auto !important;
  height: auto !important;
  background: none !important;
  border: none !important;
  color: #cbd5e8;
  font-size: 18px;
  font-weight: 800;
  padding-bottom: 12px;
  flex-shrink: 0;
}

/* Claim button */
.promo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffc42e;
  color: #071026;
  border: none;
  border-radius: 999px;
  height: 52px;
  width: 100%;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  margin-top: auto;
}

.promo-btn:hover {
  background: #f5b800;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 196, 46, 0.4);
}

/* Coming soon top row */
.promo-soon-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

/* Coming soon badge */
.coming-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef3ff;
  color: #2f6bff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Coming soon icon — bigger */
.promo-soon-icon {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  margin-top: -8px;
  filter: drop-shadow(0 4px 12px rgba(47, 107, 255, 0.2));
  animation: float-icon 4s ease-in-out infinite;
}

.promo-soon-card:last-child .promo-soon-icon {
  animation-delay: 0.6s;
}

@keyframes float-icon {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.promo-soon-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Coming soon headlines */
.promo-soon-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.promo-soon-card p {
  color: #7a879c;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* Launch date */
.launch-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2f6bff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  flex-grow: 1;
}

.launch-date svg {
  flex-shrink: 0;
  stroke: #2f6bff;
}

/* Notify button */
.notify-btn {
  width: 100%;
  height: 52px;
  border-radius: 999px;
  border: 2px solid #d0deff;
  background: #fff;
  color: #071026;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
  margin-top: auto;
  font-family: inherit;
}

.notify-btn:hover {
  background: #2f6bff;
  color: #fff;
  border-color: #2f6bff;
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.3);
}
.modal-overlay.show {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9999;
}
.notify-success {
  display: none;
  margin-top: 16px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  font-weight: 600;
  text-align: center;
}
.modal-overlay.show {
  display: flex;
}

.modal {
  width: min(420px, 90%);
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  position: relative;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer;
}
.modal-submit-btn {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 999px;
  background: #2f6bff;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}
.success-toast {
  position: fixed;
  top: 30px;
  right: 30px;
  background: #0d1b3e;
  color: #fff;
  padding: 16px 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 10000;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.3s ease;
}

.success-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.success-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
.modal-submit-btn:hover {
  background: #2457d9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.35);
}
/* Responsive */
@media (max-width: 1024px) {
  .promo-layout {
    grid-template-columns: 1fr;
  }
  .promo-main-card h3 {
    padding-right: 100px;
  }
}

@media (max-width: 768px) {
  .promotions-section {
    padding: 60px 0;
  }
  .promo-title-block h2 {
    font-size: 32px;
  }
  .promo-main-card,
  .promo-soon-card {
    padding: 24px;
  }
  .promo-main-card h3 {
    font-size: 28px;
  }
}

/* ============ PROMO ENTRANCE ANIMATIONS ============ */
/* Triggered by IntersectionObserver adding .promo-in to each element */

/* ---- Shared base: hidden state ---- */
.promo-title-block,
.promo-main-card,
.promo-soon-card,
.promo-live-badge,
.promo-trophy,
.promo-main-card .promo-eyebrow,
.promo-main-card h3,
.promo-main-card > p,
.promo-main-card .countdown-box,
.promo-main-card .promo-btn,
.promo-soon-card .coming-badge,
.promo-soon-card .promo-eyebrow,
.promo-soon-card h3,
.promo-soon-card p,
.promo-soon-card .launch-date,
.promo-soon-card .notify-btn {
  opacity: 0;
}

/* ---- TITLE BLOCK ---- */
.promo-title-block {
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.promo-title-block.promo-in {
  opacity: 1;
  transform: translateY(0);
}

/* Accent line draws itself */
.promo-title-accent::before {
  width: 0 !important;
  transition: width 0.6s 0.4s ease !important;
}
.promo-title-block.promo-in .promo-title-accent::before {
  width: 44px !important;
}
.promo-title-accent::after {
  opacity: 0;
  transition: opacity 0.4s 0.9s ease !important;
}
.promo-title-block.promo-in .promo-title-accent::after {
  opacity: 1;
}

/* ---- MAIN CARD ---- */
.promo-main-card {
  transform: translateY(32px) scale(0.97);
  transition:
    opacity 0.7s 0.2s ease,
    transform 0.7s 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
}
.promo-main-card.promo-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Shimmer sweep — one pass on entrance */
.promo-main-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 70%
  );
  pointer-events: none;
}
.promo-main-card.promo-in::after {
  animation: promoShimmer 1s 0.7s ease forwards;
}
@keyframes promoShimmer {
  from {
    left: -100%;
  }
  to {
    left: 200%;
  }
}

/* Breathing border glow after entrance */
@keyframes promoGlow {
  0%,
  100% {
    box-shadow:
      0 4px 20px rgba(20, 40, 90, 0.07),
      0 0 0 0px rgba(255, 196, 46, 0);
  }
  50% {
    box-shadow:
      0 8px 36px rgba(20, 40, 90, 0.1),
      0 0 0 5px rgba(255, 196, 46, 0.12);
  }
}
.promo-main-card.promo-in {
  animation: promoGlow 3s 1s ease-in-out infinite;
}

/* ---- LIVE BADGE ---- */
.promo-live-badge {
  transform: scale(0.5) rotate(-8deg);
  transition:
    opacity 0s,
    transform 0s;
}
.promo-main-card.promo-in .promo-live-badge {
  animation: badgePop 0.5s 0.55s cubic-bezier(0.34, 1.8, 0.64, 1) forwards;
}
@keyframes badgePop {
  from {
    opacity: 0;
    transform: scale(0.5) rotate(-8deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* ---- TROPHY ---- */
.promo-trophy {
  transform: translateY(-16px) rotate(20deg);
  transition:
    opacity 0s,
    transform 0s;
}
.promo-main-card.promo-in .promo-trophy {
  animation:
    trophyDrop 0.6s 0.5s cubic-bezier(0.34, 1.4, 0.64, 1) forwards,
    float-trophy 4s 1.2s ease-in-out infinite;
}
@keyframes trophyDrop {
  from {
    opacity: 0;
    transform: translateY(-30px) rotate(20deg) scale(1.3);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-2deg) scale(1);
  }
}

/* ---- MAIN CARD INNER CONTENT — stagger fadeUp ---- */
.promo-main-card .promo-eyebrow,
.promo-main-card h3,
.promo-main-card > p,
.promo-main-card .countdown-box,
.promo-main-card .promo-btn {
  transform: translateY(12px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.promo-main-card.promo-in .promo-eyebrow {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}
.promo-main-card.promo-in h3 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.52s;
}
.promo-main-card.promo-in > p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.58s;
}
.promo-main-card.promo-in .countdown-box {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.64s;
}
.promo-main-card.promo-in .promo-btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.72s;
}

/* ---- COUNTDOWN DIGITS — flip in one by one ---- */
.countdown-digits > div,
.countdown-digits .cd-sep {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.promo-main-card.promo-in .countdown-digits > div:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}
.promo-main-card.promo-in .countdown-digits > div:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.75s;
}
.promo-main-card.promo-in .countdown-digits > div:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}
.promo-main-card.promo-in .countdown-digits > div:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.85s;
}
.promo-main-card.promo-in .countdown-digits > div:nth-child(5) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}
.promo-main-card.promo-in .countdown-digits > div:nth-child(6) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.95s;
}
.promo-main-card.promo-in .countdown-digits > div:nth-child(7) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1s;
}

/* ---- SOON CARDS — slide in from right ---- */
.promo-soon-card {
  transform: translateX(40px);
  transition:
    opacity 0.6s 0.35s ease,
    transform 0.6s 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
}
.promo-soon-card:nth-child(3) {
  transition-delay: 0.48s;
}
.promo-soon-card.promo-in {
  opacity: 1;
  transform: translateX(0);
}

/* ---- SOON CARD INNER CONTENT — stagger fadeUp ---- */
.promo-soon-card .coming-badge,
.promo-soon-card .promo-eyebrow,
.promo-soon-card h3,
.promo-soon-card p,
.promo-soon-card .launch-date,
.promo-soon-card .notify-btn {
  transform: translateY(8px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.promo-soon-card.promo-in .coming-badge {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.55s;
}
.promo-soon-card.promo-in .promo-eyebrow {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}
.promo-soon-card.promo-in h3 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.65s;
}
.promo-soon-card.promo-in p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}
.promo-soon-card.promo-in .launch-date {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.75s;
}
.promo-soon-card.promo-in .notify-btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

/* Second soon card content delays: start slightly later */
.promo-soon-card:nth-child(3).promo-in .coming-badge {
  transition-delay: 0.68s;
}
.promo-soon-card:nth-child(3).promo-in .promo-eyebrow {
  transition-delay: 0.73s;
}
.promo-soon-card:nth-child(3).promo-in h3 {
  transition-delay: 0.78s;
}
.promo-soon-card:nth-child(3).promo-in p {
  transition-delay: 0.83s;
}
.promo-soon-card:nth-child(3).promo-in .launch-date {
  transition-delay: 0.88s;
}
.promo-soon-card:nth-child(3).promo-in .notify-btn {
  transition-delay: 0.93s;
}

/* ============ PROMO T&C ============ */
.terms-page {
  --nav-bg: #0a0f22;
  --nav-border: rgba(255, 255, 255, 0.07);
  --nav-border-strong: rgba(255, 255, 255, 0.12);

  --ink: #0c1220;
  --muted: #6b7690;
  --hair: #e9ecf5;
  --paper: #f7f9fd;

  --blue: #3358e0;
  --blue-soft: #eef2fd;
  --blue-line: rgba(51, 88, 224, 0.22);

  --gold: #d99a1f;
  --gold-soft: #fbf3e3;

  --content-col: 900px;

  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Site nav (terms page variant) ---------- */
.terms-page header.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
}
.terms-page .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.terms-page .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.terms-page .logo-icon {
  height: 38px;
  width: auto;
  object-fit: contain;
}
.terms-page .nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.terms-page .nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: #c7cee0;
  transition: color 0.15s ease;
}
.terms-page .nav-links a:hover {
  color: #fff;
}
.terms-page .btn-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  border: 1px solid var(--nav-border-strong);
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.terms-page .btn-nav-cta:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.03);
}

.terms-page .nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--nav-border-strong);
  border-radius: 8px;
  cursor: pointer;
}
.terms-page .nav-toggle svg {
  display: block;
}
.terms-page .nav-toggle .icon-close {
  display: none;
}
.terms-page .nav-toggle.is-open .icon-menu {
  display: none;
}
.terms-page .nav-toggle.is-open .icon-close {
  display: block;
}

.terms-page .mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  padding: 4px 0 16px;
}
.terms-page .mobile-menu.is-open {
  display: flex;
}
.terms-page .mobile-menu a {
  color: #c7cee0;
  font-size: 14.5px;
  font-weight: 500;
  padding: 12px 28px;
}
.terms-page .mobile-menu a:hover {
  color: #fff;
}
.terms-page .mobile-menu .btn-nav-cta {
  display: flex;
  margin: 8px 28px 0;
  text-align: center;
}

@media (max-width: 900px) {
  .terms-page .nav-links,
  .terms-page .nav-inner > .btn-nav-cta {
    display: none;
  }
  .terms-page .nav-toggle {
    display: flex;
  }
}

/* ---------- Masthead — centered, eyebrow + subtitle ---------- */
.terms-page .terms-masthead {
  background: var(--paper);
  padding: 72px 0 44px;
  position: relative;
  overflow: hidden;
}
.terms-page .terms-masthead::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--hair);
}
.terms-page .terms-masthead .container {
  max-width: var(--content-col);
  position: relative;
  z-index: 1;
}
.terms-page .masthead-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.terms-page .masthead-eyebrow {
  display: inline-flex;
  align-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.terms-page .terms-masthead h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.terms-page .masthead-sub {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ---------- Body layout ---------- */
.terms-page .terms-body-section {
  background: #ffffff;
  padding: 0 0 20px;
}
.terms-page .terms-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 40px 20px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 110px;
}
.terms-page .terms-content {
  max-width: 640px;
}
@media (max-width: 1000px) {
  .terms-page .terms-layout {
    grid-template-columns: 200px 1fr;
    gap: 56px;
  }
}
@media (max-width: 760px) {
  .terms-page .terms-layout {
    grid-template-columns: 1fr;
    padding: 36px 20px 10px;
  }
  .terms-page .terms-toc {
    display: none;
  }
  .terms-page .terms-content {
    max-width: none;
  }
}

/* ---------- Table of contents — pill rows with numbered badges ---------- */
.terms-page .terms-toc {
  position: sticky;
  top: 108px;
  align-self: start;
  font-size: 13.5px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: 18px 14px;
}
.terms-page .toc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b3bad0;
  margin-bottom: 14px;
  padding: 0 6px;
}
.terms-page .terms-toc a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 10px;
  color: #626d89;
  font-weight: 500;
  line-height: 1.35;
  transition:
    color 0.15s,
    background 0.15s;
}
.terms-page .terms-toc a + a {
  margin-top: 2px;
}
.terms-page .terms-toc a .toc-idx {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  transition:
    background 0.15s,
    color 0.15s;
}
.terms-page .terms-toc a:hover {
  color: var(--ink);
  background: var(--paper);
}
.terms-page .terms-toc a.is-active {
  background: var(--blue-soft);
  color: var(--ink);
}
.terms-page .terms-toc a.is-active .toc-idx {
  background: var(--blue);
  color: #fff;
}

.terms-page .clause {
  padding-top: 48px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  scroll-margin-top: 108px;
}
.terms-page .clause:first-child {
  padding-top: 0;
}
.terms-page .clause-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.terms-page .clause-body {
  min-width: 0;
}
.terms-page .clause-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hair);
}
.terms-page .intro-text {
  font-size: 14.5px;
  color: var(--ink);
  margin: 0 0 18px;
}

.terms-page .rule-list {
  list-style: none;
}
.terms-page .rule-list > li {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  font-size: 14.5px;
  color: var(--ink);
}
.terms-page .rule-list > li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue-line);
  margin-top: 9px;
  flex-shrink: 0;
}
.terms-page .rule-list strong {
  color: var(--ink);
  font-weight: 600;
}

.terms-page .highlight-box,
.terms-page .warn-box {
  margin-top: 22px;
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 13.5px;
  line-height: 1.6;
}
.terms-page .highlight-box {
  background: var(--blue-soft);
  color: var(--ink);
}
.terms-page .highlight-box strong {
  color: var(--ink);
  font-weight: 700;
}
.terms-page .warn-box {
  background: var(--gold-soft);
  color: var(--ink);
}
.terms-page .warn-box strong {
  color: var(--ink);
  font-weight: 700;
}

.terms-page .remedy-grid {
  margin-top: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 560px) {
  .terms-page .remedy-grid {
    grid-template-columns: 1fr;
  }
}
.terms-page .remedy-card {
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 15px 16px;
  font-size: 13.5px;
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.terms-page .remedy-card:hover {
  border-color: var(--blue-line);
}
.terms-page .remedy-card .r-title {
  display: block;
  font-weight: 700;
  color: var(--ink);
  font-size: 13.5px;
  margin-bottom: 4px;
}

/* ---------- Footer (terms page variant) ---------- */
.terms-page .site-footer {
  background: var(--nav-bg);
  border-top: 1px solid var(--nav-border);
  padding: 40px 0;
}
.terms-page .site-footer .container {
  max-width: var(--content-col);
  display: grid;
  grid-template-columns: 196px 1fr;
  align-items: start;
  gap: 80px;
}
.terms-page .footer-brand {
  display: flex;
  align-items: center;
}
.terms-page .footer-brand .logo-icon {
  height: 38px;
}
.terms-page .footer-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.terms-page .footer-risk {
  font-size: 12px;
  color: var(--text-dim);
  max-width: 640px;
  line-height: 1.6;
}
.terms-page .footer-risk strong {
  font-weight: 600;
  color: var(--text-muted);
}
.terms-page .footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}
@media (max-width: 640px) {
  .terms-page .site-footer .container {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 16px;
  }
}

/* ============================================================
   EVENTS GALLERY
   ============================================================ */

@font-face {
  font-family: "Campton";
  src: url("assets/fonts/camptonbook.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Campton";
  src: url("assets/fonts/camptonbold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Section ── */
.evgal-section {
  background: linear-gradient(160deg, #0f2048 0%, #0d1b3e 50%, #091530 100%);
  padding: 76px 0 56px;
  font-family: "Campton", sans-serif;
}

/* ── Header ── */
.evgal-head {
  text-align: center;
  margin: 0 auto 42px;
  max-width: 800px;
}

.evgal-head h2 {
  font-family: "Campton", sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 8px;
}

.evgal-head p {
  font-family: "Campton", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto;
  max-width: 600px;
}

.evgal-hl {
  color: #00e6c0;
}

/* ── Strip wrapper — arrows are absolute children of this ── */
.evgal-strip-wrap {
  position: relative;
  margin: 0 64px;
  overflow: visible;
}

/* ── Scrollable strip ── */
.evgal-strip {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px 6px 12px;
  cursor: grab;
}
.evgal-strip:active {
  cursor: grabbing;
}
.evgal-strip::-webkit-scrollbar {
  display: none;
}

/* ── Card ── */
.evgal-card {
  position: relative;
  flex-shrink: 0;
  width: min(calc((100% - 24px) / 2), 500px);
  aspect-ratio: 3 / 2;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d1322;
  cursor: pointer;
  scroll-snap-align: start;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.3s;
}

.evgal-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 230, 192, 0.22);
  border-color: rgba(0, 230, 192, 0.3);
}

/* ── Image ── */
.evgal-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.evgal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.evgal-card:hover .evgal-img {
  transform: scale(1.035);
}

/* ── Overlay ── */
.evgal-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 10, 24, 0.62) 0%,
    rgba(6, 10, 24, 0.08) 55%,
    transparent 100%
  );
  z-index: 1;
  transition: opacity 0.3s;
}
.evgal-card:hover .evgal-card-overlay {
  opacity: 0.72;
}

/* ── Card info ── */
.evgal-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transform: translateY(5px);
  transition: transform 0.3s ease;
}
.evgal-card:hover .evgal-card-info {
  transform: translateY(0);
}

/* ── Tag pill ── */
.evgal-tag {
  display: inline-flex;
  align-self: flex-start;
  background: rgba(0, 230, 192, 0.15);
  border: 1px solid rgba(0, 230, 192, 0.32);
  color: #00e6c0;
  font-family: "Campton", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 13px;
}

/* ── Card label ── */
.evgal-card-label {
  font-family: "Campton", sans-serif;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* ── Arrows ── */
.evgal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(8, 11, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  backdrop-filter: blur(8px);
  transition:
    background 0.2s,
    border-color 0.2s,
    opacity 0.2s;
  pointer-events: auto;
}
.evgal-arrow:hover {
  background: rgba(0, 230, 192, 0.18);
  border-color: rgba(0, 230, 192, 0.5);
  color: #00e6c0;
}
.evgal-arrow--left {
  left: -58px;
}
.evgal-arrow--right {
  right: -58px;
}
.evgal-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ── Dots ── */
.evgal-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  min-height: 20px;
}
.evgal-dot {
  appearance: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition:
    background 0.3s,
    border-color 0.3s,
    width 0.3s;
  padding: 0;
}
.evgal-dot.active {
  width: 24px;
  border-radius: 3px;
  border-color: #00e6c0;
  background: #00e6c0;
}

/* ── Lightbox ── */
.evgal-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.evgal-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.evgal-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 16, 0.92);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.evgal-lightbox-content {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1200px);
  max-height: 92vh;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.evgal-lightbox.open .evgal-lightbox-content {
  transform: scale(1);
}

.evgal-lightbox-content img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  background: #080b14;
}

.evgal-lightbox-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 20px;
  background: linear-gradient(transparent, rgba(4, 6, 16, 0.9));
  color: #fff;
  font-family: "Campton", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.evgal-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(8, 11, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}
.evgal-lightbox-close:hover {
  background: rgba(255, 80, 80, 0.3);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .evgal-card {
    width: min(430px, 74vw);
  }
}

@media (max-width: 768px) {
  .evgal-section {
    padding: 56px 0 40px;
  }
  .evgal-head h2 {
    font-size: 24px;
  }
  .evgal-strip-wrap {
    margin: 0 8px;
  }
  .evgal-strip {
    gap: 16px;
    padding: 8px 4px 12px;
  }
  .evgal-card {
    width: min(82vw, 340px);
  }
  .evgal-card-label {
    font-size: 14px;
  }
  .evgal-arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .evgal-card {
    width: 92vw;
  }
}

/*============ TESTIMONIALS ============ */
.testimonials-section {
  background: linear-gradient(160deg, #0f2048 0%, #0d1b3e 50%, #091530 100%);
  padding: 100px 0;
  overflow: visible;
}
.testimonials-section .section-head {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}
.testimonials-section .section-head h2 {
  color: #ffffff;
  text-align: center;
}
.testimonials-section .section-head p {
  color: #ffffff;
  text-align: center;
}

/* ---- Carousel shell ---- */
.testimonial-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  pointer-events: auto !important;
}

.testimonial-track-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  flex: 1;
  min-width: 0;
  min-height: 200px;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  transition: height 0.3s ease;
  pointer-events: auto !important;
}
.testimonial-track-wrap::-webkit-scrollbar {
  display: none;
}

/* ---- Track ---- */
.testimonial-grid {
  display: flex;
  gap: 22px;
  width: 100%;
}

/* Default: 3 per page */
.testimonial-card {
  flex: 0 0 calc((100% - 44px) / 3);
  min-height: 300px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 40px -22px rgba(0, 0, 0, 0.5);
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 10px;
}
.stars {
  color: var(--amber);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-card p.quote {
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 26px;
  flex-grow: 1;
}
.testimonial-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #06140f;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  font-size: 14px;
}
.testimonial-role {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ---- Arrows ---- */
.carousel-arrow {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
  pointer-events: auto !important;
}
.carousel-arrow:hover:not(:disabled) {
  background: var(--surface-2);
  border-color: var(--teal);
  color: var(--teal);
}
.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

/* ---- Dots ---- */
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  padding: 4px 0;
  position: relative;
  z-index: 10;
  pointer-events: auto !important;
}
.dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  cursor: pointer !important;
  transition:
    background 0.2s ease,
    width 0.2s ease,
    border-radius 0.2s ease;
  padding: 0;
  flex-shrink: 0;
  pointer-events: auto !important;
  position: relative;
  z-index: 10;
}
.dots .dot.active {
  background: var(--teal);
  border-color: var(--teal);
  width: 20px;
  border-radius: 4px;
}

/* ---- Trust row ---- */
.trust-row {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px;
  margin-top: 18px;
  position: relative;
  z-index: 5;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
.trust-badge {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  min-height: 78px;
  display: flex !important;
  align-items: center;
  gap: 14px;
  min-width: 0;
  overflow: visible;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  visibility: visible !important;
  opacity: 1 !important;
}
.trust-badge strong {
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 600;
}

/* ---- Trust badge icons ---- */
.trust-copy {
  display: block !important;
  min-width: 0;
  visibility: visible !important;
  opacity: 1 !important;
}

.trust-title {
  display: block !important;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  visibility: visible !important;
  opacity: 1 !important;
}
.trust-title strong {
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 600;
}
.trust-sub {
  display: block !important;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
  line-height: 1.35;
  visibility: visible !important;
  opacity: 1 !important;
}

.trust-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  visibility: visible !important;
  opacity: 1 !important;
}
.trust-icon {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 14px -6px rgba(0, 0, 0, 0.5);
}
.trust-icon-teal {
  background: radial-gradient(
    circle at 32% 28%,
    rgba(0, 230, 192, 0.28),
    rgba(0, 230, 192, 0.08) 70%
  );
  border: 1px solid rgba(0, 230, 192, 0.35);
  color: var(--teal);
}
.trust-icon-blue {
  background: radial-gradient(
    circle at 32% 28%,
    rgba(74, 138, 255, 0.28),
    rgba(74, 138, 255, 0.08) 70%
  );
  border: 1px solid rgba(74, 138, 255, 0.35);
  color: var(--blue);
}

/* SERC hexagon badge */
.trust-icon-hex {
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--blue);
}

@media (max-width: 767px) {
  .trust-icon {
    width: 38px;
    height: 38px;
  }
  .trust-title {
    font-size: 12px;
  }
  .trust-sub {
    font-size: 11px;
  }
}

/* ---- Reveal stagger — NEVER block pointer-events ---- */
.reveal-stagger {
  pointer-events: auto !important;
}
.js-reveal .reveal-stagger {
  opacity: 1;
  transform: translateY(14px);
  transition:
    opacity 0.42s ease,
    transform 0.42s ease;
  pointer-events: auto !important; /* always on, not tied to .in */
}
.js-reveal .reveal-stagger.in {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto !important;
}

/* ---- Tablet: 2 per page ---- */
@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc((100% - 22px) / 2);
  }
  .testimonials-section .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- Mobile: 1 per page ---- */
@media (max-width: 767px) {
  .testimonials-section {
    padding: 60px 0;
  }
  .testimonials-section .section-head {
    margin-bottom: 36px;
  }
  .testimonials-section .section-head h2 {
    font-size: 28px;
  }
  .testimonial-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-height: auto;
    box-sizing: border-box;
  }
  .testimonial-grid {
    gap: 0 !important;
  }
  .testimonial-track-wrap {
    width: 100%;
    min-height: 280px;
    scroll-snap-type: x mandatory;
  }
  .testimonial-card {
    scroll-snap-align: start;
  }
  .carousel-arrow {
    display: none !important;
  }
  .testimonial-carousel {
    gap: 0;
  }
  .testimonials-section .trust-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
  .trust-badge {
    padding: 12px;
    font-size: 12px;
  }
}

/* ---- Small phones ---- */
@media (max-width: 400px) {
  .testimonials-section .trust-row {
    grid-template-columns: 1fr !important;
  }
}

/* ---- Shared dot styles (testimonials + evgal) ---- */
.evgal-dot,
.dots .dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.34) !important;
  border: 1px solid rgba(255, 255, 255, 0.48) !important;
  cursor: pointer !important;
  transition:
    background 0.2s ease,
    width 0.2s ease,
    border-radius 0.2s ease !important;
  appearance: none !important;
  padding: 0 !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  pointer-events: auto !important;
}
.evgal-dot.active,
.dots .dot.active {
  background: var(--teal) !important;
  border-color: var(--teal) !important;
  width: 20px !important;
  border-radius: 4px !important;
}
/* ============ FINAL CTA ============ */

.cta-final {
  position: relative;
  text-align: center;
  padding: 100px 0;
  overflow: hidden;

  background-image:
    linear-gradient(rgba(13, 27, 62, 0.85), rgba(9, 18, 44, 0.93)),
    url("assets/images/footer_bg.avif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 750px;
  height: 750px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 230, 192, 0.2), transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 14px;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 34px;
}

/* Highest Priority CTA Button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #00e6c0;
  color: #06140f;

  border: none;
  border-radius: 999px;

  padding: 18px 38px;
  font-size: 18px;
  font-weight: 700;

  box-shadow: 0 0 30px rgba(0, 230, 192, 0.4);

  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: #1fffd8;
  transform: translateY(-3px);
  box-shadow: 0 0 45px rgba(0, 230, 192, 0.65);
}

.cta-fineprint {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 24px;
  margin-bottom: 44px;

  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-fineprint span::before {
  content: "✓ ";
  color: #00e6c0;
}

.pay-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pay-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);

  border: 1px solid var(--border-strong);
  border-radius: 999px;

  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.03);

  transition: all 0.25s ease;
}

.pay-chip:hover {
  border-color: #00e6c0;
  color: #00e6c0;
}

/* Mobile */
@media (max-width: 768px) {
  .cta-final {
    padding: 80px 20px;
  }

  .cta-content h2 {
    font-size: 34px;
  }

  .cta-content p {
    font-size: 15px;
  }

  .btn-cta {
    width: 100%;
    max-width: 320px;
  }

  .cta-glow {
    width: 500px;
    height: 500px;
  }
}
/* -----------FAQ----------------*/
/* ---------- Section ---------- */
.faq-section,
.faq-section * {
  font-family: "Campton Book", "Campton", sans-serif;
  font-weight: 400;
  box-sizing: border-box;
}

.faq-section {
  padding: 80px 0;
  background: linear-gradient(175deg, #f0f4fb 0%, #e8edf8 100%);
}

/* ---------- Header ---------- */
.faq-title-block {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.faq-title-block h2 {
  font-size: 42px;
  font-weight: 700;
  font-family: "Campton", sans-serif;
  line-height: 1.12;
  color: #0d1b3e;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.faq-accent {
  color: #1260cc;
}

.faq-title-block p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 400;
  font-family: "Campton Book", "Campton", sans-serif;
  line-height: 1.75;
  color: rgba(13, 27, 62, 0.55);
}

/* ---------- List ---------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- Card ---------- */
.faq-item {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(13, 27, 62, 0.1);
  border-radius: 14px;
  overflow: hidden;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

/* Left accent strip */
.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #00e6c0;
  border-radius: 3px 0 0 3px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-item.active {
  background: rgba(0, 230, 192, 0.04);
  border-color: rgba(0, 230, 192, 0.35);
}

.faq-item.active::before {
  opacity: 1;
}

/* ---------- Question button ---------- */
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  cursor: pointer;
  text-align: left;
}

.faq-num {
  min-width: 30px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #1260cc;
  opacity: 0.8;
  flex-shrink: 0;
  font-family: "Campton Book", "Campton", sans-serif;
}

.faq-text {
  flex: 1;
  color: #0d1b3e;
  font-size: 16px;
  font-weight: 600;
  font-family: "Campton", "Campton Medium", sans-serif;
  line-height: 1.4;
  letter-spacing: 0.005em;
}

/* ---------- Toggle icon (circle with + that becomes ×) ---------- */
.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 230, 192, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.35s ease;
}

.faq-item.active .faq-toggle {
  background: #00e6c0;
  border-color: #00e6c0;
  transform: rotate(45deg);
}

.faq-toggle-bar {
  position: absolute;
  background: #1260cc;
  border-radius: 2px;
  transition: background 0.3s ease;
}

.faq-toggle-bar.h {
  width: 12px;
  height: 1.5px;
}

.faq-toggle-bar.v {
  width: 1.5px;
  height: 12px;
}

.faq-item.active .faq-toggle-bar {
  background: #080b14;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  background: #f8faff;
}

.faq-answer-inner p {
  margin: 0;
  padding: 24px 28px 28px 72px;
  color: rgba(0, 0, 0, 0.72);
  font-family: "Campton Book", "Campton", sans-serif;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.85;
}

/* ---------- Hidden items ---------- */
.faq-hidden {
  display: none;
}

/* ---------- View More button ---------- */
.faq-view-more-row {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.faq-view-more-btn {
  height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(18, 96, 204, 0.35);
  color: #1260cc;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
}

.faq-view-more-btn:hover {
  background: rgba(18, 96, 204, 0.08);
}

.faq-view-more-icon {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 16px;
}

.faq-view-more-btn[aria-expanded="true"] .faq-view-more-icon {
  transform: rotate(180deg);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .faq-section {
    padding: 60px 0;
  }

  .faq-title-block h2 {
    font-size: 24px;
  }

  .faq-question {
    padding: 18px 18px;
    gap: 14px;
  }

  .faq-num {
    min-width: 24px;
    font-size: 11px;
  }

  .faq-text {
    font-size: 15px;
  }

  .faq-toggle {
    width: 28px;
    height: 28px;
  }

  .faq-answer-inner p {
    padding: 16px 18px 20px 52px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .faq-answer-inner p {
    padding-left: 34px;
  }
}

/* ============ FOOTER ============ */
.footer {
  background: #0a1633 !important;
  padding: 70px 0 40px !important;
  height: auto !important;
  overflow: visible !important;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-top {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 42px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-logo .logo-icon {
  height: 42px;
  width: auto;
  display: block;
}

.footer-logo .logo-wordmark {
  color: #fff;
  font-size: 20px;
  letter-spacing: 1px;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
}

.footer-nav-cols {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  margin-bottom: 42px;
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: #8d97b5;
  font-size: 14px;
  margin-bottom: 12px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-payments {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-payments img {
  height: 48px;
  width: 90px;
  object-fit: contain;
}

.footer-bottom {
  text-align: center;
  padding-top: 28px;
}

.footer-bottom p {
  color: #66708f;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* Tablet */
@media (max-width: 992px) {
  .footer-nav-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 30px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .footer {
    padding: 50px 0 30px !important;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-nav-cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }

  .footer-payments {
    gap: 22px;
  }

  .footer-payments img {
    height: 48px;
  }
}

@media (max-width: 480px) {
  .footer-nav-cols {
    grid-template-columns: 1fr;
  }

  .footer-payments {
    justify-content: flex-start;
    gap: 18px;
  }
}

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
}
.modal-overlay.show {
  display: flex;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 32px;
  max-width: 400px;
  width: 100%;
  position: relative;
}
.modal h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.modal p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.modal input {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.2s ease;
}
.modal input:focus {
  border-color: var(--teal);
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.modal-close:hover {
  background: var(--surface-2);
  color: var(--text);
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
  .pulse-dot,
  .badge-live::before {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    max-width: 480px;
    margin: 24px auto 0;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .promo-grid {
    grid-template-columns: 1fr !important;
  }
  .promo-grid .promo-card:nth-child(1),
  .promo-grid .promo-card:nth-child(2),
  .promo-grid .promo-card:nth-child(3),
  .promo-grid .promo-card:nth-child(4) {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  .testimonials-section .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .testimonials-section .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-copy h1 {
    font-size: 32px;
  }
  .hero-copy p.lead {
    font-size: 16px;
  }
  .hero-inner {
    padding-top: 56px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat {
    border-bottom: 1px solid var(--border);
  }
  .stat:nth-child(odd) {
    border-right: 1px solid var(--border);
  }
  .stat:nth-child(2),
  .stat:nth-child(4) {
    border-right: none;
  }
  .section {
    padding: 70px 0;
  }
  .section-head h2 {
    font-size: 28px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-section .testimonial-grid {
    display: flex;
    overflow: visible;
    gap: 0;
    margin-bottom: 18px;
    padding-bottom: 4px;
  }
  .testimonials-section .testimonial-card {
    min-width: 100%;
    scroll-snap-align: center;
  }
  .dots {
    display: flex;
  }
  .testimonials-section .trust-row {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cta-content h2 {
    font-size: 28px;
  }
  .promo-live-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .countdown {
    align-items: flex-start;
  }
}
/* ============================================================
   TRY-DEMO PAGE (try-demo.html)
   Scoped under .card / .demo-shell so it never affects h1/.sub/etc. on other pages
   ============================================================ */

body.demo-page {
  background: #eef2fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

/* ---------- Page header: logo + language switcher, sits above the card ---------- */
.page-header {
  width: 100%;
  max-width: 760px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.page-header .logo {
  display: flex;
  align-items: center;
}
.page-header .logo-icon {
  height: 46px;
  width: auto;
  object-fit: contain;
}

/* ---------- Outer shell: widens the whole card on desktop ---------- */
.demo-shell {
  width: 100%;
  max-width: 760px;
  background: #fffffe;
  border: 1px solid #e3e6ef;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(16, 21, 42, 0.18);
}

.card {
  /* Local light-theme overrides — everything below inherits these
     instead of the site's dark --text / --bg-soft / --border tokens */
  --text: #000000;
  --text-muted: #3a3f52;
  --text-dim: #7a8096;
  --border: #e3e6ef;
  --border-strong: #d7dce8;
  --bg-soft: #f7f8fb;
  --surface: #ffffff;

  width: 100%;
  background: #fffffe;
  border: none;
  border-radius: 0;
  padding: 56px 64px 48px;
}

.card h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  text-align: center;
}
.card .note {
  font-size: 13.5px;
  color: var(--text-muted);
  padding-bottom: 24px;
  margin-bottom: 26px;
  margin-top: 14px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.card .field {
  margin-bottom: 22px;
  position: relative;
}
.card .field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.card .field input,
.card .field select {
  width: 100%;
  height: 52px;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  padding: 0 16px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-soft);
  transition: border-color 0.15s ease;
}
.card .field input::placeholder {
  color: var(--text-dim);
}
.card .field input:focus,
.card .field select:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
}
.card .field select {
  appearance: none;
  -webkit-appearance: none;
}
.card .select-wrap {
  position: relative;
}
.card .select-wrap::after {
  display: none; /* Choices.js renders its own dropdown arrow now */
}
body.demo-page.native-selects .card .select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 21px;
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-dim);
  border-bottom: 2px solid var(--text-dim);
  pointer-events: none;
  transform: rotate(45deg);
}
body.demo-page.native-selects .card .field select {
  padding-right: 42px;
}
.card .field select option {
  background: var(--surface);
  color: var(--text);
}

.card .toggle-visibility {
  position: absolute;
  right: 8px;
  bottom: 0;
  height: 52px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  line-height: 0;
}
.card .toggle-visibility svg {
  width: 18px;
  height: 18px;
}

.card .phone-row {
  display: flex;
  gap: 10px;
}
.card .phone-row .code-select {
  flex: 0 0 92px;
}
.card .phone-row .phone-input {
  flex: 1;
}

/* ---------- Password rules checklist (visible only while typing) ---------- */
.card .password-rules {
  list-style: none;
  margin: -6px 0 0;
  padding: 0 12px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12.5px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 18px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.2s ease,
    opacity 0.15s ease,
    padding 0.2s ease,
    margin 0.2s ease;
}
.card .password-rules.show {
  max-height: 120px;
  padding: 10px 12px;
  margin: -6px 0 16px;
  border-color: var(--border);
  opacity: 1;
}
.card .password-rules li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  color: var(--text-dim);
  transition: color 0.15s ease;
  white-space: nowrap;
}
.card .password-rules li .rule-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card .password-rules li .rule-icon svg {
  width: 9px;
  height: 9px;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.card .password-rules li.valid {
  color: #1fa25a;
}
.card .password-rules li.valid .rule-icon {
  border-color: #1fa25a;
  background: #1fa25a;
}
.card .password-rules li.valid .rule-icon svg {
  opacity: 1;
}

.card .submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* ---------- TRY-DEMO SUBMIT BUTTON ---------- */
.card .submit-btn {
  width: 100%;
  height: 50px;
  margin-top: 6px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2f7edd, #183da5);
  color: #ffffff;
  border: none;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  margin-bottom: 16px;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}
.demo-page .logo-wordmark {
  color: #000 !important;
}

.demo-page .logo-wordmark strong {
  color: #000 !important;
}
.card .submit-btn:hover {
  opacity: 0.9;
}
.card .submit-btn:active {
  transform: scale(0.98);
}
.card .submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.card .fine-print {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.7;
}
.card .fine-print a {
  color: var(--teal);
  text-decoration: underline;
}

.card .form-error {
  display: none;
  font-size: 13px;
  color: var(--down);
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
}
.card .form-error.show {
  display: block;
}

.card .success-state {
  display: none;
  text-align: center;
  padding: 20px 0 4px;
  color: #000;
}
.card .success-state.show {
  display: block;
}
.card .success-state .check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal-dim);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.card .success-state .check svg {
  width: 26px;
  height: 26px;
}
.card .success-state h2 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text);
}
.card .success-state p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Large desktop: a touch more breathing room */
@media (min-width: 1200px) {
  .demo-shell {
    max-width: 800px;
  }
}

/* Tablet */
@media (max-width: 820px) {
  .demo-shell {
    max-width: 600px;
  }
  .card {
    padding: 44px 44px 40px;
  }
}

/* Small tablet / large phone */
@media (max-width: 640px) {
  body.demo-page {
    padding: 32px 18px;
    align-items: flex-start;
  }
  .demo-shell {
    border-radius: 16px;
  }
  .card {
    padding: 32px 24px;
  }
  .card h1 {
    font-size: 22px;
  }
  .card .phone-row {
    flex-direction: column;
  }
  .card .phone-row .code-select {
    flex: 1;
    width: 100%;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .card {
    padding: 26px 18px;
  }
  .card .password-rules {
    flex-direction: column;
    column-gap: 0;
  }
}

/* ---------- Language switcher (inline, inside page-header) ---------- */
.lang-switcher {
  position: relative;
  font-family: var(--font-body, inherit);
}
.lang-switcher .lang-current {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e3e6ef;
  color: #10152a;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px -6px rgba(16, 21, 42, 0.15);
}
.lang-switcher .lang-current svg {
  width: 14px;
  height: 14px;
  color: #7a8096;
}
.lang-switcher .flag {
  font-size: 15px;
  line-height: 1;
}
.lang-switcher .lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: #ffffff;
  border: 1px solid #e3e6ef;
  border-radius: 10px;
  box-shadow: 0 16px 40px -12px rgba(16, 21, 42, 0.25);
  padding: 6px;
  display: none;
}
.lang-switcher .lang-menu.show {
  display: block;
}
.lang-switcher .lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 7px;
  font-size: 13.5px;
  color: #10152a;
  cursor: pointer;
}
.lang-switcher .lang-option:hover {
  background: #f2f4f9;
}
.phone-input {
  position: relative;
}
.phone-hint {
  display: none;
  margin-top: 6px;
  font-size: 12.5px;
  color: #d64545;
}
.phone-hint.show {
  display: block;
}

@media (max-width: 480px) {
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ---------- Choices.js country search dropdown — restyled to match .field inputs ---------- */
.card .choices {
  margin-bottom: 0;
  font-size: 15px;
}
.card .choices[data-type*="select-one"] .choices__inner {
  display: flex !important;
  align-items: center !important;
  height: 52px !important;
  min-height: 52px !important;
  padding: 0 16px !important;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  font-family: var(--font-body);
}
.card .choices.is-focused .choices__inner,
.card .choices.is-open .choices__inner {
  border-color: var(--teal);
  background: #fff;
}
.card .choices[data-type*="select-one"] .choices__list--single {
  display: flex !important;
  align-items: center !important;
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
}
.card .choices__list--single .choices__item {
  color: var(--text);
  line-height: normal !important;
  padding: 0 !important;
  margin: 0 !important;
}
.card .choices__placeholder {
  color: var(--text-dim);
  opacity: 1;
}
.card .choices[data-type*="select-one"]::after {
  border-color: var(--text-dim) transparent transparent transparent;
  right: 16px;
}
.card .choices__list--dropdown,
.card .choices__list[aria-expanded] {
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  margin-top: 6px;
  box-shadow: 0 16px 40px -14px rgba(16, 21, 42, 0.25);
  overflow: hidden;
}
.card .choices__list--dropdown .choices__input {
  margin: 8px;
  width: calc(100% - 16px);
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--bg-soft);
  font-family: var(--font-body);
}
.card .choices__list--dropdown .choices__item--selectable {
  padding: 10px 16px;
  font-size: 14.5px;
  color: var(--text);
}
.card .choices__list--dropdown .choices__item--selectable.is-highlighted {
  background: var(--bg-soft);
}
.card .choices__list--dropdown .choices__list {
  max-height: 220px;
}
