:root {
  --bg: #081218;
  --bg-soft: #0f1f29;
  --panel: rgba(17, 34, 43, 0.88);
  --line: rgba(113, 176, 201, 0.35);
  --text: #e6f0f3;
  --text-muted: #9bb2be;
  --primary: #6ed3ff;
  --accent: #95ffbb;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 10%, rgba(110, 211, 255, 0.14), transparent 42%),
    radial-gradient(circle at 0% 75%, rgba(149, 255, 187, 0.12), transparent 38%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  min-height: 100vh;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(113, 176, 201, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 176, 201, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 95%);
  pointer-events: none;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.2rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 700;
  font-family: "IBM Plex Mono", monospace;
  color: var(--accent);
}

.site-header nav {
  display: flex;
  gap: 1rem;
}

.site-header a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-header a:hover {
  color: var(--primary);
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.4rem 1rem 3rem;
}

.hero {
  padding: 4.4rem 0 2.6rem;
}

.eyebrow {
  margin: 0;
  color: var(--primary);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-family: "IBM Plex Mono", monospace;
}

h1 {
  font-size: clamp(2rem, 7vw, 4rem);
  margin: 0.8rem 0 0.6rem;
}

.lead {
  font-size: clamp(1rem, 2.3vw, 1.5rem);
  margin: 0 0 0.8rem;
  color: #d2e2e8;
}

.hero-summary {
  max-width: 760px;
  color: var(--text-muted);
  line-height: 1.75;
}

.hero-actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  padding: 0.68rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid var(--line);
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, #57ccff, #5de9a6);
  border: none;
  color: #012833;
}

.btn-ghost {
  color: var(--text);
}

.metrics {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.9rem;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  background: rgba(8, 20, 27, 0.65);
  box-shadow: var(--shadow);
}

.metric-value {
  font-size: 1.4rem;
  font-weight: 700;
}

.metric-label {
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 1.35rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(6px);
}

h2 {
  margin: 0;
  font-size: 1.38rem;
}

.section-head {
  margin-bottom: 1rem;
}

.section-head p {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.tag {
  border: 1px solid var(--line);
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: #d2f8ff;
  background: rgba(110, 211, 255, 0.07);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.8rem;
}

.card {
  border: 1px solid rgba(113, 176, 201, 0.4);
  border-radius: 12px;
  padding: 1rem;
  background: rgba(12, 25, 33, 0.88);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(149, 255, 187, 0.5);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
}

.card p {
  margin: 0.5rem 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.meta {
  display: inline-block;
  color: var(--primary);
  font-size: 0.78rem;
  font-family: "IBM Plex Mono", monospace;
}

.impact {
  font-weight: 600;
  color: var(--accent);
}

.tech-list {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.tech {
  border: 1px solid rgba(113, 176, 201, 0.35);
  border-radius: 999px;
  padding: 0.23rem 0.56rem;
  font-size: 0.74rem;
  color: #cae3eb;
}

.timeline-item {
  position: relative;
  border-left: 2px solid var(--line);
  padding: 0.2rem 0 1.1rem 1rem;
  margin-left: 0.3rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
}

.timeline-item h3 {
  margin: 0;
  font-size: 0.99rem;
}

.timeline-item .year {
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
}

.timeline-item p {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.certifications {
  display: grid;
  gap: 0.6rem;
}

.cert-item {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.cert-main {
  display: grid;
  gap: 0.2rem;
}

.cert-main strong {
  font-size: 0.95rem;
}

.cert-main span {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.status {
  color: #032114;
  background: var(--accent);
  padding: 0.24rem 0.56rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.site-footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.5rem 1rem 2rem;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--primary);
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: enter 0.65s ease forwards;
}

.reveal:nth-of-type(2) {
  animation-delay: 0.1s;
}

.reveal:nth-of-type(3) {
  animation-delay: 0.2s;
}

.reveal:nth-of-type(4) {
  animation-delay: 0.3s;
}

.reveal:nth-of-type(5) {
  animation-delay: 0.4s;
}

@keyframes enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 680px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .cert-item {
    flex-direction: column;
    align-items: flex-start;
  }
}
