:root {
  --bg: #0f172a;
  --bg-soft: #111827;
  --card: #0b1220;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --brand: #22c55e;
  --brand-600: #16a34a;
  --accent: #38bdf8;
  --ring: rgba(34, 197, 94, .4);
  --maxw: 1128px;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.6
}

a {
  color: var(--accent);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px
}

header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(180%) blur(8px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, .85), rgba(15, 23, 42, .65));
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  z-index: 50
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px
}

.brand__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, .2)
}

.brand__name {
  font-weight: 700;
  letter-spacing: .3px;
  font-size: 1.5rem
}

.cta {
  display: inline-block;
  background: var(--brand);
  color: #06250f;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 10px 30px -12px var(--ring), inset 0 -2px 0 rgba(0, 0, 0, .15);
  transition: transform .06s ease, box-shadow .2s ease
}

.cta:hover {
  transform: translateY(-1px);
  text-decoration: none
}

.cta:active {
  transform: translateY(0)
}

.ghost {
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text)
}

main {
  display: block
}

.hero {
  padding: 56px 0 24px
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, rgba(56, 189, 248, .18), rgba(56, 189, 248, .08));
  border: 1px solid rgba(56, 189, 248, .35);
  color: #cff0ff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px
}

h1 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
  margin: .5rem 0 1rem
}

.lead {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--muted);
  max-width: 60ch
}

.hero__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px
}

.card {
  background: linear-gradient(180deg, rgba(12, 18, 32, .9), rgba(12, 18, 32, .7));
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 18px;
  padding: 18px
}

.screen__hint {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 12px
}

.features {
  padding: 40px 0 12px
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.feature {
  background: linear-gradient(180deg, rgba(17, 24, 39, .7), rgba(17, 24, 39, .45));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 16px
}

.feature h3 {
  margin: .2rem 0 .4rem;
  font-size: 18px
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px
}

.how {
  padding: 28px 0
}

.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.how .step {
  counter-increment: step;
  position: relative;
  padding-left: 14px
}

.how .step::before {
  content: counter(step);
  position: absolute;
  left: -2px;
  top: 2px;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #06250f;
  font-weight: 800
}

.faq {
  padding: 28px 0 10px
}

details {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: 14px
}

summary {
  cursor: pointer;
  font-weight: 700
}

details+details {
  margin-top: 10px
}

footer {
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: linear-gradient(180deg, rgba(10, 15, 25, .7), rgba(10, 15, 25, .5))
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center
}

.footer__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.small {
  font-size: 13px;
  color: var(--muted)
}

.kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .05);
  padding: 2px 6px;
  border-radius: 6px
}

@media (max-width:980px) {
  .hero__grid {
    grid-template-columns: 1fr
  }

  .features__grid,
  .how__grid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:640px) {

  .features__grid,
  .how__grid {
    grid-template-columns: 1fr
  }

  .container {
    padding: 18px
  }
}

#loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-family: sans-serif;
  color: #e5e7eb;
  background: #0f172a;
}

#loading img {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}

.brand__icon {
  width: 28px;
  /* ajuste para combinar com o texto */
  height: 28px;
  margin-right: 0.5rem;
  vertical-align: middle;
  border-radius: 6px;
  /* opcional, deixa com cantos arredondados */
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.screen {
  width: 100%;
  border-radius: 0.75rem;
  /* cantos arredondados */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  display: block;
}

.brand__link {
  color: inherit;
  text-decoration: none;
}

.brand__link:hover {
  text-decoration: none;
}