@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  /* Colors - Neon Dark */
  --bg-dark: #020617;
  /* Very deep blue/black */
  --bg-card: #0f172a;
  /* Lighter dark for cards */
  --primary: #06b6d4;
  /* Cyan Neon */
  --secondary: #d946ef;
  /* Pink Neon */
  --accent: #f59e0b;
  /* Amber/Gold for stars/warning */

  --text-main: #f8fafc;
  --text-muted: #94a3b8;

  /* Fluid Typography Scale (clamp) */
  --fs-h1: clamp(2.5rem, 8vw, 4.5rem);
  --fs-h2: clamp(1.8rem, 6vw, 3rem);
  --fs-h3: clamp(1.4rem, 4vw, 1.75rem);
  --fs-body: clamp(1rem, 2vw, 1.125rem);
  --fs-small: clamp(0.8rem, 1.5vw, 0.9rem);

  /* Font Families */
  --ff-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, sans-serif;

  /* Aliases & New Colors */
  --color-cyan: #06b6d4;
  --color-pink: #d946ef;
  --color-green: #22c55e;
  --color-amber: #f59e0b;

  /* Gradients */
  --gradient-btn: linear-gradient(90deg, #06b6d4, #3b82f6);
  --gradient: linear-gradient(90deg, #22d3ee, #e879f9);
  --gradient-text: linear-gradient(90deg, #22d3ee, #e879f9);
  --gradient-glow: radial-gradient(circle at center, rgba(6, 182, 212, 0.15), transparent 70%);

  /* Spacing */
  --spacing-sm: 0.8rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 3.5rem;

  /* Layout */
  --container-width: 1100px;
  --header-height: 80px;


  /* Effects */
  --shadow-neon: 0 0 20px rgba(6, 182, 212, 0.3);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: var(--spacing-lg) 0;
  position: relative;
}

.text-center {
  text-align: center;
}

.text-cyan {
  color: var(--primary);
}

.text-pink {
  color: var(--secondary);
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.uppercase {
  text-transform: uppercase;
}

/* Typography */
h1,
h2,
h3 {
  font-family: var(--ff-heading);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

h1 {
  font-size: var(--fs-h1);
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

h2 {
  font-size: var(--fs-h2);
  color: white;
}

h3 {
  font-size: var(--fs-h3);
  color: var(--primary);
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-muted);
  font-size: var(--fs-body);
  margin-bottom: 1.5rem;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

/* Components */
.btn {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  background: var(--gradient-btn);
  color: black;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.6);
  filter: brightness(1.1);
}

.btn-pulse {
  animation: pulse-glow 2s ease-in-out infinite;
  position: relative;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(6, 182, 212, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
  }
}

/* Enhanced Pulse Glow Animation for CTAs */
@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5), 0 0 40px rgba(6, 182, 212, 0.3), 0 0 0 0 rgba(6, 182, 212, 0.7);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.7), 0 0 60px rgba(6, 182, 212, 0.5), 0 0 0 15px rgba(6, 182, 212, 0);
    transform: scale(1.02);
  }
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--secondary);
  color: white;
  box-shadow: 0 0 15px rgba(217, 70, 239, 0.2);
}

.btn-secondary:hover {
  background: var(--secondary);
  box-shadow: 0 0 30px rgba(217, 70, 239, 0.6);
  transform: scale(1.05);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Header */
.top-banner {
  background: linear-gradient(135deg, #d946ef, #ec4899);
  color: white;
  text-align: center;
  padding: 0.8rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(217, 70, 239, 0.3);
}

.main-header {
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  max-height: 55px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  padding-top: 4rem;
  padding-bottom: 6rem;
  background:
    radial-gradient(circle at top center, rgba(6, 182, 212, 0.1) 0%, transparent 60%),
    var(--bg-dark);
}

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.stat-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Grid Layouts */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-neon);
}

/* Projects Section */
.project-card {
  position: relative;
  overflow: hidden;
}

.icon-box {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

/* Offer / Pricing */
.offer-box {
  background: linear-gradient(145deg, #1e1e2e, #0f172a);
  border: 2px solid var(--primary);
  padding: 3rem;
  border-radius: var(--radius-lg);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.discount-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--secondary);
  color: white;
  padding: 0.5rem 1.5rem;
  font-weight: 800;
  border-radius: 50px;
  transform: rotate(5deg);
  box-shadow: 0 5px 15px rgba(217, 70, 239, 0.4);
}

.price-container {
  margin: 2rem 0;
}

.old-price {
  font-size: 1.5rem;
  color: var(--text-muted);
  text-decoration: line-through;
  display: block;
}

.new-price {
  font-size: 4rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* FAQ */
.faq-item {
  background: var(--bg-card);
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background: black;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--text-muted);
}

/* Optimization Classes */
.text-white {
  color: white !important;
}

/* Performance Optimizations */
.section-Benefits,
#proyectos,
#testimonios,
#temario,
.section-cta,
.section-instructor,
#oferta,
.section-whatsapp-cta {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.hero-subtitle {
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1.3rem;
  margin-top: 1.5rem;
}

.hero-disclaimer {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

.mt-3 {
  margin-top: 2rem;
}

.mb-3 {
  margin-bottom: 2rem;
}

.w-full {
  width: 100%;
}

/* Benefits Section */
.section-Benefits {
  background: linear-gradient(0deg, var(--bg-dark), #0f172a);
}

/* Improved Benefits Section */
.benefits-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.benefit-icon-wrapper {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.benefit-icon-wrapper svg {
  width: 30px;
  height: 30px;
}

.benefit-icon-wrapper.cyan {
  background: rgba(6, 182, 212, 0.1);
  color: var(--primary);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}

.benefit-icon-wrapper.pink {
  background: rgba(217, 70, 239, 0.1);
  color: var(--secondary);
  box-shadow: 0 0 15px rgba(217, 70, 239, 0.1);
}

.benefit-icon-wrapper.amber {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
}

.benefit-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.benefit-item p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Modules / Curriculum */
.bg-card {
  background-color: var(--bg-card);
}

.module-list {
  display: grid;
  gap: 1rem;
}

.module-item {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.module-badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
}

.badge-cyan {
  background: var(--primary);
  color: black;
}

.badge-pink {
  background: var(--secondary);
  color: white;
}

.badge-amber {
  background: var(--accent);
  color: black;
}

/* Instructor */
.section-instructor {
  background: rgba(255, 255, 255, 0.02);
}

.instructor-grid {
  align-items: center;
}

.instructor-img {
  border-radius: 20px;
  border: 2px solid var(--primary);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.2);
  max-width: 300px;
  margin: 0 auto;
}

/* Testimonials */
.section-testimonials {
  background: linear-gradient(180deg, var(--bg-dark), #0f172a);
}

.testimonial-meta {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Offer */
.offer-list {
  text-align: left;
  margin: 2rem auto;
  display: inline-block;
}

.offer-item {
  margin-bottom: 0.5rem;
}

.footer-disclaimer {
  font-size: 0.8rem;
  opacity: 0.5;
  margin-top: 1rem;
}


/* MOBILE OPTIMIZATION (Phase 3) */
@media (max-width: 768px) {
  :root {
    --spacing-lg: 3rem;
    --header-height: 70px;
  }

  /* Typography Safety */
  body {
    overflow-wrap: break-word;
    overflow-x: hidden;
    /* Force hide horizontal overflow */
    width: auto;
  }

  h1 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    /* Slightly smaller start */
    line-height: 1.1;
  }

  h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    hyphens: auto;
  }

  p {
    font-size: 1rem;
  }

  /* Buttons - Mobile Touch Targets */
  .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 54px;
    margin-bottom: 0.5rem;
  }

  /* Layout Adjustments */
  .container {
    padding-left: 1.5rem;
    /* Increased safety margin (24px) */
    padding-right: 1.5rem;
    /* Increased safety margin (24px) */
    width: 100%;
  }

  /* Header Spacing */
  .main-header .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .logo-img {
    max-height: clamp(32px, 8vw, 45px);
    /* Fluid sizing between 32px and 45px */
    width: auto;
  }

  /* Specific adjustment for very small screens */
  @media (max-width: 400px) {
    .logo-img {
      max-height: 30px;
    }
  }

  .nav-container .btn {
    width: auto;
    padding: 0.5rem 0.8rem;
    /* Smaller horizontal padding */
    font-size: 0.8rem;
    /* Smaller text */
    min-height: auto;
    letter-spacing: 0;
    /* Save space */
  }

  /* Cards */
  .card {
    padding: 1.5rem;
    margin: 0;
  }

  /* Hero Stats */
  .hero-stats {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.75rem;
  }

  .stat-badge {
    width: 100%;
    display: block;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
  }

  /* Instructor & Benefits */
  .instructor-grid,
  .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefit-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
  }

  /* Modules */
  .module-item {
    flex-direction: row;
    align-items: center;
    justify-content: justify;
    /* Center horizontally */
    gap: 1rem;
    width: auto;
    padding: 1rem;
    min-height: auto;
    text-align: start;
    /* Center text if it wraps */
  }

  .module-badge {
    flex-shrink: 0;
    /* Prevent badge from squishing */
    font-size: 0.85rem;
  }

  .module-list {
    gap: 0.75rem;
    /* Reduce gap between modules */
  }

  .module-list li {
    width: 100%;
  }

  /* Offer Box */
  .offer-box {
    padding: 2rem 1.5rem;
    width: 100%;
  }

  .new-price {
    font-size: 3.5rem;
  }

  /* Top Banner */
  .top-banner {
    font-size: 0.8rem;
    padding: 0.8rem 1rem;
    /* Ensure padding here too */
    line-height: 1.4;
  }

  /* Premium Pricing Section Mobile Optimizations */

  /* Urgency Badge - Adjust for mobile */
  #oferta .offer-box>div[style*="position: absolute"][style*="rotate(45deg)"] {
    top: 15px !important;
    right: -40px !important;
    padding: 6px 45px !important;
    font-size: 0.65rem !important;
  }

  /* Header Section */
  #oferta h2[style*="font-size: 2.5rem"] {
    font-size: 1.8rem !important;
    margin-bottom: 0.5rem !important;
  }

  #oferta p[style*="font-size: 1.1rem"] {
    font-size: 0.95rem !important;
  }

  /* Course Preview Image Container */
  #oferta div[style*="max-width: 650px"] {
    max-width: 100% !important;
    padding: 0 0.5rem !important;
    margin: 1.5rem auto !important;
  }

  /* Premium Price Display */
  #oferta>div>div>div[style*="max-width: 550px"][style*="padding: 2.5rem"] {
    padding: 1.5rem 1rem !important;
    margin: 2rem auto !important;
  }

  /* Price Number */
  #oferta span[style*="font-size: 5.5rem"] {
    font-size: 3.5rem !important;
  }

  #oferta span[style*="font-size: 2rem"][style*="color: white"] {
    font-size: 1.5rem !important;
  }

  /* Savings Badge */
  #oferta div[style*="display: inline-flex"][style*="border-radius: 50px"] {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
  }

  #oferta div[style*="display: inline-flex"] span[style*="font-size: 1rem"] {
    font-size: 0.85rem !important;
  }

  /* What's Included Title */
  #oferta h3[style*="font-size: 1.5rem"] {
    font-size: 1.2rem !important;
    margin-bottom: 1.5rem !important;
  }

  /* Feature Cards Grid */
  #oferta div[style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Feature Cards */
  #oferta div[style*="border-radius: 12px"][style*="padding: 1.5rem"][style*="transition"] {
    padding: 1.2rem !important;
  }

  /* Feature Card Icons */
  #oferta div[style*="width: 40px"][style*="height: 40px"][style*="border-radius: 10px"] {
    width: 35px !important;
    height: 35px !important;
    font-size: 1.1rem !important;
  }

  /* Feature Card Titles */
  #oferta h4[style*="font-size: 1.1rem"] {
    font-size: 1rem !important;
  }

  /* Feature Card Descriptions */
  #oferta p[style*="font-size: 0.9rem"][style*="line-height: 1.5"] {
    font-size: 0.85rem !important;
  }

  /* CTA Button */
  #oferta a[style*="font-size: 1.4rem"][style*="padding: 1.8rem 4rem"] {
    font-size: 1.1rem !important;
    padding: 1.2rem 2rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Trust Indicators Below Button */
  #oferta div[style*="display: flex"][style*="flex-wrap: wrap"][style*="gap: 2rem"] {
    gap: 1rem !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  #oferta div[style*="display: flex"][style*="gap: 8px"] span[style*="font-size: 0.9rem"] {
    font-size: 0.85rem !important;
  }

  /* Payment Methods Section */
  #oferta div[style*="border-top: 1px solid"][style*="border-bottom: 1px solid"] {
    padding: 1rem 0 !important;
    margin: 1.5rem 0 !important;
  }

  #oferta p[style*="font-size: 0.85rem"][style*="text-transform: uppercase"] {
    font-size: 0.75rem !important;
  }

  #oferta p[style*="font-size: 0.95rem"][style*="margin: 0"] {
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
  }

  /* Guarantee Badge */
  #oferta div[style*="max-width: 600px"][style*="display: flex"][style*="gap: 1.5rem"] {
    flex-direction: column !important;
    text-align: center !important;
    padding: 1.5rem !important;
    gap: 1rem !important;
  }

  #oferta div[style*="max-width: 600px"] svg {
    width: 50px !important;
    height: 50px !important;
    margin: 0 auto !important;
  }

  #oferta h4[style*="font-size: 1.3rem"] {
    font-size: 1.1rem !important;
  }

  #oferta p[style*="font-size: 0.95rem"][style*="line-height: 1.6"] {
    font-size: 0.9rem !important;
  }

  /* AI Disclaimer */
  #oferta+div div[style*="max-width: 700px"] {
    padding: 1.5rem 1rem !important;
    margin-top: 2rem !important;
  }

  #oferta+div p[style*="font-size: 1.1rem"] {
    font-size: 1rem !important;
  }

  #oferta+div p[style*="font-size: 0.9rem"] {
    font-size: 0.85rem !important;
  }

  /* ========================================
     MOBILE OPTIMIZATIONS FOR NEW CRO ELEMENTS
     ======================================== */

  /* Hero Price Badge Mobile Optimization */
  .hero div[style*="max-width: 500px"] {
    max-width: 100% !important;
    padding: 0 0.5rem !important;
    margin: 1.5rem auto !important;
  }

  .hero div[style*="max-width: 500px"]>div {
    padding: 1.2rem 1rem !important;
  }

  /* Price in Hero - Mobile */
  .hero span[style*="font-size: 3.5rem"] {
    font-size: 2.5rem !important;
  }

  .hero span[style*="font-size: 1.5rem"][style*="color: white"] {
    font-size: 1.2rem !important;
  }

  /* Price Badge Text - Mobile */
  .hero div[style*="font-size: 0.9rem"] {
    font-size: 0.8rem !important;
  }

  .hero div[style*="font-size: 0.85rem"] {
    font-size: 0.75rem !important;
  }

  .hero div[style*="font-size: 0.8rem"] {
    font-size: 0.7rem !important;
  }

  /* Security Badges Grid - Mobile Optimization */
  #oferta div[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  /* Individual Security Badge Cards */
  #oferta div[style*="padding: 12px 16px"][style*="border-radius: 12px"] {
    padding: 10px 12px !important;
  }

  /* Security Badge Icons */
  #oferta div[style*="padding: 12px 16px"] svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* Security Badge Text */
  #oferta div[style*="padding: 12px 16px"] div[style*="font-size: 0.9rem"] {
    font-size: 0.85rem !important;
  }

  #oferta div[style*="padding: 12px 16px"] div[style*="font-size: 0.75rem"] {
    font-size: 0.7rem !important;
  }

  /* Countdown Timer Mobile Optimization */
  .top-banner {
    font-size: 0.75rem !important;
    padding: 0.7rem 0.5rem !important;
    line-height: 1.3 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  #countdown {
    font-size: 0.85rem !important;
    display: inline-block !important;
    white-space: nowrap !important;
  }

  /* Prevent horizontal overflow on all elements */
  .hero,
  .hero * {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
  }

  /* Hero Description Mobile */
  .hero-desc {
    font-size: 1.1rem !important;
    line-height: 1.5 !important;
    padding: 0 0.5rem !important;
  }

  /* Ensure no element causes horizontal scroll */
  section,
  section * {
    box-sizing: border-box !important;
  }

  /* Fix for inline styles that might cause overflow */
  div[style*="max-width"],
  div[style*="padding"] {
    box-sizing: border-box !important;
  }
}

/* ========================================
   EXTRA SMALL SCREENS (iPhone SE, etc.)
   ======================================== */
@media (max-width: 400px) {

  /* Hero Title - Extra Small */
  h1 {
    font-size: clamp(1.6rem, 6vw, 2rem) !important;
    line-height: 1.1 !important;
    word-wrap: break-word !important;
  }

  /* Hero Price Badge - Extra Small */
  .hero span[style*="font-size: 2.5rem"] {
    font-size: 2rem !important;
  }

  .hero span[style*="font-size: 1.2rem"] {
    font-size: 1rem !important;
  }

  /* Countdown - Extra Small */
  .top-banner {
    font-size: 0.7rem !important;
    padding: 0.6rem 0.3rem !important;
  }

  #countdown {
    font-size: 0.8rem !important;
  }

  /* Container Extra Padding */
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Security Badges - Extra Small */
  #oferta div[style*="padding: 10px 12px"] {
    padding: 8px 10px !important;
    font-size: 0.8rem !important;
  }

  /* Buttons - Extra Small */
  .btn {
    font-size: 0.9rem !important;
    padding: 0.9rem 1.5rem !important;
  }

  /* Price in Offer Section - Extra Small */
  #oferta span[style*="font-size: 3.5rem"] {
    font-size: 2.8rem !important;
  }
}

/* Footer Redesign */
.main-footer {
  background: black;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

/* Mobile Footer */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-col h3 {
    margin-bottom: 1rem !important;
    /* Force override inline styles if needed */
  }
}

/* WhatsApp Button */
.btn-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 20px rgba(37, 211, 102, 0.2);
  z-index: 2000;
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.btn-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6), 0 0 30px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp svg {
  width: 35px;
  height: 35px;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .btn-whatsapp {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 55px;
    height: 55px;
  }
}

/* Cookie Banner Premium Styles */
.cookie-banner {
  position: fixed;
  bottom: -100px;
  left: 2rem;
  right: 2rem;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  visibility: hidden;
  opacity: 0;
}

.cookie-banner.show {
  bottom: 2rem;
  visibility: visible;
  opacity: 1;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.cookie-text p {
  color: var(--text-main);
  font-size: 1rem;
  margin: 0;
  max-width: none;
  text-align: left;
}

.btn-cookie {
  padding: 0.8rem 2rem;
  font-size: 0.9rem;
  min-height: auto;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    padding: 1.5rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }

  .cookie-text p {
    text-align: center;
    font-size: 0.9rem;
  }

  .cookie-banner.show {
    bottom: 1rem;
  }
}

/* WhatsApp Contact Section Premium */
.section-whatsapp-cta {
  background: radial-gradient(circle at center, rgba(37, 211, 102, 0.05), transparent 70%);
  padding-bottom: 5rem;
}

.whatsapp-box {
  background: linear-gradient(145deg, #0f172a, #1e1e2e);
  border: 2px solid #25d366;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.2);
}

.whatsapp-icon-large {
  width: 80px;
  height: 80px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon-large svg {
  width: 45px;
  height: 45px;
}

.btn-whatsapp-section {
  background: #25d366;
  color: white !important;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-section:hover {
  background: #128c7e;
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.6);
  transform: scale(1.05);
}

.mt-2 {
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .whatsapp-box {
    padding: 2.5rem 1.5rem;
  }

  .whatsapp-icon-large {
    width: 60px;
    height: 60px;
  }

  .whatsapp-icon-large svg {
    width: 35px;
    height: 35px;
  }
}

/* Objections Section */
.section-objections {
  background-color: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.objection-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.objection-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
}

.objection-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Market Value Badge for Projects */
.market-value-badge {
  background: var(--accent);
  color: black;
  font-weight: 800;
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

/* Urgency Banner in Offer */
.urgency-banner {
  background-color: rgba(220, 38, 38, 0.2);
  border: 1px solid #ef4444;
  color: #fca5a5;
  padding: 0.5rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

/* Enhancements for Mobile Legibility */
@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 1px !important;
  }

  .benefit-item {
    text-align: left;
    align-items: flex-start;
  }

  .benefit-item p {
    font-size: 0.95rem;
  }

  .objection-card {
    padding: 1.5rem;
  }
}

/* Career Section */
.section-career {
  background: linear-gradient(180deg, var(--bg-dark), #1e1e2e);
}

.career-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.career-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.career-item h3 {
  font-size: 1.25rem;
  margin: 1rem 0 0.5rem;
  color: var(--primary);
}

/* Curriculum & Bonuses */
.curriculum-box {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.module-list-simple {
  columns: 2;
  font-size: 1rem;
}

.module-list-simple li {
  margin-bottom: 0.8rem;
  color: var(--text-muted);
}

.module-list-simple strong {
  color: white;
}

.bonus-section {
  background: rgba(217, 70, 239, 0.05);
  /* Tint pink */
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(217, 70, 239, 0.2);
}

.bonus-card {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bonus-tag {
  background: var(--secondary);
  color: white;
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.bonus-card h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.bonus-value {
  margin-top: 1rem;
  font-weight: 800;
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 0.9rem;
  text-align: right;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .module-list-simple {
    columns: 1;
  }
}

/* Comparison Table */
.section-comparison {
  padding: 4rem 0;
  background: var(--bg-dark);
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  /* Force scroll on mobile if needed */
}

.comparison-table th,
.comparison-table td {
  padding: 1.2rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 1rem;
}

.comparison-table th {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.comparison-table th.highlight {
  color: var(--color-cyan);
  border-bottom: 2px solid var(--color-cyan);
}

.comparison-table td {
  color: var(--text-body);
}

.comparison-table td.highlight {
  color: white;
  background: rgba(6, 182, 212, 0.05);
  /* Cyan tint */
  font-weight: 500;
  border-left: 1px solid rgba(6, 182, 212, 0.1);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* Mobile Button Optimization */
@media (max-width: 768px) {
  .btn.btn-pulse {
    padding: 1rem 1rem;
    font-size: 0.85rem;
    width: 90%;
    display: block;
    margin: 0 auto;
    white-space: normal;
    line-height: 1.3;
  }
}

/* Reduce gap between Hero and Audience on Mobile */
@media (max-width: 768px) {
  .hero {
    padding-bottom: 2rem;
  }

  /* Target the section immediately following the hero */
  .hero+section {
    padding-top: 1rem;
  }
}

/* AI Disclaimer Box */
.ai-disclaimer-box {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin: 2rem auto;
  max-width: 600px;
  text-align: center;
  font-size: 0.9rem;
  color: white;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.ai-disclaimer-box strong {
  color: var(--primary);
}

/* Demo Section - Video Placeholder */
.video-placeholder {
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 4rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.1);
}

/* Objections List */
.objection-list li {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: rgba(255, 255, 255, 0.02);
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s;
}

.objection-list li:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Value Stack Section */
.value-stack {
  background: rgba(6, 182, 212, 0.03);
  border: 1px solid rgba(6, 182, 212, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 3rem 0;
}

.value-stack-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.value-stack-item:last-child {
  border-bottom: none;
}

.value-stack-title {
  font-weight: 600;
  color: white;
}

.value-stack-price {
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: line-through;
}

.value-total-box {
  background: var(--bg-dark);
  padding: 2rem;
  border-radius: var(--radius-md);
  margin-top: 2rem;
  text-align: right;
  border-left: 4px solid var(--color-cyan);
}

.total-original-price {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.total-offer-price {
  font-size: 2.5rem;
  color: var(--color-cyan);
  font-weight: 800;
  display: block;
}

/* Trust Badges */
.trust-badges-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.8;
  max-width: 120px;
  text-align: center;
}

.trust-badge-icon {
  width: 40px;
  height: 40px;
  color: var(--color-cyan);
}

.trust-badge-text {
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Guarantee Highlight */
.guarantee-highlight-box {
  background: linear-gradient(135deg, rgba(217, 70, 239, 0.1), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(217, 70, 239, 0.2);
  padding: 2rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
}

.guarantee-seal-icon {
  font-size: 4rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .guarantee-highlight-box {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .value-total-box {
    text-align: center;
  }
}

/* --- Optimized Vertical Video Styles --- */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  /* Optimal desktop width for 9:16 */
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(6, 182, 212, 0.2);
  border: 2px solid var(--primary);
  cursor: pointer;
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Video Overlay Controls */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s ease;
  pointer-events: none;
  /* Let clicks pass to wrapper/video */
  z-index: 10;
}

.video-overlay.hidden {
  opacity: 0;
}

.sound-hint {
  background: rgba(6, 182, 212, 0.9);
  color: black;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
  animation: bounce 2s infinite;
  pointer-events: auto;
  /* Allow clicking the hint too */
}

.play-pause-icon {
  font-size: 4rem;
  color: white;
  opacity: 0.8;
  margin-bottom: 1rem;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

@media (max-width: 768px) {
  .video-wrapper {
    max-width: 100%;
    /* Full width on mobile */
    border-radius: 12px;
  }

  .sound-hint {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
  }
}