:root{
  --text:#0f172a;
  --muted:#6b7280;
  --muted2:#94a3b8;

  --bg:#eef2f7;
  --panel:#ffffff;
  --border: rgba(15,23,42,.10);

  --shadow: 0 22px 60px rgba(15,23,42,.12);
  --shadow2: 0 10px 26px rgba(15,23,42,.10);

  --radius: 22px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
               ui-sans-serif, system-ui, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(131, 92, 255, .18) 0%, rgba(131,92,255,0) 60%),
    radial-gradient(820px 520px at 10% 10%, rgba(255, 140, 90, .18) 0%, rgba(255,140,90,0) 60%),
    linear-gradient(180deg, #f6f7fb 0%, var(--bg) 55%, #ffffff 100%);
  min-height: 100vh;
}

.wrap{
  max-width: 1160px;
  margin: 0 auto;
  padding: 22px 18px 18px;
}

/* Whole dashboard container (like screenshot rounded canvas) */
.shell{
  border-radius: 28px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* HERO GRADIENT TOP */
.hero{
  padding: 18px 18px 16px;
  color: white;
  position: relative;
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(255,255,255,.25) 0%, rgba(255,255,255,0) 55%),
    radial-gradient(900px 520px at 80% 0%, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(120deg, #ff7b5f 0%, #ff5aa5 34%, #7b61ff 70%, #5aa8ff 100%);
}

/* curved overlays like screenshot */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(1200px 700px at 70% 120%, rgba(10,10,40,.28) 0%, rgba(10,10,40,0) 60%),
    radial-gradient(900px 520px at 30% 120%, rgba(10,10,40,.22) 0%, rgba(10,10,40,0) 55%);
  mix-blend-mode: soft-light;
  pointer-events:none;
}

.heroTop{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.logo{
  width:64px;
  height:64px;
  border-radius: 20px;

  /* clean white badge */
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.55);

  box-shadow: 0 14px 30px rgba(0,0,0,.14);
  display:grid;
  place-items:center;
  overflow:hidden;
}

.logo img{
  width:64px;
  height:64px;
  object-fit: contain;
  display:block;
}

.heroTitle{
  margin:0;
  font-size: 20px;
  letter-spacing:-0.2px;
}

.heroSub{
  margin:4px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,.85);
}

.meta{
  font-size: 13px;
  color: rgba(255,255,255,.88);
  white-space: nowrap;
}

/* Search bar inside hero */
.search{
  position: relative;
  margin-top: 14px;
}

.search input{
  width: 100%;
  padding: 13px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.26);

  background: rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
  color: #fff;
  outline: none;

  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  font-size: 14px;
}

.search input::placeholder{
  color: rgba(255,255,255,.75);
}

.search input:focus{
  border-color: rgba(255,255,255,.40);
  box-shadow: 0 0 0 4px rgba(255,255,255,.18), 0 10px 24px rgba(0,0,0,.12);
}

/* MAIN CONTENT AREA */
.main{
  padding: 18px;
  background: rgba(246,248,252,.75);
}

/* grid */
.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 1100px){ .grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px){ .grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .grid{ grid-template-columns: 1fr; } }

/* cards */
.card{
  display:block;
  text-decoration:none;
  color: inherit;

  border-radius: var(--radius);
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.92);

  box-shadow: var(--shadow2);
  padding: 16px 16px 14px;
  min-height: 118px;

  transition: transform .14s ease, box-shadow .14s ease;
}

.card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.cardTop{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}

.icon{
  width:42px;height:42px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  font-size: 20px;
  flex-shrink: 0;
  background: #f4f6ff;
  border: 1px solid rgba(15,23,42,.08);
}

/* pastel icon variants */
.i-orange{ background: rgba(255,123,95,.16); }
.i-pink{ background: rgba(255,90,165,.16); }
.i-purple{ background: rgba(123,97,255,.16); }
.i-blue{ background: rgba(90,168,255,.16); }
.i-green{ background: rgba(80,210,170,.16); }

.title{
  font-weight: 800;
  font-size: 15px;
  margin-top: 2px;
}

.desc{
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
}

/* tags (clean, neutral) */
.tagRow{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top: 12px;
}
.tag{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,.05);
  border: 1px solid rgba(15,23,42,.08);
  color: rgba(15,23,42,.70);
}

/* footer */
.footer{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(15,23,42,.10);
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  color: #5f6b7a;
  font-size: 13px;
}
.muted{ color: #90a0b4; }