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

:root {
  --bg: #080d18;
  --surface: #0f1928;
  --border: #1a2d4a;
  --text: #ddeeff;
  --muted: #5d7a9a;
  --accent: #3b82f6;
  --accent-light: #38bdf8;
  --accent-soft: rgba(59, 130, 246, 0.12);
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Cursor glow ── */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(59,130,246,0.07) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

/* ── Animated background orbs ── */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  animation: drift 18s ease-in-out infinite alternate;
}
.orb-1 { width: 620px; height: 620px; background: #1e3a8a; top: -200px; left: -180px; animation-duration: 20s; }
.orb-2 { width: 420px; height: 420px; background: #38bdf8; bottom: -120px; right: -120px; animation-duration: 25s; animation-delay: -8s; }
.orb-3 { width: 320px; height: 320px; background: #3b82f6; top: 40%; left: 50%; animation-duration: 22s; animation-delay: -4s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.08); }
}

/* ── Scroll progress ── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  z-index: 200;
  transition: width 0.1s linear;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 48px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
nav.scrolled {
  border-color: var(--border);
  background: rgba(8, 13, 24, 0.75);
}

/* ── Main content ── */
main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 180px;
}

/* ── Name ── */
.hero-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 14px;
}

@keyframes letterReveal {
  0%   { opacity: 0; transform: translateY(14px) scale(0.88); filter: blur(6px); }
  100% { opacity: 1; transform: translateY(0)    scale(1);    filter: blur(0); }
}
.hero-name .letter {
  display: inline-block;
  animation: letterReveal 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── Tagline ── */
.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards 0.35s;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Location ── */
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards 0.48s;
}
.hero-location svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* ── Social pills ── */
.social-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards 0.6s;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s, color 0.25s;
  cursor: pointer;
}
.pill:hover {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.5);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59,130,246,0.2);
}
.pill:active { transform: translateY(-1px); }

.pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.pill:hover svg { opacity: 1; }

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--border);
}
footer p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── Ripple ── */
@keyframes rippleAnim { to { transform: scale(1); opacity: 0; } }

/* ── Mobile ── */
@media (max-width: 600px) {
  nav { padding: 18px 24px; }
  .hero-name { font-size: clamp(2rem, 10vw, 3rem); }
}

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