/* ==========================================================================
   LANDING PAGE STYLES - PÁGINA DE VENDAS DE ALTA CONVERSÃO (MOBILE-FIRST)
   Otimizado para tráfego pago (Meta Ads, TikTok Ads, Google Ads)
   ========================================================================== */

/* Barra de Urgência no Topo */
.top-urgency-bar {
  background: linear-gradient(90deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.35);
}

.top-urgency-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  flex-wrap: wrap;
}

.countdown-timer {
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fef08a;
  display: inline-block;
}

/* Cabeçalho da Landing Page (Totalmente Responsivo Mobile-First) */
.landing-header {
  padding: 14px 0;
  border-bottom: 1px solid var(--bg-card-border);
  background: rgba(9, 13, 22, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  z-index: 100;
}

.landing-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.landing-header-btn {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(5, 150, 105, 0.08) 100%);
  color: #34d399;
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  cursor: pointer;
}

.landing-header-btn:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(5, 150, 105, 0.2) 100%);
  border-color: #10b981;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

@media (max-width: 580px) {
  .landing-header {
    padding: 10px 0;
  }

  .landing-header .brand {
    font-size: 1.05rem;
    gap: 8px;
  }

  .landing-header .brand-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    border-radius: 8px;
  }

  .landing-header-btn {
    padding: 7px 12px;
    font-size: 0.8rem;
    gap: 4px;
    border-radius: 8px;
  }
}

@media (max-width: 375px) {
  .landing-header .brand {
    font-size: 0.95rem;
    gap: 6px;
  }

  .landing-header .brand-icon {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .landing-header-btn {
    padding: 6px 10px;
    font-size: 0.76rem;
  }
}

/* Hero Section Mobile-First */
.hero-section {
  padding: 35px 0 30px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

@media (min-width: 769px) {
  .hero-section {
    padding: 65px 0 50px;
  }
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, rgba(9, 13, 22, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-badge-wrap {
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(1.8rem, 5.5vw, 3rem);
  font-weight: 850;
  line-height: 1.18;
  margin-bottom: 16px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.025em;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.18rem);
  color: #cbd5e1;
  max-width: 740px;
  margin: 0 auto 28px;
  line-height: 1.55;
}

.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  width: 100%;
}

.hero-cta-wrap .btn {
  width: 100%;
  max-width: 480px;
}

.hero-security-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  color: var(--text-subtle);
  font-size: 0.8rem;
  font-weight: 600;
  flex-wrap: wrap;
}

.hero-security-tags span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Teaser / Mini Simulador Demo Mobile-First */
.hero-demo-box {
  background: linear-gradient(180deg, #131c2d 0%, #0d1422 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  max-width: 820px;
  margin: 30px auto 0;
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.7), 0 0 25px rgba(16, 185, 129, 0.12);
  position: relative;
  text-align: left;
}

@media (min-width: 769px) {
  .hero-demo-box {
    padding: 34px;
    margin-top: 40px;
  }
}

.hero-demo-badge {
  position: absolute;
  top: -12px;
  left: 20px;
}

.demo-header {
  margin-bottom: 18px;
  margin-top: 6px;
}

.demo-header h3 {
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  margin-bottom: 4px;
}

.demo-header p {
  font-size: 0.88rem;
}

/* Sliders Otimizados para Touch Screen */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 6px;
  background: #1f293d;
  outline: none;
  margin: 10px 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #10b981;
  border: 3px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover,
input[type="range"]::-webkit-slider-thumb:active {
  transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #10b981;
  border: 3px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.demo-preview-card {
  background: rgba(0, 0, 0, 0.45);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 20px;
}

@media (min-width: 769px) {
  .demo-preview-card {
    padding: 24px;
  }
}

/* Seções de Conteúdo Mobile */
.errors-section, .comparison-section, .products-showcase-section, .testimonials-section, .faq-section {
  padding: 50px 0;
}

@media (min-width: 769px) {
  .errors-section, .comparison-section, .products-showcase-section, .testimonials-section, .faq-section {
    padding: 80px 0;
  }
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 35px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 4.5vw, 2.3rem);
  margin-bottom: 10px;
}

.section-header p {
  font-size: clamp(0.92rem, 2.5vw, 1.08rem);
}

.error-card {
  background: #111827;
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 16px;
  transition: var(--transition);
}

.error-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.error-content h4 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.error-content p {
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Comparativo Responsivo (Table no Desktop, Cards no Mobile) */
.comparison-table-wrap {
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-card-border);
  background: #111827;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-table th {
  background: #162032;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.comparison-table td {
  font-size: 0.92rem;
}

.col-bad {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.03);
}

.col-good {
  color: #86efac;
  background: rgba(16, 185, 129, 0.05);
  font-weight: 600;
}

/* No Mobile: Converte em blocos comparativos limpos sem scroll lateral */
@media (max-width: 680px) {
  .comparison-table, 
  .comparison-table tbody, 
  .comparison-table tr, 
  .comparison-table td {
    display: block;
    width: 100%;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tr {
    padding: 16px;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
  }

  .comparison-table tr:last-child {
    border-bottom: none;
  }

  .comparison-table td:first-child {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    padding: 0 0 10px 0;
    border-bottom: none;
  }

  .comparison-table td.col-bad {
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: flex;
    align-items: flex-start;
    gap: 6px;
  }
  .comparison-table td.col-bad::before {
    content: '❌ Empresa: ';
    font-weight: 700;
    color: #ef4444;
    flex-shrink: 0;
  }

  .comparison-table td.col-good {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 1px solid rgba(16, 185, 129, 0.25);
    display: flex;
    align-items: flex-start;
    gap: 6px;
  }
  .comparison-table td.col-good::before {
    content: '✓ Calculadora: ';
    font-weight: 700;
    color: #34d399;
    flex-shrink: 0;
  }
}

/* Showcase dos Produtos */
.product-feature-card {
  background: #111827;
  border: 1.5px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: relative;
  transition: var(--transition);
}

@media (min-width: 769px) {
  .product-feature-card {
    padding: 32px;
  }
}

.product-feature-card.main-highlight {
  border-color: var(--primary);
  background: linear-gradient(180deg, #131c2d 0%, #111827 100%);
  box-shadow: 0 15px 35px -10px rgba(16, 185, 129, 0.3);
}

.product-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 12px;
}

.product-feature-card h3 {
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  margin-bottom: 10px;
}

.product-feature-list {
  list-style: none;
  margin: 18px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.product-feature-list li svg {
  color: #34d399;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Depoimentos */
.testimonial-card {
  background: #111827;
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}

.user-info h5 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.user-info span {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

.stars-rating {
  color: #f59e0b;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.testimonial-benefit {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #34d399;
  font-weight: 700;
}

/* BOX DE OFERTA IRRESISTÍVEL (SEM CHECKBOXES) */
.checkout-box-section {
  padding: 60px 0 80px;
  position: relative;
}

@media (min-width: 769px) {
  .checkout-box-section {
    padding: 90px 0;
  }
}

.pricing-card {
  background: linear-gradient(180deg, #131c2d 0%, #0d131f 100%);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 26px 18px;
  max-width: 740px;
  margin: 0 auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 45px rgba(16, 185, 129, 0.25);
  position: relative;
}

@media (min-width: 600px) {
  .pricing-card {
    padding: 40px;
  }
}

.pricing-header {
  text-align: center;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  padding-bottom: 22px;
  margin-bottom: 24px;
}

.pricing-header h3 {
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  margin-bottom: 8px;
}

.pricing-amount-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 14px 0;
}

.pricing-old {
  font-size: 1.15rem;
  color: #64748b;
  text-decoration: line-through;
}

.pricing-currency {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
}

.pricing-number {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 10vw, 4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

/* Teaser dos Order Bumps que estarão no Checkout */
.checkout-upsell-preview {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 24px;
}

.checkout-upsell-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-bump-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.checkout-bump-item:last-child {
  margin-bottom: 0;
}

.checkout-bump-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.checkout-bump-text strong {
  font-size: 0.92rem;
  color: #ffffff;
  display: block;
  margin-bottom: 2px;
}

.checkout-bump-text p {
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Garantia */
.guarantee-box {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 24px;
}

@media (max-width: 600px) {
  .guarantee-box {
    flex-direction: column;
    text-align: center;
  }
}

.guarantee-badge-img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  flex-shrink: 0;
}

.guarantee-text h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.guarantee-text p {
  font-size: 0.84rem;
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #111827;
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  color: #ffffff;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 18px;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.55;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* BARRA FLUTUANTE MOBILE FIXA NO RODAPÉ (STICKY BOTTOM BAR) */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(17, 24, 39, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1.5px solid rgba(16, 185, 129, 0.35);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  z-index: 990;
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.6);
}

.mobile-sticky-bar.visible {
  transform: translateY(0);
}

.mobile-sticky-info {
  display: flex;
  flex-direction: column;
}

.mobile-sticky-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mobile-sticky-price {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: #34d399;
}

.mobile-sticky-bar .btn {
  padding: 10px 18px;
  font-size: 0.92rem;
  flex-shrink: 0;
}

@media (min-width: 769px) {
  .mobile-sticky-bar {
    display: none !important;
  }
}
