/* =========================================================
   GROOVE — main.css
   AI Could Never, Inc. · Venice, CA · 2026
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@300;400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  --cream:          #FDF7EE;
  --asphalt:        #1A1614;
  --violet:         #5B21B6;
  --violet-bright:  #8B5CF6;
  --violet-light:   #EDE9FE;
  --acid:           #BEFF00;
  --coral:          #FF4400;
  --electric:       #22D3EE;
  --yellow:         #FDE047;
  --chrome:         #D1D5DB;
  --sand:           #FEF3C7;
  --warm-white:     #FFFBF5;

  --font-display:   'Bebas Neue', 'Arial Black', sans-serif;
  --font-body:      'Space Grotesk', 'Helvetica Neue', sans-serif;
  --font-serif:     'Instrument Serif', 'Georgia', serif;

  --transition:     0.18s ease;
  --transition-med: 0.35s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--asphalt);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Subtle grain overlay — gives the site physical texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ===== TYPOGRAPHY ===== */
.display-mega {
  font-family: var(--font-display);
  font-size: clamp(5rem, 22vw, 22rem);
  line-height: 0.84;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 13rem);
  line-height: 0.88;
  text-transform: uppercase;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 8rem);
  line-height: 0.92;
  text-transform: uppercase;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 5.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.heading-xl {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 4vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.heading-lg {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.body-lg {
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.65;
  font-weight: 400;
}
.body-md { font-size: 1rem; line-height: 1.65; }
.label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
}

/* ===== LAYOUT ===== */
.container       { max-width: 1380px; margin: 0 auto; padding: 0 2rem; }
.container-wide  { max-width: 1600px; margin: 0 auto; padding: 0 2rem; }
.container-narrow{ max-width: 860px;  margin: 0 auto; padding: 0 2rem; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition-med), border-color var(--transition-med);
}
.nav.scrolled {
  background: var(--cream);
  border-bottom: 2px solid var(--asphalt);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  color: var(--asphalt);
  line-height: 1;
}
.nav-logo .wheel-o {
  display: inline-block;
  border: 2.5px solid var(--asphalt);
  border-radius: 50%;
  width: 0.75em;
  height: 0.75em;
  line-height: 0.75em;
  text-align: center;
  vertical-align: middle;
  margin: 0 -0.02em;
  position: relative;
  top: -0.05em;
  transition: background var(--transition), color var(--transition);
}
.nav-logo:hover .wheel-o {
  background: var(--violet);
  border-color: var(--violet);
  color: var(--cream);
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  transition: var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--violet);
  transition: width var(--transition-med);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--asphalt) !important;
  color: var(--cream) !important;
  padding: 0.55rem 1.3rem !important;
  border-radius: 100px !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--violet) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--asphalt);
  transition: var(--transition-med);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--violet);
  padding: 6rem 2rem 3rem;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 6rem);
  color: var(--cream);
  letter-spacing: 0.04em;
  line-height: 1.0;
  transition: color var(--transition);
  display: block;
}
.mobile-nav-links a:hover { color: var(--acid); }
.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--cream);
  line-height: 1;
}
.mobile-nav-footer {
  color: var(--cream);
  opacity: 0.35;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 2.5px solid transparent;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease, color 0.14s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  transform: translate(-2px, -3px);
  box-shadow: 4px 5px 0 var(--asphalt);
}
.btn:active {
  transform: translate(0, 0);
  box-shadow: none;
}
.btn-primary {
  background: var(--asphalt);
  color: var(--cream);
  border-color: var(--asphalt);
}
.btn-primary:hover { background: var(--violet); border-color: var(--violet); box-shadow: 4px 5px 0 var(--asphalt); }
.btn-outline {
  background: transparent;
  color: var(--asphalt);
  border-color: var(--asphalt);
}
.btn-outline:hover { background: var(--asphalt); color: var(--cream); }
.btn-acid {
  background: var(--acid);
  color: var(--asphalt);
  border-color: var(--asphalt);
}
.btn-acid:hover { box-shadow: 4px 5px 0 var(--asphalt); }
.btn-violet {
  background: var(--violet);
  color: var(--cream);
  border-color: var(--violet);
}
.btn-violet:hover { box-shadow: 4px 5px 0 var(--acid); border-color: var(--violet); }
.btn-cream {
  background: var(--cream);
  color: var(--asphalt);
  border-color: var(--cream);
}
.btn-lg { padding: 1.15rem 2.5rem; font-size: 0.9rem; }

/* ===== TICKER / MARQUEE ===== */
.ticker {
  overflow: hidden;
  white-space: nowrap;
  padding: 0.95rem 0;
  border-top: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
}
.ticker-inner {
  display: inline-flex;
  animation: ticker-scroll 24s linear infinite;
}
.ticker-inner:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 3rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ticker-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== BADGE / STICKER ===== */
.sticker {
  position: absolute;
  border-radius: 50%;
  border: 3px solid var(--asphalt);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
@keyframes float-a {
  0%, 100% { transform: rotate(-8deg) translateY(0px); }
  50%       { transform: rotate(-5deg) translateY(-14px); }
}
@keyframes float-b {
  0%, 100% { transform: rotate(7deg) translateY(0px); }
  50%       { transform: rotate(10deg) translateY(-10px); }
}
@keyframes float-c {
  0%, 100% { transform: rotate(0deg) translateY(0px); }
  50%       { transform: rotate(-3deg) translateY(-8px); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.5; }
}

/* ===== STRIPE PATTERN ===== */
.stripe-bg {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent, transparent 18px,
    rgba(0,0,0,0.055) 18px, rgba(0,0,0,0.055) 36px
  );
}
.stripe-bg-white {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent, transparent 18px,
    rgba(255,255,255,0.07) 18px, rgba(255,255,255,0.07) 36px
  );
}

/* ===== SECTION COLORS ===== */
.bg-cream     { background-color: var(--cream);   color: var(--asphalt); }
.bg-asphalt   { background-color: var(--asphalt); color: var(--cream); }
.bg-violet    { background-color: var(--violet);  color: var(--cream); }
.bg-acid      { background-color: var(--acid);    color: var(--asphalt); }
.bg-coral     { background-color: var(--coral);   color: var(--cream); }
.bg-electric  { background-color: var(--electric);color: var(--asphalt); }
.bg-yellow    { background-color: var(--yellow);  color: var(--asphalt); }

/* ===== GHOST / BACKGROUND TEXT ===== */
.bg-text {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 28rem);
  line-height: 1;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* ===== LIVE INDICATOR ===== */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse-dot 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

/* ===== FORM ELEMENTS ===== */
.input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  background: var(--cream);
  color: var(--asphalt);
  border: 2.5px solid var(--asphalt);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.input::placeholder { color: var(--asphalt); opacity: 0.3; }
.input:focus {
  border-color: var(--violet);
  box-shadow: 4px 4px 0 var(--violet);
}
.input-group { display: flex; gap: 0; }
.input-group .input { flex: 1; }
.input-group .btn   { flex-shrink: 0; }

textarea.input { resize: vertical; min-height: 140px; }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.35s; }

/* ===== ROAD DIVIDER ===== */
.road-divider {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--yellow) 0, var(--yellow) 60px,
    var(--asphalt) 60px, var(--asphalt) 120px
  );
}

/* ===== FOOTER ===== */
.footer {
  background: var(--asphalt);
  color: var(--cream);
  padding: 5rem 2rem 2.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 1.25rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-col-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.35;
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links a {
  font-size: 0.875rem;
  opacity: 0.55;
  transition: var(--transition);
}
.footer-links a:hover { opacity: 1; color: var(--acid); }
.footer-bottom {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  opacity: 0.3;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ===== LEGAL PAGE ===== */
.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 2.5rem 0 0.75rem;
  letter-spacing: -0.02em;
}
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
}
.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  opacity: 0.8;
}
.legal-content ul {
  margin: 0.5rem 0 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.legal-content ul li {
  line-height: 1.65;
  opacity: 0.8;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.35;
  animation: scroll-bob 2.2s ease-in-out infinite;
}
@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* ===== WHEEL SVG WRAPPER ===== */
.wheel-graphic { color: currentColor; }
.wheel-spin { animation: spin-slow 12s linear infinite; }

/* ===== TAG / PILL ===== */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border: 2px solid currentColor;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 100px;
}

/* ===== FEATURE CARD ===== */
.feature-cell {
  padding: 2.5rem 3rem;
  position: relative;
  overflow: hidden;
}

/* ===== FAQ ITEM ===== */
.faq-item {
  border-top: 2px solid currentColor;
  padding: 1.5rem 0;
}
.faq-item:last-child { border-bottom: 2px solid currentColor; }
.faq-q {
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-a {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.7;
  max-width: 700px;
}

/* ===== PAGE HERO (for inner pages) ===== */
.page-hero {
  min-height: 56vh;
  padding: 10rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .input-group { flex-direction: column; }
  .feature-cell { padding: 2rem; }

  /* Collapse 2-col grids to single column on tablet/mobile */
  section [style*="grid-template-columns: 1fr 1fr"],
  section [style*="grid-template-columns: 1fr 1.5fr"],
  section [style*="grid-template-columns: 1fr 2fr"],
  section [style*="grid-template-columns: 1fr 2.5fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Collapse early-access split layout */
  section[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Answer grid on homepage */
  section [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Remove sticky positioning on mobile */
  [style*="position: sticky"] {
    position: static !important;
  }

  /* Remove right border on single-column answer cells */
  section [style*="border-right: 2.5px solid var(--asphalt)"] {
    border-right: none !important;
    border-bottom: 2.5px solid var(--asphalt);
  }

  /* Hero badge positioning on small screens */
  .sticker[style*="top: 12%; right: 5%"] {
    width: 100px !important;
    height: 100px !important;
    right: 1rem !important;
  }
  .sticker[style*="top: 22%; left: 3.5%"] {
    display: none;
  }
  .sticker[style*="top: 52%; right: 8%"] {
    display: none;
  }
}

@media (max-width: 540px) {
  .container, .container-wide, .container-narrow { padding: 0 1.25rem; }
  .page-hero { padding: 8rem 1.25rem 3.5rem; }
  .btn-lg { padding: 1rem 1.75rem; }

  /* Early access page: stack vertically */
  section[style*="display: grid; grid-template-columns: 1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
  }
}
