:root {
  --bg: #080b12;
  --panel: rgba(14, 19, 31, 0.78);
  --panel-strong: #101827;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f8ff;
  --muted: #a9b5c8;
  --cyan: #35c7f3;
  --blue: #4d8cff;
  --green: #38d96f;
  --yellow: #f1c94a;
  --red: #ec5a60;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

#schedule-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background: #080b12;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 11, 18, 0.2), rgba(8, 11, 18, 0.84) 62%),
    linear-gradient(180deg, rgba(8, 11, 18, 0.12), #080b12 86%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(16px);
}

.brand,
.header-nav,
.hero-actions,
.hero-proof,
.form-row,
.legend,
.preview-topbar {
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  gap: 8px;
  width: auto;
  align-items: center;
  color: var(--text);
  font-weight: 900;
}

.brand img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(53, 199, 243, 0.16));
}

.brand span {
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(53, 199, 243, 0.18);
}

.header-nav {
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.header-nav a:hover {
  color: var(--text);
}

.header-cta,
.primary-button,
.secondary-button,
.waitlist-form button,
.discord-preview button {
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.header-cta,
.primary-button,
.waitlist-form button {
  border: 0;
  color: #061018;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 16px 40px rgba(53, 199, 243, 0.22);
}

.header-cta {
  padding: 10px 14px;
  font-size: 0.92rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.68fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
  width: min(1160px, calc(100% - 32px));
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  padding: 44px 0 80px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(4.4rem, 10vw, 8.1rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 26px;
  color: #d7e3f5;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.primary-button,
.secondary-button {
  padding: 14px 18px;
}

.secondary-button {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero-proof {
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.scheduler-preview,
.discord-preview,
.feature-grid article,
.roadmap-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.scheduler-preview {
  position: relative;
  z-index: 1;
  width: min(100%, 478px);
  justify-self: end;
  padding: 18px;
}

.preview-topbar {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.preview-topbar p,
.bot-name {
  margin-bottom: 2px;
  font-weight: 800;
}

.preview-topbar span,
.best-time span,
.best-time small,
.discord-preview span {
  color: var(--muted);
  font-size: 0.9rem;
}

.preview-topbar strong {
  white-space: nowrap;
  border: 1px solid rgba(56, 217, 111, 0.3);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--green);
  background: rgba(56, 217, 111, 0.1);
}

.best-time {
  display: grid;
  gap: 2px;
  margin-bottom: 18px;
  border: 1px solid rgba(53, 199, 243, 0.24);
  border-radius: 8px;
  padding: 14px;
  background: rgba(53, 199, 243, 0.08);
}

.best-time strong {
  font-size: 2rem;
  line-height: 1;
}

.availability-grid {
  display: grid;
  grid-template-columns: 48px repeat(4, minmax(42px, 1fr));
  gap: 8px;
}

.time-label {
  align-self: center;
  color: var(--muted);
  font-size: 0.84rem;
}

.slot {
  aspect-ratio: 1.35;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.slot.all {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 24px rgba(53, 199, 243, 0.24);
}

.slot.good {
  background: var(--green);
  box-shadow: 0 0 20px rgba(56, 217, 111, 0.16);
}

.slot.close {
  background: var(--yellow);
}

.slot.unavailable {
  background: rgba(236, 90, 96, 0.45);
}

.legend {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.85rem;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.legend-all {
  background: var(--cyan);
}

.legend-good {
  background: var(--green);
}

.legend-close {
  background: var(--yellow);
}

.feature-band,
.discord-band,
.roadmap-band,
.waitlist-band {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  max-width: 760px;
}

.feature-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.roadmap-grid article {
  padding: 22px;
}

.feature-grid p,
.roadmap-grid p,
.waitlist-band p {
  color: var(--muted);
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  color: #061018;
  background: var(--cyan);
  font-weight: 900;
}

.discord-band,
.waitlist-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 28px;
  align-items: center;
}

.discord-preview {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.discord-preview button {
  width: fit-content;
  border: 1px solid rgba(53, 199, 243, 0.34);
  padding: 10px 12px;
  color: var(--text);
  background: rgba(53, 199, 243, 0.12);
}

.stage-label {
  margin-bottom: 8px;
  color: var(--cyan) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-stage {
  border-color: rgba(53, 199, 243, 0.42) !important;
  background: rgba(53, 199, 243, 0.11) !important;
}

.waitlist-band {
  border-top: 1px solid var(--line);
}

.waitlist-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 700;
}

.form-row {
  gap: 8px;
}

.waitlist-form input {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.waitlist-form input:focus {
  border-color: rgba(53, 199, 243, 0.6);
}

.waitlist-form button {
  padding: 14px 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 24px 0 34px;
  color: var(--muted);
}

@media (max-width: 880px) {
  .header-nav {
    display: none;
  }

  .hero,
  .discord-band,
  .waitlist-band,
  .feature-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .scheduler-preview {
    justify-self: start;
    max-width: 560px;
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 44px;
  }

  .hero-copy {
    max-width: 760px;
  }

  h1 {
    font-size: clamp(4.2rem, 16vw, 7.4rem);
  }

  .scheduler-preview {
    max-width: 560px;
  }
}

@media (max-width: 540px) {
  .site-header {
    width: min(100% - 24px, 1160px);
    gap: 12px;
  }

  .header-cta {
    padding: 9px 10px;
    font-size: 0.82rem;
  }

  .brand {
    gap: 6px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .hero,
  .feature-band,
  .discord-band,
  .roadmap-band,
  .waitlist-band,
  .site-footer {
    width: min(100% - 24px, 1160px);
  }

  h1 {
    font-size: clamp(3.5rem, 23vw, 5.3rem);
  }

  .hero-actions,
  .form-row {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .waitlist-form button {
    text-align: center;
  }

  .availability-grid {
    grid-template-columns: 42px repeat(4, minmax(34px, 1fr));
    gap: 6px;
  }

  .site-footer {
    flex-direction: column;
  }
}
