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

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: #fbfaff;
}

body {
  color: #0b1a3a;
  font-family: 'Geist', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: #0b1a3a; text-decoration: none; }
a:hover { color: #6d28d9; }

/* Layout */
.page {
  position: fixed;
  inset: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Background */
.backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
}

.aurora--one {
  left: -10%;
  top: -20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(167,139,250,.35), rgba(167,139,250,0) 65%);
  animation: aurora-one 18s ease-in-out infinite;
}

.aurora--two {
  right: -15%;
  top: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(99,102,241,.25), rgba(99,102,241,0) 65%);
  animation: aurora-two 22s ease-in-out infinite;
}

#globe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Top 62%: header + hero (white area) */
.top {
  position: relative;
  z-index: 3;
  height: 62%;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: clamp(14px, 3vh, 26px) clamp(20px, 9vw, 256px);
  animation: fade 1s ease-out .2s both;
}

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(109,40,217,.15);
  backdrop-filter: blur(10px);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #4c1d95;
  white-space: nowrap;
}

.status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7c3aed;
  box-shadow: 0 0 10px #7c3aed;
  animation: blink 1.8s ease-in-out infinite;
}

.header__email {
  font-size: 14px;
  font-weight: 500;
}

/* Hero */
.hero {
  position: relative;
  z-index: 3;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(12px, 3.2vh, 34px);
  padding: 0 clamp(20px, 5vw, 56px) clamp(10px, 2.5vh, 28px);
}

.hero__logo {
  display: block;
  width: min(460px, 76vw, 34vh);
  height: auto;
  animation: rise 1.2s cubic-bezier(.2,.8,.2,1) .3s both;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 2vh, 20px);
  max-width: 760px;
}

.hero__title {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(30px, min(6.2vw, 7.6vh), 86px);
  line-height: 1;
  letter-spacing: -.015em;
  text-wrap: balance;
  animation: rise 1.1s cubic-bezier(.2,.8,.2,1) .6s both;
}

.hero__accent {
  font-style: italic;
  background: linear-gradient(90deg, #4c1d95, #7c3aed, #a78bfa, #7c3aed, #4c1d95);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}

.hero__text {
  margin: 0;
  max-width: 520px;
  padding: clamp(8px, 1.4vh, 12px) 22px;
  font-size: clamp(14px, min(1.4vw, 2.2vh), 18px);
  line-height: 1.6;
  font-weight: 500;
  color: #ffffff;
  background: rgba(30,11,77,.72);
  border: 1px solid rgba(167,139,250,.3);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -12px rgba(30,11,77,.5);
  text-wrap: pretty;
  animation: rise 1.1s cubic-bezier(.2,.8,.2,1) .8s both;
}

/* Footer */
.footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: clamp(12px, 2.5vh, 22px) clamp(20px, 9vw, 256px);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #d9ccff;
  animation: fade 1s ease-out 1.4s both;
}

/* Animations */
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes aurora-one {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8vw, 4vh) scale(1.15); }
}
@keyframes aurora-two {
  0%, 100% { transform: translate(0, 0) scale(1.1); }
  50% { transform: translate(-10vw, 6vh) scale(.95); }
}
@keyframes shine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

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