:root{
  --bg:#07080c;
  --panel:#11131a;
  --card:#ffffff;
  --text:#f8fafc;
  --dark:#111827;
  --muted:#9ca3af;
  --red:#e11d48;
  --red2:#fb315f;
  --border:rgba(255,255,255,.12);
  --shadow:0 24px 70px rgba(0,0,0,.35);
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  background:
    radial-gradient(circle at top left,rgba(225,29,72,.28),transparent 35%),
    linear-gradient(135deg,#07080c,#111827);
  color:var(--text);
  min-height:100vh;
}

a{text-decoration:none;color:inherit}

.wrap{
  width:min(100%,980px);
  margin:0 auto;
  padding:28px 18px 60px;
}

.top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:48px;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
}

.logo img{
  max-height:46px;
  max-width:160px;
}

.logo-mark{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--red),var(--red2));
  color:white;
  font-weight:900;
}

.hero{
  padding:22px 0;
}

h1{
  font-size:clamp(42px,7vw,72px);
  line-height:.95;
  margin:22px 0 14px;
  letter-spacing:-2.5px;
}

h2{
  font-size:clamp(24px,4vw,34px);
  margin:0 0 14px;
  letter-spacing:-.8px;
}

p{
  font-size:17px;
  line-height:1.7;
}

.muted{
  color:#cbd5e1;
}

.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 18px;
  border:1px solid var(--border);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:white;
  font-weight:800;
  font-size:14px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}

.card{
  background:rgba(255,255,255,.09);
  border:1px solid var(--border);
  border-radius:28px;
  padding:28px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(14px);
}

.card.white,
form.card,
.admin-card{
  background:white;
  color:var(--dark);
  border:0;
}

.btn,
button,
input[type="submit"]{
  width:100%;
  border:0;
  border-radius:18px;
  padding:17px 22px;
  background:linear-gradient(135deg,var(--red),var(--red2));
  color:white;
  font-weight:900;
  font-size:16px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 18px 40px rgba(225,29,72,.28);
}

.btn.secondary{
  background:white;
  color:#111827;
  box-shadow:none;
}

input,
select,
textarea{
  width:100%;
  padding:16px 18px;
  border-radius:16px;
  border:1px solid #e5e7eb;
  background:white;
  color:#111827;
  font-size:16px;
  margin:8px 0 18px;
}

label{
  display:block;
  font-weight:900;
  color:#334155;
  margin-top:8px;
}

.admin-shell{
  width:min(100%,1100px);
  margin:0 auto;
  padding:24px 16px 70px;
}

.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:18px 0 28px;
}

.nav a{
  padding:11px 15px;
  border-radius:999px;
  background:rgba(255,255,255,.09);
  border:1px solid var(--border);
  font-weight:800;
  color:white;
}

.kpis{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.kpi{
  background:white;
  color:#111827;
  border-radius:24px;
  padding:22px;
}

.kpi .num{
  font-size:34px;
  font-weight:900;
}

.table-card{
  background:white;
  color:#111827;
  border-radius:24px;
  padding:18px;
  overflow:auto;
}

table{
  width:100%;
  border-collapse:collapse;
}

th,td{
  padding:14px;
  border-bottom:1px solid #e5e7eb;
  text-align:left;
}

.badge{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background:#fee2e2;
  color:#991b1b;
  font-weight:900;
  font-size:12px;
}

.star{
  font-size:38px;
  cursor:pointer;
  color:#d1d5db;
}

.star.active{
  color:var(--red);
}

.progress{
  height:12px;
  background:rgba(255,255,255,.12);
  border-radius:999px;
  overflow:hidden;
}

.progress span{
  display:block;
  height:100%;
  background:linear-gradient(135deg,var(--red),var(--red2));
}

@media(max-width:760px){
  .wrap{padding:22px 16px 50px}
  .top{margin-bottom:28px}
  .grid,.kpis{grid-template-columns:1fr}
  .card{padding:24px}
  h1{font-size:44px}
}