/* Testimonials Slider */
.testimonial-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  padding: 1rem 0;
}
.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
  text-align: center;
}
.testimonial-stars { color: #fbbf24; font-size: 1.5rem; margin-bottom: 1.5rem; letter-spacing: 0.2rem; }
.testimonial-title { font-family: var(--font-heading); font-size: 1.75rem; color: var(--text-main); margin-bottom: 1.5rem; font-weight: 700; }
.testimonial-quote { font-size: 1.25rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 2rem; font-style: italic; max-width: 800px; margin-left: auto; margin-right: auto; }
.testimonial-author { font-weight: 700; color: var(--accent-cyan); font-size: 1.1rem; letter-spacing: 0.05em; text-transform: uppercase; }

.slider-dots { display: flex; justify-content: center; gap: 0.75rem; margin-top: 3rem; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.1); cursor: pointer; transition: all var(--transition-fast); border: 1px solid var(--border-glass); }
.slider-dot.active { background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); width: 24px; border-radius: 5px; }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition-fast);
  z-index: 5;
}
.slider-arrow:hover { background: rgba(255,255,255,0.08); color: var(--text-main); border-color: var(--accent-cyan); }
.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }

/* ==== PROFESSIONAL MARQUEE TICKER ==== */
.custom-marquee {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, 
    rgba(5, 8, 16, 0.95) 0%, 
    rgba(10, 15, 26, 0.9) 50%, 
    rgba(5, 8, 16, 0.95) 100%);
  border-bottom: 1px solid rgba(11, 190, 214, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 0;
  position: relative;
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.custom-marquee::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(11, 190, 214, 0.4) 50%, 
    transparent 100%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.custom-marquee-inner {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  will-change: transform;
  position: relative;
  z-index: 2;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.custom-marquee:hover .custom-marquee-inner {
  animation-play-state: paused;
}

.custom-marquee-message {
  margin: 0 3rem;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, 
    rgba(11, 190, 214, 0.1) 0%, 
    rgba(11, 190, 214, 0.05) 100%);
  border: 1px solid rgba(11, 190, 214, 0.2);
  border-radius: 50px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.custom-marquee-message::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, 
    rgba(11, 190, 214, 0.3) 0%, 
    transparent 50%, 
    rgba(11, 190, 214, 0.3) 100%);
  border-radius: 50px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.custom-marquee:hover .custom-marquee-message::before {
  opacity: 1;
}

.custom-marquee-message:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(11, 190, 214, 0.2),
    0 0 0 1px rgba(11, 190, 214, 0.3);
  background: linear-gradient(135deg, 
    rgba(11, 190, 214, 0.15) 0%, 
    rgba(11, 190, 214, 0.08) 100%);
}

.custom-marquee-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 1.5rem;
  margin: 0 1rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2px;
  height: 20px;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.3) 50%, 
    transparent 100%);
  border-radius: 1px;
}

/* Speed variations */
.custom-marquee.slow .custom-marquee-inner {
  animation-duration: 60s;
}

.custom-marquee.fast .custom-marquee-inner {
  animation-duration: 20s;
}

.custom-marquee.very-fast .custom-marquee-inner {
  animation-duration: 15s;
}

/* Color themes */
.custom-marquee.theme-gold .custom-marquee-inner {
  color: #ffd700;
}

.custom-marquee.theme-gold .custom-marquee-message {
  background: linear-gradient(135deg, 
    rgba(255, 215, 0, 0.1) 0%, 
    rgba(255, 215, 0, 0.05) 100%);
  border-color: rgba(255, 215, 0, 0.3);
}

.custom-marquee.theme-red .custom-marquee-inner {
  color: #ff4444;
}

.custom-marquee.theme-red .custom-marquee-message {
  background: linear-gradient(135deg, 
    rgba(255, 68, 68, 0.1) 0%, 
    rgba(255, 68, 68, 0.05) 100%);
  border-color: rgba(255, 68, 68, 0.3);
}

.custom-marquee.theme-green .custom-marquee-inner {
  color: #44ff44;
}

.custom-marquee.theme-green .custom-marquee-message {
  background: linear-gradient(135deg, 
    rgba(68, 255, 68, 0.1) 0%, 
    rgba(68, 255, 68, 0.05) 100%);
  border-color: rgba(68, 255, 68, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .custom-marquee {
    padding: 0.75rem 0;
  }
  
  .custom-marquee-inner {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
  }
  
  .custom-marquee-message {
    margin: 0 2rem;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
  
  .custom-marquee-sep {
    margin: 0 0.5rem;
    height: 15px;
  }
}

@media (max-width: 480px) {
  .custom-marquee-inner {
    font-size: 0.75rem;
  }
  
  .custom-marquee-message {
    margin: 0 1.5rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
  }
}

/* Loading state */
.custom-marquee.loading .custom-marquee-inner {
  opacity: 0.3;
}

.custom-marquee.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(11, 190, 214, 0.3);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ==== UTILITY BUTTONS & ACTIONS ==== */
.utility-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.utility-btn {
    position: relative;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 48px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.utility-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.utility-btn:hover::before {
    left: 100%;
}

.utility-btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    color: var(--bg-darker);
    box-shadow: 
        0 8px 30px rgba(11, 190, 214, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
}

.utility-btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 15px 50px rgba(11, 190, 214, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
}

.utility-btn-primary:active {
    transform: translateY(-2px) scale(1.01);
}

.utility-btn-outline {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.1) 100%);
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
    box-shadow: 
        0 8px 30px rgba(11, 190, 214, 0.2),
        inset 0 0 15px rgba(255, 255, 255, 0.05);
}

.utility-btn-outline:hover {
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    color: var(--bg-darker);
    border-color: transparent;
    box-shadow: 
        0 15px 50px rgba(11, 190, 214, 0.4),
        inset 0 0 25px rgba(255, 255, 255, 0.2);
}

.utility-btn-secondary {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.15) 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.05);
}

.utility-btn-secondary:hover {
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(0, 0, 0, 0.2) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.4),
        inset 0 0 25px rgba(255, 255, 255, 0.1);
}

/* Language Selector Premium Portal */
.lang-selector-premium {
    position: relative;
}

.lang-trigger {
    display: flex;
    gap: 0.5rem;
    padding: 0 0.75rem;
    width: auto;
    min-width: 65px;
}

.lang-current {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
}

.lang-portal {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 320px;
    background: rgba(10, 15, 26, 0.98);
    backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.lang-portal.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.portal-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.lang-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-cyan);
    color: #fff;
}

.lang-option.active {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.flag-icon {
    font-size: 1.25rem;
}

.lang-name {
    font-family: var(--font-primary);
}

/* Action Portal Button */
.portal-btn {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--accent-cyan);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.portal-btn span { position: relative; z-index: 2; }
.portal-btn i { position: relative; z-index: 2; transition: transform 0.3s ease; }

.portal-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.portal-btn:hover {
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.3);
}

.portal-btn:hover::before { opacity: 1; }
.portal-btn:hover i { transform: translateX(5px); }

/* User Portal Dropdown & Actions */
.user-portal-wrapper {
    position: relative;
}

.user-trigger {
    position: relative;
}

.online-pulse {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: var(--success-green);
    border: 2px solid var(--bg-darker);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success-green);
    animation: user-online-glow 2s infinite alternate;
}

@keyframes user-online-glow {
    0% { opacity: 0.5; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.1); }
}

.user-portal-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 280px;
    background: rgba(10, 15, 26, 0.98);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.user-portal-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.user-name {
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.user-status {
    color: var(--success-green);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.portal-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.portal-link-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    border-radius: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
}

.portal-link-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-glass);
    color: #fff;
    transform: translateX(5px);
}

.portal-link-item.text-danger:hover {
    background: rgba(239, 68, 68, 0.05);
    color: var(--danger-red);
    border-color: rgba(239, 68, 68, 0.2);
}

.portal-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 0.5rem 0;
}

/* Fix Translation Combo Display */
.goog-te-banner-frame, .goog-te-menu-value span:nth-child(2), .goog-te-menu-value span:nth-child(3), .goog-te-menu-value img {
    display: none !important;
}

.goog-te-gadget {
    color: transparent !important;
    font-size: 0 !important;
}

#google_translate_element {
    position: fixed;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -1000;
    opacity: 0.01;
    pointer-events: none;
}

/* Hide Google Translate Branding & Banners */
.goog-te-banner-frame, 
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-tip-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-te-gadget {
    font-size: 0 !important;
}

.goog-te-gadget .goog-te-combo {
    margin: 0 !important;
}

/* Professional Polish & Enhancements */
.back-to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(10, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--accent-cyan);
    border-radius: 12px;
    color: var(--accent-cyan);
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: var(--accent-cyan);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--accent-cyan);
}

/* Skeleton Loading for Products */
.skeleton-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 1.5rem;
    height: 450px;
    position: relative;
    overflow: hidden;
}

.skeleton-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: skeleton-pulse 1.5s infinite;
}

@keyframes skeleton-pulse {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Smooth Transition for all elements */
.btn, .product-card, .nav-link, .utility-btn {
    will-change: transform, opacity;
}

/* Sticky Header Scrolled Polish */
.header.scrolled {
    padding: 0.5rem 0;
    background: rgba(5, 8, 16, 0.9);
    backdrop-filter: blur(25px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Mobile Search Improvements */
@media (max-width: 1024px) {
    .integrated-search {
        width: 44px;
        transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
    }
    
    .integrated-search:focus-within {
        width: 250px;
        position: absolute;
        right: 0;
        z-index: 10;
        background: var(--bg-darker);
    }
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Integrated Search Polish */
.integrated-search {
    position: relative;
    width: 220px;
    height: 44px;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-field {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 0 1rem 0 3rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.search-field:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
    outline: none;
}

.search-field:focus + .search-icon {
    color: var(--accent-cyan);
}

.search-field::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

/* Search Portal / Autocomplete */
.search-portal {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 350px;
    max-height: 450px;
    overflow-y: auto;
    background: rgba(10, 15, 26, 0.98);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

.search-portal.has-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-item-premium {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-item-premium:hover {
    background: rgba(255, 255, 255, 0.05);
}

.search-item-img-premium {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border-glass);
}

.search-item-name-premium {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.search-item-cat-premium {
    display: block;
    color: var(--accent-cyan);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.search-item-arrow {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 0.75rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.search-item-premium:hover .search-item-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Status Badges */
.status-pill {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
}
.status-pending { background: rgba(148, 163, 184, 0.1); color: #94a3b8; border-color: rgba(148, 163, 184, 0.2); }
.status-approved { background: rgba(16, 185, 129, 0.1); color: #10b981; border-color: rgba(16, 185, 129, 0.2); }
.status-rejected { background: rgba(239, 68, 68, 0.1); color: #ef4444; border-color: rgba(239, 68, 68, 0.2); }

/* Content Protection */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Allow selection in inputs and textareas */
input, textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

img {
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Premium Rating Badge */
.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(11, 190, 214, 0.05);
    border: 1px solid rgba(11, 190, 214, 0.2);
    border-radius: 9999px;
    padding: 0.6rem 1.25rem;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0.75rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.rating-badge:hover {
    background: rgba(11, 190, 214, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 190, 214, 0.15);
}

.rating-badge .stars {
    color: #fbbf24;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.3));
}

.rating-badge .rating-text {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.025em;
    font-family: var(--font-heading);
}

.rating-badge .rating-subtext {
    color: var(--text-muted);
    font-weight: 500;
}

/* Contact Support Modal Redesign */
.contact-support-modal {
    max-width: 500px !important;
    padding: 3rem 2rem !important;
    overflow: hidden;
}

.modal-header-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(11, 190, 214, 0.3));
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.contact-card {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-cyan);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(11, 190, 214, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-right: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-card-icon {
    background: var(--accent-cyan);
    color: white;
    box-shadow: 0 0 15px rgba(11, 190, 214, 0.4);
}

.whatsapp-card .contact-card-icon {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.whatsapp-card:hover .contact-card-icon {
    background: #25d366;
    color: white;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
}

.contact-card-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.contact-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-card-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    word-break: break-all;
}

.contact-card-arrow {
    color: var(--text-muted);
    font-size: 0.875rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-card-arrow {
    opacity: 1;
    transform: translateX(5px);
    color: var(--accent-cyan);
}

/* COA Modal Styling */
.coa-preview-modal {
    max-width: 95vw !important;
    width: 1000px !important;
    max-height: 95vh;
    padding: 2rem !important;
    display: flex;
    flex-direction: column;
    background: rgba(5, 8, 16, 0.95) !important;
    backdrop-filter: blur(25px) !important;
    border: 1px solid var(--border-glass-light) !important;
}

.coa-modal-body {
    flex: 1;
    overflow-y: auto;
    border-radius: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-glass);
    padding: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-cyan) transparent;
}

.coa-modal-body::-webkit-scrollbar { width: 8px; }
.coa-modal-body::-webkit-scrollbar-track { background: transparent; }
.coa-modal-body::-webkit-scrollbar-thumb { background: var(--accent-cyan); border-radius: 10px; }

.coa-viewer-container {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.coa-full-image {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    display: block;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.coa-pdf-embed {
    width: 100%;
    height: 75vh;
    border-radius: 0.75rem;
    background: white;
}

/* Advanced Search & Autocomplete */
.search-wrapper {
    position: relative;
    width: 250px;
    margin-right: 1rem;
}

.search-input {
    width: 100% !important;
    padding: 0.6rem 1rem 0.6rem 2.5rem !important;
    font-size: 0.85rem !important;
    border-radius: 9999px !important;
}

.search-wrapper::before {
    content: "\f002";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
    z-index: 1;
}

.search-autocomplete {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    max-height: 350px;
    overflow-y: auto;
    border-radius: 1rem;
    padding: 0.5rem;
    display: none;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-glass);
}

.search-autocomplete.active {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.search-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    gap: 1rem;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.search-item-img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid var(--border-glass);
}

.search-item-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.search-item-name {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-item-cat {
    color: var(--accent-cyan);
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
}

/* Mobile nav breakpoints — handled by responsive.css */
@media (max-width: 1024px) {
    .nav-container { height: 75px; padding: 0 1.5rem; }
    .header-left { flex: 1; min-width: unset; }
    .header-center { display: none !important; }
    .header-right { flex: 0 0 auto; min-width: unset; display: flex; justify-content: flex-end; }
    .integrated-search { display: none !important; }
    .action-divider { display: none !important; }
    .auth-action.hide-mobile { display: none !important; }
}

@media (max-width: 768px) {
    .logo-text { font-size: 0.9rem; }
    .logo-icon-wrapper { width: 36px; height: 36px; }
    .user-portal-wrapper { display: flex !important; }
}

@media (max-width: 480px) {
    .nav-container { height: 64px; padding: 0 0.75rem; }
    .logo-icon-wrapper { width: 34px !important; height: 34px !important; min-width: 34px !important; }
    .logo-text { font-size: 0.8rem !important; }
    .utility-btn, .mobile-trigger { width: 36px !important; height: 36px !important; font-size: 0.9rem !important; }
    .lang-current { display: none; }
    .utility-actions { gap: 0.3rem !important; }
    .interaction-group { gap: 0.4rem !important; }
    .cart-count-badge { width: 14px; height: 14px; font-size: 0.6rem; top: -3px; right: -3px; }
}

.mobile-trigger {
    width: 44px;
    height: 44px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

@media (max-width: 1024px) {
    .mobile-trigger { display: flex; }
}

.burger-line {
    width: 20px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-trigger:hover {
    background: rgba(6, 182, 212, 0.2);
    transform: scale(1.05);
}

.mobile-trigger.active .burger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-trigger.active .burger-line:nth-child(2) { opacity: 0; }
.mobile-trigger.active .burger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* Premium Color Palette & Variables */
:root {
  --bg-darker: #020408;
  --bg-dark: #050810;
  --bg-panel: rgba(10, 15, 26, 0.45);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-glow: rgba(6, 182, 212, 0.4);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-light: rgba(255, 255, 255, 0.15);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Universal Box Sizing Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  width: 100%;
  overflow-x: hidden !important;
  position: relative;
  margin: 0;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}

.global-page-wrapper {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
  position: relative;
  min-height: 100vh;
}

body {
  background-color: var(--bg-darker);
  background-image: 
    linear-gradient(rgba(5, 8, 16, 0.55), rgba(5, 8, 16, 0.65)),
    url('back ground image.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
}

/* Premium Hero Section */
.hero {
  position: relative;
  padding: 10rem 0 8rem;
  overflow: hidden;
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
  animation: pulse-glow 10s infinite alternate;
}

@keyframes pulse-glow {
  0% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1.2); }
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem;
  font-weight: 500;
}

/* Animated Glass Cards */
.glass-card {
  background: var(--bg-panel);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 1.5rem;
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--accent-cyan);
  background: rgba(10, 15, 26, 0.85);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(6, 182, 212, 0.1);
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Premium Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-glow {
    text-shadow: 0 0 15px var(--accent-glow);
}

.bg-glow-right {
    position: absolute;
    right: -10%;
    top: 20%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.bg-glow-left {
    position: absolute;
    left: -10%;
    bottom: 20%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.section {
    padding: 8rem 0;
}

.section-darker {
    background-color: var(--bg-darker);
}

.section-dark {
    background-color: var(--bg-dark);
}

/* Success Modal Redesign */
.success-submission-modal {
    max-width: 450px !important;
    padding: 4rem 2.5rem 3rem !important;
}

.success-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--success-green);
}

.success-icon-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid var(--success-green);
    border-radius: 50%;
    opacity: 0.2;
    animation: success-ring-pulse 2s infinite;
}

@keyframes success-ring-pulse {
    0% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.2); opacity: 0.1; }
    100% { transform: scale(1); opacity: 0.2; }
}

/* Floating Admin Button Polish */
#floatingAdminBtn {
    z-index: 1000 !important; /* Ensure it stays above most things but maybe below modals if needed */
}

/* === MAIN STYLESHEET (Dark Mode & Glassmorphism) === */
:root {
  /* Core Dark Palette */
  --bg-darker: #050810;
  --bg-dark: #0a0f1d;
  --bg-panel: rgba(17, 24, 39, 0.45);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-glass-hover: rgba(255, 255, 255, 0.1);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #1e293b;
  
  /* Accents */
  --accent-blue: #3b82f6;
  --accent-cyan: #0bbed6;
  --accent-hover: #60a5fa;
  --success-green: #10b981;
  --danger-red: #ef4444;
  
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glass-light: rgba(255, 255, 255, 0.15);

  /* Typography */
  --font-primary: 'Inter', system-ui, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  /* Shadows & Glows */
  --glow-accent: 0 0 20px rgba(59, 130, 246, 0.4);
  --glow-accent-strong: 0 0 30px rgba(11, 190, 214, 0.6);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
  --shadow-drop: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-primary);
  color: var(--text-main);
  background-color: var(--bg-darker);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
}

/* ==== MEDICAL/PEPTIDE CINEMATIC BACKGROUND SYSTEM ==== */
.cinematic-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Layer 1: Medical Laboratory Environment */
.cinematic-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(11, 190, 214, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(5, 8, 16, 0.9) 0%, transparent 70%),
    linear-gradient(135deg, #050810 0%, #0a0f1a 40%, #050810 100%);
  animation: laboratoryPulse 25s ease-in-out infinite;
}

@keyframes laboratoryPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

/* Layer 2: DNA/Molecular Helix Structure */
.molecular-helix {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20% 20%, rgba(11, 190, 214, 0.15) 0%, transparent 3px),
    radial-gradient(2px 2px at 40% 30%, rgba(6, 182, 212, 0.1) 0%, transparent 3px),
    radial-gradient(2px 2px at 60% 40%, rgba(11, 190, 214, 0.15) 0%, transparent 3px),
    radial-gradient(2px 2px at 80% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 3px),
    radial-gradient(2px 2px at 30% 60%, rgba(11, 190, 214, 0.15) 0%, transparent 3px),
    radial-gradient(2px 2px at 50% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 3px),
    radial-gradient(2px 2px at 70% 80%, rgba(11, 190, 214, 0.15) 0%, transparent 3px),
    radial-gradient(2px 2px at 25% 85%, rgba(6, 182, 212, 0.1) 0%, transparent 3px);
  background-size: 180px 180px;
  /* Removed helixRotation animation for performance */
}

@keyframes helixRotation {
  0% { transform: rotate(0deg) translateY(0); }
  100% { transform: rotate(360deg) translateY(-20px); }
}

/* Layer 3: Peptide Chain Structure */
.peptide-chains {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(45deg, transparent 48%, rgba(11, 190, 214, 0.1) 49%, rgba(11, 190, 214, 0.1) 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(6, 182, 212, 0.08) 49%, rgba(6, 182, 212, 0.08) 51%, transparent 52%),
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.05) 49%, rgba(255, 255, 255, 0.05) 51%, transparent 52%);
  background-size: 120px 120px, 150px 150px, 100px 100px;
  animation: peptideFlow 45s ease-in-out infinite;
}

@keyframes peptideFlow {
  0%, 100% { opacity: 0.3; transform: translateX(0) translateY(0); }
  25% { opacity: 0.6; transform: translateX(30px) translateY(-20px); }
  50% { opacity: 0.8; transform: translateX(-20px) translateY(30px); }
  75% { opacity: 0.5; transform: translateX(-30px) translateY(-10px); }
}

/* Layer 4: Medical Grid/Blueprint */
.medical-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(0deg, transparent 24%, rgba(11, 190, 214, 0.03) 25%, rgba(11, 190, 214, 0.03) 26%, transparent 27%, transparent 74%, rgba(11, 190, 214, 0.03) 75%, rgba(11, 190, 214, 0.03) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, rgba(6, 182, 212, 0.02) 25%, rgba(6, 182, 212, 0.02) 26%, transparent 27%, transparent 74%, rgba(6, 182, 212, 0.02) 75%, rgba(6, 182, 212, 0.02) 76%, transparent 77%, transparent);
  background-size: 80px 80px, 80px 80px;
  /* static medical grid */
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.5; }
}

/* Layer 5: Cellular/Medical Particles */
.cellular-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(3px 3px at 25% 25%, rgba(11, 190, 214, 0.4) 0%, transparent 40%),
    radial-gradient(2px 2px at 75% 75%, rgba(6, 182, 212, 0.3) 0%, transparent 30%),
    radial-gradient(4px 4px at 50% 10%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
    radial-gradient(2px 2px at 10% 90%, rgba(11, 190, 214, 0.3) 0%, transparent 30%),
    radial-gradient(3px 3px at 90% 50%, rgba(6, 182, 212, 0.4) 0%, transparent 40%);
  background-size: 200px 200px, 180px 180px, 220px 220px, 160px 160px, 240px 240px;
  /* static cellular particles */
}

@keyframes cellularDrift {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-50px, -30px) rotate(180deg); }
}

/* Layer 6: Medical Laboratory Light Beams */
.laboratory-beams {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(11, 190, 214, 0.02) 50%, transparent 70%),
    linear-gradient(-45deg, transparent 40%, rgba(6, 182, 212, 0.015) 60%, transparent 80%),
    linear-gradient(90deg, transparent 45%, rgba(255, 255, 255, 0.008) 55%, transparent 65%);
  animation: laboratoryScan 35s ease-in-out infinite;
}

@keyframes laboratoryScan {
  0%, 100% { opacity: 0.3; transform: translateX(-80px) translateY(-40px); }
  50% { opacity: 0.7; transform: translateX(80px) translateY(40px); }
}

/* Layer 7: DNA Strand Animation */
.dna-strand {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(1px 1px at 20% 20%, rgba(11, 190, 214, 0.6) 0%, transparent 2px),
    radial-gradient(1px 1px at 30% 25%, rgba(6, 182, 212, 0.5) 0%, transparent 2px),
    radial-gradient(1px 1px at 40% 30%, rgba(11, 190, 214, 0.6) 0%, transparent 2px),
    radial-gradient(1px 1px at 50% 35%, rgba(6, 182, 212, 0.5) 0%, transparent 2px),
    radial-gradient(1px 1px at 60% 40%, rgba(11, 190, 214, 0.6) 0%, transparent 2px),
    radial-gradient(1px 1px at 70% 45%, rgba(6, 182, 212, 0.5) 0%, transparent 2px),
    radial-gradient(1px 1px at 80% 50%, rgba(11, 190, 214, 0.6) 0%, transparent 2px);
  background-size: 100px 100px;
  /* static dna strand */
}

@keyframes dnaRotation {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

/* Layer 8: Medical/Clinical Glow */
.medical-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(11, 190, 214, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 70% 80%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.015) 0%, transparent 70%);
  animation: clinicalBreath 20s ease-in-out infinite;
}

@keyframes clinicalBreath {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.15); }
}

/* Medical Floating Elements */
.medical-floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.medical-element {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.3px);
}

/* Peptide Molecule Icons */
.medical-element.peptide-molecule {
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(11, 190, 214, 0.9) 0%, transparent 70%);
  box-shadow: 0 0 10px rgba(11, 190, 214, 0.5);
}

.medical-element.peptide-molecule:nth-child(1) { top: 15%; left: 20%; animation: medicalFloat1 25s ease-in-out infinite; }
.medical-element.peptide-molecule:nth-child(2) { top: 65%; left: 75%; animation: medicalFloat2 30s ease-in-out infinite; }
.medical-element.peptide-molecule:nth-child(3) { top: 35%; left: 45%; animation: medicalFloat3 28s ease-in-out infinite; }
.medical-element.peptide-molecule:nth-child(4) { top: 85%; left: 25%; animation: medicalFloat4 32s ease-in-out infinite; }
.medical-element.peptide-molecule:nth-child(5) { top: 5%; left: 85%; animation: medicalFloat5 27s ease-in-out infinite; }

@keyframes medicalFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  50% { transform: translate(40px, -25px) scale(1.3); opacity: 0.9; }
}

@keyframes medicalFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate(-35px, 35px) scale(1.2); opacity: 1; }
}

@keyframes medicalFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  50% { transform: translate(25px, 40px) scale(1.1); opacity: 0.8; }
}

@keyframes medicalFloat4 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  50% { transform: translate(-45px, -15px) scale(1.4); opacity: 0.9; }
}

@keyframes medicalFloat5 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate(35px, 25px) scale(1.2); opacity: 1; }
}

/* DNA Helix Elements */
.medical-element.dna-helix {
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.8) 0%, transparent 70%);
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
}

.medical-element.dna-helix:nth-child(6) { top: 25%; left: 10%; animation: helixFloat1 35s ease-in-out infinite; }
.medical-element.dna-helix:nth-child(7) { top: 55%; left: 90%; animation: helixFloat2 40s ease-in-out infinite; }
.medical-element.dna-helix:nth-child(8) { top: 75%; left: 55%; animation: helixFloat3 38s ease-in-out infinite; }

@keyframes helixFloat1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.3; }
  50% { transform: translate(30px, -20px) rotate(180deg) scale(1.2); opacity: 0.8; }
}

@keyframes helixFloat2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.4; }
  50% { transform: translate(-25px, 30px) rotate(-180deg) scale(1.3); opacity: 0.9; }
}

@keyframes helixFloat3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.5; }
  50% { transform: translate(20px, 35px) rotate(180deg) scale(1.1); opacity: 0.7; }
}

/* Luxury Calculator Grid */
.calculator-luxury-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Luxury Info Section */
.calc-luxury-info {
    position: relative;
}

.luxury-header-container {
    text-align: center;
    margin-bottom: 3rem;
}

.luxury-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(11, 190, 214, 0.15) 0%, rgba(6, 182, 212, 0.08) 100%);
    border: 2px solid rgba(11, 190, 214, 0.3);
    border-radius: 3rem;
    padding: 2rem 3rem;
    backdrop-filter: blur(30px) saturate(150%);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(11, 190, 214, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 4px rgba(255, 255, 255, 0.05);
}

.luxury-badge-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: luxuryScan 4s ease-in-out infinite;
}

@keyframes luxuryScan {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.badge-icon-luxury {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 12px 40px rgba(11, 190, 214, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.badge-icon-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: iconGlow 3s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.badge-text-luxury {
    text-align: left;
}

.badge-title-luxury {
    display: block;
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(11, 190, 214, 0.3);
}

.badge-subtitle-luxury {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.luxury-title-main {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.title-luxury-main {
    display: block;
    color: white;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.title-luxury-accent {
    display: block;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 50%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(11, 190, 214, 0.6));
    animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(11, 190, 214, 0.6)); }
    50% { filter: drop-shadow(0 0 40px rgba(11, 190, 214, 0.8)); }
}

.luxury-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: center;
    font-weight: 400;
}

/* Luxury Features Grid */
.luxury-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.luxury-feature-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.15) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.luxury-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(11, 190, 214, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.luxury-feature-item:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: var(--accent-cyan);
    box-shadow: 
        0 25px 80px rgba(11, 190, 214, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, rgba(11, 190, 214, 0.08) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.luxury-feature-item:hover::before {
    opacity: 1;
    animation: featureGlow 2s ease-in-out infinite;
}

@keyframes featureGlow {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.feature-icon-luxury {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 30px rgba(11, 190, 214, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.5s ease;
}

.icon-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.luxury-feature-item:hover .feature-icon-luxury {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 
        0 15px 50px rgba(11, 190, 214, 0.5),
        inset 0 0 25px rgba(255, 255, 255, 0.3);
}

.feature-text-luxury h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    transition: all 0.5s ease;
}

.feature-text-luxury p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    transition: all 0.5s ease;
}

.luxury-feature-item:hover .feature-text-luxury h4 {
    color: var(--accent-cyan);
    transform: translateX(8px);
}

.luxury-feature-item:hover .feature-text-luxury p {
    color: rgba(255, 255, 255, 0.95);
}

/* Luxury Calculator Card */
.calc-luxury-card {
    position: relative;
}

.calculator-luxury-premium {
    background: linear-gradient(145deg, rgba(5, 8, 16, 0.9) 0%, rgba(10, 15, 26, 0.95) 100%);
    border: 2px solid rgba(11, 190, 214, 0.2);
    border-radius: 3rem;
    padding: 3rem;
    backdrop-filter: blur(40px) saturate(180%);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.5),
        inset 0 0 0 4px rgba(255, 255, 255, 0.1),
        0 0 0 8px rgba(11, 190, 214, 0.1);
}

.calculator-luxury-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(11, 190, 214, 0.05) 50%, transparent 70%);
    animation: premiumShimmer 6s ease-in-out infinite;
}

.luxury-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.luxury-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(11, 190, 214, 0.1), transparent);
    animation: headerScan 5s ease-in-out infinite;
}

.status-luxury {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-dot-luxury {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--success-green);
    position: relative;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.8);
    animation: statusPulseLuxury 2.5s ease-in-out infinite;
}

@keyframes statusPulseLuxury {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.8);
        transform: scale(1);
    }
    50% { 
        opacity: 0.7; 
        box-shadow: 0 0 0 12px rgba(34, 197, 94, 0.6);
        transform: scale(1.2);
    }
}

.status-text-luxury {
    font-size: 1rem;
    color: var(--success-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.accuracy-luxury {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.accuracy-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(11, 190, 214, 0.4);
}

.accuracy-luxury span {
    font-size: 0.875rem;
    color: var(--accent-cyan);
    font-weight: 600;
    text-shadow: 0 0 8px rgba(11, 190, 214, 0.3);
}

/* Luxury Form */
.luxury-form-container {
    margin-top: 2rem;
}

.luxury-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.luxury-input-group {
    position: relative;
}

.luxury-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.luxury-select-wrapper {
    position: relative;
}

.luxury-select, .luxury-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    color: white;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.4s ease;
}

.luxury-select:focus, .luxury-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 
        0 0 0 8px rgba(11, 190, 214, 0.2),
        inset 0 0 0 4px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.luxury-calculate-btn {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    border: none;
    border-radius: 1.5rem;
    padding: 1.25rem 2rem;
    color: var(--bg-darker);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 
        0 8px 30px rgba(11, 190, 214, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
}

.luxury-calculate-btn:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 50px rgba(11, 190, 214, 0.4),
        inset 0 0 25px rgba(255, 255, 255, 0.2);
}

/* Luxury Results */
.luxury-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-item-luxury {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(11, 190, 214, 0.05) 0%, rgba(0, 0, 0, 0.1) 100%);
    border-radius: 1rem;
    border: 1px solid rgba(11, 190, 214, 0.2);
}

.result-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.result-value-luxury {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-cyan);
    text-shadow: 0 0 15px rgba(11, 190, 214, 0.5);
    font-family: 'Courier New', monospace;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    border: 1px solid rgba(11, 190, 214, 0.3);
}

/* Elegant Feature Items */
.highlight-item-elegant {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.15) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.highlight-item-elegant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(11, 190, 214, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.highlight-item-elegant:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-cyan);
    box-shadow: 
        0 20px 60px rgba(11, 190, 214, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
    background: linear-gradient(145deg, rgba(11, 190, 214, 0.08) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.highlight-item-elegant:hover::before {
    opacity: 1;
    animation: featureGlow 2s ease-in-out infinite;
}

.highlight-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 30px rgba(11, 190, 214, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.5s ease;
    flex-shrink: 0;
}

.highlight-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 1.5rem;
    animation: iconGlow 3s ease-in-out infinite;
}

.highlight-item-elegant:hover .highlight-icon-wrapper {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 
        0 15px 50px rgba(11, 190, 214, 0.5),
        inset 0 0 25px rgba(255, 255, 255, 0.3);
}

.highlight-icon {
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.highlight-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.highlight-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0;
    transition: all 0.5s ease;
    line-height: 1.3;
}

.highlight-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0;
    transition: all 0.5s ease;
}

.highlight-item-elegant:hover .highlight-content h4 {
    color: var(--accent-cyan);
    transform: translateX(8px);
}

.highlight-item-elegant:hover .highlight-content p {
    color: rgba(255, 255, 255, 0.95);
}

/* Enhanced Calculator Interface */
.calc-instructions {
    background: linear-gradient(135deg, rgba(11, 190, 214, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid rgba(11, 190, 214, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    border-left: 4px solid var(--accent-cyan);
}

.instruction-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.instruction-text i {
    color: var(--accent-cyan);
    font-size: 1.1rem;
}

.input-label-enhanced {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.input-label-enhanced i {
    color: var(--accent-cyan);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.input-label-enhanced span:first-of-type {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.input-hint {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.sync-btn-enhanced {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    border: none;
    border-radius: 1rem;
    padding: 1rem 2rem;
    color: var(--bg-darker);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 
        0 8px 30px rgba(11, 190, 214, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
}

.sync-btn-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 50px rgba(11, 190, 214, 0.4),
        inset 0 0 25px rgba(255, 255, 255, 0.2);
}

/* Enhanced Result Display */
.calc-result-enhanced {
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 1.5rem;
    padding: 2rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.calc-result-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.2), transparent);
    animation: resultScan 4s ease-in-out infinite;
}

@keyframes resultScan {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.result-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--success-green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-header i {
    font-size: 1.2rem;
}

.result-content {
    display: flex;
    justify-content: center;
}

.result-item {
    text-align: center;
}

.result-item .result-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.result-item .result-value {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-cyan);
    text-shadow: 0 0 20px rgba(11, 190, 214, 0.5);
    font-family: 'Courier New', monospace;
    line-height: 1;
    margin-bottom: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.75rem;
    border: 1px solid rgba(11, 190, 214, 0.3);
}

.result-description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* Responsive Elegant Features */
@media (max-width: 768px) {
    .highlight-item-elegant {
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .highlight-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .highlight-icon {
        font-size: 1.25rem;
    }
    
    .highlight-content h4 {
        font-size: 1.1rem;
    }
    
    .highlight-content p {
        font-size: 0.85rem;
    }
    
    .result-item .result-value {
        font-size: 2.5rem;
    }
}

/* Luxury Rating Badge */
.luxury-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(11, 190, 214, 0.15) 0%, rgba(6, 182, 212, 0.08) 100%);
    border: 2px solid rgba(11, 190, 214, 0.3);
    border-radius: 3rem;
    padding: 2rem 3rem;
    backdrop-filter: blur(30px) saturate(150%);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 
        0 15px 50px rgba(11, 190, 214, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 4px rgba(255, 255, 255, 0.05);
}

.luxury-rating-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: ratingShimmer 4s ease-in-out infinite;
}

@keyframes ratingShimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.luxury-rating-badge:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--accent-cyan);
    box-shadow: 
        0 25px 80px rgba(11, 190, 214, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 8px rgba(255, 255, 255, 0.1);
}

.rating-stars-luxury {
    display: flex;
    gap: 0.5rem;
    position: relative;
}

.star-luxury {
    width: 30px;
    height: 30px;
    position: relative;
    transition: all 0.4s ease;
}

.star-luxury::before {
    content: '★';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.star-luxury.filled::before {
    color: #ffd700;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        0 0 0 4px rgba(255, 215, 0, 0.4);
    animation: starGlow 2s ease-in-out infinite;
}

.star-luxury.half-filled::before {
    background: linear-gradient(90deg, #ffd700 50%, rgba(255, 255, 255, 0.1) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

@keyframes starGlow {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 30px rgba(255, 215, 0, 1);
        transform: scale(1.1);
    }
}

.luxury-rating-badge:hover .star-luxury {
    transform: rotate(360deg) scale(1.2);
}

.rating-info-luxury {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rating-score {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-cyan);
    text-shadow: 0 0 15px rgba(11, 190, 214, 0.5);
    font-family: 'Arial Black', sans-serif;
    line-height: 1;
}

.rating-out-of {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0.25rem;
}

.rating-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive Rating Badge */
@media (max-width: 768px) {
    .luxury-rating-badge {
        padding: 1.5rem 2rem;
        gap: 1.5rem;
    }
    
    .rating-stars-luxury {
        gap: 0.25rem;
    }
    
    .star-luxury {
        width: 24px;
        height: 24px;
    }
    
    .star-luxury::before {
        font-size: 1.5rem;
    }
    
    .rating-score {
        font-size: 2rem;
    }
    
    .rating-out-of {
        font-size: 1.25rem;
    }
    
    .rating-description {
        font-size: 0.75rem;
    }
}

/* Performance Optimization for Medical Theme */
@media (prefers-reduced-motion: reduce) {
  .cinematic-bg::before,
  .molecular-helix,
  .peptide-chains,
  .medical-grid,
  .cellular-particles,
  .laboratory-beams,
  .dna-strand,
  .medical-glow,
  .medical-element {
    animation: none;
  }
}

/* Enhanced Glass Effects for Cinematic Background */
.glass-panel {
  background: rgba(5, 8, 16, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  animation: glassShimmer 8s ease-in-out infinite;
}

@keyframes glassShimmer {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

.glass-panel-darker {
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid rgba(11, 190, 214, 0.2);
  box-shadow: 
    0 16px 64px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(11, 190, 214, 0.1);
}

/* Majestic Glow Effects */
.majestic-glow {
  position: relative;
}

.majestic-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(11, 190, 214, 0.1) 0%, transparent 70%);
  animation: majesticPulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes majesticPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

/* Aurora Effect */
.aurora-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(11, 190, 214, 0.03) 50%, transparent 70%),
    linear-gradient(-45deg, transparent 40%, rgba(6, 182, 212, 0.02) 60%, transparent 80%),
    linear-gradient(90deg, transparent 45%, rgba(255, 255, 255, 0.01) 55%, transparent 65%);
  animation: auroraDance 25s ease-in-out infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}

@keyframes auroraDance {
  0%, 100% { 
    opacity: 0.2; 
    transform: translateX(-100px) translateY(-50px) rotate(0deg); 
  }
  25% { 
    opacity: 0.4; 
    transform: translateX(50px) translateY(-30px) rotate(90deg); 
  }
  50% { 
    opacity: 0.6; 
    transform: translateX(100px) translateY(50px) rotate(180deg); 
  }
  75% { 
    opacity: 0.4; 
    transform: translateX(-30px) translateY(30px) rotate(270deg); 
  }
}

/* Responsive Medical Background */
@media (max-width: 768px) {
  .molecular-helix {
    animation-duration: 90s;
  }
  
  .peptide-chains {
    animation-duration: 60s;
  }
  
  .dna-strand {
    animation-duration: 180s;
  }
  
  .medical-element.peptide-molecule {
    width: 4px;
    height: 4px;
  }
  
  .medical-element.dna-helix {
    width: 3px;
    height: 3px;
  }
}

/* Performance Optimization */
@media (prefers-reduced-motion: reduce) {
  .cinematic-bg::before,
  .molecular-helix,
  .peptide-chains,
  .medical-grid,
  .cellular-particles,
  .laboratory-beams,
  .dna-strand,
  .medical-glow,
  .medical-element,
  .glass-panel::before,
  .majestic-glow::before,
  .aurora-effect {
    animation: none;
  }
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.relative { position: relative; }
.z-10 { position: relative; z-index: 10; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; flex-direction: column; }
.w-full { width: 100%; }
.m-0 { margin: 0; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.p-6 { padding: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.gap-4 { gap: 1rem; }
.mr-2 { margin-right: 0.5rem; }
.max-w-2xl { max-width: 42rem; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.125rem; }
p { margin-bottom: 1rem; }

.text-muted { color: var(--text-muted); }
.text-danger { color: var(--danger-red); }
.text-white { color: white; }
.text-accent { color: var(--accent-cyan); }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-right { text-align: right; }
.hover-text-white { transition: color var(--transition-fast); }
.hover-text-white:hover { color: white; }

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-accent {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-glow {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(11, 190, 214, 0.4);
}

/* Layout */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; position: relative; }
.section-dark { background-color: var(--bg-dark); }
.section-darker { background-color: var(--bg-darker); }

/* Glassmorphism */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  border-radius: 1rem;
  box-shadow: var(--shadow-glass);
  transform: translateZ(0); /* Hardware acceleration */
}
.glass-panel-darker {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass-light);
  border-radius: 0.75rem;
  transform: translateZ(0);
}
.border-top-glass { border-top: 1px solid var(--border-glass); }

/* Professional Enhanced Buttons */
.btn {
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  padding: 1rem 2.5rem; 
  font-weight: 700; 
  font-size: 0.95rem;
  border-radius: 1.25rem;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); 
  cursor: pointer; 
  border: none;
  font-family: 'Inter', sans-serif; 
  text-align: center; 
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  overflow: hidden;
  gap: 0.75rem;
  min-height: 48px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-lg { 
  padding: 1.25rem 3rem; 
  font-size: 1.1rem; 
  border-radius: 1.5rem;
  min-height: 56px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  color: var(--bg-darker); 
  border: 2px solid transparent;
  box-shadow: 
    0 8px 30px rgba(11, 190, 214, 0.4),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 15px 50px rgba(11, 190, 214, 0.5),
    inset 0 0 30px rgba(255, 255, 255, 0.2);
}

.btn-primary:active {
  transform: translateY(-2px) scale(1.01);
}

.btn-outline {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.1) 100%);
  color: var(--accent-cyan);
  border: 2px solid var(--accent-cyan);
  box-shadow: 
    0 8px 30px rgba(11, 190, 214, 0.2),
    inset 0 0 15px rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
  transform: translateY(-4px) scale(1.02);
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  color: var(--bg-darker);
  border-color: transparent;
  box-shadow: 
    0 15px 50px rgba(11, 190, 214, 0.4),
    inset 0 0 25px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.15) 100%);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.3),
    inset 0 0 15px rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
  transform: translateY(-4px) scale(1.02);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(0, 0, 0, 0.2) 100%);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.4),
    inset 0 0 25px rgba(255, 255, 255, 0.1);
}

/* Professional Glow Effects */
.glow-btn {
    position: relative;
}

.glow-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.glow-btn:hover::after {
    width: 300px;
    height: 300px;
}

.glow-btn-outline {
    position: relative;
}

.glow-btn-outline::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-blue), var(--accent-cyan));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderRotate 3s linear infinite;
}

.glow-btn-outline:hover::before {
    opacity: 1;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Focus States */
.btn:focus {
    outline: none;
    box-shadow: 
        0 0 0 4px rgba(11, 190, 214, 0.3),
        0 8px 30px rgba(11, 190, 214, 0.4);
}

.btn-primary:focus {
    box-shadow: 
        0 0 0 4px rgba(11, 190, 214, 0.3),
        0 15px 50px rgba(11, 190, 214, 0.5);
}

.btn-outline:focus {
    box-shadow: 
        0 0 0 4px rgba(11, 190, 214, 0.3),
        0 15px 50px rgba(11, 190, 214, 0.4);
}

.btn-icon { 
    margin-right: 0.5rem; 
}

.glow-btn-outline {
    border-color: rgba(11, 190, 214, 0.5);
    color: var(--accent-cyan);
}

/* ==== MASTER NAV BAR: Scientific Precision 100/100 ==== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(5, 8, 16, 0.9) 0%, rgba(10, 15, 26, 0.8) 100%);
  backdrop-filter: blur(25px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
  background: linear-gradient(135deg, rgba(2, 4, 8, 0.98) 0%, rgba(5, 10, 20, 0.95) 100%);
  border-bottom-color: var(--accent-cyan);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(11, 190, 214, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 0 1rem;
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
}

.header.scrolled .nav-container { 
  height: 70px; 
  padding: 0 1rem;
}

/* Left: Logo Section */
.header-left { 
  flex: 0 0 200px; 
  min-width: 200px;
}

/* Center: Navigation Links */
.header-center { 
  flex: 1; 
  display: flex; 
  justify-content: center;
  max-width: 600px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  position: relative;
}

/* Right: Interaction Hub */
.header-right { 
  flex: 0 0 auto; 
  min-width: 280px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.interaction-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  justify-content: flex-end;
}

.integrated-search {
  position: relative;
  width: 160px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.integrated-search:focus-within {
  width: 180px;
}

.utility-actions { 
  display: flex; 
  align-items: center; 
  gap: 0.5rem;
}

.utility-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 0.75rem;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  border-radius: 6px;
}

.nav-link:hover, .nav-link.active { 
  color: #fff;
  transform: translateY(-1px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after { 
  width: 80%; 
}

/* Responsive visibility classes */
.hide-mobile { display: block; }
.hide-tablet { display: block; }
.hide-desktop { display: none; }

@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .hide-tablet { display: none !important; }
  .hide-desktop { display: block !important; }
  
  .header-center {
    display: none !important;
  }
  
  .header-right {
    flex: 1;
    justify-content: space-between;
  }
  
  .integrated-search {
    width: 140px;
  }
  
  .nav-container {
    padding: 0 0.5rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hide-mobile { display: block !important; }
  .hide-tablet { display: none !important; }
  .hide-desktop { display: none !important; }
  
  .header-center {
    display: none !important;
  }
  
  .nav-links {
    gap: 1rem;
  }
}

@media (min-width: 1025px) {
  .hide-mobile { display: block !important; }
  .hide-tablet { display: block !important; }
  .hide-desktop { display: none !important; }
  
  .header-center {
    display: flex !important;
  }
}

/* Logo styles */
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo-icon-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

.logo:hover .logo-icon-wrapper {
  transform: rotate(5deg) scale(1.05);
}

.logo-img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.logo:hover .logo-img {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(11, 190, 214, 0.3);
}

.logo-glow {
  position: absolute;
  inset: -3px;
  background: var(--accent-cyan);
  filter: blur(12px);
  opacity: 0.2;
  border-radius: 50%;
  z-index: 1;
  transition: all 0.3s ease;
}

.logo:hover .logo-glow {
  opacity: 0.4;
  transform: scale(1.1);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #fff;
  transition: all 0.3s ease;
}

.logo:hover .logo-text {
  color: var(--accent-cyan);
  text-shadow: 0 0 15px rgba(11, 190, 214, 0.5);
}

/* Dropdown styles */
.nav-item-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 280px;
  background: linear-gradient(135deg, rgba(10, 15, 26, 0.98) 0%, rgba(5, 10, 20, 0.95) 100%);
  backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.dropdown-item:hover { 
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transform: translateX(3px);
}

.item-icon {
  width: 36px;
  height: 36px;
  background: rgba(11, 190, 214, 0.1);
  border: 1px solid rgba(11, 190, 214, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.dropdown-item:hover .item-icon {
  background: rgba(11, 190, 214, 0.2);
  border-color: var(--accent-cyan);
  transform: scale(1.05);
}

.item-text .title { 
  display: block; 
  color: #fff; 
  font-weight: 700; 
  font-size: 0.9rem;
}

.item-text .sub { 
  display: block; 
  color: var(--text-muted); 
  font-size: 0.7rem; 
  font-weight: 600; 
  margin-top: 2px;
}

/* Search and utility styles */
.search-field {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.search-field:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.08);
}

.search-icon {
  position: absolute;
  left: 0.8rem;
  color: var(--accent-cyan);
  font-size: 0.8rem;
  pointer-events: none;
}

.utility-btn:hover {
  background: rgba(11, 190, 214, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-cyan);
  color: #000;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(5, 8, 16, 0.9);
}

/* Language selector */
.lang-current {
  font-size: 0.65rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.8);
}

.lang-portal {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: rgba(10, 15, 26, 0.98);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.lang-portal.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.8rem;
}

.lang-option:hover {
  background: rgba(11, 190, 214, 0.1);
  border-color: rgba(11, 190, 214, 0.3);
  color: #fff;
}

.lang-option.active {
  background: rgba(11, 190, 214, 0.2);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.flag-icon {
  font-size: 1rem;
}

.action-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
}

/* Portal Button: High End */
.portal-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  border: none;
  border-radius: 12px;
  color: #000;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.portal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
  filter: brightness(1.1);
}

/* Mobile Trigger: Custom Burger */
.mobile-trigger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.burger-line {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 99px;
  transition: all 0.3s ease;
}

.mobile-trigger:hover .burger-line { background: var(--accent-cyan); }

/* Responsive Breaks */
@media (max-width: 1200px) {
  .nav-links { gap: 1.5rem; }
  .header-left { flex: 0 0 200px; }
  .integrated-search { width: 180px; }
}

/* Mobile Sidebar Redesign */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: rgba(5, 8, 16, 0.98);
    backdrop-filter: blur(30px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    right: 0;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
}

.mobile-sidebar-header {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-sidebar-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.mobile-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    transform: translateX(5px);
}

.mobile-sidebar-footer {
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}


@media (max-width: 1024px) {
  .header-center { display: none; }
  .mobile-trigger { display: flex; }
  .header-left { flex: 1; }
  .interaction-group { gap: 1rem; }
  .integrated-search { width: 44px; overflow: hidden; transition: width 0.4s ease; }
  .integrated-search:focus-within { width: 200px; }
  .action-divider { display: none; }
}

@media (max-width: 640px) {
  .logo-text { display: none; }
  .hide-mobile { display: none !important; }
}

/* Responsiveness Refinements */
@media (max-width: 1200px) {
  .nav-links { gap: 1.5rem; }
}

@media (max-width: 1024px) {
  .nav-links { display: none !important; }
  .mobile-menu-btn { display: flex; }
  .nav-container { height: 80px; }
  .logo-text { font-size: 1.25rem; }
  .search-wrapper { display: none; }
  .nav-actions { gap: 0.5rem; }
}

@media (max-width: 640px) {
  .logo-text { display: none; } /* Hide text on very small phones to save space */
  .logo-img { width: 40px; height: 40px; }
  .nav-container { height: 70px; }
  .icon-btn { width: 40px; height: 40px; font-size: 1rem; }
}

@media (max-width: 480px) {
  .mobile-sidebar { width: 100%; }
  .nav-actions .auth-box { display: none; } /* Use sidebar for auth on mobile */
}


/* ==== MARQUEE TICKER ==== */
/* ==== MARQUEE TICKER ==== */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, var(--bg-darker) 80%, var(--accent-cyan) 100%);
  border-bottom: 1px solid var(--border-glass-light);
  padding: 0.75rem 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  white-space: nowrap;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
}
.ticker-mover {
  display: flex;
  white-space: nowrap;
  animation: ticker-loop 40s linear infinite;
  min-width: fit-content;
}
.ticker-mover:hover {
  animation-play-state: paused;
}
.ticker-content {
  display: flex;
  min-width: 100%;
  flex-shrink: 0;
  justify-content: flex-start;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-heading);
  position: relative;
  white-space: nowrap;
  transition: font-size 0.2s;
}
.ticker-item:not(:last-child)::after {
  content: "✦";
  position: absolute;
  right: -0.25rem;
  color: var(--text-muted);
  font-size: 0.7rem;
}
@keyframes ticker-loop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .ticker-item {
    font-size: 0.85rem;
    padding: 0 0.75rem;
  }
  .ticker-wrap {
    padding: 0.5rem 0;
  }
}

/* Hero */
.hero { padding: 9rem 0 7rem; text-align: center; overflow: hidden; background: radial-gradient(circle at center, rgba(11, 190, 214, 0.05) 0%, var(--bg-darker) 70%); }
.hero-bg-glow { position: absolute; top: -10%; left: 50%; transform: translateX(-50%); width: 800px; height: 600px; background: radial-gradient(circle, rgba(11,190,214,0.15) 0%, rgba(0,0,0,0) 60%); z-index: 0; pointer-events: none; }
.hero-content { max-width: 800px; margin: 0 auto; z-index: 10; position: relative; }
.badge-glow { display: inline-block; padding: 0.35rem 1.25rem; border-radius: 2rem; background: rgba(11, 190, 214, 0.1); border: 1px solid rgba(11, 190, 214, 0.3); color: var(--accent-cyan); font-weight: 600; font-size: 0.875rem; margin-bottom: 1.5rem; box-shadow: 0 0 15px rgba(11, 190, 214, 0.1); }
.hero-subtitle { font-size: 1.125rem; color: var(--text-muted); margin-top: 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.hero-actions { display: flex; justify-content: center; gap: 1rem; margin-top: 2.5rem; }

/* --- Scientific Trust Bar: Premium Mini Redesign --- */
.trust-bar-premium {
    padding: 3rem 0;
    background: #080c10;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    position: relative;
    z-index: 5;
}

.trust-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.trust-mini-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
}

.trust-mini-item i {
    font-size: 1.25rem;
    color: var(--accent-cyan);
    opacity: 0.8;
}

.trust-mini-item:hover {
    color: #fff;
    transform: translateY(-2px);
}

.trust-mini-item:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.trust-separator {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, var(--border-glass), transparent);
}

@media (max-width: 1024px) {
    .trust-flex {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .trust-separator {
        display: none;
    }
}

@media (max-width: 640px) {
    .trust-flex {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .trust-mini-item {
        justify-content: center;
    }
}

/* Products Grid */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2rem; margin-top: 3rem; }
.product-card { display: flex; flex-direction: column; height: 100%; transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal); overflow: hidden; background: linear-gradient(180deg, var(--bg-glass) 0%, rgba(0,0,0,0.2) 100%); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-drop), 0 0 20px rgba(11, 190, 214, 0.1); border-color: rgba(11, 190, 214, 0.4); }
.product-img-wrapper { position: relative; height: 260px; overflow: hidden; background: #fff; border-top-left-radius: 1rem; border-top-right-radius: 1rem; }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); will-change: transform; }
.product-card:hover .product-img { transform: scale(1.08); }
.product-badge { position: absolute; top: 1rem; right: 1rem; background: rgba(5,8,16,0.8); backdrop-filter: blur(8px); border: 1px solid var(--border-glass-light); color: white; padding: 0.35rem 0.75rem; border-radius: 0.35rem; font-size: 0.75rem; font-weight: 700; z-index: 2; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.product-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; border-top: 1px solid var(--border-glass); }
.product-category { color: var(--accent-cyan); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; font-weight: 700; }
.product-title { font-size: 1.5rem; margin-bottom: 0.75rem; }
.product-desc { flex-grow: 1; margin-bottom: 1.5rem; }
.product-meta { display: flex; justify-content: space-between; border-top: 1px solid var(--border-glass-light); border-bottom: 1px solid var(--border-glass-light); padding: 0.875rem 0; margin-bottom: 1.5rem; }
.meta-label { font-size: 0.75rem; color: var(--text-muted); display: block; margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.05em; }
.meta-value { font-weight: 600; font-size: 0.875rem; color: var(--text-main); }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: auto; }

/* Calculator */
.bg-glow-right { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 400px; height: 600px; background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(0,0,0,0) 70%); pointer-events: none; }
.calculator-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.calc-features { margin-top: 2rem; }
.calc-features li { margin-bottom: 1.25rem; display: flex; align-items: center; gap: 1rem; font-size: 1rem; }
.calculator-card { padding: 2.5rem; position: relative; overflow: hidden; background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.2) 100%); border: 1px solid rgba(255,255,255,0.1); }
.calculator-card::before { content: ''; position: absolute; top:0; left:0; right:0; height: 3px; background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-blue), transparent); }
.input-group label { display: block; margin-bottom: 0.5rem; font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }
.glass-input { width: 100%; padding: 0.875rem 1rem; background: rgba(0,0,0,0.4); border: 1px solid var(--border-glass-light); border-radius: 0.5rem; color: white; font-family: var(--font-primary); font-size: 1rem; transition: all var(--transition-fast); }
.glass-input:focus { outline: none; border-color: var(--accent-cyan); box-shadow: 0 0 0 3px rgba(11, 190, 214, 0.15); background: rgba(0,0,0,0.6); }
.glass-input option { background: var(--bg-dark); color: white; }
.input-with-unit { position: relative; }
.input-with-unit .unit { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.875rem; font-weight: 600; pointer-events: none; }
.calc-result { padding: 2rem; border-radius: 1rem; border: 1px solid rgba(11, 190, 214, 0.2); background: rgba(11, 190, 214, 0.05); }
.result-value { font-size: 3.5rem; font-weight: 800; line-height: 1; margin: 0.5rem 0; font-family: var(--font-heading); filter: drop-shadow(0 0 10px rgba(11,190,214,0.3)); display: flex; align-items: baseline; justify-content: center; gap: 0.5rem; }
.syringe-visual { width: 100%; height: 44px; background: rgba(0,0,0,0.5); border: 1px solid var(--border-glass-light); border-radius: 22px; position: relative; overflow: hidden; box-shadow: inset 0 2px 5px rgba(0,0,0,0.5); }
.syringe-liquid { position: absolute; left: 0; top: 0; height: 100%; background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan)); width: 0%; transition: width 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.3s ease; }
.syringe-marks { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: repeating-linear-gradient(90deg, transparent, transparent calc(5% - 1px), rgba(255,255,255,0.3) calc(5% - 1px), rgba(255,255,255,0.3) 5%); }

/* QA Section */
.bg-glow-left { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 400px; height: 600px; background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, rgba(0,0,0,0) 70%); pointer-events: none; }
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.qa-feature { padding: 1.5rem; display: flex; gap: 1.25rem; }
.qa-feature-icon { font-size: 1.5rem; color: var(--accent-cyan); width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: rgba(11,190,214,0.1); border-radius: 12px; flex-shrink: 0; border: 1px solid rgba(11, 190, 214, 0.2); }

/* Verify */
.verify-box { padding: 4rem 2rem; background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.3) 100%); }
.verify-input { padding: 1rem 1.5rem; font-size: 1.125rem; }
.verify-result { padding: 1.5rem; text-align: left; border-radius: 0.75rem; }

/* ==== PROFESSIONAL FOOTER REDESIGN ==== */
.footer {
  position: relative;
  background: linear-gradient(135deg, #05080a 0%, #0a0f1a 50%, #05080a 100%);
  border-top: 1px solid rgba(11, 190, 214, 0.1);
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  animation: footerGlow 3s ease-in-out infinite;
}

@keyframes footerGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.footer-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(11, 190, 214, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(11, 190, 214, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(11, 190, 214, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.alert-glass { 
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(239, 68, 68, 0.02)); 
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 3rem;
  display: flex; 
  flex-direction: column; 
  gap: 1rem;
  position: relative;
  backdrop-filter: blur(10px);
}

.alert-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), transparent);
  border-radius: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.alert-glass:hover::before {
  opacity: 1;
}

.disclaimer-title { 
  color: var(--danger-red); 
  font-weight: 700; 
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-grid { 
  display: grid; 
  grid-template-columns: 2fr 1fr 1fr 1.5fr; 
  gap: 4rem; 
  position: relative;
  z-index: 2;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 400px;
}

.footer-section h4 {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent-cyan);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(5px);
}

.footer-links a:hover::before {
  opacity: 1;
  left: -12px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.contact-item:hover {
  color: var(--accent-cyan);
  transform: translateX(5px);
}

.contact-item i {
  width: 20px;
  text-align: center;
  color: var(--accent-cyan);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(11, 190, 214, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(11, 190, 214, 0.2);
}

.newsletter-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(11, 190, 214, 0.05), rgba(11, 190, 214, 0.02));
  border: 1px solid rgba(11, 190, 214, 0.1);
  border-radius: 1rem;
}

.newsletter-title {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-btn {
  background: linear-gradient(135deg, var(--accent-cyan), #0bbed6);
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11, 190, 214, 0.3);
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  position: relative;
  z-index: 2;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--accent-cyan);
}

.payment-methods {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.payment-icon {
  width: 32px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-cyan), #0bbed6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1000;
  box-shadow: 0 8px 25px rgba(11, 190, 214, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(11, 190, 214, 0.4);
}

.hover-glow { 
  transition: all var(--transition-fast); 
}

.hover-glow:hover { 
  color: var(--accent-cyan); 
  text-shadow: 0 0 10px rgba(11, 190, 214, 0.5); 
  cursor: pointer; 
  transform: translateY(-2px); 
}

/* ==== GOOGLE TRANSLATE STYLES OVERRIDE ==== */
.ml-4 { margin-left: 1rem; }
.lang-btn { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; cursor: pointer; border: 1px solid var(--border-glass-light); color: var(--text-main); background: rgba(0,0,0,0.4); border-radius: 0.5rem; transition: background var(--transition-fast); }
.lang-btn:hover { background: rgba(255,255,255,0.05); }
.goog-te-gadget { font-family: var(--font-primary) !important; color: transparent !important; }
.goog-te-combo { background: rgba(0,0,0,0.4) !important; border: 1px solid var(--border-glass-light) !important; color: white !important; padding: 0.5rem !important; border-radius: 0.5rem !important; font-size: 0.875rem !important; font-family: var(--font-primary) !important; outline: none; cursor: pointer; transition: border-color var(--transition-fast); }
.goog-te-combo:focus { border-color: var(--accent-cyan) !important; }
.goog-te-combo option { background: var(--bg-darker); color: white; }
.goog-logo-link { display: none !important; }
.goog-te-gadget span { display: none !important; }
body { top: 0 !important; } /* Prevents the google top banner from pushing body down */
.skiptranslate iframe { display: none !important; } /* Hide popup */
#goog-gt-tt { display: none !important; } /* Hide tooltip */

/* ==== MODALS & CART SIDEBAR ==== */
/* Modal Overlay — always perfectly centred */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
    padding: 1rem;
    box-sizing: border-box;
    overflow-y: auto;
}
.modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* Modal Card */
.modal-content {
    width: 100%;
    max-width: 460px;
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
    box-sizing: border-box;
    /* Ensure the card itself flexes its children centered */
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.modal-overlay.active .modal-content { transform: translateY(0); }

/* Close button */
.modal-close { position: absolute; top: 1rem; right: 1.5rem; background: none; border: none; font-size: 1.5rem; color: var(--text-muted); cursor: pointer; transition: color var(--transition-fast); z-index: 10; padding: 0.5rem; }
.modal-close:hover { color: var(--danger-red); }

/* Auth tabs — centred text */
.auth-tabs { display: flex; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-glass-light); }
.auth-tab { flex: 1; padding: 1rem; background: none; border: none; color: var(--text-muted); font-size: 1rem; font-weight: 600; cursor: pointer; transition: all var(--transition-fast); border-bottom: 2px solid transparent; text-align: center; }
.auth-tab.active { color: var(--accent-cyan); border-bottom-color: var(--accent-cyan); background: rgba(11, 190, 214, 0.05); }

/* Auth form container — centred */
.auth-form-container { width: 100%; display: flex; flex-direction: column; align-items: stretch; }
.auth-form-container form { width: 100%; }
.auth-form-container label { display: block; text-align: left; }
.auth-form-container input,
.auth-form-container select,
.auth-form-container button[type="submit"] { width: 100%; box-sizing: border-box; }

/* Mobile overrides */
@media (max-width: 600px) {
    .modal-overlay { padding: 0.75rem; align-items: center; justify-content: center; }
    .modal-content {
        padding: 1.5rem 1.25rem;
        max-height: 95vh;
        border-radius: 1.25rem !important;
        width: calc(100% - 0rem);
    }
    .auth-tab { font-size: 0.9rem; padding: 0.75rem 0.5rem; }
}

/* Mobile Slide-In Sidebar */
.mobile-sidebar-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 1005; opacity: 0; visibility: hidden; transition: all var(--transition-normal); }
.mobile-sidebar-overlay.active { opacity: 1; visibility: visible; }
.mobile-sidebar { position: fixed; top: 0; right: -320px; width: 100%; max-width: 320px; height: 100%; z-index: 1006; display: flex; flex-direction: column; transition: right var(--transition-normal) cubic-bezier(0.165, 0.84, 0.44, 1); box-shadow: -10px 0 30px rgba(0,0,0,0.5); background: var(--bg-darker); border-left: 1px solid var(--border-glass); }
.mobile-sidebar.active { right: 0; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 0.5rem; overflow-y: auto; flex: 1; margin: 0; padding: 0; list-style: none; }
.mobile-link { display: flex; align-items: center; padding: 1rem; font-size: 1.1rem; color: var(--text-main); font-weight: 500; border-radius: 0.5rem; transition: background var(--transition-fast); cursor: pointer; }
.mobile-link:hover { background: rgba(255,255,255,0.05); }
.mobile-dropdown-menu { display: none; flex-direction: column; padding-left: 1rem; margin-top: 0.25rem; border-left: 1px solid var(--border-glass); margin-left: 1rem; }
.mobile-dropdown-menu.active { display: flex; }
.mobile-sublink { display: block; padding: 0.75rem 1rem; color: var(--text-muted); border-radius: 0.5rem; font-size: 0.95rem; text-decoration: none; }
.mobile-sublink:hover { color: var(--text-main); background: rgba(255,255,255,0.05); }
.hide-mobile-lang { display: flex; }

/* Cart Sidebar */
.border-left-glass { border-left: 1px solid var(--border-glass); }
.border-bottom-glass { border-bottom: 1px solid var(--border-glass); }
.cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 998; display: none; opacity: 0; transition: opacity var(--transition-normal); }
.cart-overlay.active { display: block; opacity: 1; }
.cart-sidebar { position: fixed; top: 0; right: -450px; width: 100%; max-width: 400px; height: 100%; z-index: 999; display: flex; flex-direction: column; transition: right var(--transition-normal) cubic-bezier(0.165, 0.84, 0.44, 1); box-shadow: -10px 0 30px rgba(0,0,0,0.5); }
.cart-sidebar.active { right: 0; }
.cart-items { flex: 1; overflow-y: auto; }
.cart-item { display: flex; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border-glass-light); align-items: stretch;}
.cart-item-img { width: 70px; height: 70px; object-fit: cover; border-radius: 0.5rem; background: #fff;}
.cart-item-details { flex: 1; display:flex; flex-direction: column; justify-content: space-between;}
.cart-item-remove { background: none; border: none; color: var(--danger-red); cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 0.25rem; transition: background 0.2s; }
.cart-item-remove:hover { background: rgba(239, 68, 68, 0.1); }

.qty-controls { display: flex; align-items: center; background: rgba(0,0,0,0.4); border: 1px solid var(--border-glass-light); border-radius: 0.5rem; overflow: hidden; }
.qty-btn { background: none; border: none; color: var(--text-main); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.75rem; transition: background 0.2s; }
.qty-btn:hover { background: rgba(255,255,255,0.1); color: var(--accent-cyan); }
.qty-display { width: 32px; text-align: center; font-size: 0.875rem; font-weight: 600; border-left: 1px solid var(--border-glass-light); border-right: 1px solid var(--border-glass-light); display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.02); }

.cart-badge { position: absolute; top: -5px; right: -5px; background: var(--danger-red); color: white; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; border: 2px solid var(--bg-darker); }

/* Floating Chat */
.floating-contact-wrapper { position: fixed; bottom: 2.5rem; left: 2.5rem; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; z-index: 999; }
.floating-chat-item { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.25rem; color: white; position: relative; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: 2px solid rgba(255,255,255,0.2); text-decoration: none; }
.floating-chat-item:hover { transform: scale(1.1) translateY(-5px); }
.floating-chat-whatsapp { background: linear-gradient(135deg, #128C7E, #25D366); box-shadow: 0 4px 25px rgba(37,211,102,0.4); }
.floating-chat-whatsapp:hover { box-shadow: 0 8px 30px rgba(37,211,102,0.6); }
.floating-chat-telegram { background: linear-gradient(135deg, #0088cc, #00a2ff); box-shadow: 0 4px 25px rgba(0, 136, 204, 0.4); }
.floating-chat-telegram:hover { box-shadow: 0 8px 30px rgba(0, 136, 204, 0.6); }
.floating-chat-email { background: linear-gradient(135deg, #0bbed6, #1e3a8a); box-shadow: 0 4px 25px rgba(11, 190, 214, 0.4); }
.floating-chat-email:hover { box-shadow: 0 8px 30px rgba(11, 190, 214, 0.6); }
.floating-chat-item .floating-chat-tooltip { position: absolute; left: 85px; right: auto; padding: 0.75rem 1.25rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--transition-fast); font-size: 0.875rem; font-weight: 600; border: 1px solid var(--border-glass-light); background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(10px); border-radius: 8px; color: white; }
.floating-chat-item:hover .floating-chat-tooltip { opacity: 1; }

/* ==== MOBILE REFINEMENTS 100/100 PERFECTION ==== */
@media (max-width: 1024px) {
    .nav-links { display: none !important; }
    .mobile-menu-btn { display: flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; font-size: 1.5rem; background: rgba(255,255,255,0.05); border-radius: 12px; border: 1px solid var(--border-glass); }
    .logo-text { display: block; font-size: 1.25rem; }
    .nav-container { padding: 0.75rem 1.5rem; }
    
    .hero { padding: 8rem 1.5rem 5rem; }
    .hero-title { font-size: 2.75rem !important; line-height: 1.2; }
    .hero-subtitle { font-size: 1rem; max-width: 100%; }
    
    .about-master-wrapper { gap: 4rem; }
    .narrative-title { font-size: 2.5rem !important; }
}

@media (max-width: 768px) {
    .section { padding: 5rem 0; }
    .section-header h2 { font-size: 2.25rem !important; }
    
    .products-grid { 
        grid-template-columns: 1fr !important; 
        gap: 1.5rem; 
        padding: 0 1rem;
    }
    
    .product-card {
        max-width: 450px;
        margin: 0 auto;
    }

    .modal-content {
        width: calc(100% - 1rem) !important;
        padding: 1.5rem !important;
        border-radius: 1.25rem !important;
        margin: auto !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 3rem;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a::before {
        display: none;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .payment-methods {
        flex-direction: column;
        gap: 1rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }

    .payment-icons {
        justify-content: center;
    }

    .stat-value { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.25rem !important; }
    .hero-actions { flex-direction: column; width: 100%; gap: 1rem; }
    .hero-actions .btn { width: 100%; padding: 1.25rem !important; }
    
    .narrative-title { font-size: 2rem !important; }
    
    .stat-badge { width: 56px; height: 56px; font-size: 1rem; }
    
    .floating-contact-wrapper { bottom: 1rem; right: 1rem; }
    .floating-chat-item { width: 52px; height: 52px; font-size: 1.75rem; }
    .floating-chat-item .floating-chat-tooltip { right: 70px; }

    .trust-mini-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .trust-mini-item i { font-size: 1.5rem; }
    .trust-mini-item span { font-size: 0.7rem; }
}

/* Fix for horizontal scroll issues */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Enhanced Touch Targets */
button, a, .mobile-link, .dropdown-item {
    min-height: 44px;
    display: flex;
    align-items: center;
}

.icon-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- About Us Section: Master Coder 100/100 Redesign --- */
#about {
    padding: 10rem 0;
    background: #05080a;
    position: relative;
}

/* Artistic Background */
.about-bg-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.15;
}

.blob-1 {
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
}

.about-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 2;
    pointer-events: none;
}

.about-master-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 8rem;
    align-items: center;
}

/* Narrative Side */
.narrative-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.narrative-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}

.narrative-text {
    font-size: 1.15rem; /* Slightly smaller for better balance */
    line-height: 1.9;
    color: var(--text-muted);
    max-width: 90%;
    margin-bottom: 3rem;
}

.narrative-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.pillar-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pillar-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.05);
}

.pillar-icon {
    width: 50px;
    height: 50px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-cyan);
    transition: all 0.3s ease;
}

.pillar-item:hover .pillar-icon {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.pillar-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.pillar-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Excellence Card Side */
.about-excellence-card-wrapper {
    position: relative;
}

.excellence-card {
    padding: 3rem !important;
    border-radius: 2.5rem !important;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-glass-light);
}

.border-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent-cyan), transparent, var(--accent-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.card-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #10b981;
    letter-spacing: 0.1em;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: inherit;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(3); opacity: 0; }
}

.excellence-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    flex: 1;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-glass);
}

.card-decoration {
    position: absolute;
    bottom: -40px;
    right: -30px;
    opacity: 0.08;
    z-index: -1;
}

.floating-dna {
    font-size: 18rem;
    color: var(--accent-cyan);
    animation: floatDNA 15s linear infinite;
    display: block;
}

@keyframes floatDNA {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Floating Trust Card */
.floating-trust-card {
    position: absolute;
    bottom: -40px;
    left: -60px;
    padding: 1.5rem 2rem !important;
    border-radius: 1.5rem !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5) !important;
    z-index: 20;
    border: 1px solid var(--border-glass-light) !important;
}

.trust-icons {
    display: flex;
    gap: 1.25rem;
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .about-master-wrapper {
        gap: 4rem;
    }
    .narrative-title {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .about-master-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .narrative-tag, .narrative-title, .narrative-text {
        margin-left: auto;
        margin-right: auto;
    }
    .narrative-pillars {
        max-width: 600px;
        margin: 0 auto;
    }
    .floating-trust-card {
        position: static;
        margin-top: 2rem;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .narrative-title {
        font-size: 2.25rem;
    }
    .narrative-pillars {
        grid-template-columns: 1fr;
    }
    .excellence-stats {
        flex-direction: column;
        gap: 2rem;
    }
    .stat-divider {
        width: 100%;
        height: 1px;
    }
    .excellence-card {
        padding: 2rem !important;
    }
}

/* --- Peptide Reconstitution Calculator: Master Coder Redesign --- */
.calculator-master-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.calc-highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.highlight-item i {
    color: var(--accent-cyan);
    font-size: 1.1rem;
}

.calculator-card-premium {
    position: relative;
    border-radius: 2.5rem;
    z-index: 10;
    padding: 3.5rem !important;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.calculator-card-premium:focus-within {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
}

.calculator-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem; /* Increased gap for better arrangement */
}

.input-field {
    display: flex;
    flex-direction: column;
    gap: 1.25rem; /* Increased label spacing */
}

.input-field label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    padding-left: 0.5rem;
}

.glass-input-premium {
    width: 100%;
    padding: 1.1rem 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-glass-light);
    border-radius: 1.25rem;
    color: #fff;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.2);
}

.glass-input-premium:focus {
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.08);
    outline: none;
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.15), inset 0 2px 10px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

.glass-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.glass-select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-cyan);
    pointer-events: none;
    font-size: 0.8rem;
    z-index: 10;
}

/* Remove default number spin buttons for professional look */
.glass-input-premium::-webkit-outer-spin-button,
.glass-input-premium::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.glass-input-premium[type=number] {
    -moz-appearance: textfield;
}

select.glass-input-premium, 
select.unit-toggle {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 3.5rem !important; /* Extra room for custom arrow */
    background-image: none !important; /* Force hide browser backgrounds */
}

/* Custom arrow for unit toggle too */
.dose-sync-wrapper {
    position: relative;
    display: flex;
    gap: 0.75rem;
    flex: 1;
    align-items: stretch; /* Stretch to fill height */
}

.dose-sync-wrapper .glass-input-premium {
    flex: 1;
}

.dose-sync-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-cyan);
    pointer-events: none;
    font-size: 0.7rem;
    opacity: 0.8;
}

.unit-toggle {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 1.25rem;
    color: var(--accent-cyan);
    padding: 0 2.5rem 0 1.25rem !important;
    font-weight: 800;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: lowercase;
    flex-shrink: 0;
    height: 100%; /* Match parent height */
}

.unit-toggle:hover {
    background: var(--accent-cyan);
    color: #000;
}

/* Calculator Result Premium */
.calc-result-premium {
    animation: fadeInUp 0.5s ease-out;
}

.result-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
    margin-bottom: 2rem;
}

.result-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.result-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.result-main span {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    line-height: 1;
}

.result-main small {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-muted);
}

.result-footer {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Laboratory Standards: Master Coder Redesign --- */
.lab-master-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.lab-features-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lab-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.75rem !important;
    transition: all 0.4s ease;
}

.lab-feature-card:hover {
    border-color: var(--accent-cyan);
    transform: translateX(10px);
    background: rgba(6, 182, 212, 0.03);
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Purity Seal Graphic */
.purity-seal-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.seal-outer-ring {
    position: absolute;
    inset: -30px;
    border: 1px dashed rgba(6, 182, 212, 0.2);
    border-radius: 3rem;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.seal-inner-card {
    position: relative;
    padding: 4rem 2rem !important;
    border-radius: 2.5rem !important;
    text-align: center;
    overflow: hidden;
    z-index: 10;
}

.seal-icon {
    font-size: 6rem;
    color: var(--accent-cyan);
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.4));
}

.seal-status {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 999px;
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.seal-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.5rem;
}

.seal-desc {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.graph-deco {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
    opacity: 0.2;
}

.graph-deco .bar {
    flex: 1;
    background: var(--text-muted);
    border-radius: 2px;
}

.graph-deco .bar.active {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
    opacity: 0.8;
}

.badge-float {
    position: absolute;
    padding: 0.75rem 1.25rem !important;
    border-radius: 1rem !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

.badge-top-right {
    top: -20px;
    right: -20px;
    animation: float 4s ease-in-out infinite;
}

.badge-bottom-left {
    bottom: -20px;
    left: -20px;
    animation: float 4s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Mobile Adjustments for New Sections */
@media (max-width: 1024px) {
    .calculator-master-grid, .lab-master-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .calc-info-col, .lab-content {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .calc-highlights-grid {
        justify-items: center;
    }
    
    .narrative-title {
        font-size: 3rem !important;
    }
}

@media (max-width: 640px) {
    .calculator-form-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-card-premium {
        padding: 2rem 1.5rem !important;
    }
    
    .result-main span {
        font-size: 3.5rem;
    }
    
    .purity-seal-wrapper {
        padding: 2rem;
    }
    
    .badge-float {
        position: static;
        margin: 1rem auto;
        width: fit-content;
    }
}

/* --- Sleek Syringe Visual: Master Coder Design --- */
.syringe-visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto;
    display: flex;
    align-items: center;
}

.syringe-barrel {
    flex: 1;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}

.syringe-marks {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(90deg, 
        transparent, 
        transparent 9%, 
        rgba(255,255,255,0.2) 9%, 
        rgba(255,255,255,0.2) 10%
    );
    z-index: 2;
}

.syringe-liquid-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px var(--accent-cyan);
}

.syringe-tip {
    width: 12px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0 2px 2px 0;
}

.syringe-plunger {
    width: 20px;
    height: 40px;
    background: linear-gradient(to right, #334155, #1e293b);
    border-radius: 4px;
    margin-left: -2px;
    position: relative;
    z-index: 5;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Search Item Premium */
.search-item-premium {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.search-item-premium:last-child { border-bottom: none; }

.search-item-premium:hover {
  background: rgba(6, 182, 212, 0.08);
  padding-left: 2rem;
}

.search-item-img-premium {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.search-item-name-premium {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.search-item-cat-premium {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-item-arrow {
  color: var(--accent-cyan);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.search-item-premium:hover .search-item-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Custom Quote Buttons Match Request */

/* ============================================
   SMARTSUPP LIVE CHAT — GLOBAL ISOLATION FIX
   Prevent site-wide CSS from distorting widget
   ============================================ */
#chat-widget-container,
#chat-widget-container *,
#smartsupp-widget-container,
#smartsupp-widget-container * {
    box-sizing: content-box !important;
    font-size: inherit !important;
    line-height: normal !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

/* Reset img styles inside smartsupp */
#chat-widget-container img,
#smartsupp-widget-container img {
    max-width: none !important;
    width: auto !important;
    height: auto !important;
    display: inline !important;
    pointer-events: auto !important;
    -webkit-user-drag: auto !important;
}

/* Reset button styles inside smartsupp */
#chat-widget-container button,
#smartsupp-widget-container button {
    min-height: unset !important;
    display: inline-flex !important;
    width: auto !important;
    height: auto !important;
    padding: unset !important;
    font-weight: normal !important;
    font-size: inherit !important;
    border-radius: unset !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    background: unset !important;
    box-shadow: none !important;
}

/* Reset anchor styles inside smartsupp */
#chat-widget-container a,
#smartsupp-widget-container a {
    min-height: unset !important;
    display: inline !important;
}

/* Reset iframe - critical for layout */
#chat-widget-container iframe,
#smartsupp-widget-container iframe {
    display: block !important;
    max-width: none !important;
    border: none !important;
}

/* ============================================
   SMARTSUPP — HARD LOCK POSITION & SIZE
   Prevents ANY page CSS from making it fullscreen
   ============================================ */
div[id^="smartsupp"],
div[id^="chat-widget"],
div[class*="smartsupp"],
div[class*="chat-widget"] {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: auto !important;
    height: auto !important;
    max-width: 400px !important;
    max-height: 700px !important;
    z-index: 2147483647 !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: none !important;
}
