﻿/* ===== PREMIUM UI — Site-wide motion & polish (backgrounds in grids.css) ===== */

body {
  background: #ffffff;
  position: relative;
  overflow-x: hidden;
}

.page-wrapper {
  position: relative;
  z-index: 1;
}

/* ── Section wave dividers ── */
.section-wave-divider {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  margin: -1px 0;
}
.section-wave-divider svg {
  display: block;
  width: 100%;
  height: 48px;
}

/* ── Enhanced section headers ── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.section-header .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(34,197,94,0.12), rgba(37,99,235,0.10));
  border: 1px solid rgba(34,197,94,0.25);
  color: var(--primary-dark);
  font-size: var(--font-size-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  box-shadow: none;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p {
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Brands strip ── */
.brands-section {
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}
.brands-label {
  font-weight: 800 !important;
  color: var(--secondary) !important;
  letter-spacing: 3px !important;
}
.brand-item {
  padding: 10px 20px !important;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm) !important;
  font-weight: 700 !important;
  color: var(--text-secondary) !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.06);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  position: relative;
  z-index: 1;
  overflow: visible !important;
}

.brand-item.fade-in {
  opacity: 1;
  transform: none;
}
.brand-item:not(.graph-interactive):hover {
  color: var(--secondary) !important;
  background: #fff;
  border-color: var(--border);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 24px rgba(15,23,42,0.12);
}

/* ── About split (home + about page) ── */
.about-split-home {
  border: none !important;
  position: relative;
}
.about-split-home::before { display: none; }
.about-split-home-grid {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-3xl);
  box-shadow:
    0 24px 64px rgba(37,99,235,0.10),
    0 4px 16px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.8);
  gap: var(--space-2xl) !important;
}
.ash-divider {
  background: linear-gradient(180deg, transparent, var(--primary), var(--secondary), transparent) !important;
  width: 2px !important;
  opacity: 0.5;
}
.ash-col-title {
  font-size: clamp(1.1rem, 2vw, 1.35rem) !important;
  background: linear-gradient(90deg, var(--secondary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ash-col-bar {
  width: 56px !important;
  height: 4px !important;
  background: linear-gradient(90deg, var(--primary), var(--secondary)) !important;
  border-radius: var(--radius-full) !important;
  box-shadow: none;
}
.ash-stats-grid {
  gap: var(--space-md) !important;
}
.ash-stat {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: 0 2px 8px rgba(15,23,42,0.06);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}
.ash-stat::before {
  display: none;
}
.ash-stat:not(.graph-interactive):hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--border);
  box-shadow: 0 12px 32px rgba(15,23,42,0.12);
}
.ash-stat-num {
  font-size: 2.2rem !important;
  background: linear-gradient(135deg, var(--secondary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ash-elgi-btn {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark)) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37,99,235,0.30);
  border-radius: var(--radius-full) !important;
  transition: all 0.3s ease !important;
  position: relative;
  z-index: 1;
  overflow: visible !important;
}
.ash-elgi-btn svg {
  stroke: currentColor;
  flex-shrink: 0;
}
.ash-elgi-btn.fade-in {
  opacity: 1;
  transform: none;
}
.ash-elgi-btn:not(.graph-interactive):hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(37,99,235,0.40) !important;
}

/* ── Why choose section ── */
.why-choose-home {
  border: none !important;
  position: relative;
  overflow: hidden;
}
.why-choose-home::before { display: none; }
.why-choose-home .container {
  position: relative;
  z-index: 1;
}
.wch-title {
  background: linear-gradient(135deg, #0f172a, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.wch-card {
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(37,99,235,0.12) !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: 0 8px 32px rgba(37,99,235,0.08) !important;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.wch-card::before {
  display: none;
}
.wch-card::after {
  display: none;
}
.wch-card:not(.graph-interactive):hover {
  transform: translateY(-6px) !important;
  border-color: var(--border) !important;
  box-shadow: 0 16px 40px rgba(15,23,42,0.12) !important;
}
.wch-card:not(.graph-interactive):hover .wch-icon svg {
  animation: iconBounce 0.6s ease;
}
@keyframes iconBounce {
  0%, 100% { transform: scale(1); }
  40%       { transform: scale(1.12); }
  70%       { transform: scale(0.96); }
}
.wch-icon {
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: 0 4px 12px rgba(37,99,235,0.10);
}

/* ── Featured products ── */
.featured-section {
  position: relative;
  z-index: 1;
  padding: 0 !important;
  overflow: hidden;
}
.featured-section::before,
.featured-section::after { display: none; }

.featured-header-wrap {
  position: relative;
  min-height: auto;
  display: block;
  overflow: hidden;
  margin-bottom: var(--space-2xl);
}
.featured-header-art { display: none; }
.featured-section-header {
  position: relative;
  z-index: 2;
  padding: var(--space-3xl) var(--space-md) var(--space-2xl);
  margin-bottom: 0 !important;
}
.featured-section-header .section-tag {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.15);
}
.featured-section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: black !important;
  text-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.6));
}
.featured-section-header p {
  color: #1e3a5f;
  font-weight: 500;
  max-width: 520px;
}
.products-grid .product-card {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
}
.view-all-wrap .btn-outline {
  border-radius: var(--radius-full);
  padding: 14px 32px;
  font-weight: 800;
  position: relative;
  overflow: hidden;
}
.view-all-wrap .btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--secondary), var(--primary-dark));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.view-all-wrap .btn-outline:hover::before { opacity: 1; }
.view-all-wrap .btn-outline:hover { color: #fff; border-color: transparent; }

/* ── Promo banner ── */
.promo-section {
  padding: var(--space-3xl) 0 !important;
  position: relative;
}
.promo-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 40%, #15803d 100%) !important;
  border: none !important;
  color: #fff;
  box-shadow:
    0 24px 64px rgba(37,99,235,0.35),
    0 0 0 1px rgba(255,255,255,0.1) inset !important;
  animation: promoGlow 4s ease-in-out infinite;
}
@keyframes promoGlow {
  0%, 100% { box-shadow: 0 24px 64px rgba(37,99,235,0.35), 0 0 0 1px rgba(255,255,255,0.1) inset; }
  50%       { box-shadow: none, 0 0 0 1px rgba(255,255,255,0.15) inset; }
}
.promo-banner::before {
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%) !important;
  top: -100px !important; right: 200px !important;
  width: 400px !important; height: 400px !important;
  animation: orbFloat 12s ease-in-out infinite;
}
.promo-banner::after {
  background: radial-gradient(circle, rgba(34,197,94,0.20) 0%, transparent 70%) !important;
}
.promo-content h2,
.promo-content p,
.promo-badge,
.promo-feature,
.promo-timer-label { color: #fff !important; }
.promo-highlight { color: #86efac !important; }
.promo-badge {
  background: rgba(255,255,255,0.15) !important;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
}
.promo-stat-card {
  background: rgba(255,255,255,0.12) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.20) !important;
  transition: transform 0.3s ease, background 0.3s ease;
}
.promo-stat-card:not(.graph-interactive):hover {
  transform: translateY(-4px) scale(1.04);
  background: rgba(255,255,255,0.20) !important;
}
.promo-stat-val { color: #fff !important; }
.promo-stat-lbl { color: rgba(255,255,255,0.75) !important; }
.promo-actions .btn-outline {
  border-color: rgba(255,255,255,0.6) !important;
  color: #fff !important;
}
.promo-actions .btn-outline:hover {
  background: rgba(255,255,255,0.15) !important;
}
.promo-feature svg { color: #86efac !important; }
.timer-sep { color: rgba(255,255,255,0.5) !important; }
.timer-block {
  background: rgba(255,255,255,0.15) !important;
  border-color: rgba(255,255,255,0.25) !important;
  backdrop-filter: blur(6px);
}
.timer-block .num { color: #fff !important; }
.timer-block .label { color: rgba(255,255,255,0.7) !important; }

.featured-products-body {
  position: relative;
  z-index: 1;
  padding-bottom: var(--space-3xl);
}

/* ── Why section (Built for Industry) ── */
.why-section::before,
.why-section::after { display: none; }

/* ── Customers marquee ── */
.customers-section::before,
.customers-section::after { display: none; }
.marquee-logo {
  background: rgba(255,255,255,0.9) !important;
  backdrop-filter: blur(6px);
  border-radius: var(--radius-xl) !important;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.marquee-logo:not(.graph-interactive):hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 8px 24px rgba(15,23,42,0.10) !important;
}

/* ── Inner page headers ── */
.product-page-header,
.contact-hero {
  position: relative;
  overflow: hidden;
}
.product-page-header::before,
.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(34,197,94,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(37,99,235,0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.product-page-header .container,
.contact-hero .container {
  position: relative;
  z-index: 1;
}

/* ── About page hero slider ── */
.about-hero-slider {
  box-shadow: 0 8px 40px rgba(15,23,42,0.20);
}
.about-hero-slider .slide-overlay {
  background: linear-gradient(105deg, rgba(15,23,42,0.88) 0%, rgba(30,58,138,0.55) 50%, transparent 100%) !important;
}
.slider-dot.active {
  animation: dotPulse 2s ease infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* ── Contact page cards ── */
.contact-info-card,
.contact-form-card {
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.9) !important;
  box-shadow: 0 12px 40px rgba(37,99,235,0.10) !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.contact-info-card:not(.graph-interactive):hover,
.contact-form-card:not(.graph-interactive):hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(37,99,235,0.14) !important;
}
.faq-item {
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  border-left: none !important;
}
.faq-item:not(.graph-interactive):hover {
  box-shadow: 0 8px 24px rgba(15,23,42,0.08);
  transform: translateX(0);
}
.faq-item.open {
  background: #ffffff !important;
}
.submit-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  box-shadow: none;
  transition: all 0.3s ease !important;
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: none !important;
}

/* ── Gallery ── */
.gallery-item {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(37,99,235,0.08);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.gallery-item:not(.graph-interactive):hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 48px rgba(37,99,235,0.18);
}
.gallery-tab {
  transition: all 0.3s ease;
  border-radius: var(--radius-full);
}
.gallery-tab.active {
  background: linear-gradient(135deg, var(--secondary), var(--primary-dark)) !important;
  box-shadow: 0 4px 14px rgba(37,99,235,0.30);
}

/* ── Product shop page ── */
.sidebar-block {
  background: rgba(255,255,255,0.88) !important;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.sidebar-block:not(.graph-interactive):hover {
  box-shadow: 0 8px 28px rgba(37,99,235,0.12) !important;
  transform: translateX(3px);
}

/* ── Navbar glass effect ── */
.navbar {
  background: rgba(255,255,255,0.88) !important;
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(37,99,235,0.08);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.navbar.scrolled {
  box-shadow: 0 4px 16px rgba(15,23,42,0.10) !important;
  background: #ffffff !important;
}

/* ── Search bar strip ── */
.search-bar-strip {
  background: linear-gradient(90deg, rgba(239,246,255,0.95), rgba(240,253,244,0.95)) !important;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(37,99,235,0.08);
}
.search-bar-input-wrap:focus-within {
  box-shadow: 0 0 0 2px rgba(37,99,235,0.20);
  border-radius: var(--radius-md);
}

/* ── Footer enhancement ── */
.footer {
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
  background-size: 200% 100%;
  animation: footerBar 4s linear infinite;
}
@keyframes footerBar {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.footer-cta-strip {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #15803d 100%) !important;
}

/* ── Scroll reveal enhancements ── */
.fade-in.visible {
  animation: revealUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes revealUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Home hero slider ── */
.home-hero-slider {
  box-shadow: 0 12px 48px rgba(15,23,42,0.25);
}
.home-slide-overlay {
  background: linear-gradient(105deg, rgba(15,23,42,0.85) 0%, rgba(30,58,138,0.50) 55%, transparent 100%) !important;
}
.home-slide-tag {
  animation: tagGlow 3s ease-in-out infinite;
}
.home-slide-tag--ie {
  animation: tagGlowIe 3s ease-in-out infinite;
}
@keyframes tagGlow {
  0%, 100% { box-shadow: none; }
  50%       { box-shadow: none; }
}
@keyframes tagGlowIe {
  0%, 100% { box-shadow: 0 6px 24px rgba(180,83,9,0.55), 0 0 0 2px rgba(245,158,11,0.35); }
  50%       { box-shadow: 0 10px 36px rgba(245,158,11,0.65), 0 0 0 3px rgba(245,158,11,0.5); }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  body::after { animation: none; }
}

@media (max-width: 768px) {
  .about-split-home-grid {
    padding: var(--space-xl) !important;
  }
  .ui-orb { display: none; }
}
