/* ============================================================
   Betbook247 — Corporate Professional Design System
   Fonts: Manrope (headings) + Public Sans (body)
   ============================================================ */

:root {
  --primary: #2b6cb0;
  --primary-dark: #215387;
  --primary-light: #ebf3fb;
  --bg-body: #ffffff;
  --bg-section: #edf2f7;
  --bg-dark: #1a202c;
  --bg-dark-2: #232b3a;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-strong: #cbd5e0;
  --text-primary: #1a202c;
  --text-secondary: #718096;
  --text-invert: #f7fafc;
  --accent: #48bb78;
  --accent-dark: #2f855a;
  --danger: #e53e3e;
  --warning: #dd6b20;
  --gold: #f6ad3c;
  --shadow-sm: 0 1px 2px rgba(26, 32, 44, 0.06), 0 1px 3px rgba(26, 32, 44, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(26, 32, 44, 0.08), 0 2px 4px -1px rgba(26, 32, 44, 0.05);
  --shadow-lg: 0 10px 20px -3px rgba(26, 32, 44, 0.10), 0 4px 8px -2px rgba(26, 32, 44, 0.06);
  --radius: 10px;
  --radius-sm: 8px;
  --radius-lg: 14px;
  --maxw: 1180px;
  --font-head: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-body);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 800; line-height: 1.2; color: var(--text-primary); letter-spacing: -0.02em; }
p { margin-bottom: 1rem; }
a { color: var(--primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1rem 1.25rem; }
li { margin-bottom: .4rem; }
strong { font-weight: 700; color: var(--text-primary); }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-dark { background: var(--bg-dark); color: var(--text-invert); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-gray { background: var(--bg-section); }
.section-mid { background: var(--bg-dark-2); color: var(--text-invert); }
.section-mid h2, .section-mid h3 { color: #fff; }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
}
.section-dark .eyebrow, .section-mid .eyebrow { color: #63b3ed; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.section-head p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 0; }
.section-dark .section-head p, .section-mid .section-head p { color: #a0aec0; }
.lead { font-size: 1.12rem; color: var(--text-secondary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: 13px 26px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; transition: all .16s ease; text-align: center; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-light); }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1eb257; color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--text-primary);
  padding: 8px 13px; border-radius: 6px; transition: all .15s ease;
}
.nav-links a:hover { color: var(--primary); background: var(--bg-section); }
.nav-links a.active { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--border); border-radius: 7px; padding: 7px 9px; cursor: pointer; }
.nav-mobile-cta { display: none; }
.nav-mobile-divider { display: none; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text-primary); margin: 4px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { background: var(--bg-dark); color: var(--text-invert); padding: 80px 0 88px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(43,108,176,.16);
  border: 1px solid rgba(99,179,237,.35); color: #90cdf4; font-family: var(--font-head);
  font-weight: 600; font-size: .8rem; padding: 7px 14px; border-radius: 100px; margin-bottom: 22px;
  letter-spacing: .02em;
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 3px rgba(72,187,120,.25); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); color: #fff; margin-bottom: 20px; line-height: 1.08; }
.hero h1 .hl { color: #63b3ed; }
.hero p { color: #cbd5e0; font-size: 1.12rem; max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust .ht { display: flex; flex-direction: column; }
.hero-trust .ht b { font-family: var(--font-head); font-size: 1.5rem; color: #fff; }
.hero-trust .ht span { font-size: .82rem; color: #a0aec0; }

.hero-visual { position: relative; }
.hero-card-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-img-card {
  border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-lg); background: #000;
}
.hero-img-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-img-card.wide { grid-column: 1 / -1; }
.hero-img-card.wide img { height: 120px; }
.hero-img-card.tall img { height: 128px; }

/* ---------- Feature toolbar ---------- */
.feature-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; }
.feature-item { padding: 26px 20px; text-align: center; border-right: 1px solid var(--border); transition: background .15s ease; }
.feature-item:last-child { border-right: none; }
.feature-item:hover { background: var(--bg-section); }
.feature-item .fi-icon { width: 46px; height: 46px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; background: var(--primary-light); border-radius: 12px; color: var(--primary); }
.feature-item .fi-icon svg { width: 24px; height: 24px; }
.feature-item h4 { font-size: 1rem; margin-bottom: 5px; }
.feature-item p { font-size: .84rem; color: var(--text-secondary); margin: 0; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-60-40 { grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: start; }

.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: box-shadow .18s ease, transform .18s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card .c-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--primary-light); color: var(--primary); border-radius: 12px; margin-bottom: 16px; }
.card .c-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--text-secondary); font-size: .95rem; margin-bottom: 0; }

/* ---------- KPI dashboard cards ---------- */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.kpi-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.kpi-card .kpi-label { font-size: .8rem; color: var(--text-secondary); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.kpi-card .kpi-value { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; color: var(--text-primary); line-height: 1; margin-bottom: 8px; }
.kpi-card .kpi-trend { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; font-weight: 600; color: var(--accent-dark); }
.kpi-card .kpi-trend svg { width: 14px; height: 14px; }
.kpi-card .kpi-trend.flat { color: var(--primary); }

/* ---------- Financial data table ---------- */
.data-table-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; }
.data-table-scroll { overflow-x: auto; }
table.data-table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 640px; }
table.data-table thead th {
  background: var(--bg-section); text-align: left; font-family: var(--font-head); font-weight: 700;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-secondary);
  padding: 14px 18px; border-bottom: 1px solid var(--border);
}
table.data-table tbody td { padding: 15px 18px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.data-table tbody tr:last-child td { border-bottom: none; }
table.data-table tbody tr:hover { background: #f7fafc; }
.tbl-game { display: flex; align-items: center; gap: 12px; }
.tbl-game img { width: 52px; height: 40px; object-fit: cover; border-radius: 7px; border: 1px solid var(--border); }
.tbl-game b { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--text-primary); display: block; }
.tbl-game span { font-size: .78rem; color: var(--text-secondary); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 100px; font-size: .74rem; font-weight: 700; font-family: var(--font-head); }
.badge-live { background: #fed7d7; color: #c53030; }
.badge-live .dot { width: 6px; height: 6px; background: #e53e3e; border-radius: 50%; animation: pulse 1.6s infinite; }
.badge-hot { background: #feebc8; color: #c05621; }
.badge-new { background: #c6f6d5; color: #276749; }
.badge-blue { background: var(--primary-light); color: var(--primary-dark); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.cell-num { font-family: var(--font-head); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Tools ---------- */
.tool {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.tool-head { padding: 22px 26px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 14px; background: linear-gradient(180deg,#fafcfe,#fff); }
.tool-head .th-icon { width: 44px; height: 44px; border-radius: 11px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tool-head .th-icon svg { width: 24px; height: 24px; }
.tool-head h3 { font-size: 1.18rem; margin: 0; }
.tool-head p { font-size: .84rem; color: var(--text-secondary); margin: 2px 0 0; }
.tool-body { padding: 26px; }
.tool-tag { margin-left: auto; font-size: .72rem; font-weight: 700; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em; color: var(--primary); background: var(--primary-light); padding: 5px 11px; border-radius: 6px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .84rem; color: var(--text-primary); margin-bottom: 7px; }
.field .hint { font-weight: 400; color: var(--text-secondary); font-size: .78rem; }
.input, .field input, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .95rem; color: var(--text-primary); background: #fff; transition: border .15s, box-shadow .15s;
}
.input:focus, .field input:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(43,108,176,.14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

.tool-result { margin-top: 20px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-section); }
.tool-result.hidden { display: none; }
.tool-result.win { background: #f0fff4; border-color: #9ae6b4; }
.tool-result.lose { background: #fff5f5; border-color: #feb2b2; }
.result-headline { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; margin-bottom: 6px; }
.result-sub { color: var(--text-secondary); font-size: .9rem; margin-bottom: 14px; }
.result-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.result-metric { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 13px; text-align: center; }
.result-metric b { display: block; font-family: var(--font-head); font-size: 1.35rem; color: var(--primary); font-variant-numeric: tabular-nums; }
.result-metric span { font-size: .74rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .04em; }

/* RPS */
.rps-arena { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin-bottom: 22px; }
.rps-hand { text-align: center; }
.rps-hand .rps-glyph { width: 92px; height: 92px; margin: 0 auto 10px; border-radius: 50%; background: var(--bg-section); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; transition: transform .18s ease; }
.rps-hand .rps-glyph svg { width: 46px; height: 46px; color: var(--primary); }
.rps-hand.shake .rps-glyph { animation: rps-shake .4s ease; }
@keyframes rps-shake { 0%,100%{transform:translateY(0)} 25%{transform:translateY(-10px)} 60%{transform:translateY(6px)} }
.rps-hand span { font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .05em; }
.rps-vs { font-family: var(--font-head); font-weight: 800; color: var(--text-secondary); font-size: 1rem; }
.rps-choices { display: flex; gap: 12px; justify-content: center; margin-bottom: 20px; }
.rps-btn { flex: 1; max-width: 130px; padding: 16px 10px; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); background: #fff; cursor: pointer; transition: all .15s ease; display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--text-primary); }
.rps-btn svg { width: 30px; height: 30px; color: var(--primary); }
.rps-btn:hover { border-color: var(--primary); background: var(--primary-light); transform: translateY(-2px); }
.rps-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.rps-score { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 8px; }
.rps-score .rs { text-align: center; padding: 12px; border-radius: 8px; background: var(--bg-section); border: 1px solid var(--border); }
.rps-score .rs b { display: block; font-family: var(--font-head); font-size: 1.6rem; }
.rps-score .rs span { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-secondary); }
.rps-score .rs.win b { color: var(--accent-dark); }
.rps-score .rs.lose b { color: var(--danger); }
.rps-status { text-align: center; font-family: var(--font-head); font-weight: 700; padding: 12px; border-radius: 8px; background: var(--bg-section); margin-bottom: 16px; }

/* comparer ranking */
.rank-list { margin: 0; padding: 0; list-style: none; }
.rank-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px; background: #fff; }
.rank-item.best { border-color: var(--accent); background: #f0fff4; }
.rank-badge { width: 34px; height: 34px; border-radius: 8px; background: var(--bg-section); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; color: var(--text-secondary); flex-shrink: 0; }
.rank-item.best .rank-badge { background: var(--accent); color: #fff; }
.rank-info { flex: 1; }
.rank-info b { font-family: var(--font-head); }
.rank-info span { display: block; font-size: .8rem; color: var(--text-secondary); }
.rank-val { text-align: right; }
.rank-val b { font-family: var(--font-head); font-size: 1.15rem; color: var(--primary); }
.rank-val span { display: block; font-size: .72rem; color: var(--text-secondary); }

/* ---------- Trust strip ---------- */
.trust-strip { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.trust-chip { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; background: #fff; border: 1px solid var(--border); border-radius: 100px; box-shadow: var(--shadow-sm); font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--text-primary); }
.trust-chip svg { width: 20px; height: 20px; color: var(--primary); }
.section-mid .trust-chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.section-mid .trust-chip svg { color: #63b3ed; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step .step-num { width: 38px; height: 38px; border-radius: 10px; background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h4 { font-size: 1.05rem; margin-bottom: 7px; }
.step p { font-size: .9rem; color: var(--text-secondary); margin: 0; }

/* ---------- Content / prose ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.7rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.28rem; margin: 30px 0 10px; }
.prose p, .prose li { color: #2d3748; }
.prose ul { margin-left: 1.3rem; }
.prose .callout { background: var(--primary-light); border-left: 4px solid var(--primary); padding: 18px 22px; border-radius: 8px; margin: 24px 0; }
.prose .callout p { margin: 0; color: var(--text-primary); }
.legal-body { max-width: 860px; margin: 0 auto; }
.legal-body h2 { font-size: 1.45rem; margin: 34px 0 12px; padding-top: 8px; }
.legal-body h3 { font-size: 1.12rem; margin: 22px 0 8px; }
.legal-body p, .legal-body li { color: #2d3748; font-size: .98rem; }
.updated-tag { display: inline-block; font-size: .82rem; color: var(--text-secondary); background: var(--bg-section); padding: 6px 14px; border-radius: 100px; margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 20px 22px; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--text-primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .faq-ico { flex-shrink: 0; width: 24px; height: 24px; transition: transform .2s ease; color: var(--primary); }
.faq-item.open .faq-q .faq-ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--text-secondary); }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--primary); color: #fff; border-radius: var(--radius-lg); padding: 48px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem,3.4vw,2.3rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 26px; font-size: 1.06rem; }
.cta-band .btn-primary { background: #fff; color: var(--primary-dark); }
.cta-band .btn-primary:hover { background: #f0f4f8; color: var(--primary-dark); }

/* ---------- Auth / form pages ---------- */
.auth-wrap { max-width: 460px; margin: 0 auto; }
.auth-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 36px; }
.auth-card h1 { font-size: 1.7rem; margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--text-secondary); margin-bottom: 26px; font-size: .96rem; }
.auth-note { font-size: .82rem; color: var(--text-secondary); text-align: center; margin-top: 18px; }
.divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--text-secondary); font-size: .82rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ---------- APK download ---------- */
.apk-box { background: linear-gradient(180deg,#fafcff,#fff); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 34px; text-align: center; }
.apk-icon { width: 84px; height: 84px; border-radius: 20px; background: var(--primary); margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); }
.apk-icon img { width: 62px; height: auto; }
.apk-meta { display: flex; justify-content: center; gap: 0; margin: 20px 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.apk-meta .am { flex: 1; padding: 14px 8px; border-right: 1px solid var(--border); }
.apk-meta .am:last-child { border-right: none; }
.apk-meta .am b { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--text-primary); }
.apk-meta .am span { font-size: .74rem; color: var(--text-secondary); }

/* ---------- Contact ---------- */
.contact-card { display: flex; align-items: flex-start; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.contact-card .cc-icon { width: 46px; height: 46px; border-radius: 11px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card .cc-icon svg { width: 24px; height: 24px; }
.contact-card h4 { font-size: 1.02rem; margin-bottom: 3px; }
.contact-card p { margin: 0; color: var(--text-secondary); font-size: .92rem; }
.contact-card a { font-weight: 600; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { background: var(--bg-dark); color: #fff; padding: 56px 0; }
.page-hero .breadcrumb { font-size: .84rem; color: #a0aec0; margin-bottom: 12px; }
.page-hero .breadcrumb a { color: #90cdf4; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem,4vw,2.7rem); margin-bottom: 12px; }
.page-hero p { color: #cbd5e0; max-width: 640px; margin: 0; font-size: 1.06rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #a0aec0; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 40px; }
.footer-brand img { height: 34px; margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; color: #a0aec0; max-width: 320px; }
.footer-col h5 { color: #fff; font-family: var(--font-head); font-size: .95rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #a0aec0; font-size: .9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: .84rem; margin: 0; color: #718096; }
.footer-18 { display: inline-flex; align-items: center; gap: 8px; background: rgba(229,62,62,.12); border: 1px solid rgba(229,62,62,.3); color: #fc8181; font-family: var(--font-head); font-weight: 700; font-size: .78rem; padding: 6px 12px; border-radius: 6px; }
.disclaimer-bar { background: var(--bg-dark-2); padding: 16px 0; text-align: center; }
.disclaimer-bar p { font-size: .8rem; color: #718096; margin: 0; max-width: 900px; margin: 0 auto; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; bottom: 22px; right: 22px; z-index: 200; width: 58px; height: 58px; border-radius: 50%; background: #25d366; box-shadow: 0 6px 20px rgba(37,211,102,.4); display: flex; align-items: center; justify-content: center; transition: transform .18s ease; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; color: #fff; }

/* ---------- Utility ---------- */
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.pill { font-size: .82rem; font-family: var(--font-head); font-weight: 600; color: var(--primary-dark); background: var(--primary-light); padding: 7px 14px; border-radius: 100px; }
.check-list { list-style: none; margin-left: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: #2d3748; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; background: var(--accent); border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-size: 13px; background-repeat: no-repeat; background-position: center; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 520px; }
  .grid-60-40 { grid-template-columns: 1fr; }
  .feature-bar { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .feature-item { border-bottom: 1px solid var(--border); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-links { position: fixed; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); transform: translateY(-140%); transition: transform .25s ease; z-index: 90; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 14px; border-radius: 8px; }
  .nav-links li { width: 100%; }
  .nav-toggle { display: block; }
  .nav-cta .btn-outline { display: none; }
  .nav-mobile-cta { display: block; }
  .nav-mobile-cta a { color: var(--primary) !important; font-weight: 700; }
  .nav-mobile-divider { display: block; height: 1px; background: var(--border); margin: 8px 0; }
  .section { padding: 52px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 22px; }
  .hero { padding: 54px 0 60px; }
  .result-metrics { grid-template-columns: 1fr; }
  .rps-choices { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .feature-bar { grid-template-columns: 1fr; }
  .feature-item, .feature-item:nth-child(odd) { border-right: none; }
  .kpi-grid, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 18px; }
  .rps-arena { grid-template-columns: 1fr; }
  .rps-vs { display: none; }
}
