*{box-sizing:border-box}

:root{
  --bg:#eef2f7;
  --panel:#ffffff;
  --panel-2:#f8fafc;
  --text:#0f172a;
  --muted:#475569;
  --line:#dbe3ee;
  --primary:#2563eb;
  --primary-dark:#1d4ed8;
  --sidebar-1:#081225;
  --sidebar-2:#0b1730;
  --sidebar-text:#dbe7ff;
  --sidebar-muted:#9fb3d9;
  --shadow:0 16px 40px rgba(15,23,42,.08);
  --shadow-soft:0 10px 24px rgba(15,23,42,.06);
  --radius:18px;
}

html,body{
  margin:0;
  padding:0;
}

body{
  font-family:Inter, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.05), transparent 28%),
    radial-gradient(circle at top right, rgba(59,130,246,.04), transparent 24%),
    var(--bg);
  color:var(--text);
}

a{
  color:inherit;
}

.shell{
  min-height:100vh;
  display:grid;
  grid-template-columns:320px 1fr;
}

.sidebar{
  background:linear-gradient(180deg, var(--sidebar-1), var(--sidebar-2));
  color:#fff;
  padding:28px 22px;
  border-right:1px solid rgba(255,255,255,.05);
  box-shadow:inset -1px 0 0 rgba(255,255,255,.04);
  position:sticky;
  top:0;
  height:100vh;
}

.brand{
  font-size:34px;
  font-weight:800;
  letter-spacing:.2px;
  color:#ffffff;
  line-height:1.05;
}

.sub{
  margin-top:8px;
  color:var(--sidebar-muted);
  font-size:14px;
  letter-spacing:.2px;
}

.menu{
  margin-top:38px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.menu a{
  color:var(--sidebar-text);
  text-decoration:none;
  padding:15px 18px;
  border-radius:16px;
  transition:all .18s ease;
  font-weight:600;
  font-size:15px;
  border:1px solid transparent;
}

.menu a:hover{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.06);
  transform:translateX(2px);
}

.menu a.active{
  background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.07));
  color:#fff;
  border-color:rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}

.main{
  padding:34px 42px;
}

.topbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:26px;
}

.topbar h1{
  margin:0 0 8px;
  font-size:38px;
  line-height:1.08;
  font-weight:800;
  letter-spacing:-.4px;
  color:var(--text);
}

.topbar p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.7;
}

.top-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
  padding:13px 22px;
  border-radius:18px;
  font-weight:700;
  font-size:15px;
  line-height:1;
  transition:all .18s ease;
  border:1px solid transparent;
  cursor:pointer;
  box-shadow:none;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn-light{
  background:rgba(255,255,255,.92);
  color:var(--text);
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}

.btn-light:hover{
  background:#fff;
  border-color:#cfd8e3;
}

.btn-primary{
  background:linear-gradient(180deg, #2f6df4, var(--primary-dark));
  color:#fff;
  border:1px solid rgba(0,0,0,.04);
  box-shadow:0 12px 28px rgba(37,99,235,.22);
}

.btn-primary:hover{
  box-shadow:0 16px 34px rgba(37,99,235,.28);
}

.hero-card{
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(8px);
  padding:34px 40px;
  border-radius:26px;
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.65);
  margin-bottom:28px;
}

.hero-card h2{
  margin:0 0 14px;
  font-size:30px;
  line-height:1.15;
  letter-spacing:-.2px;
}

.hero-card p{
  margin:0;
  max-width:980px;
  line-height:1.85;
  color:var(--muted);
  font-size:16px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:22px;
}

.card{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.75);
  padding:28px 28px;
  border-radius:24px;
  box-shadow:var(--shadow-soft);
  min-height:200px;
}

.card h3{
  margin:0 0 14px;
  font-size:22px;
  line-height:1.25;
  letter-spacing:-.2px;
}

.card p{
  margin:0;
  color:var(--muted);
  line-height:1.85;
  font-size:16px;
}

@media (max-width: 1180px){
  .shell{
    grid-template-columns:280px 1fr;
  }
  .main{
    padding:28px;
  }
}

@media (max-width: 980px){
  .shell{
    grid-template-columns:1fr;
  }
  .sidebar{
    display:none;
  }
  .topbar{
    flex-direction:column;
  }
  .grid{
    grid-template-columns:1fr;
  }
  .main{
    padding:22px;
  }
}



@media (max-width: 980px){
  .site-footer{
    margin-top:24px;
    font-size:13px;
    line-height:1.7;
  }
}


.site-footer{
  margin-top:36px;
  width:100%;
  padding:18px 24px;
  text-align:center;
  font-size:15px;
  color:var(--muted);
  border-top:1px solid rgba(15,23,42,.08);
  background:rgba(255,255,255,.35);
  backdrop-filter:blur(4px);
}

.site-footer .heart{
  color:#dc2626;
  font-weight:700;
}

@media (max-width: 980px){
  .site-footer{
    margin-top:26px;
    padding:16px 18px;
    font-size:14px;
    line-height:1.7;
  }
}
