/* ==========================================
   1. GLOBAL STYLES & BASE
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #0b1220;
  color: #ffffff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ==========================================
   2. NAVIGATION & NAVBAR
   ========================================== */
/* PASTE THIS NEW CODE: */
#navbar {
  background: #0f1a2e; /* Keeps your original dark blue background */
  padding: 12px 0;     /* Slightly tighter padding for a modern look */
}

/* Flexbox wrapper to split the logo, links, and right button apart */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* The Blue Box container for your logo on the far left */
.brand-holder-blue {
  background-color: #1e90ff; /* Matches your theme's primary blue color */
  padding: 8px 16px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Constrains the purple dot SVG logo so it fits perfectly */
.purple-dots-logo {
  height: 24px;
  width: auto;
  display: block;
}

/* Updated navigation links container */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px; /* Slightly wider spacing between text links */
  margin: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
}

/* DROPDOWN MENU */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #111c33;
  list-style: none;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 10px 15px;
}

.dropdown-menu li a {
  color: white;
  text-decoration: none;
}

/* ==========================================
   3. HERO & SECTIONS
   ========================================== */
.hero {
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
}

.hero p {
  color: #cbd5e1;
  margin-top: 10px;
}

section {
  padding: 80px 0;
}

/* ==========================================
   4. CARDS & GRIDS
   ========================================== */
.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: #111c33;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.3s;
  text-align: center;
  color: #ffffff;
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #1e90ff;
}

/* BRAND GRID */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.brand {
  background: #111c33;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.brand:hover {
  transform: translateY(-5px);
  border-color: #1e90ff;
  box-shadow: 0 10px 25px rgba(30,144,255,0.15);
}

.brand-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ==========================================
   5. BUTTONS, IMAGES & FAQ
   ========================================== */
button {
  margin-top: 10px;
  padding: 10px 15px;
  background: #1e90ff;
  border: none;
  color: white;
  cursor: pointer;
}

button:hover {
  background: #1473cc;
}

.pdf-btn {
  display: inline-block;
  background-color: #0c4a6e;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.2s ease;
}

.pdf-btn:hover {
  background: #1e90ff;
}

.product-img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  transition: 0.3s;
}

.product-img:hover {
  transform: scale(1.05);
}

.faq-item {
  background: transparent;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.faq-question {
  color: white;
  cursor: pointer;
  font-weight: 600;
}

.faq-answer {
  display: none;
  color: #cfcfcf;
  padding: 10px 0 0 0;
}

/* ==========================================
   6. SEARCH BAR
   ========================================== */
.search-header {
    background-color: #1a1a1a;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.search-input {
    width: 100%;
    max-width: 800px;
    padding: 15px 20px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

/* ==========================================
   7. PARTS TABLE (FIXED HOVER BUG)
   ========================================== */
.parts-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #0f172a;
    color: #ffffff;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.parts-table th {
    background-color: #1e293b;
    color: #ffffff;
    padding: 20px;
    text-align: left;
    border-bottom: 2px solid #334155;
}

.parts-table td {
    padding: 20px;
    border-bottom: 1px solid #334155;
    color: #ffffff;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.model-name {
    font-weight: bold;
    color: #ffffff;
}

/* HOVER EFFECT FIX: Rows turn a sleek slate blue, text stays perfectly white */
.parts-table tbody tr:hover {
    background-color: #1e293b !important;
}

.parts-table tbody tr:hover td {
    color: #ffffff !important;
}

.parts-table tbody tr:hover .model-name {
    color: #38bdf8 !important; /* Gives the model number a neat light blue accent on hover */
}
.view-types-btn {
  display: inline-block;
  background-color: #0b4f7c; /* Deep blue button color */
  color: #ffffff;            /* White text */
  padding: 8px 20px;         /* Padding inside the button */
  text-decoration: none;     /* Removes the underline */
  font-size: 15px;
  border-radius: 6px;        /* Smooth rounded corners */
  margin-top: 10px;
  transition: background-color 0.2s ease;
}

.view-types-btn:hover {
  background-color: #0f6299; /* Slightly lighter blue on hover */
  color: #ffffff;
}
/* ==========================================
   8. FLOATING AI CHATBOT COMPONENT
   ========================================== */
  /* ==========================================
   8. FLOATING AI CHATBOT COMPONENT
   ========================================== */
.ai-chat-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 2000;
}

/* Updated .fab as a native clickable button wrapper */
.fab {
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1e90ff; 
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(30, 144, 255, 0.35);
  transition: all 0.25s ease;
}

.fab:hover {
  background: #1473cc;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(30, 144, 255, 0.45);
}

.fab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulse 2s infinite;
}

/* Chat Popup Window Drawer */
.chat-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 360px;
} /* <-- This brace was missing! */
  max-width: 90vw;
  height: 460px;
  background: #111c33; /* Matches your .card and .dropdown-menu background */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chat-header {
  background: #0f1a2e; /* Matches your navbar background */
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
}

.close-btn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 22px;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.close-btn:hover {
  color: #ffffff;
}

.chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Custom Scrollbar for Chat Body */
.chat-body::-webkit-scrollbar {
  width: 4px;
}
.chat-body::-webkit-scrollbar-track {
  background: transparent;
}
.chat-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.chat-msg.ai {
  background: #0f1a2e;
  color: #ffffff;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  background: #1e90ff;
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* Chat Onboarding Question Suggestions Grid */
.chat-suggestions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.suggestion-title {
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 600;
  margin-bottom: 4px;
  text-align: left;
}

.suggest-btn {
  background: #0f1a2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  text-align: left;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  margin: 0;
  transition: all 0.2s ease;
}

.suggest-btn:hover {
  background: #1e293b;
  color: #ffffff;
  border-color: #1e90ff;
}

.chat-footer {
  padding: 12px;
  background: #0f1a2e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 8px;
}

#chat-input {
  flex: 1;
  background: #0b1220; /* Matches your general body background */
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 6px;
  outline: none;
  font-size: 14px;
}

#chat-input:focus {
  border-color: #1e90ff;
}

#chat-send-btn {
  background: #1e90ff;
  color: #ffffff;
  border: none;
  padding: 0 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
  transition: background 0.2s ease;
}

#chat-send-btn:hover {
  background: #1473cc;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.95); }
}

.brand-holder-blue {
  background-color: #1e90ff !important; /* Forces the vibrant accent blue */
  padding: 8px 14px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 80px;  /* Ensures the container has space to show */
  min-height: 35px; /* Ensures vertical presence next to text */
}

.purple-dots-logo {
  height: 20px !important;
  width: auto !important;
  display: block !important;
}
/* Professional Secondary Button Styling */
.btn-back {
  display: inline-flex;
  align-items: center;
  color: #a0aec0; /* Soft professional grey/silver */
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid rgba(160, 174, 192, 0.3); /* Subtle border */
  border-radius: 4px;
  transition: all 0.25s ease-in-out;
  margin-top: 15px;
}

/* Smooth Interactive Hover Effects */
.btn-back:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05); /* Slight tint background */
  border-color: #ffffff;
}

/* Micro-interaction: nudge the arrow left on hover */
.btn-back .arrow {
  margin-right: 8px;
  transition: transform 0.2s ease;
}

.btn-back:hover .arrow {
  transform: translateX(-3px);
}
/* Floating Action Button (FAB) Positioning */
#ai-chatbot-wrapper {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#chatbot-toggle-btn {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: #ffffff;
  border: none;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
  transition: transform 0.2s ease, background 0.3s ease;
}

#chatbot-toggle-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

/* Chatbox Layout Window */
#chatbot-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 360px;
  height: 500px;
  background-color: #0f172a; /* Deep dark slate to match background */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#chatbot-window.hidden {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
}

/* Header UI Elements */
.chat-header {
  background-color: #1e293b;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bot-avatar { font-size: 1.5rem; }
.header-info h4 { color: #ffffff; margin: 0; font-size: 0.95rem; }
.header-info p { color: #10b981; margin: 0; font-size: 0.75rem; font-weight: 500; }
#close-chat-btn { background: none; border: none; color: #94a3b8; font-size: 1.5rem; cursor: pointer; }

/* Interactive Body Area */
.chat-body {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Chat Bubble Customizations */
.msg-row { display: flex; width: 100%; }
.bot-msg { justify-content: flex-start; }
.user-msg { justify-content: flex-end; }

.msg-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.bot-msg .msg-bubble {
  background-color: #1e293b;
  color: #e2e8f0;
  border-top-left-radius: 2px;
}

.user-msg .msg-bubble {
  background-color: #2563eb;
  color: #ffffff;
  border-top-right-radius: 2px;
}

/* Critical Red Warning Structure */
.price-warning {
  color: #ef4444; /* Clean operational red text */
  font-weight: bold;
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
}

/* Preset Action Chips */
#quick-prompts-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
}

.prompt-chip {
  background-color: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.prompt-chip:hover {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

/* User Input Footer Row */
.chat-footer {
  padding: 12px;
  background-color: #1e293b;
  display: flex;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#chat-user-input {
  flex: 1;
  background-color: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  color: #ffffff;
  font-size: 0.88rem;
}

#chat-user-input:focus { outline: 1px solid #2563eb; }
#send-chat-btn { background-color: #2563eb; color: white; border: none; padding: 8px 14px; border-radius: 8px; font-weight: 500; cursor: pointer; }
/* ─── MOBILE DROPDOWN STYLES ─── */
.mobile-dropdown-btn {
  font-family: inherit;
  font-size: 18px; 
  font-weight: 500; 
  color: var(--text);
  text-align: left; 
  padding: 16px; 
  border-radius: var(--radius-md);
  background: var(--surface); 
  border: 1px solid var(--border);
  cursor: pointer; 
  width: 100%; 
  display: flex; 
  justify-content: space-between;
}

.mobile-dropdown-content {
  display: none; 
  flex-direction: column; 
  gap: 4px;
  padding-left: 16px; 
  margin-top: -4px; 
  margin-bottom: 8px;
}

.mobile-dropdown-content.open {
  display: flex;
}

.mobile-dropdown-content a {
  font-size: 16px; 
  padding: 12px; 
  border: none; 
  background: transparent;
}

/* ─── REVISED MOBILE MENU DRAWER ─── */
.mobile-menu {
  display: flex !important; /* Keep in DOM for smooth transition */
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  padding: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  border-top: 1px solid var(--border);
  
  /* Smooth transition performance */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
/* ==========================================
   MOBILE & RESPONSIVE OVERRIDES
   ========================================== */

/* 1. Mobile & Small Screen Table Handling */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 20px;
}

/* 2. Responsive Brand Grid Breakdown */
.brand-grid {
  display: grid;
  grid-template-columns: 1fr; /* 1 column by default on mobile */
  gap: 16px;
  margin-top: 30px;
}

@media (min-width: 576px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on phablets */
  }
}

@media (min-width: 992px) {
  .brand-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
    gap: 25px;
  }
}

/* 3. Small Mobile Breakpoint Refinements (Phones < 576px) */
@media (max-width: 575px) {
  /* Prevent horizontal page drift */
  body {
    overflow-x: hidden;
  }

  /* Stack hero stats in a clean 2x2 grid */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
  }

  .hero-stat + .hero-stat {
    border-left: none;
    padding-left: 0;
  }

  .hero-stat {
    background: var(--surface);
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
  }

  /* Make Chatbot window fill phone screens gracefully */
  .chat-window, 
  #chatbot-window {
    width: calc(100vw - 32px) !important;
    right: 16px !important;
    left: 16px !important;
    bottom: 80px !important;
    max-height: 70vh;
  }

  .ai-chat-container, 
  #ai-chatbot-wrapper {
    right: 16px !important;
    bottom: 16px !important;
  }

  .fab {
    padding: 10px 16px;
    font-size: 13px;
  }

  /* Table Cell Padding Tweaks for mobile readability */
  .parts-table th, 
  .parts-table td {
    padding: 12px 10px;
    font-size: 13px;
    white-space: nowrap;
  }
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  border-color: rgba(37,99,235,0.4);
  transform: translateY(-2px);
}

.team-avatar {
  width: 100%;
  height: 240px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-body {
  padding: 20px 16px;
  background: var(--surface);
}

.team-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--blue-light);
  font-weight: 600;
  margin-bottom: 8px;
}

.team-body p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}



.team-body p a {
  color: #3B82F6;
  text-decoration: underline;
  font-weight: 500;
  cursor: pointer;
}

.team-body p a:hover {
  color: #2563EB;
}
/* ─── DESKTOP (DEFAULT HIDDEN FOR HAMBURGER, LINKS VISIBLE) ─── */
@media (min-width: 1024px) {
  .nav-links { display: flex !important; }
  .hamburger { display: none !important; }
  .lang-btn { display: inline-flex !important; }
}

/* ─── MOBILE / TABLET (HIDE NAV LINKS, SHOW HAMBURGER) ─── */
@media (max-width: 1023px) {
  .nav-links { display: none !important; }
  .hamburger { display: flex !important; }
}
/* Seamless Text-Button for Credits */
.footer-credits {
  font-size: 0.88rem;
  color: var(--text-muted, #cbd5e1);
  margin-top: 6px;
}

/* Specificity fix to override all footer link styles */
footer .footer-content .footer-credits a.studio-credit-btn,
footer a.studio-credit-btn {
  all: unset !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  color: var(--text-muted, #cbd5e1) !important; /* Light gray text matching the line */
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  vertical-align: middle !important;
}

/* Hover State - Gold Badge Transformation */
footer .footer-content .footer-credits a.studio-credit-btn:hover,
footer a.studio-credit-btn:hover {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #fbbf24 !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25) !important;
}
/* Remove 300ms mobile tap delay instantly across all interactive elements */
a, button, input, select, textarea, .btn, .faq-q, .hamburger {
  touch-action: manipulation;
}

/* Optimize backdrop-filter for mobile performance */
#navbar.scrolled {
  background: rgba(12, 14, 20, 0.95); /* Fallback solid-ish tint */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  #navbar.scrolled {
    backdrop-filter: none; /* Disable heavy blur on phones for zero lag */
    -webkit-backdrop-filter: none;
    background: rgba(12, 14, 20, 0.98);
  }
}
/* Compact mobile language switcher styling */
@media (max-width: 1023px) {
  .nav-actions .lang-btn {
    padding: 4px 8px !important;
    font-size: 11px !important;
    border-radius: 4px !important;
    gap: 3px !important;
  }
}
