/* ─── Tokens ─────────────────────────────────────────── */
:root {
  --navy:   #0d1b2e;
  --blue:   #1a3a6b;
  --cyan:   #00c6e0;
  --cyan2:  #0af0ff;
  --white:  #f0f4f8;
  --muted:  #8da3bb;
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(0, 198, 224, 0.15);
}

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

/* ─── Base ───────────────────────────────────────────── */
html, body {
  height: 100%;
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

/* ─── Grid background ────────────────────────────────── */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0,198,224,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,198,224,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  animation: grid-drift 20s ease-in-out infinite alternate;
}
@keyframes grid-drift {
  from { transform: translateY(0); }
  to   { transform: translateY(-24px); }
}

/* ─── Glows ──────────────────────────────────────────── */
.glow {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.glow--top {
  width: 600px; height: 400px;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0,198,224,0.18) 0%, transparent 70%);
  animation: pulse 6s ease-in-out infinite alternate;
}
.glow--bottom {
  width: 400px; height: 300px;
  bottom: -100px; right: 10%;
  background: radial-gradient(ellipse, rgba(26,58,107,0.4) 0%, transparent 70%);
}
@keyframes pulse {
  from { opacity: 0.6; transform: translateX(-50%) scale(1); }
  to   { opacity: 1;   transform: translateX(-50%) scale(1.1); }
}

/* ─── Layout ─────────────────────────────────────────── */
.container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* ─── Card ───────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 24px;
  padding: 3rem 4rem;
  max-width: 600px;
  width: 100%;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(0,198,224,0.06),
    0 32px 80px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.06);
  animation: card-in 0.9s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(32px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─── Logo ───────────────────────────────────────────── */
.logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  animation: logo-in 1s cubic-bezier(0.22,1,0.36,1) 0.15s both;
}
@keyframes logo-in {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
.logo {
  width: 280px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 24px rgba(0,198,224,0.3));
  transition: filter 0.4s ease;
}
.logo:hover {
  filter: drop-shadow(0 0 36px rgba(0,198,224,0.5));
}

/* ─── Divider ────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1.5rem;
  animation: fade-in 0.8s ease 0.4s both;
}
.dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.6;
}
.line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

/* ─── Badge ──────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,198,224,0.08);
  border: 1px solid rgba(0,198,224,0.22);
  border-radius: 100px;
  padding: 6px 18px;
  margin-bottom: 1.25rem;
  animation: fade-in 0.8s ease 0.5s both;
}

/* ─── Subtitle ───────────────────────────────────────── */
.sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  animation: fade-in 0.8s ease 0.65s both;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Footer ─────────────────────────────────────────── */
footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1;
  text-align: center;
  padding: 1rem;
  font-size: 0.72rem;
  color: rgba(141,163,187,0.45);
  letter-spacing: 0.04em;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 520px) {
  .card { padding: 2rem 1.5rem; }
  .logo { width: 200px; }
}
