/* ============================================================
   HOME.CSS — Corey's Pickems / Sports Analytics LLC
   Homepage-specific styles only.
   Requires global.css to be loaded first.
   ============================================================ */

/* ── Hero section ────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 40px 60px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: 68px;
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 460px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-tertiary);
}

.hero-trust .check-green { color: var(--accent); }

/* ── Live lines card (hero right side) ───────────────────────────────────── */
.live-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.lc-header {
  padding: 14px 18px;
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lc-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.live-dot {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--danger);
  font-family: var(--font-mono);
}

.live-dot .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--danger);
}

.game-row {
  padding: 14px 18px;
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s;
  cursor: default;
}

.game-row:hover { background: var(--bg); }
.game-row:last-child { border-bottom: none; }

.game-teams { flex: 1; }

.team-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0;
}

.team-name {
  font-size: 13px;
  font-weight: 500;
  min-width: 80px;
  color: var(--text-primary);
}

.team-score {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 16px;
}

.spread-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  min-width: 52px;
  text-align: center;
}

.spread-pos  { background: #EAF3DE; color: #3B6D11; }
.spread-neg  { background: var(--danger-light); color: var(--danger-dark); }
.spread-hot  { background: var(--accent-light); color: var(--accent-dark); font-weight: 500; }

.game-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-tertiary);
  text-align: right;
  min-width: 44px;
}

.rec-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── Sports strip ────────────────────────────────────────────────────────── */
.sports-strip {
  padding: 0 40px;
  max-width: 1100px;
  margin: 0 auto 60px;
}

.sports-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.sports-scroll::-webkit-scrollbar { display: none; }

/* ── Features section ────────────────────────────────────────────────────── */
.features {
  padding: 60px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feat-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
}

.feat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 16px;
}

.feat-icon.teal  { background: var(--accent-light); }
.feat-icon.amber { background: var(--warning-light); }
.feat-icon.blue  { background: var(--info-light); }

.feat-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feat-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── Pricing section ─────────────────────────────────────────────────────── */
.pricing {
  padding: 60px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.price-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}

.price-card.featured {
  border: 2px solid var(--accent);
}

.pop-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  padding: 3px 14px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  white-space: nowrap;
}

.price-tier {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.price-period {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 20px;
}

.price-features {
  list-style: none;
  margin-bottom: 24px;
}

.price-features li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.check { color: var(--accent); font-size: 14px; }
.cross { color: var(--text-tertiary); font-size: 14px; }

.btn-plan {
  width: 100%;
  padding: 11px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
}

.btn-plan-ghost {
  background: transparent;
  border: 0.5px solid var(--border-strong);
  color: var(--text-primary);
}
.btn-plan-ghost:hover { background: var(--surface-raised); }

.btn-plan-solid {
  background: var(--accent);
  border: none;
  color: #fff;
}
.btn-plan-solid:hover { opacity: 0.88; }

/* ── CTA bar ─────────────────────────────────────────────────────────────── */
.cta-bar {
  background: var(--surface);
  border-top: 0.5px solid var(--border);
  padding: 48px 40px;
  text-align: center;
}

.cta-h2 {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.cta-sub {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 32px;
  }

  .hero-h1 { font-size: 48px; }

  .feat-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .sports-strip { padding: 0 20px; }
  .features,
  .pricing      { padding: 40px 20px; }
  .cta-bar      { padding: 40px 20px; }
}

/* ── Scores ticker banner (homepage) ─────────────────────────────────────── */
.scores-ticker-banner {
  display: flex;
  align-items: center;
  background: var(--surface);
  border-bottom: 0.5px solid var(--border);
  height: 48px;
  overflow: hidden;
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
}

.stb-sport-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  white-space: nowrap;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
  height: 100%;
}

.stb-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-tertiary);
  flex-shrink: 0;
  transition: background 0.3s;
}

.stb-divider {
  width: 1px;
  height: 60%;
  background: var(--border);
  flex-shrink: 0;
}

.stb-wrapper {
  flex: 1;
  overflow: hidden;
  height: 100%;
  position: relative;
}

.stb-track {
  display: flex;
  align-items: center;
  height: 100%;
  will-change: transform;
  white-space: nowrap;
}

.stb-loading {
  padding: 0 16px;
  font-size: 12px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

.stb-game {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  height: 100%;
  flex-shrink: 0;
}

.stb-game.stb-live { background: var(--accent-light); }
.stb-final { opacity: 0.7; }

.stb-matchup { display: flex; flex-direction: column; gap: 2px; }

.stb-team-row {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--text-secondary);
}

.stb-team-row.stb-winning { color: var(--text-primary); font-weight: 700; }
.stb-abbr  { font-family: var(--font-mono); font-size: 11px; min-width: 28px; }
.stb-score { font-family: var(--font-mono); font-size: 12px; font-weight: 700; }

.stb-status {
  font-family: var(--font-mono); font-size: 9px;
  color: var(--text-tertiary); text-transform: uppercase;
  letter-spacing: 0.5px; min-width: 24px; text-align: center;
}

.stb-status.stb-status-live { color: var(--accent); font-weight: 700; }
.stb-sep { color: var(--border); font-size: 16px; padding: 0 4px; flex-shrink: 0; }

/* Sport select inside ticker */
.scores-sport-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 8px;
  flex-shrink: 0;
}

.scores-sport-select {
  appearance: none;
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  cursor: pointer;
  padding-right: 14px;
  outline: none;
}

.scores-select-arrow {
  position: absolute;
  right: 8px;
  font-size: 10px;
  color: var(--text-tertiary);
  pointer-events: none;
}

/* ── Home chips bar ──────────────────────────────────────────────────────── */
.home-chips-bar {
  background: var(--surface);
  border-bottom: 0.5px solid var(--border);
  padding: 0 24px;
  height: 44px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: sticky;
  top: calc(var(--nav-height) + 48px);
  z-index: 89;
}

.home-chips-bar::-webkit-scrollbar { display: none; }

.home-chips-bar .sport-chip {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .scores-ticker-banner { height: 44px; }
  .home-chips-bar { padding: 0 16px; height: 40px; }
  .stb-sport-label { padding: 0 8px; font-size: 9px; }
}
