:root {
  --bg: #07152e;
  --panel: rgba(9, 26, 58, 0.88);
  --panel-2: rgba(5, 16, 36, 0.9);
  --text: #ffffff;
  --muted: rgba(255,255,255,0.72);
  --line: rgba(255,255,255,0.08);
  --accent: #ff8b2b;
  --accent-2: #4ea6ff;
  --good: #3ddb88;
  --bad: #ff6f6f;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255,139,43,0.18), transparent 25%),
    radial-gradient(circle at top right, rgba(78,166,255,0.15), transparent 25%),
    linear-gradient(180deg, #061127, #081a37 40%, #07152e 100%);
}
a { color: inherit; text-decoration: none; }
.site-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar, .footer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0;
}
.brand-name { margin: 0; font-size: 1.4rem; }
.eyebrow, .pill { display: inline-block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #ffd1ac; }
.nav { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.button, button {
  border: 0; background: linear-gradient(135deg, var(--accent), #ff6b00); color: white;
  padding: 12px 18px; border-radius: 14px; cursor: pointer; font-weight: 700;
}
.button.subtle, .subtle { background: rgba(255,255,255,0.08); color: white; }
.button.small { padding: 8px 12px; border-radius: 10px; font-size: .9rem; }
.hero {
  display: grid; grid-template-columns: 1.4fr .9fr; gap: 20px; align-items: center;
  padding: 26px 0 18px;
}
.hero.compact { grid-template-columns: 1.2fr .8fr; }
.hero h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 10px 0; }
.hero p { color: var(--muted); max-width: 700px; }
.grid { display: grid; gap: 20px; margin: 20px 0; }
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}
.stack > * + * { margin-top: 12px; }
.clean-list { margin: 0; padding-left: 18px; color: var(--muted); }
.auth-wrap { display: flex; justify-content: center; padding: 20px 0 40px; }
.auth-card { width: min(520px, 100%); }
label { display: block; margin-bottom: 14px; font-weight: 600; }
input, textarea {
  width: 100%; margin-top: 8px; background: var(--panel-2); border: 1px solid var(--line);
  color: white; border-radius: 14px; padding: 12px 14px; font: inherit;
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.list-card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--line);
  border-radius: 16px; padding: 14px; margin-top: 12px;
}
.list-card p { color: var(--muted); }
.alert { padding: 14px 18px; border-radius: 16px; margin-bottom: 14px; }
.alert.success { background: rgba(61,219,136,0.12); border: 1px solid rgba(61,219,136,0.25); }
.alert.error { background: rgba(255,111,111,0.12); border: 1px solid rgba(255,111,111,0.25); }
.stat-card strong { display: block; font-size: 2rem; margin-top: 8px; }
.muted { color: var(--muted); }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.mini-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.inline-form { display: inline; }
@media (max-width: 900px) {
  .hero, .hero.compact, .grid.two, .grid.four, .topbar, .footer { grid-template-columns: 1fr; display: grid; }
  .nav { justify-content: start; }
}
