@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;750;850&display=swap');

:root{
  --bg:#0b1220;
  --bg2:#050a14;
  --card:#0a1324cc;
  --border: rgba(148,163,184,.18);
  --text:#e5e7eb;
  --muted:#94a3b8;
  --shadow: 0 18px 60px rgba(0,0,0,.55);
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(56,189,248,.18), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(168,85,247,.16), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  min-height:100vh;
}

.wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 16px;
}

a{ color: #7dd3fc; text-decoration:none; }
a:hover{ text-decoration:underline; }

.muted{ color: var(--muted); }

.card{
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: 22px;
}

/* Topbar */
.top{
  position: sticky;
  top:0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(2,6,23,.65), rgba(2,6,23,.18));
  border-bottom: 1px solid var(--border);
}

.top-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.brand{ display:flex; align-items:center; gap:12px; }
.logo{
  width:44px; height:44px;
  border-radius:16px;
  display:grid; place-items:center;
  font-weight:850;
  background: rgba(56,189,248,.14);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.brand-title{ font-weight:850; letter-spacing:.2px; }
.brand-sub{ font-size:.88rem; color: var(--muted); margin-top:2px; }

.nav{ display:flex; gap:10px; flex-wrap:wrap; }
.navlink{
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(2,6,23,.16);
}
.navlink:hover{ box-shadow: 0 0 24px rgba(56,189,248,.18); text-decoration:none; }
.navlink.active{
  background: rgba(56,189,248,.18);
  border-color: rgba(56,189,248,.35);
}

/* Hero */
.hero{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  padding: 18px;
  overflow:hidden;
}
.hero h1{ margin:0 0 8px 0; font-size:1.9rem; letter-spacing:.2px; }
.heroimg{
  width:100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(2,6,23,.15);
}

/* Buttons */
.actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  text-decoration:none;
  color: var(--text);
  background: rgba(2,6,23,.18);
}
.btn.primary{
  background: rgba(56,189,248,.18);
  border-color: rgba(56,189,248,.35);
}
.btn.primary:hover{ box-shadow: 0 0 26px rgba(56,189,248,.22); text-decoration:none; }
.btn.ghost:hover{ box-shadow: 0 0 22px rgba(168,85,247,.18); text-decoration:none; }

/* Section */
.section{ margin-top: 14px; padding: 18px; }
.section-head h2{ margin:0; font-size:1.3rem; }
.section-head .muted{ margin-top:6px; }

/* Grid tiles */
.grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
.tile{
  position:relative;
  display:flex;
  gap:12px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(2,6,23,.14);
  overflow:hidden;
  transition: transform .12s ease, box-shadow .12s ease;
}
.tile:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 70px rgba(0,0,0,.62);
}
.tile-icon{
  width:44px; height:44px;
  border-radius:16px;
  display:grid; place-items:center;
  background: rgba(148,163,184,.10);
  border: 1px solid var(--border);
  flex: 0 0 auto;
}
.tile-title{ font-weight:850; letter-spacing:.2px; }
.tile-sub{ color: var(--muted); margin-top:4px; font-size:.95rem; line-height:1.25; }

.tile-accent{
  position:absolute;
  inset: -40px -40px auto auto;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  opacity: .55;
}

.accent-blue{ background: radial-gradient(circle at 30% 30%, rgba(56,189,248,.55), transparent 60%); }
.accent-green{ background: radial-gradient(circle at 30% 30%, rgba(34,197,94,.45), transparent 60%); }
.accent-orange{ background: radial-gradient(circle at 30% 30%, rgba(249,115,22,.45), transparent 60%); }
.accent-purple{ background: radial-gradient(circle at 30% 30%, rgba(168,85,247,.45), transparent 60%); }

/* Inline image */
.inlineimg{
  width:100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(2,6,23,.15);
}

/* Footer */
.footer{
  margin-top: 14px;
  padding: 18px;
}
.footergrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.footer h3{
  margin:0 0 10px 0;
  font-size: 1rem;
}
.footer a{
  display:block;
  padding: 6px 0;
  color: #cbd5e1;
}
.footer a:hover{ color: #ffffff; text-decoration:none; }

.social{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.social a{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
}
.social a:hover{
  box-shadow: 0 0 26px rgba(56,189,248,.20);
}

.copyright{
  margin-top: 14px;
  text-align:center;
  font-size:.9rem;
}

/* Responsive */
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .footergrid{ grid-template-columns: 1fr; }
  .heroimg{ height: 220px; }
}