:root {
  --bg: #080b10;
  --surface: #0d1117;
  --surface2: #161b22;
  --border: #21262d;
  --accent: #00e5a0;
  --accent2: #0077ff;
  --danger: #ff4757;
  --text: #e6edf3;
  --muted: #7d8590;
  --mono: 'Space Mono', monospace;
  --sans: 'Outfit', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,160,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,160,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Glow orb */
body::after {
  content: '';
  position: fixed;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,119,255,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── HEADER ── */
header {
  position: relative;
  z-index: 10;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(8,11,16,0.8);
  backdrop-filter: blur(12px);
}

.logo {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo span { color: var(--muted); }

.header-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px 60px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  border: 1px solid rgba(0,229,160,0.3);
  background: rgba(0,229,160,0.05);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 32px;
  letter-spacing: 1px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

h1 {
  font-family: var(--sans);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

h1 .highlight {
  color: var(--accent);
  position: relative;
}

h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0.3;
  border-radius: 2px;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.6;
  font-weight: 400;
}

/* ── STATS ── */
.stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.5px;
}

/* ── CTA BUTTON ── */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: #000;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 16px;
  padding: 18px 40px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: -0.3px;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.2s;
}

.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,229,160,0.3); }
.cta-btn:hover::before { opacity: 1; }
.cta-btn:active { transform: translateY(0); }

.cta-arrow { font-size: 20px; transition: transform 0.2s; }
.cta-btn:hover .cta-arrow { transform: translateX(4px); }

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  color: var(--accent);
  border: 2px solid var(--accent);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.cta-btn-secondary:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,229,160,0.3);
}

/* ── FEATURES ── */
.features {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ── RESPONSIVE / MOBILE ── */
@media (max-width: 768px) {
  header { 
    padding: 16px 20px; 
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero { 
    padding: 48px 20px 40px; 
  }

  h1 {
    font-size: clamp(32px, 8vw, 48px);
  }

  .hero-sub {
    font-size: 16px;
  }

  .stats {
    gap: 32px;
  }

  .features { 
    grid-template-columns: 1fr; 
    padding: 0 20px;
    gap: 12px;
  }

  /* Modal adjustments */
  .quiz-modal {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .quiz-header {
    padding: 20px 20px 0;
  }

  .quiz-body {
    padding: 24px 20px;
  }

  .step-question {
    font-size: 20px;
  }

  /* Options & Checkboxes to single column on mobile */
  .options-grid {
    grid-template-columns: 1fr !important;
  }

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

  .feature-toggle-list {
    grid-template-columns: 1fr;
  }

  /* Smaller OTP inputs */
  .otp-digit {
    width: 42px;
    height: 52px;
    font-size: 20px;
  }

  .otp-input-wrapper {
    gap: 8px;
  }

  /* Phone input adjustments */
  .phone-input-wrapper {
    flex-direction: row;
    gap: 8px;
  }

  .country-select {
    flex: 0 0 90px;
    padding: 12px 8px;
    height: 44px;
    font-size: 13px;
    line-height: 1;
  }

  .phone-number-input {
    flex: 1;
  }

  /* Button adjustments */
  .cta-btn {
    padding: 16px 32px;
    font-size: 15px;
    width: 100%;
  }

  .btn-next {
    padding: 12px 24px;
    font-size: 14px;
  }

  .btn-back {
    padding: 12px 20px;
    font-size: 13px;
  }

  /* Result breakdown */
  .result-price {
    font-size: clamp(28px, 10vw, 42px);
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 16px;
  }

  .logo-img {
    height: 32px;
  }

  .header-tag {
    font-size: 10px;
    padding: 4px 10px;
  }

  .hero-badge {
    font-size: 10px;
    padding: 5px 12px;
  }

  h1 {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .hero-sub {
    font-size: 15px;
    margin-bottom: 32px;
  }

  .stats {
    gap: 24px;
  }

  .stat-num {
    font-size: 24px;
  }

  .stat-label {
    font-size: 11px;
  }

  .option-btn {
    padding: 14px 16px;
  }

  .option-text {
    font-size: 13px;
  }

  .option-sub {
    font-size: 11px;
  }

  .checkbox-item {
    padding: 10px 14px;
    font-size: 12px;
  }

  .otp-digit {
    width: 38px;
    height: 48px;
    font-size: 18px;
  }

  .otp-input-wrapper {
    gap: 6px;
  }

  .input-field,
  .country-select {
    padding: 10px 8px;
    height: 40px;
    font-size: 13px;
    line-height: 1;
  }
  
  .country-select {
    flex: 0 0 80px;
  }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.2s;
}

.feature-card:hover { border-color: rgba(0,229,160,0.3); }

.feature-icon {
  font-size: 24px;
  margin-bottom: 12px;
  display: block;
}

.feature-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.feature-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── MODAL OVERLAY ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active { display: flex; }

/* ── QUIZ MODAL ── */
.quiz-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
}

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

/* Progress bar */
.progress-bar-wrap {
  height: 3px;
  background: var(--border);
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--accent);
  transition: width 0.4s ease;
  border-radius: 3px;
}

.quiz-header {
  padding: 28px 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-counter {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.step-counter span { color: var(--accent); }

.close-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

.close-btn:hover { color: var(--text); }

.quiz-body { padding: 32px; }

.step { display: none; }
.step.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

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

@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.95); }
  50% { transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); }
}

.step-question {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.step-hint {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

/* Options grid */
.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

.options-grid.single { grid-template-columns: 1fr; }

.option-btn {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
  color: var(--text);
  font-family: var(--sans);
}

.option-btn:hover {
  border-color: var(--accent);
  background: rgba(0,229,160,0.05);
}

.option-btn.selected {
  border-color: var(--accent);
  background: rgba(0,229,160,0.08);
}

.option-btn.selected .option-check { opacity: 1; }

.option-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.option-text {
  font-size: 14px;
  font-weight: 600;
}

.option-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.option-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #000;
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.option-icon {
  font-size: 20px;
  margin-bottom: 8px;
  display: block;
}

/* Checkboxes (multi-select) */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 28px;
}

.checkbox-item {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.15s;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.checkbox-item:hover { border-color: rgba(0,229,160,0.4); }

.checkbox-item.checked {
  border-color: var(--accent);
  background: rgba(0,229,160,0.07);
}

.checkbox-box {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--muted);
  border-radius: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  transition: all 0.15s;
}

.checkbox-item.checked .checkbox-box {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.checkbox-item.checked .checkbox-box::after {
  content: '✓';
}

/* Inputs */
.input-group {
  margin-bottom: 16px;
}

.input-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.input-field {
  width: 100%;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 0.15s;
  outline: none;
}

.input-field:focus { border-color: var(--accent); }
.input-field::placeholder { color: var(--muted); }

/* Phone input with country code */
.phone-input-wrapper {
  display: flex;
  gap: 8px;
}

.country-select {
  flex: 0 0 120px;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 14px 12px;
  height: 48px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 0.15s;
  outline: none;
  cursor: pointer;
  line-height: 1;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.country-select:focus { border-color: var(--accent); }

.phone-number-input {
  flex: 1;
}

/* OTP Input */
.otp-input-wrapper {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
}

.otp-digit {
  width: 50px;
  height: 60px;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--mono);
  transition: border-color 0.15s;
  outline: none;
}

.otp-digit:focus { border-color: var(--accent); }

.resend-code {
  background: none;
  border: none;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 16px;
  padding: 8px;
}

.resend-code:hover { color: #00ffb3; }
.resend-code:disabled { color: var(--muted); cursor: not-allowed; text-decoration: none; }

.error-message {
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.3);
  border-radius: 6px;
  padding: 12px;
  color: var(--danger);
  font-size: 13px;
  margin-top: 12px;
  display: none;
}

.error-message.visible { display: block; }

.success-message {
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.3);
  border-radius: 6px;
  padding: 12px;
  color: var(--accent);
  font-size: 13px;
  margin-top: 12px;
  display: none;
}

.success-message.visible { display: block; }

/* Loading spinner */
.spinner {
  border: 2px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  margin-left: 8px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#recaptcha-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

/* Nav buttons */
.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.btn-back {
  background: none;
  border: 1.5px solid var(--border);
  color: var(--muted);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-back:hover { border-color: var(--muted); color: var(--text); }

.btn-next {
  flex: 1;
  background: var(--accent);
  color: #000;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-next:hover { background: #00ffb3; transform: translateY(-1px); }
.btn-next:disabled { background: var(--border); color: var(--muted); cursor: not-allowed; transform: none; }

/* ── RESULT STEP ── */
.result-header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  background: rgba(0,229,160,0.1);
  border: 1px solid rgba(0,229,160,0.2);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.result-price {
  font-family: var(--mono);
  font-size: clamp(32px, 8vw, 52px);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
}

.result-price .currency {
  font-size: 0.5em;
  color: var(--muted);
  vertical-align: super;
}

.result-range {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono);
}

.result-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.breakdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  transition: all 0.15s;
}

.breakdown-item.interactive {
  cursor: pointer;
}

.breakdown-item.interactive:hover {
  border-color: var(--accent);
  background: rgba(0,229,160,0.05);
}

.breakdown-item.expanded {
  flex-direction: column;
  align-items: flex-start;
}

.breakdown-label {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breakdown-value {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
}

.expand-icon {
  font-size: 12px;
  margin-left: 8px;
  color: var(--muted);
  transition: transform 0.2s;
}

.breakdown-item.expanded .expand-icon {
  transform: rotate(180deg);
}

.features-detail {
  width: 100%;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: none;
}

.breakdown-item.expanded .features-detail {
  display: block;
}

.feature-toggle-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.feature-toggle-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
  font-size: 12px;
  color: var(--text);
}

.feature-toggle-item:hover { 
  border-color: rgba(0,229,160,0.4); 
}

.feature-toggle-item.active {
  border-color: var(--accent);
  background: rgba(0,229,160,0.07);
}

.feature-toggle-box {
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--muted);
  border-radius: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  transition: all 0.15s;
}

.feature-toggle-item.active .feature-toggle-box {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.feature-toggle-item.active .feature-toggle-box::after {
  content: '✓';
}

.price-update-notice {
  font-size: 11px;
  color: var(--accent);
  font-family: var(--mono);
  text-align: center;
  margin-top: 8px;
}

.result-note {
  background: rgba(0,119,255,0.06);
  border: 1px solid rgba(0,119,255,0.2);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
  text-align: center;
}

.result-note strong { color: var(--text); }

.btn-whatsapp {
  width: 100%;
  background: #25D366;
  color: #fff;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 16px;
  padding: 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
  margin-bottom: 10px;
}

.btn-whatsapp:hover { background: #20bd5a; transform: translateY(-1px); }

.result-disclaimer {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  font-family: var(--mono);
}

/* ── CTA FINAL ── */
.final-cta {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 80px auto;
  padding: 60px 24px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.final-cta h2 {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.final-cta p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
}

/* ── FOOTER ── */
footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

footer a { color: var(--accent); text-decoration: none; }

/* ── NUEVAS SECCIONES ── */

/* Cómo funciona */
.how-it-works {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  margin: 0 auto 80px;
  padding: 60px 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--muted);
}

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

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}

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

.step-number {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(0,229,160,0.1);
  border: 1px solid rgba(0,229,160,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.step-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Testimonios */
.testimonials {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 40px;
}

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

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s;
}

.testimonial-card:hover {
  border-color: rgba(0,229,160,0.3);
  transform: translateY(-2px);
}

.testimonial-stars {
  color: #FFC107;
  font-size: 16px;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  font-size: 32px;
}

.author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.author-role {
  font-size: 12px;
  color: var(--muted);
}

/* Clientes */
.clients {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 40px;
  text-align: center;
}

.clients-header {
  font-size: 13px;
  font-family: var(--mono);
  color: var(--muted);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.clients-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.client-logo {
  font-size: 40px;
  opacity: 0.6;
  transition: opacity 0.3s;
  filter: grayscale(100%);
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* FAQ */
.faq {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto 80px;
  padding: 0 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
}

.faq-item:hover {
  border-color: rgba(0,229,160,0.3);
}

.faq-question {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  user-select: none;
}

.faq-icon {
  font-size: 12px;
  color: var(--muted);
  transition: transform 0.2s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 20px 18px 20px;
}

/* Contador de funcionalidades */
.features-counter {
  background: rgba(0,229,160,0.08);
  border: 1px solid rgba(0,229,160,0.2);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 13px;
}

.features-price {
  color: var(--accent);
  font-weight: 700;
}

.skip-features-note {
  background: rgba(0,119,255,0.06);
  border: 1px solid rgba(0,119,255,0.2);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Input errors */
.input-error {
  font-size: 12px;
  color: var(--danger);
  margin-top: 6px;
  font-family: var(--mono);
}

.phone-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  font-style: italic;
}

/* Timeline result */
.result-timeline {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeline-icon {
  font-size: 24px;
}

.timeline-text strong {
  font-size: 13px;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

.timeline-weeks {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--accent);
  font-weight: 700;
}

/* Botones de edición */
.edit-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.btn-edit {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-edit:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Contact options */
.contact-options {
  margin-bottom: 16px;
}

/* Estilos de email/divider deshabilitados */
/*
.contact-divider {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin: 12px 0;
  font-family: var(--mono);
}

.btn-email {
  width: 100%;
  background: var(--surface2);
  color: var(--text);
  border: 1.5px solid var(--border);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  padding: 14px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}

.btn-email:hover {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--accent);
}
*/

/* Exit Intent Modal */
.exit-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
  max-width: 480px;
  text-align: center;
  position: relative;
  animation: slideUp 0.3s ease;
}

.exit-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.exit-modal h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.exit-modal p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-schedule {
  width: 100%;
  background: var(--accent);
  color: #000;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 16px;
  padding: 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  margin-bottom: 12px;
  transition: all 0.2s;
}

.btn-schedule:hover {
  background: #00ffb3;
  transform: translateY(-1px);
}

.btn-continue-quote {
  width: 100%;
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-continue-quote:hover {
  border-color: var(--text);
  color: var(--text);
}

/* Responsive para nuevas secciones */
@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .clients-logos {
    gap: 20px;
  }
  
  .client-logo {
    font-size: 32px;
  }
  
  .edit-buttons {
    flex-direction: column;
  }
  
  .btn-edit {
    width: 100%;
  }
  
  .how-it-works,
  .testimonials,
  .faq {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .exit-modal {
    margin: 20px;
    padding: 32px 24px;
  }
  
  .exit-modal h3 {
    font-size: 20px;
  }
  
  .exit-icon {
    font-size: 48px;
  }
  
  .section-header h2 {
    font-size: 24px;
  }
  
  .features-counter {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  
  .result-timeline {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .final-cta {
    margin: 60px auto;
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .step-card {
    padding: 24px 20px;
  }
  
  .step-icon {
    font-size: 40px;
  }

  .final-cta {
    margin: 40px auto;
    padding: 32px 20px;
  }

  .final-cta p {
    font-size: 16px;
  }
  
  .testimonial-card {
    padding: 20px;
  }
  
  .faq-question {
    font-size: 14px;
    padding: 14px 16px;
  }
  
  .faq-answer {
    font-size: 13px;
  }
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  text-decoration: none;
  color: white;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
  transform: translateY(-2px) scale(1.02);
}

/* Animación de pulso */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: rgba(37, 211, 102, 0.3);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }
  
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
  
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}
