/* Rebotea — Shared styles for module landing pages
   Mirrors the design tokens of the main landing without duplicating
   the entire stylesheet. */

:root {
  --bg: #0a0a0a;
  --bg-elev: #111;
  --card: #131313;
  --card-border: rgba(255,255,255,0.07);
  --white: #fff;
  --muted: #8a8a8a;
  --accent: #0053FE;
  --accent-dim: rgba(0,83,254,0.10);
  --accent-border: rgba(0,83,254,0.25);
  --accent-glow: rgba(0,83,254,0.30);
  --r: 18px;
  --r-xl: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ══ NAV ══ */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 32px;
  backdrop-filter: blur(14px);
  background: rgba(10,10,10,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav-logo {
  font: 800 22px/1 Inter, sans-serif; color: var(--white);
  letter-spacing: -0.5px; text-decoration: none;
}
.nav-links { display: flex; gap: 22px; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 14px;
  padding: 10px 20px; border-radius: 100px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--accent-glow); }
@media (max-width: 760px) {
  .nav-links { display: none; }
  nav.site-nav { padding: 14px 20px; }
}

/* ══ HERO ══ */
.mod-hero {
  position: relative;
  padding: 160px 24px 90px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
}
.mod-hero::before {
  content: ''; position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,83,254,0.10), transparent 60%);
  pointer-events: none; z-index: 0;
}
.mod-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.mod-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent);
  padding: 8px 16px; border-radius: 100px;
  background: var(--accent-dim); border: 1px solid var(--accent-border);
  margin-bottom: 28px;
}
.mod-hero-eyebrow svg { width: 14px; height: 14px; }
.mod-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900; letter-spacing: -0.045em;
  line-height: 1.04; margin-bottom: 22px;
}
.mod-hero h1 em { color: var(--accent); font-style: normal; }
.mod-hero p.lead {
  font-size: 1.18rem; color: var(--muted);
  line-height: 1.65; max-width: 600px; margin: 0 auto 36px;
}
.mod-hero-ctas {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.btn-primary {
  background: var(--accent); color: #fff;
  font: 700 15px/1 Inter, sans-serif;
  padding: 15px 30px; border-radius: 100px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: transform .25s, box-shadow .25s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 36px var(--accent-glow); }
.btn-ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font: 600 15px/1 Inter, sans-serif;
  padding: 14px 28px; border-radius: 100px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, transform .25s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.10); transform: translateY(-3px); }

/* ══ SECTION ══ */
section.mod-section {
  padding: 90px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.container { max-width: 1080px; margin: 0 auto; }
.section-eyebrow {
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  display: block; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 900; letter-spacing: -0.04em;
  line-height: 1.1; margin-bottom: 16px;
}
.section-title em { color: var(--accent); font-style: normal; }
.section-lead {
  font-size: 1.05rem; color: var(--muted);
  line-height: 1.7; max-width: 620px;
}

/* ══ FEATURE GRID (3 columns of detail cards) ══ */
.det-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px; margin-top: 50px;
}
@media (max-width: 760px) { .det-grid { grid-template-columns: 1fr; } }
.det-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r);
  padding: 28px 26px;
  transition: transform .3s, border-color .3s, background .3s;
}
.det-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-border);
  background: rgba(0,83,254,0.04);
}
.det-card .det-icon {
  width: 40px; height: 40px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--accent);
}
.det-card .det-icon svg { width: 18px; height: 18px; }
.det-card h3 {
  font-size: 1.05rem; font-weight: 700;
  letter-spacing: -0.025em; margin-bottom: 8px;
}
.det-card p { font-size: .92rem; color: var(--muted); line-height: 1.65; }

/* ══ TWO-COLUMN BLOCK (text + visual mock) ══ */
.split-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center; margin-top: 40px;
}
.split-grid.flip .split-text { order: 2; }
@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; gap: 32px; }
  .split-grid.flip .split-text { order: 0; }
}
.split-list { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 14px; }
.split-list li { display: flex; gap: 12px; align-items: flex-start; }
.split-list .sl-check {
  flex: 0 0 22px; width: 22px; height: 22px;
  border-radius: 7px; background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-top: 2px;
}
.split-list .sl-check svg { width: 12px; height: 12px; }
.split-list b { color: var(--white); font-weight: 700; display: block; margin-bottom: 2px; }
.split-list span { color: var(--muted); font-size: .92rem; line-height: 1.55; }

.split-visual {
  background: linear-gradient(155deg, var(--card), rgba(0,83,254,0.04));
  border: 1px solid var(--card-border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  position: relative; overflow: hidden;
}
.split-visual::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(0,83,254,0.10), transparent 60%);
  pointer-events: none;
}
.mock {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; padding: 18px;
  position: relative; z-index: 1;
}
.mock + .mock { margin-top: 12px; }
.mock-title {
  font-size: .72rem; font-weight: 800; letter-spacing: 0.12em;
  color: var(--muted); text-transform: uppercase;
  margin-bottom: 14px;
}
.mock-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; font-size: .82rem;
}
.mock-row + .mock-row { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.05); }
.mock-label { color: var(--muted); }
.mock-value { color: var(--white); font-weight: 600; }
.mock-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); display: inline-block; margin-right: 6px;
  box-shadow: 0 0 8px var(--accent);
}
.mock-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 18px; position: relative; z-index: 1;
}
.mock-stat {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 14px 12px; text-align: center;
}
.mock-stat-num {
  font-size: 1.4rem; font-weight: 900;
  color: var(--accent); letter-spacing: -0.02em; line-height: 1;
}
.mock-stat-lbl {
  font-size: .68rem; color: var(--muted);
  margin-top: 6px; letter-spacing: 0.06em; text-transform: uppercase;
}

/* ══ CROSS-MODULE NAV ══ */
.cross-mod {
  padding: 80px 24px;
  background: linear-gradient(180deg, var(--bg), var(--bg-elev));
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.cross-mod-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; margin-top: 36px;
}
@media (max-width: 760px) { .cross-mod-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .cross-mod-grid { grid-template-columns: 1fr; } }
.cross-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r);
  padding: 22px 20px;
  text-decoration: none; color: inherit;
  transition: transform .3s, border-color .3s, background .3s;
  display: block;
}
.cross-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
  background: rgba(0,83,254,0.04);
}
.cross-card .cc-prefix {
  font-size: .65rem; font-weight: 800; letter-spacing: .14em;
  color: var(--muted); text-transform: uppercase; display: block;
  margin-bottom: 4px;
}
.cross-card h4 {
  font-size: 1.1rem; font-weight: 900; letter-spacing: -0.03em;
  margin-bottom: 8px; color: var(--white);
}
.cross-card h4 .cc-accent { color: var(--accent); }
.cross-card p { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.cross-card .cc-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; font-size: .75rem; font-weight: 700;
  color: var(--accent);
}
.cross-card .cc-arrow svg { width: 11px; height: 11px; transition: transform .25s; }
.cross-card:hover .cc-arrow svg { transform: translateX(3px); }

/* ══ FINAL CTA ══ */
.cta-block {
  text-align: center;
  padding: 110px 24px;
  background:
    radial-gradient(ellipse at center, rgba(0,83,254,0.10), transparent 70%),
    var(--bg);
}
.cta-block h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900; letter-spacing: -0.04em;
  line-height: 1.05; margin-bottom: 16px;
}
.cta-block h2 em { color: var(--accent); font-style: normal; }
.cta-block p {
  font-size: 1.1rem; color: var(--muted);
  max-width: 520px; margin: 0 auto 32px;
}

/* ══ LEGAL PAGES ══ */
.legal-page {
  padding: 140px 24px 90px;
  max-width: 820px; margin: 0 auto;
  line-height: 1.7;
}
.legal-page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900; letter-spacing: -0.04em;
  line-height: 1.1; margin-bottom: 12px;
}
.legal-page .legal-updated {
  font-size: .82rem; color: var(--muted);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.legal-page h2 {
  font-size: 1.35rem; font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 40px; margin-bottom: 14px;
  color: var(--white);
}
.legal-page h3 {
  font-size: 1.05rem; font-weight: 700;
  margin-top: 26px; margin-bottom: 10px;
  color: var(--white);
}
.legal-page p, .legal-page li {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
}
.legal-page p { margin-bottom: 14px; }
.legal-page ul, .legal-page ol {
  margin: 0 0 14px 22px;
  padding: 0;
}
.legal-page li { margin-bottom: 8px; }
.legal-page a {
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.legal-page a:hover { border-bottom-color: var(--accent); }
.legal-page strong { color: var(--white); font-weight: 700; }
.legal-page .legal-callout {
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 6px;
  margin: 20px 0;
  font-size: .95rem;
}
.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 26px;
  font-size: .92rem;
}
.legal-page th, .legal-page td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: top;
}
.legal-page th {
  color: var(--white); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  font-size: .72rem;
  background: rgba(255,255,255,0.02);
}
.legal-page td { color: rgba(255,255,255,0.78); }

/* ══ FOOTER ══ */
footer.site-footer {
  background: #050505;
  padding: 60px 24px 30px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 30px; } }
.footer-brand {
  font: 800 22px/1 Inter, sans-serif; color: var(--white);
  letter-spacing: -0.5px; text-decoration: none;
  display: inline-block; margin-bottom: 14px;
}
.footer-tag { font-size: .85rem; color: var(--muted); line-height: 1.6; max-width: 280px; }
.footer-col h5 {
  font-size: .72rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--muted); text-decoration: none;
  font-size: .88rem; transition: color .2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1080px; margin: 50px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: .75rem; color: var(--muted);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
