:root {
  --bg: #06111a;
  --panel: rgba(12, 28, 40, 0.82);
  --panel-strong: rgba(14, 35, 50, 0.96);
  --text: #f4fbff;
  --muted: #9fb4c3;
  --accent: #16f2e3;
  --accent-2: #12b7ff;
  --line: rgba(155, 220, 235, 0.15);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  background:
    radial-gradient(circle at 78% 8%, rgba(22, 242, 227, 0.18), transparent 30rem),
    radial-gradient(circle at 12% 35%, rgba(18, 183, 255, 0.12), transparent 24rem),
    linear-gradient(135deg, #031018 0%, #081620 52%, #041018 100%);
}

a { color: inherit; text-decoration: none; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 180px;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  background: rgba(4, 15, 23, 0.72);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(18px);
  z-index: 10;
}

.brand {
  color: var(--accent);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.08em;
  margin-bottom: 34px;
}
.brand span { color: #dffcff; }

.nav-menu { display: grid; gap: 8px; }
.nav-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  transition: 0.2s ease;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent);
  background: linear-gradient(90deg, rgba(22, 242, 227, 0.16), transparent);
}

.sidebar-bottom { margin-top: auto; color: var(--muted); }
.sidebar-bottom p { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.socials { display: flex; gap: 16px; margin: 14px 0 24px; font-size: 22px; }
.socials a:hover { color: var(--accent); }
.resume-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  justify-content: center;
  color: var(--accent);
  border: 1px solid rgba(22, 242, 227, 0.45);
  border-radius: 12px;
  padding: 11px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.sidebar-bottom small { display: block; margin-top: 28px; font-size: 12px; }

.page-shell {
  width: min(1280px, calc(100% - 220px));
  margin-left: 180px;
  padding: 38px 34px 50px;
}

.hero {
  min-height: 570px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}
.eyebrow { color: var(--accent); font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; }
.hero h1 { margin: 8px 0; font-size: clamp(48px, 8vw, 86px); line-height: 0.92; letter-spacing: -0.07em; text-transform: uppercase; }
.hero h1 span { color: var(--accent); text-shadow: 0 0 24px rgba(22, 242, 227, 0.35); }
.hero h2 { margin: 0 0 22px; color: var(--accent); font-size: clamp(19px, 2.2vw, 28px); }
.hero-text { max-width: 700px; color: #c5d4dd; font-size: 18px; line-height: 1.75; }
.hero-actions, .quick-facts { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #021014; box-shadow: 0 16px 35px rgba(22, 242, 227, 0.2); }
.btn.secondary { border: 1px solid rgba(216, 250, 255, 0.2); color: #effcff; background: rgba(255, 255, 255, 0.03); }
.quick-facts span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #cfe3eb;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
}
.quick-facts i { color: var(--accent); }
.quick-facts .fa-circle { font-size: 10px; color: #1dff7a; }

.hero-art { position: relative; min-height: 520px; display: grid; place-items: end center; overflow: hidden; }
.orb {
  position: absolute;
  width: min(430px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(22, 242, 227, 0.45), rgba(5, 74, 84, 0.92));
  box-shadow: inset 0 0 70px rgba(0,0,0,.25), 0 0 80px rgba(22, 242, 227, 0.16);
}
.hero-art::before, .hero-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(22, 242, 227, 0.38);
  border-radius: 50%;
}
.hero-art::before { width: 520px; height: 520px; transform: translateX(-18px); }
.hero-art::after { width: 220px; height: 220px; right: 32px; top: 86px; border-style: dashed; opacity: .55; }
.hero-art img { position: relative; z-index: 1; max-height: 510px; max-width: 95%; object-fit: contain; filter: drop-shadow(0 30px 45px rgba(0,0,0,.45)); }

.grid.two { display: grid; grid-template-columns: 1fr 1.45fr; gap: 18px; }
.panel {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--panel-strong), var(--panel));
  box-shadow: var(--shadow);
}
.panel h3, .section-head { margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.panel h3 i, .section-head i { color: var(--accent); }
.panel p { color: #c5d4dd; line-height: 1.75; }
.skill-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.skill-row strong { width: 96px; color: #dffcff; }
.skill-row span, .project-card span, .mini-grid span {
  color: #d8e8ef;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
}
.section-head { justify-content: space-between; }
.section-head a { color: var(--accent); font-weight: 800; text-transform: uppercase; font-size: 13px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.project-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
}
.project-card h4 { margin: 0 0 10px; font-size: 20px; }
.project-card p { flex: 1; color: #b7c9d3; line-height: 1.6; }
.project-card div { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.project-card a { color: var(--accent); font-weight: 800; }
.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mini-grid span { border-radius: 12px; padding: 16px; }
.achievements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-content: start; }
.achievements h3 { grid-column: 1 / -1; }
.achievements strong { display: block; color: var(--accent); font-size: 38px; }
.achievements span { color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-grid a { color: #dffcff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: rgba(255,255,255,.035); }
.contact-grid i { color: var(--accent); margin-right: 10px; }

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 430px; place-items: center; }
}
@media (max-width: 760px) {
  .sidebar { position: static; width: 100%; min-height: auto; flex-direction: row; align-items: center; padding: 14px; }
  .brand { margin: 0 16px 0 0; font-size: 32px; }
  .nav-menu { display: flex; overflow-x: auto; }
  .nav-menu a span, .sidebar-bottom { display: none; }
  .page-shell { width: 100%; margin: 0; padding: 22px 16px; }
  .grid.two, .cards, .contact-grid, .achievements { grid-template-columns: 1fr; }
  .hero h1 { font-size: 48px; }
}
