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

:root {
  --primary: #0B1E3F;
  --primary-dark: #071530;
  --primary-light: #13294D;
  --accent: #10B981;
  --accent-dark: #059669;
  --accent-soft: #ECFDF5;
  --text: #0F172A;
  --text-light: #334155;
  --muted: #64748B;
  --bg: #F8FAFC;
  --bg-soft: #F1F5F9;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 4px 20px rgba(15, 23, 42, .06);
  --shadow-lg: 0 20px 60px rgba(11, 30, 63, .12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo-mark { display: inline-flex; }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.93rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-login {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.nav-login:hover { color: var(--accent-dark); }
.nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-block;
  transition: background .2s, transform .15s;
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover { background: var(--primary-light); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(16, 185, 129, .08), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(11, 30, 63, .05), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  padding: 90px 6% 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ── ANIMATED HERO BACKGROUND ── */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  will-change: transform;
}
.blob-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(16, 185, 129, .55), rgba(16, 185, 129, 0) 70%);
  top: -140px;
  left: -120px;
  animation: blobFloat1 22s ease-in-out infinite;
}
.blob-2 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle at 60% 40%, rgba(11, 30, 63, .35), rgba(11, 30, 63, 0) 70%);
  top: 20%;
  right: -160px;
  animation: blobFloat2 26s ease-in-out infinite;
}
.blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, .4), rgba(16, 185, 129, 0) 70%);
  bottom: -160px;
  left: 42%;
  animation: blobFloat3 24s ease-in-out infinite;
}
@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%     { transform: translate(60px, 40px) scale(1.08); }
  66%     { transform: translate(20px, 80px) scale(.96); }
}
@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%     { transform: translate(-60px, -30px) scale(.95); }
  66%     { transform: translate(-30px, 40px) scale(1.1); }
}
@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%     { transform: translate(40px, -50px) scale(1.06); }
  66%     { transform: translate(-50px, -20px) scale(.98); }
}

.paw {
  position: absolute;
  width: 42px;
  height: 42px;
  color: rgba(16, 185, 129, .22);
  will-change: transform, opacity;
}
.paw-1 {
  left: 8%;
  bottom: -50px;
  animation: pawRise 18s linear infinite;
}
.paw-2 {
  left: 38%;
  bottom: -50px;
  width: 30px;
  height: 30px;
  color: rgba(11, 30, 63, .18);
  animation: pawRise 22s linear infinite;
  animation-delay: -6s;
}
.paw-3 {
  left: 68%;
  bottom: -50px;
  width: 36px;
  height: 36px;
  animation: pawRise 20s linear infinite;
  animation-delay: -12s;
}
.paw-4 {
  left: 88%;
  bottom: -50px;
  width: 26px;
  height: 26px;
  color: rgba(11, 30, 63, .15);
  animation: pawRise 24s linear infinite;
  animation-delay: -3s;
}
@keyframes pawRise {
  0% {
    transform: translateY(0) rotate(-8deg);
    opacity: 0;
  }
  10% { opacity: 1; }
  50% {
    transform: translateY(-50vh) translateX(30px) rotate(6deg);
  }
  90% { opacity: 1; }
  100% {
    transform: translateY(-100vh) translateX(-20px) rotate(-4deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blob, .paw { animation: none; }
  .paw { opacity: .5; }
}
.hero-content { max-width: 580px; min-width: 0; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .18);
}
.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--primary);
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent-dark);
  background-image: linear-gradient(180deg, transparent 0 72%, rgba(16, 185, 129, .18) 72% 94%, transparent 94% 100%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 2px;
  border-radius: 4px;
}
.hero-lead {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 26px;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 15px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.97rem;
  text-decoration: none;
  display: inline-block;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 6px 20px rgba(16, 185, 129, .3);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16, 185, 129, .38);
}
.btn-secondary {
  background: #fff;
  color: var(--primary);
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.97rem;
  border: 1px solid var(--border-strong);
  text-decoration: none;
  display: inline-block;
  transition: background .2s, border-color .2s;
  cursor: pointer;
}
.btn-secondary:hover { background: var(--bg); border-color: var(--primary); }
.hero-checks {
  list-style: none;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── HERO VISUAL (mock dashboard) ── */
.hero-visual {
  position: relative;
}
.mock-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1800px) rotateY(-4deg) rotateX(2deg);
  transition: transform .4s;
}
.mock-card:hover { transform: perspective(1800px) rotateY(-1deg) rotateX(0); }
.mock-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}
.mock-dots span:nth-child(1) { background: #EF4444; }
.mock-dots span:nth-child(2) { background: #F59E0B; }
.mock-dots span:nth-child(3) { background: #10B981; }
.mock-tab {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}
.mock-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mock-kpi {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mock-label { font-size: 0.7rem; color: var(--muted); font-weight: 500; }
.mock-kpi strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}
.mock-up {
  font-size: 0.68rem;
  color: var(--accent-dark);
  font-weight: 700;
}
.mock-chart {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
}
.mock-chart svg { display: block; }
.mock-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.mock-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}
.mock-info { flex: 1; display: flex; flex-direction: column; }
.mock-info strong { font-size: 0.82rem; font-weight: 700; color: var(--text); }
.mock-info span { font-size: 0.72rem; color: var(--muted); }
.mock-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag-green { background: var(--accent-soft); color: var(--accent-dark); }
.tag-blue { background: #EFF6FF; color: #1D4ED8; }
.tag-gray { background: var(--bg-soft); color: var(--muted); }

/* ── SECTIONS ── */
section { padding: 100px 6%; }
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
  padding: 6px 14px;
  background: var(--accent-soft);
  border-radius: 999px;
}
.section-label.dark-label {
  color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .1);
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--primary);
  line-height: 1.2;
}
.section-title.light { color: #fff; }
.section-sub {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 620px;
  line-height: 1.65;
}
.section-sub.light { color: rgba(255, 255, 255, .8); }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ── FEATURES ── */
#features { background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 60px;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--accent);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.feature-card p {
  color: var(--text-light);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ── RESULTS ── */
#results {
  background: var(--primary);
  background-image:
    radial-gradient(800px 400px at 20% 0%, rgba(16, 185, 129, .14), transparent 60%),
    radial-gradient(800px 400px at 100% 100%, rgba(16, 185, 129, .08), transparent 60%);
  color: #fff;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 60px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.result-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.result-card strong {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.result-card span {
  color: rgba(255, 255, 255, .75);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ── HOW IT WORKS ── */
#how { background: var(--white); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  margin-top: 60px;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}
.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-dark);
  background: var(--accent-soft);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: .05em;
  margin-bottom: 16px;
}
.step h3 {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.step p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ── PRICING ── */
#pricing { background: var(--white); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 60px;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.pricing-card:hover { box-shadow: var(--shadow); }
.pricing-card.featured {
  border: 2px solid var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.pricing-card.featured .plan-name,
.pricing-card.featured .plan-price,
.pricing-card.featured .plan-desc,
.pricing-card.featured .plan-features li { color: #fff; }
.pricing-card.featured .plan-price small { color: rgba(255, 255, 255, .7); }
.pricing-card.featured .plan-desc { color: rgba(255, 255, 255, .75); }
.pricing-card.featured .plan-features li::before { color: var(--accent); }
.badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(16, 185, 129, .4);
}
.plan-name {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 14px;
}
.plan-price {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan-price sup {
  font-size: 1.05rem;
  font-weight: 600;
  vertical-align: super;
  margin-right: 4px;
}
.plan-price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.plan-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 12px 0 26px;
  line-height: 1.55;
}
.plan-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.plan-features li {
  font-size: 0.92rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-light);
  line-height: 1.45;
}
.plan-features li::before {
  content: "✓";
  color: var(--accent-dark);
  font-weight: 800;
  flex-shrink: 0;
}
.btn-plan {
  display: block;
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1.5px solid var(--primary);
  background: transparent;
  color: var(--primary);
  transition: .2s;
  text-align: center;
  text-decoration: none;
}
.btn-plan:hover { background: var(--primary); color: #fff; }
.pricing-card.featured .btn-plan {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.pricing-card.featured .btn-plan:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* ── FAQ ── */
#faq { background: var(--bg); }
.faq-list {
  max-width: 780px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color .2s, box-shadow .2s;
}
.faq-list details[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--muted);
  transition: transform .2s;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list p {
  margin-top: 14px;
  color: var(--text-light);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ── CTA ── */
#cta {
  background: var(--primary);
  background-image:
    radial-gradient(800px 400px at 0% 0%, rgba(16, 185, 129, .14), transparent 60%),
    radial-gradient(800px 400px at 100% 100%, rgba(16, 185, 129, .1), transparent 60%);
  text-align: center;
  padding: 110px 6%;
  color: #fff;
}
.cta-inner { max-width: 720px; margin: 0 auto; }
#cta .section-sub { margin: 0 auto 36px; }
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
#cta .btn-primary.cta-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
}
#cta .btn-primary.cta-white:hover { background: var(--bg); color: var(--primary-dark); }
#cta .btn-secondary.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}
#cta .btn-secondary.btn-ghost:hover {
  background: rgba(255, 255, 255, .08);
  border-color: #fff;
}

/* ── FOOTER ── */
footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, .65);
  padding: 72px 6% 32px;
  font-size: 0.9rem;
}
.footer-top {
  max-width: 1240px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .logo {
  color: #fff;
  margin-bottom: 14px;
}
.footer-brand p {
  color: rgba(255, 255, 255, .6);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 300px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, .5);
}

/* ── LEGAL PAGES ── */
.legal-hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%);
  padding: 72px 6% 48px;
  border-bottom: 1px solid var(--border);
}
.legal-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}
.legal-breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.legal-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.legal-breadcrumb a:hover { color: var(--accent-dark); }
.legal-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.legal-updated {
  font-size: 0.88rem;
  color: var(--muted);
}
.legal-updated strong { color: var(--text-light); }

.legal-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 6% 96px;
  color: var(--text-light);
}
.legal-body p,
.legal-body ul,
.legal-body ol {
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 18px;
}
.legal-body ul,
.legal-body ol {
  padding-left: 22px;
}
.legal-body li {
  margin-bottom: 8px;
}
.legal-body h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  margin: 44px 0 14px;
  letter-spacing: -0.01em;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 10px;
}
.legal-body a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}
.legal-body a:hover { color: var(--accent); }
.legal-body strong { color: var(--text); font-weight: 700; }

.legal-toc {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 36px;
}
.legal-toc h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 700;
}
.legal-toc ol {
  margin: 0;
  padding-left: 22px;
  font-size: 0.92rem;
  line-height: 1.6;
}
.legal-toc li { margin-bottom: 4px; }
.legal-toc a {
  color: var(--text-light);
  text-decoration: none;
}
.legal-toc a:hover { color: var(--accent-dark); text-decoration: underline; }

.legal-callout {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 8px;
  margin: 24px 0;
  font-size: 0.93rem;
  color: var(--text-light);
}

/* ── THANK YOU PAGE ── */
.thankyou {
  min-height: calc(100vh - 72px - 180px);
  padding: 72px 6% 96px;
  background:
    radial-gradient(1200px 400px at 50% -10%, rgba(16, 185, 129, .08), transparent 60%),
    var(--bg);
}
.thankyou-inner {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 56px 56px 48px;
  text-align: center;
}
.thankyou-icon {
  display: inline-flex;
  margin-bottom: 24px;
}
.thankyou h1 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.thankyou-lead {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 36px;
}
.thankyou-steps {
  text-align: left;
  margin: 0 auto 36px;
  max-width: 560px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.thankyou-steps h2 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 700;
}
.thankyou-steps ol {
  padding-left: 20px;
  color: var(--text-light);
}
.thankyou-steps li {
  margin-bottom: 12px;
  line-height: 1.6;
}
.thankyou-steps li:last-child { margin-bottom: 0; }
.thankyou-steps strong { color: var(--text); font-weight: 700; display: block; margin-bottom: 2px; }
.thankyou-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.thankyou-footnote {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}
.thankyou-footnote a {
  color: var(--accent-dark);
  text-decoration: underline;
}
@media (max-width: 640px) {
  .thankyou-inner { padding: 40px 24px 32px; }
  .thankyou h1 { font-size: 1.6rem; }
  .thankyou-steps { padding: 22px 20px; }
}

/* ── WAITLIST FORM ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.waitlist-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  max-width: 520px;
}
.waitlist-form input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 15px 18px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--white);
  font-family: inherit;
  font-size: 0.97rem;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.waitlist-form input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .15);
}
.waitlist-form input[type="email"]::placeholder {
  color: var(--muted);
}
.waitlist-form button[type="submit"] {
  flex: 0 0 auto;
}
/* Quando o cadastro é concluído, o JS desabilita input+botão: mantemos
   cursor e opacidade coerentes com o estado final, sem parecer "quebrado". */
.waitlist-form input[type="email"]:disabled,
.waitlist-form button[type="submit"]:disabled {
  cursor: not-allowed;
  opacity: .72;
}
/* Link secundário que acompanha os forms (hero e CTA), para quem prefere
   agendar uma demo em vez de entrar na lista de espera. */
.hero-secondary-link,
.cta-secondary-link {
  display: inline-block;
  font-size: 0.93rem;
  color: var(--text-light);
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
  padding-bottom: 1px;
  transition: color .15s;
}
.hero-secondary-link:hover,
.cta-secondary-link:hover {
  color: var(--accent-dark);
}
#cta .cta-secondary-link {
  color: rgba(255, 255, 255, .72);
}
#cta .cta-secondary-link:hover {
  color: #fff;
}
.waitlist-feedback {
  min-height: 20px;
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0 0 18px;
  max-width: 520px;
}
.waitlist-feedback.is-err { color: #DC2626; }
.waitlist-feedback.is-ok { color: var(--accent-dark); }

/* Variação para o bloco #cta (fundo escuro). */
.waitlist-form-cta {
  margin: 26px auto 12px;
  justify-content: center;
}
#cta .waitlist-form input[type="email"] {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .25);
  color: #fff;
}
#cta .waitlist-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, .6);
}
#cta .waitlist-form input[type="email"]:focus {
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .14);
}
#cta .waitlist-feedback {
  color: rgba(255, 255, 255, .8);
  text-align: center;
  margin: 0 auto;
}
#cta .waitlist-feedback.is-err { color: #FCA5A5; }
#cta .waitlist-feedback.is-ok { color: #A7F3D0; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-content { max-width: 100%; text-align: center; margin: 0 auto; }
  .hero-badge, .hero-actions, .hero-checks { justify-content: center; }
  .hero-checks { margin: 0 auto; }
  .waitlist-form { margin-left: auto; margin-right: auto; }
  .waitlist-feedback { margin-left: auto; margin-right: auto; text-align: center; }
  .mock-card { transform: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 640px) {
  nav { padding: 0 5%; height: 64px; }
  .nav-links { display: none; }
  .nav-actions .nav-login { display: none; }
  section { padding: 72px 5%; }
  .hero { padding: 64px 5% 80px; }
  .hero h1 { font-size: 2rem; }
  .hero-lead { font-size: 1rem; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
  .hero-actions { flex-direction: column; width: 100%; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form input[type="email"], .waitlist-form button[type="submit"] { width: 100%; }
  .mock-kpis { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
