/* bringup.ai landing */
:root {
  --bg: #05090f;
  --surface: rgba(15, 20, 36, 0.72);
  --surface-2: rgba(15, 20, 36, 0.9);
  --text: #ffffff;
  --muted: #94a3b8;
  --line: #1e293b;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --ok: #22c55e;
  --error: #fb7185;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 700px at 15% -10%, rgba(37, 99, 235, 0.20), transparent 60%),
    radial-gradient(900px 640px at 95% 10%, rgba(37, 99, 235, 0.14), transparent 62%),
    radial-gradient(900px 700px at 70% 110%, rgba(99, 102, 241, 0.10), transparent 55%),
    var(--bg);
  line-height: 1.5;
  background-attachment: fixed;
}

html {
  scroll-behavior: smooth;
}

.intro-fade {
  opacity: 0;
  transform: translateY(16px) scale(0.99);
  will-change: opacity, transform;
}

body.is-loaded .intro-fade {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.7s ease var(--intro-delay, 0ms),
    transform 0.7s ease var(--intro-delay, 0ms);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.95rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(5, 9, 15, 0.72);
  border-bottom: 1px solid rgba(30, 41, 59, 0.65);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.logo-svg--small {
  border-radius: 6px;
}

.status {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid rgba(30, 41, 59, 0.9);
  background: rgba(15, 20, 36, 0.6);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero,
.modules,
.showcase,
.feature-strip,
.waitlist-panel {
  background: var(--surface);
  border: 1px solid rgba(30, 41, 59, 0.8);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 4rem);
  --hero-tilt: 0deg;
  --logo-shift: 0px;
  --logo-scale: 1;
  transform: perspective(1200px) rotateX(var(--hero-tilt));
  transform-origin: center center;
  transition: transform 180ms ease-out;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 0.85rem;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 13ch;
}

.hero-logo-wrap {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4);
  position: relative;
  background: #0b0f16;
}

.hero-logo-wrap .logo-svg {
  transform: translate3d(0, var(--logo-shift), 0) scale(var(--logo-scale));
  transition: transform 140ms linear;
}

.hero-logo-wrap::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.5) 48%,
    rgba(255, 255, 255, 0) 61%
  );
  transform: translateX(-120%) rotate(8deg);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.lead {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 58ch;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-link {
  margin-top: 1.3rem;
  width: fit-content;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-link:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.showcase {
  min-height: 56vh;
  padding: clamp(1.1rem, 2.6vw, 2rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.showcase-card {
  background: rgba(15, 20, 36, 0.65);
  border: 1px solid rgba(30, 41, 59, 0.9);
  border-radius: 22px;
  padding: 1.2rem;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}

.card-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.showcase-card h2 {
  font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  letter-spacing: -0.02em;
}

.showcase-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.modules {
  padding: clamp(1.1rem, 2.6vw, 2rem);
}

.modules h2 {
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.module {
  display: flex;
  gap: 0.75rem;
  border: 1px solid rgba(30, 41, 59, 0.9);
  background: rgba(15, 20, 36, 0.65);
  border-radius: 18px;
  padding: 1rem;
}

.module-ic {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.14);
  color: var(--accent);
  flex: 0 0 auto;
}

.module-ic svg {
  width: 18px;
  height: 18px;
}

.module h3 {
  font-size: 1rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.module p {
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-strip {
  min-height: 46vh;
  padding: clamp(1.1rem, 2.6vw, 2rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.feature-item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  border: 1px solid rgba(30, 41, 59, 0.9);
  border-radius: 18px;
  background: rgba(15, 20, 36, 0.65);
  padding: 1rem;
}

.icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-top: 0.1rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon svg {
  width: 100%;
  height: 100%;
}

.feature-item h3 {
  font-size: 1.02rem;
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--muted);
}

.waitlist-panel {
  min-height: 56vh;
  padding: clamp(1.2rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.waitlist-head h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.waitlist-head p {
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.02rem;
}

.waitlist-card {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(30, 41, 59, 0.9);
  background: rgba(15, 20, 36, 0.65);
}

.waitlist-form {
  display: flex;
  flex-direction: column;
}

.waitlist-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.waitlist-row {
  display: flex;
  gap: 0.6rem;
}

.waitlist-form input {
  flex: 1;
  border: 1px solid rgba(30, 41, 59, 0.9);
  border-radius: 14px;
  background: rgba(5, 9, 15, 0.7);
  color: var(--text);
  font-size: 1rem;
  padding: 0.9rem 1rem;
}

.waitlist-form input:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.75);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}

.waitlist-form button {
  border: 0;
  border-radius: 14px;
  padding: 0.9rem 1.05rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.waitlist-form button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.waitlist-form button:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.waitlist-message {
  min-height: 1.25rem;
  margin-top: 0.6rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.waitlist-message.loading {
  color: var(--accent);
}

.waitlist-message.success {
  color: var(--ok);
}

.waitlist-message.error {
  color: var(--error);
}

.waitlist-note {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.waitlist-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.waitlist-alt {
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.waitlist-alt:hover {
  text-decoration: underline;
}

.waitlist-benefits {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 0.4rem 0.2rem;
}

.benefit {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  color: var(--text);
  font-size: 0.92rem;
}

.benefit-ic {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.14);
  color: var(--ok);
  font-weight: 800;
  flex: 0 0 auto;
}

.footer {
  padding: 1.25rem 1rem 1.7rem;
  text-align: center;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

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

.footer p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.logo-pop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(17, 17, 17, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 40;
}

.logo-pop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.logo-pop-card {
  width: min(92vw, 420px);
  background: var(--surface-2);
  border-radius: 24px;
  border: 1px solid rgba(30, 41, 59, 0.9);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.22);
  padding: 1.1rem;
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;
}

.logo-pop.is-open .logo-pop-card {
  transform: translateY(0) scale(1);
}

.logo-pop-close {
  margin-left: auto;
  display: block;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.logo-pop-mark {
  width: 108px;
  height: 108px;
  border-radius: 22px;
  overflow: hidden;
  margin: 0.25rem auto 0.75rem;
  background: #0b0f16;
}

.logo-pop-card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.logo-pop-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.8rem;
}

.logo-pop-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 0.64rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.logo-pop-cta:hover {
  background: var(--accent-dark);
}

@keyframes logoSweep {
  0%,
  62% {
    transform: translateX(-120%) rotate(8deg);
  }
  100% {
    transform: translateX(120%) rotate(8deg);
  }
}

@media (hover: hover) and (pointer: fine) {
  .hero-logo-wrap:hover::after {
    opacity: 1;
    animation: logoSweep 1.15s ease-out 1;
  }
}

@media (hover: none), (pointer: coarse) {
  .hero-logo-wrap::after {
    opacity: 0.45;
    animation: logoSweep 6.8s ease-in-out 2.4s infinite;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .topbar {
    padding: 0.85rem 1rem;
  }

  .page {
    padding: 1rem;
  }

  .hero,
  .showcase,
  .feature-strip,
  .waitlist-panel {
    border-radius: 22px;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .waitlist-card {
    grid-template-columns: 1fr;
    padding: 0.9rem;
  }

  .waitlist-row {
    flex-direction: column;
  }

  .waitlist-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-logo-wrap {
    width: 74px;
    height: 74px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .hero-logo-wrap .logo-svg {
    transform: none !important;
    transition: none !important;
  }

  .hero-logo-wrap::after {
    animation: none !important;
  }

  .intro-fade,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
