:root {
  --bg: #000000;
  --panel: #0a0a0a;
  --panel-2: #111111;
  --line: #1a1a1a;
  --text: #f1f1f1;
  --muted: #8f8f8f;
  --accent: #ff6600;
  --danger: #ff3b30;
  --success: #00d46a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, #0f0f0f 0%, var(--bg) 55%);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 430px;
  background: linear-gradient(180deg, #0d0d0d, #070707);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px;
}

.hero {
  max-width: 680px;
  text-align: center;
}

.title {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--accent);
  letter-spacing: -0.02em;
}

.subtitle {
  margin: 10px 0 34px;
  color: var(--muted);
  font-size: 15px;
}

.buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
}

.btn-ghost:hover {
  background: var(--accent);
  color: #000;
}

.section-title {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 28px;
}

.section-subtitle {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.field {
  margin-bottom: 16px;
}

.label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.input {
  width: 100%;
  border: 1px solid #252525;
  background: var(--panel-2);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}

.input:focus {
  border-color: var(--accent);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.checkbox input {
  accent-color: var(--accent);
}

.alert {
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
}

.alert-error {
  border: 1px solid var(--danger);
  background: rgba(255, 59, 48, 0.1);
  color: var(--danger);
}

.row {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.link {
  color: var(--accent);
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.terminal {
  width: min(1100px, 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #050505;
}

.terminal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #101010;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.terminal-head strong {
  color: var(--accent);
}

.terminal-body {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 12px;
}

.tile {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 14px;
}

.tile h3 {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.tile p {
  margin: 8px 0 0;
  font-size: 24px;
  color: var(--accent);
  font-weight: 700;
}

.footer-note {
  margin-top: 22px;
  color: #575757;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 760px) {
  .card {
    padding: 24px;
  }

  .terminal-body {
    grid-template-columns: 1fr;
  }
}
