*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@font-face {
  font-family: "Poppins";
  src: url("poppins.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary:        var(--primary-color, #DC2626);
  --primary-hover:  var(--primary-hover-color, #B91C1C);
  --primary-light:  rgba(220,38,38,.12);
  --text:           #1a202c;
  --text-light:     #4a5568;
  --text-muted:     #718096;
  --border:         #e2e8f0;
  --bg:             #ffffff;
  --bg-alt:         #f8fafc;
  --header-bg:      #1A0A0A;
  --hero-bg:        #1A0A0A;
  --radius:         8px;
  --radius-lg:      12px;
  --shadow-sm:      0 1px 4px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:      0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:      0 8px 32px rgba(0,0,0,.14);
  --max-w:          1120px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-alt);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1,h2,h3,h4,h5 { margin: 0; line-height: 1.3; }
h2 {
  font-size: 22px;
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
h3 { font-size: 16px; }
h4 { font-size: 14px; }
img { max-width: 100%; display: block; }

/* ── Page wrapper ──────────────────────────────────── */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
}

/* ── Notification bar ──────────────────────────────── */
.notify-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  background: rgba(10,22,40,.95);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  padding: 8px 16px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
  backdrop-filter: blur(4px);
}
.notify-bar.is-visible { transform: translateY(0); opacity: 1; }

/* ═══════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════ */
.lh-wrap {
  position: sticky;
  top: 0;
  z-index: 200;
}

.lh-bar {
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.lh-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lh-inner .lh-actions { margin-left: auto; }

.lh-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.lh-logo { height: 44px; width: auto; }

.lh-actions { display: flex; align-items: center; gap: 10px; }

/* Nav links */
.lh-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  padding: 0 16px;
}

.lh-nav-link {
  color: rgba(255,255,255,.75);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.lh-nav-link:hover,
.lh-nav-link.active {
  color: #fff;
  background: rgba(255,255,255,.1);
}

/* Mobile nav links */
.lh-mobile-link {
  color: rgba(255,255,255,.85);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 4px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .15s;
}
.lh-mobile-link:hover { color: #fff; }

.lh-mobile-divider {
  height: 1px;
  background: rgba(255,255,255,.12);
  margin: 4px 0 8px;
}

.lh-btn {
  font-size: 13px;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: .01em;
}

/* Override btn-outline for dark header */
.lh-bar .btn-outline {
  border-color: rgba(255,255,255,.35);
  color: #fff;
  background: transparent;
}
.lh-bar .btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
  color: #fff;
}

/* Override btn-primary for header */
.lh-bar .btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(220,38,38,.4);
}
.lh-bar .btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(220,38,38,.5);
}

/* Left group: hamburger + logo */
.lh-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Hamburger — mobile only */
.lh-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background .15s;
  flex-shrink: 0;
}
.lh-hamburger:hover { background: rgba(255,255,255,.08); }
.lh-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.lh-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lh-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lh-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Sidebar drawer */
.lh-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: 280px;
  background: #0f1e35;
  z-index: 500;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: 4px 0 28px rgba(0,0,0,.35);
}
.lh-drawer.is-open { transform: translateX(0); }

.lh-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}
.lh-drawer__logo { height: 36px; width: auto; }
.lh-drawer__close {
  width: 32px; height: 32px;
  border: none; background: rgba(255,255,255,.1);
  border-radius: 50%; color: #fff; font-size: 14px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.lh-drawer__close:hover { background: rgba(255,255,255,.2); }

.lh-drawer__nav {
  flex: 1; padding: 8px 0; overflow-y: auto;
}
.lh-drawer__link {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 20px;
  color: rgba(255,255,255,.75);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  transition: background .15s, color .15s;
  border-left: 3px solid transparent;
}
.lh-drawer__link i { width: 18px; text-align: center; font-size: 15px; flex-shrink: 0; }
.lh-drawer__link:hover,
.lh-drawer__link.active {
  background: rgba(255,255,255,.07);
  color: #fff;
  border-left-color: var(--primary);
}

.lh-drawer__foot {
  padding: 16px 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: 10px;
}

/* Overlay */
.lh-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 490;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.lh-overlay.is-visible { opacity: 1; pointer-events: auto; }

@media (max-width: 860px) {
  .lh-nav       { display: none; }
  .lh-hamburger { display: flex; }
}
@media (max-width: 560px) {
  .lh-actions { display: flex; gap: 6px; }
  .lh-actions .lh-btn { font-size: 12px; padding: 7px 12px; }
}

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius);
  font-size: 14px;
  padding: 10px 24px;
  transition: background .15s, transform .1s, box-shadow .15s, color .15s, border-color .15s;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.2;
  letter-spacing: .01em;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(220,38,38,.3);
}
.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(220,38,38,.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-lg {
  font-size: 15px;
  padding: 13px 32px;
  border-radius: 10px;
}

.btn-white {
  background: #fff;
  color: var(--header-bg);
  border-color: #fff;
  font-weight: 700;
}
.btn-white:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,255,255,.2);
}

.visit-btn {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  font-size: 13px;
  padding: 7px 18px;
}
.visit-btn:hover { background: var(--primary-hover); }

/* ═══════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════ */
.hero-section {
  background: linear-gradient(135deg, #1A0A0A 0%, #2D1B1B 50%, #DC2626 100%);
  padding: 56px 28px 52px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 65% 50%, rgba(220,38,38,.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 52px;
  position: relative;
  z-index: 1;
}

.hero-content { flex: 1; min-width: 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(220,38,38,.2);
  border: 1px solid rgba(220,38,38,.4);
  color: #F4C430;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,.72);
  margin-bottom: 28px;
  max-width: 500px;
  line-height: 1.75;
}

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

/* Hero buttons on dark background */
.hero-section .btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(220,38,38,.45);
}
.hero-section .btn-outline {
  border-color: rgba(255,255,255,.45);
  color: #fff;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
}
.hero-section .btn-outline:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.7);
  color: #fff;
}

.hero-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.hero-stat:last-child { border-right: none; margin-right: 0; }

.hero-stat-num {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: 10px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.hero-image {
  flex-shrink: 0;
  width: 420px;
  max-width: 40%;
}
.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.ios-install-hint {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 10px 14px;
  max-width: 420px;
  display: none;
}
.ios-install-hint.is-visible { display: block; }
.bold { font-weight: 600; }

/* ═══════════════════════════════════════════════════
   MAIN CONTENT AREA
═══════════════════════════════════════════════════ */
main.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
}

.main-content {
  flex: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 28px 56px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}


/* ═══════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════ */
.card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 24px 0;
  box-shadow: none;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 0;
  margin-bottom: 20px;
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  color: #7f1d1d;
}

/* ═══════════════════════════════════════════════════
   LEGAL / SUB-PAGE LAYOUT
═══════════════════════════════════════════════════ */
.legal-section {
  flex: 1;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 32px 28px 56px;
}

.legal-card {
  max-width: 820px;
  margin: 0 auto;
}

.legal-card--with-header .legal-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border);
}

.legal-intro {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 20px;
}

.legal-card h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-top: 28px;
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
}

.legal-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-top: 18px;
  margin-bottom: 8px;
}

.legal-card p,
.legal-card li {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-card ul,
.legal-card ol {
  padding-left: 22px;
  margin-bottom: 12px;
}

.legal-card li { margin-bottom: 5px; }
.legal-card a { color: var(--primary); text-decoration: none; }
.legal-card a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════
   CONTENT: WHY / FEATURE SECTIONS
═══════════════════════════════════════════════════ */
.why-section,
.guide-section,
.prediction-info-section {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.why-card,
.guide-card {
  max-width: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.feature-section { max-width: 100%; }

.prediction-info-card {
  max-width: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.why-header {
  padding-bottom: 0;
  margin-bottom: 20px;
}

.why-title {
  font-size: 22px;
  font-weight: 700;
  color: #7f1d1d;
}

.why-highlight {
  display: inline-flex;
  align-items: center;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.why-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 10px;
}

/* ───── Image + Text Layouts ───── */
.img-text-row {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 28px;
  align-items: center;
}

.img-col {
  /* grid item — stretches to full row height via default align-items:stretch */
}

.img-col .img-placeholder--portrait {
  position: sticky;
  top: 76px;
  width: 100%;
}

.img-text-row > div {
  min-width: 0;
}

.img-text-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.img-placeholder {
  background: #f1f5f9;
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
}

.img-placeholder--portrait { aspect-ratio: 3/4; }
.img-placeholder--landscape { aspect-ratio: 16/9; width: 100%; }

.img-placeholder-label {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  text-align: center;
  line-height: 1.6;
  padding: 0 12px;
  user-select: none;
}

@media (max-width: 768px) {
  .img-text-row { grid-template-columns: 1fr; }
}

/* Per-section card header */
.feature-section-header {
  padding-bottom: 0;
  margin-bottom: 20px;
}

.feature-title {
  font-weight: 700;
  color: #7f1d1d;
  margin: 0;
}

.feature-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 10px;
}

.feature-text ol,
.feature-text ul {
  padding-left: 22px;
  margin: 10px 0;
}

.feature-text li { margin-bottom: 6px; }
.feature-text a { color: var(--primary); }
.feature-text strong { color: var(--text); font-weight: 600; }

/* TOC nav */
.toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.toc p { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 8px; }

.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  flex-direction: column;
}

.toc li { font-size: 13px; }
.toc a {
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
}
.toc a::before { content: '→'; font-size: 11px; opacity: .6; }
.toc a:hover { text-decoration: underline; }

/* Guide steps */
.guide-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 0;
  margin-bottom: 20px;
}
.guide-icon { font-size: 22px; }
.guide-title { font-size: 17px; font-weight: 700; color: var(--text); }

.guide-steps { display: flex; flex-direction: column; gap: 14px; }
.guide-step { display: flex; align-items: flex-start; gap: 16px; }

.step-badge {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(220,38,38,.35);
}
.step-text { font-size: 14px; color: var(--text-light); line-height: 1.75; padding-top: 3px; }

/* Prediction content */
.prediction-info-text,
.prediction-info-note {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.8;
}
.prediction-info-note { font-weight: 600; color: var(--text); }
.prediction-info-actions { margin-top: 22px; }
.prediction-info-btn { font-size: 14px; }

/* ═══════════════════════════════════════════════════
   INFO SECTIONS (outside card in content.txt)
═══════════════════════════════════════════════════ */
.info-section {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.info-section .container {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.info-section h2 {
  font-weight: 700;
  color: #7f1d1d;
  margin-bottom: 14px;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-section h3 {
  font-size: 15px;
  font-weight: 700;
  color: #7f1d1d;
  margin-top: 16px;
  margin-bottom: 10px;
}

.info-section p,
.info-section li {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 8px;
}

.info-section ul,
.info-section ol {
  padding-left: 22px;
  margin: 8px 0 14px;
}

.info-section li { margin-bottom: 5px; }
.info-section a { color: var(--primary); }
.info-section a:hover { text-decoration: underline; }

/* ─── Sub-headings inside feature blocks ─────────── */
h3.feature-text {
  font-size: 16px;
  font-weight: 700;
  color: #7f1d1d;
  margin-top: 20px;
  margin-bottom: 8px;
  line-height: 1.4;
  padding-left: 10px;
  border-left: 3px solid #7f1d1d;
}
h4.feature-text {
  font-size: 14px;
  font-weight: 700;
  color: #7f1d1d;
  margin-top: 16px;
  margin-bottom: 6px;
  line-height: 1.4;
  padding-left: 10px;
  border-left: 3px solid #7f1d1d;
}

/* ─── Headings inside prediction info card ────────── */
.prediction-info-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #7f1d1d;
  margin-top: 22px;
  margin-bottom: 10px;
}

h4.prediction-info-text {
  font-size: 14px;
  font-weight: 700;
  color: #7f1d1d;
  margin-top: 18px;
  margin-bottom: 5px;
  line-height: 1.4;
  padding-left: 10px;
  border-left: 3px solid #7f1d1d;
}

/* ─── Prediction extended / final sections ─────────── */
.prediction-extended,
.prediction-final {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.prediction-extended .container,
.prediction-final .container {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}


.prediction-extended h2,
.prediction-final h2 {
  font-size: 22px;
  font-weight: 700;
  color: #7f1d1d;
  margin-bottom: 16px;
}

.prediction-extended h3,
.prediction-final h3 {
  font-size: 17px;
  font-weight: 700;
  color: #7f1d1d;
  margin-top: 20px;
  margin-bottom: 8px;
}

.prediction-extended h4,
.prediction-final h4 {
  font-size: 14px;
  font-weight: 700;
  color: #7f1d1d;
  margin-top: 16px;
  margin-bottom: 5px;
  padding-left: 10px;
  border-left: 3px solid #7f1d1d;
}

.prediction-extended p,
.prediction-extended li,
.prediction-final p,
.prediction-final li {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 8px;
}

.prediction-extended ul,
.prediction-extended ol,
.prediction-final ul,
.prediction-final ol {
  padding-left: 22px;
  margin: 8px 0 14px;
}

.prediction-extended a,
.prediction-final a { color: var(--primary); }
.prediction-extended a:hover,
.prediction-final a:hover { text-decoration: underline; }

/* ─── Trailing orphan paragraph after prediction sections ─── */
.main-content > p {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 32px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ═══════════════════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item[open] {
  border-color: var(--primary);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  background: var(--bg);
  transition: background .15s, color .15s;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform .25s;
  line-height: 1;
}

.faq-item[open] .faq-question {
  background: var(--bg-alt);
  color: var(--primary);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 18px 16px;
  background: var(--bg);
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

.faq-answer a { color: var(--primary); }
.faq-answer a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════
   DOMAIN CHECKER (unused but kept)
═══════════════════════════════════════════════════ */
.search-section { display: none; }
.domain-status--ok  { background: rgba(244,196,48,.15); color: #F4C430; border-radius: 6px; padding: 6px 12px; font-size: 13px; }
.domain-status--bad { background: #fee2e2; color: #991b1b; border-radius: 6px; padding: 6px 12px; font-size: 13px; }

.domains-list { display: flex; flex-direction: column; gap: 10px; }
.domain-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.domain-badge {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
}
.domain-name { flex: 1; font-size: 14px; color: var(--text); font-weight: 500; }

/* ═══════════════════════════════════════════════════
   IFRAME PREVIEW OVERLAY
═══════════════════════════════════════════════════ */
.preview-bar {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: rgba(0,0,0,.6);
  transform: translateY(-120%); opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
  backdrop-filter: blur(2px);
}
.preview-bar.is-visible { transform: translateY(0); opacity: 1; }
.preview-inner { width: 100%; height: 100%; display: flex; flex-direction: column; }
.preview-frame { width: 100%; flex: 1; border: none; background: #fff; pointer-events: auto; }
body.preview-open { overflow: hidden; height: 100vh; }

/* ═══════════════════════════════════════════════════
   FLOATING FAB
═══════════════════════════════════════════════════ */
.floating-wrapper {
  position: fixed;
  right: 20px; bottom: 20px;
  display: flex; flex-direction: column;
  gap: 14px; z-index: 100;
}
.fab {
  width: 52px; height: 52px;
  border-radius: 50%; border: none;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  background: #fff;
  transition: transform .14s, box-shadow .14s;
}
.fab:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.fab-telegram { background: transparent; box-shadow: none; width: auto; height: auto; padding: 0; border-radius: 0; }
.fab-telegram:hover { transform: translateY(-2px); box-shadow: none; }
.fab-icon-img { width: 54px; height: 54px; display: block; border-radius: 50%; }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.site-footer {
  background: var(--header-bg);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 32px 28px 36px;
  margin-top: auto;
}

.site-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.site-footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  flex-shrink: 0;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 6px;
}

.site-footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  padding: 3px 8px;
  border-radius: 4px;
  transition: color .15s, background .15s;
}
.site-footer-links a:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}

/* ═══════════════════════════════════════════════════
   AUTH PAGES (login / register)
═══════════════════════════════════════════════════ */
.auth-form { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }

.auth-field { display: flex; flex-direction: column; gap: 5px; }

.auth-field label { font-size: 13px; font-weight: 600; color: var(--text); }

.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"] {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.auth-field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220,38,38,.12);
}

.auth-actions {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.auth-actions.auth-actions--end { justify-content: flex-end; }

.auth-remember { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-light); cursor: pointer; }
.auth-remember input[type="checkbox"] { width: 15px; height: 15px; cursor: pointer; }

.auth-message { margin-top: 12px; font-size: 13px; color: #c0392b; background: #fef2f2; border: 1px solid #fecaca; border-radius: 6px; padding: 8px 12px; }

.auth-helper { margin-top: 14px; font-size: 13px; color: var(--text-light); }
.auth-helper a { color: var(--primary); text-decoration: none; font-weight: 600; }
.auth-helper a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .hero-inner { flex-direction: column; gap: 32px; }
  .hero-image { width: 100%; max-width: 100%; order: -1; }
  .hero-title { font-size: 30px; }
  .hero-section { padding: 36px 20px 40px; }
  .hero-stats { gap: 20px; }
  .hero-stat { padding-right: 20px; margin-right: 20px; }
  .main-content { padding: 24px 20px 48px; }
  .legal-section { padding: 24px 20px 48px; }
  .card { padding: 20px 0; }
}

@media (max-width: 600px) {
  .hero-section { padding: 28px 16px 32px; }
  .hero-title { font-size: 24px; }
  .hero-stats { padding-top: 20px; gap: 16px; }
  .hero-stat { padding-right: 16px; margin-right: 16px; font-size: 14px; }
  .hero-stat-num { font-size: 17px; }
  .main-content { padding: 20px 20px 40px; gap: 16px; }
  .legal-section { padding: 20px 20px 40px; }
  .card { padding: 16px 0; border-radius: 0; }
  .info-section .container { padding: 0; }
  .site-footer { padding: 24px 16px 28px; }
  .site-footer-links { justify-content: flex-start; gap: 3px 4px; }
  .floating-wrapper { right: 12px; bottom: 14px; }
  h2 { font-size: 18px; }
  .lh-inner { padding: 0 16px; }
  .lh-logo { height: 38px; }
}
