:root {
  --bg: #0f1729;
  --surface: #171f36;
  --surface-2: #1e2842;
  --text: #eef1f7;
  --text-muted: #98a2b8;
  --accent: #3a6ff7;
  --accent-hover: #4d7ff9;
  --border: #2a3556;
  --danger: #e5484d;
  --success: #46a758;
  --radius: 12px;
  --max-width: 960px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter",
    system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Topbar */
.topbar {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.lang-toggle {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--text);
}
[data-lang="pt"] .lang-toggle [data-when="en"],
[data-lang="en"] .lang-toggle [data-when="pt"] {
  display: none;
}

/* Hero */
.hero {
  padding: 96px 0 80px;
}
.hero h1 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 20px;
}
.hero .lead {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 640px;
  margin: 0 0 32px;
}

.waitlist {
  display: flex;
  gap: 12px;
  max-width: 480px;
  flex-wrap: wrap;
}
.waitlist input {
  flex: 1 1 260px;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s ease;
}
.waitlist input:focus {
  outline: none;
  border-color: var(--accent);
}
.waitlist button {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.waitlist button:hover:not(:disabled) {
  background: var(--accent-hover);
}
.waitlist button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.waitlist-status {
  margin-top: 16px;
  font-size: 14px;
}
.waitlist-status.success {
  color: var(--success);
}
.waitlist-status.error {
  color: var(--danger);
}

.hero-note {
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 13px;
}

/* Features */
.features {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}
.features .container {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.feature h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.feature p {
  color: var(--text-muted);
  margin: 0;
  font-size: 15px;
}

@media (max-width: 720px) {
  .features .container {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 34px;
  }
}

/* Closing */
.closing {
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.closing h2 {
  font-size: 28px;
  margin: 0 0 12px;
}
.closing p {
  color: var(--text-muted);
  margin: 0 0 24px;
}
.cta-secondary {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  transition: background 0.15s ease;
}
.cta-secondary:hover {
  background: rgba(58, 111, 247, 0.08);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--text-muted);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer a:hover {
  color: var(--text);
}
