/* ==========================================================================
   LOGIVON ARCHITECTURAL LUXURY DESIGN SYSTEM
   Palette: Pure Jet Black (#000000), Luxury Gold (#DCA54A, #F3C969), Crisp White (#FFFFFF)
   Typography: Inter (Headings & Body), JetBrains Mono (Kickers, Stats, Code)
   Fully Mobile Responsive (iPhone, Android, Tablets, Laptops, 4K Desktops)
   100% Theme Customizer & Page Builder Editable
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors: Strict Jet Black, Gold, White */
  --color-black: #000000;
  --color-bg-dark: #000000;
  --color-surface-dark: #070707;
  --color-card: rgba(12, 12, 12, 0.88);
  --color-card-border: rgba(255, 255, 255, 0.1);
  --color-gold: #DCA54A;
  --color-gold-light: #F3C969;
  --color-white: #FFFFFF;
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #E4E4E7;
  --color-text-muted: #A1A1AA;
  
  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Resizable Header & Footer Tokens (Customizer Controlled) */
  --logivon-header-height: 72px;
  --logivon-header-padding: 14px;
  --logivon-logo-width: 130px;
  --logivon-footer-padding: 60px;
}

/* Custom Luxury Gold Scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: #DCA54A #000000;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background-color: #000000;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #000000;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #DCA54A 0%, #F3C969 50%, #DCA54A 100%);
  border-radius: 9999px;
  border: 1.5px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #F3C969 0%, #FFFFFF 50%, #F3C969 100%);
  box-shadow: 0 0 12px rgba(220, 165, 74, 0.8);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background-color: var(--color-bg-dark);
  color: var(--color-text-primary);
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--color-bg-dark);
  color: var(--color-text-primary);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-image: 
    radial-gradient(ellipse 70% 40% at 50% -10%, rgba(220, 165, 74, 0.12), transparent 70%),
    radial-gradient(ellipse 50% 30% at 90% 40%, rgba(220, 165, 74, 0.05), transparent 60%),
    radial-gradient(ellipse 50% 30% at 10% 70%, rgba(220, 165, 74, 0.04), transparent 60%);
  background-attachment: fixed;
}

::selection {
  background: var(--color-gold);
  color: var(--color-black);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #000000;
}
::-webkit-scrollbar-thumb {
  background: rgba(220, 165, 74, 0.35);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(220, 165, 74, 0.7);
}

/* Typography Utilities */
.font-mono { font-family: var(--font-mono); }
.font-sans { font-family: var(--font-sans); }

/* Luxury Glassmorphism Cards (Pure Black Base) */
.glass-card {
  background: var(--color-card);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--color-card-border);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.9), inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  position: relative;
}

.glass-card-hover {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-hover:hover {
  background: rgba(18, 18, 18, 0.95);
  border-color: rgba(220, 165, 74, 0.5);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.95), 0 0 30px rgba(220, 165, 74, 0.15), inset 0 1px 0 0 rgba(220, 165, 74, 0.25);
  transform: translateY(-3px);
}

.glass-input {
  background: rgba(18, 18, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transition: all 0.2s ease;
  outline: none;
  font-family: inherit;
  font-size: 16px; /* Prevents auto-zoom on mobile iOS */
}

.glass-input:focus {
  background: rgba(25, 25, 25, 0.98);
  border-color: var(--color-gold);
  box-shadow: 0 0 16px rgba(220, 165, 74, 0.3);
}

/* Side Architectural Pattern Rails */
.side-pattern-rail-left {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 24px;
  pointer-events: none;
  z-index: 40;
  opacity: 0.3;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(220, 165, 74, 0.4) 0px,
    rgba(220, 165, 74, 0.4) 1px,
    transparent 1px,
    transparent 16px
  );
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.side-pattern-rail-right {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 24px;
  pointer-events: none;
  z-index: 40;
  opacity: 0.3;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(220, 165, 74, 0.4) 0px,
    rgba(220, 165, 74, 0.4) 1px,
    transparent 1px,
    transparent 16px
  );
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) {
  .side-pattern-rail-left,
  .side-pattern-rail-right {
    display: none !important;
  }
}

/* ==========================================================================
   HEADER & NAVIGATION
   Glassy look activates upon scrolling
   Dropdown overflow strictly fixed
   ========================================================================== */
.logivon-header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: var(--logivon-header-padding) 16px;
  width: 100%;
}

@media (min-width: 768px) {
  .logivon-header-wrap {
    padding: var(--logivon-header-padding) 24px;
  }
}

.logivon-header-wrap.scrolled {
  padding: 8px 16px;
}

@media (min-width: 768px) {
  .logivon-header-wrap.scrolled {
    padding: 10px 24px;
  }
}

.logivon-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-radius: 20px;
  background: transparent;
  border: 1px solid transparent;
  position: relative; /* Anchor for centered mega dropdown */
  min-height: var(--logivon-header-height);
}

.logivon-header-wrap.scrolled .logivon-header-inner {
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  outline: 1px solid rgba(220, 165, 74, 0.25);
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: var(--logivon-logo-width);
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
  transition: transform 0.2s, max-width 0.2s;
}

@media (min-width: 768px) {
  .brand-logo-img {
    height: 44px;
  }
}

/* Navigation items */
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: #d4d4d8;
  border-radius: 9999px;
  transition: all 0.2s ease;
  position: relative;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: var(--color-gold-light);
  background: rgba(255, 255, 255, 0.1);
}

/* 5-Column Mega Dropdown (NO OVERFLOW FIX) */
.services-menu-item {
  position: static !important; /* Positions dropdown relative to .logivon-header-inner container */
}

.services-mega-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: calc(100% - 24px);
  max-width: 1160px;
  background: rgba(8, 8, 8, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.98), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  outline: 1px solid rgba(220, 165, 74, 0.35);
  border-radius: 20px;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
  box-sizing: border-box;
}

.services-menu-item:hover .services-mega-dropdown,
.services-menu-item.open .services-mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(12px);
}

.services-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

@media (max-width: 1180px) {
  .services-grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .services-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dropdown-card {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
}

.dropdown-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(220, 165, 74, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.dropdown-card .card-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 8px;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.dropdown-card:hover .card-title {
  color: var(--color-gold-light);
}

.dropdown-card .card-desc {
  font-size: 11px;
  color: #a1a1aa;
  line-height: 1.45;
  margin: 0;
}

/* Highlighted "Book 15-Min Call" CTA Button */
.btn-book-call {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #DCA54A, #F3C969, #DCA54A);
  background-size: 200% auto;
  color: #000000;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 25px rgba(220, 165, 74, 0.45);
  transition: all 0.35s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-book-call:hover {
  background-position: right center;
  box-shadow: 0 6px 35px rgba(220, 165, 74, 0.7);
  transform: scale(1.03);
}

.btn-book-call:active {
  transform: scale(0.98);
}

.btn-book-call::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  pointer-events: none;
}

.btn-book-call:hover::before {
  left: 125%;
}

/* Pulsing Availability Beacon Dot */
.ping-beacon {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #000000;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.ping-beacon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 9999px;
  background: #000000;
  opacity: 0.5;
  animation: pingDot 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingDot {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Responsive CTA visibility rules */
.hero-book-btn {
  display: inline-flex !important;
}

.header-book-btn {
  display: none !important;
}

@media (min-width: 768px) {
  .header-book-btn {
    display: inline-flex !important;
  }
}

/* Header Cart Icon & Badge */
.header-cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-cart-btn:hover {
  background: rgba(220, 165, 74, 0.15);
  border-color: var(--color-gold);
  color: var(--color-gold-light);
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(90deg, #DCA54A, #F3C969);
  color: #000000;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* Header Search & Auth Buttons */
.header-search-btn {
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #a1a1aa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.header-search-btn:hover {
  background: rgba(220, 165, 74, 0.12);
  border-color: rgba(220, 165, 74, 0.35);
  color: #F3C969;
}

.header-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  max-width: 140px;
}
.header-auth-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-auth-btn:hover {
  background: rgba(220, 165, 74, 0.15);
  border-color: rgba(220, 165, 74, 0.4);
  color: #F3C969;
}
.header-auth-btn.header-auth-logged {
  border-color: rgba(220, 165, 74, 0.35);
  color: #F3C969;
}

/* Mobile Hamburger Trigger */
.mobile-menu-trigger {
  width: 40px;
  height: 40px;
  min-width: 40px;
  flex-shrink: 0 !important;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-menu-trigger:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-gold);
}

@media (min-width: 1024px) {
  .mobile-menu-trigger {
    display: none !important;
  }
}

/* Mobile Menu Drawer */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(380px, 86vw);
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 100000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.9);
}

.mobile-menu-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* ==========================================================================
   SLIDE-OUT CART DRAWER
   ========================================================================== */
#logivon-cart-drawer {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  width: min(440px, 92vw) !important;
  max-width: 100vw;
  background: #080808 !important;
  border-left: 1px solid rgba(220, 165, 74, 0.25) !important;
  z-index: 100001 !important;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: -25px 0 80px rgba(0, 0, 0, 0.98);
  pointer-events: none;
  visibility: hidden;
}

#logivon-cart-drawer.open {
  transform: translateX(0) !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 14, 14, 0.95);
}

/* ==========================================================================
   CINEMATIC HERO & VIDEO BACKGROUND (IMMERSIVE LUXURY PROPORTIONS)
   ========================================================================== */
.logivon-hero-section {
  position: relative !important;
  width: 100% !important;
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 130px 24px 90px !important;
  overflow: hidden !important;
  background: #000000 !important;
  box-sizing: border-box !important;
}

@media (min-width: 768px) {
  .logivon-hero-section {
    padding: 140px 32px 100px !important;
  }
}

/* Breakout to full viewport if wrapped inside boxed Elementor sections or containers */
.elementor-widget-logivon_hero .logivon-hero-section,
.elementor-widget-logivon_hero_widget .logivon-hero-section,
.elementor-widget-shortcode .logivon-hero-section,
.elementor-section.elementor-section-boxed .elementor-widget-logivon_hero .logivon-hero-section,
.elementor-section.elementor-section-boxed .elementor-widget-shortcode .logivon-hero-section {
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  max-width: 100vw !important;
}

/* Cinematic Video Background - Expanded Immersive Scale & Coverage */
.hero-video-bg {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: translate(-50%, -50%) scale(1.32) !important;
  transform-origin: center center !important;
  z-index: 1 !important;
  opacity: 0.46 !important;
  filter: contrast(112%) brightness(95%) !important;
  pointer-events: none !important;
  will-change: transform;
}

@media (min-width: 1600px) {
  .hero-video-bg {
    transform: translate(-50%, -50%) scale(1.38) !important;
  }
}

@media (max-width: 1199px) and (min-width: 768px) {
  .hero-video-bg {
    transform: translate(-50%, -50%) scale(1.22) !important;
  }
}

@media (max-width: 767px) {
  .hero-video-bg {
    transform: translate(-50%, -50%) scale(1.08) !important;
    opacity: 0.40 !important;
  }
}

.hero-video-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.65) 65%, #000000 100%),
              linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.25) 45%, #000000 100%) !important;
  pointer-events: none !important;
}

.hero-radial-flare {
  position: absolute !important;
  top: 18% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: min(1100px, 90vw) !important;
  height: 550px !important;
  background: radial-gradient(ellipse at center, rgba(220, 165, 74, 0.18) 0%, transparent 70%) !important;
  z-index: 3 !important;
  pointer-events: none !important;
}

.hero-content-container {
  position: relative;
  z-index: 10;
  max-width: 1020px;
  margin: 0 auto;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  border-radius: 9999px;
  background: rgba(220, 165, 74, 0.08) !important;
  border: 1px solid rgba(220, 165, 74, 0.35) !important;
  box-shadow: 0 0 25px rgba(220, 165, 74, 0.18), inset 0 0 14px rgba(220, 165, 74, 0.1) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin-bottom: 24px;
}

.hero-pill-badge span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #F3C969 !important;
  font-weight: 700 !important;
  text-shadow: 0 0 12px rgba(220, 165, 74, 0.5);
}

.hero-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #F3C969 !important;
  box-shadow: 0 0 12px #F3C969 !important;
  animation: pulseGoldDot 2s infinite ease-in-out;
}

@keyframes pulseGoldDot {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 16px #F3C969;
  }
}

.hero-headline {
  font-family: var(--font-sans);
  font-size: clamp(34px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 auto 24px;
  max-width: 980px;
  text-align: center;
  text-wrap: balance;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.8vw, 19px);
  color: #E4E4E7;
  max-width: 740px;
  margin: 0 auto 36px;
  line-height: 1.65;
  font-weight: 400;
  text-align: center;
}

.hero-metric-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 44px;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  white-space: nowrap;
}

.metric-number {
  color: #DCA54A;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.metric-label {
  color: #A1A1AA;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-item:not(:last-child)::after {
  content: "•";
  margin-left: 20px;
  color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .hero-metric-bar {
    flex-direction: column;
    gap: 10px;
    border-radius: 16px;
    padding: 14px 20px;
  }
  .metric-item:not(:last-child)::after {
    display: none;
  }
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
    gap: 16px;
  }
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: #ffffff;
}

/* ==========================================================================
   3D WEBGL CORE SIMULATION SECTION
   ========================================================================== */
.logivon-3d-wrapper {
  position: relative;
  width: 100%;
  height: 540px;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(220, 165, 74, 0.25);
  background: #000000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .logivon-3d-wrapper {
    height: 420px;
    border-radius: 20px;
  }
}

#logivon-3d-canvas-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.logivon-3d-overlay-ui {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

@media (min-width: 768px) {
  .logivon-3d-overlay-ui {
    padding: 36px;
  }
}

/* ==========================================================================
   FEES SCHEDULE: RESPONSIVE DUAL MODE
   ========================================================================== */
.fee-table-desktop {
  display: none;
}

.fee-cards-mobile {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .fee-table-desktop {
    display: block;
  }
  .fee-cards-mobile {
    display: none;
  }
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.fee-table th {
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.fee-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13.5px;
  color: #e4e4e7;
  vertical-align: middle;
}

.fee-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Mobile fee card item */
.mobile-fee-card {
  padding: 20px;
  border-radius: 18px;
  background: rgba(14, 14, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   INTERACTIVE BOOKING MODAL
   ========================================================================== */
.booking-modal-overlay,
.appointment-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000000 !important;
  background: rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px 16px !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-modal-overlay.open,
.appointment-modal-overlay.open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Animated Glowing Header Logo */
@keyframes logivonLogoGlow {
  0% {
    filter: drop-shadow(0 0 4px rgba(220, 165, 74, 0.3)) drop-shadow(0 0 10px rgba(220, 165, 74, 0.2));
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(243, 201, 105, 0.85)) drop-shadow(0 0 24px rgba(220, 165, 74, 0.55));
  }
  100% {
    filter: drop-shadow(0 0 4px rgba(220, 165, 74, 0.3)) drop-shadow(0 0 10px rgba(220, 165, 74, 0.2));
  }
}

.brand-logo-img {
  animation: logivonLogoGlow 3s ease-in-out infinite alternate !important;
  transition: all 0.3s ease;
}

.brand-logo-link:hover .brand-logo-img {
  filter: drop-shadow(0 0 14px rgba(243, 201, 105, 1)) drop-shadow(0 0 28px rgba(220, 165, 74, 0.8)) !important;
  transform: scale(1.04);
}


.booking-modal-card {
  width: 100%;
  max-width: 660px;
  max-height: min(90vh, 740px);
  margin: auto !important;
  overflow-y: auto;
  border-radius: 28px;
  background: #080808;
  border: 1px solid rgba(220, 165, 74, 0.35);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.98), 0 0 40px rgba(220, 165, 74, 0.15);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-modal-overlay.open .booking-modal-card {
  transform: scale(1);
}

.date-slot-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 10px 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #a1a1aa;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.date-slot-btn:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.date-slot-btn.selected {
  background: #141414;
  color: #ffffff;
  border-color: var(--color-gold);
  box-shadow: 0 4px 15px rgba(220, 165, 74, 0.3);
  outline: 1px solid rgba(220, 165, 74, 0.5);
}

.time-slot-btn {
  padding: 10px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #e4e4e7;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.time-slot-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.time-slot-btn.selected {
  background: linear-gradient(90deg, #DCA54A, #F3C969);
  color: #000000;
  font-weight: 800;
  border-color: var(--color-gold-light);
}

/* ==========================================================================
   OFFICIAL LOGIVON LOADING SCREEN (REFERENCE SPECIFICATION)
   ========================================================================== */
#logivon-page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999999;
  background: #07090E;
  background-image: 
    radial-gradient(circle at 50% 45%, rgba(220, 165, 74, 0.16) 0%, rgba(13, 17, 28, 0.85) 42%, #07090E 80%),
    linear-gradient(180deg, #07090E 0%, #0A0E17 50%, #07090E 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
  overflow: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s ease;
}

#logivon-page-loader.loaded {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Subtle Background Geometric Dot Grid */
.loader-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image: radial-gradient(rgba(220, 165, 74, 0.28) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Center Box */
.loader-center-box {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

/* Concentric Luminous Emblem Container */
.loader-emblem-wrap {
  position: relative;
  width: 124px;
  height: 124px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ambient Glow Aura */
.loader-ambient-aura {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 165, 74, 0.45) 0%, rgba(243, 201, 105, 0.22) 45%, transparent 72%);
  filter: blur(24px);
  pointer-events: none;
  transform: scale(1.2);
  animation: loaderAuraPulse 2.8s ease-in-out infinite alternate;
}

/* Outer Breathing Ring */
.loader-outer-pulse-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(220, 165, 74, 0.35);
  box-shadow: 0 0 16px rgba(220, 165, 74, 0.25);
  pointer-events: none;
  animation: loaderRingPing 2.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Inner Architectural Glass Ring */
.loader-inner-glass-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 14, 24, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85),
              inset 0 1px 2px rgba(255, 255, 255, 0.18),
              0 0 25px rgba(220, 165, 74, 0.15);
}

/* Golden Corner Accent Tabs (Top & Bottom Notches) */
.loader-corner-accent {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2.5px;
  border-radius: 9999px;
  background: #DCA54A;
  box-shadow: 0 0 10px #DCA54A, 0 0 20px #F3C969;
  z-index: 5;
}

.loader-corner-accent.top { top: -1px; }
.loader-corner-accent.bottom { bottom: -1px; }

/* Official Logivon Brand Emblem */
.loader-emblem-icon {
  position: relative;
  z-index: 4;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loaderEmblemPulse 2.4s ease-in-out infinite alternate;
}

.loader-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7), 0 0 20px rgba(220, 165, 74, 0.35);
  filter: drop-shadow(0 6px 16px rgba(220, 165, 74, 0.5));
}

/* Brand Typographic Identity */
.loader-brand-box {
  margin-top: 24px;
  text-align: center;
}

.loader-brand-text {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF8E7 25%, #F3C969 50%, #FFFFFF 75%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 12px rgba(220, 165, 74, 0.35));
}

.loader-brand-sub {
  font-size: 10.5px;
  font-family: var(--font-mono, 'JetBrains Mono', 'SF Pro Mono', monospace);
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  color: #a1a1aa;
  margin-top: 6px;
  text-shadow: 0 0 8px rgba(220, 165, 74, 0.15);
}

/* Minimalist Golden Laser Progress Line */
.loader-laser-wrap {
  width: min(220px, 80vw);
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.loader-laser-track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}

.loader-laser-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42%;
  border-radius: 9999px;
  background: linear-gradient(90deg, transparent 0%, #F3C969 40%, #DCA54A 70%, #FFFFFF 100%);
  box-shadow: 0 0 14px #DCA54A, 0 0 25px #F3C969, 0 0 35px rgba(220, 165, 74, 0.8);
  animation: logivonLaser 1.5s ease-in-out infinite;
}

.loader-status-label {
  font-size: 11px;
  font-family: var(--font-mono, 'JetBrains Mono', 'SF Pro Mono', monospace);
  color: #a1a1aa;
  letter-spacing: 0.14em;
  margin: 0;
  text-align: center;
  animation: statusTextPulse 2s ease-in-out infinite alternate;
}

/* Keyframes */
@keyframes logivonLaser {
  0% { left: -42%; }
  50% { left: 50%; }
  100% { left: 100%; }
}

@keyframes loaderAuraPulse {
  0% { transform: scale(1.1); opacity: 0.65; }
  100% { transform: scale(1.35); opacity: 1; }
}

@keyframes loaderRingPing {
  0% { transform: scale(0.95); opacity: 0.6; }
  75%, 100% { transform: scale(1.2); opacity: 0; }
}

@keyframes loaderEmblemPulse {
  0% { transform: scale(0.96); opacity: 0.9; }
  100% { transform: scale(1.03); opacity: 1; }
}

@keyframes statusTextPulse {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

/* General Section Wrapper */
.logivon-section-wrapper {
  position: relative;
  padding: 70px 16px;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .logivon-section-wrapper {
    padding: 100px 24px;
  }
}

/* ==========================================================================
   GUTENBERG & PAGE BUILDER CONTENT EDITABILITY
   ========================================================================== */
.logivon-custom-page-content,
.entry-content {
  color: #E4E4E7;
  font-size: 16px;
  line-height: 1.8;
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 0;
}

.entry-content h1, .entry-content h2, .entry-content h3, 
.entry-content h4, .entry-content h5, .entry-content h6 {
  color: #FFFFFF;
  font-weight: 800;
  margin-top: 1.5em;
  margin-bottom: 0.6em;
  line-height: 1.25;
}

.entry-content h1 { font-size: clamp(28px, 4vw, 44px); }
.entry-content h2 { font-size: clamp(24px, 3.2vw, 36px); border-bottom: 1px solid rgba(220,165,74,0.25); padding-bottom: 10px; }
.entry-content h3 { font-size: clamp(20px, 2.5vw, 28px); }

.entry-content p {
  margin-bottom: 1.4em;
  color: #d4d4d8;
}

.entry-content a {
  color: var(--color-gold-light);
  text-decoration: underline;
}

.entry-content ul, .entry-content ol {
  margin-bottom: 1.5em;
  padding-left: 28px;
  color: #d4d4d8;
}

.entry-content li {
  margin-bottom: 8px;
}

.entry-content blockquote {
  border-left: 3px solid var(--color-gold);
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(220, 165, 74, 0.05);
  border-radius: 0 16px 16px 0;
  font-style: italic;
  color: #ffffff;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   INTERACTIVE COMMUNITY PLATFORM STYLES
   ========================================================================== */
.community-tabs-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 28px;
  -webkit-overflow-scrolling: touch;
}

.community-tab-btn {
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  color: #A1A1AA;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.community-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.community-tab-btn.active {
  color: #000000;
  background: linear-gradient(90deg, #DCA54A, #F3C969);
  border-color: var(--color-gold-light);
  box-shadow: 0 4px 15px rgba(220, 165, 74, 0.35);
}

.community-post-card {
  padding: 24px;
  border-radius: 20px;
  background: rgba(12, 12, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
  transition: all 0.2s ease;
}

.community-post-card:hover {
  border-color: rgba(220, 165, 74, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.community-badge {
  font-size: 10px;
  font-family: var(--font-mono);
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(220, 165, 74, 0.12);
  border: 1px solid rgba(220, 165, 74, 0.3);
  color: var(--color-gold-light);
  font-weight: 600;
}

/* Post Type Filter Buttons */
.post-type-btn {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #a1a1aa;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.post-type-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.post-type-btn.active {
  color: #000000;
  background: linear-gradient(90deg, #DCA54A, #F3C969);
  border-color: var(--color-gold-light);
  font-weight: 700;
}

/* Peer Mentions (@tags) */
.mention-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(220, 165, 74, 0.15);
  border: 1px solid rgba(220, 165, 74, 0.3);
  color: #F3C969;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mention-tag:hover {
  background: rgba(220, 165, 74, 0.3);
  color: #ffffff;
}

/* Strict 1-Like-Per-User Button */
.post-like-btn {
  background: none;
  border: none;
  color: #a1a1aa;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.post-like-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.post-like-btn.liked {
  color: #F3C969 !important;
  background: rgba(220, 165, 74, 0.12);
}

.post-like-btn.liked .like-icon {
  content: '❤️';
  filter: drop-shadow(0 0 6px rgba(220, 165, 74, 0.8));
}

/* Peer Connection Request Buttons */
.btn-connect {
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn-connect:hover {
  border-color: rgba(220, 165, 74, 0.4);
  background: rgba(220, 165, 74, 0.1);
}

.btn-connect.pending {
  background: rgba(234, 179, 8, 0.15) !important;
  border-color: rgba(234, 179, 8, 0.4) !important;
  color: #facc15 !important;
}

.btn-connect.connected {
  background: rgba(34, 197, 94, 0.15) !important;
  border-color: rgba(34, 197, 94, 0.4) !important;
  color: #4ade80 !important;
}

/* 1-to-1 Personal Chat Drawer */
.chat-drawer-container {
  position: fixed;
  inset: 0;
  z-index: 999999;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.3s ease;
}

.chat-drawer-container.open {
  pointer-events: auto;
  visibility: visible;
}

.chat-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.chat-drawer-container.open .chat-drawer-backdrop {
  opacity: 1;
}

.chat-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #0a0a0a;
  border-left: 1px solid rgba(220, 165, 74, 0.3);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.9);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-drawer-container.open .chat-drawer-panel {
  transform: translateX(0);
}

.chat-drawer-header {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 14, 14, 0.95);
}

.chat-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  position: relative;
  word-break: break-word;
}

.chat-bubble.sent {
  align-self: flex-end;
  background: linear-gradient(135deg, #DCA54A, #F3C969);
  color: #000000;
  font-weight: 500;
  border-bottom-right-radius: 2px;
}

.chat-bubble.received {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-bottom-left-radius: 2px;
}

.chat-time {
  display: block;
  font-size: 10px;
  font-family: var(--font-mono);
  opacity: 0.7;
  margin-top: 4px;
  text-align: right;
}

.chat-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 14, 14, 0.95);
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Custom Modal */
.logivon-custom-modal {
  position: fixed;
  inset: 0;
  z-index: 999998;
  display: none;
  align-items: center;
  justify-content: center;
}

.logivon-custom-modal.open {
  display: flex;
}

.modal-backdrop-custom {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.modal-dialog-custom {
  position: relative;
  z-index: 10;
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   LINKEDIN-STYLE COMMUNITY ARCHITECTURE (MATCHES IMAGE 2)
   ========================================================================== */
.linkedin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 16px 80px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 1024px) {
  .linkedin-container {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .linkedin-col-right {
    display: none;
  }
}

@media (max-width: 768px) {
  .linkedin-container {
    grid-template-columns: 1fr;
    padding-top: 90px;
    gap: 16px;
  }
}

.linkedin-card {
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  position: relative;
}

.linkedin-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

/* Left Sidebar Profile Card */
.linkedin-cover-banner {
  height: 64px;
  background: linear-gradient(135deg, #16202c, #0a0d14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.linkedin-avatar-wrap {
  margin-top: -36px;
  padding: 0 16px;
  display: flex;
  justify-content: flex-start;
  position: relative;
}

.linkedin-avatar-img {
  width: 72px;
  height: 72px;
  border-radius: 9999px;
  border: 3px solid #0d1117;
  object-fit: cover;
  background: #141820;
  box-shadow: 0 0 0 2px #22c55e;
}

.linkedin-profile-info {
  padding: 12px 16px 16px;
}

.linkedin-user-name {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.linkedin-user-headline {
  font-size: 12px;
  color: #a1a1aa;
  margin: 0 0 8px;
  line-height: 1.4;
}

.linkedin-user-loc {
  font-size: 11px;
  color: #71717a;
  margin: 0 0 4px;
}

.linkedin-user-institute {
  font-size: 11px;
  color: #d4d4d8;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.linkedin-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0;
}

.linkedin-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  font-size: 12px;
  color: #a1a1aa;
  text-decoration: none;
  transition: background 0.15s;
}

.linkedin-stat-row:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.linkedin-stat-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #60a5fa;
}

/* Center Feed Tabs */
.linkedin-feed-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.feed-tab-btn {
  background: none;
  border: none;
  color: #a1a1aa;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 4px 12px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.feed-tab-btn:hover {
  color: #ffffff;
}

.feed-tab-btn.active {
  color: #ffffff;
}

.feed-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #2563eb;
  border-radius: 2px;
}

/* Start a Post Box */
.linkedin-start-post-card {
  padding: 14px 16px;
  margin-bottom: 16px;
}

.start-post-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.start-post-pill-btn {
  flex: 1;
  text-align: left;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: #a1a1aa;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.start-post-pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.start-post-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.start-post-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #a1a1aa;
  cursor: pointer;
  transition: all 0.2s;
}

.start-post-action-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

/* Sort Divider Line */
.linkedin-sort-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.linkedin-sort-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.linkedin-sort-text {
  font-size: 12px;
  color: #71717a;
  cursor: pointer;
}

.linkedin-sort-text strong {
  color: #e4e4e7;
}

/* Post Cards */
.linkedin-post-card {
  padding: 16px 18px;
  margin-bottom: 16px;
}

.post-context-header {
  font-size: 11px;
  color: #71717a;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-author-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.post-author-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  object-fit: cover;
  background: #141820;
}

.post-author-name {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.degree-badge {
  color: #71717a;
  font-size: 12px;
  font-weight: 400;
}

.post-author-role {
  font-size: 12px;
  color: #a1a1aa;
  margin: 2px 0 0;
}

.post-time-line {
  font-size: 11px;
  color: #71717a;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.btn-linkedin-follow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid #2563eb;
  background: transparent;
  color: #60a5fa;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-linkedin-follow:hover {
  background: rgba(37, 99, 235, 0.15);
}

.post-text-content {
  font-size: 14px;
  line-height: 1.6;
  color: #f4f4f5;
  margin-bottom: 14px;
  white-space: pre-line;
}

.post-media-container {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.post-media-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* Post Reactions & Actions */
.post-reactions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #71717a;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 4px;
}

.post-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding-top: 4px;
}

.post-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 10px 4px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #a1a1aa;
  cursor: pointer;
  transition: all 0.15s;
}

.post-action-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.post-action-btn.active-liked {
  color: #3b82f6 !important;
}

/* Right Sidebar News */
.linkedin-news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
}

.news-item-link {
  text-decoration: none;
  display: block;
}

.news-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #f4f4f5;
  margin: 0 0 2px;
  line-height: 1.35;
  transition: color 0.2s;
}

.news-item-link:hover .news-item-title {
  color: #60a5fa;
}

.news-item-meta {
  font-size: 11px;
  color: #71717a;
  margin: 0;
}

/* Docked Bottom-Right LinkedIn Messaging Bar (Image 2) */
.linkedin-messaging-dock {
  position: fixed;
  bottom: 0;
  right: 24px;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  z-index: 99995;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.85);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.linkedin-messaging-dock.minimized {
  transform: translateY(calc(100% - 50px));
}

.msg-dock-header {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  background: rgba(20, 24, 32, 0.95);
}

.msg-dock-body {
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.msg-thread-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.15s;
}

.msg-thread-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   DEDICATED COMMUNITY FORUM HEADER (FOR COMMUNITY PAGE ONLY)
   ========================================================================== */
.comm-dedicated-header,
.linkedin-top-navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 60px !important;
  z-index: 999999 !important;
  background: rgba(9, 13, 20, 0.96) !important;
  border-bottom: 1px solid rgba(220, 165, 74, 0.28) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  display: block !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7) !important;
  box-sizing: border-box !important;
  transition: all 0.25s ease !important;
}

.comm-header-inner,
.comm-nav-inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  box-sizing: border-box !important;
}

.comm-header-left,
.comm-nav-left {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex: 0 0 auto !important;
}

.comm-header-brand,
.comm-nav-logo {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
}

.comm-header-brand-title {
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  color: #FFFFFF !important;
  font-family: var(--font-mono, monospace) !important;
}

.comm-header-search-wrap,
.comm-nav-search-wrap {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(220, 165, 74, 0.25) !important;
  border-radius: 9999px !important;
  padding: 0 14px !important;
  width: 280px !important;
  height: 36px !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}

.comm-header-search-wrap:focus-within,
.comm-nav-search-wrap:focus-within {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: #DCA54A !important;
  box-shadow: 0 0 14px rgba(220, 165, 74, 0.25) !important;
  width: 320px !important;
}

.comm-header-search-wrap svg,
.comm-nav-search-wrap svg {
  color: #a1a1aa !important;
  margin-right: 8px !important;
  flex-shrink: 0 !important;
}

.comm-header-search-wrap input,
.comm-nav-search-wrap input {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #FFFFFF !important;
  font-size: 13px !important;
  width: 100% !important;
  box-shadow: none !important;
}

.comm-header-search-wrap input::placeholder,
.comm-nav-search-wrap input::placeholder {
  color: #71717a !important;
}

.comm-header-nav,
.comm-nav-center {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 100% !important;
}

.comm-header-nav-btn,
.comm-nav-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 68px !important;
  height: 60px !important;
  padding: 0 10px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: #a1a1aa !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  position: relative !important;
  transition: all 0.15s ease !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

.comm-header-nav-btn:hover,
.comm-nav-item:hover {
  color: #FFFFFF !important;
}

.comm-header-nav-btn.active,
.comm-nav-item.active {
  color: #F3C969 !important;
}

.comm-header-nav-btn.active::after,
.comm-nav-item.active::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 8px !important;
  right: 8px !important;
  height: 2px !important;
  background: #DCA54A !important;
  border-radius: 2px 2px 0 0 !important;
}

.comm-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  margin-bottom: 2px;
}

.comm-nav-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  font-family: var(--font-mono);
  padding: 1px 6px;
  border-radius: 9999px;
  line-height: 1.3;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

.comm-nav-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 2px;
  border: 1px solid #DCA54A;
}

.comm-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Day/Night Theme Toggle Button */
.comm-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(220, 165, 74, 0.12);
  border: 1px solid rgba(220, 165, 74, 0.4);
  color: #F3C969;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.comm-theme-toggle:hover {
  background: rgba(220, 165, 74, 0.22);
  border-color: #DCA54A;
}

/* Nav Dropdown Wrappers */
.comm-nav-dropdown-wrap {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.comm-dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  background: #0d1117 !important;
  border: 1px solid rgba(220, 165, 74, 0.3) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.98) !important;
  min-width: 280px !important;
  max-width: 360px !important;
  z-index: 99999 !important;
  display: none !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.comm-dropdown-menu.open {
  display: block !important;
  animation: modalFadeIn 0.2s ease !important;
}

.comm-dropdown-header {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
}

.comm-me-header {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.comm-me-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #DCA54A;
}

.comm-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 0;
}

.comm-dropdown-section-title {
  padding: 6px 16px 2px;
  font-size: 10px;
  font-family: var(--font-mono);
  color: #71717a;
  text-transform: uppercase;
}

.comm-dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  color: #e4e4e7;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s ease;
}

.comm-dropdown-link:hover {
  background: rgba(220, 165, 74, 0.12);
  color: #F3C969;
}

.comm-notifications-list {
  max-height: 380px;
  overflow-y: auto;
}

.comm-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.15s ease;
  text-decoration: none;
  color: inherit;
}

.comm-notif-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.comm-notif-item.unread {
  background: rgba(220, 165, 74, 0.06);
}

.comm-notif-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.comm-notif-text {
  flex: 1;
  font-size: 12px;
  color: #d4d4d8;
  line-height: 1.45;
}

.comm-notif-text strong {
  color: #ffffff;
}

.comm-notif-time {
  font-size: 10px;
  color: #71717a;
  font-family: var(--font-mono);
  margin-top: 3px;
}

/* ==========================================================================
   POST CONTEXT 3-DOTS ACTION DROPDOWN MENUS
   ========================================================================== */
.post-dropdown-container {
  position: relative;
}

.post-3dots-trigger {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #a1a1aa;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.post-3dots-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.post-dismiss-btn {
  background: transparent;
  border: none;
  color: #71717a;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.post-dismiss-btn:hover {
  color: #ffffff;
}

.post-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 4px) !important;
  right: 0 !important;
  left: auto !important;
  background: #0e121a !important;
  border: 1px solid rgba(220, 165, 74, 0.4) !important;
  border-radius: 12px !important;
  min-width: 270px !important;
  max-width: 330px !important;
  width: max-content !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.98), 0 0 25px rgba(220, 165, 74, 0.2) !important;
  z-index: 99999 !important;
  display: none !important;
  flex-direction: column !important;
  padding: 6px 0 !important;
  box-sizing: border-box !important;
}

.post-dropdown-menu.open {
  display: flex !important;
  flex-direction: column !important;
  animation: modalFadeIn 0.15s ease-out !important;
}

.post-dropdown-menu .post-action-item {
  width: 100% !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  padding: 10px 18px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #e4e4e7 !important;
  text-align: left !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}

.post-dropdown-menu .post-action-item:hover {
  background: rgba(220, 165, 74, 0.14) !important;
  color: #F3C969 !important;
}

.post-dropdown-menu .post-action-item.text-danger:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #f87171 !important;
}

.post-dropdown-menu .post-action-item .action-icon,
.post-dropdown-menu .post-action-item .post-action-icon {
  font-size: 16px !important;
  width: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.post-dropdown-menu .post-action-item .post-action-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  text-align: left !important;
}

.post-dropdown-menu .post-action-item .post-action-text strong {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
}

.post-dropdown-menu .post-action-item .post-action-text span {
  font-size: 11px !important;
  color: #a1a1aa !important;
  white-space: normal !important;
}

/* Featured / Pinned Banner Badge */
.post-pinned-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(220, 165, 74, 0.15);
  border: 1px solid rgba(220, 165, 74, 0.4);
  color: #F3C969;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 8px;
}

/* ==========================================================================
   DAY LIGHT MODE TOKENS (COMMUNITY DASHBOARD ONLY)
   ========================================================================== */
.community-day-mode.site-main,
.page-template-page-community.community-day-mode {
  background: #f3f2ef !important;
  color: #191919 !important;
}

.community-day-mode .linkedin-top-navbar {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.community-day-mode .comm-nav-item {
  color: #666666 !important;
}

.community-day-mode .comm-nav-item:hover,
.community-day-mode .comm-nav-item.active {
  color: #191919 !important;
}

.community-day-mode .comm-nav-item.active::after {
  background: #191919 !important;
}

.community-day-mode .comm-nav-search-wrap {
  background: #edf3f8 !important;
  border-color: #dadce0 !important;
}

.community-day-mode .comm-nav-search-wrap input {
  color: #191919 !important;
}

.community-day-mode .comm-nav-search-wrap input::placeholder {
  color: #71717a !important;
}

.community-day-mode .comm-theme-toggle {
  background: #0a66c2 !important;
  border-color: #0a66c2 !important;
  color: #ffffff !important;
}

.community-day-mode .comm-theme-toggle:hover {
  background: #004182 !important;
}

.community-day-mode .linkedin-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04) !important;
  color: #191919 !important;
}

.community-day-mode .linkedin-card:hover {
  border-color: rgba(0, 0, 0, 0.16) !important;
}

.community-day-mode .linkedin-cover-banner {
  background: linear-gradient(135deg, #0a66c2, #378fe9) !important;
}

.community-day-mode .linkedin-avatar-img {
  border: 3px solid #ffffff !important;
  background: #ffffff !important;
}

.community-day-mode .linkedin-user-name,
.community-day-mode .post-author-name,
.community-day-mode .network-card-name {
  color: #191919 !important;
}

.community-day-mode .linkedin-user-headline,
.community-day-mode .post-author-role,
.community-day-mode .network-card-headline {
  color: #5e5e5e !important;
}

.community-day-mode .linkedin-user-loc,
.community-day-mode .post-time-line,
.community-day-mode .network-card-meta {
  color: #71717a !important;
}

.community-day-mode .linkedin-user-institute {
  color: #191919 !important;
}

.community-day-mode .linkedin-stat-row {
  color: #5e5e5e !important;
}

.community-day-mode .linkedin-stat-row:hover {
  background: #f3f2ef !important;
  color: #191919 !important;
}

.community-day-mode .linkedin-stat-num {
  color: #0a66c2 !important;
}

.community-day-mode .linkedin-divider,
.community-day-mode .comm-dropdown-divider {
  background: rgba(0, 0, 0, 0.08) !important;
}

.community-day-mode .feed-tab-btn {
  color: #5e5e5e !important;
}

.community-day-mode .feed-tab-btn.active {
  color: #01754f !important;
}

.community-day-mode .feed-tab-btn.active::after {
  background: #01754f !important;
}

.community-day-mode .start-post-pill-btn {
  background: #f3f2ef !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
  color: #5e5e5e !important;
}

.community-day-mode .start-post-pill-btn:hover {
  background: #ebebeb !important;
  color: #191919 !important;
}

.community-day-mode .start-post-action-btn {
  color: #5e5e5e !important;
}

.community-day-mode .start-post-action-btn:hover {
  background: #f3f2ef !important;
  color: #191919 !important;
}

.community-day-mode .post-context-header,
.community-day-mode .post-reactions-row {
  color: #5e5e5e !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.community-day-mode .post-text-content {
  color: #191919 !important;
}

.community-day-mode .post-action-btn {
  color: #5e5e5e !important;
}

.community-day-mode .post-action-btn:hover {
  background: #f3f2ef !important;
  color: #191919 !important;
}

.community-day-mode .network-user-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

.community-day-mode .network-card-banner {
  background: linear-gradient(135deg, #0a66c2, #378fe9) !important;
}

.community-day-mode .comm-dropdown-menu,
.community-day-mode .post-dropdown-menu {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12) !important;
  color: #191919 !important;
}

.community-day-mode .comm-dropdown-header,
.community-day-mode .comm-me-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.community-day-mode .post-action-item,
.community-day-mode .comm-dropdown-link {
  color: #333333 !important;
}

.community-day-mode .post-action-item:hover,
.community-day-mode .comm-dropdown-link:hover {
  background: #f3f2ef !important;
  color: #0a66c2 !important;
}

.community-day-mode .linkedin-messaging-dock {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.15) !important;
}

.community-day-mode .msg-dock-header {
  background: #f8fafc !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: #191919 !important;
}

.community-day-mode .msg-dock-header span {
  color: #191919 !important;
}

.community-day-mode .msg-thread-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  color: #191919 !important;
}

.community-day-mode .msg-thread-item:hover {
  background: #f3f2ef !important;
}

.community-day-mode .interactive-poll-card {
  background: #f8fafc !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

.community-day-mode .interactive-poll-card span {
  color: #191919 !important;
}

/* ==========================================================================
   LOGIVON AI STRATEGIC CHATBOT WIDGET
   ========================================================================== */
#logivon-ai-widget-root {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99990;
}

/* Offset launcher on community page so it does not collide with LinkedIn messaging */
.page-template-page-community #logivon-ai-widget-root {
  right: 360px;
}

@media (max-width: 768px) {
  .page-template-page-community #logivon-ai-widget-root {
    right: 20px;
    bottom: 60px;
  }
}

.logivon-ai-launcher {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 9999px;
  background: rgba(10, 14, 22, 0.94);
  border: 1px solid rgba(220, 165, 74, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), 0 0 20px rgba(220, 165, 74, 0.25);
  transition: all 0.25s ease;
}

.logivon-ai-launcher:hover {
  transform: translateY(-2px);
  border-color: rgba(220, 165, 74, 0.9);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.95), 0 0 30px rgba(220, 165, 74, 0.4);
}

.ai-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.logivon-ai-window {
  position: fixed;
  bottom: 76px;
  right: 24px;
  width: 390px;
  max-width: calc(100vw - 32px);
  height: 570px;
  max-height: 84vh;
  background: #090d14;
  border: 1px solid rgba(220, 165, 74, 0.4);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.98), 0 0 40px rgba(220, 165, 74, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 99992;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  animation: modalFadeIn 0.25s ease-out;
}

.page-template-page-community .logivon-ai-window {
  right: 360px;
}

@media (max-width: 768px) {
  .page-template-page-community .logivon-ai-window {
    right: 16px;
    left: 16px;
    width: auto;
    bottom: 80px;
  }
}

.ai-chat-header {
  padding: 16px 20px;
  background: rgba(15, 20, 30, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-avatar-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(220, 165, 74, 0.25), rgba(10, 14, 20, 0.9));
  border: 1px solid rgba(220, 165, 74, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-header-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.ai-header-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.ai-quick-pills-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  -webkit-overflow-scrolling: touch;
}

.ai-quick-pill {
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d4d4d8;
  font-size: 11px;
  font-family: var(--font-mono);
  padding: 5px 12px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.ai-quick-pill:hover {
  background: rgba(220, 165, 74, 0.18);
  border-color: rgba(220, 165, 74, 0.45);
  color: #ffffff;
}

.ai-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-message {
  display: flex;
  flex-direction: column;
  max-width: 86%;
  animation: modalFadeIn 0.2s ease-out;
}

.ai-msg-bot {
  align-self: flex-start;
}

.ai-msg-user {
  align-self: flex-end;
}

.ai-msg-content {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.55;
  word-break: break-word;
}

.ai-msg-bot .ai-msg-content {
  background: rgba(22, 28, 40, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e4e4e7;
  border-bottom-left-radius: 4px;
}

.ai-msg-user .ai-msg-content {
  background: linear-gradient(135deg, #DCA54A, #F3C969);
  color: #000000;
  font-weight: 500;
  border-bottom-right-radius: 4px;
}

.ai-msg-time {
  font-size: 10px;
  font-family: var(--font-mono);
  color: #71717a;
  margin-top: 4px;
  padding: 0 4px;
}

.ai-msg-user .ai-msg-time {
  text-align: right;
}

.ai-chat-footer {
  padding: 12px 16px;
  background: rgba(15, 20, 30, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-chat-footer input {
  flex: 1;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 10px 16px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.ai-chat-footer input:focus {
  border-color: #DCA54A;
}

.ai-chat-footer button {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #DCA54A, #F3C969);
  border: none;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s;
}

.ai-chat-footer button:hover {
  transform: scale(1.05);
}

/* Hide Logivon AI Chatbot on Community Forum */
.page-template-page-community #logivon-ai-widget-root,
.page-community #logivon-ai-widget-root,
body[class*="community"] #logivon-ai-widget-root {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ==========================================================================
   VOICE AI SOUNDWAVES & 3D CORE VOICE CONTROLS
   ========================================================================== */
@keyframes soundwavePulse {
  0%, 100% { height: 4px; opacity: 0.5; }
  50% { height: 18px; opacity: 1; }
}

.voice-soundwaves .soundwave-bar {
  display: inline-block;
  transition: height 0.15s ease;
}

.voice-soundwaves.speaking .soundwave-bar:nth-child(1) {
  animation: soundwavePulse 0.65s ease-in-out infinite alternate;
  animation-delay: 0.1s;
}

.voice-soundwaves.speaking .soundwave-bar:nth-child(2) {
  animation: soundwavePulse 0.55s ease-in-out infinite alternate;
  animation-delay: 0.25s;
}

.voice-soundwaves.speaking .soundwave-bar:nth-child(3) {
  animation: soundwavePulse 0.7s ease-in-out infinite alternate;
  animation-delay: 0.15s;
}

.voice-soundwaves.speaking .soundwave-bar:nth-child(4) {
  animation: soundwavePulse 0.6s ease-in-out infinite alternate;
  animation-delay: 0.3s;
}

@keyframes bannerPulseGlow {
  0% { box-shadow: 0 10px 35px rgba(0,0,0,0.85), 0 0 15px rgba(220,165,74,0.3); }
  50% { box-shadow: 0 10px 35px rgba(0,0,0,0.85), 0 0 35px rgba(220,165,74,0.65); border-color: rgba(220,165,74,0.8); }
  100% { box-shadow: 0 10px 35px rgba(0,0,0,0.85), 0 0 15px rgba(220,165,74,0.3); }
}

.voice-ai-trigger-banner:hover {
  transform: translateX(-50%) scale(1.03);
  border-color: #DCA54A !important;
  background: rgba(18,24,36,0.98) !important;
}

.voice-ai-trigger-banner.speaking {
  animation: bannerPulseGlow 1.8s infinite;
  border-color: #DCA54A !important;
}

.voice-ai-trigger-banner.speaking .voice-ai-dot {
  background: #F3C969 !important;
  box-shadow: 0 0 12px #F3C969 !important;
}

/* ==========================================================================
   PEER NETWORK DIRECTORY & STRICT MESSAGING ARCHITECTURE
   ========================================================================== */
.network-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.network-user-card {
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.network-user-card:hover {
  border-color: rgba(220, 165, 74, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.network-card-banner {
  height: 52px;
  background: linear-gradient(135deg, #182234 0%, #0d131f 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.network-card-content {
  padding: 0 16px 16px;
  margin-top: -30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.network-card-avatar {
  width: 58px;
  height: 58px;
  border-radius: 9999px;
  object-fit: cover;
  border: 3px solid #0d1117;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  margin-bottom: 8px;
}

.network-card-name {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.network-card-headline {
  font-size: 11px;
  color: #a1a1aa;
  line-height: 1.4;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 30px;
}

.network-card-meta {
  font-size: 10px;
  font-family: var(--font-mono);
  color: #71717a;
  margin-bottom: 12px;
}

.network-card-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

.btn-connect-action {
  flex: 1;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid rgba(220,165,74,0.4);
  background: rgba(220,165,74,0.1);
  color: #F3C969;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.btn-connect-action:hover {
  background: #DCA54A;
  color: #000;
}

.btn-connect-action.pending {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: #a1a1aa;
}

.btn-connect-action.pending:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.btn-connect-action.connected {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  color: #4ade80;
  cursor: default;
}

.btn-network-message {
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-network-message:hover {
  border-color: #60a5fa;
  color: #60a5fa;
}

.btn-network-message.locked {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-network-message.locked:hover {
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* Connection Toast Alert */
.connection-gate-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #111622;
  border: 1px solid rgba(220, 165, 74, 0.6);
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.85), 0 0 25px rgba(220,165,74,0.25);
  z-index: 1000000;
  animation: modalFadeIn 0.25s ease;
  max-width: 90vw;
}

/* ==========================================================================
   GATEKEEPER DESKTOP & MOBILE SPACING (NO HEADER OVERFLOW)
   ========================================================================== */
.logivon-gatekeeper-section {
  padding-top: 140px !important;
  padding-bottom: 90px !important;
  position: relative !important;
  z-index: 10 !important;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & TYPOGRAPHY ENHANCEMENTS (MAX-WIDTH: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* Hero Headline & Subtitle Balance */
  .hero-headline {
    font-size: 25px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
    max-width: 360px !important;
    margin: 0 auto 14px !important;
    padding: 0 8px !important;
  }
  .hero-subtitle {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
    padding: 0 6px !important;
  }
  .hero-pill-badge {
    font-size: 9.5px !important;
    padding: 4px 12px !important;
    margin-bottom: 14px !important;
  }
  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    gap: 10px !important;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 20px !important;
  }

  /* Header Mobile Compactness (Hamburger Always Visible) */
  .logivon-header-inner {
    padding: 6px 12px !important;
    gap: 8px !important;
  }
  .header-auth-btn {
    padding: 6px 10px !important;
    font-size: 12px !important;
    max-width: 90px !important;
  }
  .header-auth-btn span {
    max-width: 60px !important;
  }
  .header-search-btn {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
  }
  .header-search-btn span {
    display: none !important;
  }
  .header-cart-btn {
    width: 34px !important;
    height: 34px !important;
  }
  .mobile-menu-trigger {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    flex-shrink: 0 !important;
    display: flex !important;
  }

  /* Gatekeeper Spacing on Mobile */
  .logivon-gatekeeper-section {
    padding-top: 110px !important;
    padding-bottom: 60px !important;
  }

  /* Community Mobile Dashboard Containment (Zero Overflow) */
  .linkedin-container {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    padding: 85px 12px 60px !important;
    overflow-x: hidden !important;
  }
  .linkedin-col-center,
  .linkedin-col-left {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .linkedin-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }
  .start-post-actions-row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 4px !important;
  }
  .start-post-action-btn {
    flex-direction: column !important;
    font-size: 10px !important;
    padding: 6px 2px !important;
    text-align: center !important;
    justify-content: center !important;
    gap: 3px !important;
  }
  .post-actions-row {
    display: flex !important;
    justify-content: space-around !important;
    padding: 8px 0 !important;
  }
  .post-action-btn {
    padding: 6px 6px !important;
    font-size: 11.5px !important;
    gap: 4px !important;
  }
  .post-action-btn span {
    font-size: 11.5px !important;
  }

  /* Universal Mobile Button Responsiveness & Overflow Prevention (Image 2 Fix) */
  .btn-book-call,
  .btn-ghost,
  .hero-book-btn,
  .cta-btn-main,
  .cta-btn-secondary {
    white-space: normal !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 13px 18px !important;
    font-size: clamp(12px, 3.4vw, 13.5px) !important;
    line-height: 1.35 !important;
    text-align: center !important;
    word-break: break-word !important;
    overflow: visible !important;
  }
  .btn-book-call span,
  .btn-ghost span {
    white-space: normal !important;
    word-break: break-word !important;
    display: inline-block !important;
  }

  /* CTA Section Specific Mobile Overflow Fix */
  #cta .glass-card {
    padding: 38px 18px !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
  #cta .cta-actions-wrap {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }
  #cta .btn-book-call,
  #cta .btn-ghost {
    width: 100% !important;
    padding: 14px 18px !important;
    font-size: 13px !important;
  }
}

/* ==========================================================================
   EXCLUSIVE DIWALI FESTIVE OFFER BANNER & CARD
   (Clean, Executive, High-Trust Luxury Design with Festive Diya)
   ========================================================================== */
.logivon-diwali-banner {
  max-width: 860px;
  margin: 24px auto 30px;
  padding: 16px 24px;
  background: linear-gradient(135deg, rgba(24, 16, 8, 0.94) 0%, rgba(12, 10, 6, 0.97) 100%) !important;
  border: 1px solid rgba(220, 165, 74, 0.45) !important;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(220, 165, 74, 0.16), 0 0 20px rgba(243, 201, 105, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  overflow: hidden;
  text-align: left;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.logivon-diwali-banner:hover {
  border-color: rgba(220, 165, 74, 0.7) !important;
  box-shadow: 0 16px 45px rgba(220, 165, 74, 0.22), 0 0 25px rgba(243, 201, 105, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.logivon-diwali-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 20px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(220, 165, 74, 0.22) 0%, transparent 70%);
  filter: blur(25px);
  pointer-events: none;
}

.diwali-banner-left {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.diwali-emblem-wrap {
  width: 68px;
  height: 68px;
  min-width: 68px;
  border-radius: 50%;
  border: 2px solid #DCA54A;
  box-shadow: 0 0 18px rgba(220, 165, 74, 0.5), inset 0 0 10px rgba(243, 201, 105, 0.3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  flex-shrink: 0;
  position: relative;
}

.diwali-emblem-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.diwali-banner-text {
  display: flex;
  flex-direction: column;
}

.diwali-banner-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #F3C969;
  text-transform: uppercase;
}

.diwali-banner-title {
  font-size: clamp(16px, 1.8vw, 21px);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 4px 0 3px;
  letter-spacing: -0.01em;
}

.diwali-banner-title span {
  background: linear-gradient(90deg, #DCA54A, #F3C969);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.diwali-banner-sub {
  font-size: 13px;
  color: #D4D4D8;
  line-height: 1.45;
}

.diwali-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(220, 165, 74, 0.15);
  border: 1px solid rgba(220, 165, 74, 0.45);
  color: #F3C969;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 4px;
  letter-spacing: 0.05em;
}

.diwali-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.btn-diwali-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #DCA54A, #F3C969);
  color: #000000 !important;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(220, 165, 74, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-diwali-copy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 165, 74, 0.55);
}

@media (max-width: 768px) {
  .logivon-diwali-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
    gap: 14px;
  }
  .diwali-banner-actions {
    width: 100%;
  }
  .btn-diwali-copy {
    width: 100%;
    justify-content: center;
  }
  .diwali-emblem-wrap {
    width: 52px;
    height: 52px;
    min-width: 52px;
  }
}

/* ==========================================================================
   ABOUT PAGE: 3D STORYTELLING, ENLIGHTENING EYE & HIDE-AND-SEEK CARDS
   ========================================================================== */

/* 1. Main Page Container */
.about-saga-wrapper {
  position: relative;
  overflow: hidden;
}

/* 2. Floating 3D Enlightenment Eye Beacon */
.enlightenment-eye-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px auto 35px;
  text-align: center;
}

.eye-orb-container {
  width: 140px;
  height: 140px;
  position: relative;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(243, 201, 105, 0.25) 0%, rgba(10, 12, 18, 0.95) 75%);
  box-shadow: 0 0 45px rgba(220, 165, 74, 0.45), inset 0 0 25px rgba(243, 201, 105, 0.35), 0 0 90px rgba(220, 165, 74, 0.2);
  border: 2px solid rgba(220, 165, 74, 0.6);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  z-index: 10;
}

.eye-orb-container:hover {
  transform: scale(1.06);
  box-shadow: 0 0 65px rgba(220, 165, 74, 0.7), inset 0 0 35px rgba(243, 201, 105, 0.5), 0 0 120px rgba(220, 165, 74, 0.35);
  border-color: #F3C969;
}

.eye-eyelid-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logivonEyeBlink 4.2s infinite ease-in-out;
  transform-origin: center center;
}

@keyframes logivonEyeBlink {
  0%, 88%, 96%, 100% {
    transform: scaleY(1);
  }
  92% {
    transform: scaleY(0.06);
  }
}

.eye-svg-element {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.7));
}

/* 3. The Enlightenment Cone Light Beam */
.enlightenment-light-cone {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: 260px;
  background: radial-gradient(ellipse at 50% 0%, rgba(220, 165, 74, 0.22) 0%, rgba(243, 201, 105, 0.08) 45%, transparent 75%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.5s ease;
}

/* 4. Live Enlightenment Tracker Badge */
.eye-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 9999px;
  background: rgba(10, 12, 18, 0.85);
  border: 1px solid rgba(220, 165, 74, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(220, 165, 74, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #F3C969;
  letter-spacing: 0.05em;
  z-index: 5;
}

.eye-pulse-orb {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F3C969;
  box-shadow: 0 0 10px #F3C969;
  animation: eyePulseDot 1.8s infinite ease-in-out;
}

@keyframes eyePulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* 5. Hide & Seek Story Cards Architecture */
.hide-seek-card {
  position: relative;
  background: linear-gradient(135deg, rgba(16, 21, 32, 0.88) 0%, rgba(8, 11, 17, 0.94) 100%);
  border: 1px solid rgba(220, 165, 74, 0.22);
  border-radius: 22px;
  padding: 32px 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hide-seek-card:hover {
  border-color: rgba(220, 165, 74, 0.55);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7), 0 0 30px rgba(220, 165, 74, 0.12);
}

.hide-seek-card.illuminated {
  border-color: #DCA54A !important;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(220, 165, 74, 0.25) !important;
}

/* 6. The Hidden Drawer (20% Hinglish Reveal) */
.desi-reveal-drawer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, transform 0.35s ease, margin 0.35s ease;
  margin-top: 0;
}

.desi-reveal-drawer.revealed {
  max-height: 800px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 20px;
}

.desi-drawer-inner {
  background: linear-gradient(135deg, rgba(220, 165, 74, 0.09) 0%, rgba(243, 201, 105, 0.03) 100%);
  border: 1px dashed rgba(220, 165, 74, 0.42);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: inset 0 0 15px rgba(220, 165, 74, 0.05);
  position: relative;
}

.desi-drawer-inner::before {
  content: '✦ GROUND REALITY';
  display: block;
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #F3C969;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.desi-drawer-text {
  font-size: 13.5px;
  color: #F4F4F5;
  line-height: 1.65;
  margin: 0;
  font-style: normal;
}

/* 7. Hide & Seek Toggle Buttons */
.btn-desi-peek {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 9999px;
  background: rgba(220, 165, 74, 0.12);
  border: 1px solid rgba(220, 165, 74, 0.35);
  color: #F3C969;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  margin-top: 14px;
}

.btn-desi-peek:hover {
  background: rgba(220, 165, 74, 0.28);
  border-color: #F3C969;
  color: #FFFFFF;
  box-shadow: 0 0 14px rgba(220, 165, 74, 0.3);
}

.btn-desi-peek.active {
  background: linear-gradient(90deg, #DCA54A, #F3C969);
  color: #000000;
  border-color: #F3C969;
  font-weight: 800;
  box-shadow: 0 0 18px rgba(220, 165, 74, 0.45);
}

/* 8. Global Story Controls Bar */
.story-controls-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0 auto 40px;
  max-width: 820px;
  padding: 12px 20px;
  background: rgba(14, 18, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(16px);
}

.btn-global-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #E4E4E7;
  padding: 8px 18px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-global-toggle:hover {
  background: rgba(220, 165, 74, 0.15);
  border-color: rgba(220, 165, 74, 0.4);
  color: #F3C969;
}

/* 9. Story Act Section Wrappers */
.story-act-section {
  position: relative;
  margin-bottom: 60px;
  transition: all 0.4s ease;
}

.story-act-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(220, 165, 74, 0.1);
  border: 1px solid rgba(220, 165, 74, 0.3);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #F3C969;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.story-act-title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.15;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.story-act-lead {
  font-size: 15px;
  color: #D4D4D8;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* ==========================================================================
   10. 3D FLIP CARDS ARCHITECTURE (PRACTICE CAPABILITIES)
   ========================================================================== */
.logivon-flip-card {
  perspective: 1200px;
  -webkit-perspective: 1200px;
  min-height: 290px;
  cursor: pointer;
  outline: none;
  border-radius: 20px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logivon-flip-card:hover {
  transform: translateY(-4px);
}

.logivon-flip-card .flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 290px;
  transition: transform 0.65s cubic-bezier(0.4, 0.0, 0.2, 1);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  border-radius: 20px;
}

.logivon-flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.logivon-flip-card .flip-card-front,
.logivon-flip-card .flip-card-back {
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 20px;
  box-sizing: border-box;
}

.logivon-flip-card .flip-card-front {
  position: relative;
  z-index: 2;
  transform: rotateY(0deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 26px;
  background: rgba(14, 18, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.logivon-flip-card .flip-card-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 24px;
  background: linear-gradient(135deg, rgba(20, 24, 35, 0.98) 0%, rgba(10, 12, 18, 0.99) 100%) !important;
  border: 1px solid rgba(220, 165, 74, 0.45) !important;
  box-shadow: 0 15px 40px rgba(220, 165, 74, 0.14);
}

.flip-card-back-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.flip-actions-center {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 6px;
}

.btn-flip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.btn-flip-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.flip-hint-badge {
  transition: all 0.2s ease;
}

.logivon-flip-card:hover .flip-hint-badge {
  background: rgba(220, 165, 74, 0.25) !important;
  border-color: rgba(220, 165, 74, 0.6) !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   11. COMMUNITY POST COMPOSER MULTI-TAB ARCHITECTURE
   ========================================================================== */
.composer-tabs-nav {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
  margin-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.composer-tab-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  color: #A1A1AA;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.composer-tab-btn:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.composer-tab-btn.active {
  background: rgba(220, 165, 74, 0.18);
  color: #F3C969;
  border-color: rgba(220, 165, 74, 0.5);
  font-weight: 700;
}

.composer-panel {
  display: none;
}

.composer-panel.active {
  display: block;
  animation: modalFadeIn 0.2s ease-out;
}

/* Drag-and-drop dropzone */
.composer-dropzone {
  border: 2px dashed rgba(220, 165, 74, 0.35);
  border-radius: 12px;
  padding: 24px 18px;
  text-align: center;
  background: rgba(20, 24, 32, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 12px;
}

.composer-dropzone:hover,
.composer-dropzone.dragover {
  border-color: #DCA54A;
  background: rgba(220, 165, 74, 0.08);
}

.composer-preview-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
  display: none;
}

.composer-preview-card.has-file {
  display: block;
}

.composer-remove-preview-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Rendered Poll Card in Feed */
.post-poll-container {
  background: rgba(20, 24, 34, 0.9);
  border: 1px solid rgba(220, 165, 74, 0.3);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 12px 0 16px;
}

.poll-option-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  transition: all 0.2s ease;
}

.poll-option-btn:hover {
  border-color: rgba(220, 165, 74, 0.5);
  background: rgba(220, 165, 74, 0.08);
}

.poll-option-btn .poll-fill-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgba(220, 165, 74, 0.22);
  border-right: 2px solid #DCA54A;
  z-index: 1;
  transition: width 0.4s ease;
}

.poll-option-btn .poll-option-text {
  position: relative;
  z-index: 2;
}

.poll-option-btn .poll-option-pct {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #F3C969;
}

/* Rendered Document Card in Feed */
.post-doc-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(20, 24, 34, 0.95);
  border: 1px solid rgba(220, 165, 74, 0.35);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 12px 0 16px;
}

/* Rendered Article Card in Feed */
.post-article-card {
  background: rgba(20, 24, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid #ef4444;
  border-radius: 12px;
  padding: 20px;
  margin: 12px 0 16px;
}

/* ==========================================================================
   SMOOTH SCROLLING & HEADER ANCHOR PADDING
   ========================================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   LAPTOP / DESKTOP DIAGNOSTIC MAGNIFYING GLASS INSPECTOR (Section #problems)
   ========================================================================== */
#problems {
  position: relative;
}

@media (min-width: 1024px) {
  #problems.magnifier-active {
    cursor: crosshair;
  }

  .logivon-magnifier-lens {
    position: fixed;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    overflow: visible;
    box-shadow: 
      0 20px 50px rgba(0, 0, 0, 0.9),
      0 0 35px rgba(220, 165, 74, 0.45),
      inset 0 0 25px rgba(220, 165, 74, 0.25);
    opacity: 0;
    transform: scale(0.6) translate3d(0, 0, 0);
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, left, top;
    display: none;
  }

  .logivon-magnifier-lens.visible {
    display: block;
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
  }

  /* Circular Lens Window with Clip-path */
  .magnifier-viewport {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 3.5px solid #DCA54A;
    background: #000000;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
  }

  /* Inner Cloned Zoom Stage */
  .magnifier-content-stage {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
  }

  /* Optical Glass Arc Reflection */
  .magnifier-reflection {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.05) 45%, transparent 65%);
    pointer-events: none;
    z-index: 5;
  }

  /* High-Tech Diagnostic Reticle */
  .magnifier-reticle {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
  }

  .magnifier-crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    pointer-events: none;
  }

  .magnifier-crosshair::before,
  .magnifier-crosshair::after {
    content: '';
    position: absolute;
    background: rgba(220, 165, 74, 0.8);
    box-shadow: 0 0 6px #F3C969;
  }

  .magnifier-crosshair::before {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1.5px;
    transform: translateX(-50%);
  }

  .magnifier-crosshair::after {
    left: 0;
    right: 0;
    top: 50%;
    height: 1.5px;
    transform: translateY(-50%);
  }

  .magnifier-tag-top {
    font-family: var(--font-mono);
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #F3C969;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.75);
    padding: 2px 8px;
    border-radius: 9999px;
    border: 1px solid rgba(220, 165, 74, 0.4);
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
  }

  .magnifier-tag-bottom {
    font-family: var(--font-mono);
    font-size: 8px;
    color: #a1a1aa;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.75);
    padding: 1px 6px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  /* Physical Metallic Loupe Handle (Angled at 45deg) */
  .magnifier-handle {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 22px;
    height: 65px;
    border-radius: 11px;
    background: linear-gradient(135deg, #F3C969 0%, #DCA54A 35%, #593D13 70%, #DCA54A 100%);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(220, 165, 74, 0.3);
    transform: rotate(-45deg);
    transform-origin: top left;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    z-index: 1;
    pointer-events: none;
  }
}

@media (max-width: 1023px) {
  .logivon-magnifier-lens {
    display: none !important;
  }
}

/* ==========================================================================
   HERO HEADLINE GRADIENT & TYPEWRITER ANIMATION
   ========================================================================== */
.hero-typewriter-wrapper {
  display: inline-block !important;
  position: relative !important;
  text-align: center !important;
  max-width: 100% !important;
  min-height: calc(4 * 1.18em) !important;
  vertical-align: top !important;
}

.hero-typewriter-ghost {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  user-select: none !important;
  display: block !important;
  line-height: 1.18 !important;
  font-weight: 900 !important;
}

.hero-typewriter-overlay {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  text-align: center !important;
}

.hero-typewriter-text,
h1.hero-headline .hero-typewriter-text,
.elementor-widget-heading h1.hero-headline .hero-typewriter-text,
.elementor-widget-logivon_hero_widget .hero-headline .hero-typewriter-text,
#hero-typewriter-target {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFFFF 48%, #F3C969 63%, #DCA54A 77%, #FFFFFF 88%, #FFFFFF 100%) !important;
  background-size: 240% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block !important;
  animation: goldShimmer 6s linear infinite !important;
  -webkit-box-decoration-break: clone !important;
  box-decoration-break: clone !important;
  filter: drop-shadow(0 4px 22px rgba(220, 165, 74, 0.35)) !important;
  text-shadow: none !important;
  white-space: normal !important;
  word-break: break-word !important;
  font-weight: 900 !important;
  line-height: 1.18 !important;
}

.hero-typewriter-cursor {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;
  pointer-events: none !important;
}

@keyframes goldShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==========================================================================
   COMMUNITY PAGE LAPTOP & TABLET EXCLUSIVE GATE (MOBILE SCREEN NOTIFICATION)
   ========================================================================== */
.community-mobile-notice {
  display: none !important;
  visibility: hidden;
}

@media (max-width: 767px) {
  /* On Mobile (< 768px): Hide heavy desktop container, show sleek laptop prompt */
  .linkedin-container,
  .page-template-page-community .logivon-elementor-content {
    display: none !important;
  }

  .community-mobile-notice {
    display: flex !important;
    min-height: calc(100vh - 140px);
    align-items: center;
    justify-content: center;
    padding: 110px 16px 60px;
    box-sizing: border-box;
    text-align: center;
  }

  .community-mobile-card {
    max-width: 440px;
    width: 100%;
    padding: 38px 24px;
    border-color: rgba(220, 165, 74, 0.35) !important;
    background: rgba(12, 14, 20, 0.96) !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 35px rgba(220, 165, 74, 0.18) !important;
    border-radius: 24px !important;
  }

  .community-device-icon-wrap {
    position: relative;
    width: 86px;
    height: 86px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: rgba(220, 165, 74, 0.08);
    border: 1px solid rgba(220, 165, 74, 0.35);
  }

  .community-laptop-glow {
    position: absolute;
    inset: -12px;
    background: radial-gradient(circle, rgba(220, 165, 74, 0.28) 0%, transparent 70%);
    filter: blur(14px);
    pointer-events: none;
  }

  .community-pulse-badge {
    position: absolute;
    bottom: -9px;
    background: linear-gradient(135deg, #DCA54A, #F3C969);
    color: #000;
    font-family: var(--font-mono);
    font-size: 8.5px;
    font-weight: 800;
    padding: 2.5px 10px;
    border-radius: 9999px;
    white-space: nowrap;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  }

  .community-kicker-badge {
    display: inline-block;
    font-size: 10px;
    font-family: var(--font-mono);
    color: #F3C969;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: rgba(220, 165, 74, 0.1);
    border: 1px solid rgba(220, 165, 74, 0.28);
    padding: 5px 14px;
    border-radius: 9999px;
    margin-bottom: 16px;
  }

  .community-mobile-title {
    font-size: 24px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    color: #FFFFFF !important;
    margin: 0 0 14px !important;
  }

  .community-mobile-desc {
    font-size: 13.5px !important;
    color: #A1A1AA !important;
    line-height: 1.65 !important;
    margin: 0 0 24px !important;
  }

  .community-user-verified-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 14px;
    border-radius: 14px;
    margin-bottom: 22px;
  }

  .community-user-verified-badge .user-avatar-initials {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #DCA54A, #F3C969);
    color: #000;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .community-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
}

@media (min-width: 768px) {
  /* On Laptop and Tablet (>= 768px): Show full multi-column dashboard */
  .community-mobile-notice {
    display: none !important;
  }
  .linkedin-container {
    display: grid !important;
  }
}




