:root {
  --bg: #0d0f14;
  --surface: #141720;
  --surface2: #1c2030;
  --border: #272d3d;
  --accent: #00d4ff;
  --accent2: #00ff88;
  --accent3: #ff6b35;
  --text: #e8ecf4;
  --text-dim: #6b7591;
  --text-mid: #a0aac0;
  --danger: #ff4444;
  --warning: #ffaa00;
}

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

body {
  font-family: "IBM Plex Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  background: rgba(13, 15, 20, 0.97);
  backdrop-filter: blur(12px);
}

.logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 26px;
  letter-spacing: 3px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--text-dim);
  font-size: 11px;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 1px;
  border-left: 1px solid var(--border);
  padding-left: 10px;
}

.header-badge,
.badge {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--accent2);
  border: 1px solid var(--accent2);
  padding: 4px 10px;
  letter-spacing: 1px;
}

.header-link {
  margin-right: 20px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 1px;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 40px 80px;
}

.steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 48px;
}

.step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
  position: relative;
}

.step:not(:last-child) {
  border-right: none;
}

.step.active {
  background: var(--surface2);
  border-color: var(--accent);
  border-right: 1px solid var(--accent);
}

.step.done {
  border-color: var(--accent2);
  border-right: 1px solid var(--accent2);
}

.step-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;
  color: var(--text-dim);
  line-height: 1;
  min-width: 28px;
}

.step.active .step-num {
  color: var(--accent);
}

.step.done .step-num {
  color: var(--accent2);
}

.step-label {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
}

.step-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  margin-top: 2px;
}

.step.active .step-title {
  color: var(--text);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.panel.active::before {
  opacity: 1;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  flex-wrap: wrap;
  gap: 10px;
}

.panel-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-title::before {
  content: "//";
  color: var(--text-dim);
}

.panel-body {
  padding: 24px;
}

.input-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.input-field {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  width: 100%;
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
}

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

.btn {
  padding: 10px 20px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.15s;
  border: 1px solid;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  outline: none;
  background: transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-weight: 600;
}

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

.btn-secondary {
  color: var(--text-mid);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--text-mid);
  color: var(--text);
}

.btn-danger {
  color: var(--danger);
  border-color: rgba(255, 68, 68, 0.3);
  padding: 6px 12px;
  font-size: 11px;
}

.btn-danger:hover {
  background: rgba(255, 68, 68, 0.1);
  border-color: var(--danger);
}

@media (max-width: 900px) {
  .container {
    padding: 20px 16px 60px;
  }
  header {
    padding: 0 20px;
  }
  .steps {
    flex-direction: column;
  }
  .step:not(:last-child) {
    border-right: 1px solid var(--border);
    border-bottom: none;
  }
}
