:root {
  --brand: #3b82f6;
  --brand-dark: #2563eb;
  --brand-light: #60a5fa;
  --brand-glow: rgba(59, 130, 246, .25);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --bg: #060b16;
  --bg-soft: #0a1122;
  --surface: #101a30;
  --border: #1e2a45;
}

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

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.25; font-weight: 700; color: var(--text); }
h2 { font-size: 2rem; text-align: center; margin-bottom: 12px; }
p { color: var(--text-muted); }

/* Botões */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 0 0 rgba(59,130,246,0); }
.btn--primary:hover { background: var(--brand-dark); box-shadow: 0 4px 20px var(--brand-glow); }
.btn--outline { background: transparent; color: var(--brand-light); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-light); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--sm { padding: 8px 16px; font-size: .9rem; }

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(6, 11, 22, .85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo { font-size: 1.4rem; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav a { text-decoration: none; color: var(--text); font-weight: 500; }
.nav a:hover { color: var(--brand-light); }
.nav__login { color: var(--text-muted) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); }

/* Hero */
.hero {
  padding: 96px 0 72px;
  text-align: center;
  background:
    radial-gradient(60% 60% at 50% 0%, var(--brand-glow) 0%, transparent 70%),
    var(--bg);
}
.hero__inner { max-width: 760px; }
.hero h1 { font-size: 2.6rem; margin-bottom: 20px; }
.hero__subtitle { font-size: 1.15rem; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__note { margin-top: 16px; font-size: .85rem; }

/* Features */
.features { padding: 88px 0; background: var(--bg); }
.features__subtitle { max-width: 640px; margin: 0 auto; text-align: center; font-size: 1.05rem; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--brand); transform: translateY(-2px); }
.card__icon { font-size: 1.8rem; margin-bottom: 12px; }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { font-size: .95rem; }

/* Veja o sistema por dentro */
.showcase { padding: 88px 0; background: var(--bg-soft); }
.showcase__subtitle { max-width: 640px; margin: 0 auto; text-align: center; font-size: 1.05rem; }
.showcase__list {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-top: 56px;
}
.showcase__item {
  display: flex;
  align-items: center;
  gap: 48px;
}
.showcase__item--reverse { flex-direction: row-reverse; }
.showcase__text { flex: 0 0 30%; }
.showcase__text h3 { font-size: 1.3rem; margin-bottom: 12px; }
.showcase__text p { font-size: .98rem; }

.browser-frame {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.browser-frame__bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: #0b1526;
  border-bottom: 1px solid var(--border);
}
.browser-frame__bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #2a3b57;
}
.browser-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* Como funciona */
.how { padding: 88px 0; background: var(--bg-soft); }
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  text-align: center;
}
.how__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px var(--brand-glow);
}
.how__step h3 { margin-bottom: 8px; }
.how__step p { font-size: .95rem; }

/* Planos */
.plans { padding: 88px 0; background: var(--bg); }
.plans__subtitle { text-align: center; margin-bottom: 48px; }
.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
}
.plan-card--featured { border-color: var(--brand); box-shadow: 0 8px 32px var(--brand-glow); }
.plan-card__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.plan-card h3 { font-size: 1.2rem; }
.plan-card__price { font-size: 2rem; font-weight: 800; color: var(--text); }
.plan-card__price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.plan-card__desc { font-size: .9rem; }
.plan-card__list { list-style: none; flex: 1; margin: 8px 0; }
.plan-card__list li {
  padding: 8px 0;
  border-top: 1px solid var(--border);
  font-size: .92rem;
  color: var(--text-muted);
}
.plan-card .btn { text-align: center; margin-top: 8px; }

/* CTA final */
.cta {
  padding: 88px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--brand-dark) 0%, #1d4ed8 100%);
}
.cta h2 { color: #fff; margin-bottom: 28px; }
.cta .btn--primary { background: #fff; color: var(--brand-dark); }
.cta .btn--primary:hover { background: #e2e8f0; box-shadow: 0 4px 20px rgba(0,0,0,.25); }

/* Footer */
.footer { padding: 32px 0; border-top: 1px solid var(--border); background: var(--bg); }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .9rem;
  color: var(--text-muted);
}
.footer__links { display: flex; gap: 20px; }
.footer__links a { color: var(--text-muted); text-decoration: none; }
.footer__links a:hover { color: var(--brand-light); }

/* Responsivo */
@media (max-width: 860px) {
  .features__grid, .how__steps, .plans__grid { grid-template-columns: 1fr; }
  .showcase__item, .showcase__item--reverse { flex-direction: column; gap: 24px; }
  .showcase__text { flex: 1; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
    gap: 16px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .hero h1 { font-size: 2rem; }
}
