/* C:\Users\G15\Personal\DJO\Project\homePageDJO\style.css */

/* ==========================================================================
   1. Design Variables & Global Reset
   ========================================================================== */
:root {
  --bg-color-main: #050505;
  --bg-color-dark: #000000;
  --bg-color-card: #0a0a0a;
  --bg-color-card-light: #111111;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-thick: #1a1a1a;
  --border-color-green: rgba(218, 255, 156, 0.15);
  
  /* DJO Brand Colors */
  --color-text-rose: #FFF2F5; /* Brand Soft Pink/Rose */
  --color-green-neon: #DAFF9C; /* Brand Pale Green */
  --color-blue-primary: #4169E1; /* Soft vibrant blue */
  --color-blue-hover: #3558c4;
  --color-text-primary: #ffffff;
  --color-text-secondary: #cccccc;
  --color-text-muted: #888888;
  --color-text-dark: #666666;
  
  --font-main: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-header: 'MuseoModerno', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color-main);
  color: var(--color-text-primary);
  font-family: var(--font-main);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Common Badge/Pill design */
.badge {
  position: relative;
  z-index: 10;
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  background-color: #222222;
  border: 1px solid #383838;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 2.5rem;
  display: inline-block;
}

/* Highlight style */
.highlight {
  color: var(--color-green-neon);
}

/* ==========================================================================
   2. Buttons & Global Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--color-blue-primary);
}

.btn-primary:hover {
  background-color: var(--color-blue-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #383838;
}

.btn-secondary:hover {
  background-color: #4a4a4a;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #383838;
  color: #ffffff;
}

.btn-outline:hover {
  background-color: #111111;
  border-color: #555555;
}

.btn.large {
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  border-radius: 10px;
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   3. Header & Navigation Menu
   ========================================================================== */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  padding: 1.5rem 2rem;
  width: 100%;
  z-index: 100;
  transition: padding 0.3s ease;
}

.navbar-wrapper.scrolled {
  padding: 0.75rem 2rem;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0.75rem 0.75rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #eeeeee;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-green-neon);
  transition: width 0.2s ease;
}

.nav-links li a:hover {
  color: #ffffff;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* ==========================================================================
   Logo Portal & Space Switcher (Hover logo to reveal alternate product space)
   ========================================================================== */
.logo-portal {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
}

.logo-main-link {
  display: block !important;
  transition: transform 0.3s ease !important;
  z-index: 10 !important;
}

.logo-main-link:hover {
  transform: scale(1.02) !important;
}

.logo-switch-link {
  position: absolute !important;
  left: 100% !important;
  top: 50% !important;
  transform: translateY(-50%) scale(0.85) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  padding: 6px 14px 6px 10px !important;
  border-radius: 30px !important;
  text-decoration: none !important;
  z-index: 9999 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-left: 0px !important;
}

/* Hovering the portal container makes the switch link slide out elegantly */
.logo-portal:hover .logo-switch-link,
.logo-switch-link:focus-within {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(-50%) scale(1) !important;
  margin-left: 16px !important; /* Elegant slide-out separation */
}

/* Specific glows and interactions depending on space */
.logo-portal[data-current-space="assist"] .logo-switch-link:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 163, 181, 0.4) !important;
  box-shadow: 0 0 15px rgba(255, 163, 181, 0.25), 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.logo-portal[data-current-space="edge"] .logo-switch-link:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(218, 255, 156, 0.3) !important;
  box-shadow: 0 0 15px rgba(218, 255, 156, 0.20), 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.switch-icon-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  overflow: visible !important;
}

.logo-switch-img {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  object-fit: contain !important;
  display: block !important;
}

.switch-glow-dot {
  position: absolute !important;
  bottom: -1px !important;
  right: -1px !important;
  width: 6px !important;
  height: 6px !important;
  min-width: 6px !important;
  min-height: 6px !important;
  max-width: 6px !important;
  max-height: 6px !important;
  border-radius: 50% !important;
  z-index: 10 !important;
}

.edge-glow {
  background: #ffa3b5 !important;
  box-shadow: 0 0 8px #ffa3b5 !important;
}

.assist-glow {
  background: var(--color-green-neon) !important;
  box-shadow: 0 0 8px var(--color-green-neon) !important;
}

.switch-tooltip {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  transition: color 0.3s ease !important;
}

.logo-portal[data-current-space="assist"] .switch-tooltip {
  color: #ffa3b5 !important;
}

.logo-portal[data-current-space="edge"] .switch-tooltip {
  color: var(--color-green-neon) !important;
}

/* Ensure navbar logo alignment is correct */
.nav-brand {
  display: flex;
  align-items: center;
}

/* Responsive switcher for mobile and small viewports */
@media (max-width: 900px) {
  .logo {
    height: 42px; /* Slightly smaller logo on mobile */
  }
  .logo-switch-link {
    padding: 4px 10px 4px 8px;
    gap: 6px;
  }
  .logo-switch-img {
    width: 18px;
    height: 18px;
  }
  .switch-tooltip {
    font-size: 0.68rem;
  }
}

@media (max-width: 480px) {
  .logo-switch-link {
    padding: 6px;
    border-radius: 50%;
  }
  .switch-tooltip {
    display: none; /* Hide text on extremely narrow viewports to prevent collision */
  }
}

/* ==========================================================================
   Navigation Dropdown Menu (Added for Sector Pages)
   ========================================================================== */
.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-chevron {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  vertical-align: middle;
}

.nav-dropdown-wrapper:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  width: 600px;
  background: rgba(8, 8, 8, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 40px rgba(218, 255, 156, 0.03);
  z-index: 150;
}

/* Small visual arrow indicator top center */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(8, 8, 8, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(8px);
}

/* Mega menu content grids */
.mega-menu-content {
  display: flex;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.mega-menu-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mega-menu-header {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  font-weight: 700;
}

/* Glowing selector arrow dot from DJO logo */
.djo-arrow-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--color-green-neon);
  transform: rotate(45deg);
  margin-right: 8px;
  box-shadow: 0 0 10px var(--color-green-neon);
  border-radius: 1px;
}

.mega-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mega-menu-links li {
  width: 100%;
}

.mega-menu-links li a {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem !important;
  border-radius: 10px;
  background: transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
}

/* Sliding Green Luminous Triangle Selection Indicator */
.hover-arrow {
  position: absolute;
  left: 0;
  width: 0;
  height: 0;
  border-left: 5px solid var(--color-green-neon);
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
  opacity: 0;
  transform: translateX(-4px) scale(0.5);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 4px var(--color-green-neon));
}

.mega-menu-links li a:hover {
  background: rgba(218, 255, 156, 0.05) !important;
  padding-left: 1.25rem !important;
}

.mega-menu-links li a:hover .hover-arrow {
  opacity: 1;
  transform: translateX(8px) scale(1.1);
}

.link-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.link-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.2s ease;
}

.link-desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.mega-menu-links li a:hover .link-title {
  color: var(--color-green-neon);
}

/* Vertical divider with clean neon-ambient edge */
.mega-menu-divider {
  width: 1px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.01) 0%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.01) 100%);
}

.mega-menu-footer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.see-all-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: var(--color-green-neon) !important;
  padding: 0.5rem 0.85rem !important;
  border-radius: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.see-all-arrow {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.see-all-link:hover {
  background: rgba(218, 255, 156, 0.04) !important;
  padding-left: 1.1rem !important;
}

.see-all-link:hover .see-all-arrow {
  transform: translateX(4px);
}

/* For mobile screen adaptations - collapse mega-menu into stack */
@media (max-width: 991px) {
  .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.01) !important;
    border: none !important;
    border-left: 2px solid rgba(218, 255, 156, 0.15) !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    padding: 0.5rem 0 0.5rem 0.85rem !important;
    box-shadow: none !important;
    display: none !important; /* Toggled via JS class .active on parent wrapper */
    margin-top: 0.5rem;
  }
  
  .nav-dropdown-menu::before {
    display: none !important;
  }
  
  .nav-dropdown-wrapper.active .nav-dropdown-menu {
    display: block !important;
  }

  .mega-menu-content {
    flex-direction: column;
    gap: 1.25rem;
  }

  .mega-menu-divider {
    display: none;
  }

  .mega-menu-header {
    margin-bottom: 0.5rem;
  }

  .mega-menu-links li a {
    padding: 0.45rem 0.5rem !important;
  }

  .link-desc {
    display: none; /* Keep mobile sidebar compact */
  }

  .hover-arrow {
    display: none; /* Hide hover effect indicators on tap screen */
  }

  .mega-menu-footer {
    border-top: none;
    padding-top: 0.25rem;
    margin-top: 0.25rem;
  }

  .see-all-link {
    padding: 0.45rem 0.5rem !important;
  }
}

.nav-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Language Selector Dropdown */
.lang-selector-dropdown {
  position: relative;
  display: inline-block;
}

.lang-selected-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #ffffff;
}

.lang-selected-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.lang-flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: block;
}

.lang-selected-btn .dropdown-chevron {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.7;
}

.lang-selector-dropdown.active .lang-selected-btn .dropdown-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  transform: translateY(10px);
  width: 140px;
  background: rgba(8, 8, 8, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(218, 255, 156, 0.02);
  z-index: 155;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.lang-selector-dropdown.active .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(6px);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.lang-option.active {
  background: rgba(218, 255, 156, 0.08);
  color: var(--color-green-neon);
}

.lang-flag-opt {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Menu Open State classes */
.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   4. Hero Section & Space Moving Stars Background
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: clamp(4rem, 6.5vh, 5.5rem);
  padding-bottom: clamp(2.5rem, 5vh, 4rem);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 70% 90% at -5% 45%, rgba(218, 255, 156, 0.16) 0%, rgba(218, 255, 156, 0.04) 45%, transparent 80%),
    radial-gradient(ellipse 50% 60% at 100% 90%, rgba(218, 255, 156, 0.05) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1040px;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: var(--font-header);
  color: var(--color-text-rose);
  font-size: clamp(3rem, 6.8vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.02;
  margin-top: clamp(0.2rem, 1.5vh, 1rem);
  margin-bottom: 1rem;
  min-height: 2.4em; /* Prevent layout shifting */
  display: block;
  text-wrap: balance;
}

.typewriter-line {
  display: block;
}

/* Individual word animations with a premium, semi-transparent text-gradient look */
.hero-title .word {
  display: inline-block;
  opacity: 0;
  filter: blur(15px);
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  margin-inline-end: 0.22em; /* Spacing between words in both LTR & RTL */
  white-space: nowrap;
  background: linear-gradient(135deg, #FFF2F5 30%, rgba(255, 242, 245, 0.55) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 26px rgba(255, 242, 245, 0.06);
}

.hero-title .word.revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

/* High-tech glow and active line reveal for the last word with neon green text-gradient */
.hero-title .highlight-glow {
  position: relative;
  background: linear-gradient(135deg, #DAFF9C 30%, rgba(218, 255, 156, 0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-green-neon) !important;
  text-shadow: 0 0 20px rgba(218, 255, 156, 0);
  transition: text-shadow 1.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.6s ease;
}

.hero-title .highlight-glow.active {
  text-shadow: 0 0 20px rgba(218, 255, 156, 0.45);
}

.hero-title .highlight-glow::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-green-neon), transparent);
  box-shadow: 0 0 10px var(--color-green-neon), 0 0 20px var(--color-green-neon);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title .highlight-glow.active::after {
  width: 100%;
}

/* Cognitive AI Ambient Processing Glow */
.cognitive-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 220px;
  background: radial-gradient(ellipse at center, rgba(65, 105, 225, 0.1) 0%, rgba(218, 255, 156, 0.05) 50%, transparent 80%);
  border-radius: 50%;
  filter: blur(50px);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.5s ease, background 2s ease, transform 2.5s ease;
}

.cognitive-glow.processing {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.15);
  background: radial-gradient(ellipse at center, rgba(65, 105, 225, 0.18) 0%, rgba(218, 255, 156, 0.12) 40%, transparent 75%);
}

.cognitive-glow.settled {
  opacity: 0.45;
  transform: translate(-50%, -50%) scale(1);
  background: radial-gradient(ellipse at center, rgba(218, 255, 156, 0.08) 0%, transparent 70%);
}

.hero-subtitle {
  font-family: var(--font-header);
  color: var(--color-green-neon);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-top: 0.25rem;
  margin-bottom: 1.6rem;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-actions .btn.large {
  padding: 0.95rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.hero-actions .btn.btn-primary.large {
  background: linear-gradient(180deg, #4f6fe8 0%, #4169e1 100%);
}

.hero-actions .btn.btn-outline.large {
  background-color: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-actions .btn.large:hover {
  transform: translateY(-2px);
}

/* Hero Spacing & Breakpoint Responsiveness */
@media (max-width: 991px) {
  .hero-section {
    padding-top: 5.5rem;
    padding-bottom: 4.4rem;
  }
  .hero-title {
    margin-bottom: 1.25rem;
    min-height: auto; /* Allow auto scaling so mobile layout is tight */
  }
  .hero-subtitle {
    margin-bottom: 1.4rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 5rem;
    padding-bottom: 3.75rem;
  }
  .hero-title {
    line-height: 1.08;
    margin-bottom: 1rem;
  }
  .hero-subtitle {
    margin-bottom: 1.2rem;
  }
  .hero-actions {
    gap: 0.75rem;
  }
  .hero-actions .btn.large {
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
    width: 100%;
    max-width: 280px; /* Stack nicely on mobile but keep elegant size */
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-top: 4.5rem;
    padding-bottom: 3rem;
  }
  .hero-title {
    font-size: clamp(2rem, 7vw, 2.5rem);
    letter-spacing: -0.03em;
    margin-bottom: 0.9rem;
  }
  .hero-subtitle {
    font-size: clamp(1.05rem, 5vw, 1.25rem);
    margin-bottom: 1.1rem;
  }
  .hero-content {
    padding: 0 1.1rem; /* Better breathing room on tiny mobile screens */
  }
}

/* Natural Star Movement Wrapper */
.star-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2500px;
  height: 2500px;
  z-index: 0;
  pointer-events: none;
}

.layer-1 { transform: translate(-50%, -50%) rotate(15deg) scale(1.5); }
.layer-2 { transform: translate(-50%, -50%) rotate(-35deg) scale(1.5); }
.layer-3 { transform: translate(-50%, -50%) rotate(75deg) scale(1.5); }

@keyframes animStarUp {
  from { transform: translateY(0px); }
  to { transform: translateY(-2000px); }
}

@keyframes animStarDown {
  from { transform: translateY(-2000px); }
  to { transform: translateY(0px); }
}

/* Star Shadows mapped to standard elements */
.stars {
  width: 1px; height: 1px;
  background: transparent;
  box-shadow: 1744px 122px #FFF, 1344px 1946px #FFF, 1123px 857px #FFF, 595px 779px #FFF, 1603px 393px #FFF, 1101px 1603px #FFF, 37px 917px #FFF, 1795px 1735px #FFF, 1692px 1781px #FFF, 1425px 1205px #FFF, 655px 1082px #FFF, 1270px 233px #FFF, 253px 709px #FFF, 1224px 53px #FFF, 1492px 1351px #FFF, 1991px 1587px #FFF, 1587px 1363px #FFF, 609px 1018px #FFF, 1766px 643px #FFF;
  animation: animStarUp 60s linear infinite;
}
.stars::after {
  content: " "; position: absolute; top: 2000px; width: 1px; height: 1px; background: transparent; box-shadow: inherit;
}

.stars2 {
  width: 2px; height: 2px; background: transparent;
  box-shadow: 1257px 674px #FFF, 635px 1633px #FFF, 1353px 1768px #FFF, 829px 302px #FFF, 1867px 808px #FFF, 1457px 1671px #FFF, 810px 1889px #FFF, 1298px 461px #FFF, 933px 749px #FFF, 362px 1285px #FFF, 1392px 1743px #FFF, 1280px 182px #FFF, 1075px 913px #FFF, 388px 1969px #FFF, 110px 1066px #FFF;
  animation: animStarDown 100s linear infinite;
}
.stars2::after {
  content: " "; position: absolute; top: 2000px; width: 2px; height: 2px; background: transparent; box-shadow: inherit;
}

.stars3 {
  width: 3px; height: 3px; background: transparent;
  box-shadow: 1221px 429px #FFF, 832px 1328px #FFF, 1766px 1901px #FFF, 1383px 1882px #FFF, 1691px 470px #FFF, 1339px 1493px #FFF, 190px 1295px #FFF, 310px 1660px #FFF, 445px 673px #FFF, 1689px 1253px #FFF, 863px 1423px #FFF;
  animation: animStarUp 150s linear infinite;
}
.stars3::after {
  content: " "; position: absolute; top: 2000px; width: 3px; height: 3px; background: transparent; box-shadow: inherit;
}

/* ==========================================================================
   5. Short Intro Section
   ========================================================================== */
.short-intro-section {
  position: relative;
  width: 100%;
  padding: 4rem 2rem 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.intro-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(218, 255, 156, 0.05) 0%, transparent 60%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}

.intro-text {
  position: relative;
  z-index: 10;
  font-family: var(--font-header);
  color: var(--color-text-rose);
  font-size: clamp(1.8rem, 3.5vw, 42px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   6. Features Section (Why Choose Us?)
   ========================================================================== */
.features-section {
  width: 100%;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features-header {
  text-align: center;
  margin-bottom: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features-main-title {
  font-family: var(--font-header);
  color: var(--color-text-rose);
  font-size: clamp(2rem, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.features-subtitle {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
}

.features-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  max-width: 1100px;
  width: 100%;
  align-items: center;
}

/* Left Column - Mockup Player styling */
.app-mockup-wrapper {
  background-color: #0c0c0c;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid #1a1a1a;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.app-mockup {
  background-color: var(--bg-color-main);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  height: 480px;
}

.app-header {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #151515;
}

.app-header-logo {
  height: 28px;
  object-fit: contain;
  margin-right: auto;
}

.app-tabs {
  display: flex;
  gap: 1.5rem;
  margin-right: 0.5rem;
}

.tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}

.tab.inactive { color: #555555; }
.tab.active { color: #aaaaaa; }

.app-player {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem;
}

.play-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
}

.play-btn:hover {
  color: #ffffff;
}

.waveform {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  height: 28px;
}

.wave-bar {
  flex: 1;
  max-width: 4px;
  min-width: 2px;
  background-color: var(--color-text-rose);
  border-radius: 4px;
  transform-origin: center;
  animation: waveBounce ease-in-out infinite;
}

@keyframes waveBounce {
  0%, 100% { transform: scaleY(0.25); }
  50% { transform: scaleY(1); }
}

.time-display {
  color: #555555;
  font-size: 0.85rem;
  min-width: 30px;
}

/* Scrolling Transcript Container */
.transcript-container {
  flex-grow: 1;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.transcript-track {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 1.5rem;
  animation: autoScroll 25s linear infinite;
}

.transcript-track:hover {
  animation-play-state: paused;
}

@keyframes autoScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.transcript-card {
  background-color: var(--bg-color-card);
  border-radius: 12px;
  padding: 1.2rem;
  border: 1px solid rgba(255,255,255,0.02);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.badge-time {
  background-color: #1a1a1a;
  color: #aaaaaa;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
}

.card-title {
  color: #eeeeee;
  font-size: 0.95rem;
  font-weight: 500;
}

.card-text {
  color: #777777;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Interactive Word Highlight System inside Mockup */
.transcript-track.highlighting-active {
  animation: none !important;
  transform: translateY(0) !important;
}

.highlight-word {
  display: inline-block;
  margin-right: 0.25rem;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: var(--color-text-muted);
}

.transcript-track.highlighting-active .highlight-word {
  color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.transcript-track.highlighting-active .highlight-word:hover {
  color: var(--color-text-rose);
  transform: scale(1.08);
  text-shadow: 0 0 8px rgba(255, 242, 245, 0.5);
}

.highlight-word.spoken {
  color: rgba(255, 255, 255, 0.85);
  transform: scale(1);
}

.highlight-word.active-spoken {
  color: var(--color-green-neon) !important;
  transform: scale(1.15);
  text-shadow: 0 0 10px rgba(218, 255, 156, 0.8);
  font-weight: 700;
}

/* Transcript Format Bar styling */
.transcript-format-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background-color: rgba(10, 10, 10, 0.5);
  margin-bottom: 0.5rem;
}

.format-buttons {
  display: flex;
  gap: 0.5rem;
}

.format-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.format-btn:hover {
  color: var(--color-green-neon);
  background-color: rgba(218, 255, 156, 0.03);
}

.format-btn.active {
  color: var(--color-green-neon);
  background-color: rgba(218, 255, 156, 0.08);
  box-shadow: inset 0 0 10px rgba(218, 255, 156, 0.05);
}

.format-btn svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
}

.format-action-btn {
  background: transparent;
  border: 1px solid rgba(218, 255, 156, 0.2);
  color: var(--color-green-neon);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.format-action-btn:hover {
  background-color: var(--color-green-neon);
  color: #000;
  border-color: var(--color-green-neon);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(218, 255, 156, 0.15);
}

.format-action-btn svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
}

/* SRT Track & code formatting styles */
.srt-track {
  padding: 1.5rem;
  overflow-y: auto;
  max-height: 250px;
  min-height: 250px;
  text-align: left;
}

.srt-content {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
}

/* Let's animate the shackle and keyhole of the padlock! */
.padlock-svg {
  animation: padlockFloat 4s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 15px rgba(218, 255, 156, 0.4)) drop-shadow(0px 10px 20px rgba(0,0,0,0.8));
  transition: filter 0.4s ease;
}

@keyframes padlockFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-8px) rotate(-1deg);
  }
}

/* Keyhole neon aura ALWAYS pulsing & luminous */
.padlock-keyhole-top, .padlock-keyhole-bottom {
  fill: var(--color-green-neon) !important;
  filter: drop-shadow(0 0 4px var(--color-green-neon)) drop-shadow(0 0 8px var(--color-green-neon));
  animation: keyholeGlow 2s ease-in-out infinite alternate;
  transition: filter 0.3s ease;
}

@keyframes keyholeGlow {
  0% {
    filter: drop-shadow(0 0 3px var(--color-green-neon)) drop-shadow(0 0 6px var(--color-green-neon));
  }
  100% {
    filter: drop-shadow(0 0 8px var(--color-green-neon)) drop-shadow(0 0 16px var(--color-green-neon));
  }
}

/* Sleek luminous borders for padlock body */
.padlock-body {
  stroke: var(--color-green-neon) !important;
  stroke-width: 3;
  filter: drop-shadow(0 0 5px rgba(218, 255, 156, 0.6));
  transition: stroke 0.3s ease, filter 0.3s ease;
}

.padlock-shackle {
  stroke: #1f1f1f;
  transition: stroke 0.3s ease;
}

/* Enhanced glow when hovered over the padlock container */
.lock-container:hover .padlock-svg {
  filter: drop-shadow(0 0 20px rgba(218, 255, 156, 0.45)) drop-shadow(0px 10px 25px rgba(0,0,0,0.9));
}

.lock-container:hover .padlock-body {
  stroke: var(--color-green-neon) !important;
  filter: drop-shadow(0 0 6px rgba(218, 255, 156, 0.4));
}

.lock-container:hover .padlock-shackle {
  stroke: #2e2e2e;
}

.lock-container:hover .padlock-keyhole-top,
.lock-container:hover .padlock-keyhole-bottom {
  filter: drop-shadow(0 0 10px var(--color-green-neon)) drop-shadow(0 0 20px var(--color-green-neon));
}

/* Subtitle and text formatting animations */
.srt-content-block {
  animation: srtFadeIn 0.5s ease-out;
}

@keyframes srtFadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Features Right Text styling */
.features-text-content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.feature-title {
  font-family: var(--font-header);
  color: var(--color-green-neon);
  font-size: clamp(1.5rem, 3.5vw, 32px);
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.feature-desc {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ==========================================================================
   7. Shared Transcript Section (Collaborative Workspace)
   ========================================================================== */
.shared-section {
  width: 100%;
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
}

.shared-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  max-width: 1100px;
  width: 100%;
  align-items: center;
}

.shared-text-content {
  display: flex;
  flex-direction: column;
}

.shared-title {
  font-family: var(--font-header);
  color: var(--color-green-neon);
  font-size: clamp(2rem, 3.5vw, 42px);
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.shared-desc {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 500px;
}

/* App Mockup Shared styling */
.shared-mockup-wrapper {
  background-color: #0c0c0c;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid #1a1a1a;
  position: relative;
}

.shared-mockup {
  background-color: var(--bg-color-main);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  height: 500px;
  position: relative;
  overflow: hidden;
}

.shared-header {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  gap: 1rem;
}

.shared-logo {
  height: 28px;
  object-fit: contain;
}

.shared-header-title {
  color: #ffffff;
  font-weight: 500;
  font-size: 1.1rem;
}

.shared-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem 1rem 1.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #111111;
  border: 1px solid #1f1f1f;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  color: #aaaaaa;
  font-size: 0.85rem;
}

.avatars-item {
  gap: 0.5rem;
}

.meta-dim {
  color: #666666;
}

.avatar-group {
  display: flex;
  align-items: center;
}

.avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #111111;
}

.avatar-1 {
  background-image: url('./assets/avatar1.jpg');
  background-size: cover;
  background-position: center;
  z-index: 2;
}
.avatar-2 {
  background-image: url('./assets/avatar2.jpg');
  background-size: cover;
  background-position: center;
  margin-left: -8px;
  z-index: 1;
}

/* Collaborative Workspace scrollable text */
.shared-transcript-area {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  padding: 0 1.5rem;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 80%, transparent 100%);
}

.shared-transcript-scroll {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: sharedAutoScroll 35s linear infinite;
}

.shared-transcript-scroll:hover {
  animation-play-state: paused;
}

@keyframes sharedAutoScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.shared-paragraph {
  color: #777777;
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: justify;
}

/* Collaborative Cursors */
.collab-cursor {
  position: absolute;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
}

.cursor-name {
  margin-top: -2px;
  margin-left: 14px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.cursor-anwar {
  top: 20%;
  left: 20%;
  animation: flyCursorAnwar 12s ease-in-out infinite alternate;
}

@keyframes flyCursorAnwar {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(80px, 40px); }
  50%  { transform: translate(220px, -20px); }
  75%  { transform: translate(120px, 80px); }
  100% { transform: translate(20px, 50px); }
}

.cursor-sarah {
  top: 60%;
  left: 60%;
  animation: flyCursorSarah 15s ease-in-out infinite alternate-reverse;
}

@keyframes flyCursorSarah {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-100px, -80px); }
  66%  { transform: translate(-180px, 30px); }
  100% { transform: translate(-50px, -100px); }
}

.shared-footer {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid #151515;
  color: #555555;
  font-size: 0.8rem;
  text-align: left;
}

/* ==========================================================================
   8. Security Section
   ========================================================================== */
.security-section {
  width: 100%;
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
  background-color: var(--bg-color-dark);
}

.security-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  max-width: 1100px;
  width: 100%;
  align-items: center;
}

.security-mockup-wrapper {
  background-color: #0c0c0c;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid #1a1a1a;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.security-mockup {
  background-color: var(--bg-color-main);
  border-radius: 12px;
  height: 480px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* padlock void background gradient */
.lock-container {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lock-container::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(5,5,5,1) 20%, rgba(5,5,5,0.85) 45%, rgba(5,5,5,0) 75%);
  z-index: -1;
  pointer-events: none;
}

.security-mask {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3.5rem;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.asterisk-track {
  width: 100%;
  overflow: visible;
  display: flex;
}

.track-inner {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  will-change: transform;
}

.pass-pill {
  background: transparent;
  border: none;
  color: #E2FFB3; /* Bright cream core */
  font-family: 'Courier New', Courier, monospace;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 6px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform: skewX(-15deg);
  text-shadow:
    0 0 4px rgba(218, 255, 156, 0.9),
    0 0 12px rgba(218, 255, 156, 0.6),
    0 0 25px rgba(218, 255, 156, 0.3);
  opacity: 0.85;
}

.move-left .track-inner {
  animation: scrollLeft 35s linear infinite;
}

.move-right .track-inner {
  animation: scrollRight 40s linear infinite;
}

.fast .track-inner { animation-duration: 28s; }
.slow .track-inner { animation-duration: 45s; }

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.security-text-content {
  display: flex;
  flex-direction: column;
}

.security-title {
  font-family: var(--font-header);
  color: var(--color-green-neon);
  font-size: clamp(2rem, 3.5vw, 42px);
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.security-desc {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 500px;
}

/* ==========================================================================
   9. Edge Control Section
   ========================================================================== */
.edge-control-section {
  width: 100%;
  padding: 6rem 2rem;
  background-color: var(--bg-color-dark);
  display: flex;
  justify-content: center;
}

.edge-control-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  max-width: 1100px;
  width: 100%;
  align-items: center;
}

.edge-text-content {
  display: flex;
  flex-direction: column;
}

.edge-title {
  font-family: var(--font-header);
  color: var(--color-green-neon);
  font-size: clamp(2rem, 3.5vw, 42px);
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.edge-desc {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 500px;
}

/* Mockup Widget styling */
.edge-mockup-wrapper {
  background-color: #0c0c0c;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid #1a1a1a;
  position: relative;
}

.edge-mockup {
  background-color: var(--bg-color-main);
  border-radius: 12px;
  height: 480px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tags-mask {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  opacity: 0.8;
}

.tag-track {
  width: 100%;
  overflow: visible;
  display: flex;
}

.tag-inner {
  display: flex;
  gap: 1rem;
  width: max-content;
}

.bg-tag {
  background-color: #0a0a0a;
  border: 1px solid #151515;
  color: #555555;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  white-space: nowrap;
}

.scroll-left .tag-inner { animation: slideLeft 40s linear infinite; }
.scroll-right .tag-inner { animation: slideRight 45s linear infinite; }
.scroll-left.fast .tag-inner { animation-duration: 32s; }
.scroll-right.slow .tag-inner { animation-duration: 52s; }

@keyframes slideLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes slideRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.central-widget {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.logo-glow-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(20px);
  z-index: 2;
}

.logo-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--color-green-neon);
  border-radius: 50%;
  filter: blur(25px);
  opacity: 0.4;
  z-index: -1;
}

.djo-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.audio-player {
  background-color: #0a0a0a;
  border: 1px solid #1f1f1f;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  z-index: 1;
}

#edge-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  width: auto;
}

.audio-player .wave-bar {
  width: 3px;
  background-color: var(--color-green-neon);
  border-radius: 2px;
  flex-shrink: 0;
  animation: audioPulse 1s ease-in-out infinite alternate;
}

@keyframes audioPulse {
  0% { transform: scaleY(0.6); }
  100% { transform: scaleY(1.4); }
}

.audio-time {
  color: #555555;
  font-size: 0.85rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* ==========================================================================
   10. Services Grid Section
   ========================================================================== */
.services-section {
  width: 100%;
  padding: 6rem 2rem;
  background-color: var(--bg-color-dark);
  display: flex;
  justify-content: center;
}

.services-container {
  max-width: 1150px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-pill {
  background-color: #1a1a1a;
  color: #999999;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  border: 1px solid #2a2a2a;
}

.services-title {
  font-family: var(--font-header);
  color: var(--color-green-neon);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.services-desc {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.service-card {
  position: relative;
  background: linear-gradient(180deg, #181818 0%, #0d0d0d 100%);
  border: 1px solid var(--border-color-green);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 10% 10%, rgba(218, 255, 156, 0.15) 0%, transparent 60%);
  opacity: 0.3;
  transition: opacity 0.3s ease;
  z-index: -1;
  pointer-events: none;
}

.service-icon-wrapper {
  color: rgba(218, 255, 156, 0.6);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-card-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.service-card-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  transition: color 0.3s ease;
}

/* Card hover animation spotlights */
.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  border-color: var(--color-green-neon);
  box-shadow: 0 0 25px rgba(218, 255, 156, 0.15), 0 8px 30px rgba(0, 0, 0, 0.8);
  transform: translateY(-4px);
}

.service-card:hover .service-icon-wrapper {
  color: var(--color-green-neon);
  transform: scale(1.05);
}

.service-card:hover .service-card-desc {
  color: #bbbbbb;
}

/* ==========================================================================
   11. Sectors Section
   ========================================================================== */
.sectors-section {
  width: 100%;
  padding: 6rem 2rem;
  background-color: var(--bg-color-dark);
  display: flex;
  justify-content: center;
}

.sectors-container {
  max-width: 1080px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sectors-header {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.sectors-pill {
  background-color: #1a1a1a;
  color: #999999;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  border: 1px solid #2a2a2a;
}

.sectors-title {
  font-family: var(--font-header);
  color: var(--color-green-neon);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.sectors-desc {
  color: var(--color-text-secondary);
  font-size: 1rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  width: 100%;
}

.sector-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.sector-card {
  background-color: var(--bg-color-card-light);
  border: 1px solid #222222;
  border-radius: 24px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.sector-image-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 2.5rem;
}

.sector-image {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}

.sector-icon-badge {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  background-color: #242424;
  border: 1px solid #3a4230;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7b8f61;
  z-index: 2;
  transition: all 0.3s ease;
}

.sector-text-content {
  text-align: center;
  padding: 0 1rem 0.5rem 1rem;
}

.sector-card-title {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.sector-card-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  transition: color 0.3s ease;
}

/* Sectors hover effect badge lighting */
.sector-card:hover {
  border-color: var(--color-green-neon);
  transform: translateY(-4px);
}

.sector-card:hover .sector-icon-badge {
  background-color: var(--bg-color-main);
  border-color: var(--color-green-neon);
  color: var(--color-green-neon);
  box-shadow: 0 0 15px rgba(218, 255, 156, 0.25);
}

.sector-card:hover .sector-image {
  filter: brightness(1);
}

.sector-card:hover .sector-card-desc {
  color: #aaaaaa;
}

/* ==========================================================================
   12. Download Section (Merging lines animation stage)
   ========================================================================== */
.download-section {
  width: 100%;
  padding: 4rem 2rem;
  background-color: var(--bg-color-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.download-header {
  text-align: center;
  margin-bottom: 0;
  position: relative;
  z-index: 10;
}

.download-title {
  color: var(--color-text-muted);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.download-subtitle {
  color: var(--color-text-rose);
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.5px;
}

.animation-stage {
  position: relative;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 10 / 6;
  display: flex;
  justify-content: center;
  margin-top: -3.5rem;
}

.connection-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.track-bg {
  fill: none;
  stroke: rgba(218, 255, 156, 0.08);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.beam {
  fill: none;
  stroke: var(--color-green-neon);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 15 100;
  filter: drop-shadow(0 0 4px rgba(218, 255, 156, 0.5)) drop-shadow(0 0 10px rgba(218, 255, 156, 0.2));
  animation: dropBeam 5s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

.beam-1 { animation-delay: 0s; }
.beam-2 { animation-delay: 1.25s; }
.beam-3 { animation-delay: 2.5s; }
.beam-4 { animation-delay: 3.75s; }

@keyframes dropBeam {
  0% { stroke-dashoffset: 120; opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { stroke-dashoffset: -20; opacity: 0; }
}

.file-icon {
  position: absolute;
  top: 33.33%;
  transform: translate(-50%, calc(-100% + 5px));
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.word-container { left: 20%; }
.pdf-container  { left: 40%; }
.txt-container  { left: 60%; }
.srt-container  { left: 80%; }

.file-img {
  width: 44px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.file-icon:hover .file-img {
  transform: translateY(-4px) scale(1.03);
}

.djo-target {
  position: absolute;
  top: 86.66%;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-section .djo-logo-img {
  width: 65px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(218, 255, 156, 0.1);
  animation: pulseLogo 5s ease-in-out infinite;
}

@keyframes pulseLogo {
  0%, 100% {
    box-shadow: 0 0 8px rgba(218, 255, 156, 0.05);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(218, 255, 156, 0.3);
    transform: scale(1.03);
  }
}

/* ==========================================================================
   13. Contact Section (DENSE CIRCULAR GREEN GLOW)
   ========================================================================== */
.contact-section {
  position: relative;
  width: 100%;
  padding: 6rem 2rem;
  background-color: var(--bg-color-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.badge-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.contact-badge {
  background-color: #1c1c1c;
  color: #c4c4c4;
  font-size: 0.85rem;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  border: 1px solid #333333;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.contact-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(218, 255, 156, 0.3) 0%,
    rgba(218, 255, 156, 0.05) 50%,
    transparent 70%
  );
  filter: blur(120px);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.contact-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  max-width: 1080px;
  width: 100%;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-family: var(--font-header);
  color: #ffffff;
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  font-weight: 500;
  margin-bottom: 1.2rem;
  line-height: 1.1;
  letter-spacing: -1px;
}

.highlight-green {
  color: var(--color-green-neon);
}

.contact-description {
  color: #e0e0e0;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #A4B2BC;
  font-size: 1rem;
}

.contact-email a {
  color: #A4B2BC;
  transition: color 0.3s ease;
}

.contact-email a:hover {
  color: #ffffff;
}

.contact-form-wrapper {
  width: 100%;
  max-width: 500px;
  justify-self: end;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  background-color: #0c0c0c;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 14px;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #666666;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-green-neon);
  box-shadow: 0 0 0 1px rgba(218, 255, 156, 0.2);
}

.submit-btn {
  background-color: var(--color-blue-primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 0.5rem;
}

.submit-btn:hover {
  background-color: var(--color-blue-hover);
}

/* ==========================================================================
   14. CTA Banner Section (Green Glow spotlight)
   ========================================================================== */
.cta-section {
  position: relative;
  width: 100%;
  padding: 10rem 2rem;
  background-color: var(--bg-color-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(144, 255, 75, 0.35) 0%,
    rgba(218, 255, 156, 0.1) 50%,
    transparent 80%
  );
  filter: blur(100px);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.cta-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1080px;
  width: 100%;
}

.cta-title {
  font-family: var(--font-header);
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  letter-spacing: -1px;
}

.cta-description {
  color: #e0e0e0;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 600px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #3b82f6;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1.2rem;
}

.cta-button:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
}

.cta-disclaimer {
  color: var(--color-text-dark);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   15. Footer Section
   ========================================================================== */
.footer-section {
  position: relative;
  width: 100%;
  padding: 6rem 2rem 2rem 2rem;
  background-color: var(--bg-color-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1400px;
  height: 450px;
  background: radial-gradient(ellipse at center, rgba(218, 255, 156, 0.12) 0%, transparent 65%);
  filter: blur(90px);
  transform: translate(-50%, -50%) rotate(-30deg);
  z-index: 0;
  pointer-events: none;
}

.footer-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4rem;
  margin-bottom: 6rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  height: 85px;
  width: auto;
}

.footer-brand-desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 340px;
  margin-bottom: 2rem;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon-box {
  width: 38px;
  height: 38px;
  background-color: #1a1a1a;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-icon-box:hover {
  background-color: #262626;
  color: var(--color-green-neon);
  transform: scale(1.05);
}

.footer-links-group {
  display: flex;
  gap: 4.5rem;
}

.link-column {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.link-column h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.link-column a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.link-column a:hover {
  color: var(--color-green-neon);
}

.footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--color-text-dark);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.footer-year {
  text-align: left;
}

.footer-crafted {
  text-align: center;
  font-weight: 400;
}

.footer-copyright {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.copyright-logo {
  width: 20px;
  height: auto;
  opacity: 0.6;
}

/* ==========================================================================
   16. Media Queries & Responsiveness
   ========================================================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-links-group {
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  /* Navbar hamburger layout */
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-color-thick);
    flex-direction: column;
    padding: 8rem 2rem 2rem;
    gap: 2.5rem;
    transition: right 0.3s ease-in-out;
    z-index: 100;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-actions {
    display: none; /* Hide action buttons on narrow screens, or move into side menu */
  }

  .navbar {
    padding: 0.75rem 1.5rem;
  }

  /* Grid adaptations to single-column */
  .features-container,
  .shared-container,
  .security-container,
  .edge-control-container,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .edge-text-content {
    order: -1; /* Keep text first on mobile stacked layout */
  }

  .footer-main {
    flex-direction: column;
    gap: 3rem;
  }

  .footer-links-group {
    width: 100%;
    justify-content: space-between;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-year,
  .footer-crafted,
  .footer-copyright {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 800px) {
  .sectors-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .sector-image {
    height: 180px;
  }
}

@media (max-width: 650px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .services-section,
  .sectors-section,
  .contact-section,
  .features-section,
  .shared-section,
  .security-section {
    padding: 4rem 1.5rem;
  }

  .file-img {
    width: 36px;
  }

  .download-section .djo-logo-img {
    width: 50px;
  }

  .download-subtitle {
    font-size: 1.8rem;
  }

  .cta-section {
    padding: 6rem 1.5rem;
  }

  .cta-glow {
    width: 400px;
    height: 400px;
    filter: blur(80px);
  }

  .cta-description br {
    display: none;
  }
}

/* ==========================================================================
   17. Advanced Audio & Drag-and-Drop Mockup Speaker Pane Styles
   ========================================================================== */
.app-panes {
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.app-pane {
  display: none;
  flex-direction: column;
  flex-grow: 1;
  height: 100%;
}

.app-pane.active {
  display: flex;
}

.tab {
  transition: color 0.3s ease, border-bottom 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}

.tab.active {
  color: var(--color-green-neon) !important;
}

.tab.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-green-neon);
  box-shadow: 0 0 10px var(--color-green-neon);
}

.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px dashed rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  margin: 1.5rem;
  background-color: rgba(255, 255, 255, 0.01);
  transition: border-color 0.3s ease, background-color 0.3s ease;
  flex-grow: 1;
  cursor: pointer;
}

.upload-zone.dragover {
  border-color: var(--color-green-neon);
  background-color: rgba(218, 255, 156, 0.04);
}

.upload-icon {
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.upload-zone:hover .upload-icon {
  color: var(--color-green-neon);
  transform: translateY(-3px);
}

.upload-title {
  font-size: 1rem;
  font-weight: 500;
  color: #eeeeee;
  margin-bottom: 0.5rem;
}

.upload-subtitle {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.upload-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.upload-actions .btn.small {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  border-radius: 6px;
}

.or-separator {
  font-size: 0.8rem;
  color: var(--color-text-dark);
}

/* Audio analyzing / loading stage screen */
.analysis-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
  flex-grow: 1;
}

.analysis-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(218, 255, 156, 0.1);
  border-top-color: var(--color-green-neon);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-logo {
  font-family: var(--font-header);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-green-neon);
  text-shadow: 0 0 10px rgba(218, 255, 156, 0.4);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.analysis-status {
  font-size: 1.05rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 1rem;
}

.progress-bar-container {
  width: 100%;
  max-width: 240px;
  height: 4px;
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-blue-primary), var(--color-green-neon));
  border-radius: 10px;
  transition: width 0.1s linear;
}

.analysis-steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  max-width: 280px;
  min-height: 50px;
}

.step-item {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  opacity: 0;
  transform: translateY(5px);
  animation: stepReveal 0.4s ease forwards;
}

.step-item.active {
  color: #ffffff;
}

.step-item.done {
  color: var(--color-green-neon);
}

@keyframes stepReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   18. Interactive Live Transcription Demo Section Styles
   ========================================================================== */
.live-demo-section {
  position: relative;
  width: 100%;
  padding: 8rem 2rem;
  display: flex;
  justify-content: center;
  background-color: var(--bg-color-main);
  overflow: hidden;
}

.live-demo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(65, 105, 225, 0.08) 0%, rgba(218, 255, 156, 0.03) 45%, transparent 75%);
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

.live-demo-container {
  position: relative;
  z-index: 1;
  max-width: 1150px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.live-demo-header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.demo-pill {
  background-color: #1a1a1a;
  color: #999999;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  border: 1px solid #2a2a2a;
}

.demo-title {
  font-family: var(--font-header);
  color: var(--color-text-rose);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.demo-desc {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.6;
}

.demo-playground {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2.5rem;
  width: 100%;
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

/* Left panel style */
.demo-selector-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding-right: 2.5rem;
}

.panel-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.scene-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.scene-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.scene-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(3px);
}

.scene-btn.active {
  background: rgba(218, 255, 156, 0.05);
  border-color: var(--color-green-neon);
  box-shadow: 0 0 15px rgba(218, 255, 156, 0.05);
}

.scene-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.scene-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.scene-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.scene-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.demo-voice-record-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.voice-divider {
  font-size: 0.75rem;
  color: var(--color-text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  width: 100%;
  text-align: center;
}

.voice-divider::before,
.voice-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 25%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.05);
}

.voice-divider::before { left: 0; }
.voice-divider::after { right: 0; }

.voice-record-btn {
  position: relative;
  background-color: rgba(255, 0, 0, 0.05);
  border: 1px solid rgba(255, 0, 0, 0.15);
  color: #ff5555;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  width: 100%;
  overflow: hidden;
}

.voice-record-btn:hover {
  background-color: rgba(255, 0, 0, 0.1);
  border-color: #ff5555;
  box-shadow: 0 0 15px rgba(255, 85, 85, 0.15);
}

.voice-record-btn.recording {
  background-color: #ff5555;
  color: #ffffff;
  border-color: #ff3333;
}

.record-pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  border-radius: 12px;
  pointer-events: none;
  z-index: 0;
}

.voice-record-btn.recording .record-pulse-ring {
  border: 2px solid #ff5555;
  animation: recordPulse 1.5s ease-out infinite;
}

@keyframes recordPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 0; }
}

.mic-svg {
  z-index: 1;
}

.voice-record-btn span {
  z-index: 1;
}

/* Right Visualizer panel style */
.demo-visualizer-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.visualizer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-text-dark);
  transition: background-color 0.3s ease;
}

.status-dot.active {
  background-color: var(--color-green-neon);
  box-shadow: 0 0 8px var(--color-green-neon);
  animation: beaconPulse 1.2s ease-in-out infinite alternate;
}

.status-dot.recording {
  background-color: #ff5555;
  box-shadow: 0 0 8px #ff5555;
  animation: beaconPulseRed 1s ease-in-out infinite alternate;
}

@keyframes beaconPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.1); opacity: 1; }
}

@keyframes beaconPulseRed {
  0% { transform: scale(0.85); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 1; }
}

.status-text {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.language-toggles {
  display: flex;
  background-color: #111111;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid #1f1f1f;
}

.lang-toggle-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-toggle-btn:hover {
  color: #ffffff;
}

.lang-toggle-btn.active {
  background-color: #222222;
  color: var(--color-green-neon);
}

/* Waveform Visualizer Display */
.demo-wave-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background-color: #080808;
  border: 1px solid #151515;
  border-radius: 16px;
  padding: 1.5rem;
  height: 90px;
  position: relative;
}

.demo-mic-pulse {
  width: 46px;
  height: 46px;
  background-color: #111111;
  border: 1px solid #222222;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.demo-mic-pulse.active {
  color: var(--color-green-neon);
  border-color: rgba(218, 255, 156, 0.3);
  box-shadow: 0 0 15px rgba(218, 255, 156, 0.15);
}

.demo-mic-pulse.recording {
  color: #ff5555;
  border-color: rgba(255, 85, 85, 0.3);
  box-shadow: 0 0 15px rgba(255, 85, 85, 0.15);
}

.demo-bars-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  flex-grow: 1;
  gap: 3px;
}

.demo-bar {
  flex-grow: 1;
  height: 8px;
  background-color: #1a1a1a;
  border-radius: 4px;
  transition: height 0.05s ease, background-color 0.3s ease;
}

.demo-bar.active {
  background-color: var(--color-green-neon);
}

.demo-bar.recording {
  background-color: #ff5555;
}

/* Output Console window */
.demo-output-console {
  background-color: #060606;
  border: 1px solid #141414;
  border-radius: 16px;
  padding: 1.5rem;
  height: 160px;
  overflow-y: auto;
  position: relative;
}

.console-body {
  font-size: 1rem;
  line-height: 1.7;
  color: #e0e0e0;
}

.console-placeholder {
  color: var(--color-text-dark);
  font-style: italic;
  font-size: 0.9rem;
}

.console-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(5px);
  filter: blur(4px);
  animation: consoleWordBloom 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  margin-right: 0.25rem;
}

@keyframes consoleWordBloom {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.highlight-en {
  color: var(--color-blue-primary);
  font-weight: 500;
}

.highlight-fr {
  color: #e38fff;
  font-weight: 500;
}

.demo-control-bar {
  display: flex;
  justify-content: flex-end;
}

.demo-control-bar .btn {
  gap: 0.75rem;
}

.control-svg {
  transition: transform 0.2s ease;
}

.btn:hover .control-svg {
  transform: translateX(2px);
}

/* ==========================================================================
   19. Additional Responsiveness for Live Demo
   ========================================================================== */
@media (max-width: 900px) {
  .demo-playground {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  
  .demo-selector-panel {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 2rem;
  }
}

/* ==========================================================================
   20. Partner Logos Ticker Row (Markopolo.ai Style, Pure Transparency under Hero CTAs)
   ========================================================================== */
.hero-partners-ticker {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 2.75rem auto 0 auto;
  padding: 1rem 2rem;
  background: transparent; /* 100% Transparent background (No arriere plan solid box!) */
  border: none; /* Completely borderless */
  border-radius: 9999px; /* Perfect, extremely smooth and grand demi-cercle (semi-circle) pill ends */
  overflow: hidden;
  z-index: 10;
  display: flex;
  align-items: center;

  /* Modern CSS Mask-Image for a seamless, transparent edge-fade (No dark blocking overlays!) */
  mask-image: linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%);
}

.hero-partners-track {
  display: flex;
  align-items: center;
  gap: 4.75rem;
  width: max-content;
  animation: heroPartnerMarquee 28s linear infinite;
}

.hero-partners-track:hover {
  animation-play-state: paused;
}

.hero-partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(240, 240, 240, 0.7); /* Beautiful, clean light-gray */
  opacity: 0.7;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              color 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  filter: grayscale(100%);
  cursor: pointer;
}

.hero-partner-logo:hover {
  opacity: 1;
  transform: scale(1.04);
  filter: grayscale(0%);
}

/* Distinct premium hover brand colors with matching neon aura drop shadows */
.hero-partner-logo.djo-assist-logo:hover {
  color: var(--color-green-neon); /* Glow neon-green for Assist */
  filter: grayscale(0%) drop-shadow(0 0 12px rgba(218, 255, 156, 0.5));
}

.hero-partner-logo.djo-edge-logo:hover {
  color: #4169e1; /* Premium Royal Blue for Edge */
  filter: grayscale(0%) drop-shadow(0 0 12px rgba(65, 105, 225, 0.6));
}

.partner-logo-svg {
  height: 30px;
  width: auto;
  display: block;
}

@keyframes heroPartnerMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    /* Translate exactly half since the second half is an exact duplicate */
    transform: translate3d(-50%, 0, 0);
  }
}

/* Responsiveness for Compact Partner Logos */
@media (max-width: 768px) {
  .hero-partners-ticker {
    margin-top: 2.25rem;
    padding: 0.85rem 1.25rem;
    max-width: 92%;
    /* Mobile-specific smooth fade */
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  }
  
  .hero-partners-track {
    gap: 3rem;
    animation-duration: 20s;
  }
  
  .partner-logo-svg {
    height: 22px;
  }
}

/* ==========================================================================
   15. Interactive Pricing Section
   ========================================================================== */
.pricing-section {
  position: relative;
  width: 100%;
  padding: 8rem 2rem;
  background-color: var(--bg-color-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.pricing-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  width: 900px;
  height: 900px;
  background: radial-gradient(
    circle,
    rgba(218, 255, 156, 0.08) 0%,
    rgba(218, 255, 156, 0.02) 50%,
    transparent 75%
  );
  filter: blur(140px);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.pricing-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-pill {
  background-color: #1c1c1c;
  color: #c4c4c4;
  font-size: 0.85rem;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  border: 1px solid #333333;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.pricing-title {
  font-family: var(--font-header);
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  margin-bottom: 1.2rem;
  line-height: 1.15;
  letter-spacing: -1px;
}

.pricing-desc {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
}

/* Controls */
.pricing-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 5rem;
  position: relative;
  z-index: 5;
}

.pricing-tabs {
  background-color: rgba(12, 12, 12, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.35rem;
  border-radius: 50px;
  display: flex;
  gap: 0.25rem;
  backdrop-filter: blur(10px);
}

.pricing-tab-btn {
  border: none;
  background: transparent;
  border-radius: 50px;
  color: #888888;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-tab-btn:hover {
  color: #ffffff;
}

.pricing-tab-btn.active {
  background-color: var(--color-green-neon);
  color: #000000;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(218, 255, 156, 0.25);
}

/* Slider Switch styles */
.billing-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.billing-label {
  color: #888888;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.billing-label.active {
  color: #ffffff;
}

@keyframes pulseDiscount {
  0% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(218, 255, 156, 0.1);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 18px rgba(218, 255, 156, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(218, 255, 156, 0.1);
  }
}

.save-badge {
  background-color: rgba(218, 255, 156, 0.1);
  border: 1px solid rgba(218, 255, 156, 0.3);
  color: var(--color-green-neon);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.5rem;
  display: inline-block;
  box-shadow: 0 0 10px rgba(218, 255, 156, 0.1);
  animation: pulseDiscount 2s infinite ease-in-out;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.toggle-switch input {
  display: none;
}

.slider-round {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #121212;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.4s;
  border-radius: 34px;
}

.slider-round::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: #888888;
  transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
}

.toggle-switch input:checked + .slider-round {
  background-color: var(--color-green-neon);
  border-color: var(--color-green-neon);
  box-shadow: 0 0 10px rgba(218, 255, 156, 0.3);
}

.toggle-switch input:checked + .slider-round::before {
  transform: translateX(24px);
  background-color: #000000;
}

/* Pricing grids container */
.pricing-grids-wrapper {
  position: relative;
  width: 100%;
}

.pricing-grid {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.pricing-grid.active {
  display: grid;
  opacity: 1;
  transform: translateY(0);
}

/* Max 4 columns layout adjustment on large monitors */
@media (min-width: 1200px) {
  #grid-individuals {
    grid-template-columns: repeat(4, 1fr);
  }
  #grid-teams, #grid-students {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Pricing Card */
.pricing-card {
  background: linear-gradient(135deg, rgba(12, 12, 12, 0.75) 0%, rgba(6, 6, 6, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 3rem 2rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
  border-color: rgba(218, 255, 156, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(218, 255, 156, 0.05);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  border-radius: 16px;
  background: radial-gradient(circle at top right, rgba(218, 255, 156, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.pricing-card:hover .card-glow {
  opacity: 1;
}

/* Popular Highlight overrides */
.pricing-card.popular {
  border-color: rgba(218, 255, 156, 0.35);
  box-shadow: 0 10px 30px rgba(218, 255, 156, 0.03);
}

.pricing-card.popular:hover {
  border-color: var(--color-green-neon);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 35px rgba(218, 255, 156, 0.08);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-green-neon);
  color: #000000;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(218, 255, 156, 0.3);
  z-index: 10;
}

/* Card content styles */
.pricing-card-header {
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
}

.plan-name {
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.plan-tagline {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  min-height: 2.5rem; /* Ensures alignment across card heights */
}

/* Price display */
.price-display {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.price-amount-wrapper {
  display: flex;
  align-items: baseline;
  position: relative;
}

.price-original {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
  margin-right: 0.6rem;
  font-weight: 500;
  opacity: 0;
  width: 0;
  overflow: hidden;
  transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.price-original.show {
  opacity: 0.5;
  width: auto;
  transform: scale(1);
}

.price-amount {
  font-family: var(--font-header);
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-green-neon);
  margin-left: 0.2rem;
}

.price-period {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

/* Feature list */
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  position: relative;
  z-index: 2;
  flex-grow: 1; /* Pushes card footer to the bottom */
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #e0e0e0;
  font-size: 0.92rem;
  line-height: 1.4;
}

.feature-check {
  width: 16px;
  height: 16px;
  color: var(--color-green-neon);
  flex-shrink: 0;
}

/* Custom CTA Solid Neon Button */
.pricing-card-footer {
  position: relative;
  z-index: 2;
}

.btn-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background-color: var(--color-green-neon);
  color: #000000;
  font-family: var(--font-main);
  font-weight: 600;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(218, 255, 156, 0.15);
  text-decoration: none;
}

.btn-pricing:hover {
  background-color: #ffffff;
  color: #000000;
  box-shadow: 0 6px 25px rgba(218, 255, 156, 0.4);
  transform: translateY(-2px);
}

.btn-arrow-icon {
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  line-height: 1;
}

.btn-pricing:hover .btn-arrow-icon {
  transform: translate(3px, -3px);
}

/* Responsiveness */
@media (max-width: 991px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 720px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .pricing-section {
    padding: 6rem 1.5rem;
  }
  
  .pricing-header {
    margin-bottom: 3rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr !important;
    max-width: 360px;
  }
  
  .pricing-tabs {
    flex-direction: column;
    padding: 0.5rem;
    border-radius: 16px;
    width: 100%;
    max-width: 280px;
  }
  
  .pricing-tab-btn {
    padding: 0.6rem 1rem;
    text-align: center;
  }
}

/* DJO Edge Navigation Indicator Badge */
.nav-new-badge {
  font-size: 0.65rem;
  background-color: var(--color-green-neon);
  color: #000000;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
  box-shadow: 0 0 10px rgba(218, 255, 156, 0.4);
}

/* RTL Global Override Rules */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

/* Ensure centered elements stay centered in the middle instead of shifting to the side under [dir="rtl"] */
[dir="rtl"] .hero-section,
[dir="rtl"] .hero-content,
[dir="rtl"] .hero-title,
[dir="rtl"] .hero-subtitle,
[dir="rtl"] .hero-actions,
[dir="rtl"] .short-intro-section,
[dir="rtl"] .intro-text,
[dir="rtl"] .features-header,
[dir="rtl"] .features-main-title,
[dir="rtl"] .features-subtitle,
[dir="rtl"] .pricing-header {
  text-align: center !important;
}

[dir="rtl"] body {
  font-family: 'DM Sans', 'Noto Sans Arabic', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

[dir="rtl"] .nav-links {
  margin-right: auto;
  margin-left: 0;
  padding-right: 0;
  display: flex;
}

[dir="rtl"] .nav-links li {
  margin-left: 0;
}

[dir="rtl"] .nav-dropdown-menu {
  left: auto;
  right: 50%;
  transform: translateX(50%) translateY(16px);
}

[dir="rtl"] .dropdown-chevron {
  margin-right: 4px;
  margin-left: 0;
}

[dir="rtl"] .nav-brand {
  margin-right: 0;
}

[dir="rtl"] .nav-actions {
  flex-direction: row;
}

[dir="rtl"] .lang-dropdown-menu {
  right: auto;
  left: 0;
}

[dir="rtl"] .see-all-arrow,
[dir="rtl"] .btn-arrow,
[dir="rtl"] .see-all-link svg {
  transform: scaleX(-1);
}

[dir="rtl"] .btn-pricing:hover .btn-arrow-icon {
  transform: translate(-3px, -3px);
}

[dir="rtl"] .features-container {
  flex-direction: row-reverse;
}

[dir="rtl"] .features-text-content {
  text-align: right;
}

[dir="rtl"] .feature-block {
  border-left: none !important;
  border-right: 3px solid var(--color-green-neon);
  padding-left: 0;
  padding-right: 1.5rem;
}

[dir="rtl"] .shared-container {
  flex-direction: row-reverse;
}

[dir="rtl"] .shared-text-content {
  text-align: right;
}

[dir="rtl"] .collab-cursor {
  right: auto;
}

[dir="rtl"] .security-container {
  flex-direction: row-reverse;
}

[dir="rtl"] .security-text-content {
  text-align: right;
}

[dir="rtl"] .edge-control-container {
  flex-direction: row-reverse;
}

[dir="rtl"] .edge-text-content {
  text-align: right;
}

[dir="rtl"] .services-header,
[dir="rtl"] .sectors-header,
[dir="rtl"] .download-header {
  text-align: center;
}

[dir="rtl"] .service-card {
  text-align: right;
}

[dir="rtl"] .service-icon-wrapper {
  margin-right: 0;
  margin-left: auto;
}

[dir="rtl"] .sector-card {
  text-align: right;
}

[dir="rtl"] .contact-container {
  flex-direction: row-reverse;
}

[dir="rtl"] .contact-info {
  text-align: right;
}

[dir="rtl"] .contact-email {
  justify-content: flex-start;
}

[dir="rtl"] .form-group label {
  text-align: right;
  display: block;
}

[dir="rtl"] .footer-main {
  flex-direction: row-reverse;
}

[dir="rtl"] .footer-brand-col {
  text-align: right;
}

[dir="rtl"] .footer-socials {
  justify-content: flex-start;
}

[dir="rtl"] .footer-links-group {
  flex-direction: row-reverse;
}

[dir="rtl"] .link-column {
  text-align: right;
}

[dir="rtl"] .footer-bottom {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-new-badge {
  margin-left: 0;
  margin-right: 4px;
}
