:root {
  --bg: #05060f;
  --bg-2: #0b1224;
  --glass: rgba(15, 20, 45, 0.65);
  --glass-strong: rgba(18, 26, 55, 0.85);
  --accent: #67f0ff;
  --accent-2: #ff5fd7;
  --accent-3: #7bff6b;
  --text: #e8f1ff;
  --muted: #a2b2d1;
  --line: rgba(120, 140, 190, 0.3);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --spotlight-x: 50vw;
  --spotlight-y: 20vh;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: radial-gradient(1200px 800px at 15% 10%, rgba(103, 240, 255, 0.08), transparent 60%),
    radial-gradient(900px 600px at 90% 20%, rgba(255, 95, 215, 0.08), transparent 65%),
    linear-gradient(160deg, var(--bg), var(--bg-2));
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(700px at var(--spotlight-x) var(--spotlight-y), rgba(103, 240, 255, 0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(103, 240, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(103, 240, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 20%, rgba(0, 0, 0, 0.7), transparent 70%);
}

.bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0px);
  opacity: 0.8;
}

.orb-1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(103, 240, 255, 0.3), transparent 70%);
  top: 10%;
  left: -80px;
}

.orb-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 95, 215, 0.28), transparent 70%);
  bottom: 10%;
  right: -140px;
}

.orb-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(123, 255, 107, 0.25), transparent 70%);
  top: 55%;
  left: 55%;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 6vw;
  background: rgba(6, 9, 20, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(120, 140, 190, 0.2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 1px;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(103, 240, 255, 0.6);
}

.brand-text {
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

main {
  position: relative;
  z-index: 1;
  padding: 0 6vw 80px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 80px 0 40px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 3px;
  margin-bottom: 16px;
}

h1 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  line-height: 1.05;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(103, 240, 255, 0.25);
}

h2 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 10px;
}

h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.summary {
  max-width: 580px;
  color: var(--muted);
  margin-bottom: 24px;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #051018;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(103, 240, 255, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(103, 240, 255, 0.4);
}

.btn.outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(103, 240, 255, 0.4);
  box-shadow: none;
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 95, 215, 0.5);
  box-shadow: none;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 0.95rem;
}

.contact-row a {
  color: var(--accent);
  text-decoration: none;
}

.contact-row .muted {
  color: var(--muted);
}

.panel {
  padding: 22px;
  background: var(--glass);
  border-radius: var(--radius);
  border: 1px solid rgba(120, 140, 190, 0.2);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.section {
  margin-top: 80px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 20px;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  padding: 20px;
  background: var(--glass);
  border: 1px solid rgba(120, 140, 190, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, border 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(103, 240, 255, 0.4);
}

.card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.project .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.project .tag-row span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(103, 240, 255, 0.4);
  color: var(--accent);
  font-size: 0.85rem;
}

.timeline {
  position: relative;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline-item {
  position: relative;
  padding-left: 30px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: -16px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.timeline-item:last-child::before {
  bottom: 18px;
}

.timeline-dot {
  position: absolute;
  left: -2px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(103, 240, 255, 0.7);
}

.timeline-content {
  padding: 20px;
  background: var(--glass-strong);
  border-radius: var(--radius);
  border: 1px solid rgba(120, 140, 190, 0.2);
  box-shadow: var(--shadow);
}

.role-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.role-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.company {
  color: var(--accent);
  margin-bottom: 12px;
}

.list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.list li::before {
  content: "-";
  color: var(--accent-2);
  margin-right: 8px;
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips li {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(103, 240, 255, 0.12);
  border: 1px solid rgba(103, 240, 255, 0.3);
  font-size: 0.85rem;
}

.contact {
  margin-bottom: 60px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  background: linear-gradient(140deg, rgba(103, 240, 255, 0.15), rgba(255, 95, 215, 0.1));
  border: 1px solid rgba(103, 240, 255, 0.4);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer {
  padding: 30px 6vw 50px;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
