:root {
  --background: #0A1118;
  --cyan: #00E5FF;
  --blue: #0088FF;
  --text: #E2E8F0;
  --muted: #94A3B8;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Garantiza que el atributo hidden venza a cualquier display del author */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at 50% 20%, #003B46 0%, #0A1118 60%, #05080C 100%);
  background-attachment: fixed;
  color: #E2E8F0;
  min-height: 100vh;
  margin: 0;
  padding-top: 70px;
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
  position: relative;
}

/* Scroll-driven reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-up {
  transform: translateY(50px) scale(0.95);
}

.reveal-left {
  transform: translateX(-60px) scale(0.95);
}

.reveal-right {
  transform: translateX(60px) scale(0.95);
}

.reveal-zoom {
  transform: scale(0.8);
}

.logo {
  color: var(--cyan);
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 75px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8%;
  background: rgba(10, 17, 24, 0.90);
  backdrop-filter: blur(12px);
  z-index: 10000;
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
  box-sizing: border-box;
}

.btn-nav {
  padding: 0.5rem 1.2rem;
  border: 1px solid #00E5FF;
  border-radius: 6px;
  color: #00E5FF !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-nav:hover {
  background: rgba(0, 229, 255, 0.15);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--cyan);
}

.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

.delay-3 {
  transition-delay: 0.45s;
}

.delay-4 {
  transition-delay: 0.6s;
}

body::before, body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  filter: blur(140px);
  animation: ambientPulse 8s ease-in-out infinite alternate;
}

body::before {
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: #00E5FF;
  opacity: 0.15;
}

body::after {
  bottom: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: #0088FF;
  opacity: 0.1;
}

@keyframes ambientPulse {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  background: rgba(10, 17, 24, 0.65);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
}

.brand {
  color: var(--cyan);
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.navbar nav {
  display: flex;
  gap: 30px;
}

.navbar nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar nav a:hover {
  color: var(--cyan);
}

.navbar nav a.active {
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.85);
}

/* Botón de menú hamburguesa (visible solo en pantallas pequeñas) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 8px;
  background: rgba(0, 229, 255, 0.08);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-toggle:hover {
  background: rgba(0, 229, 255, 0.16);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.25);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.navbar.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.navbar.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.account-menu {
  position: relative;
}

.account-toggle {
  max-width: 160px;
  overflow: hidden;
  padding: 8px 12px;
  border: 1px solid rgba(0, 229, 255, 0.45);
  border-radius: 7px;
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan);
  cursor: pointer;
  font: 600 0.82rem "Montserrat", sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-toggle:hover {
  background: rgba(0, 229, 255, 0.16);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 150px;
  padding: 8px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 8px;
  background: rgba(10, 17, 24, 0.94);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(0, 229, 255, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.account-menu.open .account-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.logout-button {
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: 500 0.78rem "Montserrat", sans-serif;
  text-align: left;
}

.logout-button:hover {
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan);
}

/* Hero Section */
.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 80px);
  padding: 60px clamp(24px, 8vw, 120px);
  position: relative;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 17, 30, 0.7);
  z-index: 0;
}

.hero-text-col {
  flex: 1;
  max-width: 640px;
  text-align: left;
  position: relative;
  z-index: 1;
}

.hero-logo-col {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 24px;
  color: var(--cyan);
  font-family: "Orbitron", "Montserrat", sans-serif;
  font-size: clamp(3rem, 7.5vw, 6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  background: linear-gradient(105deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(0, 229, 255, 0.35));
}

.description {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 500;
  line-height: 1.75;
  text-wrap: pretty;
}

.logo {
  width: clamp(220px, 60vw, 320px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.4)) drop-shadow(0 0 50px rgba(0, 136, 255, 0.25));
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
    gap: 40px;
  }

  .hero-text-col {
    max-width: 100%;
    text-align: center;
  }

  .logo {
    width: clamp(220px, 60vw, 320px);
  }
}

/* Navbar responsive con menú hamburguesa */
@media (max-width: 900px) {
  .navbar {
    padding: 12px 22px;
    justify-content: space-between;
    flex-direction: row;
    gap: 16px;
  }

  .brand {
    font-size: 1.3rem;
  }

  .nav-toggle {
    display: flex;
    order: 3;
    margin-left: auto;
  }

  .navbar nav {
    order: 4;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 22px 22px;
    background: rgba(8, 14, 20, 0.98);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-top: 1px solid rgba(0, 229, 255, 0.12);
    border-bottom: 1px solid rgba(0, 229, 255, 0.18);
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 229, 255, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .navbar.nav-open nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar nav > a {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(0, 229, 255, 0.08);
    font-size: 0.95rem;
    text-align: left;
  }

  .navbar nav > a:last-of-type {
    border-bottom: 0;
  }

  .navbar nav > a.active {
    border-bottom-color: transparent;
    background: rgba(0, 229, 255, 0.09);
    border-radius: 6px;
  }

  .monedas-navbar-container {
    justify-content: center;
    margin: 6px 0;
  }

  .account-toggle {
    width: 100%;
    max-width: none;
  }

  .account-dropdown {
    position: static;
    margin-top: 8px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: rgba(0, 229, 255, 0.06);
  }

  .account-menu:not(.open) .account-dropdown {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* Sección de Informes */
.report-section {
  padding: 80px clamp(24px, 8vw, 120px);
  background: transparent;
}

.report-container {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.report-text {
  flex: 1;
}

.report-video-container {
  flex: 1;
  position: relative;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #334155;
  background: rgba(10, 17, 24, 0.65);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
  aspect-ratio: 9 / 16;
}

.report-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .report-container {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* Contáctanos section */
.contact-section {
  padding: 80px 20px;
  text-align: center;
}

.contact-section h2 {
  font-size: 3rem;
  color: var(--cyan);
  margin-bottom: 10px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  padding: 40px 0;
  max-width: 900px;
  margin: 0 auto;
}

.social-card {
  background: rgba(10, 17, 24, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease, z-index 0.3s ease;
  position: relative;
  z-index: 1;
}

.social-card img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.social-card:hover {
  transform: scale(1.1) translateY(-8px);
  z-index: 10;
  border-color: #00E5FF;
  box-shadow: 0 12px 30px rgba(0, 229, 255, 0.35), 0 0 20px rgba(0, 229, 255, 0.2);
}

/* Payments store */
.payments-page {
  padding-top: 70px;
}

.payments-hero {
  max-width: 920px;
  margin: 0 auto;
  padding: 100px 24px 70px;
  text-align: center;
}

.payments-title {
  margin: 0 0 22px;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
}

.payments-subtitle {
  max-width: 680px;
  margin: 0 auto 40px;
  color: var(--text);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.user-identification {
  max-width: 610px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: 14px;
  background: rgba(10, 17, 24, 0.64);
  box-shadow: 0 12px 40px rgba(0, 229, 255, 0.08), inset 0 0 24px rgba(0, 229, 255, 0.04);
  backdrop-filter: blur(14px);
}

.user-identification label {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.user-identification input {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid rgba(0, 229, 255, 0.5);
  border-radius: 8px;
  outline: none;
  background: rgba(0, 229, 255, 0.05);
  color: var(--text);
  font: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.user-identification input::placeholder {
  color: rgba(226, 232, 240, 0.58);
}

.user-identification input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12), 0 0 22px rgba(0, 229, 255, 0.2);
}

.plans-section,
.payment-methods {
  max-width: 1240px;
  margin: 0 auto;
  padding: 65px 24px;
}

.section-heading {
  margin-bottom: 38px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

.section-heading h2 {
  margin: 0;
  color: var(--text);
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan-card,
.payment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(20, 39, 49, 0.82), rgba(7, 15, 23, 0.78));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 18px 45px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.plan-card {
  min-height: 325px;
  padding: 27px 20px 20px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.plan-card:hover {
  z-index: 2;
  transform: scale(1.05);
  border-color: var(--cyan);
  box-shadow: 0 20px 50px rgba(0, 229, 255, 0.2), 0 0 25px rgba(0, 229, 255, 0.17);
}

.popular-plan {
  border-color: rgba(0, 229, 255, 0.7);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.14), inset 0 1px rgba(255, 255, 255, 0.08);
}

.best-value-plan {
  border-color: rgba(255, 207, 91, 0.55);
}

.plan-content {
  flex: 1;
}

.plan-kicker {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.coin-count {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 1rem;
}

.coin-count strong {
  display: block;
  color: var(--cyan);
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  line-height: 1.1;
}

.plan-price {
  margin: 0;
  color: var(--text);
  font-family: "Orbitron", sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
}

.plan-price span {
  color: var(--muted);
  font-family: "Montserrat", sans-serif;
  font-size: 0.65rem;
}

.unit-price {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.plan-badge,
.plan-savings {
  position: absolute;
  top: 12px;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-badge {
  left: 14px;
  color: var(--cyan);
}

.plan-savings {
  right: 14px;
  color: #a8f6ff;
  text-transform: none;
}

.popular-badge {
  color: #ffffff;
  text-shadow: 0 0 10px var(--cyan);
}

.value-badge {
  color: #ffcf5b;
  text-shadow: 0 0 10px rgba(255, 207, 91, 0.65);
}

.plan-button,
.payment-button {
  width: 100%;
  padding: 12px 10px;
  border: 1px solid rgba(0, 229, 255, 0.55);
  border-radius: 7px;
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan);
  cursor: pointer;
  font: 700 0.72rem "Montserrat", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.plan-button:hover,
.payment-button:not(:disabled):hover {
  background: rgba(0, 229, 255, 0.18);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.22);
}

.payment-methods {
  padding-top: 50px;
  padding-bottom: 110px;
}

/* Monedas Navbar Container */
.monedas-navbar-container {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 6px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.monedas-navbar-container:hover {
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

/* El atributo hidden debe ganar al display:flex para visitantes sin sesión */
.monedas-navbar-container[hidden] {
  display: none;
}

.monedas-icono {
  width: 26px;
  height: 26px;
  object-fit: contain;
  margin-left: -4px;
  filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.5));
}

.monedas-texto {
  color: #ffffff;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: transform 0.2s ease, color 0.2s ease;
}

.monedas-texto.pulse {
  transform: scale(1.15);
  color: var(--cyan);
}

.monedas-btn-add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--cyan, #00E5FF);
  color: #0A1118;
  border-radius: 50%;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
  cursor: pointer;
}

.monedas-btn-add:hover {
  background: #ffffff;
  color: #0A1118;
  transform: scale(1.12);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.8);
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.payment-card {
  min-height: 250px;
  padding: 28px;
}

.payment-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.payment-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  font: 800 1.5rem "Orbitron", sans-serif;
}

.paypal-mark {
  background: rgba(0, 136, 255, 0.2);
  color: #74b9ff;
  box-shadow: 0 0 18px rgba(0, 136, 255, 0.2);
}

.binance-mark {
  background: rgba(255, 207, 91, 0.16);
  color: #ffcf5b;
  box-shadow: 0 0 18px rgba(255, 207, 91, 0.16);
}

/* Logos oficiales de los métodos de pago (tarjetas y opciones del modal).
   Tamaño uniforme de 32px de alto, centrados verticalmente. */
.payment-icon {
  display: block;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  padding: 4px;
  box-sizing: border-box;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.payment-label,
.pay-id-label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.payment-card h3 {
  margin: 0;
  color: var(--text);
  font-family: "Orbitron", sans-serif;
  font-size: 1.35rem;
}

.payment-card > p {
  margin: 25px 0;
  color: var(--text);
  font-size: 0.9rem;
}

.payment-button {
  margin-top: auto;
  opacity: 0.55;
  cursor: not-allowed;
}

.payment-card small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: center;
}

.binance-details {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
}

.qr-placeholder {
  display: grid;
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  place-items: center;
  border: 1px dashed rgba(255, 207, 91, 0.6);
  border-radius: 8px;
  background: repeating-linear-gradient(45deg, rgba(255, 207, 91, 0.1) 0 4px, transparent 4px 8px);
  color: #ffcf5b;
  font: 700 0.8rem "Orbitron", sans-serif;
}

.pay-id {
  margin: 0;
  color: var(--cyan);
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
}

/* Authentication */
.auth-page {
  padding-top: 70px;
}

.auth-main {
  display: grid;
  min-height: calc(100vh - 70px);
  place-items: center;
  padding: 70px 24px;
}

.auth-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  width: min(100%, 980px);
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(16, 38, 48, 0.8), rgba(7, 14, 22, 0.9));
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3), 0 0 32px rgba(0, 229, 255, 0.1), inset 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.auth-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px clamp(28px, 6vw, 72px);
}

.auth-intro .eyebrow {
  margin-bottom: 22px;
}

.auth-intro > p:last-child {
  max-width: 410px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.auth-title {
  margin: 0 0 24px;
  color: var(--cyan);
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.12;
  background: linear-gradient(105deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.25));
}

.auth-panel {
  padding: 36px clamp(24px, 4vw, 42px);
  border-left: 1px solid rgba(0, 229, 255, 0.16);
  background: rgba(3, 10, 16, 0.3);
}

.auth-panel-kicker {
  margin: 0 0 24px;
  color: var(--cyan);
  font-family: "Orbitron", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 26px;
  padding: 4px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 8px;
  background: rgba(0, 229, 255, 0.04);
}

.auth-tab {
  padding: 11px 6px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: 700 0.73rem "Montserrat", sans-serif;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.auth-tab.active {
  background: rgba(0, 229, 255, 0.13);
  color: var(--cyan);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.12);
}

.error-toast {
  margin-bottom: 18px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 91, 91, 0.65);
  border-radius: 7px;
  background: rgba(255, 56, 56, 0.1);
  color: #ff9b9b;
  font-size: 0.78rem;
  line-height: 1.45;
  box-shadow: 0 0 15px rgba(255, 56, 56, 0.12), inset 0 0 12px rgba(0, 229, 255, 0.04);
}

.auth-form {
  display: grid;
  gap: 17px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 600;
}

.form-field input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 6px;
  outline: none;
  background: rgba(0, 229, 255, 0.045);
  color: var(--text);
  font: 0.88rem "Montserrat", sans-serif;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1), 0 0 18px rgba(0, 229, 255, 0.14);
}

.auth-submit,
.google-button {
  width: 100%;
  min-height: 45px;
  border-radius: 6px;
  cursor: pointer;
  font: 700 0.75rem "Montserrat", sans-serif;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.auth-submit {
  margin-top: 4px;
  border: 1px solid var(--cyan);
  background: var(--cyan);
  color: #061219;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.22);
}

.auth-submit:hover {
  background: #8af5ff;
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.45);
}

.auth-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 25px 0 17px;
  color: var(--muted);
  font-size: 0.75rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(0, 229, 255, 0.18);
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  background-color: #111b21;
  border: 1px solid #2a3942;
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-google:hover {
  background-color: #1f2c34;
}

.google-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.google-mark {
  color: #74b9ff;
  font: 800 1rem "Orbitron", sans-serif;
}

.auth-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  text-align: center;
}

.auth-switch {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.76rem;
}

.auth-secondary-link {
  color: var(--cyan);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.auth-secondary-link:hover {
  color: #9af8ff;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.7);
}

/* Contenedor de recuperación de contraseña */
.forgot-password-container {
  margin-top: 10px;
  margin-bottom: 15px;
  text-align: center;
  font-size: 0.72rem;
  color: #a0aab0;
}

/* Enlace de recuperación */
.forgot-password-link {
  color: var(--cyan);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

/* Efecto hover del enlace */
.forgot-password-link:hover {
  color: #9af8ff;
  text-decoration: underline;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

@media (max-width: 820px) {
  .auth-card {
    grid-template-columns: 1fr;
  }

  .auth-intro {
    padding: 42px 28px 26px;
  }

  .auth-panel {
    border-top: 1px solid rgba(0, 229, 255, 0.16);
    border-left: 0;
  }
}

@media (max-width: 1050px) {
  .plans-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .payments-hero {
    padding-top: 70px;
  }

  .plans-grid,
  .payment-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: 290px;
  }

  .plan-card:hover {
    transform: scale(1.02);
  }
}

/* Sección de Red de Apoyo */
.support-section {
  padding: 80px clamp(24px, 8vw, 120px);
  background: transparent;
  text-align: center;
}

.support-container {
  max-width: 12000px;
  margin: 0 auto;
}

.support-section h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--cyan);
  margin-bottom: 16px;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
}

.support-section .description {
  max-width: 780px;
  margin: 0 auto 40px;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.65;
}

.support-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  flex-wrap: wrap;
}

.support-card {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 42px 40px;
  background: linear-gradient(145deg, rgba(20, 39, 49, 0.82), rgba(7, 15, 23, 0.78));
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 18px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 18px 45px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  width: 340px;
  max-width: 100%;
  cursor: pointer;
  text-decoration: none;
}

.support-card:hover {
  transform: translateY(-6px) scale(1.04);
  border-color: var(--cyan);
  box-shadow: 0 20px 50px rgba(0, 229, 255, 0.25), 0 0 30px rgba(0, 229, 255, 0.2);
  filter: brightness(1.12);
}

.support-card img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.2));
}

@media (max-width: 680px) {
  .support-grid {
    flex-direction: column;
    gap: 24px;
  }
  .support-card {
    width: 100%;
  }
}

/* =========================================================
   Página: Instrucciones para la app
   ========================================================= */
body.instructions-page {
  padding-top: 75px;
}

.instructions-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 90px) clamp(20px, 5vw, 32px) clamp(30px, 5vw, 50px);
  text-align: center;
}

.instructions-title {
  margin: 0 0 20px;
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  line-height: 1.1;
  text-wrap: balance;
}

.instructions-subtitle {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.instructions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(18px, 2.5vw, 26px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px clamp(20px, 5vw, 40px) clamp(50px, 7vw, 80px);
  align-items: stretch;
}

.instruction-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3vw, 32px);
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(20, 39, 49, 0.82), rgba(7, 15, 23, 0.78));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 18px 45px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.35s ease, opacity 0.45s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.instruction-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  opacity: 0.55;
  transition: opacity 0.35s ease;
}

.instruction-card:hover {
  transform: translateY(-8px);
  border-color: var(--cyan);
  box-shadow: 0 24px 55px rgba(0, 229, 255, 0.2), 0 0 28px rgba(0, 229, 255, 0.15);
}

.instruction-card:hover::before {
  opacity: 1;
}

.instruction-head {
  display: grid;
  gap: 16px;
}

.instruction-marker {
  display: flex;
  align-items: center;
  gap: 14px;
}

.instruction-number {
  display: grid;
  place-items: center;
  min-width: 54px;
  height: 54px;
  padding: 0 6px;
  border: 1px solid rgba(0, 229, 255, 0.45);
  border-radius: 14px;
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan);
  font: 700 1.15rem "Orbitron", sans-serif;
  letter-spacing: 0.04em;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.22), inset 0 1px rgba(255, 255, 255, 0.08);
}

.instruction-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 136, 255, 0.14);
  color: var(--cyan);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.instruction-icon svg {
  width: 24px;
  height: 24px;
}

.instruction-card:hover .instruction-icon {
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
}

.instruction-card h2 {
  margin: 0;
  color: var(--text);
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.instruction-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.instruction-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.65;
}

.instruction-list li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.85);
}

.instruction-list strong {
  color: var(--cyan);
  font-weight: 700;
}

.instruction-text {
  margin: 0;
  color: var(--text);
  font-size: 0.97rem;
  font-weight: 500;
  line-height: 1.7;
}

.metric-chip {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 10px;
  border: 1px solid rgba(0, 136, 255, 0.45);
  border-radius: 999px;
  background: rgba(0, 136, 255, 0.16);
  color: #74b9ff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}

/* Última tarjeta: destacada a todo el ancho */
.instruction-card--highlight {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(22px, 4vw, 45px);
  background: linear-gradient(120deg, rgba(0, 58, 71, 0.75), rgba(7, 15, 23, 0.85));
  border-color: rgba(0, 229, 255, 0.45);
}

.instruction-card--highlight .instruction-body {
  flex: 1;
}

.instruction-body {
  display: grid;
  gap: 18px;
  align-content: start;
  flex: 1;
}

.delivery-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 190px;
  padding: 22px 26px;
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 16px;
  background: rgba(0, 229, 255, 0.07);
  box-shadow: 0 0 26px rgba(0, 229, 255, 0.16), inset 0 1px rgba(255, 255, 255, 0.06);
  text-align: center;
}

.delivery-time {
  color: var(--cyan);
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.1rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0 22px rgba(0, 229, 255, 0.5);
}

.delivery-unit {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.instructions-help {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px) clamp(70px, 9vw, 110px);
  text-align: center;
}

.instructions-help p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.instructions-help a {
  display: inline-block;
  padding: 13px 30px;
  border: 1px solid var(--cyan);
  border-radius: 8px;
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.instructions-help a:hover {
  background: rgba(0, 229, 255, 0.2);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.35);
  transform: translateY(-3px);
}

@media (max-width: 760px) {
  .instruction-card--highlight {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .delivery-badge {
    min-width: 0;
    width: 100%;
    padding: 18px;
  }
}

/* =========================================================
   TARJETA CONTADOR DE ANÁLISIS BIOMECÁNICOS (Hero - Superior izquierda)
   ========================================================= */
.analisis-counter-card {
  position: absolute;
  top: 24px;
  left: clamp(24px, 8vw, 120px);
  z-index: 2;
  background: rgba(10, 25, 47, 0.65);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 12px;
  padding: 16px 20px;
  width: fit-content;
  box-shadow: 0 8px 32px 0 rgba(0, 212, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.counter-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background-color: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff88;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(0, 255, 136, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

.counter-title {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.counter-digits-container {
  display: flex;
  gap: 6px;
}

.digit {
  background: linear-gradient(180deg, #0d1b2a 0%, #1b263b 100%);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: #00d4ff;
  font-size: 28px;
  font-weight: 800;
  width: 34px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  box-shadow: inset 0 0 6px rgba(0, 212, 255, 0.2), 0 0 10px rgba(0, 212, 255, 0.1);
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.8);
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Animación cuando cambia un número */
.digit.updated {
  animation: popDigit 0.4s ease-out;
  color: #00ff88;
  border-color: #00ff88;
  text-shadow: 0 0 12px rgba(0, 255, 136, 0.9);
}

@keyframes popDigit {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.counter-footer {
  display: flex;
  justify-content: flex-end;
}

.counter-status {
  color: #00ff88;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* --- Ajustes responsive de la tarjeta contador --- */

/* En pantallas bajas se baja el texto del héroe para no pisar la tarjeta */
@media (min-width: 769px) and (max-height: 660px) {
  .hero {
    padding-top: 180px;
  }
}

@media (max-width: 768px) {
  .analisis-counter-card {
    position: static;
    order: 1;
    align-self: center;
    margin: 0 auto;
  }
}

@media (max-width: 400px) {
  .analisis-counter-card {
    padding: 12px 14px;
  }

  .counter-digits-container {
    gap: 4px;
  }

  .digit {
    width: 30px;
    height: 40px;
    font-size: 24px;
  }

  .counter-title {
    font-size: 10px;
    letter-spacing: 1px;
  }
}
