:root {
  --blaze: #FF5733;
  --blaze-dark: #E54A28;
  --coral: #FF8B5E;
  --violet: #7C3AED;
  --lavender: #A78BFA;
  --gold: #FBBF24;
  --emerald: #10B981;
  --midnight: #1E1E3A;
  --slate: #2D2D44;
  --gray: #8888A0;
  --ghost: #F8F8FC;
  --white: #FFFFFF;
  --medal-gold: #FBBF24;
  --medal-silver: #C0C0C0;
  --medal-bronze: #CD7F32;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  color: var(--gray);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  border: none;
  cursor: pointer;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* ========== UTILITIES ========== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blaze);
}

.section-title {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--midnight);
  line-height: 1.2;
  margin-top: 16px;
  margin-bottom: 32px;
}

.gradient-text-blaze-violet {
  background: linear-gradient(135deg, var(--blaze) 0%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary {
  padding: 12px 32px;
  background: var(--blaze);
  color: var(--white);
  font-weight: 700;
  border-radius: 100px;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(255, 87, 51, 0.2);
  transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--blaze-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 87, 51, 0.3);
  outline: none;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-social {
  padding: 11px 20px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-social:focus-visible {
  outline: 2px solid var(--blaze);
  outline-offset: 2px;
}

.btn-google {
  background: var(--white);
  color: var(--midnight);
  border: 1px solid rgba(30, 30, 58, 0.1);
}

.btn-google:hover {
  border-color: var(--blaze);
  box-shadow: 0 4px 16px rgba(255, 87, 51, 0.1);
}

.btn-apple {
  background: var(--midnight);
  color: var(--white);
}

.btn-apple:hover {
  background: var(--slate);
  transform: translateY(-2px);
}

.card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--blaze);
  color: var(--white);
  padding: 8px 16px;
  z-index: 200;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  font-size: 14px;
}

.skip-link:focus {
  top: 0;
}

/* ========== NAV ========== */

nav#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

nav#nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(30, 30, 58, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

nav#nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
  border-radius: 12px;
  padding: 6px 10px 6px 6px;
  margin: -6px 0 -6px -6px;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  .nav-brand:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
  }

  .nav-brand:hover .nav-logo {
    filter: brightness(1.08);
  }

  nav#nav.scrolled .nav-brand:hover {
    background: rgba(255, 87, 51, 0.1);
    box-shadow: 0 4px 20px rgba(255, 87, 51, 0.12);
  }

  nav#nav.scrolled .nav-brand:hover .nav-wordmark-compete {
    color: var(--midnight);
  }
}

.nav-brand:focus-visible {
  outline: 2px solid var(--blaze);
  outline-offset: 2px;
}

.nav-wordmark {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
}

.nav-wordmark-compete {
  color: var(--white);
  transition: color 0.3s ease;
}

nav#nav.scrolled .nav-wordmark-compete {
  color: var(--midnight);
}

.nav-wordmark-withme {
  color: var(--blaze);
}

.nav-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.nav-cta {
  padding: 10px 24px;
  background: var(--blaze);
  color: var(--white);
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(255, 87, 51, 0.35);
  white-space: nowrap;
  transition: all 0.3s ease;
}

.nav-cta-short {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-secondary {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  padding: 8px 4px;
  border-radius: 8px;
  transition: color 0.2s ease;
}

.nav-secondary:hover,
.nav-secondary:focus-visible {
  color: var(--white);
  outline: none;
}

.nav-section-link {
  border-bottom: 2px solid transparent;
  padding-bottom: 6px;
  margin-bottom: -2px;
}

.nav-section-link.is-active {
  color: var(--white);
  font-weight: 700;
  border-bottom-color: var(--blaze);
}

nav#nav.scrolled .nav-secondary {
  color: var(--gray);
}

nav#nav.scrolled .nav-secondary:hover,
nav#nav.scrolled .nav-secondary:focus-visible {
  color: var(--midnight);
}

nav#nav.scrolled .nav-section-link.is-active {
  color: var(--midnight);
  border-bottom-color: var(--blaze);
}

.nav-cta:hover, .nav-cta:focus-visible {
  background: var(--blaze-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 87, 51, 0.45);
  outline: none;
}

/* ========== HERO ========== */

.hero {
  padding-top: 120px;
  padding-bottom: 96px;
  background: var(--midnight);
  background-image: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,0.18) 0%, transparent 70%),
                    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(255,87,51,0.10) 0%, transparent 60%);
  text-align: center;
}

/* Launch strip between hero (midnight) and features — white background, no panel chrome */
.launch-band {
  background: var(--white);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(30, 30, 58, 0.06);
}

.hero-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: transparent;
  color: var(--midnight);
  padding: 0;
  border-radius: 0;
  border: 0;
  margin-bottom: 18px;
}

.launch-band .hero-badge {
  margin-bottom: 10px;
}

.hero-badge-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray);
}

.hero-badge-date {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--blaze);
}

/* Launch countdown: native in-page timer */
.launch-band .hero-countdown {
  width: 100%;
  max-width: 720px;
  margin: 12px auto 0;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 8px 0;
}

.countdown-unit {
  padding: 10px 8px 8px;
  text-align: center;
}

.countdown-value {
  display: block;
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.65rem, 3.4vw, 2.2rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--midnight);
  font-variant-numeric: tabular-nums;
}

#countdown-seconds {
  color: var(--blaze);
}

.countdown-label {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--blaze);
}

.countdown-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 520px) {
  .launch-band {
    padding: 32px 0;
  }

  .launch-band .hero-countdown {
    margin-top: 10px;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 48px;
}

.hero-logo .spark {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.hero-headline {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subhead {
  font-size: clamp(16px, 2.5vw, 18px);
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.hero-cta {
  margin-bottom: 0;
}

.medal-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.medal-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.medal-badge.gold {
  background: var(--medal-gold);
  animation-delay: 0s;
}

.medal-badge.silver {
  background: var(--medal-silver);
  animation-delay: 0.2s;
}

.medal-badge.bronze {
  background: var(--medal-bronze);
  animation-delay: 0.4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .medal-badge,
  .hero-logo .spark {
    animation: none;
  }
  .roadmap-track-fill,
  .roadmap-track-hit {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .card:hover,
  .btn-primary:hover,
  .nav-cta:hover,
  .category-pill:hover {
    transform: none;
  }

  .nav-brand {
    transition: none;
  }

  .nav-brand:hover {
    transform: none;
  }

  .vibe-preview-panel.is-visible {
    animation: none;
  }
}

/* ========== FEATURES (V1 SHOWCASE) ========== */

.features {
  position: relative;
  isolation: isolate;
  padding: 88px 0 96px;
  overflow: hidden;
  background: linear-gradient(165deg, #fafaff 0%, #f8f8fc 28%, #fff8f5 55%, #f5f3ff 78%, #f8f8fc 100%);
}

.features::before,
.features::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.features::before {
  top: -140px;
  right: min(-4vw, -40px);
  width: min(480px, 90vw);
  height: min(480px, 90vw);
  background: radial-gradient(circle at 40% 40%, rgba(255, 87, 51, 0.22) 0%, rgba(255, 139, 94, 0.08) 45%, transparent 65%);
}

.features::after {
  bottom: -120px;
  left: min(-3vw, -32px);
  width: min(420px, 85vw);
  height: min(420px, 85vw);
  background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.18) 0%, rgba(167, 139, 250, 0.06) 50%, transparent 68%);
}

.features .container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
}

.features-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.features-heading .section-title {
  margin-bottom: 20px;
}

.features-lede {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 8px;
}

.feature-waitlist-note {
  margin-top: 14px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--gray);
  background: rgba(255, 87, 51, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 87, 51, 0.2);
}

.feature-waitlist-note a {
  color: var(--blaze);
  font-weight: 600;
  text-decoration: none;
}

.feature-waitlist-note a:hover {
  text-decoration: underline;
}

.feature-showcase-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  align-items: center;
  margin-bottom: 28px;
  padding: 32px 36px 36px;
  border-radius: 20px;
  border: 1px solid rgba(30, 30, 58, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 100%);
  box-shadow:
    0 4px 24px rgba(30, 30, 58, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}

.feature-showcase:nth-child(odd) {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 245, 0.92) 55%, rgba(255, 255, 255, 0.95) 100%);
  border-color: rgba(255, 87, 51, 0.14);
}

.feature-showcase:nth-child(even) {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 245, 255, 0.94) 50%, rgba(255, 255, 255, 0.96) 100%);
  border-color: rgba(124, 58, 237, 0.14);
}

@media (hover: hover) {
  .feature-showcase:hover {
    box-shadow:
      0 16px 48px rgba(124, 58, 237, 0.1),
      0 8px 24px rgba(255, 87, 51, 0.06);
    transform: translateY(-3px);
    border-color: rgba(124, 58, 237, 0.22);
  }

  .feature-showcase:nth-child(odd):hover {
    border-color: rgba(255, 87, 51, 0.28);
  }
}

.feature-showcase:last-child {
  margin-bottom: 0;
}

.feature-showcase:nth-child(even) .feature-showcase-figure {
  order: -1;
}

.feature-showcase-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--midnight);
  margin-bottom: 14px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(30, 30, 58, 0.08);
}

.feature-showcase:nth-child(3n + 1) .feature-showcase-tag {
  background: linear-gradient(135deg, rgba(255, 87, 51, 0.18) 0%, rgba(255, 139, 94, 0.12) 100%);
  border-color: rgba(255, 87, 51, 0.32);
  color: var(--midnight);
}

.feature-showcase:nth-child(3n + 2) .feature-showcase-tag {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16) 0%, rgba(167, 139, 250, 0.12) 100%);
  border-color: rgba(124, 58, 237, 0.3);
  color: var(--midnight);
}

.feature-showcase:nth-child(3n) .feature-showcase-tag {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(52, 211, 153, 0.1) 100%);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--midnight);
}

.feature-showcase h3 {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  color: var(--midnight);
  margin-bottom: 12px;
  line-height: 1.2;
}

.feature-showcase p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.65;
}

.feature-showcase-figure {
  margin: 0;
  padding: 3px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--blaze) 0%, var(--violet) 55%, var(--gold) 100%);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.15);
}

.feature-showcase:nth-child(even) .feature-showcase-figure {
  background: linear-gradient(225deg, var(--violet) 0%, var(--blaze) 50%, #fbbf24 100%);
}

.feature-showcase-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 17px;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(30, 30, 58, 0.08);
}

@media (max-width: 900px) {
  .feature-showcase {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 22px;
    padding: 24px 20px 28px;
  }

  .feature-showcase:nth-child(even) .feature-showcase-figure {
    order: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-showcase {
    transition: none;
  }

  .feature-showcase:hover {
    transform: none;
  }
}

/* ========== USE CASES ========== */

.use-cases {
  padding: 80px 0;
  background: var(--midnight);
  color: var(--white);
}

.use-cases .section-title {
  color: var(--white);
}

.vibe-instructions {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 520px;
  margin: -8px auto 0;
  text-align: center;
  line-height: 1.5;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
  list-style: none;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

.categories-grid > li {
  margin: 0;
}

.category-pill {
  background: var(--slate);
  color: var(--white);
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  font-family: inherit;
  line-height: 1.3;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}

.category-pill:hover {
  border-color: var(--blaze);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 87, 51, 0.2);
}

.category-pill:focus-visible {
  outline: 2px solid var(--blaze);
  outline-offset: 3px;
}

.category-pill.is-active {
  border-color: var(--blaze);
  background: rgba(255, 87, 51, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 87, 51, 0.35);
}

.category-emoji {
  font-size: 24px;
  display: block;
  margin-bottom: 8px;
}

.vibe-preview {
  margin-top: 40px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.vibe-preview-empty {
  text-align: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
  padding: 28px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.15);
}

.vibe-preview-empty[hidden] {
  display: none;
}

.vibe-preview-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.vibe-preview-panel.is-visible {
  display: grid;
  animation: vibe-swap-in 0.45s ease;
}

@keyframes vibe-swap-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vibe-preview-card {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 22px 20px 20px;
  min-height: 220px;
}

.vibe-preview-card h3 {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--blaze);
  margin-bottom: 16px;
}

.vibe-metric-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vibe-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.vibe-metric-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.vibe-metric-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.vibe-metric-value.is-good {
  color: var(--emerald);
}

.vibe-metric-value.is-fire {
  color: var(--gold);
}

.vibe-metrics-chart-slot {
  margin-bottom: 18px;
}

.vibe-metrics-chart-slot[hidden] {
  display: none !important;
}

.vibe-metrics-chart-caption {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

.vibe-metrics-chart-slot svg {
  width: 100%;
  height: auto;
  max-height: 150px;
  display: block;
}

.vibe-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Inline metric “submission” lines — anchor the trash talk */
.vibe-log {
  align-self: stretch;
  max-width: 100%;
  padding: 12px 14px 12px 16px;
  border-radius: 14px;
  background: rgba(251, 191, 36, 0.07);
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-left: 4px solid var(--gold);
}

.vibe-log-time {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.vibe-log-main {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.vibe-log-main .vibe-log-name {
  font-weight: 700;
  color: var(--white);
}

.vibe-log-main .vibe-log-metric {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}

.vibe-msg {
  max-width: 92%;
  padding: 10px 14px 12px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
}

.vibe-msg-name {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
  opacity: 0.75;
}

.vibe-msg--them {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
}

.vibe-msg--you {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(255, 87, 51, 0.35) 0%, rgba(124, 58, 237, 0.3) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.vibe-msg p {
  margin: 0;
}

/* ========== SOCIAL PROOF ========== */

.social-proof {
  padding: 80px 0;
  background: var(--ghost);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.phone-mockup {
  background: var(--white);
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  aspect-ratio: 9 / 16;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(30, 30, 58, 0.08);
}

.phone-bezel {
  background: var(--midnight);
  height: 28px;
  border-radius: 0 0 24px 24px;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.phone-content {
  flex: 1;
  background: var(--ghost);
  border-radius: 20px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
  min-height: 0;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: var(--white);
  border-radius: 12px;
  font-size: 13px;
}

.leaderboard-medal {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-right: 8px;
  flex-shrink: 0;
}

.leaderboard-name {
  flex: 1;
  font-weight: 600;
  color: var(--midnight);
}

.leaderboard-value {
  color: var(--gray);
  font-size: 12px;
}

.preview-title {
  font-weight: 700;
  color: var(--midnight);
  font-size: 12px;
  text-align: center;
  margin-top: 16px;
}

/* ========== SIGNUP CTA (primary conversion — strong visual hierarchy) ========== */

.signup-cta {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 50% -20%, rgba(124, 58, 237, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 100% 80%, rgba(255, 87, 51, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 55% 45% at 0% 60%, rgba(251, 191, 36, 0.08) 0%, transparent 45%),
    linear-gradient(180deg, var(--ghost) 0%, rgba(248, 248, 252, 1) 100%);
}

.signup-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blaze) 0%, var(--violet) 50%, var(--gold) 100%);
  pointer-events: none;
}

.signup-panel {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 36px 44px;
  text-align: center;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(124, 58, 237, 0.12);
  box-shadow:
    0 1px 2px rgba(30, 30, 58, 0.04),
    0 24px 56px rgba(124, 58, 237, 0.14),
    0 8px 24px rgba(255, 87, 51, 0.08);
}

.signup-cta-eyebrow {
  margin: 0 0 4px;
  letter-spacing: 2px;
}

.signup-panel .section-title {
  margin-top: 0;
  margin-bottom: 20px;
}

.social-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.social-buttons .btn-social {
  justify-content: center;
}

.signup-subhead {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.65;
  margin-top: 0;
  margin-bottom: 32px;
}

.signup-note {
  font-size: 14px;
  color: var(--gray);
  margin-top: 24px;
  margin-bottom: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(30, 30, 58, 0.08);
}

/* ========== ROADMAP (interactive) ========== */

.roadmap {
  padding: 80px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.roadmap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(124, 58, 237, 0.06) 0%, transparent 55%);
  pointer-events: none;
}

.roadmap .container {
  position: relative;
  z-index: 1;
}

.roadmap-lede {
  font-size: 17px;
  color: var(--gray);
  max-width: 520px;
  margin-top: -8px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.roadmap-shell {
  display: grid;
  gap: 28px;
}

.roadmap-track-wrap {
  position: relative;
  padding: 8px 0 28px;
  min-height: 120px;
}

.roadmap-track-bg {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 22px;
  height: 4px;
  border-radius: 4px;
  background: rgba(30, 30, 58, 0.08);
  pointer-events: none;
}

.roadmap-track-fill {
  position: absolute;
  left: 8px;
  top: 22px;
  height: 4px;
  border-radius: 4px;
  width: 0%;
  max-width: calc(100% - 16px);
  background: linear-gradient(90deg, var(--blaze) 0%, var(--violet) 100%);
  box-shadow: 0 0 20px rgba(255, 87, 51, 0.25);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.roadmap-track-segments {
  display: flex;
  position: absolute;
  left: 8px;
  right: 8px;
  top: 6px;
  height: 44px;
  z-index: 2;
  gap: 0;
}

.roadmap-track-hit {
  flex: 1;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  transition: none;
}

.roadmap-track-hit:focus {
  outline: none;
}

.roadmap-track-hit:focus-visible {
  background: transparent;
  outline: 2px solid var(--violet);
  outline-offset: 2px;
  box-shadow: none;
}

.roadmap-nodes {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  z-index: 3;
  pointer-events: none;
}

.roadmap-node-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  pointer-events: auto;
  margin: 0;
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.roadmap-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid rgba(30, 30, 58, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  flex-shrink: 0;
}

.roadmap-node-wrap.is-active:not(.is-current) .roadmap-dot {
  border-color: var(--blaze);
  box-shadow: 0 0 0 6px rgba(255, 87, 51, 0.2);
  transform: scale(1.08);
}

.roadmap-node-wrap.is-current .roadmap-dot {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--blaze), var(--violet));
  border-width: 0;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.35);
}

.roadmap-node-wrap.is-current.is-active .roadmap-dot {
  box-shadow: 0 0 0 6px rgba(251, 191, 36, 0.45);
  transform: scale(1.1);
}

/* Hover: emphasize dot + label together — no rectangle on the track bar above */
@media (hover: hover) {
  .roadmap-node-wrap:not(.is-active):hover .roadmap-dot,
  .roadmap-node-wrap:not(.is-active).roadmap-phase-hover .roadmap-dot {
    border-color: rgba(255, 87, 51, 0.55);
    box-shadow: 0 0 0 5px rgba(255, 87, 51, 0.12);
  }

  .roadmap-node-wrap.is-active:not(.is-current):hover .roadmap-dot,
  .roadmap-node-wrap.is-active:not(.is-current).roadmap-phase-hover .roadmap-dot {
    border-color: var(--blaze);
    box-shadow: 0 0 0 6px rgba(255, 87, 51, 0.26);
  }

  .roadmap-node-wrap.is-current:hover .roadmap-dot,
  .roadmap-node-wrap.is-current.roadmap-phase-hover .roadmap-dot {
    box-shadow: 0 0 0 7px rgba(251, 191, 36, 0.48);
  }
}

.roadmap-node-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 10px 6px;
  background: transparent;
  border-radius: 12px;
  border: 1px solid transparent;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease;
  pointer-events: none;
}

.roadmap-node-wrap:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
}

.roadmap-node-wrap:focus-visible .roadmap-node-label {
  background: var(--ghost);
  border-color: rgba(30, 30, 58, 0.08);
}

@media (hover: hover) {
  .roadmap-node-wrap:not(.is-active):hover .roadmap-node-label {
    background: var(--ghost);
    border-color: rgba(30, 30, 58, 0.08);
  }

  .roadmap-node-wrap.is-active:hover .roadmap-node-label {
    background: var(--ghost);
    border-color: rgba(124, 58, 237, 0.32);
  }
}

.roadmap-node-wrap.is-active .roadmap-node-label {
  background: var(--ghost);
  border-color: rgba(124, 58, 237, 0.25);
}

.roadmap-phase-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--blaze);
  margin-bottom: 4px;
}

.roadmap-phase-title {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 800;
  color: var(--midnight);
  line-height: 1.25;
}

.roadmap-panel {
  background: var(--ghost);
  border-radius: 20px;
  padding: 28px 28px 24px;
  border: 1px solid rgba(30, 30, 58, 0.06);
  min-height: 200px;
  transition: box-shadow 0.3s ease;
}

.roadmap-panel:focus-within {
  box-shadow: 0 12px 40px rgba(30, 30, 58, 0.08);
}

.roadmap-panel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.roadmap-panel-kicker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--violet);
}

.roadmap-panel-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
}

.roadmap-panel-badge.is-soon {
  background: rgba(124, 58, 237, 0.12);
  color: var(--violet);
}

.roadmap-panel h3 {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--midnight);
  margin-bottom: 12px;
}

.roadmap-panel p.lead {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.roadmap-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.roadmap-panel li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.5;
}

.roadmap-panel li::before {
  content: '';
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blaze), var(--violet));
}

.roadmap-hint {
  margin-top: 16px;
  font-size: 13px;
  color: var(--gray);
}

.roadmap-hint kbd {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid rgba(30, 30, 58, 0.1);
}

/* ========== FOOTER ========== */

footer {
  background: var(--midnight);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
}

.footer-logo {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover, .footer-links a:focus-visible {
  color: var(--blaze);
  outline: none;
}

.footer-copyright {
  font-size: 14px;
  color: var(--gray);
}

.footer-domain {
  font-size: 14px;
  color: var(--gray);
  margin-top: 8px;
}

/* ========== AUTH BANNER ========== */

.auth-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 400px;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  z-index: 1000;
  animation: slideUp 0.4s ease;
  display: none;
}

.auth-banner.show {
  display: block;
}

.auth-banner.success {
  background: var(--emerald);
  color: var(--white);
}

.auth-banner.error {
  background: #e74c3c;
  color: var(--white);
}

@keyframes slideUp {
  from {
    transform: translateY(200px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ========== RESPONSIVE ========== */

/* Tablet landscape */
@media (max-width: 1024px) {
  .roadmap-phase-title {
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .roadmap-track-bg,
  .roadmap-track-fill {
    display: none;
  }

  .roadmap-track-segments {
    display: none;
  }

  .roadmap-track-wrap {
    min-height: 0;
    padding-bottom: 0;
  }

  .roadmap-nodes {
    pointer-events: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .roadmap-node-wrap {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(30, 30, 58, 0.08);
  }

  .roadmap-node-wrap:last-child {
    border-bottom: none;
  }

  .roadmap-dot {
    margin-top: 4px;
    flex-shrink: 0;
  }

  .roadmap-node-label {
    margin-top: 0;
    text-align: left;
    align-items: flex-start;
    padding: 0;
    flex: 1;
  }

  .roadmap-node-wrap:hover .roadmap-node-label,
  .roadmap-node-wrap:focus-visible .roadmap-node-label {
    background: transparent;
    border-color: transparent;
  }

  .roadmap-node-wrap.is-active .roadmap-node-label {
    background: transparent;
    border-color: transparent;
  }

  .roadmap-hint {
    display: none;
  }
}

/* Tablet portrait */
@media (max-width: 768px) {
  nav#nav .container {
    height: 64px;
  }

  .nav-logo {
    width: 32px;
    height: 32px;
  }

  .nav-wordmark {
    font-size: 16px;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 12px;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 32px;
  }

  .hero-cta {
    margin-bottom: 0;
  }

  .features,
  .use-cases,
  .roadmap,
  .signup-cta {
    padding: 60px 0;
  }

  .signup-panel {
    padding: 32px 28px 36px;
  }

  .preview-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vibe-preview-panel.is-visible {
    grid-template-columns: 1fr;
  }

  .vibe-preview-card {
    min-height: 0;
  }

  .footer-links {
    gap: 16px;
  }
}

/* Small mobile — prevent nav overflow on iPhone SE / 12 mini */
@media (max-width: 420px) {
  .nav-wordmark {
    display: none;
  }

  .nav-cta-long {
    display: none;
  }

  .nav-cta-short {
    display: inline;
  }

  nav#nav .container {
    height: 56px;
  }

  .nav-secondary {
    display: none;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding-top: 84px;
    padding-bottom: 40px;
  }

  .hero-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
  }

  .hero-cta {
    margin-bottom: 0;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .features,
  .use-cases,
  .roadmap,
  .signup-cta {
    padding: 40px 0;
  }

  .signup-panel {
    padding: 28px 20px 32px;
  }

  .roadmap-panel {
    padding: 22px 20px 18px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-pill {
    padding: 12px 16px;
    font-size: 14px;
  }


  .social-buttons {
    gap: 8px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}