* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(0,245,196,0.18), transparent 46%),
    radial-gradient(circle at 50% 10%, rgba(0,245,196,0.08), transparent 30%),
    #000;
  z-index: 0;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(0,245,196,0.06), transparent);
  animation: softSweep 8s ease-in-out infinite;
}

/* HOME */

.home {
  min-height: 100vh;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 22px;
}

.text-logo {
  font-size: 34px;
  font-weight: 950;
  letter-spacing: 8px;
  color: #fff;
  margin-bottom: 44px;
  text-shadow:
    0 0 18px rgba(0,245,196,0.65),
    0 0 44px rgba(0,245,196,0.24);
  animation: logoPulse 4s ease-in-out infinite;
}

.text-logo span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: rgba(0,245,196,0.72);
  text-shadow: none;
}

.text-logo.small {
  font-size: 24px;
  margin-bottom: 24px;
}

.home h1,
.thank-page h1 {
  max-width: 950px;
  font-size: clamp(48px, 9vw, 98px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -3px;
  margin-bottom: 24px;
}

.home-subtitle {
  font-size: clamp(15px, 2.3vw, 21px);
  letter-spacing: 2px;
  color: rgba(255,255,255,0.68);
  margin-bottom: 42px;
}

.main-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 17px 42px;
  border-radius: 999px;
  background: #00f5c4;
  color: #00110e;
  text-decoration: none;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 1px;
  box-shadow: 0 0 32px rgba(0,245,196,0.72);
  transition: 0.25s ease;
  animation: buttonGlow 3s ease-in-out infinite;
}

.main-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 48px rgba(0,245,196,1);
}

.home-note {
  margin-top: 34px;
  font-size: 12px;
  letter-spacing: 2.8px;
  color: rgba(255,255,255,0.34);
  text-transform: uppercase;
}

/* INTAKE */

.intake-page {
  min-height: 100vh;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 72px 18px 40px;
}

.back-link {
  position: fixed;
  top: 24px;
  left: 26px;
  color: rgba(255,255,255,0.52);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  z-index: 3;
}

.back-link:hover {
  color: #00f5c4;
}

.intake-card {
  width: 100%;
  max-width: 680px;
  padding: 38px;
  border-radius: 30px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(0,245,196,0.22);
  box-shadow: 0 0 70px rgba(0,245,196,0.10);
  backdrop-filter: blur(18px);
}

.intake-card h1 {
  text-align: center;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 16px;
}

.intake-subtitle {
  max-width: 520px;
  margin: 0 auto 30px;
  text-align: center;
  color: rgba(255,255,255,0.68);
  line-height: 1.5;
}

form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

label {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,0.68);
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(0,245,196,0.24);
  border-radius: 15px;
  background: rgba(0,0,0,0.58);
  padding: 15px 16px;
  color: #fff;
  font-size: 16px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #00f5c4;
  box-shadow: 0 0 18px rgba(0,245,196,0.25);
}

textarea {
  resize: vertical;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,0.62);
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #00f5c4;
  flex: 0 0 auto;
}

.submit-button {
  margin-top: 18px;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 17px 34px;
  background: #00f5c4;
  color: #00110e;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: 1px;
  box-shadow: 0 0 30px rgba(0,245,196,0.68);
}

.medical-note {
  margin-top: 18px;
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255,255,255,0.34);
}

/* THANK YOU */

.thank-page {
  min-height: 100vh;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 28px;
}

.thank-page p {
  max-width: 560px;
  margin-bottom: 36px;
  color: rgba(255,255,255,0.68);
  line-height: 1.6;
  font-size: 17px;
}

/* MOTION */

@keyframes logoPulse {
  0%, 100% {
    opacity: 0.92;
    text-shadow:
      0 0 18px rgba(0,245,196,0.55),
      0 0 38px rgba(0,245,196,0.18);
  }
  50% {
    opacity: 1;
    text-shadow:
      0 0 24px rgba(0,245,196,0.85),
      0 0 58px rgba(0,245,196,0.34);
  }
}

@keyframes buttonGlow {
  0%, 100% {
    box-shadow: 0 0 26px rgba(0,245,196,0.55);
  }
  50% {
    box-shadow: 0 0 42px rgba(0,245,196,0.95);
  }
}

@keyframes softSweep {
  0%, 100% {
    opacity: 0.25;
    transform: translateX(-10%);
  }
  50% {
    opacity: 0.7;
    transform: translateX(10%);
  }
}

/* MOBILE */

@media (max-width: 640px) {
  .text-logo {
    font-size: 25px;
    letter-spacing: 6px;
    margin-bottom: 38px;
  }

  .text-logo.small {
    font-size: 21px;
  }

  .home h1,
  .thank-page h1 {
    font-size: 54px;
    letter-spacing: -2px;
  }

  .home-subtitle {
    font-size: 15px;
    letter-spacing: 1.4px;
  }

  .home-note {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .main-button {
    width: 80%;
    max-width: 300px;
  }

  .intake-card {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .intake-card h1 {
    font-size: 44px;
  }
}
