/* ============ RESET & BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #f2f3f6;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f6f8;
  --border: #e5e7eb;
  --border-strong: rgba(37,99,235,0.35);
  --text: #12141a;
  --text-dim: #374151;
  --text-mute: #6b7280;
  --blue: #2563eb;
  --purple: #7c3aed;
  --purple-dim: rgba(124,58,237,0.10);
  --green: #059669;
  --green-dim: rgba(5,150,105,0.10);
  --red: #e11d48;
  --red-dim: rgba(225,29,72,0.09);
  --yellow: #b45309;
  --cyan: #2563eb;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 24px 48px -12px rgba(16,24,40,.14);
  --grad: linear-gradient(135deg, var(--blue), var(--purple));
  --grad-text: linear-gradient(135deg, var(--blue) 20%, var(--purple) 100%);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 780px; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ============ BACKGROUND GLOWS ============ */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.16;
  z-index: 0;
  pointer-events: none;
}
.bg-glow-1 {
  width: 620px; height: 620px;
  background: var(--blue);
  top: -200px; left: -150px;
}
.bg-glow-2 {
  width: 560px; height: 560px;
  background: var(--purple);
  top: 400px; right: -200px;
  opacity: 0.13;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.2; margin-bottom: 14px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow.center { display: table; margin-left: auto; margin-right: auto; }

.section-sub {
  color: var(--text-mute);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 1.02rem;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(37,99,235,0.45);
}
.btn-primary:hover { box-shadow: 0 14px 36px -8px rgba(124,58,237,0.5); }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--border-strong); background: rgba(37,99,235,0.06); color: var(--blue); }

.btn-sm { padding: 9px 18px; font-size: 0.86rem; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--text);
}
.brand-icon { width: 32px; height: 32px; }
.brand strong {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  gap: 32px;
  margin: 0 auto;
}
.nav a {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-mute);
  transition: color .15s ease;
}
.nav a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 90px 24px 70px;
}

.hero-sub {
  color: var(--text-mute);
  font-size: 1.08rem;
  max-width: 520px;
  margin: 22px 0 32px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 0.86rem; color: var(--text-mute); }

/* --- hero visual mockup --- */
.hero-visual { position: relative; }

.mock-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; }
.mock-dot.red { background: #ff5f57; }
.mock-dot.yellow { background: #febc2e; }
.mock-dot.green { background: #28c840; }
.mock-url {
  margin-left: 12px;
  font-size: 0.78rem;
  color: var(--text-mute);
  font-family: monospace;
}

/* A área da live continua escura: é o overlay real que a extensão injeta sobre o vídeo */
.mock-body {
  position: relative;
  min-height: 340px;
  background:
    radial-gradient(circle at 30% 20%, rgba(37,99,235,0.22), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(124,58,237,0.22), transparent 55%),
    #0b0e17;
  padding: 20px;
}

.mock-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(225,29,72,0.15);
  border: 1px solid rgba(225,29,72,0.4);
  color: #ff7a94;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red);
  animation: blink 1s infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

.hud-demo {
  position: absolute;
  left: 20px;
  bottom: 84px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(10,14,26,0.92);
  border: 1px solid rgba(37,99,235,0.4);
  border-radius: 20px;
  padding: 7px 14px 7px 10px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  width: fit-content;
  animation: floatIn .5s ease both;
}
.pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4d8bff;
  animation: blink 1.1s infinite;
  flex-shrink: 0;
}
.pill-txt { font-size: 12px; font-weight: 600; color: #fff; }
.pill-val { font-size: 13px; font-weight: 800; color: #6ba3ff; }

.toast-demo {
  position: absolute;
  right: 20px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(5,150,105,0.18);
  border: 1px solid rgba(5,150,105,0.45);
  color: #34d399;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 12px;
  animation: floatIn .6s ease .2s both;
}
.toast-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(5,150,105,0.3);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
}

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

/* ============ STRIP ============ */
.strip {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 10px 24px 60px;
  color: var(--text-mute);
  font-size: 0.95rem;
}
.strip strong { color: var(--text-dim); }

/* ============ SECTIONS ============ */
.section {
  position: relative;
  z-index: 1;
  padding: 90px 0;
}
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ============ PROBLEM ============ */
.problem h2 { text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; margin-bottom: 50px; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.problem-icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.problem-card p { color: var(--text-mute); font-size: 0.94rem; }

/* ============ FEATURES ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.feature-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  background: rgba(37,99,235,0.10);
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: 12px;
  margin-bottom: 18px;
}
.feature-card p { color: var(--text-mute); font-size: 0.94rem; }

/* ============ STEPS ============ */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 10px;
}
.step { text-align: center; padding: 0 10px; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px -6px rgba(37,99,235,0.45);
}
.step p { color: var(--text-mute); font-size: 0.92rem; max-width: 240px; margin: 0 auto; }
.step-line {
  height: 2px;
  background: linear-gradient(90deg, rgba(37,99,235,0.35), rgba(124,58,237,0.35));
  margin-top: 22px;
  border-radius: 2px;
}

/* ============ PRICING ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.price-card.featured {
  border-color: rgba(37,99,235,0.4);
  background: linear-gradient(180deg, rgba(37,99,235,0.06), rgba(124,58,237,0.04));
  box-shadow: 0 24px 50px -12px rgba(37,99,235,0.25);
  transform: scale(1.03);
}
.price-tag {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--grad);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: 999px;
}
.price-tag.alt-tag { background: linear-gradient(90deg, #1e3a8a, #4c1d95); }
.price-desc { color: var(--text-mute); font-size: 0.88rem; margin-bottom: 20px; }
.price-value {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.price-currency { font-size: 1.2rem; font-weight: 700; vertical-align: top; margin-right: 2px; }
.price-period { font-size: 0.95rem; font-weight: 600; color: var(--text-mute); }
.price-list { margin-bottom: 28px; flex-grow: 1; }
.price-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 12px;
}
.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

/* ============ TRANSPARENCY ============ */
.transparency { padding: 50px 0; }
.transparency-inner {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow);
}
.transparency-icon { font-size: 1.8rem; flex-shrink: 0; }
.transparency h3 { margin-bottom: 10px; }
.transparency p { color: var(--text-mute); font-size: 0.95rem; }

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 22px;
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--blue);
  font-weight: 400;
  margin-left: 12px;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: var(--text-mute);
  font-size: 0.92rem;
  padding-bottom: 18px;
  max-width: 640px;
}

/* ============ CTA FINAL ============ */
.cta-final { padding: 100px 0; }
.cta-final-inner {
  text-align: center;
  background: var(--grad);
  border-radius: 28px;
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(37,99,235,0.4);
}
.cta-final-inner h2 { color: #fff; max-width: 600px; margin: 0 auto 12px; }
.cta-final-inner p { color: rgba(255,255,255,0.85); margin-bottom: 30px; }
.cta-final-inner .btn-primary {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ============ FOOTER ============ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 40px 0 26px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 28px;
}
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: var(--text-mute); font-size: 0.9rem; font-weight: 600; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-mute);
  font-size: 0.82rem;
}

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .hero-visual { order: -1; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .steps { grid-template-columns: 1fr; }
  .step-line { display: none; }
  .nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .transparency-inner { flex-direction: column; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}

/* mobile nav open state */
.nav.nav-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 74px;
  left: 0;
  right: 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  gap: 18px;
  box-shadow: var(--shadow);
}
