:root {
  --bg: #000000;
  --fg: #ffffff;
  --line: rgba(255, 255, 255, 0.08);
}

* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'cv11';
}

.serif { font-family: 'Instrument Serif', Georgia, serif; letter-spacing: -0.01em; }
.font-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ---------- fundo ---------- */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
}

.glow {
  position: fixed;
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 620px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(255,255,255,0.10), transparent 62%);
  filter: blur(40px);
}

main, header, footer { position: relative; z-index: 1; }

/* ---------- nav ---------- */
.nav-shell {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-link { transition: color .2s ease; }
.nav-link:hover { color: #fff; }

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
  color: #000;
  transition: transform .25s ease;
}
a:hover > .logo-mark { transform: rotate(-8deg); }

/* ---------- botões ---------- */
.btn-primary {
  background: #fff;
  color: #000;
  font-weight: 500;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease;
  box-shadow: 0 0 0 0 rgba(255,255,255,0);
}
.btn-primary:hover {
  background: #e9e9e9;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px -8px rgba(255,255,255,0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85);
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05);
  color: #fff;
}

:focus-visible {
  outline: 2px solid rgba(255,255,255,0.7);
  outline-offset: 3px;
}

/* ---------- pill ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }
  70% { box-shadow: 0 0 0 7px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ---------- terminal ---------- */
.terminal {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  overflow: hidden;
  box-shadow: 0 40px 90px -50px rgba(255,255,255,0.25);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
}
.t-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
}
.caret {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: rgba(255,255,255,0.8);
  vertical-align: -2px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.t-line { opacity: 0; transform: translateY(4px); animation: lineIn .45s ease forwards; }
@keyframes lineIn { to { opacity: 1; transform: translateY(0); } }
.t-ok { color: #fff; }
.t-dim { color: rgba(255,255,255,0.35); }

/* ---------- seções ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: rgba(255,255,255,0.3);
}

/* ---------- features ---------- */
.feature {
  background: #000;
  padding: 30px 26px 34px;
  transition: background .3s ease;
}
.feature:hover { background: rgba(255,255,255,0.035); }

.feature-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.feature-icon svg { width: 18px; height: 18px; }
.feature:hover .feature-icon {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.feature h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.feature p {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.45);
}

/* ---------- steps ---------- */
.step {
  display: flex;
  gap: 18px;
  padding: 22px 22px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.015);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.step:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  transform: translateX(3px);
}
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  padding-top: 3px;
  letter-spacing: 0.05em;
}
.step h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.45);
}

/* ---------- preços ---------- */
.price-card {
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  padding: 28px 24px;
  background: rgba(255,255,255,0.012);
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.price-card:hover {
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-3px);
}
.price-card--featured {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.22);
}
.price-card ul li {
  position: relative;
  padding-left: 18px;
}
.price-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 5px;
  border-left: 1.5px solid rgba(255,255,255,0.55);
  border-bottom: 1.5px solid rgba(255,255,255,0.55);
  transform: rotate(-45deg);
}

/* ---------- faq ---------- */
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  text-align: left;
  font-size: 14.5px;
  font-weight: 450;
  color: rgba(255,255,255,0.85);
  transition: color .2s ease;
}
.faq-trigger:hover { color: #fff; }

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.6);
  transition: transform .3s ease, opacity .3s ease;
}
.faq-icon::before { top: 6.5px; left: 0; width: 14px; height: 1px; }
.faq-icon::after { left: 6.5px; top: 0; width: 1px; height: 14px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-panel p {
  padding: 0 4px 22px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  max-width: 60ch;
}

/* ---------- cta ---------- */
.cta-box {
  position: relative;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  padding: 56px 28px;
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(255,255,255,0.09), transparent 70%),
    rgba(255,255,255,0.012);
  overflow: hidden;
}
.cta-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 75%);
  pointer-events: none;
}
.cta-box > * { position: relative; z-index: 1; }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot, .caret, .t-line { animation: none; opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .grid-bg { background-size: 48px 48px; }
  .cta-box { padding: 40px 20px; }
}
