/* ── Revealed: Shared Nav + Footer ───────────────────────────────────────
   Included on all marketing pages. Do not put page-specific styles here.
   ──────────────────────────────────────────────────────────────────────── */

/* Dark background and base font for all pages */
html, body {
  background: #080808;
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Push content below fixed nav on sub-pages */
body.rv-subpage { padding-top: 64px; }

/* ── NAV ─────────────────────────────────────────── */
.rv-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px;
  background: rgba(8,8,8,0.55);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rv-nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 60px;
  height: 100%; display: flex; align-items: center;
}
.rv-nav-logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0; margin-right: auto;
}
.rv-nav-logo img { height: 26px; width: auto; display: block; }
.rv-nav-links {
  display: flex; align-items: stretch; gap: 0;
  list-style: none; margin: 0; padding: 0; margin-right: 24px; height: 100%;
}
.rv-nav-item { position: relative; display: flex; align-items: center; }
.rv-nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 0 14px; height: 100%;
  font-size: 14px; font-weight: 500;
  color: #f0eee8; text-decoration: none;
  transition: color 0.15s; white-space: nowrap;
}
.rv-nav-link:hover,
.rv-nav-item:hover .rv-nav-link { color: #f0eee8; }
.rv-nav-arrow {
  font-size: 9px; opacity: 0.5;
  transition: transform 0.15s; display: inline-block;
}
.rv-nav-item:hover .rv-nav-arrow { transform: rotate(180deg); }
.rv-nav-drop {
  position: absolute; top: 100%; left: 0;
  min-width: 200px; list-style: none; margin: 0; padding: 14px 6px 6px;
  margin-top: -8px; /* invisible hover bridge so mouse doesn't fall through */
  background: rgba(10,10,10,0.97);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0s linear 0.15s;
  pointer-events: none;
}
.rv-nav-item:hover .rv-nav-drop,
.rv-nav-item:focus-within .rv-nav-drop {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity 0.15s, transform 0.15s, visibility 0s;
  pointer-events: auto;
}
.rv-nav-drop li a {
  display: block; padding: 8px 12px;
  font-size: 13.5px; color: rgba(232,230,224,0.6);
  text-decoration: none; border-radius: 6px;
  transition: background 0.1s, color 0.1s; white-space: nowrap;
}
.rv-nav-drop li a:hover { background: rgba(255,255,255,0.05); color: #f0eee8; }
.rv-nav-drop-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 4px 8px; }
.rv-nav-drop li a.rv-portal-tal { color: #2dd4bf; font-weight: 600; }
.rv-nav-drop li a.rv-portal-tal:hover { background: rgba(45,212,191,0.08); color: #2dd4bf; }
.rv-nav-drop li a.rv-portal-emp { color: #a5a3f5; font-weight: 600; }
.rv-nav-drop li a.rv-portal-emp:hover { background: rgba(105,103,227,0.1); color: #a5a3f5; }
.rv-nav-ctas { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.rv-nav-btn {
  display: inline-flex; align-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 600; line-height: 1;
  padding: 9px 16px; border-radius: 6px;
  text-decoration: none; white-space: nowrap;
  transition: opacity 0.15s, transform 0.15s; cursor: pointer;
}
.rv-nav-btn:hover { opacity: 0.82; transform: translateY(-1px); }
.rv-nav-btn-tal { background: rgba(45,212,191,0.08); color: #2dd4bf !important; border: 1px solid rgba(45,212,191,0.28); }
.rv-nav-btn-emp { background: rgba(105,103,227,0.1); color: #a5a3f5 !important; border: 1px solid rgba(105,103,227,0.3); }
.rv-nav-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px; padding: 6px;
  background: none; border: none; cursor: pointer; margin-left: 12px;
}
.rv-nav-hamburger span {
  display: block; height: 1.5px; background: rgba(232,230,224,0.7);
  border-radius: 2px; transition: transform 0.2s, opacity 0.2s;
}
.rv-nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.rv-nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.rv-nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay */
.rv-nav-mobile {
  display: none; position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0; z-index: 150;
  background: linear-gradient(160deg, rgba(14,10,26,1) 0%, #080808 60%);
  border-top: 1px solid transparent;
  background-image:
    linear-gradient(160deg, rgba(14,10,26,1) 0%, #080808 60%),
    linear-gradient(90deg, transparent 0%, rgba(105,103,227,0.5) 35%, rgba(45,212,191,0.35) 65%, transparent 100%);
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  padding: 32px 24px; overflow-y: auto;
  flex-direction: column; gap: 0;
}
.rv-nav-mobile.is-open { display: flex; }
.rv-nav-mobile-section { border-bottom: 1px solid rgba(255,255,255,0.06); padding: 4px 0; }
.rv-nav-mobile-title { display: block; padding: 14px 4px; font-size: 15px; font-weight: 600; color: #f0eee8; text-decoration: none; }
.rv-nav-mobile-sub { padding: 0 0 12px 16px; display: flex; flex-direction: column; gap: 0; }
.rv-nav-mobile-sub a { display: block; padding: 9px 4px; font-size: 14px; color: rgba(232,230,224,0.67); text-decoration: none; }
.rv-nav-mobile-sub a:hover { color: #f0eee8; }
.rv-nav-mobile-sub a.rv-portal-tal { color: #2dd4bf; font-weight: 600; }
.rv-nav-mobile-sub a.rv-portal-emp { color: #a5a3f5; font-weight: 600; }
.rv-nav-mobile-ctas { display: flex; flex-direction: column; gap: 10px; padding-top: 28px; }
.rv-nav-mobile-ctas .rv-nav-btn { justify-content: center; padding: 14px 20px; font-size: 14px; }

/* ── FOOTER ──────────────────────────────────────── */
.rv-footer {
  background: #080808; color: #e8e6e0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 0;
}
.rv-footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 60px; }
.rv-footer-top { display: flex; gap: 80px; padding-bottom: 56px; }
.rv-footer-brand { flex-shrink: 0; max-width: 240px; }
.rv-footer-logo { text-decoration: none; display: block; margin-bottom: 12px; }
.rv-footer-logo img { height: 22px; width: auto; display: block; }
.rv-footer-tagline { font-size: 13px; line-height: 1.6; color: rgba(232,230,224,0.53); }
.rv-footer-cols { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.rv-footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(232,230,224,0.63); margin-bottom: 16px; }
.rv-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rv-footer-col a { font-size: 13.5px; color: rgba(232,230,224,0.67); text-decoration: none; transition: color 0.15s; }
.rv-footer-col a:hover { color: #f0eee8; }
.rv-footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; }
.rv-footer-bottom span, .rv-footer-legal a { font-size: 12px; color: rgba(232,230,224,0.58); }
.rv-footer-legal { display: flex; gap: 20px; }
.rv-footer-legal a { text-decoration: none; transition: color 0.15s; }
.rv-footer-legal a:hover { color: rgba(232,230,224,0.6); }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
  .rv-nav-links { display: none; }
  .rv-nav-ctas { display: none; }
  .rv-nav-hamburger { display: flex; }
  .rv-nav-inner { padding: 0 40px; }
}
@media (max-width: 860px) {
  .rv-nav-inner { padding: 0 24px; }
  .rv-footer-top { flex-direction: column; gap: 40px; }
  .rv-footer-inner { padding: 0 32px; }
  .rv-footer-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .rv-footer-brand { max-width: 100%; }
}
@media (max-width: 540px) {
  .rv-footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .rv-footer-inner { padding: 0 24px; }
}
