:root {
  --bg: #070b12;
  --panel: rgba(12, 18, 30, 0.92);
  --line: rgba(105, 255, 240, 0.18);
  --text: #eef6ff;
  --muted: #8fa0b8;
  --cyan: #69fff0;
  --magenta: #f331ff;
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; font-family: Inter, system-ui, sans-serif; color: var(--text); background: var(--bg); }
a { color: var(--cyan); }
body { position: relative; overflow-x: hidden; }

.bg-glow {
  position: fixed; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(105, 255, 240, 0.12), transparent 35%),
    radial-gradient(circle at 85% 10%, rgba(243, 49, 255, 0.1), transparent 30%);
}

.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.5rem; border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px); background: rgba(7, 11, 18, 0.75);
}
.topbar-actions { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }

.brand { display: flex; align-items: center; gap: 0.9rem; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--magenta)); color: #041018;
}
.brand small { display: block; color: var(--muted); }

.layout { width: min(1180px, 100%); margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.hero { max-width: 760px; }
.kicker { color: var(--cyan); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; }
.hero h1 { font-family: Rajdhani, Inter, sans-serif; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; margin: 0.4rem 0 1rem; }
.lead { color: var(--muted); font-size: 1.05rem; line-height: 1.6; }

.panel { display: grid; grid-template-columns: 220px 1fr; gap: 1rem; margin-top: 1rem; }
.sidebar, .content { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.sidebar { padding: 0.75rem; display: flex; flex-direction: column; gap: 0.35rem; height: fit-content; position: sticky; top: 88px; }
.nav-item {
  border: 0; background: transparent; color: var(--muted); text-align: left;
  padding: 0.75rem 0.9rem; border-radius: 10px; cursor: pointer; font-weight: 600;
}
.nav-item.active, .nav-item:hover { color: var(--text); background: rgba(105, 255, 240, 0.08); }

.content { padding: 1.25rem; }
.tab { display: none; }
.tab.active { display: block; }
.content h2 { margin: 0 0 0.5rem; font-family: Rajdhani, Inter, sans-serif; font-size: 1.8rem; }
.hint { color: var(--muted); line-height: 1.5; margin: 0 0 1rem; }
.hint code { color: var(--cyan); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.grid label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.92rem; color: var(--muted); }
.grid input, .grid textarea {
  width: 100%; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.03); color: var(--text); padding: 0.7rem 0.8rem;
}
.grid .span-2 { grid-column: span 2; }
.grid .check { flex-direction: row; align-items: center; gap: 0.6rem; color: var(--text); }

.status-card { border: 1px solid var(--line); border-radius: 12px; padding: 1rem; background: rgba(255,255,255,0.02); }
.form-actions {
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.status { margin: 0; color: var(--muted); }

.btn { border: 0; border-radius: 999px; padding: 0.65rem 1.1rem; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.btn-primary { background: linear-gradient(135deg, var(--cyan), #3fd6ff); color: #041018; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-large { padding: 0.9rem 1.4rem; font-size: 1rem; }
.hidden { display: none !important; }

@media (max-width: 900px) {
  .panel { grid-template-columns: 1fr; }
  .sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .grid { grid-template-columns: 1fr; }
  .grid .span-2 { grid-column: span 1; }
}
