:root {
  --void: #0b0a12;
  --surface: #161320;
  --surface-2: #1e1a2b;
  --line: rgba(255, 255, 255, 0.08);
  --violet: #8b5cf6;
  --pink: #f472b6;
  --pink-hot: #ec4899;
  --teal: #2dd4bf;
  --amber: #fbbf24;
  --danger: #fb7185;
  --text: #f5f3fa;
  --muted: #9c93b5;
  --grad: linear-gradient(120deg, var(--violet) 0%, var(--pink-hot) 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: var(--void);
  background-image:
    radial-gradient(circle at 12% 0%, rgba(139, 92, 246, 0.18), transparent 42%),
    radial-gradient(circle at 92% 8%, rgba(236, 72, 153, 0.14), transparent 38%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
button, input { font: inherit; }
.mono { font-family: "JetBrains Mono", monospace; }
.dim { color: var(--muted); font-weight: 500; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; width: 154px; height: auto; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 10, 18, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 24px;
}
.nav-links { display: flex; gap: 32px; font-size: 14px; color: var(--muted); }
.nav-links a:hover, .nav-aluno:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; }
.nav-aluno { margin-right: 20px; font-size: 14px; color: var(--muted); }
.nav-cta, .btn-primary {
  display: inline-block;
  border: 0;
  border-radius: 100px;
  background: var(--grad);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s ease;
}
.nav-cta { padding: 10px 20px; font-size: 13px; }
.btn-primary { padding: 16px 30px; font-size: 15px; }
.nav-cta:hover, .btn-primary:hover { filter: brightness(1.1); }
.nav-cta:focus-visible, .btn-primary:focus-visible, .btn-ghost:focus-visible, a:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

.hero { padding: 88px 0 100px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--teal);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
h1 {
  margin-bottom: 22px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(36px, 5.4vw, 58px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.hero .lead { max-width: 520px; margin-bottom: 34px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.hero-ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }
.btn-secondary { padding-bottom: 2px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.hero-aluno { display: inline-block; margin-bottom: 28px; padding-bottom: 2px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.trust-line { color: var(--muted); font-size: 13px; }
.trust-line strong { color: var(--text); }
.hero-visual { display: flex; justify-content: center; }
.metric-card {
  width: 300px;
  padding: 42px 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  text-align: center;
}
.metric-number { font-family: "Space Grotesk", sans-serif; font-size: 48px; font-weight: 700; }
.metric-label { margin-top: 8px; color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.1em; }
.metric-areas { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--teal); font-size: 12px; }

.stats { padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.stat b { display: block; font-family: "Space Grotesk", sans-serif; font-size: 26px; }
.stat span { color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
section.block { padding: 96px 0; scroll-margin-top: 88px; }
.eyebrow { margin-bottom: 14px; color: var(--pink); font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.section-h { max-width: 650px; margin-bottom: 16px; font-family: "Space Grotesk", sans-serif; font-size: clamp(26px, 3.4vw, 36px); }
.section-sub { max-width: 560px; margin-bottom: 56px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; }
.step-num { margin-bottom: 16px; color: var(--teal); font-size: 13px; }
.step-title { margin-bottom: 10px; font-family: "Space Grotesk", sans-serif; font-size: 19px; font-weight: 600; }
.step-desc { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.price-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  overflow: hidden;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.price-card::before { content: ""; position: absolute; inset: 0; opacity: 0.08; background: var(--grad); pointer-events: none; }
.price-card > * { position: relative; }
.amount { font-family: "Space Grotesk", sans-serif; font-size: 44px; font-weight: 700; }
.amount span { color: var(--muted); font-size: 15px; font-weight: 500; }
.cancel { margin-top: 8px; color: var(--muted); font-size: 13px; }
.feature-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; list-style: none; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.feature-list li::before { content: "\2713"; color: var(--teal); font-weight: 700; }
details { padding: 20px 0; border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; font-family: "Space Grotesk", sans-serif; font-size: 15.5px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--pink); font-size: 20px; font-weight: 400; }
details[open] summary::after { content: "-"; }
details p { max-width: 700px; margin-top: 14px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.final-cta { padding: 96px 0 40px; text-align: center; }
.final-cta h2 { margin-bottom: 18px; font-family: "Space Grotesk", sans-serif; font-size: clamp(28px, 4vw, 42px); }
.final-cta p { margin-bottom: 32px; color: var(--muted); }

.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 36px 0; border-top: 1px solid var(--line); }
.site-footer.wrap { padding: 36px 24px; }
.site-footer .brand-logo { width: 136px; }
.footer-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 20px; }
.footer-link, .consent-link { padding: 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--muted); font-size: 12.5px; cursor: pointer; }
.fnote { color: var(--muted); font-size: 12.5px; }

.page-header { display: flex; align-items: center; justify-content: space-between; max-width: 1040px; margin: 0 auto; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.back-link { display: flex; align-items: center; gap: 6px; color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 12px; }
.page { max-width: 1040px; margin: 0 auto; padding: 32px 24px 80px; }
.page-narrow { max-width: 720px; }
.top-note { display: flex; align-items: center; gap: 8px; margin-bottom: 36px; color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 12px; }
.layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; }
.card { padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.co-eyebrow { margin-bottom: 14px; color: var(--pink); font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.page-title { margin-bottom: 8px; font-family: "Space Grotesk", sans-serif; font-size: clamp(26px, 4vw, 36px); line-height: 1.15; }
.manage-hint { margin-bottom: 24px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.plan-name { font-family: "Space Grotesk", sans-serif; font-size: 22px; font-weight: 700; }
.plan-price { margin: 18px 0 2px; font-family: "Space Grotesk", sans-serif; font-size: 44px; font-weight: 700; }
.plan-price span { color: var(--muted); font-size: 14px; font-weight: 500; }
.plan-cycle { margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.co-feature-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; list-style: none; }
.co-feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.co-feature-list li::before { content: "\2713"; flex-shrink: 0; color: var(--teal); font-weight: 700; }
.divider { height: 1px; margin: 22px 0; background: var(--line); }
.total-row { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 14px; }
.total-row b { color: var(--text); font-family: "Space Grotesk", sans-serif; font-size: 17px; }
.cancel-note { margin-top: 18px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.form-title { margin-bottom: 22px; font-family: "Space Grotesk", sans-serif; font-size: 18px; font-weight: 600; }
.field { margin-bottom: 16px; }
.field label, fieldset legend { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12.5px; }
.field input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: var(--void);
  color: var(--text);
  color-scheme: dark;
}
.field input:focus { border-color: var(--violet); }
.field input::placeholder { color: #958cae; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.language-fieldset { margin-bottom: 20px; border: 0; }
.language-options { display: flex; flex-direction: column; gap: 10px; }
.language-options label { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12.5px; cursor: pointer; }
.language-options input { width: 16px; height: 16px; accent-color: var(--violet); }
.guardian-block { margin-top: 4px; padding-top: 18px; border-top: 1px dashed var(--line); }
.turnstile-container { min-height: 65px; margin: 4px 0 18px; overflow: hidden; }
.turnstile-container > div { max-width: 100%; }
.form-error { margin: -4px 0 14px; color: var(--danger); font-size: 13px; }
.config-retry { margin-bottom: 14px; }
.form-note { margin: 14px 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.btn-block { width: 100%; text-align: center; }
.steps-indicator { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 12px; }
.checkout-step { display: flex; align-items: center; gap: 7px; }
.checkout-step .dot { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 50%; font-size: 11px; }
.checkout-step.active { color: var(--text); }
.checkout-step.active .dot { border-color: transparent; background: var(--grad); color: #fff; }
.step-line { flex: 1; min-width: 12px; height: 1px; background: var(--line); }
#payment-element { margin: 4px 0 8px; }
.stripe-loading { padding: 28px 16px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: 13.5px; text-align: center; }
.secure-line { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; color: var(--muted); font-size: 12px; }
.success-card { display: none; padding: 56px 32px; text-align: center; }
.success-ring { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; background: var(--grad); font-size: 26px; font-weight: 700; }
.success-ring.pending { background: var(--surface-2); color: var(--amber); }
.success-ring.warning { background: var(--surface-2); color: var(--danger); }
.success-card h1 { margin-bottom: 12px; font-size: 28px; }
.success-card p { max-width: 460px; margin: 0 auto 22px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.success-steps { display: flex; flex-direction: column; gap: 14px; max-width: 460px; margin: 32px auto 0; text-align: left; }
.success-step { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: 13px; }
.success-step .dot { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 18px; height: 18px; border: 1px solid var(--line); border-radius: 50%; color: var(--teal); font-size: 10px; }
.success-card > .btn-ghost, .success-card > .btn-primary { margin: 8px 4px 0; }
.status-card { margin-top: 24px; padding: 28px 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.status-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 6px 14px; border-radius: 100px; font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.status-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-badge.ok { border: 1px solid rgba(45, 212, 191, 0.3); background: rgba(45, 212, 191, 0.1); color: var(--teal); }
.status-badge.warn { border: 1px solid rgba(251, 191, 36, 0.3); background: rgba(251, 191, 36, 0.1); color: var(--amber); }
.status-badge.bad { border: 1px solid rgba(251, 113, 133, 0.3); background: rgba(251, 113, 133, 0.1); color: var(--danger); }
.status-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.status-row b { color: var(--text); text-align: right; }
.status-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.btn-ghost { padding: 12px 22px; border: 1px solid var(--line); border-radius: 100px; background: transparent; color: var(--text); font-family: "Space Grotesk", sans-serif; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.btn-ghost:hover { border-color: var(--danger); color: var(--danger); }
.btn-ghost:disabled, .btn-primary:disabled { cursor: default; opacity: 0.5; }
.privacy-copy { color: var(--muted); font-size: 15px; line-height: 1.75; }
.privacy-copy h2 { margin: 32px 0 10px; color: var(--text); font-family: "Space Grotesk", sans-serif; font-size: 22px; }
.privacy-copy p, .privacy-copy ul { margin-bottom: 14px; }
.privacy-copy ul { padding-left: 22px; }
.not-found-card { margin-top: 10vh; text-align: center; }
.loading-note { margin-top: 24px; }

.consent-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  width: min(430px, calc(100% - 40px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-2);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}
.consent-banner p { margin-bottom: 16px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-actions button { padding: 10px 16px; font-size: 13px; }

@media (max-width: 860px) {
  .hero-grid, .layout { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 72px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-aluno { display: none !important; }
  .brand-logo { width: 138px; }
  .price-card { padding: 34px 26px; }
}
@media (max-width: 520px) {
  .row-2 { grid-template-columns: 1fr; }
  .card { min-width: 0; padding: 24px 20px; }
  .layout > * { min-width: 0; }
  .steps-indicator { font-size: 10px; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 360px) {
  .steps-indicator { align-items: flex-start; gap: 6px; }
  .checkout-step { flex-direction: column; gap: 4px; text-align: center; }
  .step-line { margin-top: 11px; }
  .plan-price { font-size: 36px; }
  .page { padding-right: 14px; padding-left: 14px; }
}
