/* ===========================================================
   ColdBet Partners — shared stylesheet
   =========================================================== */

:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --border: #dde3f0;
  --accent: #185FA5;
  --accent-light: #378ADD;
  --accent-bg: #E6F1FB;
  --text: #0d1117;
  --text-muted: #5a6a8a;
  --text-hint: #9aa5bc;
  --shadow: rgba(13,17,39,.06);
  --shadow-lg: rgba(13,17,39,.12);
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-light); }

h1, h2, h3 { color: var(--text); margin: 0; }

h1 { font-size: 2.6rem; font-weight: 700; line-height: 1.15; }
h2 { font-size: 1.85rem; font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.1rem; font-weight: 600; }

.muted { color: var(--text-muted); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  transition: background .18s ease, color .18s ease, transform .12s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  padding: 11px 24px;
}
.btn--primary:hover { background: var(--accent-light); color: #fff; }
.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 9.5px 22.5px;
}
.btn--outline:hover { background: var(--accent); color: #fff; }
.btn--sm { padding: 7px 16px; font-size: .82rem; }
.btn--lg { padding: 14px 32px; font-size: 1rem; }
.btn:active { transform: scale(0.98); }

/* ===================== Cards ===================== */
.card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 2px var(--shadow);
}

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 6px 0;
  position: relative;
}
.main-nav a.active { color: var(--accent); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px var(--shadow-lg);
  z-index: 99;
  padding: 12px 24px 20px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--surface-2);
}
.mobile-menu .btn { width: 100%; margin-top: 12px; }

/* ===================== Mobile fixed CTA bar ===================== */
.mob-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px var(--shadow);
}
.mob-cta .btn { width: 100%; }

/* ===================== Hero ===================== */
.hero { padding: 56px 0 64px; }
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-bg);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 { margin-bottom: 18px; }
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 540px;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.hero-bullets { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
}
.hero-bullets svg { flex-shrink: 0; margin-top: 2px; }

/* ===================== Stats bar ===================== */
.stats-bar {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item { text-align: center; }
.stat-num { font-size: 1.75rem; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.stat-label { font-size: 0.82rem; color: var(--text-muted); }

/* ===================== Content sections w/ image ===================== */
.split-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-section.img-right .img-col { order: 2; }
.split-section.img-right .text-col { order: 1; }
.split-section .img-col img {
  border-radius: 16px;
  box-shadow: 0 12px 32px var(--shadow-lg);
  width: 100%;
}
.section-eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.text-col h2 { margin-bottom: 16px; }
.text-col p { margin: 0 0 14px; color: var(--text-muted); }
.text-col p:last-child { margin-bottom: 0; }
.text-col ul, .text-col ol { color: var(--text-muted); padding-left: 22px; margin: 14px 0; }
.text-col li { margin-bottom: 8px; }

.no-image-section .section-inner { max-width: 760px; }
.no-image-section.center .section-inner { margin: 0 auto; text-align: center; }
.no-image-section p { color: var(--text-muted); margin: 0 0 14px; }
.no-image-section h2 { margin-bottom: 16px; }

/* ===================== Tables ===================== */
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--border); }
table.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 0.9rem;
}
table.data-table th, table.data-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
table.data-table th {
  background: var(--accent-bg);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
table.data-table tr:last-child td { border-bottom: none; }
table.data-table td { color: var(--text-muted); }

/* ===================== Steps (numbered) ===================== */
.steps-list {
  position: relative;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.steps-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.step-text { color: var(--text-muted); padding-top: 8px; }
.step-text strong { color: var(--text); }

/* ===================== Dark CTA block ===================== */
.cta-dark {
  background: #0d1117;
  border-radius: 20px;
  padding: 56px;
  text-align: center;
  color: #fff;
}
.cta-dark h2 { color: #fff; margin-bottom: 16px; }
.cta-dark p { color: #aab4cc; max-width: 640px; margin: 0 auto 28px; }
.cta-dark .hero-cta-row { justify-content: center; }
.cta-dark .btn--outline { border-color: #fff; color: #fff; }
.cta-dark .btn--outline:hover { background: #fff; color: #0d1117; }

/* ===================== FAQ Accordion ===================== */
.faq-list { max-width: 820px; margin: 32px auto 0; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 400;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer {
  padding: 0 22px 20px;
  color: var(--text-muted);
}

/* ===================== Footer ===================== */
.site-footer {
  background: #0d1117;
  color: #aab4cc;
  padding: 56px 0 28px;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-grid img { height: 34px; margin-bottom: 14px; }
.footer-grid p { color: #6b7794; margin: 0; }
.footer-col h3 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #aab4cc; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #1a2233;
  display: flex; align-items: center; justify-content: center;
}
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid #1a2233;
  padding-top: 24px;
  font-size: 0.8rem;
  color: #6b7794;
  text-align: center;
  line-height: 1.6;
}
.footer-bottom a { color: #8a96b8; }

/* ===================== Calculator widget (index hero) ===================== */
.calc-card { padding: 28px; }
.calc-field { margin-bottom: 22px; }
.calc-field label {
  display: flex; justify-content: space-between;
  font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 10px;
}
.calc-field label span.val { color: var(--accent); }
.calc-field input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}
.calc-field select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
}
.calc-result {
  background: var(--accent-bg);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  margin-top: 8px;
}
.calc-result .big-num { font-size: 2.1rem; font-weight: 700; color: var(--accent); }
.calc-result .calc-detail { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.calc-disclaimer { font-size: 0.75rem; color: var(--text-hint); text-align: center; margin-top: 14px; }

/* ===================== Register form (register hero) ===================== */
.reg-form-card { padding: 30px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; }
.form-field input, .form-field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
}
.form-field input::placeholder { color: var(--text-hint); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit-note { font-size: 0.78rem; color: var(--text-hint); text-align: center; margin-top: 12px; }
.reg-form-card .btn--primary { width: 100%; margin-top: 6px; }

/* ===================== How-to-join interactive (index) ===================== */
.join-steps { margin-top: 36px; }

/* ===================== App install simulator (app hero) ===================== */
.install-stage { display: flex; justify-content: center; align-items: center; }
.install-card {
  width: 100%;
  max-width: 400px;
  padding: 28px;
}
.install-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.install-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.install-icon img { width: 100%; height: 100%; object-fit: contain; }
.install-meta { min-width: 0; }
.install-name {
  font-size: 0.98rem;
  margin: 0 0 3px;
  line-height: 1.3;
}
.install-sub { font-size: 0.8rem; color: var(--text-muted); }

.install-progress-bar {
  height: 10px;
  background: var(--surface-2);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 10px;
}
.install-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 6px;
  transition: width .12s linear;
}
.install-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.install-progress-label span#installPercent { color: var(--accent); font-weight: 700; }

.install-btn { width: 100%; }
.install-btn:disabled { opacity: 0.75; cursor: default; }

.install-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.install-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s ease, border-color .15s ease;
}
.install-check-item:hover { border-color: var(--accent-light); }
.install-check-box {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: 5px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, border-color .15s ease;
}
.install-check-mark {
  color: #fff;
  font-size: 0.72rem;
  line-height: 1;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity .15s ease, transform .15s ease;
}
.install-check-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.install-check-title { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.install-check-sub { font-size: 0.74rem; color: var(--text-muted); }

.install-check-item.is-checked {
  background: var(--accent-bg);
  border-color: var(--accent-light);
}
.install-check-item.is-checked .install-check-box {
  background: var(--accent);
  border-color: var(--accent);
}
.install-check-item.is-checked .install-check-mark {
  opacity: 1;
  transform: scale(1);
}
.install-check-item.is-checked .install-check-title { color: var(--accent); }

/* ===================== App phone mockup (legacy, unused) ===================== */
.phone-stage { display: flex; flex-direction: column; align-items: center; }
.phone-mockup {
  width: 280px;
  height: 580px;
  background: #0d1117;
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 24px 48px var(--shadow-lg);
  position: relative;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--surface);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 22px;
  background: #0d1117;
  border-radius: 0 0 14px 14px;
  z-index: 5;
}
.phone-content {
  padding: 36px 18px 18px;
  height: 100%;
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
}
.phone-track {
  display: flex;
  height: 100%;
  width: 300%;
  transition: transform .32s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.phone-track.is-dragging { transition: none; }
.phone-screen-panel {
  width: 33.3333%;
  flex-shrink: 0;
  padding-right: 4px;
  box-sizing: border-box;
}

.app-balance { text-align: center; margin-bottom: 18px; }
.app-balance .amount { font-size: 1.9rem; font-weight: 700; color: var(--accent); }
.app-balance .label { font-size: 0.78rem; color: var(--text-muted); }
.app-mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.app-mini-cards .mini-card {
  background: var(--surface-2);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}
.app-mini-cards .mini-card .num { font-weight: 700; font-size: 1.05rem; color: var(--text); }
.app-mini-cards .mini-card .lab { font-size: 0.7rem; color: var(--text-muted); }
.app-progress { margin-bottom: 14px; }
.app-progress .prog-label { display: flex; justify-content: space-between; font-size: 0.74rem; color: var(--text-muted); margin-bottom: 6px; }
.app-progress .prog-bar { height: 7px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.app-progress .prog-fill { height: 100%; background: var(--accent); border-radius: 4px; }

.app-payout-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--surface-2);
  font-size: 0.8rem;
}
.app-payout-row:last-child { border-bottom: none; }
.app-payout-row .method { font-weight: 600; }
.app-payout-row .date { color: var(--text-hint); font-size: 0.7rem; }
.app-payout-row .amount { color: var(--accent); font-weight: 700; }

.app-req-field { margin-bottom: 12px; }
.app-req-field label { font-size: 0.72rem; color: var(--text-muted); display: block; margin-bottom: 5px; }
.app-req-field .fake-input {
  background: var(--surface-2);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.8rem;
  color: var(--text-hint);
}
.app-req-btn {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-weight: 600;
  font-size: 0.82rem;
  margin-top: 6px;
}

.phone-dots { display: flex; gap: 10px; margin-top: 24px; }
.phone-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .18s ease, transform .18s ease;
}
.phone-dot.is-active { background: var(--accent); transform: scale(1.2); }

.screen-desc {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  min-height: 22px;
}

.hero-dots-row { display: flex; align-items: center; gap: 14px; margin-top: 28px; }

/* ===================== Tabs (app download) ===================== */
.tabs-nav { display: flex; gap: 10px; margin-bottom: 24px; }
.tab-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 20px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--text-muted);
}
.tab-btn.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* ===================== Comparison check/x ===================== */
.check-yes { color: var(--accent); font-weight: 700; }
.check-no { color: var(--text-hint); }

/* ===================== Responsive ===================== */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .split-section .container { grid-template-columns: 1fr; gap: 32px; }
  .split-section .img-col,
  .split-section.img-right .img-col { order: -1; }
  .split-section .text-col,
  .split-section.img-right .text-col { order: 0; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  .cta-dark { padding: 40px 24px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .header-actions .btn--outline { display: none; }
  .hamburger { display: flex; }
  body { padding-bottom: 76px; }
  .mob-cta { display: block; }
  section { padding: 48px 0; }
  .hero { padding: 32px 0 40px; }
  .form-row { grid-template-columns: 1fr; }
  .phone-mockup { width: 240px; height: 500px; }
  .install-card { padding: 22px; max-width: 100%; }
  .install-header { gap: 12px; }
  .install-icon { width: 48px; height: 48px; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
}
