/* ========================================
   LANDING PAGE (index.html) — Coming Soon / Waitlist
   ======================================== */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,700;0,9..144,800;0,9..144,900;1,9..144,700&family=Space+Grotesk:wght@500;600;700&family=DM+Sans:wght@400;500;600&display=swap");

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

body {
  font-family: 'DM Sans', sans-serif;
  background: #07090f;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* ── Animated background ── */
.bg-gradient {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(46,196,235,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 60%, rgba(46,196,235,0.05) 0%, transparent 60%),
    linear-gradient(160deg, #070c18 0%, #0b1628 50%, #08101e 100%);
}

/* Slow-drifting ocean current lines */
.bg-lines {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
@keyframes drift {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-40px); }
}
.bg-lines path {
  fill: none;
  stroke: rgba(46,196,235,0.08);
  stroke-width: 1.5;
  animation: drift 18s ease-in-out infinite alternate;
}
.bg-lines path:nth-child(2) { animation-duration: 24s; animation-delay: -6s; }
.bg-lines path:nth-child(3) { animation-duration: 20s; animation-delay: -12s; }

/* ── Content card ── */
.card {
  position: relative; z-index: 10;
  width: 100%; max-width: 520px;
  padding: 0 24px;
  text-align: center;
}

/* Logo */
.logo-wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-bottom: 40px;
}
.logo-wrap svg {
  height: 44px; width: auto;
}
.logo-wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 700;
  color: #fff; letter-spacing: -0.3px;
}

/* Headline */
h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 52px; font-weight: 900;
  line-height: 1.05; letter-spacing: -2px;
  color: #fff;
  margin-bottom: 16px;
}
h1 .accent {
  background: linear-gradient(135deg, #C9A84C 0%, #2EC4EB 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subheading */
.subhead {
  font-size: 16px; color: #8aaec8; line-height: 1.65;
  max-width: 420px; margin: 0 auto 40px;
}

/* ── Waitlist form ── */
.form-wrap {
  display: flex; gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 6px;
  margin-bottom: 12px;
}
.form-wrap input[type="email"] {
  flex: 1;
  background: transparent;
  border: none; outline: none;
  font-size: 14px; color: #fff;
  padding: 10px 14px;
  font-family: 'DM Sans', sans-serif;
}
.form-wrap input[type="email"]::placeholder { color: rgba(255,255,255,0.3); }

.btn-waitlist {
  background: linear-gradient(135deg, #C9A84C, #2EC4EB);
  color: #fff; font-weight: 700; font-size: 14px;
  border: none; border-radius: 8px;
  padding: 11px 20px; cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.btn-waitlist:hover { opacity: 0.85; }

/* Confirmation message */
.confirm-msg {
  display: none;
  font-size: 14px; color: #2EC4EB; font-weight: 600;
  margin-bottom: 12px;
}

.form-note {
  font-size: 12px; color: rgba(255,255,255,0.3);
  margin-bottom: 32px;
}

/* Divider */
.divider {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.divider-line { flex: 1; height: 1px; background: rgba(255,255,255,0.08); }
.divider-text { font-size: 12px; color: rgba(255,255,255,0.25); white-space: nowrap; }

/* LinkedIn button */
.btn-linkedin {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 24px;
  color: #fff; font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn-linkedin:hover {
  background: rgba(10,102,194,0.2);
  border-color: rgba(10,102,194,0.5);
}
.linkedin-icon {
  width: 20px; height: 20px;
  background: #0a66c2; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.linkedin-icon svg { width: 12px; height: 12px; fill: #fff; }

/* Travis label */
.travis-label {
  font-size: 11px; color: rgba(255,255,255,0.3);
  text-align: right; margin-left: auto;
}

/* ── Team access (password gate) ── */
.team-access-wrap {
  margin-top: 56px;
}
.team-access-toggle {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  padding: 16px 32px;
}
.team-access-toggle:hover {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.3);
}

.password-gate {
  display: none;
  margin-top: 16px;
}
.password-gate.open { display: block; }

.pw-wrap {
  display: flex; gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 5px;
}
.pw-wrap input[type="password"] {
  flex: 1;
  background: transparent; border: none; outline: none;
  font-size: 13px; color: #fff; letter-spacing: 2px;
  padding: 9px 12px;
  font-family: 'DM Sans', sans-serif;
}
.pw-wrap input::placeholder { letter-spacing: 0; color: rgba(255,255,255,0.2); font-size: 13px; }

.btn-pw {
  background: rgba(46,196,235,0.15);
  border: 1px solid rgba(46,196,235,0.3);
  border-radius: 7px;
  color: #2EC4EB; font-size: 13px; font-weight: 700;
  padding: 8px 16px; cursor: pointer;
  transition: background 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.btn-pw:hover { background: rgba(46,196,235,0.25); }

.pw-error {
  font-size: 12px; color: #f87171; margin-top: 8px;
  display: none;
}
.pw-error.show { display: block; }

/* Shake animation on wrong password */
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}
.pw-wrap.shake { animation: shake 0.4s ease; }
