/* CSS Variables for Premium Theme Design */
:root {
  --bg-dark-blue: #0B1E26;
  --bg-dark-blue-rgb: 11, 30, 38;
  --bg-cream: #F4F7F6;
  --bg-cream-card: #FAFDFB;
  --accent-red: #0D9488;
  --accent-red-hover: #0F766E;
  --accent-red-rgb: 13, 148, 136;
  --accent-yellow: #EAB308;
  
  --text-dark: #111E25;
  --text-muted: #4A5D66;
  --text-light: #F0FDF4;
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
  
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
}

/* Typography Utility Classes */
.text-accent-red { color: var(--accent-red); }
.text-accent-yellow { color: var(--accent-yellow); }
.text-light { color: var(--text-light); }
.bg-dark-blue { background-color: var(--bg-dark-blue); }

/* Announcement Bar */
.announcement-bar {
  background-color: var(--accent-red);
  color: var(--text-light);
  text-align: center;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  text-transform: uppercase;
}

/* Header */
.main-header {
  background-color: var(--bg-cream);
  border-bottom: 1px solid rgba(var(--bg-dark-blue-rgb), 0.08);
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.4rem;
  color: var(--bg-dark-blue);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

.logo-subtitle {
  font-size: 0.68rem;
  color: var(--accent-red);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.phone-cta-btn {
  background-color: var(--bg-dark-blue);
  color: var(--text-light);
  padding: 12px 20px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
}

.phone-cta-btn:hover {
  background-color: transparent;
  color: var(--bg-dark-blue);
  border-color: var(--bg-dark-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero-section {
  background-color: var(--bg-dark-blue);
  color: var(--text-light);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle, rgba(var(--accent-red-rgb), 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-description {
  font-size: 1.15rem;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 500px;
}

.hero-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.1rem;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.hero-bullets li::before {
  content: '✓';
  color: var(--accent-yellow);
  font-weight: 900;
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.hero-btn {
  flex: 1;
  padding: 16px 20px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid var(--text-light);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.hero-btn.phone {
  background-color: transparent;
  color: var(--text-light);
}

.hero-btn.phone:hover {
  background-color: var(--text-light);
  color: var(--bg-dark-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.hero-btn.whatsapp {
  background-color: transparent;
  color: var(--text-light);
}

.hero-btn.whatsapp:hover {
  background-color: #25D366;
  border-color: #25D366;
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Multi-step Form Card */
.form-card {
  background-color: var(--bg-cream-card);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-premium);
  color: var(--text-dark);
  border: 1px solid rgba(var(--bg-dark-blue-rgb), 0.05);
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

/* Progress bar dashes */
.progress-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.progress-step {
  flex: 1;
  height: 4px;
  background-color: rgba(var(--bg-dark-blue-rgb), 0.1);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.progress-step.active {
  background-color: var(--bg-dark-blue);
}

.progress-step.completed {
  background-color: var(--accent-red);
}

/* Back Link */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  background: none;
  margin-bottom: 20px;
  align-self: flex-start;
  transition: var(--transition-fast);
}

.back-btn:hover {
  color: var(--bg-dark-blue);
  transform: translateX(-3px);
}

/* Step Layout */
.form-step {
  display: none;
  flex-direction: column;
  flex-grow: 1;
  animation: slideFadeIn 0.4s ease forwards;
}

.form-step.active {
  display: flex;
}

.step-question {
  font-size: 1.5rem;
  color: var(--bg-dark-blue);
  margin-bottom: 20px;
  font-weight: 800;
}

.step-subtext {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: -12px;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Options Wrapper */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

/* Option Cards (Buttons styled as radio buttons) */
.option-card {
  background-color: white;
  border: 1px solid rgba(var(--bg-dark-blue-rgb), 0.15);
  padding: 14px 20px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.option-card:hover {
  border-color: var(--bg-dark-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background-color: rgba(var(--bg-dark-blue-rgb), 0.02);
}

.option-card.selected {
  border-color: var(--bg-dark-blue);
  background-color: rgba(var(--bg-dark-blue-rgb), 0.06);
  box-shadow: 0 0 0 1.5px var(--bg-dark-blue);
}

.option-index {
  background-color: rgba(var(--bg-dark-blue-rgb), 0.08);
  border-radius: 4px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bg-dark-blue);
  transition: var(--transition-fast);
}

.option-card.selected .option-index {
  background-color: var(--bg-dark-blue);
  color: white;
}

.option-emoji {
  font-size: 1.25rem;
}

/* Form Inputs styling */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bg-dark-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input {
  padding: 14px 16px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(var(--bg-dark-blue-rgb), 0.2);
  background-color: white;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(var(--accent-red-rgb), 0.15);
}

.form-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* Action row for buttons */
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: 16px;
}

.submit-btn {
  background-color: var(--accent-red);
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 6px rgba(var(--accent-red-rgb), 0.2);
  min-width: 140px;
  justify-content: center;
}

.submit-btn:hover:not(:disabled) {
  background-color: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(var(--accent-red-rgb), 0.3);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.tally-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Success Step */
.success-step {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 10px;
  flex-grow: 1;
  animation: slideFadeIn 0.5s ease forwards;
}

.success-step.active {
  display: flex;
}

.success-icon-container {
  width: 72px;
  height: 72px;
  background-color: rgba(37, 211, 102, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #25d366;
  font-size: 2.2rem;
}

.success-title {
  font-size: 1.8rem;
  color: var(--bg-dark-blue);
  margin-bottom: 12px;
}

.success-message {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 360px;
  margin-bottom: 28px;
}

/* How It Works Section */
.how-it-works {
  background-color: var(--bg-cream);
  padding: 90px 24px;
}

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

.section-title {
  font-size: 2.4rem;
  color: var(--bg-dark-blue);
  margin-bottom: 48px;
  position: relative;
  text-transform: uppercase;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 4px;
  background-color: var(--accent-red);
  border-radius: 2px;
}

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

.step-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(var(--bg-dark-blue-rgb), 0.04);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--bg-dark-blue-rgb), 0.1);
}

.step-num {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-red);
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-card h3 {
  font-size: 1.3rem;
  color: var(--bg-dark-blue);
}

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

/* Banner section: Si no ganas, no pagas nada! */
.slogan-banner {
  background-color: var(--accent-red);
  color: white;
  padding: 48px 24px;
  text-align: center;
}

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

.slogan-text {
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* Trust Badges Bar */
.trust-badges {
  background-color: white;
  padding: 30px 24px;
  border-bottom: 1px solid rgba(var(--bg-dark-blue-rgb), 0.05);
}

.badges-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bg-dark-blue);
  opacity: 0.85;
}

.badge-icon {
  font-size: 1.5rem;
  color: var(--accent-red);
}

/* Footer Section */
.main-footer {
  background-color: var(--bg-dark-blue);
  color: var(--text-light);
  padding: 70px 24px 30px 24px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: white;
  text-transform: uppercase;
}

.footer-brand-desc {
  font-size: 0.92rem;
  opacity: 0.75;
  max-width: 320px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-yellow);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.95rem;
}

.footer-links a {
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-yellow);
  transform: translateX(4px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.contact-icon {
  width: 20px;
  text-align: center;
  color: var(--accent-yellow);
  font-size: 1.1rem;
}

.contact-label {
  opacity: 0.7;
  font-size: 0.85rem;
  display: block;
}

.contact-value {
  font-weight: 600;
  transition: var(--transition-fast);
}

.contact-value:hover {
  color: var(--accent-yellow);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(249, 250, 251, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  opacity: 0.6;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  text-decoration: underline;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
  font-size: 1.8rem;
  transition: var(--transition-smooth);
  animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Keyframes Animations */
@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content {
    text-align: center;
    align-items: center;
  }
  
  .hero-title {
    font-size: 2.6rem;
  }
  
  .hero-description {
    margin: 0 auto;
  }
  
  .hero-bullets {
    align-items: center;
  }
  
  .hero-actions {
    width: 100%;
    max-width: 500px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .header-container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .form-card {
    padding: 24px;
    min-height: 480px;
  }
  
  .step-question {
    font-size: 1.3rem;
  }
  
  .option-card {
    font-size: 0.9rem;
    padding: 12px 16px;
  }
  
  .slogan-text {
    font-size: 1.6rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
