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

:root {
  --bg-deep: #010409;
  --bg-primary: #030712;
  --bg-secondary: #0a1628;
  --primary: #22d3ee;
  --primary-soft: #67e8f9;
  --secondary: #1d4ed8;
  --accent: #6366f1;
  --accent-warm: #a78bfa;
  --text-primary: #f1f5f9;
  --text-secondary: #8b9cb8;
  --glass-bg: rgba(10, 18, 36, 0.72);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glow: rgba(34, 211, 238, 0.2);
  --font-title: "Sora", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100svh;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-deep);
  overflow-x: hidden;
}

/* ── Cursor spotlight ── */

.cursor-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(34, 211, 238, 0.07) 0%,
    rgba(29, 78, 216, 0.04) 35%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

/* ── Ambient background ── */

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(29, 78, 216, 0.18) 0, transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(34, 211, 238, 0.1) 0, transparent 55%),
    radial-gradient(ellipse 50% 50% at 0% 80%, rgba(99, 102, 241, 0.12) 0, transparent 50%),
    var(--bg-deep);
}

.mesh {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: mesh-drift 20s var(--ease-in-out) infinite;
}

.mesh-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: conic-gradient(
    from 180deg,
    rgba(34, 211, 238, 0.3),
    rgba(29, 78, 216, 0.25),
    rgba(99, 102, 241, 0.2),
    rgba(34, 211, 238, 0.3)
  );
}

.mesh-2 {
  width: 500px;
  height: 500px;
  bottom: -150px;
  right: -100px;
  background: conic-gradient(
    from 0deg,
    rgba(167, 139, 250, 0.2),
    rgba(34, 211, 238, 0.15),
    transparent
  );
  animation-delay: -10s;
  animation-direction: reverse;
}

@keyframes mesh-drift {
  0%,
  100% {
    transform: translateX(-50%) scale(1) rotate(0deg);
  }
  50% {
    transform: translateX(-45%) scale(1.08) rotate(8deg);
  }
}

.aurora {
  position: absolute;
  width: 150%;
  height: 55%;
  left: -25%;
  filter: blur(70px);
  opacity: 0.3;
  mix-blend-mode: screen;
}

.aurora-1 {
  top: -5%;
  background: linear-gradient(
    100deg,
    transparent 15%,
    rgba(34, 211, 238, 0.4) 38%,
    rgba(29, 78, 216, 0.35) 52%,
    transparent 72%
  );
  animation: aurora-drift 16s var(--ease-in-out) infinite;
}

.aurora-2 {
  bottom: 5%;
  background: linear-gradient(
    -70deg,
    transparent 10%,
    rgba(99, 102, 241, 0.25) 42%,
    rgba(34, 211, 238, 0.2) 58%,
    transparent 78%
  );
  animation: aurora-drift 22s var(--ease-in-out) infinite reverse;
}

@keyframes aurora-drift {
  0%,
  100% {
    transform: translateX(0) skewX(0deg) scaleY(1);
    opacity: 0.25;
  }
  50% {
    transform: translateX(8%) skewX(-3deg) scaleY(1.05);
    opacity: 0.42;
  }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  will-change: transform;
  animation: float 22s var(--ease-in-out) infinite;
}

.orb-1 {
  width: 480px;
  height: 480px;
  top: -160px;
  left: -120px;
  background: rgba(29, 78, 216, 0.4);
}

.orb-2 {
  width: 400px;
  height: 400px;
  top: 20%;
  right: -140px;
  background: rgba(34, 211, 238, 0.28);
  animation-delay: -8s;
}

.orb-3 {
  width: 340px;
  height: 340px;
  bottom: -120px;
  left: 28%;
  background: rgba(99, 102, 241, 0.22);
  animation-delay: -15s;
}

.beam {
  position: absolute;
  width: 1px;
  height: 40%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(34, 211, 238, 0.15) 30%,
    rgba(34, 211, 238, 0.05) 70%,
    transparent
  );
  opacity: 0.6;
  animation: beam-sweep 12s ease-in-out infinite;
}

.beam-1 {
  top: 10%;
  left: 22%;
  transform: rotate(15deg);
}

.beam-2 {
  top: 5%;
  right: 28%;
  transform: rotate(-12deg);
  animation-delay: -6s;
  animation-name: beam-sweep-alt;
}

@keyframes beam-sweep-alt {
  0%,
  100% {
    opacity: 0.2;
    transform: rotate(-12deg) scaleY(0.8);
  }
  50% {
    opacity: 0.7;
    transform: rotate(-12deg) scaleY(1.1);
  }
}

@keyframes beam-sweep {
  0%,
  100% {
    opacity: 0.2;
    transform: rotate(15deg) scaleY(0.8);
  }
  50% {
    opacity: 0.7;
    transform: rotate(15deg) scaleY(1.1);
  }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, black 10%, transparent 100%);
  animation: grid-breathe 10s ease-in-out infinite;
}

@keyframes grid-breathe {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particles span {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--primary-soft);
  box-shadow: 0 0 6px rgba(34, 211, 238, 0.5);
  opacity: 0;
  animation: particle-rise 14s ease-in infinite;
}

.particles span:nth-child(1) { left: 5%; animation-delay: 0s; animation-duration: 15s; }
.particles span:nth-child(2) { left: 12%; animation-delay: 1.8s; animation-duration: 12s; }
.particles span:nth-child(3) { left: 20%; animation-delay: 4.2s; animation-duration: 17s; }
.particles span:nth-child(4) { left: 30%; animation-delay: 0.6s; animation-duration: 14s; }
.particles span:nth-child(5) { left: 38%; animation-delay: 3.1s; animation-duration: 11s; }
.particles span:nth-child(6) { left: 48%; animation-delay: 5.8s; animation-duration: 16s; }
.particles span:nth-child(7) { left: 55%; animation-delay: 2.2s; animation-duration: 13s; }
.particles span:nth-child(8) { left: 62%; animation-delay: 6.4s; animation-duration: 18s; }
.particles span:nth-child(9) { left: 70%; animation-delay: 1.1s; animation-duration: 12s; }
.particles span:nth-child(10) { left: 78%; animation-delay: 4.7s; animation-duration: 15s; }
.particles span:nth-child(11) { left: 85%; animation-delay: 7.2s; animation-duration: 11s; }
.particles span:nth-child(12) { left: 90%; animation-delay: 0.4s; animation-duration: 16s; }
.particles span:nth-child(13) { left: 94%; animation-delay: 3.5s; animation-duration: 14s; }
.particles span:nth-child(14) { left: 97%; animation-delay: 5.1s; animation-duration: 13s; }
.particles span:nth-child(15) { left: 42%; animation-delay: 8s; animation-duration: 19s; }

@keyframes particle-rise {
  0% {
    transform: translateY(110vh) scale(0);
    opacity: 0;
  }
  6% {
    opacity: 0.7;
  }
  88% {
    opacity: 0.25;
  }
  100% {
    transform: translateY(-10vh) scale(1.2);
    opacity: 0;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(32px, -28px) scale(1.06);
  }
  66% {
    transform: translate(-24px, 22px) scale(0.94);
  }
}

/* ── Layout ── */

.page {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 1.5rem;
}

.hero {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ── Reveal animations ── */

.reveal {
  --reveal-delay: 0s;
  animation: reveal-in 1.1s var(--ease-out-expo) var(--reveal-delay) both;
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* ── Logo ── */

.logo-wrap {
  position: relative;
  margin-bottom: 2rem;
}

.logo-orbit {
  position: absolute;
  inset: -24px;
  animation: orbit-spin 12s linear infinite;
}

.orbit-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.8);
}

.orbit-dot-1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-dot-2 {
  bottom: 15%;
  left: 5%;
}

.orbit-dot-3 {
  bottom: 15%;
  right: 5%;
  background: var(--accent-warm);
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.8);
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

.logo-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(34, 211, 238, 0.55) 50deg,
    rgba(29, 78, 216, 0.45) 110deg,
    transparent 170deg,
    rgba(99, 102, 241, 0.35) 230deg,
    rgba(167, 139, 250, 0.3) 290deg,
    transparent 360deg
  );
  animation: ring-spin 10s linear infinite;
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), black calc(100% - 1px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), black calc(100% - 1px));
  opacity: 0.75;
}

.logo-glow {
  position: absolute;
  inset: -35%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28) 0%, transparent 65%);
  animation: glow-pulse 5s ease-in-out infinite;
}

@keyframes ring-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.logo {
  position: relative;
  width: min(200px, 52vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 56px rgba(34, 211, 238, 0.3));
  animation: logo-float 6s var(--ease-in-out) infinite;
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

/* ── Typography ── */

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: var(--font-title);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.eyebrow-line {
  display: block;
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  animation: line-expand 1.4s var(--ease-out-expo) 0.5s both;
}

@keyframes line-expand {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 2.5rem;
    opacity: 1;
  }
}

.headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05em;
  margin-bottom: 1.5rem;
}

.headline-line {
  display: flex;
  overflow: hidden;
}

.headline-line-accent {
  margin-top: -0.05em;
}

.char {
  display: inline-block;
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 7vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(
    135deg,
    #f8fafc 0%,
    #67e8f9 30%,
    #22d3ee 50%,
    #1d4ed8 80%,
    #6366f1 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(110%) rotateX(-40deg);
  animation:
    char-in 0.9s var(--ease-out-expo) calc(0.3s + var(--i) * 0.06s) both,
    shimmer 6s ease-in-out calc(1.2s + var(--i) * 0.1s) infinite;
}

.headline-line-accent .char {
  background: linear-gradient(
    135deg,
    #22d3ee 0%,
    #6366f1 40%,
    #a78bfa 70%,
    #67e8f9 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
}

@keyframes char-in {
  from {
    opacity: 0;
    transform: translateY(110%) rotateX(-40deg);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
    filter: blur(0);
  }
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.tagline {
  max-width: 440px;
  font-size: clamp(0.9375rem, 2.5vw, 1.125rem);
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

@media (min-width: 900px) {
  .hero {
    max-width: 960px;
  }

  .tagline {
    max-width: none;
  }
}

/* ── Pills ── */

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  list-style: none;
  margin-bottom: 2.25rem;
}

.pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.3s var(--ease-spring);
}

.pill svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
  opacity: 0.8;
}

.pill:hover {
  color: var(--text-primary);
  border-color: rgba(34, 211, 238, 0.25);
  background: rgba(34, 211, 238, 0.06);
  transform: translateY(-2px);
}

/* ── Status card ── */

.status-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  padding: 1px;
  border-radius: 1.375rem;
  overflow: hidden;
  perspective: 800px;
}

.status-card-border {
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(34, 211, 238, 0.7),
    rgba(29, 78, 216, 0.55),
    rgba(99, 102, 241, 0.45),
    rgba(167, 139, 250, 0.35),
    transparent
  );
  animation: border-spin 8s linear infinite;
}

@keyframes border-spin {
  to {
    transform: rotate(360deg);
  }
}

.status-card-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.625rem;
  background: var(--glass-bg);
  border-radius: calc(1.375rem - 1px);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 48px var(--glow);
  text-align: left;
  transition:
    transform 0.15s ease-out,
    box-shadow 0.4s ease;
  transform-style: preserve-3d;
}

.status-card-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.status-card-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 62%
  );
  transform: translateX(-130%);
  animation: card-shine 7s ease-in-out infinite;
}

@keyframes card-shine {
  0%,
  68%,
  100% {
    transform: translateX(-130%);
  }
  82% {
    transform: translateX(130%);
  }
}

.status-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(29, 78, 216, 0.28));
  border: 1px solid rgba(34, 211, 238, 0.22);
  color: var(--primary);
  animation: icon-bob 4s ease-in-out infinite;
}

@keyframes icon-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.status-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.status-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.status-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.status-title {
  font-family: var(--font-title);
  font-size: clamp(0.95rem, 2.8vw, 1.125rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

.status-pulse {
  position: absolute;
  top: 1.375rem;
  right: 1.375rem;
  width: 0.625rem;
  height: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-pulse-core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
  animation: pulse 2.2s ease-out infinite;
}

.status-pulse::before,
.status-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(34, 197, 94, 0.45);
  animation: pulse-ring 2.2s ease-out infinite;
}

.status-pulse::after {
  animation-delay: 0.55s;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.9);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

/* ── Footer ── */

.footer {
  margin-top: auto;
  padding-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.footer-divider {
  width: 48px;
  height: 1px;
  margin-bottom: 1.25rem;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  animation: divider-grow 1s var(--ease-out-expo) 0.8s both;
}

@keyframes divider-grow {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 48px;
    opacity: 1;
  }
}

.footer-ar {
  font-size: 0.75rem;
  opacity: 0.7;
  letter-spacing: 0.06em;
}

/* ── Responsive ── */

@media (max-height: 780px) {
  .page {
    padding: 1rem 1.25rem;
  }

  .logo-wrap {
    margin-bottom: 1rem;
  }

  .logo {
    width: min(140px, 38vw);
  }

  .char {
    font-size: clamp(2rem, 6vh, 2.75rem);
  }

  .eyebrow {
    margin-bottom: 0.75rem;
  }

  .headline {
    margin-bottom: 1rem;
  }

  .tagline {
    margin-bottom: 1.25rem;
  }

  .pills {
    margin-bottom: 1.5rem;
  }

  .footer {
    padding-top: 1.5rem;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 1.25rem 1.25rem 1rem;
  }

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

  .status-pulse {
    top: 1.25rem;
    right: 1.25rem;
  }

  .eyebrow-line {
    width: 1.5rem;
  }

  @keyframes line-expand {
    to {
      width: 1.5rem;
    }
  }

  .pills {
    gap: 0.5rem;
  }

  .pill {
    font-size: 0.6875rem;
    padding: 0.4rem 0.75rem;
  }
}

@media (hover: none) {
  .cursor-spotlight {
    display: none;
  }
}

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

  .reveal,
  .char {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .cursor-spotlight {
    display: none;
  }
}
