/* DaytoBet FB promo — brand tokens aligned with official landing.css */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-dark: #0f0f12;
  --bg-sidebar: #0a0a0d;
  --bg-card: #18181c;
  --bg-card-hover: #1f1f24;
  --bg-elevated: #222228;
  --accent-blue: #3b8cf8;
  --accent-green: #22c55e;
  --accent-red: #ef4444;
  --text-primary: #f4f4f8;
  --text-secondary: #9494a8;
  --text-muted: #5c5c6e;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 8px 32px rgba(0, 0, 0, 0.4);
  --gradient-brand: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --header-h: 64px;
  --max: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  padding: 0 20px;
  background: rgba(10, 10, 13, 0.88);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.35px;
}

.brand-title .accent,
.hero-brand-name .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.header-nav a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  padding: 10px 20px;
  box-shadow: 0 2px 16px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  padding: 10px 18px;
  border: 1px solid #9e9e9e;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 12px;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 20px 56px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(99, 102, 241, 0.2), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 70%, rgba(59, 140, 248, 0.08), transparent 50%),
    var(--bg-dark);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero-brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.hero-brand-lockup img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.hero-brand-name {
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.hero-headline {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 14px;
  max-width: 22ch;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 38ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Market mock visual */
.hero-visual {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}

.market-mock {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
  animation: floatY 6s ease-in-out infinite;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.market-mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.market-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-blue);
  background: rgba(59, 140, 248, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
}

.market-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-green);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.market-mock-title {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 10px;
}

.market-mock-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.odds-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.odds-row {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 10px;
}

.odds-label {
  font-size: 12px;
  font-weight: 700;
}

.odds-label.yes {
  color: #4ade80;
}

.odds-label.no {
  color: #f87171;
}

.odds-track {
  height: 8px;
  background: var(--bg-elevated);
  border-radius: 999px;
  overflow: hidden;
}

.odds-fill {
  height: 100%;
  width: var(--w);
  border-radius: 999px;
  animation: growBar 1.2s ease-out both;
}

.odds-fill.yes {
  background: linear-gradient(90deg, #16a34a, #4ade80);
}

.odds-fill.no {
  background: linear-gradient(90deg, #dc2626, #f87171);
}

@keyframes growBar {
  from {
    width: 0;
  }
  to {
    width: var(--w);
  }
}

.odds-pct {
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  color: var(--text-secondary);
}

.market-mock-btns {
  display: flex;
  gap: 10px;
}

.btn-yes,
.btn-no {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  letter-spacing: 0.01em;
}

.btn-yes {
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.06));
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.btn-no {
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.06));
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.28);
}

/* —— Stats —— */
.stats {
  padding: 0 20px 48px;
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 16px;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* —— Sections —— */
.section {
  padding: 72px 20px;
}

.section-alt {
  background: var(--bg-sidebar);
  border-block: 1px solid var(--border);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-inner-narrow {
  max-width: 720px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.section-sub {
  color: var(--text-secondary);
  max-width: 42ch;
  margin: 0 auto;
  font-size: 1.02rem;
}

/* Steps */
.steps {
  display: grid;
  gap: 20px;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: border-color 0.2s, background 0.2s;
}

.step:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  background: var(--gradient-brand);
  color: #fff;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 650;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Features */
.features-grid {
  display: grid;
  gap: 16px;
}

.feature {
  padding: 24px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s, transform 0.2s;
}

.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.12);
  color: #a78bfa;
  margin-bottom: 14px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.feature p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.faq-trigger:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: var(--text-primary);
}

.faq-panel {
  padding: 0 18px 18px;
}

.faq-panel[hidden] {
  display: none;
}

.faq-panel p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Final CTA */
.final-cta {
  padding: 80px 20px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(99, 102, 241, 0.16), transparent 55%),
    var(--bg-dark);
}

.final-cta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.final-cta p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  padding: 40px 20px 48px;
  border-top: 1px solid var(--border);
  background: var(--bg-sidebar);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.55;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* —— Reveal motion —— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* —— Desktop —— */
@media (min-width: 768px) {
  .site-header {
    padding: 0 32px;
  }

  .header-nav {
    display: flex;
  }

  .hero {
    padding: calc(var(--header-h) + 48px) 32px 72px;
  }

  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }

  .hero-visual {
    margin-inline: 0;
    justify-self: end;
  }

  .stats {
    padding: 8px 32px 56px;
  }

  .stats-inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .section {
    padding: 88px 32px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-headline {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .market-mock,
  .pulse,
  .odds-fill {
    animation: none;
  }
}
