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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #020617;
  color: #e5e7eb;
  line-height: 1.6;
}

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

.hero {
  position: relative;
  min-height: 32vh;
  padding: 0.7rem 5vw 2rem;
  background: radial-gradient(circle at top left, #1d4ed8 0, #020617 45%, #000 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.95), rgba(15,23,42,0.85));
  z-index: 1;
}

.hero-tech-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.8;
  transform: translate3d(0,0,0);
  animation: gridShift 30s linear infinite;
  z-index: 0;
}

@keyframes gridShift {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-64px,-64px,0); }
}

.hero-wave {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  align-items: flex-end;
  z-index: 2;
  opacity: 0.85;
}

.wave-bar {
  width: 6px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(to top, #38bdf8, #a855f7);
  animation: wavePulse 1.1s infinite ease-in-out alternate;
}

.wave-bar:nth-child(2) { animation-delay: 0.08s; }
.wave-bar:nth-child(3) { animation-delay: 0.16s; }
.wave-bar:nth-child(4) { animation-delay: 0.24s; }
.wave-bar:nth-child(5) { animation-delay: 0.32s; }
.wave-bar:nth-child(6) { animation-delay: 0.4s; }
.wave-bar:nth-child(7) { animation-delay: 0.48s; }
.wave-bar:nth-child(8) { animation-delay: 0.56s; }

@keyframes wavePulse {
  0% { height: 8px; opacity: 0.4; }
  50% { height: 28px; opacity: 1; }
  100% { height: 16px; opacity: 0.7; }
}

.nav {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
}

.nav-brand {
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #9ca3af;
}

.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  font-size: 0.85rem;
}

.nav-links a {
  color: #e5e7eb;
  position: relative;
  padding-bottom: 0.1rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #38bdf8, #a855f7);
  transition: width 0.2s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 880px;
  margin-top: 2.6rem;
}

.hero-name {
  font-size: clamp(1.5rem, 2.2vw, 2.0rem);
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: 0.6rem;
}

.hero-tagline {
  font-size: 0.9rem;
  color: #f9fafb;
  margin-bottom: 0.4rem;
}

.hero-subtitle {
  font-size: 0.88rem;
  color: #a5b4fc;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.83rem;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out, border-color 0.12s ease-out;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, #38bdf8, #a855f7);
  color: #020617;
  box-shadow: 0 10px 25px rgba(56,189,248,0.42);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(56,189,248,0.6);
}

.btn.ghost {
  background: rgba(15,23,42,0.9);
  border-color: rgba(148,163,184,0.6);
  color: #e5e7eb;
}

.btn.ghost:hover {
  background: rgba(15,23,42,1);
  border-color: #38bdf8;
}

.section {
  padding: 3.6rem 5vw;
  background-color: #020617;
}

.section-alt {
  padding: 3.6rem 5vw;
  background: radial-gradient(circle at top, #020617, #020617 45%, #000 100%);
}

.section-inner {
  max-width: 980px;
  margin: 0 auto;
}

.section h2 {
  font-size: 1.4rem;
  margin-bottom: 1.4rem;
}

.section p {
  font-size: 0.93rem;
  color: #cbd5f5;
  margin-bottom: 0.7rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 2.3rem;
  align-items: flex-start;
}

.card {
  background: radial-gradient(circle at top left, #111827, #020617 60%);
  border-radius: 1rem;
  padding: 1.3rem 1.5rem;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 18px 40px rgba(15,23,42,0.9);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.card ul {
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #d1d5db;
}

.edu-list {
  list-style: none;
  padding-left: 0;
  font-size: 0.9rem;
}

.edu-list li::before {
  content: "• ";
  color: #38bdf8;
}

.pill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pill-list li {
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.98);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem;
}

.grid .card p {
  font-size: 0.9rem;
}

.timeline {
  display: grid;
  gap: 1.4rem;
}

.timeline-item {
  padding: 1.1rem 1.2rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148,163,184,0.35);
  background: radial-gradient(circle at top left, #020617, #020617 60%);
  box-shadow: 0 14px 32px rgba(15,23,42,0.9);
}

.timeline-item h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.timeline-meta {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}

.timeline-item ul {
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #d1d5db;
}

.small-note {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 0.6rem;
}

.footer {
  border-top: 1px solid #111827;
  padding: 1.3rem 5vw 1.6rem;
  background: #020617;
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-meta {
  opacity: 0.85;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .hero {
    padding-inline: 1.4rem;
  }
  .section,
  .section-alt,
  .footer {
    padding-inline: 1.4rem;
  }
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 1.2rem 1.2rem 3.2rem;
  }
  .hero-name {
    font-size: 1.4rem;
  }
  .hero-tagline {
    font-size: 0.85rem;
  }
  .hero-subtitle {
    font-size: 0.8rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
