/* ============================================
   FONTS AND ROOT VARIABLES
============================================ */
:root{
  /* base RGB for reuse */
  --rgb-primary: 41, 170, 226;   /* #29aae2 */
  --rgb-primary-dark: 26, 143, 201; /* #1a8fc9 */

  --primary: rgba(var(--rgb-primary), 1);
  --secondary: rgba(52, 58, 64, 1);   /* #343a40 */
  --accent: rgba(61, 196, 255, 1);    /* #3dc4ff */
  --dark: rgba(10, 14, 39, 1);        /* #0a0e27 */

  --glass: rgba(255, 255, 255, 0.03);
  --glow: rgba(var(--rgb-primary), 0.5);

  --primary-dark: rgba(var(--rgb-primary-dark), 1);
  --primary-light: rgba(61, 196, 255, 1);

  --surface: rgba(15, 20, 45, 0.8);
  --surface-light: rgba(25, 32, 60, 0.9);

  --text-primary: rgba(255, 255, 255, 1);
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);

  --border: rgba(var(--rgb-primary), 0.2);

  --trail-glow: 20px;
}

/* ============================================
   GLOBAL STYLES
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
  height: 100%;
  margin: 0;
}



body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.no-scroll {
    overflow: hidden;
    height: 100%;
}

/* ============================================
   ANIMATED BACKGROUND
============================================ */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(ellipse at top, #1a2332 0%, var(--dark) 50%);
    pointer-events: none;
}

.animated-bg-layer {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(41, 170, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(41, 170, 226, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(41, 170, 226, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.animated-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(41, 170, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(41, 170, 226, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(41, 170, 226, 0.05) 0%, transparent 50%);
    animation: bgMove 20s ease-in-out infinite;
}

@keyframes bgMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5%, 5%); }
}

/* ============================================
   GRID OVERLAY
============================================ */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(41, 170, 226, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(41, 170, 226, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.3;
}

/* ============================================
   HEADER STYLES
============================================ */
:root{
  --uh-bg: rgba(10,14,39,0.70);
  --uh-border: rgba(41,170,226,0.12);
  --uh-glow: rgba(41,170,226,0.14);
  --uh-radius: 18px;
  --uh-padding-y: 0.9rem;
  --uh-padding-x: 1.5rem;
  --uh-max-width: 1400px;
}

/* base */
.ultra-header{
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 20px); /* supports notches */
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: var(--uh-max-width);
  z-index: 1100;
  background: var(--uh-bg);
  border-radius: var(--uh-radius);
  padding: var(--uh-padding-y) var(--uh-padding-x);
  color: #e8f6ff;
  box-shadow: 0 8px 30px rgba(2,6,20,0.55);
  border: 1px solid var(--uh-border);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  overflow: visible;
  isolation: isolate;
  will-change: transform, box-shadow, background-color;
  transition: transform 360ms cubic-bezier(.22,.9,.3,1),
              box-shadow 360ms ease,
              background-color 360ms ease;
}

/* scrolled state: smaller, tighter, stronger shadow (toggle .scrolled via JS) */
.ultra-header.scrolled{
  transform: translateX(-50%) translateY(-6px) scale(0.995);
  background: rgba(8,12,30,0.80);
  box-shadow: 0 14px 40px rgba(2,6,20,0.6);
  padding: 0.6rem 1.2rem;
}

/* accessible: reduce motion */
@media (prefers-reduced-motion: reduce){
  .ultra-header,
  .ultra-header.scrolled{
    transition: none;
    will-change: auto;
  }
}

/* responsive tweaks */
@media (max-width: 900px){
  :root{ --uh-padding-x: 1rem; --uh-padding-y: 0.6rem; --uh-radius: 14px; }
  .ultra-header{ width: calc(100% - 24px); left: 50%; max-width: 1100px; }
}

@media (max-width: 480px){
  :root{ --uh-padding-x: 0.75rem; --uh-padding-y: 0.5rem; --uh-radius: 12px; }
  .ultra-header{ width: calc(100% - 18px); top: calc(env(safe-area-inset-top, 0px) + 12px); }
}


.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Logo */
.logo-section {
    display: flex;
    align-items: center;
    z-index: 10002;
}

.logo-icon img {
    width: 120px;
    height: 100px;
    display: block;
}

/* Desktop Navigation */
.nav-center {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item-modern {
    position: relative;
}

.nav-item-modern > a {
    display: block;
    padding: 0.5rem 0.6rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.25s ease;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.nav-item-modern > a:hover {
    color: var(--primary);
    background: rgba(41, 170, 226, 0.08);
    transform: translateY(-2px);
}

/* Dropdown Arrow */
.nav-item-modern.has-dropdown > a::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.nav-item-modern.has-dropdown:hover > a::after {
    transform: rotate(225deg);
}

/* Mega Dropdown */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: linear-gradient(145deg, rgba(15, 20, 45, 0.95), rgba(10, 14, 39, 0.9));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(41, 170, 226, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 90vw;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease-out;
    z-index: 1000;
}

.nav-item-modern:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-item-modern {
    padding: 0.8rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
}

.dropdown-item-modern a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.dropdown-item-modern:hover {
    background: rgba(41, 170, 226, 0.12);
    border-color: rgba(41, 170, 226, 0.3);
    transform: translateX(3px);
}

.dropdown-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(41, 170, 226, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.dropdown-content h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.2rem 0;
}

.dropdown-content p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Sub Dropdown */
.sub-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    transform: translateX(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: rgba(15, 20, 45, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(41, 170, 226, 0.2);
    border-radius: 12px;
    padding: 1rem;
    min-width: 250px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 1001;
}

.sub-dropdown-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item-modern:hover > .sub-dropdown,
.dropdown-item-modern:hover > .sub-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.sub-dropdown .dropdown-item-modern {
    padding: 0.6rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.25s ease;
}

.sub-dropdown .dropdown-item-modern:hover {
    background: rgba(41, 170, 226, 0.15);
    border-color: rgba(41, 170, 226, 0.3);
    transform: translateX(5px);
}

/* Header CTA */
.header-cta {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.header-cta a {
    opacity: 0;
    transform: scale(0);
}

.btn-futuristic {
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary-futuristic {
    background: linear-gradient(135deg, var(--primary) 0%, #1a8fc9 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(41, 170, 226, 0.3);
}

.btn-primary-futuristic:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(41, 170, 226, 0.5);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: rgba(41, 170, 226, 0.1);
    border: 1px solid rgba(41, 170, 226, 0.3);
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    transition: all 0.3s ease;
    z-index: 10002;
}

.mobile-toggle:hover {
    background: rgba(41, 170, 226, 0.2);
}

/* ============================================
   MOBILE MENU STYLES - CRITICAL FIX
============================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    pointer-events: auto;
}

/* Mobile Menu Panel */
.mobile-menu-panel {
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(180deg, rgba(15, 20, 45, 0.98) 0%, rgba(10, 14, 39, 0.95) 100%);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-menu.active .mobile-menu-panel {
    right: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(41, 170, 226, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(41, 170, 226, 0.05);
}

.mobile-menu-logo img {
    width: 80px;
    height: 60px;
}

.mobile-menu-close {
    width: 42px;
    height: 42px;
    background: rgba(255, 70, 70, 0.1);
    border: 1px solid rgba(255, 70, 70, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ff6b6b;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: #ff6b6b;
    color: white;
    transform: rotate(90deg);
}

/* Mobile Menu Body */
.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.5rem;
}

.mobile-menu-body::-webkit-scrollbar {
    width: 4px;
}

.mobile-menu-body::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-menu-body::-webkit-scrollbar-thumb {
    background: rgba(41, 170, 226, 0.3);
    border-radius: 10px;
}

/* Mobile Menu Items - Level 1 */
.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    margin-bottom: 0.5rem;
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(41, 170, 226, 0.15);
    border-color: rgba(41, 170, 226, 0.4);
    color: var(--primary);
    transform: translateX(4px);
}

/* Level 1 Submenu Toggle */
.mobile-nav-item.has-submenu .mobile-nav-link {
    cursor: pointer;
}

.mobile-nav-item.has-submenu .mobile-nav-link::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    opacity: 0.7;
    margin-left: 0.5rem;
}

.mobile-nav-item.has-submenu.open .mobile-nav-link::after {
    transform: rotate(-135deg);
}

.mobile-nav-item.has-submenu.open .mobile-nav-link {
    background: rgba(41, 170, 226, 0.2);
    border-color: rgba(41, 170, 226, 0.5);
    color: var(--primary);
}

/* Level 1 Submenu - DEFAULT CLOSED STATE */
.mobile-submenu {
    display: none;
    height: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: none;
}

/* Level 1 Submenu - OPEN STATE */
.mobile-nav-item.has-submenu.open > .mobile-submenu {
    display: block;
    height: auto;
    max-height: none;
    opacity: 1;
    visibility: visible;
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-submenu-inner {
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(41, 170, 226, 0.15);
    margin-top: 0.5rem;
}

/* Level 2 Items */
.mobile-submenu-item {
    margin-bottom: 0.5rem;
}

.mobile-submenu-item:last-child {
    margin-bottom: 0;
}

.mobile-submenu-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    position: relative;
}

.mobile-submenu-link:hover {
    background: rgba(41, 170, 226, 0.12);
    border-color: rgba(41, 170, 226, 0.3);
    transform: translateX(4px);
}

.mobile-submenu-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(41, 170, 226, 0.15);
    border: 1px solid rgba(41, 170, 226, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
}

.mobile-submenu-content {
    flex: 1;
    min-width: 0;
}

.mobile-submenu-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.2rem 0;
    line-height: 1.3;
}

.mobile-submenu-desc {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.3;
}

/* Level 2 Items with Sub-Submenu (Level 3) */
.mobile-submenu-item.has-sub-submenu .mobile-submenu-link {
    cursor: pointer;
}

.mobile-submenu-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.mobile-submenu-item.has-sub-submenu.open .mobile-submenu-arrow {
    transform: rotate(180deg);
}

.mobile-submenu-item.has-sub-submenu.open .mobile-submenu-link {
    background: rgba(41, 170, 226, 0.12);
    border-color: rgba(41, 170, 226, 0.3);
}

/* Level 3 Sub-Submenu - DEFAULT CLOSED STATE */
.mobile-sub-submenu {
    display: none;
    height: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: none;
}

/* Level 3 Sub-Submenu - OPEN STATE */
.mobile-submenu-item.has-sub-submenu.open > .mobile-sub-submenu {
    display: block;
    height: auto;
    max-height: none;
    opacity: 1;
    visibility: visible;
    animation: slideDown 0.3s ease-out forwards;
}

.mobile-sub-submenu-inner {
    padding: 0.6rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(41, 170, 226, 0.1);
    margin-top: 0.5rem;
    margin-left: 1rem;
}

/* Level 3 Items */
.mobile-sub-submenu-item {
    margin-bottom: 0.4rem;
}

.mobile-sub-submenu-item:last-child {
    margin-bottom: 0;
}

.mobile-sub-submenu-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
}

.mobile-sub-submenu-link:hover {
    background: rgba(41, 170, 226, 0.1);
    border-color: rgba(41, 170, 226, 0.25);
    transform: translateX(4px);
}

.mobile-sub-submenu-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: rgba(41, 170, 226, 0.1);
    border: 1px solid rgba(41, 170, 226, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.75rem;
}

.mobile-sub-submenu-content {
    flex: 1;
    min-width: 0;
}

.mobile-sub-submenu-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.15rem 0;
    line-height: 1.3;
}

.mobile-sub-submenu-desc {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    line-height: 1.3;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(41, 170, 226, 0.15);
    background: rgba(0, 0, 0, 0.3);
}

.mobile-menu-footer .btn-futuristic {
    width: 100%;
    justify-content: center;
    padding: 1.1rem 1.5rem;
}


/* Mobile Menu Icon Styles */
.mobile-submenu-icon,
.mobile-sub-submenu-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.mobile-submenu-icon {
    background: rgba(41, 170, 226, 0.1);
}

.mobile-sub-submenu-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(41, 170, 226, 0.08);
}

/* Color Classes for Mobile */
.mobile-submenu-icon.icon-blue,
.mobile-sub-submenu-icon.icon-blue {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.15);
}

.mobile-submenu-icon.icon-cyan,
.mobile-sub-submenu-icon.icon-cyan {
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.15);
}

.mobile-submenu-icon.icon-green,
.mobile-sub-submenu-icon.icon-green {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.15);
}

.mobile-submenu-icon.icon-red,
.mobile-sub-submenu-icon.icon-red {
    color: #f87171;
    background: rgba(248, 113, 113, 0.15);
}

.mobile-submenu-icon.icon-orange,
.mobile-sub-submenu-icon.icon-orange {
    color: #fb923c;
    background: rgba(251, 146, 60, 0.15);
}

.mobile-submenu-icon.icon-purple,
.mobile-sub-submenu-icon.icon-purple {
    color: #c084fc;
    background: rgba(192, 132, 252, 0.15);
}

.mobile-submenu-icon.icon-primary,
.mobile-sub-submenu-icon.icon-primary {
    color: var(--primary);
    background: rgba(41, 170, 226, 0.15);
}

/* Hover Effects */
.mobile-submenu-link:hover .mobile-submenu-icon,
.mobile-sub-submenu-link:hover .mobile-sub-submenu-icon {
    transform: scale(1.1);
}

.mobile-submenu-link:hover .mobile-submenu-icon.icon-blue {
    background: rgba(96, 165, 250, 0.25);
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.3);
}

.mobile-submenu-link:hover .mobile-submenu-icon.icon-cyan {
    background: rgba(34, 211, 238, 0.25);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.3);
}

.mobile-submenu-link:hover .mobile-submenu-icon.icon-green {
    background: rgba(74, 222, 128, 0.25);
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.3);
}

/* Level 1 Nav Link with Arrow */
.mobile-nav-link[data-submenu-toggle] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-link[data-submenu-toggle] i {
    transition: transform 0.3s ease;
}

.mobile-nav-item.open > .mobile-nav-link[data-submenu-toggle] i {
    transform: rotate(180deg);
}

/* Responsive adjustments */
@media (max-width: 380px) {
    .mobile-menu-panel {
        max-width: 100%;
    }
    
    .mobile-submenu-title {
        font-size: 0.85rem;
    }
    
    .mobile-sub-submenu-title {
        font-size: 0.78rem;
    }
}

/* ============================================
   FOOTER STYLES
============================================ */
/* ===================================
   LIXA SYSTEMS - LUXURY CORPORATE FOOTER
   Version: 3.0 Premium Edition
   =================================== */

.site-footer {
    position: relative;
    background: linear-gradient(180deg, 
        rgba(10, 14, 39, 0) 0%, 
        rgba(10, 14, 39, 0.97) 12%,
        #0a0e27 100%
    );
    color: #e5e7eb;
    margin-top: 120px;
    overflow: hidden;
}

/* Elegant Background Pattern */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(0deg, rgba(41, 170, 226, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(41, 170, 226, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.4;
    pointer-events: none;
    animation: gridFloat 20s linear infinite;
}

@keyframes gridFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-40px); }
}

/* Premium Glow Effect */
.footer-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at center, 
        rgba(41, 170, 226, 0.15) 0%, 
        rgba(41, 170, 226, 0.05) 40%,
        transparent 70%
    );
    filter: blur(60px);
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

/* Accent Lines */
.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(41, 170, 226, 0.5) 50%, 
        transparent 100%
    );
    opacity: 0.5;
}

/* Main Footer Content */
.footer-main {
    position: relative;
    padding: 80px 0 60px;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
    gap: 48px;
    align-items: start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Company Section - Premium Styling */
.footer-about {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    position: relative;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center; 
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 25;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    transition: width 0.5s ease;
}

.footer-logo:hover::after {
    width: 80%;
}

.footer-logo:hover {
    transform: translateX(3px);
}

.footer-logo img {
    display: block;
    height: 122px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(41, 170, 226, 0.2));
}

.footer-tagline {
    font-size: 0.800rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

.footer-description {
    font-size: 0.938rem;
    line-height: 1.7;
    color: #9ca3af;
    margin: 0;
    position: relative;
    padding-left: 16px;
    border-left: 2px solid rgba(41, 170, 226, 0.3);
}

/* Premium Social Links */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 8px;
}

.social-label {
    font-size: 0.813rem;
    color: #6b7280;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(41, 170, 226, 0.06);
    border: 1.5px solid rgba(41, 170, 226, 0.2);
    border-radius: 12px;
    color: var(--primary);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), #1e8ab8);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-link svg {
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 12px 24px rgba(41, 170, 226, 0.3);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover svg {
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

/* Links Sections - Professional Layout */
.footer-links-section {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.3px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.footer-title svg {
    color: var(--primary);
    filter: drop-shadow(0 2px 8px rgba(41, 170, 226, 0.4));
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li {
    position: relative;
}

.footer-links li a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.938rem;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 6px 0 6px 4px;
    position: relative;
}

.footer-links li a::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-links li a:hover {
    color: #fff;
    padding-left: 12px;
}

.footer-links li a:hover::before {
    width: 4px;
}

.footer-links li a svg {
    flex-shrink: 0;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.footer-links li a:hover svg {
    opacity: 1;
    color: var(--primary);
    transform: translateX(2px);
}

/* Contact Section - Luxury Style */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: rgba(41, 170, 226, 0.03);
    padding: 28px 24px;
    border-radius: 16px;
    border: 1px solid rgba(41, 170, 226, 0.15);
    transition: all 0.4s ease;
}

.footer-contact:hover {
    background: rgba(41, 170, 226, 0.05);
    border-color: rgba(41, 170, 226, 0.25);
    box-shadow: 0 8px 24px rgba(41, 170, 226, 0.1);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.938rem;
    color: #9ca3af;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.contact-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 32px;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(41, 170, 226, 0.2), transparent);
}

.contact-item:last-child::after {
    display: none;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--primary);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.contact-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.contact-item:hover {
    color: #fff;
    transform: translateX(4px);
}

.contact-item:hover svg {
    transform: scale(1.15);
    filter: drop-shadow(0 2px 8px rgba(41, 170, 226, 0.5));
}

.contact-item a:hover::after {
    width: 100%;
}

/* Bottom Bar - Executive Finish */
.footer-bottom {
    border-top: 1px solid rgba(41, 170, 226, 0.15);
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    padding: 28px 0;
    backdrop-filter: blur(10px);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(41, 170, 226, 0.6) 50%, 
        transparent 100%
    );
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-copyright {
    font-size: 0.875rem;
    color: #6b7280;
}

.footer-copyright p {
    margin: 0;
    line-height: 1.6;
}

.footer-copyright strong {
    color: #d1d5db;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-copyright a:hover strong {
    color: var(--primary);
}

.footer-credit {
    display: inline-block;
    margin-left: 8px;
}

.footer-credit a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.footer-credit a:hover {
    color: var(--primary);
}

/* Legal Links - Refined */
.footer-legal .legal-links,
.footer-legal ul {
    display: flex;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal a {
    font-size: 0.875rem;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transition: width 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary);
}

.footer-legal a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;
    }
    
    .footer-about {
        grid-column: 1 / -1;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        margin-top: 80px;
    }
    
    .footer-main {
        padding: 60px 0 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-legal .legal-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .footer-contact {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 50px 0 30px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-description {
        padding-left: 12px;
    }
}

/* ============================================
   RESPONSIVE BREAKPOINTS
============================================ */
@media (min-width: 1600px) {
    .footer-content {
        max-width: 1400px;
        gap: 64px;
    }
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1024px) {
    .nav-center {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .footer-main {
        padding: 60px 0 50px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-about {
        grid-column: 1 / -1;
        max-width: 600px;
    }
}

@media (max-width: 991px) {
    .nav-center {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .ultra-header {
        width: 92%;
    }

    .mega-dropdown {
        min-width: 90vw;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ultra-header {
        top: 10px;
        width: 95%;
        padding: 0.9rem 1.2rem;
    }

    .logo-icon img {
        width: 90px;
        height: 67px;
    }

    .mobile-menu-panel {
        max-width: 90%;
    }

    .site-footer {
        margin-top: 80px;
    }

    .footer-main {
        padding: 50px 0 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-about {
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(41, 170, 226, 0.1);
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-legal .legal-links,
    .footer-legal ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }


    .header-cta {
        display: none;
    }

    .ultra-header {
        top: 10px;
        width: 95%;
        padding: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links-bottom {
        flex-direction: column;
        gap: 0.5rem;
    }
}


@media (max-width: 480px) {
    .mobile-menu-panel {
        max-width: 100%;
    }

    .mobile-menu-body {
        padding: 1.2rem;
    }

    .footer-main {
        padding: 40px 0 30px;
    }

    .footer-logo img {
        height: 145px;
    }

    .social-links {
        flex-wrap: wrap;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .footer-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .footer-legal .legal-links,
    .footer-legal ul {
        gap: 12px;
        font-size: 0.813rem;
    }
}

/* Prevent body scroll when menu open */
body.mobile-menu-open {
    overflow: hidden;
}

/* ============================================
   ACCESSIBILITY AND PERFORMANCE
============================================ */
@media (prefers-reduced-motion: reduce) {
    .site-footer *,
    .site-footer *::before,
    .site-footer *::after,
    .mobile-submenu {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    .footer-links li a,
    .contact-item,
    .footer-legal a {
        text-decoration: underline;
    }
}

@media (prefers-color-scheme: dark) {
    .site-footer {
        background: linear-gradient(180deg, 
            rgba(5, 7, 15, 0) 0%, 
            rgba(5, 7, 15, 0.98) 15%,
            #05070f 100%
        );
    }
}

/* Icon Color Classes - Enhanced */
.dropdown-icon.icon-blue {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

.dropdown-icon.icon-cyan {
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.1);
}

.dropdown-icon.icon-green {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
}

.dropdown-icon.icon-red {
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
}

.dropdown-icon.icon-orange {
    color: #fb923c;
    background: rgba(251, 146, 60, 0.1);
}

.dropdown-icon.icon-purple {
    color: #c084fc;
    background: rgba(192, 132, 252, 0.1);
}

.dropdown-icon.icon-primary {
    color: var(--primary);
    background: rgba(41, 170, 226, 0.1);
}

/* Hover Effects */
.dropdown-item-modern:hover .dropdown-icon.icon-blue {
    background: rgba(96, 165, 250, 0.2);
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.3);
}

.dropdown-item-modern:hover .dropdown-icon.icon-cyan {
    background: rgba(34, 211, 238, 0.2);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.3);
}

.dropdown-item-modern:hover .dropdown-icon.icon-green {
    background: rgba(74, 222, 128, 0.2);
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.3);
}

.dropdown-item-modern:hover .dropdown-icon.icon-red {
    background: rgba(248, 113, 113, 0.2);
    box-shadow: 0 0 15px rgba(248, 113, 113, 0.3);
}

.dropdown-item-modern:hover .dropdown-icon.icon-orange {
    background: rgba(251, 146, 60, 0.2);
    box-shadow: 0 0 15px rgba(251, 146, 60, 0.3);
}

.dropdown-item-modern:hover .dropdown-icon.icon-purple {
    background: rgba(192, 132, 252, 0.2);
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.3);
}

/* ===================================
   SEARCH BUTTON & MODAL
   Modern Search Interface
   Version: 1.0.0
   =================================== */

/* ===================================
   SEARCH BUTTON IN HEADER
   =================================== */

/* Desktop Search Button */
.btn-search-futuristic {
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(41, 170, 226, 0.1);
    border: 1px solid rgba(41, 170, 226, 0.3);
    border-radius: 12px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-search-futuristic::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(41, 170, 226, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-search-futuristic:hover::before {
    width: 120%;
    height: 120%;
}

.btn-search-futuristic:hover {
    background: rgba(41, 170, 226, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(41, 170, 226, 0.3);
}

.btn-search-futuristic svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-search-futuristic:hover svg {
    transform: scale(1.1);
}

/* Mobile Actions Container */
.mobile-actions {
    display: none;
    align-items: center;
    gap: 12px;
}

.mobile-search-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(41, 170, 226, 0.1);
    border: 1px solid rgba(41, 170, 226, 0.3);
    border-radius: 10px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-search-toggle:hover {
    background: rgba(41, 170, 226, 0.2);
    border-color: var(--primary);
}

/* ===================================
   SEARCH BUTTON & MODAL
   Modern Search Interface
   Version: 1.0.0
   =================================== */

/* ===================================
   SEARCH BUTTON IN HEADER
   =================================== */

/* Desktop Search Button */
.btn-search-futuristic {
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(41, 170, 226, 0.1);
    border: 1px solid rgba(41, 170, 226, 0.3);
    border-radius: 12px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 100;
}

.btn-search-futuristic::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(41, 170, 226, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-search-futuristic:hover::before {
    width: 120%;
    height: 120%;
}

.btn-search-futuristic:hover {
    background: rgba(41, 170, 226, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(41, 170, 226, 0.3);
}

.btn-search-futuristic svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-search-futuristic:hover svg {
    transform: scale(1.1);
}

/* Mobile Actions Container */
.mobile-actions {
    display: none;
    align-items: center;
    gap: 12px;
}

.mobile-search-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(41, 170, 226, 0.1);
    border: 1px solid rgba(41, 170, 226, 0.3);
    border-radius: 10px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.mobile-search-toggle:hover {
    background: rgba(41, 170, 226, 0.2);
    border-color: var(--primary);
}

/* ===================================
   SEARCH MODAL
   =================================== */

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Backdrop */
.search-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1;
}

/* Modal Content */
.search-modal-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 700px;
    background: linear-gradient(145deg, rgba(15, 20, 35, 0.95), rgba(10, 14, 25, 0.95));
    border: 2px solid rgba(41, 170, 226, 0.3);
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.search-modal[aria-hidden="false"] .search-modal-content {
    transform: translateY(0);
}

/* Close Button */
.search-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-modal-close:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
    color: #ff4444;
    transform: rotate(90deg);
}

/* Modal Header */
.search-modal-header {
    margin-bottom: 32px;
    text-align: center;
}

.search-modal-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.search-modal-title svg {
    color: var(--primary);
}

.search-modal-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Modal Body */
.search-modal-body {
    margin-bottom: 28px;
}

/* Search Form */
.search-modal-form {
    margin-bottom: 36px;
}

.search-modal-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(41, 170, 226, 0.3);
    border-radius: 16px;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.search-modal-input-wrapper:focus-within {
    border-color: var(--primary);
    background: rgba(41, 170, 226, 0.05);
    box-shadow: 0 0 30px rgba(41, 170, 226, 0.2);
}

.search-input-icon {
    color: rgba(255, 255, 255, 0.4);
    margin-right: 12px;
    flex-shrink: 0;
}

.search-modal-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 18px 0;
    color: #ffffff;
    font-size: 1.125rem;
    outline: none;
}

.search-modal-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-modal-submit {
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 12px;
    flex-shrink: 0;
}

.search-modal-submit:hover {
    transform: translateX(3px);
    box-shadow: 0 5px 20px rgba(41, 170, 226, 0.5);
}

/* Popular Searches */
.search-modal-popular {
    margin-bottom: 32px;
}

.popular-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.938rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popular-title svg {
    color: var(--primary);
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.popular-tag {
    padding: 8px 18px;
    background: rgba(41, 170, 226, 0.1);
    border: 1px solid rgba(41, 170, 226, 0.2);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.popular-tag:hover {
    background: rgba(41, 170, 226, 0.2);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Quick Links */
.search-modal-quick-links {
    margin-bottom: 24px;
}

.quick-links-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.938rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-links-title svg {
    color: var(--primary);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 16px;
    background: rgba(41, 170, 226, 0.05);
    border: 1px solid rgba(41, 170, 226, 0.15);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    background: rgba(41, 170, 226, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(41, 170, 226, 0.2);
}

.quick-link-card svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.quick-link-card span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.938rem;
    font-weight: 600;
    text-align: center;
}

/* Modal Footer */
.search-modal-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.search-modal-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.search-modal-hint kbd {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

/* ===================================
   RESPONSIVE - MOBILE
   =================================== */

@media (max-width: 991px) {
    /* Hide desktop search, show mobile actions */
    .btn-search-futuristic {
        display: none;
    }

    .mobile-actions {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }
}

@media (max-width: 767px) {
    .search-modal {
        padding: 20px 16px;
        align-items: center;
    }

    .search-modal-content {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .search-modal-close {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
    }

    .search-modal-title {
        font-size: 1.5rem;
    }

    .search-modal-title svg {
        width: 24px;
        height: 24px;
    }

    .search-modal-subtitle {
        font-size: 0.938rem;
    }

    .search-modal-input-wrapper {
        padding: 0 16px;
    }

    .search-modal-input {
        padding: 16px 0;
        font-size: 1rem;
    }

    .search-modal-submit {
        width: 44px;
        height: 44px;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
    }

    .quick-link-card {
        flex-direction: row;
        justify-content: flex-start;
        padding: 16px;
    }

    .quick-link-card svg {
        width: 24px;
        height: 24px;
    }

    .popular-tags {
        gap: 8px;
    }

    .popular-tag {
        padding: 6px 14px;
        font-size: 0.813rem;
    }
}

@media (max-width: 480px) {
    .search-modal-content {
        padding: 28px 20px;
    }

    .search-modal-header {
        margin-bottom: 28px;
    }

    .search-modal-title {
        font-size: 1.375rem;
        gap: 10px;
    }

    .search-modal-input {
        font-size: 0.938rem;
    }

    .quick-link-card {
        padding: 14px;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes backdropFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.search-modal[aria-hidden="false"] .search-modal-backdrop {
    animation: backdropFadeIn 0.3s ease;
}

.search-modal[aria-hidden="false"] .search-modal-content {
    animation: modalFadeIn 0.3s ease;
}

/* Prevent body scroll when modal is open */
body.search-modal-open {
    overflow: hidden;
}