:root {
  --bg: #04050c;
  --bg-soft: #0c1020;
  --text: #ecf0ff;
  --muted: #b5bdd6;
  --primary: #88a9ff;
  --accent: #7bffd7;
  --card: rgba(255, 255, 255, 0.06);
  --stroke: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 20% -10%, #202f60 0%, var(--bg) 40%), var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: radial-gradient(#fff 0.4px, transparent 0.4px);
  background-size: 3px 3px;
  z-index: 0;
}

.site-header {
  position: sticky;
  top: 1rem;
  width: min(1080px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--stroke);
  border-radius: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
}

.glass {
  backdrop-filter: blur(14px);
  background: rgba(9, 12, 22, 0.72);
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--accent);
}

nav a {
  color: var(--muted);
  margin-left: 1rem;
  text-decoration: none;
  font-size: 0.92rem;
}

nav a:hover {
  color: var(--text);
}

main,
footer {
  position: relative;
  z-index: 1;
}

.section {
  width: min(1080px, calc(100% - 2rem));
  margin: 4rem auto;
}

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  isolation: isolate;
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0 0 1rem;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 4vw, 4rem);
}

h1 span {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.8rem);
}

.lead {
  color: var(--muted);
  max-width: 62ch;
}

.cta-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 2rem;
}

.btn {
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #06111f;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--stroke);
}

.hero-cards {
  display: grid;
  gap: 1rem;
}

.stat-card,
.timeline-item,
.skill-card,
.contact-form {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  backdrop-filter: blur(6px);
}

.stat-card p,
.timeline-item p,
.skill-card p {
  color: var(--muted);
  margin: 0;
}

.glow {
  box-shadow: 0 0 80px rgba(137, 168, 255, 0.15);
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  z-index: -1;
}

.orb-a {
  width: 260px;
  height: 260px;
  background: rgba(123, 255, 215, 0.25);
  right: -80px;
  top: 15%;
}

.orb-b {
  width: 240px;
  height: 240px;
  background: rgba(136, 169, 255, 0.22);
  left: -90px;
  bottom: -20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-grid p {
  margin: 0;
  color: var(--muted);
  padding: 1.2rem;
  border-left: 2px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.02);
}

.timeline {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.date {
  color: var(--accent);
  font-size: 0.82rem;
}

.skills-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.8rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--stroke);
  background: rgba(8, 10, 18, 0.9);
  color: var(--text);
  border-radius: 0.75rem;
  padding: 0.72rem;
  font: inherit;
}

footer {
  text-align: center;
  color: var(--muted);
  padding: 3rem 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

@media (max-width: 920px) {
  .hero,
  .about-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  nav {
    display: none;
  }

  .site-header {
    justify-content: center;
  }
}
