@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root{
  --ocean-50:#f5faff;
  --ocean-100:#e6f2ff;
  --ocean-200:#cfe4ff;
  --ocean-600:#2563eb;
  --ocean-700:#1d4ed8;

  --bg:#f6f8fb;
  --panel:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e5e7eb;
  --border-focus:#93c5fd;

  --shadow-xs:0 1px 3px rgba(2,132,199,.07);
  --shadow-sm:0 4px 12px rgba(2,132,199,.10);
  --shadow:0 8px 28px rgba(2,132,199,.13);

  --radius:18px;
  --radius-2:24px;
  --radius-pill:999px;
  --max:980px;
}

*,*::before,*::after{box-sizing:border-box}
html,body{height:100%; margin:0}
body{
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
}

/* ── Topbar ── */
.topbar{
  position:sticky; top:0; z-index:10;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
  box-shadow:0 2px 16px rgba(2,132,199,.07);
}
.brand{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 20px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brand-left{
  display:flex;
  align-items:center;
  gap:14px;
}
.logo{
  height:40px; width:auto;
  border-radius:10px;
  display:block;
}
.title{font-weight:900; font-size:16px}
.sub{color:var(--muted); font-size:12px; margin-top:2px}

/* ── Logout btn ── */
.logout{
  border:1.5px solid transparent;
  background:#ef4444;
  color:#fff;
  font-family:inherit;
  font-weight:700;
  font-size:14px;
  padding:10px 18px;
  border-radius:14px;
  cursor:pointer;
  transition:background .18s, transform .18s;
  white-space:nowrap;
}
.logout:hover{background:#dc2626; transform:translateY(-1px)}

/* ── Container ── */
.container{
  max-width:var(--max);
  margin:0 auto;
  padding:20px;
}

/* ── Hero ── */
.hero{
  background:linear-gradient(135deg, var(--ocean-50), #fff);
  border:1.5px solid var(--ocean-200);
  border-radius:var(--radius-2);
  padding:20px 24px;
  box-shadow:var(--shadow-xs);
  display:flex;
  align-items:center;
  gap:16px;
}
.hero__icon{
  font-size:28px;
  width:52px; height:52px;
  background:#fff;
  border:1.5px solid var(--ocean-200);
  border-radius:16px;
  display:grid; place-items:center;
  flex-shrink:0;
  box-shadow:var(--shadow-xs);
}
.hero h1{margin:0 0 4px; font-size:19px; font-weight:900}
.hero p{margin:0; color:var(--muted); font-size:13px; line-height:1.5}

/* ── Grid ── */
.grid{
  margin-top:16px;
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
@media(min-width:560px){ .grid{grid-template-columns:1fr 1fr} }
@media(min-width:900px){ .grid{grid-template-columns:repeat(4,1fr)} }

/* ── Cards ── */
.card{
  text-decoration:none;
  color:inherit;
  background:var(--panel);
  border:1.5px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow-sm);
  display:flex;
  flex-direction:column;
  gap:12px;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
  border-color:var(--ocean-200);
}
.card.primary{
  background:linear-gradient(135deg, var(--ocean-50), #e0f2fe);
  border-color:#bae6fd;
}
.card__icon{
  width:48px; height:48px;
  border-radius:14px;
  display:grid; place-items:center;
  background:#fff;
  border:1.5px solid var(--border);
  font-size:22px;
  box-shadow:var(--shadow-xs);
}
.card.primary .card__icon{
  background:var(--ocean-50);
  border-color:var(--ocean-200);
}
.card__body{flex:1; display:flex; flex-direction:column; gap:5px}
.card__title{font-weight:900; font-size:15px}
.card__text{color:var(--muted); font-size:13px; line-height:1.45}
.card__cta{
  font-weight:800;
  font-size:13px;
  color:var(--ocean-700);
  margin-top:auto;
}

/* ── Footer pills ── */
.footer{
  margin-top:16px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.pill{
  font-size:12px;
  color:var(--ocean-700);
  background:var(--ocean-50);
  border:1.5px solid var(--ocean-200);
  padding:5px 12px;
  border-radius:var(--radius-pill);
  font-weight:800;
}

/* ── Mobile ── */
@media(max-width:480px){
  .brand{padding:10px 14px}
  .title{font-size:14px}
  .container{padding:14px}
  .hero{padding:16px}
  .hero h1{font-size:17px}
}