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

:root {
  --teal: #008080;
  --teal-dark: #005f5f;
  --gold: #b8860b;
  --gold-light: #fce8b6;
  --black: #0e0e0e;
  --white: #ffffff;
}

html,
body {
  height: 100%;
  background: var(--black);
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

/* ---- Animated background ---- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.bg-grad {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 10% 20%,
      rgba(0, 128, 128, 0.18) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 50% at 90% 80%,
      rgba(184, 134, 11, 0.1) 0%,
      transparent 55%
    ),
    var(--black);
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 128, 128, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 128, 128, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}
.orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(0, 128, 128, 0.15);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 350px;
  height: 350px;
  background: rgba(184, 134, 11, 0.1);
  bottom: -80px;
  right: -80px;
  animation-delay: 3s;
}
.orb-3 {
  width: 250px;
  height: 250px;
  background: rgba(0, 128, 128, 0.08);
  top: 50%;
  right: 20%;
  animation-delay: 5s;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

/* ---- Noise overlay ---- */
.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

/* ---- Main layout ---- */
.page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
}

/* ---- Logo ---- */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}
.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--teal);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(0, 128, 128, 0.4);
}
.logo-text {
  font-family: "Syne", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.logo-text span {
  color: var(--gold);
}

/* ---- Status pill ---- */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 128, 128, 0.15);
  border: 1px solid rgba(0, 128, 128, 0.3);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}
.status-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--teal);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* ---- Headline ---- */
.headline {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.5s;
}
.headline .line-teal {
  color: var(--teal);
}
.headline .line-gold {
  color: var(--gold);
}

/* ---- Subtext ---- */
.subtext {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.65s;
}
.subtext strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* ---- Divider ---- */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 2px;
  margin: 0 auto 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.7s;
}

/* ---- Survey CTA ---- */
.survey-block {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.85s;
  max-width: 480px;
}
.survey-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.survey-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.survey-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--teal);
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2.25rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 0 rgba(0, 128, 128, 0.4);
  position: relative;
  overflow: hidden;
}
.survey-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.survey-btn:hover {
  background: #009999;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 128, 128, 0.4);
}
.survey-btn:hover::before {
  opacity: 1;
}
.survey-btn .arrow {
  font-size: 1.1rem;
  transition: transform 0.3s;
}
.survey-btn:hover .arrow {
  transform: translateX(4px);
}

/* ---- Footer note ---- */
.footer-note {
  position: fixed;
  bottom: 2rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.2);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1.1s;
  z-index: 2;
}
.footer-note a {
  color: rgba(0, 128, 128, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-note a:hover {
  color: var(--teal);
}

/* ---- Floating particles ---- */
.particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0;
  animation: rise linear infinite;
}
@keyframes rise {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-10vh) scale(1.5);
    opacity: 0;
  }
}

/* ---- Animations ---- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .headline {
    font-size: 3rem;
  }
  .logo {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 450px) {
  /* CSS styles for screens 450px and less */

  .headline {
    font-family: "Syne", sans-serif;
    font-size: clamp(1.5rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.5s;
  }

  .subtext {
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 3.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.65s;
  }

  .survey-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
}
