
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&display=swap');

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

:root {
  --background: hsl(216, 55%, 13%);
  --foreground: hsl(0, 0%, 100%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(220, 23%, 15%);
  --primary: hsl(220, 55%, 13%);
  --secondary: hsl(224, 64%, 33%);
  --muted: hsl(220, 23%, 95%);
  --muted-foreground: hsl(220, 23%, 15%);
  --accent: hsl(4, 64%, 47%);
  --accent-foreground: hsl(0, 0%, 100%);
  --border: hsl(220, 23%, 85%);
  --hero-bg: hsl(216, 55%, 13%);
  --section-dark: hsl(224, 64%, 33%);
  --section-light: hsl(220, 23%, 95%);
  --text-light: hsl(220, 23%, 15%);
  --radius: 0.25rem;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
input { font-family: inherit; }

/* Utility classes */
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); }
.section-dark { background-color: var(--hero-bg); color: var(--foreground); }
.section-blue { background-color: var(--section-dark); color: var(--foreground); }
.section-light { background-color: var(--section-light); color: var(--text-light); }
.text-secondary-alpha { color: rgba(255,255,255,0.70); }
.text-body-alpha { color: rgba(255,255,255,0.82); }
.text-subtle-alpha { color: rgba(255,255,255,0.45); }

/* Animations */
@keyframes fadeUp { from { opacity:0; transform:translateY(40px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeOverlay { from { opacity:0; } to { opacity:1; } }
@keyframes popIn { from { opacity:0; transform:scale(0.92); } to { opacity:1; transform:scale(1); } }
@keyframes slideUpFade { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
@keyframes waPulse { 0% { transform:scale(1); opacity:0.6; } 100% { transform:scale(1.5); opacity:0; } }
@keyframes checkDraw { to { stroke-dashoffset:0; } }

.animate-fade-up { animation: fadeUp 0.7s ease-out forwards; opacity:0; }
.animate-fade-up-delay-1 { animation: fadeUp 0.7s ease-out 0.2s forwards; opacity:0; }
.animate-fade-up-delay-2 { animation: fadeUp 0.7s ease-out 0.4s forwards; opacity:0; }
.fade-in-view { opacity:0; transform:translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in-view.visible { opacity:1; transform:translateY(0); }

/* ===== HERO ===== */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero .mobile-bg { display: none; }
.hero .content { display: flex; align-items: center; gap: 2rem; }
.hero .left { width: 55%; display: flex; flex-direction: column; gap: 1.5rem; }
.hero .right { width: 45%; display: flex; justify-content: flex-end; }
.hero .right .img-wrap { position: relative; width: 100%; max-width: 32rem; }
.hero .right img { width: 100%; border-radius: 4px; object-fit: cover; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.hero .right .overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--hero-bg) 0%, transparent 60%); border-radius: 4px; opacity: 0.6; }
.hero h1 { font-weight: 900; font-size: 64px; line-height: 1.05; color: var(--foreground); }
.hero h1 .accent { color: var(--accent); }
.hero .sub { color: rgba(255,255,255,0.70); font-size: 18px; line-height: 1.6; max-width: 520px; }

/* Form */
.lead-form { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; max-width: 28rem; }
.lead-form input[type="text"],
.lead-form input[type="email"] {
  height: 52px; padding: 0 1rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px; color: #fff; font-size: 16px; outline: none; transition: border-color 0.2s;
}
.lead-form input::placeholder { color: rgba(255,255,255,0.4); }
.lead-form input:focus { border-color: var(--accent); }
.lead-form .checkbox-row { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 14px; color: rgba(255,255,255,0.7); min-height: 44px; }
.lead-form .checkbox-row .check-touch { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin: -0.5rem; }
.lead-form .checkbox-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); }
.lead-form .checkbox-row .label-text { padding-top: 0.625rem; }
.lead-form .checkbox-row a { text-decoration: underline; color: var(--accent); }
.btn-cta {
  width: 100%; min-height: 56px; padding: 18px 2.5rem; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 17px; border: none; border-radius: 3px; transition: all 0.2s; text-align: center;
}
.btn-cta:hover { opacity: 0.9; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2); }
.btn-cta:disabled { opacity: 0.4; cursor: not-allowed; }
.form-note { text-align: center; font-size: 12px; color: rgba(255,255,255,0.45); font-weight: 300; }
.form-error { color: var(--accent); font-size: 14px; text-align: center; }
.email-error { color: var(--accent); font-size: 12px; margin-top: 4px; }

/* ===== PROBLEM ===== */
.problem { padding: 120px 0; }
.problem .inner { max-width: 720px; margin: 0 auto; text-align: center; }
.problem h2 { font-weight: 700; font-size: 42px; margin-top: 1.5rem; margin-bottom: 2.5rem; }
.problem .body { text-align: left; display: flex; flex-direction: column; gap: 1.5rem; font-size: 18px; line-height: 1.8; }
.problem .divider { display: flex; justify-content: center; }
.problem .divider span { width: 60px; height: 3px; background: var(--accent); display: block; }
.problem .callout { padding: 2rem; border-left: 4px solid var(--accent); border-radius: 4px; background: rgba(255,255,255,0.03); }
.problem .callout p { font-weight: 600; font-size: 20px; color: var(--foreground); }

/* ===== SOLUTION ===== */
.solution { padding: 120px 0; }
.solution .header { max-width: 800px; margin: 0 auto 4rem; text-align: center; }
.solution h2 { font-weight: 900; font-size: 42px; margin-top: 1.5rem; margin-bottom: 2rem; line-height: 1.1; }
.solution .header p { font-size: 18px; line-height: 1.8; }
.solution .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.solution .card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px; padding: 2.25rem; transition: all 0.3s;
}
.solution .card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2); }
.solution .card h3 { font-weight: 700; font-size: 20px; margin-bottom: 0.75rem; }
.solution .card p { line-height: 1.7; }
.solution .closing { text-align: center; margin-top: 3.5rem; max-width: 700px; margin-left: auto; margin-right: auto; font-style: italic; font-size: 18px; line-height: 1.8; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 100px 0; }
.testimonials .header { text-align: center; margin-bottom: 3.5rem; }
.testimonials h2 { font-weight: 700; font-size: 42px; margin-top: 1.5rem; color: var(--text-light); }
.testimonials .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.testimonials .tcard {
  background: var(--card); padding: 2.25rem; border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1); border-top: 3px solid var(--accent);
}
.testimonials .tcard .quote { color: var(--text-light); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonials .tcard .name { font-weight: 700; color: var(--text-light); }
.testimonials .tcard .age { font-size: 14px; color: var(--muted-foreground); }
/* Mobile carousel */
.testimonials .carousel { display: none; }

/* ===== OFFER ===== */
.offer { padding: 120px 0; }
.offer .inner { max-width: 680px; margin: 0 auto; text-align: center; }
.offer .price { color: var(--accent); font-weight: 900; font-size: 72px; margin-top: 2rem; margin-bottom: 1rem; line-height: 1; }
.offer h2 { font-weight: 700; font-size: 36px; margin-bottom: 2.5rem; }
.offer ul { text-align: left; display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 3rem; }
.offer li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 18px; line-height: 1.7; }
.offer .check-icon { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 4px; }
.offer .footer-text { font-size: 16px; line-height: 1.7; }

/* ===== FAQ ===== */
.faq { padding: 100px 0; }
.faq .header { text-align: center; margin-bottom: 3.5rem; }
.faq h2 { font-weight: 700; font-size: 42px; margin-top: 1.5rem; color: var(--text-light); }
.faq .items { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid var(--border); border-radius: 4px; padding: 0 1.5rem; background: var(--card); overflow: hidden; }
.faq-item summary {
  list-style: none; padding: 1rem 0; font-weight: 600; font-size: 16px; color: var(--text-light);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--muted-foreground); transition: transform 0.2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .answer { padding-bottom: 1.5rem; color: var(--muted-foreground); line-height: 1.7; font-size: 16px; }

/* ===== FINAL CTA ===== */
.final-cta { position: relative; padding: 100px 0 140px; overflow: hidden; }
.final-cta .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.15; }
.final-cta .overlay1 { position: absolute; inset: 0; background: var(--hero-bg); mix-blend-mode: multiply; }
.final-cta .overlay2 { position: absolute; inset: 0; background: var(--hero-bg); opacity: 0.85; }
.final-cta .inner { position: relative; max-width: 600px; margin: 0 auto; text-align: center; }
.final-cta h2 { font-weight: 900; font-size: 48px; margin-top: 1.5rem; margin-bottom: 2.5rem; line-height: 1.1; }
.final-cta .form-wrap { display: flex; justify-content: center; }

/* ===== EXIT POPUP ===== */
.popup-overlay {
  display: none; position: fixed; inset: 0; z-index: 100; align-items: center; justify-content: center; padding: 1rem;
  background: rgba(0,0,0,0.82); animation: fadeOverlay 0.25s ease-out forwards;
}
.popup-overlay.active { display: flex; }
.popup-card {
  position: relative; width: 100%; max-width: 480px; background: var(--hero-bg); border-top: 4px solid var(--accent);
  border-radius: 4px; padding: 3rem; box-shadow: 0 24px 64px rgba(0,0,0,0.6); animation: popIn 0.3s ease-out forwards;
}
.popup-close {
  position: absolute; top: 0.75rem; right: 0.75rem; min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center; background: none; border: none;
  color: rgba(255,255,255,0.5); font-size: 20px; transition: color 0.2s;
}
.popup-close:hover { color: rgba(255,255,255,0.9); }
.popup-card h2 { font-weight: 900; font-size: 28px; line-height: 1.15; margin-top: 1rem; }
.popup-card .desc { margin-top: 1rem; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.7); }
.popup-card form { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.popup-card input[type="email"] {
  width: 100%; padding: 14px 18px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px; color: #fff; font-size: 16px; outline: none; transition: border-color 0.2s;
}
.popup-card input::placeholder { color: rgba(255,255,255,0.4); }
.popup-card input:focus { border-color: var(--accent); }
.popup-card .btn-cta { text-transform: uppercase; letter-spacing: 0.05em; }
.popup-dismiss {
  margin-top: 1rem; width: 100%; text-align: center; font-size: 12px; color: rgba(255,255,255,0.35);
  background: none; border: none; transition: color 0.2s;
}
.popup-dismiss:hover { color: rgba(255,255,255,0.6); }
.popup-confirmed { text-align: center; font-weight: 600; font-size: 18px; }

/* ===== WHATSAPP ===== */
.wa-widget { position: fixed; bottom: 5rem; right: 1.5rem; z-index: 9990; display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem; }
.wa-bubble {
  position: relative; width: 260px; background: #fff; border-radius: 12px 12px 0 12px;
  padding: 1rem 1.25rem; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); animation: slideUpFade 0.4s ease-out forwards; margin-bottom: 0.25rem;
}
.wa-bubble .wa-close { position: absolute; top: 0.5rem; right: 0.5rem; width: 20px; height: 20px; background: none; border: none; color: #aaa; font-size: 16px; }
.wa-bubble .wa-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.wa-bubble .wa-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--section-dark); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.wa-bubble .wa-name { font-size: 13px; font-weight: 600; color: #1A2030; }
.wa-bubble .wa-dot { width: 8px; height: 8px; border-radius: 50%; background: #25D366; flex-shrink: 0; }
.wa-bubble .wa-msg { font-size: 14px; line-height: 1.5; color: #1A2030; margin-bottom: 0.75rem; }
.wa-bubble .wa-reply { display: block; width: 100%; text-align: center; background: #25D366; color: #fff; font-size: 13px; font-weight: 700; padding: 0.625rem; border-radius: 20px; border: none; text-decoration: none; transition: background 0.2s; }
.wa-bubble .wa-reply:hover { background: #20bd5a; }

.wa-fab-wrap { position: relative; }
.wa-tooltip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  white-space: nowrap; background: #1A1A2E; color: #fff; font-size: 13px; padding: 0.5rem 0.75rem;
  border-radius: 6px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2); pointer-events: none; display: none;
}
.wa-fab-wrap:hover .wa-tooltip { display: block; }
.wa-fab {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45); border: none; transition: transform 0.2s; text-decoration: none;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab .pulse { position: absolute; inset: 0; border-radius: 50%; background: rgba(37,211,102,0.3); animation: waPulse 2s ease-out infinite; }
.wa-fab svg { width: 28px; height: 28px; position: relative; z-index: 1; }

/* ===== STICKY CTA BAR ===== */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  background: var(--hero-bg); border-top: 2px solid var(--accent); padding: 0.75rem 1.25rem;
  display: none; transform: translateY(100%); transition: transform 0.3s;
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar .inner { display: flex; align-items: center; justify-content: space-between; }
.sticky-bar .label { font-weight: 600; font-size: 14px; }
.sticky-bar .btn-sm {
  background: var(--accent); color: #fff; font-weight: 700; font-size: 14px;
  padding: 0.625rem 1.25rem; border-radius: 3px; border: none; min-height: 44px;
}

/* ===== LEGAL PAGES ===== */
.legal-header { background: var(--hero-bg); padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.legal-header .brand { color: #fff; font-weight: 700; font-size: 18px; }
.legal-header .back { color: rgba(255,255,255,0.6); font-size: 14px; transition: color 0.2s; text-decoration: none; }
.legal-header .back:hover { color: rgba(255,255,255,0.9); }
.legal-body { background: var(--section-light); min-height: 100vh; }
.legal-content { max-width: 760px; margin: 0 auto; padding: 5rem 1.5rem; }
.legal-content h1 { font-weight: 700; font-size: 28px; color: var(--text-light); margin-bottom: 2.5rem; }
.legal-content section { margin-bottom: 2rem; }
.legal-content h2 { font-weight: 700; font-size: 22px; color: var(--text-light); margin-bottom: 0.75rem; }
.legal-content p, .legal-content li { color: var(--text-light); font-size: 16px; line-height: 1.8; }
.legal-content ul, .legal-content ol { padding-left: 1.25rem; }
.legal-content li { margin-bottom: 0.25rem; }
.legal-content a { color: var(--section-dark); }
.legal-content a:hover { text-decoration: underline; }
.legal-footer { border-top: 1px solid var(--border); margin-top: 3rem; padding-top: 1.5rem; }
.legal-footer .links { display: flex; gap: 1.5rem; font-size: 14px; }
.legal-footer .links a { color: var(--section-dark); }
.legal-footer .links a:hover { text-decoration: underline; }
.legal-footer .note { margin-top: 1.5rem; font-size: 12px; color: var(--text-light); opacity: 0.5; line-height: 1.6; }

/* ===== THANKS PAGE ===== */
.thanks { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.thanks .inner { text-align: center; max-width: 32rem; }
.thanks h1 { font-weight: 900; font-size: 42px; margin-top: 1.5rem; margin-bottom: 1.5rem; line-height: 1.1; }
.thanks .sub { font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.7); }
.thanks .check-circle { margin: 0 auto 1rem; width: 80px; height: 80px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero .mobile-bg {
    display: block; position: absolute; inset: 0; background-size: cover; background-position: center top;
  }
  .hero .mobile-bg .mob-overlay { position: absolute; inset: 0; background: rgba(13,28,53,0.88); }
  .hero .content { flex-direction: column; position: relative; z-index: 10; padding: 5rem 1.25rem; }
  .hero .left { width: 100%; }
  .hero .right { display: none; }
  .hero h1 { font-size: 32px; }
  .hero .sub { font-size: 16px; padding: 0 0.5rem; }
  .lead-form { max-width: 100%; }

  .problem h2 { font-size: 32px; }
  .solution h2 { font-size: 32px; }
  .solution .cards { grid-template-columns: 1fr; }
  .testimonials h2 { font-size: 32px; }
  .testimonials .grid { display: none; }
  .testimonials .carousel { display: block; }
  .testimonials .carousel-track {
    display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0 1.5rem 1rem;
  }
  .testimonials .carousel-track::-webkit-scrollbar { display: none; }
  .testimonials .carousel-track .tcard { flex-shrink: 0; width: 85vw; max-width: 340px; scroll-snap-align: center; }
  .testimonials .dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
  .testimonials .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); border: none; padding: 0; }
  .testimonials .dot.active { background: var(--accent); }

  .offer .price { font-size: 56px; }
  .offer h2 { font-size: 28px; }
  .faq h2 { font-size: 32px; }
  .final-cta h2 { font-size: 32px; }

  .sticky-bar { display: block; }
  .wa-widget { bottom: 5rem; }
}
