/* ──────────────────────────────────────────────────────────────────────────
   Daybook for Hosts — shared website CSS
   Used by: landing.html, turnovertext.html, revenue-iq.html,
            guest-guide.html, pricing.html
   Pages override per-page accents via :root scoped to <body>.
   ────────────────────────────────────────────────────────────────────────── */

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

:root {
  --ink: #1a1a2e;
  --cream: #f5f0ea;
  --dim: rgba(245,240,234,0.45);
  --pink: #e0457a;
  --gold: #c8860a;
  --lime: #7fcf52;

  /* Per-page accent — overridden in each page's inline <style> block.
     Default is gold (used by RevenueIQ, pricing). */
  --accent: var(--gold);
  --accent-glow: rgba(200,134,10,0.07);
  --hero-tint: rgba(20,14,26,1);
  --em-color: var(--gold);
}

html { background: var(--ink); scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--cream);
  background: var(--ink);
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 24px; height: 56px; gap: 16px;
}
.nav-logo {
  font-size: 15px; font-weight: 900;
  text-decoration: none;
  display: flex; align-items: baseline;
}
.nav-logo .d { color: #fff; }
.nav-logo .b { color: var(--pink); }
.nav-centre { display: flex; align-items: center; gap: 24px; }
.nav-right-g { display: flex; align-items: center; gap: 16px; justify-content: flex-end; }
.nav-link {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-link:hover { color: #fff; }
.nav-cta {
  padding: 7px 18px;
  background: var(--pink); color: #fff;
  border-radius: 7px;
  font-size: 13px; font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.88; }
@media (max-width: 640px) {
  .nav-centre { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
}

/* ── HERO ────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 8% 80px;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 120% 80% at 80% 50%, var(--hero-tint) 0%, var(--ink) 60%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 60% at 85% 40%, var(--accent-glow) 0%, transparent 70%);
}
.hero-eyebrow {
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
  margin-bottom: 20px;
}
.hero-name {
  font-size: clamp(56px, 12vw, 140px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 28px;
  user-select: none;
}
.hero-name .pk { color: var(--pink); }
.hero-tagline {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  max-width: 520px;
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.2px;
}
.hero-sub {
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--dim);
  max-width: 460px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.btn-primary {
  display: inline-flex; align-items: center;
  padding: 14px 28px;
  background: var(--pink); color: #fff;
  border-radius: 10px;
  font-size: 15px; font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.88; }
.back-link {
  position: absolute; top: 72px; left: 8%;
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  text-decoration: none;
  transition: color 0.15s;
}
.back-link:hover { color: rgba(255,255,255,0.6); }

/* ── SECTIONS ────────────────────────────────────────────────────────── */
.section { padding: 80px 8%; }
.section.alt { background: rgba(255,255,255,0.02); }
.section-inner { max-width: 960px; margin: 0 auto; }
.eyebrow {
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-h {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 20px;
}
.section-h em { color: var(--em-color); font-style: normal; }
.section-p {
  font-size: 17px;
  color: var(--dim);
  line-height: 1.7;
  max-width: 560px;
}
.section-p strong { color: var(--cream); font-weight: 600; }
.section-p + .section-p { margin-top: 16px; }

/* ── TWO-COL LAYOUT ──────────────────────────────────────────────────── */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; gap: 48px; }
}

/* ── FEATURE STRIP (footer nav-bar) ──────────────────────────────────── */
.strip {
  display: grid; grid-template-columns: repeat(4,1fr);
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.strip-col {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 22px 20px;
  text-decoration: none;
  transition: background 0.15s;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.strip-col:last-child { border-right: none; }
.strip-col:hover { background: rgba(255,255,255,0.05); }
.strip-col.active { background: rgba(224,69,122,0.08); }
.strip-name {
  font-size: 14px; font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.strip-name .pk { color: var(--pink); }
.strip-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}
@media (max-width: 767px) {
  .strip { grid-template-columns: repeat(2,1fr); }
  .strip-col { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .strip-col:nth-child(2n) { border-right: none; }
  .strip-col:nth-child(3),
  .strip-col:nth-child(4) { border-bottom: none; }
}

/* ── FOOTER ──────────────────────────────────────────────────────────── */
footer {
  padding: 40px 8%;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.foot-logo { font-size: 13px; font-weight: 900; text-decoration: none; }
.foot-logo .d { color: rgba(255,255,255,0.3); }
.foot-logo .b { color: rgba(224,69,122,0.5); }
.foot-text { font-size: 12px; color: rgba(245,240,234,0.15); }

/* ── REVEAL-ON-SCROLL ────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
