/* ============================================================
   realoraivideo.com — theme layer
   Loaded AFTER /styles.css (the shared Digilu chrome). Recolors the
   header / footer / mega-menu to the realoraivideo palette and styles
   every homepage + analysis section. Cinematic, editorial, dark.
   ============================================================ */

:root {
  --rv-bg:      #0D0D0F;   /* primary background */
  --rv-bg-2:    #16181D;   /* secondary background / cards */
  --rv-bg-3:    #1D2026;   /* raised surfaces */
  --rv-text:    #F5F3EE;   /* primary text */
  --rv-text-2:  #9CA3AF;   /* secondary text */
  --rv-accent:  #C89B3C;   /* gold accent */
  --rv-accent-soft: rgba(200,155,60,0.12);
  --rv-line:    rgba(245,243,238,0.08);
  --rv-line-2:  rgba(245,243,238,0.14);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
}

/* ── Base recolor ─────────────────────────────────────────── */
body {
  background-color: var(--rv-bg);
  color: var(--rv-text);
  font-size: 17px;
}
::selection { background: var(--rv-accent); color: #0D0D0F; }

/* ── Header / nav recolor (structure unchanged) ───────────── */
.site-header.scrolled {
  background-color: rgba(13,13,15,0.94);
  border-bottom: 1px solid var(--rv-line);
}
.nav-cta {
  background-color: var(--rv-accent) !important;
  color: #0D0D0F !important;
  border-color: var(--rv-accent) !important;
}
.nav-cta:hover { background-color: #d8ab4c !important; }
.mega-menu { background-color: var(--rv-bg-2); border-top: 3px solid var(--rv-accent); }
.mega-intro-head { font-family: var(--font-serif); font-weight: 600; font-size: 32px; text-transform: none; letter-spacing: -0.01em; }
.mega-intro-cta:hover, .mega-link-cta { color: var(--rv-accent); }
.mega-col-head { color: var(--rv-accent); }

/* ── Footer recolor ───────────────────────────────────────── */
footer { background-color: var(--rv-bg-2); }
.footer-links { background-color: var(--rv-bg); }
.footer-cta { background-color: var(--rv-accent); color: #0D0D0F; }
.footer-cta:hover { background-color: #d8ab4c; }
.footer-nav-primary a:hover { color: var(--rv-accent); }
.footer-brand .footer-logo { height: 40px; }
.footer-wordmark {
  font-family: var(--font-serif); font-weight: 600; font-size: 30px;
  color: var(--rv-text); letter-spacing: -0.01em; margin-bottom: 10px;
}
.footer-wordmark b { color: var(--rv-accent); font-weight: 600; }

/* ── Shared layout helpers ────────────────────────────────── */
.rv-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.rv-container--narrow { max-width: 820px; }
.rv-section { padding: 96px 0; }
.rv-section--alt { background: var(--rv-bg-2); }
.rv-label {
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--rv-accent);
  margin: 0 0 18px;
}
.rv-h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08;
  letter-spacing: -0.01em; color: var(--rv-text); margin: 0 0 20px;
}
.rv-h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.6rem; color: var(--rv-text); margin: 0 0 10px; }
.rv-lede { font-size: 1.15rem; color: var(--rv-text-2); line-height: 1.7; max-width: 680px; }
.rv-p { color: var(--rv-text-2); line-height: 1.8; margin: 0 0 1.1rem; }
.rv-p strong, .rv-p b { color: var(--rv-text); font-weight: 600; }
.rv-center { text-align: center; }
.rv-center .rv-lede { margin-left: auto; margin-right: auto; }

/* ── Section 1: Hero (the product) ────────────────────────── */
.rv-hero {
  min-height: 100svh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 120px 24px 80px; position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(200,155,60,0.10), transparent 60%),
    linear-gradient(180deg, #0B0B0D 0%, #0D0D0F 60%, #0D0D0F 100%);
}
.rv-hero-eyebrow {
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em; color: var(--rv-text-2);
  margin: 0 0 28px;
}
.rv-hero-eyebrow .dot { color: var(--rv-accent); }
.rv-hero-h1 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(2.8rem, 8vw, 6rem); line-height: 0.98;
  letter-spacing: -0.02em; color: var(--rv-text); margin: 0 0 22px;
}
.rv-hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--rv-text-2);
  line-height: 1.6; max-width: 620px; margin: 0 auto 44px;
}
.rv-analyzer { width: 100%; max-width: 760px; margin: 0 auto; }
.rv-analyzer-row {
  display: flex; gap: 10px; background: var(--rv-bg-2);
  border: 1px solid var(--rv-line-2); border-radius: 14px; padding: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55); transition: border-color 0.2s ease;
}
.rv-analyzer-row:focus-within { border-color: var(--rv-accent); }
.rv-analyzer-input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--rv-text); font-family: 'Inter', sans-serif; font-size: 1.05rem;
  padding: 16px 18px; min-width: 0;
}
.rv-analyzer-input::placeholder { color: #6B7280; }
.rv-btn {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1rem;
  background: var(--rv-accent); color: #0D0D0F; border: none; border-radius: 9px;
  padding: 16px 30px; cursor: pointer; white-space: nowrap;
  transition: background 0.2s ease, transform 0.1s ease;
}
.rv-btn:hover { background: #d8ab4c; }
.rv-btn:active { transform: translateY(1px); }
.rv-btn:disabled { opacity: 0.6; cursor: default; }
.rv-btn--ghost { background: transparent; color: var(--rv-text); border: 1px solid var(--rv-line-2); }
.rv-btn--ghost:hover { background: rgba(255,255,255,0.04); border-color: var(--rv-accent); }
.rv-btn--lg { padding: 18px 38px; font-size: 1.05rem; }
.rv-analyzer-note { margin: 18px 0 0; font-size: 0.85rem; color: #6B7280; }
.rv-analyzer-error { margin: 14px 0 0; font-size: 0.9rem; color: #E0726B; min-height: 1em; }
.rv-hero-scroll { margin-top: 64px; color: var(--rv-text-2); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; }

/* ── Editorial cards (Why this exists) ────────────────────── */
.rv-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rv-line); border: 1px solid var(--rv-line); border-radius: 12px; overflow: hidden; }
.rv-card { background: var(--rv-bg); padding: 38px 34px; }
.rv-card .stat { font-family: var(--font-serif); font-weight: 600; font-size: 2.7rem; color: var(--rv-accent); line-height: 1; margin: 0 0 14px; }
.rv-card .stat-label { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.98rem; color: var(--rv-text); margin: 0 0 10px; }
.rv-card p { font-size: 0.92rem; color: var(--rv-text-2); line-height: 1.65; margin: 0; }
.rv-card .src { display: inline-block; margin-top: 14px; font-size: 0.78rem; color: #6B7280; }
.rv-card .src a { color: #6B7280; text-decoration: underline; text-underline-offset: 2px; }
.rv-card .src a:hover { color: var(--rv-accent); }

/* ── Trust signal categories ──────────────────────────────── */
.rv-signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rv-signal {
  background: var(--rv-bg-2); border: 1px solid var(--rv-line);
  border-radius: 12px; padding: 26px 24px; transition: border-color 0.2s ease, transform 0.2s ease;
}
.rv-signal:hover { border-color: var(--rv-accent); transform: translateY(-3px); }
.rv-signal .ico { width: 34px; height: 34px; color: var(--rv-accent); margin-bottom: 16px; }
.rv-signal h4 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1.02rem; color: var(--rv-text); margin: 0 0 8px; }
.rv-signal p { font-size: 0.88rem; color: var(--rv-text-2); line-height: 1.6; margin: 0; }
.rv-signal .tag { display: inline-block; margin-top: 14px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; padding: 3px 9px; border-radius: 100px; border: 1px solid var(--rv-line-2); color: var(--rv-text-2); }
.rv-signal .tag--free { color: var(--rv-accent); border-color: rgba(200,155,60,0.4); }

/* ── AI dupes (video embeds) ──────────────────────────────── */
.rv-embed-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.rv-embed { background: var(--rv-bg-2); border: 1px solid var(--rv-line); border-radius: 14px; overflow: hidden; }
.rv-embed-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.rv-embed-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rv-embed-body { padding: 22px 24px 26px; }
.rv-embed-body h4 { font-family: var(--font-serif); font-weight: 600; font-size: 1.35rem; color: var(--rv-text); margin: 0 0 8px; line-height: 1.2; }
.rv-embed-body p { font-size: 0.92rem; color: var(--rv-text-2); line-height: 1.65; margin: 0 0 14px; }
.rv-embed-meta { display: flex; gap: 14px; align-items: center; font-size: 0.78rem; color: #6B7280; }
.rv-embed-meta a { color: var(--rv-accent); text-decoration: none; }
.rv-embed-meta a:hover { text-decoration: underline; }

/* ── Essays list ──────────────────────────────────────────── */
.rv-essay-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rv-line); border: 1px solid var(--rv-line); border-radius: 12px; overflow: hidden; }
.rv-essay { background: var(--rv-bg); padding: 34px 32px; display: block; transition: background 0.2s ease; }
.rv-essay:hover { background: var(--rv-bg-2); }
.rv-essay .kicker { font-family: 'Inter', sans-serif; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--rv-accent); margin: 0 0 12px; }
.rv-essay h4 { font-family: var(--font-serif); font-weight: 600; font-size: 1.5rem; color: var(--rv-text); margin: 0 0 10px; line-height: 1.15; }
.rv-essay p { font-size: 0.92rem; color: var(--rv-text-2); line-height: 1.6; margin: 0; }
.rv-essay .more { display: inline-block; margin-top: 16px; font-size: 0.85rem; font-weight: 600; color: var(--rv-accent); }

/* ── Media / speaking ─────────────────────────────────────── */
.rv-media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.rv-form-card { background: var(--rv-bg-2); border: 1px solid var(--rv-line); border-radius: 16px; padding: 40px 38px; }
.rv-field { margin-bottom: 16px; }
.rv-field label { display: block; font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--rv-text-2); margin-bottom: 7px; }
.rv-input, .rv-textarea, .rv-select {
  width: 100%; box-sizing: border-box; background: rgba(255,255,255,0.04);
  border: 1px solid var(--rv-line-2); border-radius: 8px; padding: 12px 14px;
  color: var(--rv-text); font-family: 'Inter', sans-serif; font-size: 0.98rem;
  transition: border-color 0.2s ease;
}
.rv-input:focus, .rv-textarea:focus, .rv-select:focus { outline: none; border-color: var(--rv-accent); }
.rv-textarea { resize: vertical; min-height: 110px; }
.rv-form-status { display: none; margin-top: 14px; font-size: 0.9rem; color: var(--rv-text-2); }

/* ── Closing line ─────────────────────────────────────────── */
.rv-closing { padding: 110px 24px; text-align: center; background:
  radial-gradient(900px 400px at 50% 120%, rgba(200,155,60,0.10), transparent 60%), var(--rv-bg); }
.rv-closing .line { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(1.8rem, 4.5vw, 3.2rem); line-height: 1.2; color: var(--rv-text); max-width: 900px; margin: 0 auto; }
.rv-closing .line b { color: var(--rv-accent); font-style: normal; font-weight: 600; }

/* ── Result / analysis page ───────────────────────────────── */
.rv-result-head { padding: 130px 0 40px; border-bottom: 1px solid var(--rv-line); }
.rv-breadcrumb { font-size: 0.82rem; color: #6B7280; margin-bottom: 18px; }
.rv-breadcrumb a { color: #6B7280; } .rv-breadcrumb a:hover { color: var(--rv-accent); }
.rv-result-layout { display: grid; grid-template-columns: 360px 1fr; gap: 36px; align-items: start; padding: 48px 0 96px; }
.rv-verdict-card { position: sticky; top: 96px; background: var(--rv-bg-2); border: 1px solid var(--rv-line); border-radius: 16px; padding: 30px; }
.rv-verdict-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--rv-text-2); margin: 0 0 14px; }
.rv-verdict-band { display: inline-block; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.95rem; padding: 8px 16px; border-radius: 100px; margin-bottom: 8px; }
.rv-likelihood { margin: 22px 0 6px; }
.rv-likelihood .bar { height: 8px; border-radius: 100px; background: rgba(255,255,255,0.08); overflow: hidden; }
.rv-likelihood .fill { height: 100%; border-radius: 100px; background: var(--rv-accent); width: 0; transition: width 1s ease; }
.rv-likelihood .scale { display: flex; justify-content: space-between; font-size: 0.72rem; color: #6B7280; margin-top: 8px; }
.rv-band-high { background: rgba(224,114,107,0.16); color: #E0726B; }
.rv-band-elevated { background: rgba(200,155,60,0.18); color: var(--rv-accent); }
.rv-band-moderate { background: rgba(200,155,60,0.12); color: var(--rv-accent); }
.rv-band-low { background: rgba(92,184,116,0.16); color: #6FBF86; }
.rv-band-inconclusive { background: rgba(156,163,175,0.16); color: var(--rv-text-2); }
.rv-video-meta { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--rv-line); font-size: 0.85rem; color: var(--rv-text-2); }
.rv-video-meta strong { color: var(--rv-text); font-weight: 600; }

.rv-block { background: var(--rv-bg-2); border: 1px solid var(--rv-line); border-radius: 16px; padding: 30px 32px; margin-bottom: 24px; }
.rv-block--flag { border-color: rgba(200,155,60,0.22); }
.rv-signal-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.rv-signal-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 0.95rem; color: var(--rv-text); line-height: 1.55; }
.rv-signal-list .badge { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; margin-top: 1px; border: 1px solid; }
.rv-signal-list .b-flag { color: var(--rv-accent); border-color: var(--rv-accent); }
.rv-signal-list .b-info { color: var(--rv-text-2); border-color: var(--rv-line-2); }
.rv-signal-list .b-clear { color: #6FBF86; border-color: #6FBF86; }
.rv-signal-list .sub { color: var(--rv-text-2); font-weight: 400; }

.rv-locked-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rv-locked { position: relative; background: var(--rv-bg); border: 1px solid var(--rv-line); border-radius: 12px; padding: 20px; }
.rv-locked h5 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.92rem; color: var(--rv-text); margin: 0 0 6px; }
.rv-locked p { font-size: 0.8rem; color: var(--rv-text-2); margin: 0; line-height: 1.5; }
.rv-locked .lock { position: absolute; top: 16px; right: 16px; color: #6B7280; }
.rv-bullets { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 11px; }
.rv-bullets li { position: relative; padding-left: 22px; color: var(--rv-text-2); line-height: 1.6; font-size: 0.95rem; }
.rv-bullets li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--rv-accent); }

/* ── Article / long-form ──────────────────────────────────── */
.rv-article { padding: 130px 0 96px; }
.rv-article h1 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 18px; }
.rv-article .meta { font-size: 0.85rem; color: #6B7280; margin-bottom: 36px; }
.rv-article h2 { font-family: var(--font-serif); font-weight: 600; font-size: 1.9rem; color: var(--rv-text); margin: 44px 0 14px; }
.rv-article p { color: #C9CDD6; line-height: 1.85; margin: 0 0 1.3rem; font-size: 1.08rem; }
.rv-article a { color: var(--rv-accent); text-decoration: underline; text-underline-offset: 2px; }
.rv-article blockquote { border-left: 3px solid var(--rv-accent); padding: 6px 0 6px 24px; margin: 28px 0; font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; color: var(--rv-text); }
.rv-article ul.rv-refs { list-style: none; padding: 0; margin: 16px 0 0; }
.rv-article ul.rv-refs li { font-size: 0.9rem; color: var(--rv-text-2); padding: 8px 0; border-top: 1px solid var(--rv-line); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 980px) {
  .rv-card-grid, .rv-signal-grid { grid-template-columns: repeat(2, 1fr); }
  .rv-embed-grid, .rv-essay-list, .rv-media-grid, .rv-locked-grid { grid-template-columns: 1fr; }
  .rv-result-layout { grid-template-columns: 1fr; }
  .rv-verdict-card { position: static; }
}
@media (max-width: 560px) {
  .rv-card-grid, .rv-signal-grid { grid-template-columns: 1fr; }
  .rv-analyzer-row { flex-direction: column; }
  .rv-btn { width: 100%; }
  .rv-section { padding: 64px 0; }
}
