/* ============================================
   main.css - Consolidated styles for Rightmos
   ============================================ */

/* --- Common: Desktop Dropdown --- */
.dropdown-menu { opacity: 0; visibility: hidden; transform: translateY(-4px); transition: all 0.2s ease; pointer-events: none; }
.dropdown-group:hover .dropdown-menu, .dropdown-menu.show { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.dropdown-group:hover > a { color: #ffffff !important; }
.dropdown-group::before { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 0.5rem; }

/* --- Common: Mobile Submenu --- */
.submenu-items { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.submenu-items.open { max-height: 500px; }

/* --- Common: Mobile Menu --- */
@media (max-width: 767px) {
  #mobile-menu {
    min-height: 100dvh;
  }
}

/* --- Body: Main palette (index, products, services, for_who, about_us, collect, apollo, aio, streaming, ugc, vod) --- */
body {
  background-color: #141313;
  color: #e5e2e1;
  overflow-x: hidden;
}

/* --- Body: Alternate dark palette (error, 404, contact_us) --- */
body.body-alt {
  background-color: #071617;
  color: #d5e6e7;
  -webkit-font-smoothing: antialiased;
}

/* --- Body: for_who.html --- */
body.body-for-who {
  background-color: #141313;
  color: #e6e1e1;
  font-family: 'Inter', sans-serif;
}

/* --- Data Visual Container (index.html) --- */
.data-visual-container {
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

/* --- No Scrollbar variant 1: .no-scrollbar (index, collect) --- */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* --- Hide Scrollbar variant 2: .hide-scrollbar (about_us, collect) --- */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* --- Scrollbar Hide variant 3: .scrollbar-hide (privacy/legal/cookie) --- */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* --- Glass Card: index.html (canonical) --- */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Glass Card: error.html / 404error.html variant --- */
.glass-card-alt {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
}
.glass-card-alt:hover {
  border-color: rgba(255, 255, 255, 0.30);
}

/* --- Glass Card: products.html hover --- */
.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

/* --- Glass Card: contact_us.html variant --- */
.glass-card-contact {
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.glass-card-contact:hover {
  border-color: rgba(255, 255, 255, 0.30);
}

/* --- Glass Card: collect.html variant --- */
.glass-card-collect {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-card-collect:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

/* --- Glass Card: apollo.html variant --- */
.glass-card-apollo {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.glass-card-apollo:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

/* --- Glass: vod.html (different from glass-card) --- */
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.glass-hover:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

/* --- Process Node (index, for_who) --- */
.process-node:hover .node-circle {
  background: #ffffff;
  color: #000000;
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(255,255,255,0.2);
}
.node-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Pill Button (for_who.html) --- */
.pill-button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.pill-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

/* --- Material Symbols: index.html (wght not set) --- */

/* --- Material Symbols: wght 300 (products, services, for_who, collect, aio) --- */
.material-symbols-outlined-wght-300 {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* --- Material Symbols: wght 400 (error, 404, contact_us, streaming) --- */
.material-symbols-outlined-wght-400 {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* --- Material Symbols: streaming.html inline-block + vertical-align --- */
.material-symbols-outlined-streaming {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  vertical-align: middle;
}

/* --- Mobile Menu: JS-based (#mobile-menu.open) (index, for_who, collect) --- */
#mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* --- Mobile Menu: checkbox-based (#mobile-menu-toggle:checked ~ #mobile-menu) (products, services, about_us, contact_us, error, 404, apollo, aio, streaming, ugc, vod, privacy, legal, cookie) --- */
#mobile-menu-toggle:checked ~ #mobile-menu {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* --- Inner Glow: box-shadow variant 1 (services, streaming, aio, vod) --- */
.inner-glow {
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

/* --- Inner Glow: box-shadow variant 2 (streaming.html specific) --- */
.inner-glow-streaming {
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.15);
}

/* --- Inner Glow: box-shadow variant 3 (vod.html) --- */
.inner-glow-vod {
  box-shadow: 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* --- Inner Glow: border-top/left variant (ugc.html) --- */
.inner-glow-border {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Inner Glow: privacy/legal/cookie variant --- */
.inner-glow-legal {
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

/* --- Text Gradient (products.html) --- */
.premium-gradient-text {
  background: linear-gradient(to bottom right, #ffffff 30%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Text Gradient (apollo.html 180deg) --- */
.text-gradient {
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Text Gradient (aio.html rgba variant) --- */
.text-gradient-rgba {
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(161,161,170,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Text Glow (about_us.html) --- */
.text-glow {
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

/* --- BG Grid White (about_us.html) --- */
.bg-grid-white {
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* --- Form focus (contact_us.html) --- */
input:focus,
textarea:focus {
  outline: none;
  border-color: #ffffff !important;
}

/* --- Hero Gradient (collect.html) --- */
.hero-gradient {
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

/* --- Tech Line (collect.html) --- */
.tech-line {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

/* --- Custom Scrollbar (collect.html) --- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #0e0e0e;
}
::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 10px;
}

/* --- Animation: subtle drift (error.html, 404error.html) --- */
.animate-subtle-drift {
  animation: drift 20s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(-20px, 10px); }
}

/* --- Nav active (apollo.html) --- */
.nav-active {
  color: #ffffff;
  border-bottom: 1px solid #ffffff;
}

/* --- Glass Header (privacy/legal/cookie) --- */
.glass-header {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Glass Nav (privacy/legal/cookie) --- */
.glass-nav {
  background: rgba(20, 19, 19, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Smooth Scroll (privacy/legal/cookie) --- */
html {
  scroll-behavior: smooth;
}
#logo-rightmos-footer   {
	margin-left:6px;
}
.sunflower {
  color: #F1C40F;
}
.fa {
  display: inline-block;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}