/* ============================================================
   YurUp styles.css
   Dark neon. Mobile-first. No light mode.
   ============================================================ */

:root {
  --lime: #D7FF5A;
  --purple: #8A2BE2;
  --purple-light: #B06AFF;
  --dark: #1A1A1B;
  --mid: #2C2C2E;
  --soft: #3A3A3C;
  --text: #E8E8E8;
  --muted: #888888;
  --white: #FFFFFF;

  --maxw: 1140px;
  --radius: 16px;
  --glow-lime: 0 0 28px rgba(215, 255, 90, 0.35);
  --glow-purple: 0 0 28px rgba(138, 43, 226, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--dark);
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.05; }

.lime { color: var(--lime); }
.purple-light { color: var(--purple-light); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: 760px; }

/* ---------- Eyebrows / headings ---------- */
.eyebrow {
  font-family: "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--purple-light);
  margin: 0 0 14px;
}

.section { padding: 86px 0; }

.section__title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: 0.01em;
  margin-bottom: 38px;
  color: var(--white);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn--sm { padding: 9px 18px; font-size: 0.9rem; }

.btn--lime {
  background: var(--lime);
  color: #14210a;
  box-shadow: var(--glow-lime);
}
.btn--lime:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(215, 255, 90, 0.55); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--soft);
}
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 26, 27, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--soft);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}
.nav__brand img { height: 52px; width: auto; }
.nav__links {
  display: none;
  gap: 28px;
  margin-left: auto;
  font-weight: 500;
}
.nav__links a { color: var(--text); transition: color 0.15s; }
.nav__links a:hover { color: var(--lime); }
.nav__cta { display: none; }

.nav__burger {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--soft);
  border-radius: 10px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 20px;
  border-bottom: 1px solid var(--soft);
  background: var(--dark);
}
.nav__mobile[hidden] { display: none; }
.nav__mobile a { padding: 12px 4px; font-weight: 500; font-size: 1.05rem; }
.nav__mobile .btn { margin-top: 8px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 54px 0 40px; position: relative; overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }
.hero__house {
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  width: min(620px, 66%);
  height: auto;
  z-index: 0;
  opacity: 0.13;
  filter: drop-shadow(0 0 7px rgba(215, 255, 90, 0.75));
  pointer-events: none;
  animation: housePulse 6s ease-in-out infinite;
}
@keyframes housePulse {
  0%, 100% { opacity: 0.09; }
  50% { opacity: 0.17; }
}
.hero__grid {
  display: grid;
  gap: 42px;
  align-items: center;
}
.hero__logo { width: 180px; height: auto; margin-bottom: 22px; }
.hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 11vw, 5rem);
  letter-spacing: 0.01em;
  color: var(--white);
}
.hero__sub {
  font-size: 1.12rem;
  color: var(--text);
  max-width: 520px;
  margin: 20px 0 28px;
}
.hero__micro {
  font-family: "DM Mono", monospace;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 16px;
}

/* device frame */
.hero__device { position: relative; display: flex; justify-content: center; }
.device {
  position: relative;
  width: 290px;
  max-width: 78vw;
  background: #000;
  border: 10px solid #0c0c0d;
  border-radius: 42px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), var(--glow-purple);
  overflow: hidden;
  z-index: 2;
}
.device img { width: 100%; display: block; }
.device__notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 22px;
  background: #0c0c0d;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
.device__glow {
  position: absolute;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(138,43,226,0.4), transparent 65%);
  filter: blur(30px);
  z-index: 1;
}

/* ============================================================
   STORE BADGES
   ============================================================ */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badges--center { justify-content: center; }
.store-badge {
  display: inline-block;
  border-radius: 8px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.store-badge svg { height: 52px; width: auto; display: block; border-radius: 8px; }
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--glow-lime); }
.store-badge[data-store="play"].is-pending { opacity: 0.55; cursor: not-allowed; }
.store-badge[data-store="play"].is-pending:hover { transform: none; box-shadow: none; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { border-top: 1px solid var(--soft); border-bottom: 1px solid var(--soft); padding: 22px 0; background: var(--mid); }
.trust__row { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: center; }
.trust__chip {
  font-family: "DM Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 8px 16px;
  border: 1px solid var(--soft);
  border-radius: 999px;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.grid { display: grid; gap: 18px; }
.grid--features { grid-template-columns: 1fr; }

.card {
  background: var(--mid);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--purple-light); box-shadow: var(--glow-purple); }
.card__icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 8px;
}
.card p { color: var(--text); font-size: 0.98rem; }
.card--court { border-color: var(--lime); }
.card--court:hover { box-shadow: var(--glow-lime); border-color: var(--lime); }

/* ============================================================
   COURT SPOTLIGHT
   ============================================================ */
.court {
  background: linear-gradient(135deg, rgba(138,43,226,0.18), rgba(215,255,90,0.06));
  border-top: 1px solid var(--soft);
  border-bottom: 1px solid var(--soft);
  padding: 86px 0;
}
.court__grid { display: grid; gap: 42px; align-items: center; }
.court__title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.8rem, 8vw, 4.4rem);
  color: var(--white);
  margin-bottom: 20px;
}
.court__body { font-size: 1.12rem; max-width: 520px; margin-bottom: 28px; }

.court__art { display: flex; align-items: center; justify-content: center; }
.verdict {
  width: 100%;
  max-width: 420px;
  background: var(--mid);
  border: 1px solid var(--soft);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.verdict__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--soft);
}
.verdict__gavel { font-size: 2.6rem; line-height: 1; filter: drop-shadow(0 0 18px rgba(215,255,90,0.5)); }
.verdict__label { display: block; font-family: "DM Mono", monospace; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.62rem; color: var(--muted); }
.verdict__result { display: block; font-family: "Bebas Neue", sans-serif; font-size: 2.6rem; line-height: 1; color: var(--lime); }
.verdict__sub { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 4px; }

.poll__title { font-family: "DM Mono", monospace; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.66rem; color: var(--purple-light); margin: 0 0 14px; }
.poll__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.poll__row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; margin-bottom: 6px; color: var(--text); }
.poll__pct { color: var(--muted); font-family: "DM Mono", monospace; font-size: 0.72rem; white-space: nowrap; }
.poll__bar { height: 8px; background: var(--dark); border-radius: 999px; overflow: hidden; }
.poll__bar span { display: block; height: 100%; width: 0; background: var(--soft); border-radius: 999px; }
.poll__check { color: var(--lime); }
.poll__opt--won .poll__row { color: var(--white); font-weight: 600; }
.poll__opt--won .poll__pct { color: var(--lime); }
.poll__opt--won .poll__bar span { background: var(--lime); box-shadow: 0 0 14px rgba(215,255,90,0.55); }
.poll__winner { margin: 18px 0 0; font-family: "Bebas Neue", sans-serif; letter-spacing: 0.04em; font-size: 1.2rem; color: var(--lime); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.step {
  background: var(--mid);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.step__num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--lime);
  color: #14210a;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.step h3 { font-family: "Bebas Neue", sans-serif; font-size: 1.6rem; color: var(--white); margin-bottom: 6px; }
.step p { color: var(--muted); }

/* ============================================================
   TIDY CALLOUT
   ============================================================ */
.tidy { padding: 64px 0; text-align: center; }
.tidy__line {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--text);
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.1;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing__note { color: var(--muted); margin: -22px 0 26px; }

.billing-toggle {
  display: inline-flex;
  background: var(--mid);
  border: 1px solid var(--soft);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 34px;
}
.billing-toggle__btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.billing-toggle__btn.is-active { background: var(--lime); color: #14210a; }
.billing-toggle__btn .save { font-family: "DM Mono", monospace; font-size: 0.62rem; display: block; }

.grid--pricing { grid-template-columns: 1fr; }
.plan {
  background: var(--mid);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}
.plan--featured { border-color: var(--lime); box-shadow: var(--glow-lime); }
.plan__badge {
  position: absolute;
  top: -13px; left: 26px;
  background: var(--lime);
  color: #14210a;
  font-family: "DM Mono", monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan__name { font-family: "Bebas Neue", sans-serif; font-size: 2rem; color: var(--white); }
.plan__price { margin: 6px 0 2px; }
.plan__amount { font-family: "Bebas Neue", sans-serif; font-size: 3rem; color: var(--lime); }
.plan__cadence { color: var(--muted); font-size: 1rem; }
.plan__period { color: var(--muted); font-size: 0.85rem; margin: 0 0 20px; min-height: 20px; }
.plan__trial { color: var(--purple-light); font-family: "DM Mono", monospace; font-size: 0.72rem; letter-spacing: 0.04em; }
.plan .btn { width: 100%; margin-bottom: 22px; }
.plan__feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.plan__feats li { padding-left: 26px; position: relative; font-size: 0.95rem; }
.plan__feats li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(-45deg);
}
.plan__feats strong { color: var(--lime); font-weight: 700; }
.pricing__fineprint { color: var(--muted); font-size: 0.8rem; margin-top: 24px; text-align: center; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--mid); border: 1px solid var(--soft); border-radius: 12px; overflow: hidden; }
.faq__q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 20px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq__icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--lime);
  left: 50%; top: 50%;
}
.faq__icon::before { width: 16px; height: 2px; transform: translate(-50%, -50%); }
.faq__icon::after { width: 2px; height: 16px; transform: translate(-50%, -50%); transition: transform 0.2s; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq__a p { padding: 0 22px 20px; margin: 0; color: var(--text); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.finalcta { padding: 90px 0; text-align: center; background: linear-gradient(180deg, transparent, rgba(138,43,226,0.12)); }
.finalcta__inner h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.4rem, 7vw, 4rem);
  color: var(--white);
  margin-bottom: 12px;
}
.finalcta__inner p { color: var(--muted); margin-bottom: 28px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--soft); padding: 56px 0 30px; background: var(--mid); }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 34px; }
.footer__brand img { height: 64px; width: auto; margin-bottom: 12px; }
.footer__brand p { color: var(--muted); max-width: 260px; }
.footer__col h4 { font-family: "DM Mono", monospace; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.74rem; color: var(--muted); margin-bottom: 14px; }
.footer__col a { display: block; padding: 6px 0; color: var(--text); transition: color 0.15s; }
.footer__col a:hover { color: var(--lime); }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--soft); color: var(--muted); font-size: 0.82rem; }

/* ============================================================
   STICKY MOBILE DOWNLOAD BAR
   ============================================================ */
.dlbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  background: rgba(26,26,27,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--soft);
  transform: translateY(120%);
  transition: transform 0.3s ease;
}
.dlbar[hidden] { display: none; }
.dlbar.is-visible { transform: translateY(0); }
.dlbar__text { font-family: "DM Mono", monospace; font-size: 0.82rem; color: var(--text); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 720px) {
  .grid--features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (min-width: 920px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
  .nav__mobile { display: none !important; }

  .hero__grid { grid-template-columns: 1.1fr 0.9fr; }

  .court__grid { grid-template-columns: 1fr 1fr; }
  .grid--features { grid-template-columns: repeat(3, 1fr); }
  .grid--pricing { grid-template-columns: repeat(3, 1fr); }

  .dlbar { display: none !important; } /* mobile only */
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .btn:hover, .card:hover, .store-badge:hover { transform: none; }
}

/* ============================================================
   ROOMMATES & COLLEGE SUCCESS (problem + research section)
   ============================================================ */
.rs p { color: var(--text); }
.rs__hook p { font-size: 1.12rem; }
.rs__lead { color: var(--white); font-weight: 600; margin: 6px 0 0; }
.stats { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 22px 0 26px; }
.stat { background: var(--mid); border: 1px solid var(--soft); border-radius: var(--radius); padding: 22px; }
.stat__num { display: block; font-family: "Bebas Neue", sans-serif; font-size: 3rem; line-height: 1; color: var(--lime); }
.stat__label { display: block; color: var(--text); font-size: 0.95rem; margin-top: 8px; }
.stat__src { display: block; margin-top: 12px; font-family: "DM Mono", monospace; font-size: 0.64rem; letter-spacing: 0.04em; color: var(--muted); }
.rs__sub { font-family: "Bebas Neue", sans-serif; font-size: clamp(1.8rem, 4.6vw, 2.6rem); color: var(--white); margin: 42px 0 12px; }
.benefits { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.benefits li { position: relative; padding-left: 30px; color: var(--text); }
.benefits li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(-45deg); }
.benefits strong { color: var(--white); font-weight: 700; }
.rs__ctaline { color: var(--muted); margin: 0 0 20px; }
.sources { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--soft); }
.sources h3 { font-family: "DM Mono", monospace; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; color: var(--muted); margin: 0 0 12px; }
.sources p { margin: 0 0 10px; font-size: 0.9rem; }
.sources a { color: var(--purple-light); }
.sources a:hover { text-decoration: underline; }
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
}
