/* ============================================================
   Global Expansion Group — Premium design system
   ============================================================ */

:root {
  --blue-bright: #068ED1;
  --blue-corp: #0466B0;
  --blue-deep: #05418B;
  --navy: #0F2344;
  --white: #FCFCFC;
  --silver-1: #D2D2D3;
  --silver-2: #A5A6A7;
  --silver-3: #7B7B7D;
  --black: #000000;

  --grad-blue: linear-gradient(135deg, #068ED1, #0466B0 50%, #05418B);
  --grad-metal: linear-gradient(180deg, #FCFCFC, #D2D2D3 45%, #A5A6A7);

  --font: "Montserrat", system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --max: 1080px;
  --section-pad: clamp(4rem, 9vh, 6.5rem);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-x: none;
}

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

/* ── Capas de fondo: mapa plateado → ambiente → partículas ── */
.map-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.38;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(5, 65, 139, 0.1), transparent 60%),
    radial-gradient(ellipse 40% 30% at 100% 100%, rgba(6, 142, 209, 0.04), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(210, 210, 211, 0.02), transparent 55%);
}

/* Particles canvas */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.16;
}

/* Flujo vertical de la página */
.page-main {
  position: relative;
  z-index: 3;
  max-width: 100%;
}

.page-spine {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(210, 210, 211, 0.06) 8%,
    rgba(6, 142, 209, 0.12) 45%,
    rgba(210, 210, 211, 0.06) 92%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.page-spine::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(252, 252, 252, 0.5);
  box-shadow: 0 0 14px rgba(6, 142, 209, 0.45);
  transform: translate(-50%, -50%);
  animation: spineOrb 12s linear infinite;
}

@keyframes spineOrb {
  0% { top: 0%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Conectores entre secciones */
.section-bridge {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: clamp(2.5rem, 7vh, 4.5rem);
  max-width: var(--max);
  margin: 0 auto;
  opacity: 0;
  transform: scaleY(0.6);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.section-bridge.is-visible {
  opacity: 1;
  transform: scaleY(1);
}

.section-bridge-line {
  position: relative;
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(6, 142, 209, 0.08),
    rgba(210, 210, 211, 0.28),
    rgba(6, 142, 209, 0.08)
  );
}

.section-bridge-orb {
  position: absolute;
  left: 50%;
  top: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--silver-1);
  box-shadow: 0 0 10px rgba(6, 142, 209, 0.55);
  transform: translate(-50%, -50%);
  animation: bridgeOrb 3.5s ease-in-out infinite;
}

@keyframes bridgeOrb {
  0% { top: 0%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.flow-section {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
}

.flow-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .page-spine::after,
  .section-bridge-orb {
    animation: none;
  }

  .flow-section {
    opacity: 1;
    transform: none;
  }

  .section-bridge {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 768px) {
  .map-bg {
    opacity: 0.28;
  }

  .page-spine {
    opacity: 0.35;
  }

  .section-bridge {
    height: clamp(2rem, 5vh, 3rem);
  }
}

/* ── Header ── */
.section-bridge:nth-child(odd) .section-bridge-orb {
  animation-delay: 0.8s;
}

.section-bridge:nth-child(even) .section-bridge-orb {
  animation-delay: 1.6s;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  background: rgba(0, 0, 0, 0.88);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem clamp(1rem, 3.5vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  width: 100%;
  min-height: 52px;
  flex-wrap: nowrap;
  position: relative;
  z-index: 2;
}

.header-rule {
  height: 1px;
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(210, 210, 211, 0.15) 20%, rgba(6, 142, 209, 0.35) 50%, rgba(210, 210, 211, 0.15) 80%, transparent);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  animation: livePulse 2s ease-out infinite;
  flex-shrink: 0;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

#regCount.count-pop {
  animation: countPop 0.75s cubic-bezier(0.34, 1.4, 0.64, 1);
}

@keyframes countPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.brand,
.footer-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  position: relative;
  z-index: 3;
}

.brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: clamp(44px, 5vw, 58px);
  max-width: min(260px, 58vw);
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.brand-logo-wrap:hover .brand-logo {
  opacity: 0.92;
  transform: scale(1.02);
}

.hero-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(460px, 90vw);
  max-height: clamp(72px, 14vw, 110px);
  margin: 0 auto clamp(1.5rem, 4vh, 2.25rem);
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(6, 142, 209, 0.18));
  opacity: 0;
  animation: logoEnter 1s var(--ease) 0.15s forwards, logoFloat 5s ease-in-out 1.2s infinite;
}

@keyframes logoEnter {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.footer-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(260px, 70vw);
  max-height: 64px;
  margin: 0 auto 1.25rem;
  object-fit: contain;
  opacity: 0.95;
}

.modal-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 180px;
  max-height: 42px;
  margin: 0 auto 1rem;
  object-fit: contain;
}

.brand-line {
  display: block;
}

.brand-global {
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.brand-expansion {
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-group {
  font-weight: 300;
  font-size: 0.48rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--silver-3);
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  margin-left: auto;
}

.header-inner > .lang-switcher {
  margin-left: 0.85rem;
}

@media (min-width: 921px) {
  .header-inner > .lang-switcher {
    order: 3;
  }
  .nav-toggle {
    order: 4;
  }
}

@media (min-width: 921px) {
  .nav a:not(.nav-btn) {
    white-space: nowrap;
  }
}

.nav a {
  color: var(--silver-2);
  transition: color 0.3s var(--ease);
}

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

.nav-btn {
  color: var(--white) !important;
  padding: 0.48rem 1.1rem;
  border: 1px solid rgba(6, 142, 209, 0.5);
  background: rgba(6, 142, 209, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  isolation: isolate;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease) !important;
}

.nav-btn:hover {
  background: rgba(6, 142, 209, 0.18);
  border-color: var(--blue-bright) !important;
}

/* CTA Registrarse — animación premium */
.nav-btn-cta {
  position: relative;
  padding: 0.55rem 1.35rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em;
  border: 1px solid rgba(6, 142, 209, 0.65) !important;
  background: linear-gradient(135deg, rgba(6, 142, 209, 0.35), rgba(5, 65, 139, 0.5)) !important;
  box-shadow:
    0 0 0 0 rgba(6, 142, 209, 0.45),
    0 4px 20px rgba(6, 142, 209, 0.25);
  animation: navCtaPulse 2.5s ease-in-out infinite;
}

.nav-btn-glow {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #068ED1, #05418B, #068ED1);
  background-size: 200% 200%;
  animation: navCtaGradient 3s ease infinite;
  opacity: 0.55;
  z-index: 0;
  filter: blur(8px);
}

.nav-btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  animation: navCtaShine 3.5s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.nav-btn-text {
  position: relative;
  z-index: 2;
}

.nav-btn-cta:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow:
    0 0 24px rgba(6, 142, 209, 0.45),
    0 8px 28px rgba(6, 142, 209, 0.35) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

@keyframes navCtaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6, 142, 209, 0.4), 0 4px 20px rgba(6, 142, 209, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(6, 142, 209, 0), 0 6px 28px rgba(6, 142, 209, 0.35); }
}

@keyframes navCtaGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes navCtaShine {
  0%, 100% { transform: translateX(-120%); }
  45%, 55% { transform: translateX(120%); }
}

.nav-panel {
  color: var(--blue-bright) !important;
}

/* Títulos en una sola línea */
.title-line,
.hero-title,
.how-head h2,
.roadmap-head h2,
.register-info h2,
.modal-panel:not(.plans-panel):not(.access-panel) h2 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.hero-title {
  font-size: clamp(1.35rem, 4.2vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: clamp(2rem, 5vh, 3rem);
}

.hero-title .word {
  display: inline-block;
  opacity: 0;
  animation: wordIn 0.85s var(--ease) forwards;
}

.hero-title .word:nth-child(1) { animation-delay: 0.05s; }
.hero-title .word:nth-child(2) { animation-delay: 0.18s; }
.hero-title .word + .word {
  margin-left: 0.3em;
}

.hero-title .word.accent {
  font-weight: 800;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 6px;
  background: none;
  border: 1px solid rgba(210, 210, 211, 0.15);
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 110;
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Desktop nav — reset drawer styles */
@media (min-width: 921px) {
  .nav-toggle {
    display: none !important;
  }

  .nav {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    margin-left: auto;
    padding: 0;
    flex-direction: row;
    align-items: center;
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }

  .nav a {
    padding: 0;
    border-bottom: none;
  }

  .nav-btn {
    margin-top: 0;
  }
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal[style*="--delay:0"].revealed { transition-delay: 0s; }
.reveal[style*="--delay:1"].revealed { transition-delay: 0.12s; }
.reveal[style*="--delay:2"].revealed { transition-delay: 0.24s; }

/* ── Hero Countdown (primero) ── */
.hero-countdown {
  position: relative;
  z-index: 1;
  min-height: min(92vh, 900px);
  display: grid;
  place-items: center;
  padding: clamp(2rem, 6vh, 4rem) clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
  overflow: clip;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(6, 142, 209, 0.15), transparent 65%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(5, 65, 139, 0.2), transparent 50%);
  animation: glowPulse 6s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from { opacity: 0.7; }
  to { opacity: 1; }
}

.hero-countdown-inner {
  position: relative;
  max-width: 720px;
  width: 100%;
}

/* ── Módulo cristal: posiciones arriba + countdown en línea ── */
.countdown-module {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto clamp(2rem, 4vh, 2.75rem);
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.02) 35%,
    rgba(6, 142, 209, 0.04) 100%
  );
  backdrop-filter: blur(40px) saturate(160%);
  -webkit-backdrop-filter: blur(40px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 1px 0 rgba(255, 255, 255, 0.09) inset;
  animation: glassFloat 8s ease-in-out infinite;
}

.countdown-glass-shine {
  position: absolute;
  inset: 0 0 55% 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 85%);
  pointer-events: none;
  z-index: 0;
}

@keyframes glassFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.countdown-module.count-updated-glass {
  border-color: rgba(6, 142, 209, 0.35);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.48),
    0 0 48px rgba(6, 142, 209, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.07) inset;
}

/* Barra de posiciones — centrada arriba */
.live-positions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  padding: 1.05rem clamp(1.25rem, 4vw, 2rem);
}

.live-positions-line {
  flex: 1;
  height: 1px;
  max-width: 4.5rem;
  min-width: 1rem;
  background: linear-gradient(90deg, transparent, rgba(6, 142, 209, 0.45));
  opacity: 0.7;
}

.live-positions-line:last-child {
  background: linear-gradient(90deg, rgba(6, 142, 209, 0.45), transparent);
}

.live-positions-core {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  flex-shrink: 0;
}

.live-positions .live-dot {
  width: 6px;
  height: 6px;
}

.live-positions strong {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1;
  background: var(--grad-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.live-positions-text {
  font-size: clamp(0.58rem, 1.8vw, 0.65rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver-2);
  transition: color 0.35s;
}

.live-positions.count-updated {
  background: linear-gradient(180deg, rgba(6, 142, 209, 0.12), transparent);
}

.live-positions.count-updated strong {
  background: linear-gradient(180deg, #fff 0%, #068ED1 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.live-positions-text.label-flash {
  color: var(--blue-bright);
}

.live-positions.count-updated .live-dot {
  animation: livePulse 0.5s ease-out 3;
}

.countdown-module-divider {
  position: relative;
  z-index: 1;
  height: 1px;
  margin: 0 clamp(1rem, 4vw, 2rem);
  background: linear-gradient(90deg, transparent, rgba(6, 142, 209, 0.22) 50%, transparent);
}

/* Countdown en una sola línea — centrado abajo */
.hero-countdown .countdown-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(0.4rem, 1.8vw, 1.1rem);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: clamp(1.25rem, 3vh, 1.75rem) clamp(0.75rem, 3vw, 1.5rem) clamp(1.5rem, 3.5vh, 2rem);
  margin-bottom: 0;
}

.hero-countdown .countdown-row .cd-cell {
  min-width: clamp(3.25rem, 10vw, 5rem);
  flex-shrink: 0;
}

.hero-countdown .countdown-row .cd-frame {
  min-width: clamp(3.25rem, 10vw, 5rem);
  padding: clamp(0.65rem, 1.8vh, 1rem) clamp(0.3rem, 1vw, 0.5rem);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  overflow: hidden;
  isolation: isolate;
}

.hero-countdown .countdown-row .cd-frame::before {
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 60%);
}

.hero-countdown .countdown-row .cd-num {
  font-size: clamp(1.75rem, 5.5vw, 3.25rem);
}

.hero-countdown .countdown-row .cd-sep {
  margin-bottom: 1.4rem;
  font-size: clamp(1.1rem, 2.8vw, 1.45rem);
  opacity: 0.65;
  flex-shrink: 0;
}

.hero-countdown .countdown-row .cd-txt {
  font-size: clamp(0.52rem, 1.4vw, 0.58rem);
  margin-top: 0.45rem;
}

@media (prefers-reduced-motion: reduce) {
  .countdown-module {
    animation: none;
  }
}

.hero-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 1.25rem;
  border-radius: var(--radius-full);
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(6, 142, 209, 0.25);
  background: rgba(6, 142, 209, 0.06);
  overflow: hidden;
  isolation: isolate;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-pill {
  padding: 1rem 1.75rem;
  border: 1px solid rgba(210, 210, 211, 0.12);
  background: rgba(15, 35, 68, 0.45);
  backdrop-filter: blur(8px);
  min-width: 140px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.stat-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 142, 209, 0.35);
}

.stat-pill.accent {
  border-color: rgba(6, 142, 209, 0.35);
  background: rgba(6, 142, 209, 0.1);
}

.stat-pill-val {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat-pill.accent .stat-pill-val {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-pill-lbl {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-3);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--grad-blue);
  border: 1px solid rgba(6, 142, 209, 0.4);
  border-radius: var(--radius-full);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  animation: ctaFloat 3s ease-in-out infinite;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(6, 142, 209, 0.25);
}

@keyframes ctaFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.hero-cta svg {
  animation: ctaBounce 2s ease-in-out infinite;
}

@keyframes ctaBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.cd-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
  animation: cdShine 4s ease-in-out infinite;
  pointer-events: none;
  will-change: transform;
}

@keyframes cdShine {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* Legacy masthead — removed, kept wordIn keyframe */

/* ── Badge afiliado (solo con ?ref= en URL) ── */
.affiliate-badge {
  position: relative;
  margin-bottom: 1.15rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.affiliate-badge.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.affiliate-badge-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(6, 142, 209, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(
    145deg,
    rgba(6, 142, 209, 0.14) 0%,
    rgba(15, 35, 68, 0.55) 45%,
    rgba(6, 142, 209, 0.08) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.affiliate-badge-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.affiliate-badge-shine::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -80%;
  width: 45%;
  height: 220%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.07),
    transparent
  );
  transform: rotate(22deg);
  animation: badgeShine 5s ease-in-out infinite;
}

@keyframes badgeShine {
  0%, 100% { transform: translateX(0) rotate(22deg); opacity: 0; }
  15% { opacity: 1; }
  50% { transform: translateX(420%) rotate(22deg); opacity: 1; }
  65% { opacity: 0; }
}

.affiliate-badge-icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-top: 0.35rem;
  font-size: 0.65rem;
  color: var(--blue-bright);
  text-shadow: 0 0 12px rgba(6, 142, 209, 0.6);
}

.affiliate-badge-body {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.affiliate-badge-pill {
  display: inline-block;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(6, 142, 209, 0.35);
  border-radius: var(--radius-full);
  background: rgba(6, 142, 209, 0.1);
  margin-bottom: 0.55rem;
  overflow: hidden;
  isolation: isolate;
}

.affiliate-badge-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-2);
  margin-bottom: 0.2rem;
}

.affiliate-badge-name {
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  background: var(--grad-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.45rem;
}

.affiliate-badge-sub {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--silver-2);
}

.affiliate-badge-check {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue-bright);
  border: 1px solid rgba(6, 142, 209, 0.4);
  border-radius: 50%;
  background: rgba(6, 142, 209, 0.12);
  margin-top: 0.15rem;
  overflow: hidden;
  isolation: isolate;
}

.register-block.ref-active .form-card {
  border-color: rgba(6, 142, 209, 0.45);
}

.form-wrapper.ref-highlight .form-card {
  animation: formGlow 1.5s ease-in-out 2;
}

@keyframes formGlow {
  0%, 100% {
    box-shadow: none;
  }
  50% {
    box-shadow: 0 0 28px rgba(6, 142, 209, 0.28);
  }
}

/* Success modal — código destacado */
.affiliate-code-hero {
  text-align: center;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(6, 142, 209, 0.35);
  background: rgba(6, 142, 209, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
}

.affiliate-code-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-3);
  margin-bottom: 0.5rem;
}

.affiliate-code-big {
  display: block;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── How it works ── */
.how-section {
  padding-top: 0;
}

.how-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.how-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.how-head p {
  font-weight: 300;
  color: var(--silver-2);
  font-size: 0.95rem;
}

.how-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
}

.how-step {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(210, 210, 211, 0.1);
  background: rgba(15, 35, 68, 0.2);
  text-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}

.how-step:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 142, 209, 0.35);
  box-shadow: 0 12px 40px rgba(6, 142, 209, 0.12);
}

.step-num {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--blue-bright);
  margin-bottom: 1rem;
}

.step-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  color: var(--silver-2);
  transition: color 0.4s;
}

.how-step:hover .step-icon {
  color: var(--blue-bright);
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

.how-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.how-step p {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--silver-2);
  line-height: 1.65;
}

.step-connector {
  width: 40px;
  align-self: center;
  height: 1px;
  background: linear-gradient(90deg, rgba(6, 142, 209, 0.3), rgba(6, 142, 209, 0.6), rgba(6, 142, 209, 0.3));
  animation: connectorPulse 2s ease-in-out infinite;
}

@keyframes connectorPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ── Sections ── */
.section {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section-pad) clamp(1.5rem, 4vw, 2.5rem);
  width: 100%;
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(210, 210, 211, 0.1);
}

.label-num {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--blue-bright);
}

.label-text {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-3);
}

/* ── Countdown ── */
.countdown-block {
  padding-top: 0;
}

.countdown-wrap {
  text-align: center;
}

.countdown-eyebrow {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-3);
  margin-bottom: 2rem;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 1.75rem);
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.cd-cell {
  min-width: clamp(4rem, 12vw, 5.5rem);
}

.cd-frame {
  position: relative;
  min-width: clamp(4rem, 12vw, 5.5rem);
  padding: 1rem 0.5rem;
  border: 1px solid rgba(210, 210, 211, 0.12);
  background: rgba(15, 35, 68, 0.4);
  border-radius: var(--radius-md);
  overflow: hidden;
  isolation: isolate;
}

.cd-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(6, 142, 209, 0.08), transparent);
  pointer-events: none;
}

.cd-sep {
  font-size: 1.5rem;
  font-weight: 200;
  color: var(--blue-bright);
  opacity: 0.7;
  align-self: center;
  margin-bottom: 1.5rem;
  animation: sepBlink 1.5s steps(1) infinite;
}

@keyframes sepBlink {
  50% { opacity: 0.2; }
}

.cd-num {
  display: block;
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 200;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  background: var(--grad-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  transition: opacity 0.3s var(--ease);
}

.cd-num.tick {
  animation: numTick 0.4s var(--ease);
}

@keyframes numTick {
  0% { opacity: 0.3; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

.cd-txt {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--silver-3);
}

.cd-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue-bright);
  opacity: 0.6;
  align-self: center;
  margin-bottom: 1.5rem;
}

.stats-row {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  padding: 1.5rem 2.5rem;
  border: 1px solid rgba(210, 210, 211, 0.12);
  background: rgba(15, 35, 68, 0.35);
  border-radius: var(--radius-lg);
}

.stat {
  text-align: center;
}

.stat-val {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--white);
  line-height: 1.1;
}

.stat-val.stat-accent {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-lbl {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver-3);
}

.stat-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(210, 210, 211, 0.15);
}

/* ── Roadmap ── */
.roadmap-head {
  margin-bottom: 3rem;
}

.roadmap-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.roadmap-head p {
  font-weight: 300;
  color: var(--silver-2);
  font-size: 0.95rem;
}

.timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tl-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  position: relative;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.tl-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

.tl-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(6, 142, 209, 0.4), rgba(165, 166, 167, 0.15));
}

.tl-marker {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(210, 210, 211, 0.2);
  background: rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
  border-radius: var(--radius-md);
}

.tl-marker span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--silver-3);
}

.tl-item.is-current .tl-marker {
  border-color: var(--blue-bright);
  background: rgba(6, 142, 209, 0.12);
}

.tl-item.is-current .tl-marker span {
  color: var(--blue-bright);
}

.tl-when {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.35rem;
}

.tl-item:not(.is-current) .tl-when {
  color: var(--silver-3);
}

.tl-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.tl-body p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--silver-2);
  max-width: 48ch;
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.tl-tag {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(210, 210, 211, 0.2);
  color: var(--silver-3);
  border-radius: var(--radius-full);
  overflow: hidden;
  isolation: isolate;
}

.tl-tag.active {
  border-color: rgba(6, 142, 209, 0.5);
  color: var(--blue-bright);
  background: rgba(6, 142, 209, 0.1);
  animation: tagPulse 2s ease-in-out infinite;
}

@keyframes tagPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6, 142, 209, 0.3); }
  50% { box-shadow: 0 0 0 4px rgba(6, 142, 209, 0); }
}

@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Register + Premium Form ── */
.register-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.form-wrapper {
  position: relative;
}

/* Honeypot anti-bot — invisible para usuarios reales */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-card {
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(210, 210, 211, 0.12);
  background: rgba(15, 35, 68, 0.3);
  backdrop-filter: blur(12px);
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
  isolation: isolate;
}

.form-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(6, 142, 209, 0.2), transparent 40%, rgba(6, 142, 209, 0.1));
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.form-card:focus-within::before {
  opacity: 1;
}

.form-progress {
  height: 3px;
  background: rgba(210, 210, 211, 0.08);
  margin-bottom: 0.85rem;
  overflow: hidden;
  border-radius: var(--radius-full);
}

.form-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--grad-blue);
  transition: width 0.5s var(--ease);
  box-shadow: 0 0 12px rgba(6, 142, 209, 0.5);
}

.form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 0.85rem;
}

.form-fields .field:not(.two-col-item) {
  grid-column: 1 / -1;
}

.field-anim {
  opacity: 0;
  transform: translateX(-16px);
  animation: fieldSlideIn 0.6s var(--ease) forwards;
  animation-delay: calc(var(--i) * 0.1s + 0.2s);
}

@keyframes fieldSlideIn {
  to { opacity: 1; transform: translateX(0); }
}

.input-wrap {
  position: relative;
}

.input-wrap input:not(.phone-number-field) {
  width: 100%;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--white);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(210, 210, 211, 0.12);
  border-radius: var(--radius-md);
  padding: 0.65rem 2rem 0.65rem 0.85rem;
  outline: none;
  transition: border-color 0.35s, background 0.35s, box-shadow 0.35s;
}

.input-wrap input:not(.phone-number-field)::placeholder {
  color: var(--silver-3);
  font-weight: 300;
}

.input-wrap input:not(.phone-number-field):focus {
  border-color: rgba(6, 142, 209, 0.55);
  background: rgba(6, 142, 209, 0.06);
  box-shadow: 0 0 0 3px rgba(6, 142, 209, 0.12);
}

.input-line {
  display: none;
}

.field-check {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%) scale(0);
  font-size: 0.75rem;
  color: #7ec99a;
  transition: transform 0.35s var(--ease);
}

.field.is-valid .field-check {
  transform: translateY(-50%) scale(1);
}

.field.is-valid .input-wrap input:not(.phone-number-field) {
  border-color: rgba(126, 201, 154, 0.4);
}

.field.is-invalid .input-wrap input:not(.phone-number-field) {
  border-color: rgba(200, 80, 80, 0.6);
  animation: shakeField 0.45s var(--ease);
}

.field.is-duplicate .input-wrap input:not(.phone-number-field) {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.07) !important;
  box-shadow:
    0 0 0 3px rgba(239, 68, 68, 0.18),
    0 0 24px rgba(239, 68, 68, 0.12);
  animation: duplicateShake 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}


.field.is-duplicate .field-check {
  transform: translateY(-50%) scale(0) !important;
}

.field.is-duplicate .field-error {
  color: #f87171;
  font-weight: 500;
  animation: errorFadeIn 0.35s ease;
}

.field.is-checking .input-wrap input:not(.phone-number-field) {
  border-color: rgba(6, 142, 209, 0.35);
}

/* Unified phone input — one seamless modern field */
#whatsappField {
  z-index: 2;
}

#whatsappField.is-picker-open {
  z-index: 60;
}

.phone-unified {
  position: relative;
  z-index: 1;
}

.phone-unified.is-picker-open {
  z-index: 60;
}

.phone-unified .phone-composite {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--white);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(210, 210, 211, 0.12);
  border-radius: var(--radius-md);
  padding: 0.4rem 2rem 0.4rem 0.75rem;
  outline: none;
  transition: border-color 0.35s, background 0.35s, box-shadow 0.35s;
}

.phone-wa-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 0.55rem;
  color: rgba(126, 201, 154, 0.9);
  opacity: 0.92;
}

.phone-code-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  margin: 0;
  padding: 0 0.55rem 0 0;
  border: none;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  color: inherit;
  line-height: 1;
  transition: opacity 0.25s var(--ease);
}

.phone-code-trigger:hover,
.phone-code-trigger[aria-expanded="true"] {
  opacity: 1;
}

.phone-code-iso {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
}

.phone-code-dial {
  font-size: 0.88rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--silver-2);
}

.phone-code-chevron {
  color: var(--blue-bright);
  opacity: 0.85;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.phone-code-trigger[aria-expanded="true"] .phone-code-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.phone-number-field {
  flex: 1;
  min-width: 0;
  border: 1px solid transparent;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.035em;
  color: var(--white);
  padding: 0.4rem 0.65rem;
  margin-left: 0.35rem;
  border-radius: calc(var(--radius-md) - 8px);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.phone-number-field::placeholder {
  color: var(--silver-3);
  font-weight: 300;
}

.phone-number-field:focus {
  border-color: rgba(6, 142, 209, 0.45);
  background: rgba(6, 142, 209, 0.08);
  box-shadow: 0 0 0 2px rgba(6, 142, 209, 0.12);
}

/* Custom country picker panel */
.phone-picker {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition:
    opacity 0.32s var(--ease),
    transform 0.32s var(--ease),
    visibility 0.32s;
  pointer-events: none;
  overflow: hidden;
  box-sizing: border-box;
}

.phone-picker.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.phone-picker-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse at 50% 0%, rgba(6, 142, 209, 0.22), transparent 65%);
  pointer-events: none;
  filter: blur(12px);
}

.phone-picker-inner {
  position: relative;
  background:
    linear-gradient(155deg, rgba(15, 35, 68, 0.97) 0%, rgba(0, 0, 0, 0.94) 100%);
  border: 1px solid rgba(6, 142, 209, 0.28);
  border-radius: var(--radius-md);
  padding: 0.65rem;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(252, 252, 252, 0.04) inset,
    0 8px 32px rgba(6, 142, 209, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.phone-picker-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 142, 209, 0.6), transparent);
}

.phone-picker-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-2);
  padding: 0.25rem 0.5rem 0.55rem;
  margin: 0;
}

.phone-picker-search {
  margin: 0 0 0.5rem;
}
.phone-picker-search input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 40px;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(6, 142, 209, 0.28);
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  font: inherit;
  font-size: 0.88rem;
}
.phone-picker-search input:focus {
  outline: none;
  border-color: rgba(6, 142, 209, 0.55);
  box-shadow: 0 0 0 3px rgba(6, 142, 209, 0.16);
}

.phone-picker-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 16rem;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(6, 142, 209, 0.45) transparent;
}

.phone-picker-list::-webkit-scrollbar {
  width: 5px;
}

.phone-picker-list::-webkit-scrollbar-thumb {
  background: rgba(6, 142, 209, 0.45);
  border-radius: var(--radius-full);
}

.phone-picker-item {
  opacity: 0;
  transform: translateY(6px);
  animation: pickerItemIn 0.38s var(--ease) forwards;
  max-width: 100%;
}
.phone-picker-item[hidden] { display: none !important; }

.phone-picker.is-open .phone-picker-item:nth-child(1) { animation-delay: 0.02s; }
.phone-picker.is-open .phone-picker-item:nth-child(2) { animation-delay: 0.04s; }
.phone-picker.is-open .phone-picker-item:nth-child(3) { animation-delay: 0.06s; }
.phone-picker.is-open .phone-picker-item:nth-child(4) { animation-delay: 0.08s; }
.phone-picker.is-open .phone-picker-item:nth-child(5) { animation-delay: 0.1s; }
.phone-picker.is-open .phone-picker-item:nth-child(6) { animation-delay: 0.12s; }
.phone-picker.is-open .phone-picker-item:nth-child(7) { animation-delay: 0.14s; }
.phone-picker.is-open .phone-picker-item:nth-child(8) { animation-delay: 0.16s; }
.phone-picker.is-open .phone-picker-item:nth-child(n+9) { animation-delay: 0.18s; }

@keyframes pickerItemIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.phone-picker-option {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 0.7rem;
  margin: 0;
  border: none;
  border-radius: calc(var(--radius-md) - 6px);
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease);
}

.phone-picker-option::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 3px;
  border-radius: var(--radius-full);
  background: var(--grad-blue);
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity 0.25s, transform 0.25s var(--ease);
}

.phone-picker-option:hover {
  background: linear-gradient(90deg, rgba(6, 142, 209, 0.14), rgba(6, 142, 209, 0.04));
  transform: translateX(2px);
}

.phone-picker-option:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.phone-picker-option.is-selected {
  background: linear-gradient(90deg, rgba(6, 142, 209, 0.2), rgba(5, 65, 139, 0.08));
  box-shadow: inset 0 0 0 1px rgba(6, 142, 209, 0.2);
}

.phone-picker-option.is-selected::before {
  opacity: 1;
  transform: scaleY(1);
}

.phone-picker-badge {
  flex-shrink: 0;
  min-width: 2.1rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: rgba(6, 142, 209, 0.15);
  border: 1px solid rgba(6, 142, 209, 0.25);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}

.phone-picker-flag {
  display: none !important;
}

.phone-code-flag {
  display: none !important;
}

.phone-picker-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--silver-1);
}

.phone-picker-dial {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--blue-bright);
}

.phone-picker-check {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--grad-blue);
  color: var(--white);
  font-size: 0.62rem;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.25s, transform 0.25s var(--ease);
}

.phone-picker-option.is-selected .phone-picker-check {
  opacity: 1;
  transform: scale(1);
}

.field.is-valid .phone-unified .phone-composite {
  border-color: rgba(126, 201, 154, 0.4);
}

.field.is-invalid .phone-unified .phone-composite {
  border-color: rgba(200, 80, 80, 0.6);
}

.field.is-duplicate .phone-unified .phone-composite {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.07) !important;
  box-shadow:
    0 0 0 3px rgba(239, 68, 68, 0.18),
    0 0 24px rgba(239, 68, 68, 0.12) !important;
  animation: duplicateShake 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

.field.is-checking .phone-unified .phone-composite {
  border-color: rgba(6, 142, 209, 0.35);
  animation: phoneCheckingPulse 1.4s ease-in-out infinite;
}

@keyframes phoneCheckingPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6, 142, 209, 0.08); }
  50% { box-shadow: 0 0 0 4px rgba(6, 142, 209, 0.12); }
}

.field-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--silver-3);
  font-weight: 300;
}

@media (max-width: 640px) {
  .phone-unified .phone-composite {
    padding-right: 2rem;
  }

  .phone-code-iso {
    font-size: 0.72rem;
  }

  .phone-code-dial {
    font-size: 0.82rem;
  }

  .phone-number-field {
    margin-left: 0.4rem;
  }
}

@keyframes duplicateShake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-8px); }
  30% { transform: translateX(8px); }
  45% { transform: translateX(-6px); }
  60% { transform: translateX(6px); }
  75% { transform: translateX(-3px); }
}

@keyframes errorFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shakeField {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.btn-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.btn-icon {
  transition: transform 0.35s var(--ease);
}

.btn-submit:hover:not(:disabled) .btn-icon {
  transform: translateX(4px);
}

/* Premium form loader overlay */
.form-loader {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(6, 142, 209, 0.25);
  border-radius: var(--radius-xl);
  animation: loaderFadeIn 0.4s var(--ease);
}

.form-loader[hidden] {
  display: none;
}

@keyframes loaderFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.loader-ring {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 1.5rem;
}

.loader-ring-outer,
.loader-ring-inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
}

.loader-ring-outer {
  border-top-color: var(--blue-bright);
  border-right-color: rgba(6, 142, 209, 0.2);
  animation: spin 1.2s linear infinite;
}

.loader-ring-inner {
  inset: 10px;
  border-bottom-color: var(--blue-corp);
  border-left-color: rgba(4, 102, 176, 0.2);
  animation: spin 0.9s linear infinite reverse;
}

.loader-core {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 142, 209, 0.3), transparent);
  animation: corePulse 1.5s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes corePulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.05); }
}

.loader-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

.loader-steps {
  width: 100%;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.loader-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--silver-3);
  opacity: 0.4;
  transition: opacity 0.4s, color 0.4s, transform 0.4s;
}

.loader-step.active {
  opacity: 1;
  color: var(--white);
  transform: translateX(4px);
}

.loader-step.done {
  opacity: 0.7;
  color: #7ec99a;
}

.loader-step .step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid currentColor;
  flex-shrink: 0;
  transition: background 0.3s, box-shadow 0.3s;
}

.loader-step.active .step-dot {
  background: var(--blue-bright);
  border-color: var(--blue-bright);
  box-shadow: 0 0 10px rgba(6, 142, 209, 0.6);
  animation: dotPulse 1s ease-in-out infinite;
}

.loader-step.done .step-dot {
  background: #7ec99a;
  border-color: #7ec99a;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6, 142, 209, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(6, 142, 209, 0); }
}

.loader-bar {
  width: 100%;
  max-width: 280px;
  height: 4px;
  background: rgba(210, 210, 211, 0.1);
  overflow: hidden;
  border-radius: var(--radius-full);
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--grad-blue);
  transition: width 0.6s var(--ease);
  box-shadow: 0 0 8px rgba(6, 142, 209, 0.5);
}

/* ── Register (legacy grid alias) ── */
.register-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.register-info h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.register-info > p {
  font-weight: 300;
  color: var(--silver-2);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 36ch;
}

.benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--silver-1);
}

.benefit-num {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--blue-bright);
  border: 1px solid rgba(6, 142, 209, 0.35);
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}

.form-card {
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(210, 210, 211, 0.12);
  background: rgba(15, 35, 68, 0.25);
  backdrop-filter: blur(8px);
}

.form-card .field label {
  position: relative;
  z-index: 1;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
}

.form-card .field {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.form-card .field.is-picker-open {
  z-index: 60;
}

.form-card .btn-submit {
  position: relative;
  z-index: 1;
  margin-top: 0.85rem;
  padding: 0.8rem 1rem;
}

.form-card .form-msg {
  position: relative;
  z-index: 1;
  margin-top: 0.55rem;
  font-size: 0.78rem;
}

.form-card .field-hint {
  margin-top: 0.25rem;
  font-size: 0.68rem;
}

.form-card .field-error {
  min-height: 0.9em;
  font-size: 0.7rem;
  margin-top: 0.2rem;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.field label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver-3);
  margin-bottom: 0.5rem;
}

.field-error {
  display: block;
  min-height: 1.1em;
  margin-top: 0.3rem;
  font-size: 0.72rem;
  color: #e88;
}

.form-msg {
  margin-top: 1rem;
  font-size: 0.85rem;
  text-align: center;
  min-height: 1.3em;
}

.form-msg.is-ok { color: #7ec99a; }
.form-msg.is-err { color: #e88; }

.btn-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem 1.5rem;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--grad-blue);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn-submit:hover:not(:disabled) {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-submit.shimmer {
  position: relative;
  overflow: hidden;
}

.btn-submit.shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}

.anim-pop {
  animation: popIn 0.5s var(--ease);
}

@keyframes popIn {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

/* ── Plans modal — ultra premium wide ── */
.plans-modal {
  padding: clamp(0.6rem, 1.8vw, 1.25rem);
  place-items: center;
  overflow: hidden;
}

.plans-modal .modal-backdrop.plans-backdrop {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
}

.plans-panel {
  position: relative;
  max-width: min(1120px, calc(100vw - 1.25rem));
  width: 100%;
  max-height: min(94dvh, 100%);
  padding: clamp(1.35rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.75rem);
  text-align: left;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(6, 142, 209, 0.18), transparent 55%),
    linear-gradient(165deg, rgba(10, 24, 48, 0.98) 0%, rgba(0, 0, 0, 0.99) 55%, rgba(4, 30, 58, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(6, 142, 209, 0.14) inset,
    0 0 100px rgba(6, 142, 209, 0.1);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  isolation: isolate;
  animation: plansPanelIn 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-overflow-scrolling: touch;
}

@keyframes plansPanelIn {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.plans-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.plans-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.4;
}

.plans-orb-1 {
  width: 320px;
  height: 320px;
  top: -100px;
  right: -40px;
  background: rgba(6, 142, 209, 0.5);
  animation: plansOrbFloat 9s ease-in-out infinite;
}

.plans-orb-2 {
  width: 260px;
  height: 260px;
  bottom: -90px;
  left: -60px;
  background: rgba(5, 65, 139, 0.55);
  animation: plansOrbFloat 11s ease-in-out infinite reverse;
}

@keyframes plansOrbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(14px, -12px); }
}

.plans-head,
.plans-grid,
.plans-foot {
  position: relative;
  z-index: 1;
}

.plans-head {
  text-align: center;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.plans-kicker {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue-bright);
  padding: 0.4rem 1rem;
  border: 1px solid rgba(6, 142, 209, 0.4);
  border-radius: var(--radius-full);
  background: rgba(6, 142, 209, 0.1);
  margin-bottom: 0.85rem;
  box-shadow: 0 0 24px rgba(6, 142, 209, 0.15);
}

.plans-head h2 {
  font-size: clamp(1.55rem, 3.8vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.45rem;
  background: linear-gradient(180deg, #fff 10%, #A5A6A7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plans-lead {
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  color: var(--silver-2);
  font-weight: 300;
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.55;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: stretch;
  margin-bottom: clamp(1rem, 2vw, 1.35rem);
}

.plan-card {
  --plan-i: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 2.8vw, 2rem) clamp(1.25rem, 2.5vw, 1.85rem);
  border-radius: calc(var(--radius-xl) - 4px);
  overflow: hidden;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s var(--ease),
    border-color 0.45s;
  animation: planCardIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: calc(var(--plan-i) * 0.1s + 0.08s);
  min-height: 0;
}

@keyframes planCardIn {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(255,255,255,0.18), transparent 42%, rgba(6,142,209,0.35));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.plan-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.06) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  pointer-events: none;
  transition: none;
}

.plan-card:hover .plan-card-shine {
  animation: planShineSweep 1.1s ease forwards;
}

@keyframes planShineSweep {
  to { transform: translateX(120%); }
}

.plan-card-glow {
  position: absolute;
  top: -35%;
  left: 50%;
  width: 130%;
  height: 55%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(6, 142, 209, 0.28), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s;
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 142, 209, 0.4);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.5),
    0 0 48px rgba(6, 142, 209, 0.14);
}

.plan-card:hover .plan-card-glow {
  opacity: 1;
}

.plan-card.is-popular {
  border-color: rgba(6, 142, 209, 0.5);
  background:
    linear-gradient(165deg, rgba(6, 142, 209, 0.16), rgba(255, 255, 255, 0.02) 55%);
  box-shadow:
    0 24px 56px rgba(6, 142, 209, 0.18),
    0 0 0 1px rgba(6, 142, 209, 0.12) inset;
}

.plan-card.is-popular .plan-card-glow {
  opacity: 0.85;
}

.plan-card.is-popular:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow:
    0 32px 70px rgba(6, 142, 209, 0.28),
    0 0 60px rgba(6, 142, 209, 0.2);
}

.plan-badge {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-full);
  background: var(--grad-blue);
  box-shadow: 0 4px 18px rgba(6, 142, 209, 0.45);
  z-index: 2;
  animation: planBadgePulse 2.8s ease-in-out infinite;
}

.plan-badge-soft {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
  color: var(--silver-2);
  animation: none;
}

@keyframes planBadgePulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(6, 142, 209, 0.4); }
  50% { box-shadow: 0 4px 28px rgba(6, 142, 209, 0.7); }
}

.plan-card-top {
  margin-bottom: 0.35rem;
  padding-right: 5rem;
}

.plan-tier {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.45rem;
}

.plan-name {
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}

.plan-tagline {
  font-size: 0.8rem;
  color: var(--silver-3);
  margin-bottom: 0;
  line-height: 1.45;
}

.plan-price-block {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 0;
  margin: 0.85rem 0 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.plan-amount {
  font-size: clamp(2.4rem, 5vw, 3.15rem);
  font-weight: 700;
  line-height: 1;
  background: var(--grad-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plan-currency {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-bright);
  letter-spacing: 0.12em;
}

.plan-price-note {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-3);
}

.plan-features {
  list-style: none;
  flex: 1;
  margin: 0.85rem 0 1.25rem;
  padding: 0;
}

.plan-features li {
  --fi: 0;
  position: relative;
  padding: 0.55rem 0 0.55rem 1.55rem;
  font-size: 0.86rem;
  color: var(--silver-1);
  line-height: 1.35;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  animation: planFeatIn 0.5s ease backwards;
  animation-delay: calc(var(--plan-i) * 0.1s + var(--fi) * 0.06s + 0.25s);
}

.plan-features li:last-child {
  border-bottom: none;
}

@keyframes planFeatIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(6, 142, 209, 0.15);
  border: 1px solid rgba(6, 142, 209, 0.4);
}

.plan-features li::after {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--blue-bright);
}

.plan-card.is-popular .plan-features li:last-child {
  color: #fff;
  font-weight: 500;
}

.plan-card.is-popular .plan-features li:last-child::before {
  background: rgba(6, 142, 209, 0.3);
  border-color: rgba(6, 142, 209, 0.7);
  box-shadow: 0 0 12px rgba(6, 142, 209, 0.35);
}

.plan-select-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  margin-top: auto;
  padding: 1rem 1.25rem;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease), border-color 0.35s, box-shadow 0.4s;
}

.plan-btn-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
  transform: translateX(-100%);
  z-index: 0;
}

.plan-select-btn:hover .plan-btn-bg {
  animation: planBtnShine 0.85s ease forwards;
}

@keyframes planBtnShine {
  to { transform: translateX(100%); }
}

.plan-btn-label,
.plan-btn-arrow {
  position: relative;
  z-index: 1;
}

.plan-btn-arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

.plan-select-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 142, 209, 0.55);
  box-shadow: 0 12px 32px rgba(6, 142, 209, 0.25);
}

.plan-select-btn:hover .plan-btn-arrow {
  transform: translateX(4px);
}

.plan-select-btn.is-premium {
  background: var(--grad-blue);
  border-color: transparent;
  box-shadow: 0 10px 36px rgba(6, 142, 209, 0.4);
  animation: planCtaPulse 2.6s ease-in-out infinite;
}

.plan-select-btn.is-premium:hover {
  box-shadow: 0 14px 44px rgba(6, 142, 209, 0.55);
  filter: brightness(1.08);
}

@keyframes planCtaPulse {
  0%, 100% { box-shadow: 0 10px 36px rgba(6, 142, 209, 0.35); }
  50% { box-shadow: 0 12px 48px rgba(6, 142, 209, 0.6); }
}

.plans-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.plans-footnote {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.68rem;
  color: var(--silver-3);
}

.plans-footnote-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-bright);
  opacity: 0.75;
  flex-shrink: 0;
}

.plans-back {
  margin: 0;
}

@media (max-width: 780px) {
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .plan-card.is-popular {
    order: -1;
  }

  .plans-panel {
    padding: 1.25rem 1rem 1.35rem;
  }

  .plan-card:hover,
  .plan-card.is-popular:hover {
    transform: none;
  }
}

@media (max-height: 700px) {
  .plans-head {
    margin-bottom: 0.85rem;
  }

  .plans-head h2 {
    font-size: 1.35rem;
  }

  .plan-card {
    padding: 1.1rem 1.15rem;
  }

  .plan-amount {
    font-size: 2.2rem;
  }

  .plan-features li {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    font-size: 0.8rem;
  }

  .plan-select-btn {
    padding: 0.85rem 1rem;
  }
}

@media (max-height: 560px) {
  .plans-orb {
    display: none;
  }

  .plans-footnote {
    display: none;
  }
}

@media (max-width: 920px) {
  .nav-btn-cta {
    animation: navCtaBreathe 3.2s ease-in-out infinite;
    box-shadow:
      0 8px 22px rgba(6, 142, 209, 0.22),
      0 0 0 1px rgba(6, 142, 209, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }

  .nav-btn-cta:hover,
  .nav-btn-cta:active {
    box-shadow:
      0 10px 28px rgba(6, 142, 209, 0.32),
      0 0 0 1px rgba(6, 142, 209, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
  }
}

@keyframes navCtaBreathe {
  0%, 100% {
    box-shadow:
      0 8px 20px rgba(6, 142, 209, 0.18),
      0 0 0 1px rgba(6, 142, 209, 0.26),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
  50% {
    box-shadow:
      0 12px 32px rgba(6, 142, 209, 0.34),
      0 0 28px rgba(6, 142, 209, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }
}

/* ── Payment modal (USDT Binance) ── */
.payment-modal,
.success-modal {
  padding:
    max(0.5rem, env(safe-area-inset-top, 0px))
    max(0.75rem, env(safe-area-inset-right, 0px))
    max(0.5rem, env(safe-area-inset-bottom, 0px))
    max(0.75rem, env(safe-area-inset-left, 0px));
  align-items: center;
  justify-items: center;
  overflow: hidden;
}

.payment-panel,
.success-panel {
  display: flex;
  flex-direction: column;
  position: relative;
  width: min(520px, calc(100vw - 1.5rem));
  max-width: min(520px, calc(100vw - 1.5rem));
  max-height: min(92dvh, calc(100% - 0.5rem));
  padding: 0;
  text-align: left;
  overflow: hidden;
}

.payment-scroll,
.success-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: clamp(1.35rem, 3.5vw, 2.35rem) clamp(1rem, 3.5vw, 2rem) clamp(1.25rem, 3vw, 2rem);
  scrollbar-width: thin;
  scrollbar-color: rgba(6, 142, 209, 0.45) transparent;
}

.payment-scroll::-webkit-scrollbar,
.success-scroll::-webkit-scrollbar {
  width: 6px;
}

.payment-scroll::-webkit-scrollbar-thumb,
.success-scroll::-webkit-scrollbar-thumb {
  background: rgba(6, 142, 209, 0.4);
  border-radius: 999px;
}

.payment-panel .modal-close,
.success-panel .modal-close {
  z-index: 3;
  top: 0.65rem;
  right: 0.65rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.payment-head {
  text-align: center;
  margin-bottom: clamp(0.85rem, 2vh, 1.2rem);
  padding-right: 1.5rem;
}

.payment-badge {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(6, 142, 209, 0.35);
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.payment-head h2 {
  font-size: clamp(1.15rem, 3.5vw, 1.4rem);
  font-weight: 600;
  margin-bottom: 0.45rem;
  line-height: 1.25;
}

.payment-lead {
  font-size: clamp(0.8rem, 2.6vw, 0.9rem);
  font-weight: 300;
  color: var(--silver-2);
  line-height: 1.5;
}

.payment-block {
  margin-bottom: clamp(0.85rem, 2vh, 1.15rem);
  padding: 0.95rem 1rem;
  border: 1px solid rgba(210, 210, 211, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.22);
}

.payment-block-title {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
}

.payment-block-help {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--silver-3);
}

.payment-block-help strong {
  color: var(--silver-1);
  font-weight: 600;
}

.payment-amount-hero {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  padding: 0.85rem 0.75rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(6, 142, 209, 0.16), rgba(126, 201, 154, 0.08));
  border: 1px solid rgba(6, 142, 209, 0.28);
}

.payment-amount-value {
  font-size: clamp(1.6rem, 6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: payAmountGlow 2.4s ease-in-out infinite;
}

.payment-amount-unit {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-bright);
}

.payment-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--silver-3);
}

.payment-meta-row strong {
  color: var(--white);
  text-align: right;
  font-weight: 600;
}

.payment-warn {
  margin-top: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 183, 77, 0.35);
  background: rgba(255, 183, 77, 0.08);
  color: #ffd59a;
  font-size: 0.74rem;
  line-height: 1.45;
}

.payment-warn strong {
  color: #ffe2b8;
}

.payment-warn em {
  font-style: normal;
  font-weight: 700;
  color: #fff;
}

.payment-summary {
  border: 1px solid rgba(210, 210, 211, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: clamp(0.85rem, 2vh, 1.15rem);
  background: rgba(0, 0, 0, 0.25);
}

.payment-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--silver-2);
  border-bottom: 1px solid rgba(210, 210, 211, 0.06);
}

.payment-summary-row:last-child {
  border-bottom: none;
}

.payment-summary-row strong {
  color: var(--white);
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.payment-summary-row.highlight {
  background: rgba(6, 142, 209, 0.1);
}

.payment-summary-row.highlight strong {
  font-size: clamp(1rem, 3.5vw, 1.15rem);
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.payment-qr-stage {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0.35rem auto clamp(1rem, 2.4vh, 1.35rem);
  width: min(220px, 70vw);
  min-height: min(220px, 70vw);
  isolation: isolate;
}

.payment-qr-aura {
  position: absolute;
  inset: 8%;
  border-radius: 28%;
  background:
    radial-gradient(circle at 50% 40%, rgba(6, 142, 209, 0.45), transparent 62%),
    radial-gradient(circle at 50% 70%, rgba(126, 201, 154, 0.18), transparent 55%);
  filter: blur(18px);
  animation: payAuraPulse 2.8s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.payment-qr-ring {
  position: absolute;
  inset: 0;
  border-radius: 28%;
  border: 1px solid rgba(6, 142, 209, 0.28);
  pointer-events: none;
  z-index: 1;
}

.payment-qr-ring-1 {
  animation: payRingPulse 2.4s ease-out infinite;
}

.payment-qr-ring-2 {
  inset: -8%;
  border-color: rgba(6, 142, 209, 0.18);
  animation: payRingPulse 2.4s ease-out 0.55s infinite;
}

.payment-qr-ring-3 {
  inset: -16%;
  border-color: rgba(126, 201, 154, 0.14);
  animation: payRingPulse 2.4s ease-out 1.1s infinite;
}

.payment-qr-sparks {
  position: absolute;
  inset: -6%;
  z-index: 2;
  pointer-events: none;
}

.payment-qr-sparks span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ec9ff;
  box-shadow: 0 0 10px rgba(6, 142, 209, 0.9);
  animation: paySpark 2.6s ease-in-out infinite;
}

.payment-qr-sparks span:nth-child(1) { top: 8%; left: 18%; animation-delay: 0s; }
.payment-qr-sparks span:nth-child(2) { top: 14%; right: 12%; animation-delay: 0.3s; background: #7ec99a; }
.payment-qr-sparks span:nth-child(3) { bottom: 18%; left: 10%; animation-delay: 0.6s; }
.payment-qr-sparks span:nth-child(4) { bottom: 10%; right: 16%; animation-delay: 0.9s; background: #fff; }
.payment-qr-sparks span:nth-child(5) { top: 42%; left: 0%; animation-delay: 1.1s; width: 4px; height: 4px; }
.payment-qr-sparks span:nth-child(6) { top: 48%; right: 0%; animation-delay: 1.4s; background: #7ec99a; }
.payment-qr-sparks span:nth-child(7) { top: 0%; left: 48%; animation-delay: 1.7s; }
.payment-qr-sparks span:nth-child(8) { bottom: 0%; left: 52%; animation-delay: 2s; background: #fff; }

.payment-qr-frame {
  position: relative;
  z-index: 3;
  padding: 0.55rem;
  border-radius: 1.1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(6, 142, 209, 0.08)),
    #fff;
  box-shadow:
    0 0 0 1px rgba(6, 142, 209, 0.35),
    0 18px 50px rgba(6, 142, 209, 0.28),
    0 0 40px rgba(6, 142, 209, 0.18);
  animation: payQrReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  overflow: hidden;
}

.payment-qr-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid #068ED1;
  z-index: 4;
  pointer-events: none;
  animation: payCornerGlow 1.8s ease-in-out infinite;
}

.payment-qr-corner.tl { top: 6px; left: 6px; border-right: none; border-bottom: none; border-radius: 4px 0 0 0; }
.payment-qr-corner.tr { top: 6px; right: 6px; border-left: none; border-bottom: none; border-radius: 0 4px 0 0; }
.payment-qr-corner.bl { bottom: 6px; left: 6px; border-right: none; border-top: none; border-radius: 0 0 0 4px; }
.payment-qr-corner.br { bottom: 6px; right: 6px; border-left: none; border-top: none; border-radius: 0 0 4px 0; }

.payment-qr-scan {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 2px;
  top: 12%;
  z-index: 5;
  background: linear-gradient(90deg, transparent, #068ED1, #7ec99a, #068ED1, transparent);
  box-shadow: 0 0 16px rgba(6, 142, 209, 0.85);
  animation: payQrScan 2.2s ease-in-out infinite;
  pointer-events: none;
}

.payment-qr {
  display: block;
  width: min(148px, 42vw);
  height: auto;
  aspect-ratio: 1;
  border-radius: 0.65rem;
  background: #fff;
}

.payment-qr-caption {
  position: relative;
  z-index: 3;
  margin: 0.75rem 0 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  text-align: center;
  animation: payCaptionPulse 2s ease-in-out infinite;
}

.payment-modal.is-open .payment-panel {
  animation: payPanelIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.payment-modal.is-open .payment-head,
.payment-modal.is-open .payment-block,
.payment-modal.is-open .payment-actions {
  animation: payItemIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.payment-modal.is-open .payment-head { animation-delay: 0.05s; }
.payment-modal.is-open .payment-block-amount { animation-delay: 0.12s; }
.payment-modal.is-open .payment-block-qr { animation-delay: 0.2s; }
.payment-modal.is-open .payment-block-wallet { animation-delay: 0.28s; }
.payment-modal.is-open .payment-block-steps { animation-delay: 0.36s; }
.payment-modal.is-open .payment-block-status { animation-delay: 0.44s; }
.payment-modal.is-open .payment-actions { animation-delay: 0.52s; }

.payment-status-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(6, 142, 209, 0.18) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: payStatusSweep 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes payPanelIn {
  from { opacity: 0; transform: translateY(28px) scale(0.94); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes payItemIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes payQrReveal {
  0% { opacity: 0; transform: scale(0.72) rotate(-6deg); filter: blur(6px); }
  60% { transform: scale(1.04) rotate(1deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); filter: none; }
}

@keyframes payQrScan {
  0%, 100% { top: 14%; opacity: 0.35; }
  50% { top: 82%; opacity: 1; }
}

@keyframes payRingPulse {
  0% { transform: scale(0.92); opacity: 0.85; }
  70% { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}

@keyframes payAuraPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes paySpark {
  0%, 100% { transform: scale(0.4); opacity: 0.2; }
  50% { transform: scale(1.35); opacity: 1; }
}

@keyframes payCornerGlow {
  0%, 100% { border-color: #068ED1; filter: drop-shadow(0 0 2px rgba(6, 142, 209, 0.4)); }
  50% { border-color: #7ec99a; filter: drop-shadow(0 0 8px rgba(126, 201, 154, 0.7)); }
}

@keyframes payCaptionPulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

@keyframes payAmountGlow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.25); }
}

@keyframes payStatusSweep {
  0% { transform: translateX(-120%); }
  55%, 100% { transform: translateX(120%); }
}

.payment-wallet {
  margin-bottom: 0;
}

.payment-wallet .affiliate-row {
  min-width: 0;
}

.payment-wallet .affiliate-row input {
  min-width: 0;
  font-size: clamp(0.68rem, 2.4vw, 0.78rem);
  overflow: hidden;
  text-overflow: ellipsis;
}

.payment-wallet-hint {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  color: var(--silver-3);
  line-height: 1.4;
}

.payment-steps {
  margin: 0;
  padding: 0 0 0 1.15rem;
  font-size: clamp(0.74rem, 2.4vw, 0.8rem);
  color: var(--silver-2);
  line-height: 1.55;
}

.payment-steps li {
  margin-bottom: 0.55rem;
}

.payment-steps li:last-child {
  margin-bottom: 0;
}

.payment-steps li > span {
  color: var(--white);
  font-weight: 600;
}

.payment-steps strong {
  color: var(--blue-bright);
}

.payment-status-bar {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(6, 142, 209, 0.08);
  border: 1px solid rgba(6, 142, 209, 0.2);
  margin-bottom: 0.65rem;
  font-size: clamp(0.74rem, 2.5vw, 0.8rem);
  color: var(--silver-1);
  position: relative;
  overflow: hidden;
}

.payment-status-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.payment-status-copy strong {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.payment-status-copy span {
  color: var(--silver-1);
  line-height: 1.4;
}

.payment-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: livePulse 2s ease-out infinite;
}

.payment-expires {
  text-align: center;
  font-size: 0.76rem;
  color: var(--silver-3);
  margin-bottom: 0.55rem;
}

.payment-demo-note {
  text-align: left;
  font-size: 0.74rem;
  line-height: 1.45;
  color: #9fd4f5;
  margin: 0.55rem 0 0;
  padding: 0.7rem 0.85rem;
  background: rgba(6, 142, 209, 0.1);
  border: 1px solid rgba(6, 142, 209, 0.28);
  border-radius: var(--radius-md);
}

.payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin-top: clamp(0.85rem, 2vh, 1.15rem);
}

.payment-actions .btn-share,
.payment-actions .btn-ghost,
.success-panel .modal-actions .btn-share,
.success-panel .modal-actions .btn-ghost {
  min-width: min(11rem, 100%);
  flex: 1 1 auto;
}

.payment-panel .modal-actions,
.success-panel .modal-actions {
  justify-content: center;
}

/* Success modal + confetti */
.success-modal .modal-backdrop,
.success-modal .success-panel {
  position: relative;
  z-index: 202;
}

.success-modal .modal-backdrop {
  position: absolute;
}

.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 201;
}

.success-burst {
  position: fixed;
  inset: 0;
  z-index: 201;
  pointer-events: none;
  display: grid;
  place-items: center;
}

.success-burst span {
  position: absolute;
  width: min(42vw, 280px);
  height: min(42vw, 280px);
  border-radius: 50%;
  border: 2px solid rgba(6, 142, 209, 0.55);
  opacity: 0;
}

.success-modal.is-open .success-burst span {
  animation: successBurst 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.success-modal.is-open .success-burst span:nth-child(2) {
  animation-delay: 0.18s;
  border-color: rgba(126, 201, 154, 0.5);
}

.success-modal.is-open .success-burst span:nth-child(3) {
  animation-delay: 0.36s;
  border-color: rgba(255, 255, 255, 0.35);
}

.success-modal.is-open .success-panel {
  animation: successPanelIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.success-modal.is-open .success-fx {
  animation: successFxIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--fx, 0) * 0.08s + 0.12s);
}

.success-scroll {
  text-align: center;
}

.success-pay-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 clamp(0.85rem, 2vh, 1.15rem);
  padding: 0.8rem 0.9rem;
  text-align: left;
  background: linear-gradient(135deg, rgba(126, 201, 154, 0.16), rgba(6, 142, 209, 0.12));
  border: 1px solid rgba(126, 201, 154, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(126, 201, 154, 0.08);
  position: relative;
  overflow: hidden;
}

.success-pay-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.16) 50%, transparent 80%);
  transform: translateX(-130%);
  animation: successShimmer 2.4s ease-in-out 0.6s infinite;
  pointer-events: none;
}

.success-pay-check {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0a1a12;
  background: linear-gradient(135deg, #7ec99a, #4ade80);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(74, 222, 128, 0.45);
  animation: successCheckPop 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.success-pay-copy {
  min-width: 0;
}

.success-pay-copy strong {
  display: block;
  font-size: clamp(0.85rem, 2.8vw, 0.92rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.15rem;
}

.success-pay-copy p {
  margin: 0;
  font-size: clamp(0.72rem, 2.4vw, 0.78rem);
  color: var(--silver-2);
  line-height: 1.4;
}

.success-panel .modal-badge {
  margin-bottom: clamp(0.65rem, 1.8vh, 1rem);
  animation: successBadgeSpin 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.success-panel h2 {
  font-size: clamp(1.15rem, 4vw, 1.35rem);
  margin-bottom: 0.55rem;
}

.success-panel .modal-lead {
  font-size: clamp(0.8rem, 2.6vw, 0.9rem);
  margin-bottom: clamp(0.85rem, 2vh, 1.15rem);
}

.success-panel .affiliate-code-hero {
  margin-bottom: clamp(0.85rem, 2vh, 1.15rem);
  position: relative;
}

.success-panel .affiliate-code-big {
  font-size: clamp(1.35rem, 6vw, 2.1rem);
  letter-spacing: 0.14em;
  word-break: break-all;
  animation: successCodeGlow 2.2s ease-in-out infinite;
}

.success-hero-mark {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
  margin: 0.2rem auto 1rem;
  display: grid;
  place-items: center;
}

.success-hero-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(6, 142, 209, 0.45);
  box-shadow: 0 0 28px rgba(6, 142, 209, 0.25);
  animation: successRingSpin 8s linear infinite;
}

.success-hero-ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed rgba(126, 201, 154, 0.35);
  animation: successRingSpin 12s linear infinite reverse;
}

.success-hero-core {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #fff;
  text-shadow: 0 0 18px rgba(6, 142, 209, 0.55);
}

.success-orbit {
  position: absolute;
  inset: 8% 10% auto;
  height: 140px;
  pointer-events: none;
  z-index: 0;
}

.success-orbit span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #068ED1;
  box-shadow: 0 0 12px rgba(6, 142, 209, 0.8);
  animation: successOrbit 3.6s ease-in-out infinite;
}

.success-orbit span:nth-child(2) {
  background: #7ec99a;
  animation-delay: 0.6s;
}

.success-orbit span:nth-child(3) {
  background: #fff;
  animation-delay: 1.2s;
}

.affiliate-link-spectacle {
  position: relative;
  margin: 0.5rem 0 1rem;
  padding: 1.15rem 1rem 1.05rem;
  border-radius: 1.15rem;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(165deg, rgba(6, 142, 209, 0.14), rgba(0, 0, 0, 0.35)),
    rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(6, 142, 209, 0.35);
  box-shadow:
    0 18px 50px rgba(6, 142, 209, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.success-username {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 0.25rem 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(6, 142, 209, 0.28);
  background: rgba(6, 142, 209, 0.08);
}

.success-username-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver-3);
}

.success-username strong {
  font-size: clamp(1.05rem, 3.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  word-break: break-all;
}

.affiliate-link-spectacle-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse, rgba(6, 142, 209, 0.35), transparent 70%);
  pointer-events: none;
  animation: successAuraPulse 3s ease-in-out infinite;
}

.affiliate-link-spectacle .affiliate-label {
  position: relative;
  display: block;
  margin-bottom: 0.65rem;
}

.affiliate-link-display {
  position: relative;
  margin-bottom: 0.85rem;
}

.affiliate-link-display input {
  width: 100%;
  border: 1px solid rgba(6, 142, 209, 0.28);
  background: rgba(0, 0, 0, 0.55);
  color: #eaf6ff;
  border-radius: 0.75rem;
  padding: 0.9rem 0.85rem;
  font-size: clamp(0.72rem, 2.5vw, 0.84rem);
  text-align: center;
  outline: none;
}

.affiliate-link-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}

.affiliate-link-actions .btn-share {
  min-width: min(11rem, 100%);
  flex: 1 1 auto;
}

.success-inactive-note {
  margin: 0 0 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 183, 77, 0.35);
  background: rgba(255, 183, 77, 0.08);
  color: #ffd59a;
  font-size: 0.78rem;
  line-height: 1.45;
}

.success-inactive-note strong {
  color: #ffe2b8;
}

@keyframes successRingSpin {
  to { transform: rotate(360deg); }
}

@keyframes successOrbit {
  0%, 100% { transform: translate(10%, 20%) scale(0.7); opacity: 0.35; }
  50% { transform: translate(80%, 60%) scale(1.2); opacity: 1; }
}

@keyframes successAuraPulse {
  0%, 100% { opacity: 0.45; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Activate section */
.activate-section {
  padding-top: clamp(2rem, 5vh, 3.5rem);
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
}

.activate-section-inner {
  max-width: 640px;
  margin: 0 auto;
}

.activate-section .activate-lookup {
  margin-top: 0;
}

.activate-section .activate-lookup-head h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
}

.register-block.section {
  padding-top: clamp(2rem, 5vh, 3.5rem);
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
}

.register-info .benefits {
  gap: 0.55rem;
}

.register-info .benefits li {
  padding: 0.45rem 0;
  font-size: 0.88rem;
}

@media (max-width: 820px) {
  .form-fields {
    grid-template-columns: 1fr;
  }

  .form-fields .field.two-col-item {
    grid-column: 1;
  }
}

.activate-lookup {
  margin-top: 1.35rem;
  padding: 1.15rem 1rem 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(6, 142, 209, 0.22);
  background:
    linear-gradient(165deg, rgba(6, 142, 209, 0.08), rgba(0, 0, 0, 0.2)),
    rgba(0, 0, 0, 0.25);
}

.activate-lookup-head {
  text-align: center;
  margin-bottom: 0.9rem;
}

.activate-kicker {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.activate-lookup-head h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.activate-lookup-head p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--silver-3);
  line-height: 1.45;
}

.activate-lookup-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.activate-lookup-row input {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(210, 210, 211, 0.15);
  background: rgba(0, 0, 0, 0.45);
  color: var(--white);
  font: inherit;
  outline: none;
}

.activate-lookup-row input:focus {
  border-color: rgba(6, 142, 209, 0.55);
}

.activate-lookup-row .btn-share {
  flex: 0 0 auto;
}

.activate-lookup-msg {
  min-height: 1.2em;
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: var(--silver-3);
}

.activate-lookup-msg.is-ok { color: #7ec99a; }
.activate-lookup-msg.is-err { color: #e88; }

.activate-result {
  position: relative;
  margin-top: 0.9rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(210, 210, 211, 0.12);
  background: rgba(0, 0, 0, 0.35);
}

.activate-result-glow {
  position: absolute;
  inset: -50% 20% auto;
  height: 80%;
  background: radial-gradient(ellipse, rgba(6, 142, 209, 0.22), transparent 70%);
  pointer-events: none;
}

.activate-result-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.activate-result-top strong {
  font-size: 1rem;
}

.activate-status-pill {
  display: inline-flex;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.activate-status-pill.is-inactive {
  color: #ffd59a;
  background: rgba(255, 183, 77, 0.12);
  border: 1px solid rgba(255, 183, 77, 0.35);
}

.activate-status-pill.is-active {
  color: #9ee4b5;
  background: rgba(126, 201, 154, 0.12);
  border: 1px solid rgba(126, 201, 154, 0.35);
}

.activate-result-meta,
.activate-result-text {
  position: relative;
  margin: 0.25rem 0;
  font-size: 0.78rem;
  color: var(--silver-3);
  line-height: 1.45;
}

.activate-result .btn-submit {
  margin-top: 0.85rem;
  width: 100%;
}

.success-panel .affiliate-box {
  margin-bottom: clamp(0.85rem, 2vh, 1.15rem);
}

.success-panel .affiliate-row input {
  min-width: 0;
  font-size: clamp(0.68rem, 2.4vw, 0.78rem);
}

@keyframes successPanelIn {
  from { opacity: 0; transform: translateY(36px) scale(0.92); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes successFxIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes successBurst {
  0% { transform: scale(0.2); opacity: 0.9; }
  100% { transform: scale(2.8); opacity: 0; }
}

@keyframes successShimmer {
  0% { transform: translateX(-130%); }
  40%, 100% { transform: translateX(130%); }
}

@keyframes successCheckPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.25); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes successBadgeSpin {
  0% { transform: scale(0) rotate(-40deg); opacity: 0; }
  70% { transform: scale(1.15) rotate(8deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

@keyframes successCodeGlow {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 12px rgba(6, 142, 209, 0.55)); }
}

@media (prefers-reduced-motion: reduce) {
  .payment-modal.is-open .payment-panel,
  .payment-modal.is-open .payment-head,
  .payment-modal.is-open .payment-block,
  .payment-modal.is-open .payment-actions,
  .payment-qr-frame,
  .payment-qr-aura,
  .payment-qr-ring,
  .payment-qr-sparks span,
  .payment-qr-scan,
  .payment-qr-corner,
  .payment-qr-caption,
  .payment-amount-value,
  .payment-status-bar::after,
  .success-modal.is-open .success-panel,
  .success-modal.is-open .success-fx,
  .success-modal.is-open .success-burst span,
  .success-pay-banner::after,
  .success-pay-check,
  .success-panel .modal-badge,
  .success-panel .affiliate-code-big {
    animation: none !important;
  }
}

@media (max-width: 560px) {
  .payment-panel,
  .success-panel {
    width: min(100%, calc(100vw - 1rem));
    max-width: min(100%, calc(100vw - 1rem));
    max-height: min(94dvh, calc(100% - 0.25rem));
    border-radius: var(--radius-lg);
  }

  .payment-scroll,
  .success-scroll {
    padding: 1.2rem 0.95rem 1.1rem;
  }

  .payment-wallet .affiliate-row,
  .success-panel .affiliate-row {
    flex-direction: column;
  }

  .payment-wallet .btn-copy,
  .success-panel .btn-copy {
    width: 100%;
  }

  .payment-actions,
  .success-panel .modal-actions {
    flex-direction: column;
  }

  .payment-actions .btn-share,
  .payment-actions .btn-ghost,
  .success-panel .modal-actions .btn-share,
  .success-panel .modal-actions .btn-ghost {
    width: 100%;
    min-width: 0;
  }

  .payment-qr-stage {
    width: min(190px, 68vw);
    min-height: min(190px, 68vw);
  }

  .payment-qr {
    width: min(128px, 38vw);
  }

  .payment-steps {
    margin-left: 0.85rem;
  }
}

@media (max-height: 720px) {
  .payment-head,
  .success-pay-banner {
    margin-bottom: 0.7rem;
  }

  .payment-qr-stage {
    width: min(168px, 58vw);
    min-height: min(168px, 58vw);
    margin-bottom: 0.65rem;
  }

  .payment-qr {
    width: min(112px, 34vw);
  }

  .payment-qr-caption {
    margin-top: 0.5rem;
    font-size: 0.62rem;
  }

  .payment-steps {
    margin-bottom: 0.65rem;
    line-height: 1.5;
  }

  .success-panel .modal-badge {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-bottom: 0.55rem;
  }
}

/* ── Modal ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(0.5rem, 2vw, 1.5rem);
  overflow: hidden;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 2.5rem 2rem;
  background: linear-gradient(165deg, rgba(15, 35, 68, 0.98), rgba(0, 0, 0, 0.98));
  border: 1px solid rgba(210, 210, 211, 0.15);
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  animation: modalIn 0.45s var(--ease);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--silver-3);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--white);
}

.modal-badge {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blue-bright);
  border: 1px solid rgba(6, 142, 209, 0.4);
  border-radius: 50%;
  background: rgba(6, 142, 209, 0.1);
}

.modal-panel h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* ── Plans modal — ultra premium ── */
.plans-modal {
  padding: 1rem;
  overflow: hidden;
}

.plans-modal .modal-backdrop.plans-backdrop {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
}

.plans-modal .plans-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(1080px, calc(100vw - 2rem));
  max-width: min(1080px, calc(100vw - 2rem));
  max-height: min(90dvh, 880px);
  padding: 0;
  text-align: left;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 45% at 70% 0%, rgba(6, 142, 209, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 100%, rgba(5, 65, 139, 0.18), transparent 50%),
    linear-gradient(165deg, #0a1220 0%, #05070d 55%, #081018 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(6, 142, 209, 0.1) inset,
    0 0 80px rgba(6, 142, 209, 0.08);
  animation: plansPanelIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes plansPanelIn {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.plans-modal .plans-ambient {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.plans-modal .plans-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
}

.plans-modal .plans-orb-1 {
  width: 280px;
  height: 280px;
  top: -90px;
  right: 8%;
  background: rgba(6, 142, 209, 0.55);
}

.plans-modal .plans-orb-2 {
  width: 220px;
  height: 220px;
  bottom: -80px;
  left: -40px;
  background: rgba(5, 65, 139, 0.5);
}

.plans-modal .plans-orb-3 {
  width: 160px;
  height: 160px;
  top: 40%;
  left: 42%;
  background: rgba(6, 142, 209, 0.18);
}

.plans-modal .plans-scroll {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2rem 1.65rem 1.5rem 2.15rem;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(6, 142, 209, 0.75) rgba(255, 255, 255, 0.05);
}

.plans-modal .plans-scroll::-webkit-scrollbar {
  width: 8px;
}

.plans-modal .plans-scroll::-webkit-scrollbar-track {
  margin: 18px 0;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.plans-modal .plans-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3aa8e0, #068ED1 40%, #05418B);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 10px rgba(6, 142, 209, 0.35);
}

.plans-modal .plans-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #68c2ef, #068ED1);
  background-clip: padding-box;
}

.plans-modal .plans-head {
  text-align: center;
  margin: 0 0 1.85rem;
}

.plans-modal .plans-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-bright);
  border: 1px solid rgba(6, 142, 209, 0.35);
  border-radius: 999px;
  background: rgba(6, 142, 209, 0.1);
  box-shadow: 0 0 24px rgba(6, 142, 209, 0.12);
}

.plans-modal .plans-head h2 {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.45rem;
  color: var(--white);
  background: linear-gradient(180deg, #fff 20%, #c8d0d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plans-modal .plans-lead {
  margin: 0 auto;
  max-width: 30rem;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--silver-2);
  line-height: 1.55;
}

.plans-error {
  margin: 0.85rem auto 0;
  max-width: 30rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(232, 93, 93, 0.45);
  background: rgba(232, 93, 93, 0.12);
  color: #ffb4b4;
  font-size: 0.84rem;
  line-height: 1.4;
  text-align: center;
}

.plans-modal .plans-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 1.35rem;
  align-items: stretch;
  margin-bottom: 1.35rem;
  padding: 1rem 0.35rem 0.5rem;
  overflow: visible;
}

.plans-modal .plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1.7rem 1.55rem 1.4rem;
  background: rgba(12, 18, 30, 0.92);
  border: 1px solid rgba(210, 210, 211, 0.12);
  border-radius: 24px;
  overflow: visible;
  isolation: auto;
  backdrop-filter: none;
  animation: planCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: calc(var(--plan-i, 0) * 0.08s);
  transition: border-color 0.35s, transform 0.4s var(--ease), box-shadow 0.4s;
}

@keyframes planCardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.plans-modal .plan-card::before,
.plans-modal .plan-card-shine,
.plans-modal .plan-card-glow {
  display: none;
}

.plans-modal .plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 142, 209, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.plans-modal .plan-card.is-popular {
  z-index: 2;
  transform: scale(1.03);
  background:
    linear-gradient(165deg, rgba(6, 142, 209, 0.22) 0%, rgba(8, 18, 34, 0.98) 38%, #0a1220 100%);
  border-color: rgba(6, 142, 209, 0.7);
  box-shadow:
    0 24px 56px rgba(6, 142, 209, 0.22),
    0 0 0 1px rgba(6, 142, 209, 0.25) inset,
    0 0 60px rgba(6, 142, 209, 0.12);
}

.plans-modal .plan-card.is-popular:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow:
    0 28px 64px rgba(6, 142, 209, 0.3),
    0 0 0 1px rgba(6, 142, 209, 0.35) inset,
    0 0 80px rgba(6, 142, 209, 0.18);
}

.plans-modal .plan-spotlight {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 140%;
  height: 55%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(6, 142, 209, 0.35), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.plans-modal .plan-card.is-popular > *:not(.plan-spotlight):not(.plan-badge) {
  position: relative;
  z-index: 1;
}

.plans-modal .plan-badge {
  position: absolute;
  top: 0;
  right: 1.15rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.34rem 0.8rem;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad-blue);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(6, 142, 209, 0.4);
  transform: translateY(-50%);
  animation: none;
}

.plans-modal .plan-tier {
  margin: 0 0 0.3rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.plans-modal .plan-card.is-popular .plan-tier {
  color: #7ec8f0;
}

.plans-modal .plan-name {
  margin: 0 0 0.25rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.plans-modal .plan-card.is-popular .plan-name {
  font-size: 1.5rem;
}

.plans-modal .plan-tagline {
  margin: 0 0 1.1rem;
  font-size: 0.84rem;
  color: var(--silver-3);
  line-height: 1.4;
  min-height: 0;
}

.plans-modal .plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0 0 1.15rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(210, 210, 211, 0.08);
  border-bottom: 1px solid rgba(210, 210, 211, 0.08);
}

.plans-modal .plan-card.is-popular .plan-price {
  border-color: rgba(6, 142, 209, 0.18);
}

.plans-modal .plan-amount {
  font-size: 2.65rem;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: var(--white);
}

.plans-modal .plan-card.is-popular .plan-amount {
  font-size: 2.9rem;
  background: linear-gradient(180deg, #fff, #9fd4f5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plans-modal .plan-currency {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue-bright);
}

.plans-modal .plan-features {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex: 1;
}

.plans-modal .plan-features li {
  position: relative;
  margin: 0;
  padding: 0.45rem 0 0.45rem 1.5rem;
  border: none;
  font-size: 0.88rem;
  color: var(--silver-1);
  line-height: 1.4;
  animation: none;
}

.plans-modal .plan-card.is-popular .plan-features li:last-child {
  color: #fff;
  font-weight: 500;
}

.plans-modal .plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  transform: rotate(45deg);
  background: var(--blue-bright);
  border: none;
}

.plans-modal .plan-card.is-popular .plan-features li:last-child::before {
  box-shadow: 0 0 10px rgba(6, 142, 209, 0.7);
}

.plans-modal .plan-features li::after {
  content: none;
}

.plans-modal .plan-select-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 0.95rem 1.25rem;
  overflow: hidden;
  isolation: isolate;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(210, 210, 211, 0.22);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s, background 0.3s, filter 0.3s;
}

.plans-modal .plan-select-btn span {
  position: relative;
  z-index: 1;
}

.plans-modal .plan-select-btn::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 50%, rgba(6, 142, 209, 0.28), transparent 62%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.4s, transform 0.45s var(--ease);
  z-index: 0;
}

.plans-modal .plan-select-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 40%,
    rgba(255, 255, 255, 0.32) 50%,
    rgba(255, 255, 255, 0.08) 60%,
    transparent 100%
  );
  transform: translateX(-180%) skewX(-18deg);
  z-index: 1;
  pointer-events: none;
}

.plans-modal .plan-select-btn:hover {
  transform: translateY(-3px) scale(1.015);
  border-color: rgba(6, 142, 209, 0.7);
  background: rgba(6, 142, 209, 0.14);
  box-shadow: 0 12px 32px rgba(6, 142, 209, 0.22);
}

.plans-modal .plan-select-btn:hover::before {
  opacity: 1;
  transform: scale(1);
}

.plans-modal .plan-select-btn:hover::after {
  animation: planBtnSweep 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.plans-modal .plan-select-btn:active {
  transform: translateY(0) scale(0.985);
}

.plans-modal .plan-select-btn.is-premium {
  background: var(--grad-blue);
  background-size: 180% 180%;
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(6, 142, 209, 0.42);
  animation: planBtnPulse 2.4s ease-in-out infinite;
}

.plans-modal .plan-select-btn.is-premium::after {
  animation: planBtnShineLoop 2.6s ease-in-out infinite;
}

.plans-modal .plan-select-btn.is-premium:hover {
  filter: brightness(1.1);
  box-shadow: 0 16px 42px rgba(6, 142, 209, 0.55);
  animation: planBtnPulse 1.4s ease-in-out infinite;
}

.plans-modal .plan-select-btn.is-premium:hover::after {
  animation: planBtnSweep 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes planBtnSweep {
  to { transform: translateX(280%) skewX(-18deg); }
}

@keyframes planBtnShineLoop {
  0% { transform: translateX(-180%) skewX(-18deg); }
  35% { transform: translateX(280%) skewX(-18deg); }
  100% { transform: translateX(280%) skewX(-18deg); }
}

@keyframes planBtnPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(6, 142, 209, 0.32); }
  50% { box-shadow: 0 14px 40px rgba(6, 142, 209, 0.58), 0 0 0 5px rgba(6, 142, 209, 0.1); }
}

.plans-modal .plans-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding-top: 0.35rem;
}

.plans-modal .plans-footnote {
  order: 2;
}

.plans-modal .plans-back {
  order: 1;
  width: 20%;
  min-width: 5.5rem;
  max-width: 8rem;
  flex-shrink: 0;
  padding: 0.35rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  text-align: center;
  color: var(--silver-2);
  background: transparent;
  border: 1px solid rgba(210, 210, 211, 0.28);
  border-radius: 8px;
  box-shadow: none;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.plans-modal .plans-back:hover {
  color: var(--white);
  background: transparent;
  border-color: rgba(210, 210, 211, 0.5);
  box-shadow: none;
  transform: none;
}

.plans-modal .plans-footnote {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.72rem;
  color: var(--silver-3);
}

.plans-modal .plans-footnote-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 8px rgba(6, 142, 209, 0.6);
}

/* Leave confirm — ultra premium */
.plans-modal .plans-leave,
.payment-modal .plans-leave {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: plansLeaveIn 0.35s var(--ease);
}

.plans-modal .plans-leave[hidden],
.payment-modal .plans-leave[hidden] {
  display: none;
}

@keyframes plansLeaveIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.plans-modal .plans-leave-card,
.payment-modal .plans-leave-card {
  position: relative;
  width: min(440px, 100%);
  padding: 1.85rem 1.65rem 1.5rem;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(6, 142, 209, 0.2), transparent 60%),
    linear-gradient(165deg, #0e1a2c 0%, #070b14 100%);
  border: 1px solid rgba(6, 142, 209, 0.35);
  border-radius: 24px;
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 48px rgba(6, 142, 209, 0.12);
  animation: plansLeaveCardIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes plansLeaveCardIn {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.plans-modal .plans-leave-glow,
.payment-modal .plans-leave-glow {
  position: absolute;
  top: -30%;
  left: 50%;
  width: 120%;
  height: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(6, 142, 209, 0.28), transparent 70%);
  pointer-events: none;
}

.plans-modal .plans-leave-kicker,
.payment-modal .plans-leave-kicker {
  position: relative;
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  border: 1px solid rgba(6, 142, 209, 0.35);
  border-radius: 999px;
  background: rgba(6, 142, 209, 0.1);
}

.plans-modal .plans-leave-card h3,
.payment-modal .plans-leave-card h3 {
  position: relative;
  margin: 0 0 0.75rem;
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.3;
}

.plans-modal .plans-leave-text,
.payment-modal .plans-leave-text {
  position: relative;
  margin: 0 0 1.5rem;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--silver-2);
  line-height: 1.65;
}

.plans-modal .plans-leave-text strong,
.payment-modal .plans-leave-text strong {
  color: var(--white);
  font-weight: 600;
}

.plans-modal .plans-leave-actions,
.payment-modal .plans-leave-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.plans-modal .plans-leave-stay,
.plans-modal .plans-leave-exit,
.payment-modal .plans-leave-stay,
.payment-modal .plans-leave-exit {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s, color 0.3s;
}

.plans-modal .plans-leave-stay,
.payment-modal .plans-leave-stay {
  color: #fff;
  background: var(--grad-blue);
  border: none;
  box-shadow: 0 10px 28px rgba(6, 142, 209, 0.35);
}

.plans-modal .plans-leave-stay:hover,
.payment-modal .plans-leave-stay:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 14px 34px rgba(6, 142, 209, 0.45);
}

.plans-modal .plans-leave-exit,
.payment-modal .plans-leave-exit {
  color: var(--silver-2);
  background: transparent;
  border: 1px solid rgba(210, 210, 211, 0.18);
}

.plans-modal .plans-leave-exit:hover,
.payment-modal .plans-leave-exit:hover {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.06);
}

@media (max-width: 800px) {
  .plans-modal .plans-grid {
    grid-template-columns: 1fr;
    padding-top: 0.85rem;
  }

  .plans-modal .plan-card.is-popular {
    order: -1;
    transform: none;
  }

  .plans-modal .plan-card.is-popular:hover {
    transform: none;
  }

  .plans-modal .plans-panel {
    width: min(480px, calc(100vw - 1.25rem));
    max-width: min(480px, calc(100vw - 1.25rem));
  }

  .plans-modal .plans-scroll {
    padding: 1.5rem 0.85rem 1.25rem 1.15rem;
  }

  .plans-modal .plan-badge {
    right: 0.9rem;
  }

  .plans-modal .plan-card:hover {
    transform: none;
  }

  .plans-modal .plan-card.is-popular .plan-amount,
  .plans-modal .plan-card.is-popular .plan-name {
    font-size: inherit;
  }

  .plans-modal .plan-card.is-popular .plan-amount {
    font-size: 2.65rem;
  }

  .plans-modal .plan-card.is-popular .plan-name {
    font-size: 1.4rem;
  }
}

.modal-lead {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--silver-2);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.affiliate-box {
  text-align: left;
  padding: 1.25rem;
  border: 1px solid rgba(210, 210, 211, 0.12);
  background: rgba(0, 0, 0, 0.4);
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
}

.affiliate-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-3);
  margin-bottom: 0.65rem;
}

.affiliate-row {
  display: flex;
  gap: 0.5rem;
}

.affiliate-row input {
  flex: 1;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--silver-1);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(210, 210, 211, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
  outline: none;
}

.btn-copy {
  flex-shrink: 0;
  padding: 0.65rem 1rem;
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(6, 142, 209, 0.25);
  border: 1px solid rgba(6, 142, 209, 0.5);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.25s;
}

.btn-copy:hover {
  background: rgba(6, 142, 209, 0.4);
}

.btn-copy.copied {
  background: rgba(126, 201, 154, 0.2);
  border-color: rgba(126, 201, 154, 0.5);
  color: #7ec99a;
}

.affiliate-code {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--silver-3);
}

.affiliate-code strong {
  color: var(--blue-bright);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.btn-share {
  width: 100%;
  padding: 0.9rem;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--grad-blue);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: opacity 0.25s;
}

.btn-share:hover {
  opacity: 0.9;
}

.btn-share.secondary {
  background: transparent;
  border: 1px solid rgba(210, 210, 211, 0.2);
}

.btn-share.secondary:hover {
  border-color: var(--blue-bright);
}

.btn-ghost {
  width: 100%;
  padding: 0.75rem;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-3);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.25s;
}

.btn-ghost:hover {
  color: var(--white);
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  padding: 3rem clamp(1.5rem, 4vw, 2.5rem) 2.5rem;
}

.footer-rule {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(210, 210, 211, 0.12) 50%, transparent);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  align-items: center;
  margin-bottom: 1rem;
}

.footer-brand .brand-global,
.footer-brand .brand-expansion {
  font-size: 0.95rem;
}

.footer-copy {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--silver-3);
  letter-spacing: 0.06em;
}

/* ── Language switcher + transition ── */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0.22rem;
  border-radius: 999px;
  border: 1px solid rgba(6, 142, 209, 0.45);
  background:
    linear-gradient(135deg, rgba(6, 142, 209, 0.18), rgba(5, 65, 139, 0.28)),
    rgba(0, 0, 0, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 8px 28px rgba(6, 142, 209, 0.18);
  overflow: hidden;
  flex-shrink: 0;
  z-index: 4;
  isolation: isolate;
}

.lang-switcher-glow {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 120deg, transparent, rgba(6, 142, 209, 0.35), transparent 40%);
  animation: langGlowSpin 8s linear infinite;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

@keyframes langGlowSpin {
  to { transform: rotate(360deg); }
}

.lang-orbit {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 18px rgba(6, 142, 209, 0.25);
  opacity: 0.7;
  z-index: 0;
}

.lang-option {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  border: 0;
  background: transparent;
  color: var(--silver-2);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.lang-option:hover {
  color: var(--white);
}

.lang-option.is-active {
  color: var(--white);
  background: linear-gradient(135deg, rgba(6, 142, 209, 0.85), rgba(5, 65, 139, 0.95));
  box-shadow: 0 4px 16px rgba(6, 142, 209, 0.35);
  transform: scale(1.03);
}

.lang-flag {
  opacity: 0.85;
  font-size: 0.62rem;
}

.lang-divider {
  width: 1px;
  height: 0.9rem;
  background: rgba(210, 210, 211, 0.25);
  position: relative;
  z-index: 1;
}

.lang-switcher[data-lang="en"] .lang-option[data-lang-option="en"],
.lang-switcher[data-lang="es"] .lang-option[data-lang-option="es"] {
  animation: langActivePulse 2.4s ease-in-out infinite;
}

@keyframes langActivePulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(6, 142, 209, 0.3); }
  50% { box-shadow: 0 4px 22px rgba(6, 142, 209, 0.55); }
}

.lang-switcher.is-dropdown .lang-option {
  animation: none;
}

/* ── Language switcher: premium SVG flag dropdown ── */
.lang-switcher.is-dropdown {
  overflow: visible;
  padding: 0.18rem;
  z-index: 60;
}

.lang-dd-trigger {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  border: 0;
  background: transparent;
  color: var(--white);
  font-family: inherit;
  padding: 0.28rem 0.42rem 0.28rem 0.3rem;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.lang-dd-trigger:hover,
.lang-switcher.is-open .lang-dd-trigger {
  background: rgba(6, 142, 209, 0.22);
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.18) inset;
}

.lang-dd-trigger:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.8);
  outline-offset: 2px;
}

.lang-dd-code {
  display: none !important;
}

.lang-dd-chevron {
  width: 9px;
  height: 9px;
  opacity: 0.72;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.lang-switcher.is-open .lang-dd-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Circular SVG flags — no emoji (Windows shows "FR" letters) */
.lang-flag {
  display: inline-block;
  width: 1.38rem;
  height: 1.38rem;
  border-radius: 50%;
  flex: 0 0 auto;
  background-color: #0b1220;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.35);
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  overflow: hidden;
  opacity: 1;
}

.lang-flag.is-es {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23fff'/%3E%3Crect width='26' height='16' fill='%23002d62'/%3E%3Crect x='34' width='26' height='16' fill='%23ce1126'/%3E%3Crect y='24' width='26' height='16' fill='%23ce1126'/%3E%3Crect x='34' y='24' width='26' height='16' fill='%23002d62'/%3E%3Ccircle cx='30' cy='20' r='3.3' fill='none' stroke='%23177c3a' stroke-width='0.9'/%3E%3Crect x='28.6' y='18.4' width='1.4' height='1.6' fill='%23002d62'/%3E%3Crect x='30' y='18.4' width='1.4' height='1.6' fill='%23ce1126'/%3E%3Crect x='28.6' y='20' width='1.4' height='1.6' fill='%23ce1126'/%3E%3Crect x='30' y='20' width='1.4' height='1.6' fill='%23002d62'/%3E%3C/svg%3E");
}

.lang-flag.is-en {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23b22234'/%3E%3Crect y='3.08' width='60' height='3.08' fill='%23fff'/%3E%3Crect y='9.23' width='60' height='3.08' fill='%23fff'/%3E%3Crect y='15.38' width='60' height='3.08' fill='%23fff'/%3E%3Crect y='21.54' width='60' height='3.08' fill='%23fff'/%3E%3Crect y='27.69' width='60' height='3.08' fill='%23fff'/%3E%3Crect y='33.85' width='60' height='3.08' fill='%23fff'/%3E%3Crect width='24' height='21.54' fill='%233c3b6e'/%3E%3C/svg%3E");
}

.lang-flag.is-fr {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='20' height='40' fill='%23002395'/%3E%3Crect x='20' width='20' height='40' fill='%23fff'/%3E%3Crect x='40' width='20' height='40' fill='%23ed2939'/%3E%3C/svg%3E");
}

.lang-switcher.is-dropdown .lang-flag {
  width: 1.42rem;
  height: 1.42rem;
}

.lang-dd-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 2;
  min-width: 11.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  padding: 0.4rem;
  border-radius: 16px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(6, 142, 209, 0.22), transparent 55%),
    linear-gradient(160deg, rgba(8, 24, 44, 0.98), rgba(3, 12, 24, 0.96));
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 22px 50px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(6, 142, 209, 0.12);
}

.lang-dd-menu[hidden] {
  display: none !important;
}

.lang-switcher.is-dropdown:not(.is-open) .lang-dd-menu {
  display: none;
}

.lang-switcher.is-dropdown.is-open .lang-dd-menu {
  display: flex;
  animation: langDdIn 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes langDdIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.lang-dd-menu .lang-option {
  justify-content: flex-start;
  gap: 0.7rem;
  width: 100%;
  padding: 0.55rem 0.68rem;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(226, 232, 240, 0.92);
  background: transparent;
  box-shadow: none;
  transform: none;
}

.lang-dd-menu .lang-option:hover {
  color: #fff;
  background: rgba(6, 142, 209, 0.18);
}

.lang-dd-menu .lang-option.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(6, 142, 209, 0.42), rgba(5, 65, 139, 0.55));
  box-shadow: 0 4px 16px rgba(6, 142, 209, 0.22);
  transform: none;
  animation: none;
}

.lang-dd-menu .lang-option.is-active .lang-flag {
  box-shadow:
    0 0 0 1.5px rgba(125, 211, 252, 0.55),
    0 2px 10px rgba(6, 142, 209, 0.35);
}

.lang-dd-menu .lang-name {
  white-space: nowrap;
}

.lang-transition {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.lang-transition[hidden] {
  display: none !important;
}

.lang-transition-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(6, 142, 209, 0.28), transparent 55%),
    rgba(0, 0, 0, 0.72);
  opacity: 0;
  transform: scale(1.08);
}

.lang-transition-core {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: inherit;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  color: var(--white);
}

.lang-transition-from,
.lang-transition-to {
  opacity: 0;
  transform: translateY(18px) scale(0.92);
  text-shadow: 0 0 30px rgba(6, 142, 209, 0.55);
}

.lang-transition-beam {
  width: 56px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #068ED1, #fff, #068ED1, transparent);
  box-shadow: 0 0 18px rgba(6, 142, 209, 0.8);
  opacity: 0;
  transform: scaleX(0.2);
}

.lang-transition-rings {
  position: absolute;
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  z-index: 1;
}

.lang-transition-rings span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(6, 142, 209, 0.35);
  opacity: 0;
  transform: scale(0.55);
}

.lang-transition.is-in .lang-transition-veil {
  animation: langVeilIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.lang-transition.is-in .lang-transition-from {
  animation: langCodeIn 0.38s 0.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.lang-transition.is-in .lang-transition-to {
  animation: langCodeIn 0.38s 0.14s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.lang-transition.is-in .lang-transition-beam {
  animation: langBeamIn 0.4s 0.08s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.lang-transition.is-in .lang-transition-rings span:nth-child(1) {
  animation: langRing 0.7s ease-out forwards;
}
.lang-transition.is-in .lang-transition-rings span:nth-child(2) {
  animation: langRing 0.7s 0.08s ease-out forwards;
}
.lang-transition.is-in .lang-transition-rings span:nth-child(3) {
  animation: langRing 0.7s 0.16s ease-out forwards;
}

.lang-transition.is-out .lang-transition-veil {
  animation: langVeilOut 0.5s ease forwards;
}

.lang-transition.is-out .lang-transition-from,
.lang-transition.is-out .lang-transition-to,
.lang-transition.is-out .lang-transition-beam {
  animation: langFadeOut 0.35s ease forwards;
}

@keyframes langVeilIn {
  to { opacity: 1; transform: scale(1); }
}
@keyframes langVeilOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(1.06); }
}
@keyframes langCodeIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes langBeamIn {
  to { opacity: 1; transform: scaleX(1); }
}
@keyframes langRing {
  0% { opacity: 0.7; transform: scale(0.55); }
  100% { opacity: 0; transform: scale(1.25); }
}
@keyframes langFadeOut {
  to { opacity: 0; transform: translateY(-10px) scale(1.04); }
}

body.lang-switching main,
body.lang-switching .header,
body.lang-switching .footer,
body.lang-switching .modal:not([hidden]) {
  filter: blur(6px) saturate(1.15);
  transition: filter 0.35s ease;
}

/* ── Responsive ── */

/* Tablet */
@media (max-width: 1024px) {
  .register-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .register-info {
    text-align: center;
  }

  .register-info > p {
    margin-left: auto;
    margin-right: auto;
  }

  .benefits {
    align-items: center;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step-connector {
    display: none;
  }
}

/* Mobile landscape / small tablet */
@media (max-width: 920px) {
  .header {
    overflow: visible;
    z-index: 160;
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    padding: 0.65rem 1.15rem;
    min-height: 50px;
    gap: 0.5rem;
  }

  .header-inner > .lang-switcher {
    grid-column: 1;
    grid-row: 1;
    order: 1;
    justify-self: start;
    margin: 0;
    z-index: 5;
  }

  .header-inner > .brand-logo-wrap {
    grid-column: 2;
    grid-row: 1;
    order: 2;
    justify-self: center;
    max-width: min(220px, 46vw);
    z-index: 5;
  }

  .header-inner > .nav-toggle {
    grid-column: 3;
    grid-row: 1;
    order: 3;
    justify-self: end;
    margin: 0;
    z-index: 140;
  }

  .brand-logo {
    max-height: 42px;
    max-width: 100%;
    object-position: center;
  }

  .affiliate-badge-inner {
    padding: 1rem;
    gap: 0.75rem;
  }

  .affiliate-badge-check {
    display: none;
  }

  .affiliate-badge-sub {
    font-size: 0.72rem;
  }

  .nav-toggle {
    display: flex;
  }

  .lang-option {
    padding: 0.38rem 0.58rem;
    font-size: 0.62rem;
  }

  .lang-flag {
    display: none;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    grid-column: 1;
    grid-row: 1;
    width: min(280px, 85vw);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5rem 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(210, 210, 211, 0.1);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s var(--ease), visibility 0.4s;
    z-index: 155;
  }

  .nav.is-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }

  body.nav-open {
    overflow: hidden;
  }

  html.nav-open {
    overflow: hidden;
  }

  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 150;
    pointer-events: auto;
  }

  .nav a {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(210, 210, 211, 0.06);
    font-size: 0.78rem;
  }

  .nav-btn {
    margin-top: 1.35rem;
    text-align: center;
    border-bottom: none !important;
  }

  .nav-btn-cta {
    display: block;
    width: 100%;
    padding: 1.05rem 1.25rem !important;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
    border-radius: 999px !important;
    animation: navCtaBreathe 3.2s ease-in-out infinite !important;
    box-shadow:
      0 8px 22px rgba(6, 142, 209, 0.22),
      0 0 0 1px rgba(6, 142, 209, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  }

  .nav-btn-glow {
    inset: 0;
    filter: blur(18px);
    opacity: 0.32;
    animation: navCtaGradient 4s ease infinite;
  }

  .nav-btn-shine {
    animation: navCtaShine 3.2s ease-in-out infinite;
  }

  .nav a:not(.nav-btn) {
    opacity: 0;
    transform: translateX(18px);
  }

  .nav.is-open a:not(.nav-btn) {
    animation: navLinkIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .nav.is-open a:nth-child(1) { animation-delay: 0.08s; }
  .nav.is-open a:nth-child(2) { animation-delay: 0.16s; }
  .nav.is-open a:nth-child(3) { animation-delay: 0.24s; }

  .nav.is-open .nav-btn-cta {
    animation:
      navLinkIn 0.5s 0.32s cubic-bezier(0.22, 1, 0.36, 1) both,
      navCtaBreathe 3.2s 0.85s ease-in-out infinite !important;
  }

  body.nav-open::after {
    animation: navOverlayIn 0.35s ease forwards;
  }

  .countdown-module {
    animation: glassFloat 7s ease-in-out infinite;
  }

  .hero-countdown .countdown-row .cd-cell {
    animation: cdCellFloat 3.6s ease-in-out infinite;
  }

  .hero-countdown .countdown-row .cd-cell:nth-child(1) { animation-delay: 0s; }
  .hero-countdown .countdown-row .cd-cell:nth-child(3) { animation-delay: 0.15s; }
  .hero-countdown .countdown-row .cd-cell:nth-child(5) { animation-delay: 0.3s; }
  .hero-countdown .countdown-row .cd-cell:nth-child(7) { animation-delay: 0.45s; }

  .hero-cta {
    animation: ctaFloat 3.5s ease-in-out infinite;
  }

  .lang-switcher {
    animation: langIdle 4s ease-in-out infinite;
  }

  .nav-toggle {
    transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
  }

  .nav-toggle.is-open {
    background: rgba(6, 142, 209, 0.18);
    border-color: rgba(6, 142, 209, 0.55);
    transform: rotate(90deg);
  }

  .how-step.revealed {
    animation: howStepIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .benefits li {
    animation: mobileFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .benefits li:nth-child(1) { animation-delay: 0.05s; }
  .benefits li:nth-child(2) { animation-delay: 0.14s; }
  .benefits li:nth-child(3) { animation-delay: 0.23s; }

  .btn-submit {
    animation: submitGlow 3.4s ease-in-out infinite;
  }

  .tl-item.in-view {
    animation: mobileFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .section-label.revealed {
    animation: mobileFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-countdown {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .countdown-module {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .live-positions {
    padding: 0.9rem 1rem;
    gap: 0.65rem;
  }

  .live-positions-line {
    max-width: 2.5rem;
  }

  .hero-countdown .countdown-row {
    gap: 0.2rem;
    padding: 1rem 0.35rem 1.25rem;
    justify-content: center;
    max-width: 100%;
  }

  .hero-countdown .countdown-row .cd-sep {
    display: none;
  }

  .hero-countdown .countdown-row .cd-cell {
    min-width: 0;
    flex: 1 1 0;
    max-width: none;
  }

  .hero-countdown .countdown-row .cd-frame {
    min-width: 0;
    width: 100%;
    padding: 0.4rem 0.1rem;
  }

  .hero-countdown .countdown-row .cd-num {
    font-size: clamp(1.15rem, 5vw, 1.65rem);
  }

  .hero-countdown .countdown-row .cd-txt {
    font-size: 0.46rem;
  }

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

  .stat-pill {
    width: 100%;
    max-width: 280px;
  }

  .form-fields {
    grid-template-columns: 1fr;
  }

  .form-fields .field.two-col-item {
    grid-column: 1;
  }

  .affiliate-row {
    flex-direction: column;
  }

  .btn-copy {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0.65rem 1rem;
    min-height: 48px;
  }

  .brand-logo {
    max-height: 40px;
    max-width: min(170px, 50vw);
  }

  .nav-toggle {
    width: 32px;
    height: 32px;
  }

  .countdown-module {
    border-radius: var(--radius-lg);
  }

  .live-positions-core {
    gap: 0.35rem 0.5rem;
  }

  .live-positions-text {
    letter-spacing: 0.1em;
  }

  .hero-logo {
    max-height: 80px;
  }

  .section {
    padding: clamp(3rem, 8vh, 5rem) 1.25rem;
  }

  .modal-panel:not(.plans-panel):not(.payment-panel):not(.success-panel) {
    padding: 2rem 1.25rem;
  }

  .loader-steps {
    font-size: 0.72rem;
  }
}

/* Tablet — nav más compacto en desktop estrecho */
@media (min-width: 921px) and (max-width: 1100px) {
  .header-inner {
    padding: 0.75rem 1.5rem;
  }

  .nav {
    gap: 1.1rem;
    font-size: 0.66rem;
  }

  .nav-btn {
    padding: 0.4rem 0.85rem;
  }

  .brand-logo {
    max-height: 50px;
    max-width: min(220px, 34vw);
  }
}

@media (max-width: 820px) {
  .register-grid {
    grid-template-columns: 1fr;
  }

  .form-row.two-col {
    grid-template-columns: 1fr;
  }

  .stats-row {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
  }

  .stat-divider {
    width: 3rem;
    height: 1px;
  }
}

@keyframes navLinkIn {
  from { opacity: 0; transform: translateX(22px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes navOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cdCellFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes langIdle {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 8px 22px rgba(6, 142, 209, 0.16); }
  50% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 8px 28px rgba(6, 142, 209, 0.32); }
}

@keyframes howStepIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

@keyframes submitGlow {
  0%, 100% { filter: drop-shadow(0 6px 12px rgba(6, 142, 209, 0.18)); }
  50% { filter: drop-shadow(0 10px 22px rgba(6, 142, 209, 0.38)); }
}

@media (prefers-reduced-motion: reduce) {
  .nav-btn-cta,
  .nav-btn-glow,
  .nav-btn-shine,
  .nav.is-open a,
  .hero-cta,
  .countdown-module,
  .hero-countdown .countdown-row .cd-cell,
  .lang-switcher,
  .btn-submit,
  .how-step.revealed,
  .benefits li,
  .tl-item.in-view,
  .section-label.revealed {
    animation: none !important;
    filter: none;
    transform: none;
    opacity: 1;
  }
}

/* ── Nav Buscar + Access modal ── */
.nav-btn-search {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--silver-1) !important;
  border-color: rgba(210, 210, 211, 0.22) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  animation: none;
}
.nav-btn-search:hover {
  color: var(--white) !important;
  border-color: rgba(6, 142, 209, 0.55) !important;
  background: rgba(6, 142, 209, 0.12) !important;
}
.nav-search-ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.hero-access {
  display: inline-flex;
  margin-top: 1.1rem;
  padding: 0.55rem 1rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--silver-2);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.hero-access:hover {
  color: var(--blue-2, #38bdf8);
  border-color: rgba(6, 142, 209, 0.35);
  background: rgba(6, 142, 209, 0.08);
}

.access-modal .access-panel {
  width: min(920px, 96vw);
  max-height: min(88vh, 680px);
  padding: 0;
  text-align: left;
  border-radius: 28px;
  border: 1px solid rgba(6, 142, 209, 0.28);
  background:
    linear-gradient(155deg, rgba(12, 30, 58, 0.97) 0%, rgba(3, 8, 18, 0.98) 100%);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.access-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.access-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.5;
}
.access-orb-a {
  width: 220px;
  height: 220px;
  top: -40px;
  left: -30px;
  background: rgba(6, 142, 209, 0.4);
}
.access-orb-b {
  width: 180px;
  height: 180px;
  right: -20px;
  bottom: -40px;
  background: rgba(5, 65, 139, 0.45);
}
.access-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(6, 142, 209, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 142, 209, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  opacity: 0.7;
}

.access-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 480px;
}
.access-side {
  padding: 2.4rem 2rem 2.2rem;
  border-right: 1px solid rgba(210, 210, 211, 0.08);
  background: linear-gradient(180deg, rgba(6, 142, 209, 0.1), transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.access-logo {
  max-width: 160px;
  height: auto;
  margin-bottom: 1.75rem;
  filter: drop-shadow(0 8px 20px rgba(6, 142, 209, 0.25));
}
.access-kicker {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.5rem;
}
.access-side h2 {
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  text-align: left;
  white-space: normal;
}
.access-lead {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--silver-2);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.access-perks {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.access-perks li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--silver-1);
}
.access-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 10px rgba(6, 142, 209, 0.6);
}

.access-main {
  padding: 2.4rem 2.1rem 2.2rem;
  display: grid;
  place-items: center;
}
.access-form {
  width: 100%;
  max-width: 360px;
}
.access-form label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-3);
}
.access-field {
  display: flex;
  align-items: center;
  border-radius: 16px;
  border: 1px solid rgba(210, 210, 211, 0.14);
  background: rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.3s;
}
.access-field:focus-within {
  border-color: rgba(6, 142, 209, 0.55);
  box-shadow: 0 0 0 4px rgba(6, 142, 209, 0.12);
}
.access-field-ico {
  width: 48px;
  display: grid;
  place-items: center;
  color: var(--blue-2, #38bdf8);
}
.access-field-ico svg {
  width: 20px;
  height: 20px;
}
.access-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 1rem 1rem 1rem 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  outline: none;
}
.access-hint {
  margin: 0.55rem 0 1.25rem;
  font-size: 0.72rem;
  color: var(--silver-3);
}
.access-error:not(:empty) {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  color: #f87171;
}
.access-error:not(:empty) + .access-hint {
  display: none;
}
.access-submit {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
}

.access-searching {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  text-align: center;
  animation: accessIn 0.4s ease;
}
.access-searching[hidden] {
  display: none !important;
}
@keyframes accessIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.access-radar {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  border: 1px solid rgba(6, 142, 209, 0.4);
  background: radial-gradient(circle, rgba(6, 142, 209, 0.2), transparent 62%);
  box-shadow: 0 0 0 14px rgba(6, 142, 209, 0.06), 0 0 40px rgba(6, 142, 209, 0.2);
  overflow: hidden;
}
.access-radar::before,
.access-radar::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.2);
}
.access-radar::after { inset: 38%; }
.access-beam {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(56, 189, 248, 0.45) 55deg, transparent 95deg);
  animation: accessSpin 1.55s linear infinite;
}
.access-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.85);
}
@keyframes accessSpin {
  to { transform: rotate(360deg); }
}
.access-search-title {
  font-size: 1.1rem;
  font-weight: 650;
}
.access-search-email {
  font-size: 0.85rem;
  color: var(--blue-2, #38bdf8);
  font-weight: 500;
}
.access-steps {
  list-style: none;
  margin-top: 0.75rem;
  display: grid;
  gap: 0.4rem;
}
.access-steps li {
  font-size: 0.72rem;
  color: var(--silver-3);
  opacity: 0.35;
  transition: opacity 0.3s, color 0.3s;
}
.access-steps li.is-on {
  opacity: 1;
  color: var(--silver-1);
}
.access-steps li.is-done {
  opacity: 0.75;
  color: #34d399;
}
.access-panel.is-found .access-radar {
  border-color: rgba(52, 211, 153, 0.55);
  box-shadow: 0 0 0 14px rgba(52, 211, 153, 0.08), 0 0 40px rgba(52, 211, 153, 0.25);
}
.access-panel.is-found .access-dot {
  background: #34d399;
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.85);
}
.access-panel.is-found .access-beam {
  animation: none;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.35), transparent 65%);
}
.access-panel.is-error {
  animation: accessShake 0.45s ease;
}
@keyframes accessShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

.success-access-cta {
  margin: 1rem 0 0.5rem;
  padding: 1.15rem 1.1rem;
  border-radius: 18px;
  border: 1px dashed rgba(6, 142, 209, 0.35);
  background: rgba(6, 142, 209, 0.08);
  text-align: center;
}
.success-access-cta p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--silver-2);
  margin-bottom: 0.85rem;
  line-height: 1.5;
}
.success-access-cta .btn-share {
  min-width: 140px;
}

@media (max-width: 760px) {
  .access-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .access-side {
    border-right: 0;
    border-bottom: 1px solid rgba(210, 210, 211, 0.08);
    padding: 1.75rem 1.35rem 1.35rem;
  }
  .access-main {
    padding: 1.5rem 1.35rem 1.75rem;
  }
  .access-perks {
    display: none;
  }
  .access-modal .access-panel {
    max-height: 92vh;
  }
}
