:root {
  --bg-dark: #0a1224;
  --bg-dark-2: #101c38;
  --primary: #22c1a8;
  --primary-dark: #1aa290;
  --text-light: #f4f7fb;
  --text-muted: #a9b4c9;
  --text-dark: #0f1729;
  --border-light: #e4e8f0;
  --card-bg: #ffffff;
  --radius: 14px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--text-light);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo .dot {
  color: var(--primary);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #05221d;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.header-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 15% 0%, #14264a 0%, var(--bg-dark) 55%);
  color: var(--text-light);
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 193, 168, 0.25) 0%, rgba(34, 193, 168, 0) 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  text-align: center;
  max-width: 840px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 193, 168, 0.12);
  border: 1px solid rgba(34, 193, 168, 0.35);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.hero h1 .highlight {
  color: var(--primary);
}

.hero p.subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #05221d;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-light);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

.hero-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Fees section ---------- */
.fees {
  padding: 88px 0 100px;
  background: var(--text-light);
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-heading .eyebrow {
  display: inline-block;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--text-dark);
}

.section-heading p {
  color: #5b657c;
  font-size: 16px;
  margin: 0;
}

.fees-table-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: 0 20px 40px -24px rgba(15, 23, 41, 0.18);
}

table.fees-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.fees-table th,
.fees-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 15px;
  white-space: nowrap;
}

.fees-table thead th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7c8598;
  font-weight: 700;
  background: #f8fafc;
}

.fees-table tbody tr:last-child td {
  border-bottom: none;
}

.fees-table td.platform {
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.fees-table td.net-value {
  font-weight: 700;
}

.fees-table tr.highlight td {
  background: rgba(34, 193, 168, 0.07);
}

.fees-table tr.highlight td.platform {
  color: var(--primary-dark);
}

.badge-best {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #05221d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
}

.fees-footnote {
  text-align: center;
  font-size: 13px;
  color: #8890a0;
  margin-top: 18px;
}

.ml-callout {
  position: relative;
  margin-top: 40px;
  background: var(--bg-dark);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: 0 20px 40px -24px rgba(15, 23, 41, 0.35);
}

.ml-callout-badge {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #05221d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 4px 11px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ml-callout h3 {
  color: var(--text-light);
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
}

.ml-callout > p {
  color: #d7deee;
  font-size: 15px;
  line-height: 1.55;
  max-width: 640px;
  margin: 0 0 28px;
}

.ml-callout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ml-callout-col {
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ml-callout-col.bad {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ml-callout-col.good {
  background: rgba(34, 193, 168, 0.14);
  border: 1px solid rgba(34, 193, 168, 0.35);
}

.ml-callout-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #a9b4c9;
}

.ml-callout-col.good .ml-callout-label {
  color: var(--primary);
}

.ml-callout-valor {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-light);
  margin-top: 6px;
}

.ml-callout-sub {
  font-size: 13px;
  color: #a9b4c9;
}

.ml-callout-liquido {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light);
  margin-top: 8px;
}

.ml-callout-footnote {
  font-size: 12px;
  color: #8890a0;
  margin: 20px 0 0;
}

@media (max-width: 640px) {
  .ml-callout-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Problem / comparison ---------- */
.problem {
  padding: 88px 0 100px;
  background: #f4f6fb;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.problem-card {
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border-light);
}

.problem-card.bad {
  background: #ffffff;
}

.problem-card.good {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
}

.problem-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.problem-card.bad h3 {
  color: var(--text-dark);
}

.problem-card.good h3 {
  color: var(--text-light);
}

.problem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.45;
}

.problem-card.bad li {
  color: #4a5468;
}

.problem-card.good li {
  color: #d7deee;
}

.icon-x,
.icon-check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  margin-top: 1px;
}

.icon-x {
  background: rgba(224, 62, 82, 0.12);
  color: #d63451;
}

.icon-check {
  background: rgba(34, 193, 168, 0.16);
  color: var(--primary);
}

/* ---------- How it works ---------- */
.how {
  padding: 88px 0 100px;
  background: var(--text-light);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.how-step {
  position: relative;
  padding: 28px 22px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.how-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary);
  color: #05221d;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 18px;
}

.how-step h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-dark);
}

.how-step p {
  font-size: 14px;
  color: #5b657c;
  margin: 0;
}

.how-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -22px;
  top: 40px;
  color: #c3cadb;
  font-size: 18px;
  display: none;
}

@media (min-width: 900px) {
  .how-step:not(:last-child)::after {
    display: block;
  }
}

/* ---------- Features ---------- */
.features {
  padding: 88px 0 100px;
  background: #f4f6fb;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.feature-card .feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(34, 193, 168, 0.12);
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 14px;
  color: #5b657c;
  margin: 0;
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 90px 0;
  background: radial-gradient(circle at 85% 20%, #14264a 0%, var(--bg-dark) 60%);
  color: var(--text-light);
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.final-cta p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 540px;
  margin: 0 auto 32px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-inner .logo {
  font-size: 17px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--text-light);
}

.footer-copy {
  color: #6b7690;
  font-size: 13px;
  width: 100%;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 640px) {
  .hero {
    padding: 64px 0 72px;
  }

  .fees {
    padding: 60px 0 72px;
  }

  .fees-table th,
  .fees-table td {
    padding: 14px 16px;
    font-size: 14px;
  }

  .problem,
  .how,
  .features,
  .final-cta {
    padding: 56px 0 64px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .how-steps {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Legal pages (Termos / Privacidade) ---------- */
.legal {
  padding: 64px 0 100px;
  background: var(--text-light);
}

.legal .container {
  max-width: 760px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 28px;
}

.legal-back:hover {
  text-decoration: underline;
}

.legal h1 {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--text-dark);
}

.legal .legal-updated {
  font-size: 14px;
  color: #8890a0;
  margin: 0 0 40px;
}

.legal h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 40px 0 12px;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #3d4658;
  margin: 0 0 14px;
}

.legal ul {
  margin: 0 0 14px;
  padding-left: 22px;
  color: #3d4658;
}

.legal li {
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 6px;
}

.legal strong {
  color: var(--text-dark);
}

.legal a {
  color: var(--primary-dark);
}

.legal-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 48px 0;
}
