/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: #1F2937;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== UTILITIES ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-accent { color: #F59E0B; }
.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-subtitle {
  text-align: center;
  color: #6B7280;
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 48px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
  justify-content: center;
}
.btn-primary {
  background: #1E40AF;
  color: #fff;
  padding: 10px 22px;
  font-size: .95rem;
}
.btn-primary:hover { background: #1E3A8A; }
.btn-sm { padding: 8px 18px; font-size: .875rem; }
.btn-lg { padding: 18px 40px; font-size: 1.15rem; }
.btn-cta {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #fff;
  padding: 16px 36px;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(245,158,11,.4);
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,158,11,.5);
}
.btn-cta .arrow { font-size: 1.2em; }

/* ===== STICKY HEADER ===== */
#sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #E5E7EB;
  padding: 12px 0;
  transition: box-shadow .3s;
}
#sticky-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.4rem;
  font-weight: 900;
  color: #1E40AF;
}
.logo span { color: #F59E0B; }

/* ===== HERO ===== */
#hero {
  position: relative;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #1E40AF 100%);
  padding: 140px 0 100px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,149.3C672,149,768,171,864,176C960,181,1056,171,1152,154.7C1248,139,1344,117,1392,106.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom / cover;
  opacity: .5;
}
.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 40px;
  padding: 8px 24px;
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}
#hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto 24px;
}
.hero-sub {
  font-size: 1.2rem;
  max-width: 640px;
  margin: 0 auto 36px;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
}
.hero-trust {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: .9rem;
  color: rgba(255,255,255,.7);
}
.hero-trust span { display: flex; align-items: center; gap: 6px; }

/* ===== TRUSTED BY ===== */
#trusted-by {
  background: #F9FAFB;
  padding: 28px 0;
  border-bottom: 1px solid #E5E7EB;
}
.trusted-label {
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #9CA3AF;
  margin-bottom: 16px;
}
.trusted-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}
.trusted-logos span {
  font-size: 1rem;
  font-weight: 700;
  color: #6B7280;
  padding: 6px 20px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #E5E7EB;
}

/* ===== PROBLEM ===== */
#problem {
  padding: 80px 0;
  background: #fff;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.pain-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  background: #FEF2F2;
  border-radius: 12px;
  border-left: 4px solid #EF4444;
}
.pain-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.pain-card p { font-size: 1rem; color: #374151; }

/* ===== SOLUTION ===== */
#solution {
  padding: 80px 0;
  background: #F0FDF4;
}
.solution-grid {
  max-width: 700px;
  margin: 0 auto 40px;
  display: grid;
  gap: 16px;
}
.solution-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: #fff;
  border-radius: 10px;
  border-left: 4px solid #22C55E;
  font-size: 1.05rem;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.check {
  color: #22C55E;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ===== HOW IT WORKS ===== */
#how-it-works {
  padding: 80px 0;
  background: #fff;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.step-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: 16px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
}
.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: #1E40AF;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
}
.step-icon { font-size: 2.5rem; margin-bottom: 12px; margin-top: 8px; }
.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1E40AF;
}
.step-card p { font-size: .95rem; color: #6B7280; }

/* ===== SERVICES ===== */
#services {
  padding: 80px 0;
  background: #F9FAFB;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #E5E7EB;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
}
.service-icon { font-size: 2.5rem; margin-bottom: 16px; }
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1F2937;
}
.service-card p { font-size: .95rem; color: #6B7280; }

/* ===== RESULTS ===== */
#results {
  padding: 80px 0;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
  color: #fff;
}
#results .section-title { color: #fff; }
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.stat-card {
  text-align: center;
  padding: 32px 16px;
  background: rgba(255,255,255,.08);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: #F59E0B;
  line-height: 1.1;
}
.stat-label {
  font-size: .95rem;
  color: rgba(255,255,255,.7);
  margin-top: 8px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 28px;
}
.stars {
  color: #F59E0B;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.testimonial-text {
  font-size: .95rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 20px;
  font-style: italic;
  line-height: 1.7;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  background: #1E40AF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  border: 2px solid #F59E0B;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .95rem; }
.testimonial-author span { font-size: .8rem; color: rgba(255,255,255,.5); }

/* ===== CALCULATOR ===== */
#calculator {
  padding: 80px 0;
  background: #fff;
}
.calc-box {
  max-width: 700px;
  margin: 0 auto;
  background: #F9FAFB;
  border-radius: 20px;
  padding: 40px;
  border: 1px solid #E5E7EB;
}
.calc-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.calc-field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.calc-field input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  font-size: 1.1rem;
  font-family: inherit;
  font-weight: 600;
  text-align: center;
  transition: border-color .2s;
}
.calc-field input:focus {
  outline: none;
  border-color: #1E40AF;
}
.calc-result { text-align: center; }
.calc-result-number {
  font-size: 4rem;
  font-weight: 900;
  color: #1E40AF;
  line-height: 1;
}
.calc-result-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
  margin-top: 4px;
}
.calc-result-sub {
  color: #6B7280;
  margin: 12px 0 20px;
}

/* ===== WHO IS THIS FOR ===== */
#who {
  padding: 80px 0;
  background: #F9FAFB;
}
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.who-card {
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #E5E7EB;
}
.who-yes {
  background: #F0FDF4;
  border-color: #BBF7D0;
}
.who-no {
  background: #FEF2F2;
  border-color: #FECACA;
}
.who-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.who-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .95rem;
}
.x-mark { color: #EF4444; flex-shrink: 0; }

/* ===== VIDEO ===== */
#video {
  padding: 80px 0;
  background: #fff;
}
.video-placeholder {
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0F172A, #1E3A8A);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: transform .2s;
  overflow: hidden;
}
.video-placeholder:hover { transform: scale(1.01); }
.play-btn {
  width: 80px;
  height: 80px;
  background: rgba(245,158,11,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 16px;
}
.video-placeholder p { font-size: 1rem; opacity: .8; }

/* ===== FAQ ===== */
#faq {
  padding: 80px 0;
  background: #F9FAFB;
}
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  background: #fff;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1F2937;
  transition: background .2s;
}
.faq-q:hover { background: #F9FAFB; }
.faq-toggle {
  font-size: 1.4rem;
  font-weight: 300;
  color: #9CA3AF;
  transition: transform .2s;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-a {
  max-height: 200px;
}
.faq-a p {
  padding: 0 24px 20px;
  color: #6B7280;
  font-size: .95rem;
  line-height: 1.7;
}

/* ===== FINAL CTA ===== */
#final-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #1E40AF 0%, #7C3AED 100%);
  color: #fff;
}
#final-cta h2 {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}
.final-sub {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 36px;
  color: rgba(255,255,255,.85);
}
.final-trust {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: .9rem;
  color: rgba(255,255,255,.65);
}

/* ===== FOOTER ===== */
footer {
  padding: 28px 0;
  background: #0F172A;
  color: rgba(255,255,255,.5);
  font-size: .85rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo { font-size: 1.1rem; }
.footer-inner a { color: rgba(255,255,255,.5); }
.footer-inner a:hover { color: #fff; }

/* ===== EXIT POPUP ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  backdrop-filter: blur(4px);
}
.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.popup-box {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: translateY(20px);
  transition: transform .3s;
}
.popup-overlay.active .popup-box { transform: translateY(0); }
.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #9CA3AF;
  line-height: 1;
}
.popup-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #1F2937;
}
.popup-box > p { color: #6B7280; margin-bottom: 24px; }
.popup-form { display: flex; flex-direction: column; gap: 12px; }
.popup-form input {
  padding: 14px 18px;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}
.popup-form input:focus {
  outline: none;
  border-color: #1E40AF;
}
.popup-privacy {
  font-size: .8rem;
  color: #9CA3AF;
  margin-top: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  #hero { padding: 120px 0 70px; min-height: auto; }
  #hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .section-title { font-size: 1.75rem; }
  .stats-row { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .calc-inputs { grid-template-columns: 1fr; }
  .calc-result-number { font-size: 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .hero-trust { flex-direction: column; gap: 8px; align-items: center; }
  .final-trust { flex-direction: column; gap: 8px; align-items: center; }
  #final-cta h2 { font-size: 1.75rem; }
  .btn-lg { padding: 16px 28px; font-size: 1rem; }
  .pain-grid { grid-template-columns: 1fr; }
}
