/* ==========================================================================
   GLOBERUS — HOJA DE ESTILOS MODERNA (PENSADA PARA CLOUDFLARE PAGES)
   ========================================================================== */

:root {
  /* Paleta Globerus: Asfalto nocturno y Verde Lima Neón */
  --bg-deep: #07090c;
  --bg-main: #0b0f14;
  --bg-card: #121820;
  --bg-card-hover: #17202c;
  --bg-subtle: #192330;
  --border-color: #212d3d;
  --border-light: #2c3c52;

  /* Acento Verde Lima de Globerus */
  --lime: #c8f23c;
  --lime-hover: #d7fa5c;
  --lime-dark: #7a9a12;
  --lime-glow: rgba(200, 242, 60, 0.22);
  --lime-glow-intense: rgba(200, 242, 60, 0.45);

  /* Colores de soporte */
  --strava-orange: #fc4c02;
  --blue-accent: #38bdf8;
  --gold: #f59e0b;
  --success: #22c55e;
  --danger: #ef4444;

  /* Tipografía y texto */
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-on-lime: #090e02;

  /* Dimensiones y radios */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-phone: 38px;
  --container-max: 1140px;

  /* Fuentes */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset y base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 1.75rem;
}

.brand-logo-img {
  width: 0.9em;
  height: 0.9em;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-sans);
  font-size: 1em;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--lime);
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-menu a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* Botones */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: 1px solid transparent;
}

.btn-nav {
  padding: 0.55rem 1.1rem;
  background: var(--lime);
  color: var(--text-on-lime);
  border-radius: var(--radius-sm);
}

.btn-nav:hover {
  background: var(--lime-hover);
  color: var(--text-on-lime) !important;
  box-shadow: 0 0 15px var(--lime-glow);
}

.btn-primary {
  background: var(--lime);
  color: var(--text-on-lime);
  border: none;
  box-shadow: 0 4px 20px var(--lime-glow);
}

.btn-primary:hover {
  background: var(--lime-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--lime-glow-intense);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
}

.btn-icon-row {
  flex-direction: row;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.android-icon,
.play-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}

/* Insignia / Logo de Google Play dentro del botón */
.btn-play-badge-img {
  height: 38px;
  width: auto;
  display: block;
  flex-shrink: 0;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.btn-google-play {
  gap: 1rem;
  padding: 0.75rem 1.8rem;
}

.btn-text {
  font-size: 1.05rem;
  font-weight: 700;
}

.btn-sub {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 2px;
}

/* ==========================================================================
   HERO SECTION & 3 MÓVILES
   ========================================================================== */
.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  background: radial-gradient(circle at 50% 20%, rgba(33, 48, 64, 0.45) 0%, rgba(11, 15, 20, 1) 75%);
  overflow: hidden;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 242, 60, 0.1);
  border: 1px solid rgba(200, 242, 60, 0.25);
  color: var(--lime);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-bottom: 1.5rem;
}

.gradient-text {
  color: var(--lime);
  background: linear-gradient(135deg, #c8f23c 20%, #e8ffa1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 760px;
  margin-bottom: 2.2rem;
  line-height: 1.65;
}

.hero-desc strong {
  color: var(--text-main);
}

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

.hero-perks {
  display: flex;
  gap: 1.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.perk-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.perk-item svg {
  width: 17px;
  height: 17px;
  color: var(--lime);
}

.perk-item strong {
  color: var(--text-main);
}

/* TRÍO DE TELÉFONOS EN PORTADA (HERO PHONES) */
.hero-phones-wrapper {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 960px;
  margin: 1.5rem auto 3rem;
  padding: 1.5rem 0 0.5rem;
  perspective: 1200px;
}

.hero-phones-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(200, 242, 60, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.phone-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  cursor: pointer;
}

.phone-caption {
  margin-bottom: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.caption-tag {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.caption-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 220px;
  line-height: 1.3;
}

/* Teléfono izquierdo */
.phone-left {
  z-index: 2;
  transform: translateX(45px) translateY(35px) scale(0.9) rotate(-5deg);
}

.phone-left:hover {
  transform: translateX(10px) translateY(0) scale(0.96) rotate(-1deg);
  z-index: 5;
}

/* Teléfono centro (protagonista) */
.phone-center {
  z-index: 4;
  transform: scale(1.05);
}

.phone-center:hover {
  transform: scale(1.08) translateY(-6px);
}

.phone-badge-star {
  position: absolute;
  top: -12px;
  background: var(--lime);
  color: var(--text-on-lime);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(200, 242, 60, 0.5);
  z-index: 10;
  letter-spacing: 0.02em;
}

/* Teléfono derecho */
.phone-right {
  z-index: 2;
  transform: translateX(-45px) translateY(35px) scale(0.9) rotate(5deg);
}

.phone-right:hover {
  transform: translateX(-10px) translateY(0) scale(0.96) rotate(1deg);
  z-index: 5;
}

/* MARCO DE SMARTPHONE (MOCKUP) */
.phone-mockup {
  position: relative;
  width: 270px;
  height: 560px;
  background: #11161d;
  border: 8px solid #1c2633;
  border-radius: var(--radius-phone);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 25px rgba(200, 242, 60, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-center .phone-mockup {
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.9), 0 0 45px rgba(200, 242, 60, 0.25);
  border-color: #253346;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 18px;
  background: #000000;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.phone-mockup.sm {
  width: 250px;
  height: 520px;
  border-radius: 32px;
  border-width: 7px;
}

/* Frase destacada del hero */
.hero-quote-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(18, 24, 32, 0.7);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--lime);
  border-radius: var(--radius-md);
  padding: 1.2rem 2rem;
  max-width: 650px;
  margin-top: 1rem;
}

.quote-symbol {
  font-family: serif;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--lime);
}

.quote-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0.2rem 0;
}

.quote-author {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECCIONES GENERALES
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-darker {
  background-color: var(--bg-deep);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.8rem;
}

.pill-label {
  display: inline-block;
  background: rgba(200, 242, 60, 0.12);
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(200, 242, 60, 0.25);
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ==========================================================================
   FILOSOFÍA GLOBERA: COMPARATIVA LADO A LADO
   ========================================================================== */
.philosophy-mantra {
  max-width: 760px;
  margin: -1.3rem auto 3rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  background: rgba(200, 242, 60, 0.07);
  border: 1px solid rgba(200, 242, 60, 0.28);
  border-radius: var(--radius-md);
}

.philosophy-mantra strong {
  color: var(--lime);
  font-size: 1.15rem;
  font-weight: 800;
}

.philosophy-mantra span {
  color: var(--text-main);
  line-height: 1.5;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.comp-card {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  position: relative;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.comp-card-pro {
  background: rgba(18, 24, 32, 0.6);
  border-color: rgba(239, 68, 68, 0.2);
}

.comp-card-globerus {
  background: linear-gradient(180deg, #151d27 0%, #10161f 100%);
  border-color: rgba(200, 242, 60, 0.35);
  box-shadow: 0 10px 40px -10px rgba(200, 242, 60, 0.12);
}

.comp-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.comp-badge.bad {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.comp-badge.good {
  background: rgba(200, 242, 60, 0.15);
  color: var(--lime);
  border: 1px solid rgba(200, 242, 60, 0.35);
}

.comp-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.comp-list strong {
  color: var(--text-main);
}

.icon-cross {
  color: #f87171;
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1.2;
}

.icon-check {
  color: var(--lime);
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1.2;
}

/* ==========================================================================
   FEATURE ROWS (PANTALLAS EN DETALLE)
   ========================================================================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5.5rem;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-number {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--lime-dark);
}

.feature-tag {
  color: var(--lime);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-info h3 {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.feature-info p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.feature-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.feature-points li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.feature-points li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: bold;
}

.feature-points strong {
  color: var(--text-main);
}

.feature-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.feature-media.two-phones {
  gap: 1rem;
}

.single-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.single-phone:hover {
  transform: translateY(-5px);
}

.single-phone:hover .phone-mockup {
  border-color: rgba(200, 242, 60, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(200, 242, 60, 0.2);
}

.zoom-hint {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 600;
  transition: color 0.2s;
}

.single-phone:hover .zoom-hint {
  color: var(--lime);
}

/* ==========================================================================
   MODOS DE ENTRENO: PESTAÑAS INTERACTIVAS
   ========================================================================== */
.modos-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.modo-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 190px;
  transition: var(--transition);
}

.modo-tab-btn .tab-icon {
  font-size: 1.4rem;
}

.modo-tab-btn .tab-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.modo-tab-btn .tab-badge {
  font-size: 0.75rem;
  color: var(--lime);
  font-weight: 600;
}

.modo-tab-btn:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.modo-tab-btn.active {
  background: #192330;
  border-color: var(--lime);
  box-shadow: 0 0 20px var(--lime-glow);
}

.modo-content {
  display: none;
}

.modo-content.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

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

.modo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  max-width: 100%;
  box-sizing: border-box;
}

.modo-desc-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modo-tag {
  color: var(--lime);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modo-desc-box h3 {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modo-desc-box p {
  color: var(--text-muted);
  font-size: 1rem;
}

.scale-table {
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-top: 0.5rem;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.scale-row {
  display: flex;
  align-items: center;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  gap: 0.85rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

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

.scale-num {
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  min-width: 55px;
  text-align: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.num-easy { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.num-mid { background: rgba(56, 189, 248, 0.2); color: #38bdf8; }
.num-tempo { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.num-hard { background: rgba(249, 115, 22, 0.2); color: #fb923c; }
.num-max { background: rgba(239, 68, 68, 0.2); color: #f87171; }

.scale-txt {
  color: var(--text-muted);
  min-width: 0;
  flex: 1;
}

.scale-txt strong {
  color: var(--text-main);
}

.scale-footer {
  font-size: 0.85rem !important;
  color: var(--text-dim) !important;
  font-style: italic;
}

.modo-img-box {
  display: flex;
  justify-content: center;
  gap: 1rem;
  max-width: 100%;
  flex-wrap: wrap;
}

/* ==========================================================================
   CÓMO FUNCIONA & PASOS
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.4rem;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.step-badge {
  display: inline-block;
  background: var(--bg-subtle);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.step-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.step-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Reglas de oro */
.plan-rules-box {
  background: linear-gradient(180deg, #131a24 0%, #0e141c 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.plan-rules-box h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--lime);
}

.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.rule-item {
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--lime);
  padding: 0.85rem 1.2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.rule-item strong {
  color: var(--text-main);
  display: block;
  margin-bottom: 0.2rem;
}

/* ==========================================================================
   PREGUNTAS FRECUENTES (FAQ ACORDEÓN)
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-light);
}

.faq-item[open] {
  border-color: rgba(200, 242, 60, 0.3);
  background: #141b24;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.6rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--lime);
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.6rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-answer strong {
  color: var(--text-main);
}

.faq-mail-link {
  color: var(--lime);
  text-decoration: underline;
  font-weight: 600;
}

/* Tarjeta de soporte */
.support-card {
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(135deg, #182330 0%, #111822 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.support-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.support-info p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 500px;
}

/* ==========================================================================
   PRICING & PRUEBA GRATIS
   ========================================================================== */
.pricing-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card {
  background: linear-gradient(180deg, #151e2a 0%, #101620 100%);
  border: 2px solid rgba(200, 242, 60, 0.4);
  box-shadow: 0 20px 60px -15px rgba(200, 242, 60, 0.2), 0 0 30px rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  text-align: center;
}

.pricing-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 1rem 0 0.8rem;
  line-height: 1.2;
}

.pricing-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

.price-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.price-currency {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--lime);
}

.price-val {
  font-size: 4.8rem;
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
  letter-spacing: -0.04em;
}

.price-period {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 600;
}

.price-guarantee {
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
}

.pricing-features {
  list-style: none;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-features li span {
  color: var(--lime);
  font-weight: 800;
  font-size: 1.1rem;
}

.pricing-features strong {
  color: var(--text-main);
}

.pricing-cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.cta-note {
  font-size: 0.82rem;
  color: var(--text-dim);
  max-width: 480px;
}

.cta-note em {
  color: var(--text-muted);
  font-style: normal;
}

/* ==========================================================================
   AVISO MÉDICO
   ========================================================================== */
.section-notice {
  padding: 1.5rem 0 3.5rem;
}

.notice-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.8rem;
  font-size: 0.88rem;
  color: #fde68a;
  line-height: 1.6;
}

.notice-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.notice-text strong {
  color: #ffffff;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.footer-left {
  max-width: 380px;
}

.footer-slogan {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0.8rem 0 0.5rem;
}

.footer-version {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.footer-col strong {
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

.cf-badge {
  background: var(--bg-card);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   MODAL / LIGHTBOX
   ========================================================================== */
/* ==========================================================================
   PÁGINAS LEGALES (Términos, Privacidad, Cookies)
   ========================================================================== */
.legal-page {
  background-color: var(--bg-main);
  color: var(--text-main);
}

.legal-main {
  padding: 5rem 0 6rem;
}

.legal-container {
  max-width: 860px;
  margin: 0 auto;
}

.legal-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 1rem 0 0.5rem;
  line-height: 1.2;
}

.legal-updated {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-family: var(--font-mono);
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.legal-section h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.legal-section p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0;
}

.legal-section ul li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.legal-section ul li::before {
  content: "•";
  position: absolute;
  left: 0.3rem;
  color: var(--lime);
  font-weight: bold;
}

.legal-section a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.legal-section a:hover {
  color: var(--lime-hover);
}

.highlight-box {
  background: var(--bg-card);
  border: 1px solid rgba(200, 242, 60, 0.25);
  border-left: 4px solid var(--lime);
  border-radius: var(--radius-md);
  padding: 1.8rem 2rem;
}

.notice-callout {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-left: 4px solid #ef4444;
  border-radius: var(--radius-md);
  padding: 1.8rem 2rem;
}

.notice-callout h2 {
  color: #f87171;
}

/* ==========================================================================
   MODAL / LIGHTBOX
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 1.5rem;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  max-width: 420px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-content img {
  max-height: 82vh;
  width: auto;
  border-radius: 24px;
  border: 6px solid #1c2633;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--text-on-lime);
  border: none;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.modal-close:hover {
  transform: scale(1.1);
  background: #ffffff;
}

.modal-caption {
  margin-top: 0.85rem;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Modal Informativo: Próximamente disponible */
.launch-modal-card {
  position: relative;
  background: #111720;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(200, 242, 60, 0.15);
  animation: popIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popIn {
  from {
    transform: scale(0.92) translateY(10px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.launch-badge {
  display: inline-block;
  background: rgba(200, 242, 60, 0.15);
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  border: 1px solid rgba(200, 242, 60, 0.3);
}

.launch-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.launch-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.launch-support-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.launch-support-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.launch-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(200, 242, 60, 0.12);
  color: var(--lime);
  border: 1px solid var(--lime);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
}

.launch-email-btn:hover {
  background: var(--lime);
  color: var(--text-on-lime);
  box-shadow: 0 4px 20px var(--lime-glow);
  transform: translateY(-2px);
}

.btn-launch-ok {
  width: 100%;
  padding: 0.8rem;
  font-size: 0.95rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MÓVILES Y TABLETS)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-phones-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 1rem;
    perspective: none;
    max-width: 100%;
    overflow: hidden;
  }

  .phone-left, .phone-right {
    transform: none !important;
  }

  .phone-left:hover, .phone-right:hover {
    transform: translateY(-5px) !important;
  }

  .phone-center {
    order: -1;
    transform: none !important;
    margin-bottom: 1rem;
  }

  .phone-center:hover {
    transform: translateY(-5px) !important;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .feature-row, .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    direction: ltr;
  }

  .feature-media {
    order: 2;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  .modo-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3.5rem 0;
    overflow-x: hidden;
  }

  .header-inner {
    height: 64px;
  }

  .brand {
    font-size: 1.4rem;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    display: none;
  }

  .nav-menu.open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.3rem);
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-perks {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .btn-google-play {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    justify-content: center;
  }

  .btn-play-badge-img {
    height: 32px;
  }

  .hero-quote-box {
    padding: 1rem 1.2rem;
  }

  .quote-text {
    font-size: 1rem;
  }

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

  .pricing-card {
    padding: 2rem 1.2rem;
  }

  .support-card {
    flex-direction: column;
    text-align: center;
  }

  .phone-mockup {
    width: min(260px, 80vw);
    height: auto;
    aspect-ratio: 9 / 18.5;
  }

  .phone-mockup.sm {
    width: min(240px, 75vw);
    height: auto;
    aspect-ratio: 9 / 18.5;
  }

  .feature-media.two-phones {
    flex-direction: column;
    gap: 1.5rem;
  }

  .modos-tabs {
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
  }

  .modo-tab-btn {
    width: 100%;
    min-width: 0;
    padding: 0.75rem 1rem;
  }

  .modo-grid {
    padding: 1.5rem 1rem;
    border-radius: var(--radius-md);
  }

  .scale-table {
    border-radius: var(--radius-sm);
  }

  .scale-row {
    padding: 0.6rem 0.6rem;
    gap: 0.6rem;
    font-size: 0.82rem;
  }

  .scale-num {
    min-width: 48px;
    font-size: 0.75rem;
    padding: 0.15rem 0.35rem;
  }

  .scale-txt {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .footer-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .scale-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .scale-num {
    align-self: flex-start;
  }

  .scale-txt {
    width: 100%;
  }

  .launch-modal-card {
    padding: 2rem 1.2rem;
    width: 95%;
  }

  .launch-title {
    font-size: 1.25rem;
  }

  .launch-desc {
    font-size: 0.9rem;
  }

  .launch-email-btn {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    word-break: break-all;
  }
}
