:root {
  --orange: #f58220;
  --orange-glow: rgba(245, 130, 32, 0.35);
  --green: #3cb54a;
  --green-glow: rgba(60, 181, 74, 0.3);
  --bg: #0a0a0c;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* Ambient background */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: float 18s ease-in-out infinite;
}

.bg__orb--orange {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  background: var(--orange-glow);
  top: -15%;
  right: -10%;
  animation-delay: 0s;
}

.bg__orb--green {
  width: min(60vw, 440px);
  height: min(60vw, 440px);
  background: var(--green-glow);
  bottom: -20%;
  left: -15%;
  animation-delay: -6s;
}

.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
  opacity: 0.4;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(2%, 3%) scale(1.05); }
  66% { transform: translate(-2%, -2%) scale(0.98); }
}

/* Layout */
.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem 2rem;
  gap: 2.5rem;
}

.brand {
  animation: fade-up 0.8s ease-out both;
}

.brand__logo {
  display: block;
  width: min(320px, 85vw);
  height: auto;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.5));
}

.hero {
  max-width: 36rem;
  text-align: center;
  animation: fade-up 0.8s ease-out 0.15s both;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

.hero__title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__text {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.progress {
  text-align: left;
}

.progress__track {
  height: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.625rem;
}

.progress__fill {
  height: 100%;
  width: 65%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--orange));
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.progress__label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer {
  margin-top: auto;
  animation: fade-up 0.8s ease-out 0.3s both;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  opacity: 0.7;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg__orb,
  .hero__badge-dot,
  .progress__fill,
  .brand,
  .hero,
  .footer {
    animation: none;
  }
}
