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

:root {
  --bg: #f5fbff;
  --bg-accent: #e9f7ff;
  --text: #1b2f3a;
  --muted: #4f6a78;
  --brand: #0f8fb1;
  --brand-2: #22c3a2;
  --line: #cde4ef;
}

body {
  font-family: 'Outfit', sans-serif;
  background:
    radial-gradient(circle at 10% 8%, rgba(34, 195, 162, 0.17), transparent 35%),
    radial-gradient(circle at 92% 18%, rgba(15, 143, 177, 0.18), transparent 33%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

main {
  width: min(1180px, 100% - 2rem);
  margin: 0 auto;
}

section {
  padding: 3rem 0;
}

/* HERO */
.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #8dd4e7;
  background: var(--bg-accent);
  color: #0a6d88;
  font-weight: 600;
}

.hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.1;
  background: linear-gradient(120deg, #0f8fb1, #22c3a2 55%, #2d78e6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h2 {
  margin-top: 0.8rem;
  font-size: clamp(1.05rem, 2.1vw, 1.4rem);
  font-weight: 600;
}

.hero p {
  margin-top: 0.8rem;
  color: var(--muted);
  max-width: 52ch;
}

.cta-btn {
  display: inline-block;
  margin-top: 1.4rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 20px rgba(15, 143, 177, 0.24);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 24px rgba(15, 143, 177, 0.32);
}

.hero-art {
  min-height: 420px;
  display: grid;
  place-items: center;
  transition: transform 0.25s ease;
}

.hero-art img {
  width: min(96%, 560px);
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.2));
  animation: infinityLoop 10s linear infinite;
}

.hero-art:hover {
  transform: scale(1.02);
}

.hero-art:hover img {
  animation-play-state: paused;
}

@keyframes infinityLoop {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  12.5% {
    transform: translate(20px, -10px) rotate(1deg) scale(1.02);
  }
  25% {
    transform: translate(38px, 0) rotate(0deg) scale(1.03);
  }
  37.5% {
    transform: translate(20px, 10px) rotate(-1deg) scale(1.02);
  }
  50% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  62.5% {
    transform: translate(-20px, -10px) rotate(1deg) scale(1.02);
  }
  75% {
    transform: translate(-38px, 0) rotate(0deg) scale(1.03);
  }
  87.5% {
    transform: translate(-20px, 10px) rotate(-1deg) scale(1.02);
  }
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

/* WAITLIST */
.waitlist h2,
.gallery h2,
.social h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.section-note {
  margin-top: 0.5rem;
  color: var(--muted);
}

.waitlist-form {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 0.9rem;
}

.waitlist-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 500;
}

.role-toggle {
  border: 0;
  padding: 0;
  margin: 0;
}

.role-toggle legend {
  font-weight: 500;
  margin-bottom: 0.45rem;
}

.role-options {
  display: inline-flex;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.25rem;
  gap: 0.25rem;
}

.role-options input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.role-options label {
  flex: 1;
  margin: 0;
  border-radius: 8px;
  text-align: center;
  padding: 0.55rem 0.7rem;
  font-weight: 600;
  color: #266173;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.role-options input[type="radio"]:checked + label {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  color: #ffffff;
}

.role-options input[type="radio"]:focus + label {
  outline: 3px solid rgba(15, 143, 177, 0.28);
  outline-offset: 2px;
}

.waitlist-form input,
.waitlist-form select,
.waitlist-form button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.8rem;
  font-size: 1rem;
}

.waitlist-form input,
.waitlist-form select {
  background: #fff;
  color: var(--text);
}

.waitlist-form button {
  grid-column: 1 / -1;
  cursor: pointer;
  border: none;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
}

.waitlist-form input:focus,
.waitlist-form select:focus,
.waitlist-form button:focus,
.cta-btn:focus,
.icon:focus {
  outline: 3px solid rgba(15, 143, 177, 0.28);
  outline-offset: 2px;
}

#responseMsg {
  margin-top: 0.8rem;
  min-height: 1.2rem;
}

/* GALLERY */
.slider {
  overflow: hidden;
  margin-top: 1rem;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.slide-track {
  display: flex;
  width: max-content;
  animation: scroll 34s linear infinite;
}

.slide-track img {
  width: clamp(280px, 34vw, 420px);
  height: clamp(190px, 24vw, 280px);
  margin-right: 0.8rem;
  border-radius: 12px;
  border: 1px solid #cfe5ef;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.slider:hover .slide-track {
  animation-play-state: paused;
}

.slide-track img:hover {
  transform: scale(1.06);
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* SOCIAL */
.social {
  padding-bottom: 2.4rem;
}

.icons {
  margin-top: 1rem;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.8rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.icon {
  text-decoration: none;
  border: 1px solid var(--line);
  color: #11566f;
  background: #fff;
  border-radius: 12px;
  padding: 0.9rem;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  flex: 0 0 auto;
}

.icon:hover {
  transform: translateY(-4px);
  background: var(--bg-accent);
  border-color: #9ed9ea;
  box-shadow: 0 10px 18px rgba(13, 108, 140, 0.14);
}

.icon-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.social-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #cde4ef;
}

.social-logo {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

.social-name {
  font-weight: 700;
  color: #0a4c61;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--line);
  padding: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  section {
    padding: 2.4rem 0;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 320px;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
  }

}

@media (prefers-reduced-motion: reduce) {
  .hero-art img,
  .slide-track {
    animation: none;
  }

  .cta-btn,
  .icon {
    transition: none;
  }
}