:root {
  --bg: linear-gradient(180deg, #04102b 0%, #081d48 35%, #0f325f 100%);
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --text: #eef7ff;
  --muted: #b7d7ff;
  --accent: #7dd3fc;
  --border: rgba(125, 211, 252, 0.18);
  --shadow: 0 40px 90px rgba(3, 10, 32, 0.38);
  font-family: 'Inter', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top left, rgba(125, 211, 252, 0.16), transparent 18%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.14), transparent 20%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.75rem;
  backdrop-filter: blur(18px);
  background: rgba(5, 14, 35, 0.9);
  border-bottom: 1px solid rgba(125, 211, 252, 0.16);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  align-items: center;
  gap: 2rem;
  padding: 5rem 2rem 3rem;
  position: relative;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  color: #7dd3fc;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3rem, 4vw, 4.5rem);
  line-height: 0.95;
  margin: 0 0 1rem;
}

.hero p {
  max-width: 620px;
  line-height: 1.8;
  color: #dbeafe;
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #eff6ff;
}

.btn-secondary {
  background: rgba(59, 130, 246, 0.14);
  color: #eef7ff;
  border: 1px solid rgba(59, 130, 246, 0.22);
}

.hero-panel {
  display: grid;
  gap: 1.5rem;
}

.feature-card,
.panel-card {
  background: rgba(7, 19, 46, 0.92);
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 36px 90px rgba(5, 16, 42, 0.32);
}

.feature-label {
  display: inline-flex;
  background: rgba(56, 189, 248, 0.14);
  color: #7dd3fc;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.feature-card h2 {
  margin: 0;
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  line-height: 1.05;
}

.feature-card p {
  margin: 1rem 0 0;
  color: #cbd5e1;
  line-height: 1.8;
}

.panel-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #fff;
}

.panel-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.panel-card li {
  color: #cbd5e1;
}

.project-card,
.skills-panel,
.about-text {
  background: rgba(11, 22, 51, 0.8);
  border: 1px solid rgba(125, 211, 252, 0.13);
  border-radius: 24px;
  padding: 1.8rem;
}

.project-card h3,
.skills-panel h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #eff6ff;
}

.project-card p,
.skills-panel ul,
.about-text p {
  color: #a9c7f9;
  line-height: 1.8;
}

.project-card span {
  display: inline-block;
  margin-top: 1rem;
  color: #7dd3fc;
  font-size: 0.95rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
}

.skills-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.skills-panel li {
  color: #cbd5e1;
}

.site-footer {
  padding: 2.5rem 2rem 3rem;
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
}

.site-footer h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
}

.site-footer p,
.footer-note {
  color: #cbd5e1;
  margin: 0;
}

.site-footer a {
  color: #7dd3fc;
  text-decoration: none;
}

.footer-note {
  margin-top: 1.75rem;
  font-size: 0.95rem;
}

.panel-card h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.panel-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.panel-card li {
  color: var(--muted);
}

.section {
  padding: 3rem 2rem;
}

.projects-section {
  position: relative;
}

.projects-section::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -60px;
  width: 320px;
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(125, 211, 252, 0.16), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.projects-section > .section-heading,
.project-grid {
  position: relative;
  z-index: 1;
}


.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-label {
  display: inline-block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.projects-section,
.about-section {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.project-card,
.skills-panel,
.about-text {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 1.7rem;
}

.project-card h3,
.skills-panel h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: #fff;
}

.project-card p,
.skills-panel ul,
.about-text p {
  color: var(--muted);
  line-height: 1.75;
}

.project-card span {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  font-size: 0.95rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
}

.skills-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.skills-panel li {
  color: var(--muted);
}

.site-footer {
  padding: 2.5rem 2rem 3rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.site-footer h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
}

.site-footer p,
.footer-note {
  color: var(--muted);
  margin: 0;
}

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

.footer-note {
  margin-top: 1.75rem;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    margin-top: 1rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
  }

  .site-nav.active {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
    margin-top: 0.75rem;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 3rem 1.25rem 2rem;
  }

  .section,
  .site-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
