/* ================= Theme ================= */
:root{
  --bg: #0e0f12;
  --panel: #151821;
  --text: #e9eef7;
  --muted: #a5afc0;
  --brand: #6c8cff;
  --brand-2: #8a7dff;
  --ring: rgba(108,140,255,0.35);
  --card: #0f1320;
  --card-2: #121629;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -20%, rgba(108,140,255,.15), transparent 60%),
              radial-gradient(900px 500px at 90% -10%, rgba(138,125,255,.12), transparent 60%),
              var(--bg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height: 1.6;
}

/* ================= Layout ================= */
.container{ width: min(1100px, 92%); margin: 0 auto; }
.section{ padding: 64px 0; }
h1,h2,h3,h4{ line-height: 1.25; margin: 0 0 12px; }
h1{ font-size: clamp(32px, 5vw, 46px); }
h2{ font-size: clamp(22px, 3.5vw, 28px); }
h3{ font-size: clamp(18px, 2.6vw, 22px); }
p{ color: var(--muted); margin: 0 0 10px; }

/* ================= Nav ================= */
.site-header{ position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px); background: rgba(14,15,18,0.6); border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav{ display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.logo{ color: var(--text); font-weight: 800; letter-spacing: .5px; text-decoration: none; background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 20px; }
.nav-links{ list-style: none; display: flex; gap: 18px; align-items: center; margin: 0; padding: 0; }
.nav-links a{ color: var(--text); text-decoration: none; opacity: .9; }
.nav-links a:hover{ color: white; opacity: 1; }
.btn{ background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #0b0d12; padding: 10px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; border: none; }
.btn.outline{ background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.2); }
.btn:hover{ box-shadow: 0 6px 20px var(--ring); }

/* Mobile nav (checkbox hack) */
#nav-toggle{ display: none; }
.hamburger{ display: none; cursor: pointer; font-size: 22px; padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 800px){
  .hamburger{ display: inline-block; }
  .nav-links{ 
    position: absolute; right: 4%; top: 56px; width: 92%; 
    background: rgba(18, 20, 28, .98); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px; box-shadow: var(--shadow); padding: 12px; display: none; flex-direction: column; gap: 8px;
  }
  #nav-toggle:checked ~ .nav-links{ display: flex; }
}

/* ================= Hero ================= */
.hero{ display: grid; grid-template-columns: 1fr; padding: 68px 0 28px; align-items: center; }
.hero-content h1{ margin-bottom: 6px; }
.tagline{ color: #d4dbf0; margin-bottom: 18px; }
.cta{ display: flex; gap: 12px; margin: 16px 0 18px; flex-wrap: wrap; }
.quick-info{ list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; }
.quick-info a{ color: var(--muted); text-decoration: none; border: 1px dashed rgba(255,255,255,0.2); padding: 6px 10px; border-radius: 10px; }
.quick-info a:hover{ color: var(--text); border-style: solid; }

/* ================= Cards & Grids ================= */
.card-list{ display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card{
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.card .meta{ color: var(--muted); font-size: 14px; margin-bottom: 8px; }

/* ================= Skills ================= */
.skills{ display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tags{ list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.tags li{ background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); padding: 6px 10px; border-radius: 999px; color: #dfe7ff; }

/* ================= Certifications ================= */
.certs{ display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; padding-left: 18px; }

/* ================= Contact ================= */
.contact-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.contact-card{ 
  display: grid; gap: 2px; padding: 14px; border-radius: 14px; text-decoration: none; 
  color: var(--text); background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid rgba(255,255,255,0.08);
}
.contact-card span{ color: var(--muted); font-size: 14px; }
.contact-card:hover{ box-shadow: var(--shadow); border-color: rgba(255,255,255,0.15); }

/* ================= Footer ================= */
.site-footer{ border-top: 1px solid rgba(255,255,255,0.06); padding: 28px 0; margin-top: 40px; color: var(--muted); }
