/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --red:    #EF4444;
  --purple: #6B1068;
  --dark:   #0D0D0D;
  --light:  #F8F5FF;
  --white:  #FFFFFF;
  --gray:   #6B7280;
  --gray-light: #F3F4F6;
  --grad: linear-gradient(135deg, var(--red) 0%, var(--purple) 100%);
  --grad-soft: linear-gradient(135deg, #fff0f0 0%, #f5e8ff 100%);
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--dark); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== UTILS ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.tag {
  display: inline-block; background: var(--grad); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 6px 16px; border-radius: 100px; margin-bottom: 20px;
}
.tag-outline {
  display: inline-block; border: 2px solid var(--red); color: var(--red);
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 16px; border-radius: 100px; margin-bottom: 20px;
}
h1,h2,h3,h4 { line-height: 1.2; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.3rem; }
.text-grad {
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; border-radius: 12px; font-size: 1rem;
  font-weight: 700; cursor: pointer; transition: all .25s ease; border: none;
  font-family: 'Inter', sans-serif;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 32px rgba(239,68,68,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(239,68,68,.45); }
.btn-outline { border: 2px solid var(--purple); color: var(--purple); background: transparent; }
.btn-outline:hover { background: var(--purple); color: #fff; }
.btn-white { background: #fff; color: var(--purple); }
.btn-white:hover { background: var(--light); }
.btn-sm { padding: 10px 22px; font-size: .9rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 10px 0; background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px); border-bottom: 1px solid rgba(0,0,0,.06);
  transition: all .3s;
}
.navbar.scrolled { padding: 8px 0; box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav-logo img { height: 88px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 8px; font-weight: 500; font-size: .9rem; color: var(--dark); transition: all .2s; }
.nav-links a:hover { background: var(--gray-light); color: var(--purple); }
.nav-links .nav-cta { background: var(--grad); color: #fff; padding: 10px 22px; border-radius: 10px; font-weight: 700; }
.nav-links .nav-cta:hover { opacity: .9; background: var(--grad); color: #fff; transform: translateY(-1px); }
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: .7rem; }
/* Bridge gap so hover doesn't break when moving mouse to menu */
.nav-dropdown::after {
  content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 12px;
}
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border-radius: 14px; padding: 8px;
  box-shadow: 0 16px 48px rgba(0,0,0,.12); min-width: 230px;
  border: 1px solid rgba(0,0,0,.06);
}
.nav-dropdown:hover .nav-dropdown-menu { display: flex; flex-direction: column; gap: 2px; }
.nav-dropdown-menu a { padding: 12px 16px; border-radius: 8px; font-size: .9rem; display: flex; align-items: center; gap: 10px; }
.nav-dropdown-menu a:hover { background: var(--gray-light); color: var(--purple); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: .3s; }

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  padding: 140px 0 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(239,68,68,.08) 0%, transparent 70%);
  top: -200px; right: -200px;
}
.page-hero::after {
  content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(107,16,104,.08) 0%, transparent 70%);
  bottom: -100px; left: -100px;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--gray); margin-bottom: 28px; }
.breadcrumb a { color: var(--red); }
.breadcrumb span { color: var(--gray); }

/* ===== METRIC CARDS ===== */
.metric-card {
  background: #fff; border-radius: 14px; padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
}
.metric-card strong { display: block; font-size: 2.2rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.metric-card span { font-size: .85rem; color: var(--gray); }

/* ===== PAIN SECTION ===== */
.pain-section { background: var(--dark); color: #fff; }
.pain-section h2 { margin-bottom: 16px; }
.pain-section .pain-sub { color: rgba(255,255,255,.65); font-size: 1.1rem; margin-bottom: 48px; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 28px;
}
.pain-card .pain-icon { font-size: 2rem; margin-bottom: 16px; }
.pain-card h3 { font-size: 1rem; margin-bottom: 8px; }
.pain-card p { font-size: .88rem; color: rgba(255,255,255,.6); }

/* ===== PROCESS SECTION ===== */
.process-section { background: var(--light); }
.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step { display: grid; grid-template-columns: 80px 1fr; gap: 32px; padding: 32px 0; border-bottom: 1px solid rgba(0,0,0,.06); align-items: start; }
.process-step:last-child { border-bottom: none; }
.ps-num {
  width: 64px; height: 64px; border-radius: 50%; background: var(--grad);
  color: #fff; font-size: 1.4rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(239,68,68,.3); flex-shrink: 0;
}
.ps-content h3 { margin-bottom: 8px; font-size: 1.1rem; }
.ps-content p { color: var(--gray); font-size: .95rem; }

/* ===== RESULTS SECTION ===== */
.results-section { background: var(--white); }
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 64px; }
.result-num { font-size: 2.8rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; margin-bottom: 4px; }
.result-label { font-size: .88rem; color: var(--gray); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: var(--light); border-radius: 20px; padding: 32px;
  border: 1px solid rgba(107,16,104,.08);
}
.test-stars { color: #FBBF24; font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.test-text { font-size: .95rem; color: #444; line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; color: #fff; flex-shrink: 0;
}
.test-name { font-weight: 700; font-size: .9rem; }
.test-role { font-size: .8rem; color: var(--gray); }

/* ===== FAQ ===== */
.faq-section { background: var(--light); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,.08); }
.faq-question {
  width: 100%; text-align: left; padding: 24px 0; background: none; border: none;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600;
  cursor: pointer; color: var(--dark); gap: 16px;
}
.faq-question .faq-icon { font-size: 1.4rem; color: var(--red); flex-shrink: 0; transition: .3s; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 0 24px; color: var(--gray); font-size: .95rem; line-height: 1.8; }
.faq-answer.open { display: block; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--grad); padding: 100px 0; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.cta-section p { font-size: 1.2rem; opacity: .85; margin-bottom: 48px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .footer-logo { height: 40px; margin-bottom: 16px; filter: brightness(10); }
.footer-brand p { font-size: .88rem; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: .9rem; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .88rem; transition: .2s; }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .82rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; font-size: .9rem; transition: .2s;
}
.footer-social a:hover { background: var(--red); }

/* ===== WHATSAPP FLOAT ===== */
.wpp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 998;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.5); cursor: pointer; transition: all .3s;
  animation: wppPop 2s ease-in-out infinite;
}
@keyframes wppPop { 0%,100%{box-shadow:0 8px 24px rgba(37,211,102,.5)} 50%{box-shadow:0 8px 32px rgba(37,211,102,.8)} }
.wpp-float:hover { transform: scale(1.1); }
.wpp-float svg { width: 30px; height: 30px; fill: #fff; }

/* ===== ANIMATIONS ===== */
.anim { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.anim.visible { opacity: 1; transform: translateY(0); }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: #fff;
    padding: 16px 24px; border-bottom: 1px solid #eee;
    gap: 4px; box-shadow: 0 8px 32px rgba(0,0,0,.1);
  }
  .nav-toggle { display: flex; }
  .navbar .container { position: relative; }
  .pain-grid, .results-grid, .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cta-buttons { flex-direction: column; align-items: center; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
