/* ============================================================
   ARQUITECTURA DE LA PERCEPCIÓN™ — Estilos principales
   ============================================================ */

/* ============================================================
   1. VARIABLES Y RESET GLOBAL
   ============================================================ */
:root {
  --color-cosmos: #0A1628;
  --color-gold: #D4AF37;
  --color-white: #FFFFFF;
  --color-ether: #2C5F7F;
  --color-glass: rgba(44, 95, 127, 0.1);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-height: 80px;
  --radius: 12px;
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Tema claro (mármol) */
body[data-theme="light"] {
  --color-cosmos: #F5F3EE;
  --color-gold: #B8941F;
  --color-white: #1a1a1a;
  --color-ether: #4A7A9A;
  --color-glass: rgba(184, 148, 31, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: var(--font-body);
  background: var(--color-cosmos);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.5s ease, color 0.5s ease;
}

body[data-theme="light"] {
  background:
    radial-gradient(circle at 20% 30%, rgba(184, 148, 31, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(184, 148, 31, 0.04) 0%, transparent 50%),
    var(--color-cosmos);
}

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

ul {
  list-style: none;
}

/* ============================================================
   2. GEOMETRÍA SAGRADA DE FONDO
   ============================================================ */
.sacred-geometry {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vmin;
  height: 90vmin;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
  animation: spin 120s linear infinite;
}

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============================================================
   3. BOTÓN TOGGLE TEMA (accesibilidad visual)
   ============================================================ */
.theme-toggle {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1100;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(10px);
  color: var(--color-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), box-shadow var(--transition);
}

.theme-toggle:hover {
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

body[data-theme="light"] .theme-toggle {
  background: rgba(245, 243, 238, 0.7);
}

.theme-toggle .icon-light { display: none; }
body[data-theme="light"] .theme-toggle .icon-cosmos { display: none; }
body[data-theme="light"] .theme-toggle .icon-light { display: block; }

/* ============================================================
   4. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

/* Estado inicial: transparente sobre el hero */
.navbar.scrolled {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(212, 175, 55, 0.15);
}

body[data-theme="light"] .navbar.scrolled {
  background: rgba(245, 243, 238, 0.9);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-logo .tm {
  font-size: 0.6em;
  vertical-align: super;
}

/* Menú */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-white);
  opacity: 0.8;
  position: relative;
  padding: 0.3rem 0;
  transition: opacity var(--transition), color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition);
}

.nav-links a:hover {
  opacity: 1;
  color: var(--color-gold);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Link activo (sección visible) */
.nav-links a.nav-active {
  opacity: 1;
  color: var(--color-gold);
}

.nav-links a.nav-active::after {
  width: 100%;
}

/* Botón especial "Descubre tu Código" */
.btn-nav-special {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-nav-special:hover {
  background: var(--color-gold);
  color: var(--color-cosmos);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Toggle hamburguesa (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ============================================================
   5. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-height) 1.5rem 4rem;
  overflow: hidden;
}

.particles-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  line-height: 1.25;
  color: var(--color-white);
  letter-spacing: 0.01em;
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  line-height: 1.7;
  color: #5A8AAB;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

body[data-theme="light"] .hero-subtitle {
  color: var(--color-ether);
}

.hero-cta {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Botones */
.btn {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-cosmos);
  border: 1px solid var(--color-gold);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-gold);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.15);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 1.5px solid var(--color-gold);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  opacity: 0.7;
}

.scroll-indicator span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 2px;
  animation: scroll-bounce 1.8s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.3; }
}

/* ============================================================
   6. ANIMACIONES DE ENTRADA (fade-in desde abajo)
   ============================================================ */
.anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.anim-delay-1 { animation-delay: 0.3s; }
.anim-delay-2 { animation-delay: 0.8s; }
.anim-delay-3 { animation-delay: 1.2s; }

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

/* ============================================================
   8. MANIFIESTO
   ============================================================ */
.manifesto {
  background: linear-gradient(180deg, rgba(10,22,40,0.86) 0%, rgba(13,31,60,0.86) 100%);
  padding: 120px 1.5rem;
  position: relative;
  z-index: 2;
}

body[data-theme="light"] .manifesto {
  background: linear-gradient(180deg, rgba(245,243,238,0.86) 0%, rgba(239,233,223,0.86) 100%);
}

.manifesto-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Título */
.manifesto-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-gold);
  margin-bottom: 3.5rem;
}

/* Texto principal */
.manifesto-text {
  max-width: 760px;
  margin: 0 auto;
}

.manifesto-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #E8E8E8;
  margin-bottom: 1.8rem;
  font-weight: 300;
}

body[data-theme="light"] .manifesto-text p {
  color: #2a2a2a;
}

/* Frase destacada */
.manifesto-quote {
  max-width: 760px;
  margin: 60px auto;
  padding: 40px;
  background: #050D1A;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.6;
  color: var(--color-gold);
  position: relative;
}

body[data-theme="light"] .manifesto-quote {
  background: #FFFFFF;
  border-color: rgba(184, 148, 31, 0.5);
  border-left-color: var(--color-gold);
  color: var(--color-gold);
}

/* Tres pilares */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.pillar {
  background: #050D1A;
  border-top: 2px solid var(--color-gold);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

body[data-theme="light"] .pillar {
  background: #FFFFFF;
  border-top-color: var(--color-gold);
  border: 1px solid rgba(184, 148, 31, 0.2);
  border-top: 2px solid var(--color-gold);
}

.pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

.pillar-icon {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  line-height: 1;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.pillar-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #E8E8E8;
  font-weight: 300;
}

body[data-theme="light"] .pillar-text {
  color: #2a2a2a;
}

/* ============================================================
   9. ECOSISTEMA
   ============================================================ */
.ecosystem {
  background: linear-gradient(180deg, rgba(13,31,60,0.86) 0%, rgba(10,22,40,0.86) 100%);
  padding: 120px 1.5rem;
  position: relative;
  z-index: 2;
}

body[data-theme="light"] .ecosystem {
  background: linear-gradient(180deg, rgba(239,233,223,0.86) 0%, rgba(245,243,238,0.86) 100%);
}

.ecosystem-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: #B0C4D8;
  text-align: center;
  margin-bottom: 3rem;
}

body[data-theme="light"] .section-subtitle {
  color: #4A7A9A;
}

/* Tabs */
.tabs-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 3rem;
}

.tab {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-white);
  background: transparent;
  border: 1px solid var(--color-gold);
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.tab:hover {
  background: rgba(212, 175, 55, 0.1);
}

.tab.active {
  background: var(--color-gold);
  color: #0A1628;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

/* Tab content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Texto introductorio de tab */
.tab-intro {
  font-size: 0.95rem;
  font-style: italic;
  text-align: center;
  color: #B0C4D8;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.7;
}

body[data-theme="light"] .tab-intro {
  color: #4A7A9A;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.eco-card {
  background: #050D1A;
  border: 1px solid #2C5F7F;
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

body[data-theme="light"] .eco-card {
  background: #FFFFFF;
  border-color: rgba(74, 122, 154, 0.3);
}

.eco-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
  transform: translateY(-4px);
}

.eco-icon {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.eco-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.eco-text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #E8E8E8;
  font-weight: 300;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

body[data-theme="light"] .eco-text {
  color: #2a2a2a;
}

/* Botón fantasma dorado */
.btn-ghost-gold {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-gold);
  border: 1px solid rgba(212, 175, 55, 0.5);
  padding: 0.55rem 1.3rem;
  border-radius: 50px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  align-self: flex-start;
}

.btn-ghost-gold:hover {
  background: var(--color-gold);
  color: #0A1628;
  border-color: var(--color-gold);
}

/* ============================================================
   10. APP CÓDIGOS SUBLIMES
   ============================================================ */
.app-section {
  background: linear-gradient(180deg, rgba(10,22,40,0.86) 0%, rgba(13,31,60,0.86) 100%);
  padding: 120px 1.5rem;
  position: relative;
  z-index: 2;
}

body[data-theme="light"] .app-section {
  background: linear-gradient(180deg, rgba(245,243,238,0.86) 0%, rgba(239,233,223,0.86) 100%);
}

.app-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Bloque 1: App Hero --- */
.app-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.app-left {
  display: flex;
  flex-direction: column;
}

.app-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.app-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.app-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.app-paragraph {
  font-size: 1rem;
  line-height: 1.8;
  color: #C0D0DD;
  font-weight: 300;
  margin-bottom: 2rem;
}

body[data-theme="light"] .app-paragraph {
  color: #3a3a3a;
}

/* Features list */
.app-features {
  list-style: none;
  margin-bottom: 2.5rem;
}

.app-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #E0E0E0;
  font-weight: 300;
  margin-bottom: 1rem;
}

body[data-theme="light"] .app-features li {
  color: #2a2a2a;
}

.feat-icon {
  color: var(--color-gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Botón full width */
.btn-full {
  width: 100%;
  max-width: 400px;
  text-align: center;
  padding: 1.1rem 2rem;
  font-size: 1rem;
}

.btn-note {
  font-size: 0.82rem;
  color: #8A9BAA;
  font-weight: 300;
  margin-top: 1rem;
}

body[data-theme="light"] .btn-note {
  color: #6a7a8a;
}

/* --- Mockup de celular --- */
.app-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 560px;
  background: #0A1628;
  border: 3px solid #2C5F7F;
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 0 40px rgba(212, 175, 55, 0.25),
    0 0 80px rgba(212, 175, 55, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.4);
  animation: phone-float 4s ease-in-out infinite;
}

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

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #050D1A 0%, #0A1628 100%);
  border-radius: 24px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.phone-header {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gold);
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.phone-card {
  background: rgba(5, 13, 26, 0.5);
  border: 1px solid rgba(44, 95, 127, 0.5);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.82rem;
  color: #E0E0E0;
  font-weight: 400;
}

.phone-card-gold {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.08) 100%);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--color-gold);
  font-weight: 600;
  font-family: var(--font-heading);
}

.phone-card-small {
  font-size: 0.75rem;
  padding: 10px 14px;
  margin-top: auto;
  text-align: center;
}

/* --- Bloque 2: Planes --- */
.plans-wrapper {
  margin-bottom: 80px;
}

.plan-intro {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #B0C4D8;
  font-weight: 300;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

body[data-theme="light"] .plan-intro {
  color: #4A7A9A;
}

/* Pricing grid */
.pricing-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

.pricing-3 {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-4 {
  grid-template-columns: repeat(4, 1fr);
}

.pricing-card {
  background: #050D1A;
  border: 1px solid #2C5F7F;
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

body[data-theme="light"] .pricing-card {
  background: #FFFFFF;
  border-color: rgba(74, 122, 154, 0.3);
}

.pricing-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
  transform: translateY(-4px);
}

.pricing-card-featured {
  border: 2px solid var(--color-gold);
  transform: scale(1.03);
}

.pricing-card-featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-card-recommended {
  border: 2px solid var(--color-gold);
  background: linear-gradient(180deg, #050D1A 0%, #0A1628 100%);
  position: relative;
}

body[data-theme="light"] .pricing-card-recommended {
  background: #FFFFFF;
}

/* Pricing headers */
.pricing-header {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pricing-header-blue {
  background: rgba(44, 95, 127, 0.3);
  color: var(--color-white);
}

.pricing-header-gold {
  background: var(--color-gold);
  color: #0A1628;
}

.pricing-header-deep {
  background: #0A1628;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
}

/* Badges */
.pop-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: #0A1628;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  padding: 2px 8px;
  border-radius: 50px;
}

.pricing-header-gold .pop-badge {
  background: #0A1628;
  color: var(--color-gold);
}

.save-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-gold);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 2px 8px;
  border-radius: 50px;
}

/* Prices */
.pricing-price {
  text-align: center;
  margin-bottom: 0.5rem;
}

.price-monthly {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
}

body[data-theme="light"] .price-monthly {
  color: #1a1a1a;
}

.price-period {
  font-size: 0.9rem;
  font-weight: 400;
  color: #8A9BAA;
}

.pricing-yearly {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pricing-subtext {
  text-align: center;
  font-size: 0.85rem;
  color: #B0C4D8;
  font-weight: 400;
  margin-bottom: 0.3rem;
}

body[data-theme="light"] .pricing-subtext {
  color: #4A7A9A;
}

.pricing-validity {
  text-align: center;
  font-size: 0.78rem;
  color: #8A9BAA;
  font-weight: 300;
  margin-bottom: 1.2rem;
}

body[data-theme="light"] .pricing-validity {
  color: #6a7a8a;
}

/* Features list */
.pricing-features {
  list-style: none;
  margin: 1.2rem 0;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #E0E0E0;
  font-weight: 300;
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}

body[data-theme="light"] .pricing-features li {
  color: #2a2a2a;
}

.pricing-features li.yes::before {
  content: '✅';
  position: absolute;
  left: 0;
  font-size: 0.7rem;
}

.pricing-features li.no::before {
  content: '❌';
  position: absolute;
  left: 0;
  font-size: 0.7rem;
}

.pricing-features li.no {
  color: #6A7B8A;
  opacity: 0.6;
}

/* Botones bloque */
.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: auto;
}

.btn-small {
  font-size: 0.78rem;
  padding: 0.5rem 1.1rem;
}

/* --- Bloque 3: Inversión mayor --- */
.investment-block {
  margin-top: 60px;
}

.investment-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 2.5rem;
}

.investment-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 2.5rem;
}

.inv-card {
  background: #050D1A;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

body[data-theme="light"] .inv-card {
  background: #F9F6F0;
  border-color: rgba(184, 148, 31, 0.2);
}

.inv-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.15);
  transform: translateY(-4px);
}

.inv-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.inv-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.inv-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.8rem;
}

body[data-theme="light"] .inv-price {
  color: #1a1a1a;
}

.inv-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #B0C4D8;
  font-weight: 300;
  margin-bottom: 1.2rem;
}

body[data-theme="light"] .inv-desc {
  color: #4A7A9A;
}

.investment-note {
  font-size: 0.78rem;
  color: #7A8B9A;
  font-weight: 300;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

body[data-theme="light"] .investment-note {
  color: #8a9aaa;
}

/* ============================================================
   11. RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 900px) {
  .manifesto {
    padding: 80px 1.5rem;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .manifesto-quote {
    padding: 28px 24px;
    margin: 40px auto;
  }

  .ecosystem {
    padding: 80px 1.5rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .app-section {
    padding: 80px 1.5rem;
  }

  .app-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .app-right {
    order: -1;
  }

  .phone-mockup {
    width: 240px;
    height: 480px;
  }

  .pricing-3,
  .pricing-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-card-featured {
    transform: none;
  }

  .pricing-card-featured:hover {
    transform: translateY(-4px);
  }

  .investment-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .theme-toggle {
    top: 20px;
    right: 70px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 2rem;
    transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border-left: 1px solid rgba(212, 175, 55, 0.2);
  }

  body[data-theme="light"] .nav-menu {
    background: rgba(245, 243, 238, 0.98);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .btn-nav-special {
    font-size: 1rem;
    padding: 0.8rem 2rem;
  }

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

  .hero-cta .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .scroll-indicator {
    display: none;
  }
}

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

  .nav-logo {
    font-size: 1.05rem;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 1rem);
  }
}

/* ============================================================
   FONDO CUÁNTICO ANIMADO
   ============================================================ */
#quantum-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

body[data-theme="light"] #quantum-canvas {
  opacity: 0.5;
}

/* === PROBLEMAS === */
.problemas {
  background: #050D1A;
  padding: 100px 1.5rem;
  position: relative;
  z-index: 2;
}

.problemas-container {
  max-width: 1000px;
  margin: 0 auto;
}

.problemas-badge {
  display: block;
  text-align: center;
  color: var(--color-gold);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.problemas-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--color-gold);
  text-align: center;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.problemas-subtitle {
  font-style: italic;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto 3.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 300;
}

.problemas-intro {
  max-width: 750px;
  margin: 0 auto 4rem;
  background: #0A1628;
  border: 1px solid var(--color-gold);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}

.problemas-intro p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.problemas-intro-highlight {
  color: var(--color-gold) !important;
  font-weight: 700;
  font-style: italic;
  font-size: 20px !important;
  line-height: 1.6;
  margin-bottom: 0 !important;
}

.problemas-bloques {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 4rem;
}

.problema-bloque {
  position: relative;
  overflow: hidden;
  padding: 60px 40px;
  border-radius: 12px;
}

.problema-bloque:nth-child(odd) {
  background: #0A1628;
}

.problema-bloque:nth-child(even) {
  background: #050D1A;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.problema-numero-deco {
  position: absolute;
  top: 10px;
  right: 30px;
  font-family: var(--font-heading);
  font-size: 96px;
  font-weight: 700;
  color: rgba(212, 175, 55, 0.08);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.problema-cols {
  display: flex;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.problema-bloque:nth-child(even) .problema-cols {
  flex-direction: row-reverse;
}

.problema-col {
  flex: 1;
  padding: 32px;
  border-radius: 8px;
}

.problema-col-problema {
  background: rgba(5, 13, 26, 0.5);
}

.problema-col-solucion {
  border-left: 3px solid var(--color-gold);
  background: rgba(5, 13, 26, 0.3);
}

.problema-badge-red {
  display: inline-block;
  background: rgba(180, 40, 40, 0.15);
  border: 1px solid rgba(180, 40, 40, 0.3);
  color: #c47a7a;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 1rem;
}

.problema-badge-gold {
  display: inline-block;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--color-gold);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 1rem;
}

.problema-col h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.problema-col-problema h3 {
  color: var(--color-white);
}

.problema-col-solucion h3 {
  color: var(--color-gold);
}

.problema-col p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
}

.problema-metrica {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.problema-metrica-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.problema-metrica-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  line-height: 1.4;
}

.problemas-cierre {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.problemas-cierre h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.problemas-cierre p {
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2rem;
}

.problemas-cierre-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .problema-bloque {
    padding: 40px 20px;
  }

  .problema-numero-deco {
    font-size: 64px;
    right: 15px;
    top: 5px;
  }

  .problema-cols {
    flex-direction: column !important;
    gap: 16px;
  }

  .problema-col {
    padding: 24px 20px;
  }

  .problemas-intro {
    padding: 28px 20px;
  }

  .problemas-cierre-buttons {
    flex-direction: column;
  }

  .problemas-cierre-buttons .btn,
  .problemas-cierre-buttons .btn-ghost-gold {
    width: 100%;
    text-align: center;
  }
}

body[data-theme="light"] .problemas {
  background: #F5F3EE;
}

body[data-theme="light"] .problemas-subtitle {
  color: rgba(42, 42, 42, 0.65);
}

body[data-theme="light"] .problemas-intro {
  background: #FFFFFF;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

body[data-theme="light"] .problemas-intro p {
  color: rgba(42, 42, 42, 0.75);
}

body[data-theme="light"] .problema-bloque:nth-child(odd) {
  background: #FFFFFF;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

body[data-theme="light"] .problema-bloque:nth-child(even) {
  background: #F0EBE0;
  border-color: rgba(184, 148, 31, 0.15);
}

body[data-theme="light"] .problema-col-problema {
  background: rgba(240, 235, 224, 0.5);
}

body[data-theme="light"] .problema-col-solucion {
  background: rgba(240, 235, 224, 0.3);
}

body[data-theme="light"] .problema-col-problema h3 {
  color: var(--color-cosmos);
}

body[data-theme="light"] .problema-col p {
  color: rgba(42, 42, 42, 0.72);
}

body[data-theme="light"] .problema-numero-deco {
  color: rgba(184, 148, 31, 0.1);
}

body[data-theme="light"] .problemas-cierre p {
  color: rgba(42, 42, 42, 0.65);
}

/* === BENEFICIOS === */
.benefits {
  background: linear-gradient(180deg, rgba(10,22,40,0.86) 0%, rgba(13,31,60,0.86) 100%);
  padding: 120px 1.5rem;
  position: relative;
  z-index: 2;
}

.benefits-container {
  max-width: 1200px;
  margin: 0 auto;
}

.benefits-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}

.benefits-subtitle {
  font-style: italic;
  text-align: center;
  color: rgba(255,255,255,0.7);
  max-width: 680px;
  margin: 0 auto 4rem;
  font-size: 1.15rem;
  line-height: 1.7;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: #050D1A;
  border-left: 3px solid var(--color-gold);
  padding: 32px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.benefit-icon {
  margin-bottom: 1.5rem;
}

.benefit-icon svg {
  display: block;
}

.benefit-title {
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
}

.benefit-text {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  line-height: 1.75;
}

.benefits-final {
  text-align: center;
  color: var(--color-gold);
  font-weight: 700;
  font-style: italic;
  font-size: 20px;
  margin-top: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

body[data-theme="light"] .benefits {
  background: linear-gradient(180deg, rgba(245,243,238,0.86) 0%, rgba(239,233,223,0.86) 100%);
}

body[data-theme="light"] .benefit-card {
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

body[data-theme="light"] .benefit-text {
  color: rgba(42,42,42,0.75);
}

body[data-theme="light"] .benefits-subtitle {
  color: rgba(42,42,42,0.65);
}

/* === ECONOMIA CUANTICA === */
.economia-cuantica {
  background: #050D1A;
  border-top: 1px solid var(--color-gold);
  border-bottom: 1px solid var(--color-gold);
  padding: 100px 1.5rem;
  position: relative;
  z-index: 2;
}

.economia-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.economia-badge {
  display: inline-block;
  background: var(--color-gold);
  color: #0A1628;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.economia-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--color-gold);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.economia-subtitle {
  font-style: italic;
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.economia-text {
  font-family: var(--font-body);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
  max-width: 750px;
  margin: 0 auto 3.5rem;
  font-weight: 300;
}

.economia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 3rem;
}

.economia-card {
  background: #0A1628;
  border: 1px solid var(--color-gold);
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.economia-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

.economia-icon {
  margin-bottom: 1.2rem;
}

.economia-card-title {
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
}

.economia-card-text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.7;
  font-weight: 300;
}

.economia-highlight {
  background: #0A1628;
  border: 1px solid var(--color-gold);
  border-radius: 12px;
  padding: 40px;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.economia-highlight p {
  color: var(--color-white);
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.6;
}

.economia-btn {
  font-size: 1rem;
  padding: 1rem 2.5rem;
}

@media (max-width: 768px) {
  .economia-grid {
    grid-template-columns: 1fr;
  }

  .economia-highlight {
    padding: 28px 20px;
  }

  .economia-highlight p {
    font-size: 17px;
  }
}

body[data-theme="light"] .economia-cuantica {
  background: #F5F3EE;
}

body[data-theme="light"] .economia-subtitle {
  color: var(--color-cosmos);
}

body[data-theme="light"] .economia-text {
  color: rgba(42, 42, 42, 0.7);
}

body[data-theme="light"] .economia-card {
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

body[data-theme="light"] .economia-card-text {
  color: rgba(42, 42, 42, 0.72);
}

body[data-theme="light"] .economia-highlight {
  background: #FFFFFF;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

body[data-theme="light"] .economia-highlight p {
  color: var(--color-cosmos);
}

/* === Footer social icons: tamaño consistente en todas las páginas === */
/* (contacto.css ya define esto para index.html; esta regla asegura el mismo tamaño
   en las páginas que no cargan contacto.css) */
.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.footer-social a:hover {
  background: var(--color-gold);
  color: #050D1A;
  border-color: var(--color-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* === Resumen de planes en home (enlaza a app.html / inversion.html) === */
.plans-summary-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .plans-summary-cards {
    grid-template-columns: 1fr;
  }
}
