/* ============================================================
   LottoIQ — Homepage
   Built on tokens.css + site-nav.css.
   ============================================================ */

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 72px 24px 40px;
}
.hero .eyebrow {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  text-align: center !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 auto 22px;
  max-width: 780px;
}
.hero p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 32px;
}
.hero .buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  display: inline-block;
  cursor: pointer;
}
.btn-solid { background: var(--gold); color: var(--navy); border: 1px solid var(--gold); }
.btn-solid:hover { background: var(--gold-dim); }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold-bd); }
.btn-outline:hover { border-color: var(--gold); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Heatmap card ---------- */
.heatmap-card {
  max-width: 460px;
  margin: 0 auto 64px;
  background: var(--navy-2);
  border: 1px solid var(--navy-4);
  border-radius: var(--radius-lg);
  padding: 20px 22px 16px;
}
.heatmap-card h2 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  margin: 0 0 4px;
}
.heatmap-card .sub {
  color: var(--text-dim);
  font-size: 0.7rem;
  margin: 0 0 14px;
}
.heatmap-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
.heatmap-grid .n {
  aspect-ratio: 1.5 / 1;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text);
}
.heat-1 { background: var(--navy-4); }
.heat-2 { background: #2A6B5A; }
.heat-3 { background: #3F8F63; }
.heat-4 { background: var(--cold-clr); }
.heat-5 { background: var(--hot); color: var(--navy); }
.heatmap-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 4px;
  font-size: 0.72rem;
  color: var(--text-dim);
}
.heatmap-legend .dots { display: flex; gap: 4px; }
.heatmap-legend .dot { width: 10px; height: 10px; border-radius: 50%; }
.heatmap-caption {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.72rem;
  margin-top: 10px;
}

/* ---------- Data Insights ---------- */
.section-label {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 32px;
}
.insight-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto 72px;
}
.insight-card {
  background: var(--navy-2);
  border: 1px solid var(--navy-4);
  border-radius: var(--radius);
  padding: 24px;
}
.insight-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--navy-4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 16px;
}
.insight-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 8px;
}
.insight-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Insider upgrade strip ---------- */
.upgrade-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: var(--navy-2);
  border: 1px solid var(--gold-bd);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin: 0 0 72px;
}
.upgrade-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  margin: 0 0 8px;
}
.upgrade-strip p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
  max-width: 460px;
}
.upgrade-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.upgrade-link {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 1px solid var(--gold-bd);
}
.upgrade-link:hover { border-bottom-color: var(--gold); }

@media (max-width: 640px) {
  .upgrade-strip { padding: 28px 24px; }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 32px 24px;
  border-top: 1px solid var(--navy-3);
  border-bottom: 1px solid var(--navy-3);
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* ---------- Tracked Lotteries ---------- */
.section-heading {
  text-align: center;
  padding: 64px 24px 8px;
}
.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  margin: 0 0 12px;
}
.section-heading p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.6;
}
.game-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 40px auto 72px;
  padding: 0 24px;
}
.game-card {
  background: var(--navy);
  border: 1px solid var(--navy-4);
  border-radius: var(--radius);
  padding: 20px;
}
.game-card .badge {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--navy-3);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 14px;
}
.game-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
  margin: 0 0 10px;
}
.game-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 14px;
}
.game-card a {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  border-bottom: 1px solid var(--gold-bd);
}
.game-card a:hover { border-bottom-color: var(--gold); }

/* ---------- Objective Data split ---------- */
.split-section {
  background: var(--navy-2);
  padding: 64px 24px;
}
.split-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  margin: 0 0 16px;
}
.split-inner p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}
.split-inner .shot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--navy-4);
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
}
.ticker-track {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-scroll 30s linear infinite;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; padding-left: 0; }
}

/* ---------- Pricing ---------- */
.pricing-section { padding: 64px 24px 32px; text-align: center; }
.pricing-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 10px;
}
.pricing-section > p {
  color: var(--text-muted);
  margin: 0 0 36px;
}
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.pricing-tabs .on { color: var(--gold); }
.pricing-note {
  color: var(--gold-dim);
  font-size: 0.8rem;
  margin-bottom: 36px;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: left;
}
.price-card {
  background: var(--navy-2);
  border: 1px solid var(--navy-4);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--gold);
  background: var(--navy);
  position: relative;
}
.price-card .best-value {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: 4px;
}
.price-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 8px;
}
.price-card .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  margin: 0 0 4px;
}
.price-card .period {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin: 0 0 4px;
}
.price-card .save {
  color: var(--gold-dim);
  font-size: 0.82rem;
  margin: 0 0 16px;
}
.price-card .blurb {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 18px;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}
.price-card li {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
}
.price-card li::before {
  content: "•";
  color: var(--gold);
  position: absolute;
  left: 0;
}

.trust-line {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.78rem;
  padding: 8px 24px 48px;
}

@media (max-width: 900px) {
  .insight-cards, .game-cards, .pricing-cards { grid-template-columns: 1fr; }
  .split-inner { grid-template-columns: 1fr; }
}
