/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
  background-color: #0e0f12;
  color: #e3e2e7;
  overflow-x: hidden;
  max-width: 100%;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  touch-action: pan-y;
}

/* ===== BREATHING AMBIENT BACKGROUND ===== */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(232,25,44,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 80%, rgba(232,25,44,0.03) 0%, transparent 60%);
  animation: ambientBreath 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes ambientBreath {
  from { opacity: 0.5; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.05); }
}

/* ===== VIDEO HERO ===== */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}
.hero-gradient {
  background: linear-gradient(to top, #0e0f12 0%, rgba(14,15,18,0.55) 45%, rgba(14,15,18,0.25) 100%);
}

/* ===== GLASS CARDS ===== */
.glass-card {
  background: rgba(30,31,36,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1),
              background 0.45s ease,
              border-color 0.45s ease,
              box-shadow 0.45s ease;
}
@media (hover: hover) {
  .glass-card:hover {
    transform: translateY(-10px) scale(1.015);
    background: rgba(48,49,56,0.7);
    border-color: rgba(232,25,44,0.18);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 0 1px rgba(232,25,44,0.08);
  }
}

/* ===== TOUCH SCALE ANIMATION (mobile) ===== */
.touch-lift {
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.5s ease,
              border-color 0.5s ease;
}
.touch-lift.in-view-mobile {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(232,25,44,0.12);
  border-color: rgba(232,25,44,0.2) !important;
}

/* ===== PRIMARY GLOW BUTTON ===== */
.primary-glow {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}
@media (hover: hover) {
  .primary-glow:hover {
    box-shadow: 0 0 35px rgba(232,25,44,0.45);
    animation: pulseGlow 2s infinite;
  }
}
@keyframes pulseGlow {
  0%   { box-shadow: 0 0 20px rgba(232,25,44,0.4); }
  50%  { box-shadow: 0 0 45px rgba(232,25,44,0.65); }
  100% { box-shadow: 0 0 20px rgba(232,25,44,0.4); }
}
.shimmer::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.6s ease;
}
@media (hover: hover) {
  .shimmer:hover::before { left: 100%; }
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.2,0.8,0.2,1),
              transform 0.9s cubic-bezier(0.2,0.8,0.2,1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.2,0.8,0.2,1),
              transform 0.8s cubic-bezier(0.34,1.3,0.64,1);
}
.reveal-scale.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s cubic-bezier(0.2,0.8,0.2,1),
              transform 0.9s cubic-bezier(0.2,0.8,0.2,1);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

/* ===== PROCESS CARDS ===== */
.process-card {
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.6s ease;
}
@media (hover: hover) {
  .process-card:hover {
    transform: translateY(-14px) scale(1.04);
    box-shadow: 0 30px 80px rgba(232,25,44,0.22);
  }
}

/* ===== STEP LINE ===== */
.step-line::after {
  content: '';
  position: absolute;
  top: 40px; left: calc(100% + 12px);
  width: calc(100% - 24px);
  height: 1px;
  background: linear-gradient(to right, rgba(232,25,44,0.3), transparent);
  z-index: -1;
}
@media (max-width: 768px) {
  .step-line::after { display: none; }
}

/* ===== REGION CARDS ===== */
.region-card {
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
@media (hover: hover) {
  .region-card:hover { transform: scale(1.02); }
}
.overlay-bg {
  transition: opacity 0.5s ease;
}
@media (hover: hover) {
  .region-card:hover .overlay-bg { opacity: 0.7; }
}

/* ===== OFFICE PARALLAX ===== */
.office-parallax {
  transform: scale(1.15);
  will-change: transform;
}

/* ===== FLOATING PARTICLES ===== */
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(232,25,44,0.15);
  animation: floatParticle var(--dur, 12s) ease-in-out infinite;
  pointer-events: none;
}
@keyframes floatParticle {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.3; }
  33%       { transform: translateY(-30px) translateX(15px) scale(1.1); opacity: 0.6; }
  66%       { transform: translateY(15px) translateX(-10px) scale(0.9); opacity: 0.4; }
}

/* ===== COUNTER ANIMATION ===== */
.counter-num { transition: all 0.3s ease; }



/* ===== NOISE TEXTURE OVERLAY ===== */
.noise::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: overlay;
}

/* ===== BENEFIT CARDS BORDER GLOW ===== */
.benefit-card {
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}
@media (hover: hover) {
  .benefit-card:hover {
    border-color: rgba(232,25,44,0.5);
    box-shadow: 0 0 30px rgba(232,25,44,0.08), inset 0 0 30px rgba(232,25,44,0.03);
  }
}

/* ===== MOBILE NAV ===== */
.bottom-nav-btn { -webkit-tap-highlight-color: transparent; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #0e0f12; }
::-webkit-scrollbar-thumb { background: #e8192c; border-radius: 2px; }

/* ===== BREATHING LOGO ===== */
.logo-breathe {
  animation: logoBreathe 4s ease-in-out infinite;
}
@keyframes logoBreathe {
  0%, 100% { text-shadow: 0 0 10px rgba(232,25,44,0); }
  50%       { text-shadow: 0 0 20px rgba(232,25,44,0.3); }
}

/* ===== HERO TEXT SHIMMER (RED) ===== */
.hero-title-accent {
  background: linear-gradient(135deg, #e8192c 0%, #ff6b6b 35%, #ffffff 50%, #ff6b6b 65%, #c0001d 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleShimmer 3.5s linear infinite;
}
@keyframes titleShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 250% center; }
}

/* ===== WHITE SHIMMER (section headings) ===== */
.white-shimmer {
  background: linear-gradient(110deg,
    #888 0%,
    #aaa 15%,
    #ffffff 30%,
    #ffffff 38%,
    #cccccc 50%,
    #ffffff 62%,
    #ffffff 70%,
    #aaa 85%,
    #888 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: whiteShimmer 4s ease-in-out infinite;
}
@keyframes whiteShimmer {
  0%   { background-position: 200% center; }
  50%  { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ===== RESPONSIVE FIXES ===== */
/* iPhone SE / small phones */
@media (max-width: 380px) {
  h1 { font-size: 2.4rem !important; line-height: 1 !important; }
  .hero-section-inner { padding-top: 100px !important; }
  .trust-grid { grid-template-columns: 1fr 1fr !important; }
}
/* Phones */
@media (max-width: 640px) {
  .region-cards-grid { grid-template-columns: 1fr !important; }
  .region-card { height: 220px !important; }
  .process-grid { grid-template-columns: 1fr 1fr !important; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
  .bottom-nav-area { padding-bottom: 72px; }
}
/* Tablets */
@media (min-width: 641px) and (max-width: 1023px) {
  .process-grid { grid-template-columns: 1fr 1fr !important; gap: 1rem; }
  .region-card { height: 280px !important; }
  .contact-grid { gap: 3rem !important; }
}
/* Large screens: region cards 6 col */
@media (min-width: 1024px) {
  .region-cards-grid { grid-template-columns: repeat(6, 1fr) !important; }
}
/* Large desktop */
@media (min-width: 1536px) {
  .hero-section-inner { padding-left: 5rem; padding-right: 5rem; }
}

/* ===== LOGISTICS GRID ===== */
.logistics-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 640px) {
  .logistics-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ===== SECTION DIVIDER ===== */
.section-line {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(232,25,44,0.3), transparent);
}

/* ===== PERFORMANCE ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== POP-UP SCROLL ANIMATION ===== */
.pop-up {
  opacity: 0;
  transform: translateY(50px) scale(0.94);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.34,1.4,0.64,1);
  transition-delay: var(--delay, 0s);
}
.pop-up.popped {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ===== MOBILE SPECIFIC ===== */
@media (max-width: 768px) {
  section { padding-top: 60px; padding-bottom: 60px; }
  .mobile-pb { padding-bottom: 80px; }
  /* Hero title smaller on phone */
  #hero h1 { font-size: clamp(2.2rem, 10vw, 3.5rem) !important; }
  /* Region cards stack on mobile */
  .region-cards-grid .region-card { height: 200px; }
}
/* Tablet portrait */
@media (min-width: 641px) and (max-width: 1023px) {
  #hero h1 { font-size: clamp(3rem, 7vw, 5rem) !important; }
  .region-cards-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .region-cards-grid .region-card { height: 260px; }
}
/* Touch: tap highlight off */
a, button { -webkit-tap-highlight-color: transparent; }

@keyframes musicRingPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}
#musicBtn:hover {
  border-color: rgba(232,25,44,0.8);
  box-shadow: 0 0 20px rgba(232,25,44,0.3);
}

@keyframes scrollPulse { 0%,100%{opacity:0.4;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.15)} }
