/* ==========================================================================
   BILAL EXPORTERS — CENTRALIZED APPLICATION CSS SYSTEM
   ========================================================================== */

/* Custom Typography & Base Imports */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&family=Inter:wght@300;400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

/* Color Variables & Root Tokens */
:root {
  --color-navy-800: #0F2A45;
  --color-navy-900: #0B1F33;
  --color-navy-950: #071626;
  --color-industrial-blue: #145DA0;
  --color-industrial-teal: #0F766E;
  --color-industrial-amber: #D97706;
  --color-industrial-gold: #F59E0B;
  --color-paper: #f8fafc;
  --shadow-elevated: 0 24px 50px -28px rgba(11, 31, 51, 0.42);
}

html {
  background: var(--color-paper);
  scroll-padding-top: 6rem;
}

body {
  overflow-x: hidden;
}

svg {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
}

::selection {
  color: #fff;
  background: var(--color-industrial-blue);
}

:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 50%;
  z-index: 100;
  padding: 0.65rem 1rem;
  color: #071626;
  font-size: 0.75rem;
  font-weight: 800;
  background: #fbbf24;
  border-radius: 0.5rem;
  transform: translate(-50%, -200%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.site-header {
  box-shadow: 0 1px 0 rgba(15, 42, 69, 0.06), 0 10px 30px -24px rgba(11, 31, 51, 0.65);
}

.nav-link {
  position: relative;
  padding: 0.55rem 0;
  color: #475569;
  transition: color 160ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0.18rem;
  left: 0;
  height: 2px;
  content: '';
  background: var(--color-industrial-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link-active {
  color: var(--color-industrial-blue);
}

.nav-link:hover::after,
.nav-link-active::after {
  transform: scaleX(1);
}

.mobile-menu {
  position: relative;
}

.mobile-menu summary {
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.625rem 0.75rem;
  color: #0b1f33;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
}

.mobile-menu-trigger svg {
  width: 1.1rem;
  height: 1.1rem;
}

.mobile-menu-panel {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  display: grid;
  width: min(22rem, calc(100vw - 2rem));
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: var(--shadow-elevated);
}

.mobile-menu-panel a {
  padding: 0.8rem 0.9rem;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 0.6rem;
}

.mobile-menu-panel a:hover,
.mobile-menu-panel .is-current {
  color: var(--color-industrial-blue);
  background: #eff6ff;
}

.mobile-menu-panel .mobile-menu-cta {
  margin-top: 0.4rem;
  color: #fff;
  text-align: center;
  background: #047857;
}

.mobile-menu-panel .mobile-menu-cta:hover {
  color: #fff;
  background: #065f46;
}

/* Gradient Text Component */
.gradient-text {
  background: linear-gradient(135deg, #145DA0 0%, #0F766E 50%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Radial Background Grid */
.bg-radial-grid {
  background-image: radial-gradient(#145DA0 1px, transparent 1px);
  background-size: 16px 16px;
}

/* Glassmorphism Card Utilities */
.glass-panel {
  background: rgba(11, 31, 51, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Custom Smooth Transitions */
.transition-smooth {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Aspect Ratio Utilities */
.aspect-square {
  aspect-ratio: 1 / 1;
}

/* Line Clamp Utilities */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #071626;
}

::-webkit-scrollbar-thumb {
  background: #145DA0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0F766E;
}

/* ==========================================================================
   HERO KEYFRAME ANIMATIONS & ADVANCED VFX UTILITIES
   ========================================================================== */

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.8deg);
  }
}

@keyframes floatDelayed {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(-1deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(20, 93, 160, 0.35), 0 0 40px rgba(15, 118, 110, 0.15);
  }
  50% {
    box-shadow: 0 0 30px rgba(217, 119, 6, 0.5), 0 0 60px rgba(245, 158, 11, 0.25);
  }
}

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

@keyframes shineSweep {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(200%) rotate(45deg);
  }
}

/* High-Tech Quality Laser Scan Line VFX */
@keyframes scanLine {
  0% {
    top: 0%;
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  85% {
    opacity: 0.8;
  }
  100% {
    top: 98%;
    opacity: 0;
  }
}

/* Ambient Floating Glow Orbs */
@keyframes orbFloat1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(30px, -20px) scale(1.15);
    opacity: 0.6;
  }
}

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

/* Shimmering Neon Border */
@keyframes borderShimmer {
  0% {
    border-color: rgba(20, 93, 160, 0.6);
  }
  50% {
    border-color: rgba(245, 158, 11, 0.8);
  }
  100% {
    border-color: rgba(20, 93, 160, 0.6);
  }
}

.animate-float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: floatDelayed 7.5s ease-in-out 1.5s infinite;
}

.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

.animate-spin-slow {
  animation: spinSlow 25s linear infinite;
}

.animate-scan-line {
  display: none !important;
}

.animate-orb-1 {
  animation: orbFloat1 10s ease-in-out infinite;
}

.animate-orb-2 {
  animation: orbFloat2 12s ease-in-out infinite;
}

.animate-border-shimmer {
  animation: borderShimmer 5s ease-in-out infinite;
}

.shine-effect {
  position: relative;
  overflow: hidden;
}

.shine-effect::after {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 50%;
  height: 200%;
  content: '';
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 100%
  );
  animation: shineSweep 4s ease-in-out infinite;
}

/* 3D Perspective Card Container */
.perspective-container {
  perspective: 1200px;
}

.hero-shop-card {
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
}

.hero-shop-card:hover {
  transform: scale(1.015);
}

@media (max-width: 639px) {
  .site-header + div {
    font-size: 0.82rem;
  }

  section {
    scroll-margin-top: 5rem;
  }

  .hero-shop-card {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .animate-float-slow,
  .animate-float-delayed,
  .animate-pulse-glow,
  .animate-spin-slow,
  .animate-scan-line,
  .animate-orb-1,
  .animate-orb-2,
  .animate-border-shimmer,
  .shine-effect::after {
    animation: none !important;
  }
}
