/* AIGoGo — brand tokens + full-viewport hero */

:root {
  --bg: #05091a;
  --black: #000000;
  --blue: #1a6cf0;
  --blue-hi: #4f8fff;
  --blue-max: #78aaff;
  --white: #ffffff;
  --cream: #d8e0f5;
  --dim: rgba(216, 224, 245, 0.45);
  --rule: rgba(255, 255, 255, 0.07);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 24px 80px rgba(0, 0, 0, 0.35);
  /* Honeycomb: ~1in across flat-to-flat (96px = 1 CSS in); height = flat × 2/√3 */
  --hex-flat: 96px;
  --hex-height: calc(var(--hex-flat) * 2 / 1.73205080757);
  --hex-row-shift: calc(var(--hex-height) * 0.5);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  background: var(--bg);
  letter-spacing: -0.01em;
}

.page {
  min-height: 100%;
}

.header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.75rem clamp(1.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--rule);
  background: rgba(5, 9, 26, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
}

.wordmark__ai {
  color: var(--white);
}

.wordmark__gogo {
  color: var(--blue-hi);
}

.wordmark:hover .wordmark__ai {
  color: var(--cream);
}

.wordmark:hover .wordmark__gogo {
  color: var(--blue-max);
}

.header__domain {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  min-height: 100svh;
  padding: clamp(5.5rem, 14vh, 7.5rem) clamp(1.5rem, 5vw, 3.5rem) clamp(2.5rem, 6vh, 4rem);
  overflow: hidden;
  background-color: var(--bg);
}

.hero__layers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__infinity {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: min(92vw, 1180px);
  height: auto;
  color: rgba(79, 143, 255, 0.14);
  pointer-events: none;
  user-select: none;
}

.hero__infinity-path {
  stroke: currentColor;
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}

/*
 * Honeycomb: thin white hex grid (~1in / 96px flat-to-flat).
 * MUST sit ABOVE .hero__scrim — the old order hid the grid under an opaque navy veil.
 */
.hero__hive {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 110.851'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-opacity='0.22' stroke-width='0.9' vector-effect='non-scaling-stroke' d='M48 0L96 27.713L96 83.138L48 110.851L0 83.138L0 27.713Z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 110.851'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-opacity='0.22' stroke-width='0.9' vector-effect='non-scaling-stroke' d='M48 0L96 27.713L96 83.138L48 110.851L0 83.138L0 27.713Z'/%3E%3C/svg%3E");
  background-size: var(--hex-flat) var(--hex-height), var(--hex-flat) var(--hex-height);
  background-position: 0 0, calc(var(--hex-flat) * 0.5) var(--hex-row-shift);
  background-repeat: repeat;
}

/* Dark veil sits UNDER honeycomb so faint white lines remain visible */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    165deg,
    rgba(5, 9, 26, 0.92) 0%,
    rgba(5, 9, 26, 0.68) 52%,
    rgba(5, 9, 26, 0.9) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 4;
  max-width: 44rem;
  width: 100%;
  text-align: center;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.625rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--white);
}

.hero__title-dot {
  font-weight: 800;
  color: var(--dim);
  margin-right: 0.02em;
}

.hero__title-brand {
  font-weight: 800;
  white-space: nowrap;
}

.hero__title-ai {
  color: var(--white);
}

.hero__title-gogo {
  background: linear-gradient(135deg, var(--blue-hi) 0%, var(--blue-max) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  margin: 1.75rem 0 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.waitlist {
  margin-top: 3rem;
  text-align: left;
  padding: 1.75rem clamp(1.25rem, 3vw, 2rem);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-card);
}

.waitlist__label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.75rem;
}

.waitlist__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.waitlist__input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--white);
  background: rgba(5, 9, 26, 0.6);
  border: 1px solid var(--rule);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.waitlist__input::placeholder {
  color: var(--dim);
}

.waitlist__input:hover {
  border-color: rgba(79, 143, 255, 0.35);
}

.waitlist__input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px rgba(26, 108, 240, 0.35);
}

.waitlist__btn {
  flex: 0 0 auto;
  padding: 0.875rem 1.35rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.waitlist__btn:hover {
  background: var(--blue-hi);
  border-color: var(--blue-hi);
}

.waitlist__btn:focus-visible {
  outline: 2px solid var(--blue-max);
  outline-offset: 2px;
}

.waitlist__note {
  margin: 1rem 0 0;
  min-height: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--cream);
}

.waitlist__note.is-success {
  color: var(--cream);
}

.waitlist__note.is-error {
  color: #ff8a8a;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 1.5rem clamp(1.5rem, 5vw, 3.5rem) 2rem;
  border-top: 1px solid var(--rule);
  background: var(--bg);
}

.footer__line {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--dim);
  text-align: center;
}

@media (max-width: 520px) {
  .waitlist__btn {
    width: 100%;
  }

  .hero__title-brand {
    white-space: normal;
  }
}

@supports not (min-height: 100dvh) {
  .hero {
    min-height: 100vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .waitlist__input,
  .waitlist__btn {
    transition: none;
  }
}
