
/* Sales Funnel Optimized Styles */
:root {
  --color-primary: #0A2540;
  --color-accent: #00B3FF;
  --color-white: #FFFFFF;
  --color-light-gray: #F5F7FA;
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.12);
  --transition: all 0.2s ease;
}

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--color-primary);
  color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.etapa { display: none; min-height: 100vh; padding: 64px 16px; }
.etapa.active { display: flex; animation: fadeIn 0.2s ease; }

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

.stage-content { max-width: 600px; margin: 0 auto; width: 100%; }

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('https://images.unsplash.com/photo-1535116759413-75a497be0db4?auto=format&fit=crop&w=1920&q=80&fm=webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.7);
}

.hero-content { position: relative; z-index: 10; text-align: center; padding: 32px; }
.hero-title { font-size: 2.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 24px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.hero-subtitle { font-size: 1.25rem; margin-bottom: 32px; opacity: 0.95; }
.social-proof { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.1); padding: 12px 20px; border-radius: 100px; margin-bottom: 32px; font-size: 0.9rem; }
.stars { color: #FBBF24; display: flex; gap: 2px; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 16px; font-size: 1.1rem; opacity: 0.9; }

.accent-text { color: var(--color-accent); }

.button-primary, .button-secondary {
  width: 100%;
  padding: 18px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
}

.button-primary { background: var(--color-accent); color: var(--color-white); box-shadow: var(--shadow); }
.button-primary:hover { background: #008FD1; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.button-primary:active { transform: translateY(0); }
.button-secondary { background: rgba(255, 255, 255, 0.1); color: var(--color-white); border: 1px solid rgba(255, 255, 255, 0.2); }
.button-secondary:hover { background: rgba(255, 255, 255, 0.2); }
.button-group { display: flex; flex-direction: column; gap: 16px; width: 100%; }

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}

.testimonial-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid var(--color-accent);
}

.testimonial-name { font-size: 1.25rem; font-weight: 600; margin-bottom: 4px; }
.testimonial-city { color: var(--color-accent); margin-bottom: 20px; font-size: 0.95rem; }
.testimonial-text { text-align: left; line-height: 1.8; white-space: pre-line; opacity: 0.9; }

input[type="text"], input[type="number"], input[type="email"], select {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  font-family: inherit;
  transition: var(--transition);
  margin-bottom: 24px;
}

input:focus, select:focus { outline: none; border-color: var(--color-accent); background: rgba(255, 255, 255, 0.08); }
input::placeholder { color: rgba(255, 255, 255, 0.5); }
select option { background: var(--color-primary); color: var(--color-white); }

.progress-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  overflow: hidden;
  margin: 24px 0;
}

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

.indicator-list { display: flex; flex-direction: column; gap: 20px; margin: 32px 0; }
.indicator-item { display: flex; flex-direction: column; gap: 8px; }
.indicator-header { display: flex; justify-content: space-between; align-items: center; font-size: 1rem; }
.indicator-value { color: var(--color-accent); font-weight: 700; font-size: 1.1rem; }
.indicator-bar { width: 100%; height: 8px; background: rgba(255, 255, 255, 0.1); border-radius: 100px; overflow: hidden; }
.indicator-fill { height: 100%; background: linear-gradient(90deg, var(--color-accent), #00D4FF); border-radius: 100px; transition: width 0.5s ease; }

.faq-container { display: flex; flex-direction: column; gap: 16px; max-height: 60vh; overflow-y: auto; padding-right: 8px; }
.faq-item { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); overflow: hidden; }
.faq-question { padding: 20px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.faq-question:hover { background: rgba(255, 255, 255, 0.08); }
.faq-icon { transition: transform 0.2s ease; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.2s ease, padding 0.2s ease; opacity: 0.9; }
.faq-item.open .faq-answer { max-height: 500px; padding: 0 20px 20px; }

.timer-container {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--color-error);
  border-radius: var(--radius);
  padding: 32px;
  margin: 24px 0;
  text-align: center;
}

.timer-label { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; opacity: 0.8; }
.timer-display { font-size: 4rem; font-weight: 800; font-family: 'Courier New', monospace; color: var(--color-error); letter-spacing: 4px; }

.price-old { font-size: 1.5rem; text-decoration: line-through; color: var(--color-error); opacity: 0.7; margin-bottom: 8px; }
.price-new { font-size: 3rem; font-weight: 800; color: var(--color-success); margin-bottom: 8px; }
.price-installment { font-size: 1.2rem; opacity: 0.9; margin-bottom: 32px; }

.feature-list { text-align: left; margin: 32px 0; }
.feature-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; padding: 12px; background: rgba(255, 255, 255, 0.03); border-radius: 6px; }
.feature-icon { color: var(--color-success); flex-shrink: 0; margin-top: 2px; }
.feature-text { font-size: 1rem; margin: 0; }

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 24px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-4 { margin-bottom: 32px; }
.mb-6 { margin-bottom: 48px; }
.mt-4 { margin-top: 32px; }

@media (max-width: 768px) {
  .hero-title { font-size: 1.8rem; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .timer-display { font-size: 3rem; }
  .price-new { font-size: 2.5rem; }
  .etapa { padding: 32px 16px; }
}
