:root {
  --blue: #2f6bff;
  --blue-dark: #1f54db;
  --blue-soft: #eaf1ff;
  --ink: #152038;
  --muted: #5b667a;
  --line: #e6ebf5;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(31, 84, 219, 0.12);
  --radius: 14px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.bg-glow {
  position: absolute;
  width: min(720px, 70vw);
  height: min(420px, 45vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow--top {
  top: -80px;
  right: -120px;
}

.bg-glow--bottom {
  left: -160px;
  bottom: 40px;
}

.topbar,
.hero,
.features,
.finance,
.cta,
.plans-page,
.form-page,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230, 235, 245, 0.9);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand__mark {
  width: 40px;
  height: 37px;
  object-fit: contain;
}

.brand__text {
  display: grid;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand__text small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.nav {
  display: none;
  align-items: center;
  gap: 28px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.nav a {
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--blue);
}

.nav__item--dropdown {
  position: relative;
}

.nav__item--dropdown > a span {
  font-size: 11px;
  margin-left: 2px;
}

.nav__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  display: grid;
  gap: 2px;
  min-width: 180px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: 0.15s ease;
}

.nav__item--dropdown:hover .nav__menu,
.nav__item--dropdown:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__menu a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.nav__menu a:hover {
  background: var(--blue-soft);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: 0.15s ease;
}

.btn--primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.28);
}

.btn--primary:hover {
  background: var(--blue-dark);
}

.btn--ghost {
  color: var(--ink);
  background: #fff;
  border-color: #cfd7e6;
}

.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn--soft {
  color: var(--ink);
  background: #fff;
  border-color: #d7deec;
}

.btn--soft:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn--lg {
  min-height: 52px;
  padding: 0 22px;
  font-size: 16px;
}

.play {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.8px solid currentColor;
  position: relative;
}

.play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent currentColor;
  transform: translate(-40%, -50%);
}

.menu-toggle {
  display: inline-grid;
  gap: 5px;
  width: 44px;
  height: 44px;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.mobile-nav {
  position: sticky;
  top: 76px;
  z-index: 19;
  display: grid;
  gap: 10px;
  padding: 16px 20px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

/* `display: grid` sobrescreve o [hidden] do UA; forçamos o colapso no mobile. */
.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav a:not(.btn) {
  padding: 12px 4px;
  font-weight: 650;
}

.hero {
  display: grid;
  gap: 36px;
  align-items: center;
  padding: clamp(40px, 7vw, 88px) clamp(20px, 5vw, 72px) clamp(48px, 8vw, 96px);
}

.hero__copy h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.hero__copy p {
  margin: 0 0 28px;
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__visual {
  justify-self: center;
  width: min(100%, 640px);
}

.hero__visual img {
  width: 100%;
  border-radius: 18px;
}

.features {
  padding: 24px clamp(20px, 5vw, 72px) clamp(64px, 9vw, 110px);
}

.features h2,
.finance h2,
.cta h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.features h2 {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 42px;
}

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

.feature-card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(21, 32, 56, 0.04);
}

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  color: var(--blue);
  background: var(--blue-soft);
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
}

.finance {
  display: grid;
  gap: 36px;
  align-items: center;
  padding: 24px clamp(20px, 5vw, 72px) clamp(64px, 9vw, 110px);
}

.finance__visual {
  justify-self: center;
  width: min(100%, 520px);
}

.finance__visual img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.finance__copy p {
  margin: 0;
  max-width: 460px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.cta {
  text-align: center;
  padding: 24px clamp(20px, 5vw, 72px) clamp(72px, 10vw, 120px);
}

.cta p {
  margin: 0 auto 28px;
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.plans-page {
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 72px) clamp(64px, 9vw, 110px);
}

.plans-hero {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.plans-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plans-hero h1,
.form-panel h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.plans-hero p,
.plans-note {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.plans-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(21, 32, 56, 0.04);
}

.plan-card--featured {
  border-color: rgba(47, 107, 255, 0.35);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #f7f9ff 0%, #fff 42%);
}

.plan-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.plan-card header h2 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.plan-card header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.plan-card__trial {
  margin: 0;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
}

.plan-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.plan-card li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  line-height: 1.45;
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-soft);
}

.plan-card li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.45em;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

.plan-card li.is-excluded {
  color: #9aa3b5;
}

.plan-card li.is-excluded s {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: #9aa3b5;
}

.plan-card li.is-excluded::before {
  background: #eef1f6;
}

.plan-card li.is-excluded::after {
  left: 4px;
  top: 0.55em;
  width: 10px;
  height: 0;
  border-left: 0;
  border-bottom: 2px solid #b7bfcd;
  transform: none;
}

.plan-card .btn {
  width: 100%;
  margin-top: auto;
}

.plans-note {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 15px;
}

.form-page {
  display: grid;
  place-items: start center;
  padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 72px) clamp(64px, 9vw, 110px);
}

.form-panel {
  width: min(100%, 560px);
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.form-panel__lead {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 16px;
}

.form-panel form {
  display: grid;
  gap: 14px;
}

.form-panel label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}

.form-panel input,
.form-panel select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #cfd7e6;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.form-panel input:focus,
.form-panel select:focus {
  outline: 3px solid rgba(47, 107, 255, 0.2);
  border-color: var(--blue);
}

.form-panel__hint {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.form-panel__hint a {
  color: var(--blue);
  font-weight: 700;
}

.form-panel__back {
  display: inline-flex;
  justify-content: center;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 650;
}

.form-panel .btn {
  width: 100%;
}

.form-panel--success h1 {
  margin-bottom: 12px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px clamp(20px, 5vw, 72px) 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.footer__brand img {
  width: 28px;
  height: 26px;
  object-fit: contain;
}

:focus-visible {
  outline: 3px solid rgba(47, 107, 255, 0.45);
  outline-offset: 3px;
}

@media (min-width: 820px) {
  .nav {
    display: flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }

  .topbar__actions .btn--ghost {
    display: inline-flex;
  }

  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .finance {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }

  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1080px) {
  .hero {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
  }

  .hero__visual {
    width: 100%;
    justify-self: end;
  }
}

@media (max-width: 819px) {
  .topbar {
    min-height: 64px;
    padding: 10px 16px;
  }

  .topbar__actions .btn {
    display: none;
  }

  .hero {
    gap: 24px;
    padding: 28px 16px 48px;
  }

  .hero__copy h1 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .hero__copy p {
    margin-bottom: 20px;
    font-size: 16px;
  }

  .hero__cta {
    gap: 10px;
  }

  .hero__cta .btn--lg {
    width: 100%;
  }

  .features,
  .finance,
  .cta,
  .plans-page,
  .form-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .features h2,
  .finance h2,
  .cta h2,
  .plans-hero h1 {
    font-size: clamp(26px, 7vw, 34px);
  }

  .plan-card {
    padding: 22px 18px;
  }

  .form-panel {
    padding: 20px 16px;
  }
}
