:root {
  --bg: #08090f;
  --bg-deep: #05060a;
  --panel: rgba(17, 20, 30, 0.72);
  --gold: #d4a54a;
  --gold-bright: #f0b849;
  --text: #f4f5f7;
  --muted: #aeb4c0;
  --glow: rgba(240, 184, 73, 0.35);
  --border: rgba(212, 165, 74, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: radial-gradient(120% 120% at 50% 0%, #101428 0%, var(--bg) 55%, var(--bg-deep) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.7;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 1080px;
  width: 100%;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  margin: 0.4rem 0 0.6rem;
  letter-spacing: -0.02em;
}

.tagline {
  font-size: clamp(1.1rem, 2.1vw, 1.5rem);
  color: var(--muted);
  max-width: 36rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #9fe29f;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.7);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.cta {
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: #1a1105;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(240, 184, 73, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(240, 184, 73, 0.4);
}

.cta.ghost {
  background: transparent;
  color: var(--gold-bright);
  border: 1px solid var(--border);
  box-shadow: none;
}

.cta.ghost:hover {
  background: rgba(240, 184, 73, 0.08);
}

.avatar-wrap {
  position: relative;
  width: min(280px, 70vw);
  aspect-ratio: 1;
  justify-self: center;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(240, 184, 73, 0.6);
  box-shadow: 0 0 40px rgba(240, 184, 73, 0.35), 0 0 100px rgba(240, 184, 73, 0.15);
}

.avatar-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(240, 184, 73, 0.3);
  animation: pulse 3.5s ease-in-out infinite;
}

.hero-glow {
  position: absolute;
  width: 80vw;
  height: 80vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(240, 184, 73, 0.12) 0%, rgba(8, 9, 15, 0) 70%);
  filter: blur(8px);
  z-index: 1;
  animation: drift 12s ease-in-out infinite;
}

.section {
  position: relative;
  z-index: 2;
  padding: 5rem 1.5rem;
}

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

.section h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  margin-bottom: 1.5rem;
  color: var(--gold-bright);
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 56rem;
}

.traits {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.trait {
  padding: 0.6rem 1.2rem;
  background: rgba(240, 184, 73, 0.08);
  border: 1px solid rgba(240, 184, 73, 0.2);
  border-radius: 999px;
  font-size: 0.95rem;
}

.timeline {
  display: grid;
  gap: 1.5rem;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(240, 184, 73, 0.7), rgba(240, 184, 73, 0.1));
}

.timeline-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.2rem;
  align-items: start;
}

.time {
  font-size: 0.9rem;
  color: rgba(240, 184, 73, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 1.4rem 1.6rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.stack-item {
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(16, 18, 28, 0.7);
  text-align: center;
  font-weight: 500;
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.stack-item:hover {
  transform: translateY(-4px);
  color: var(--gold-bright);
  border-color: rgba(240, 184, 73, 0.4);
}

.footer {
  position: relative;
  z-index: 2;
  padding: 3rem 1.5rem 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  display: grid;
  gap: 0.8rem;
}

.footer-link {
  color: var(--gold-bright);
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.fine-print {
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(240, 184, 73, 0.4);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(240, 184, 73, 0);
  }
}

@keyframes drift {
  0%, 100% {
    transform: translate(-10%, -6%) scale(1);
  }
  50% {
    transform: translate(6%, 8%) scale(1.05);
  }
}

@media (max-width: 700px) {
  .hero-content {
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-item {
    grid-template-columns: 50px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
