/* ========================================
   BANGO POWER — Site CSS (mockup phase)
   Move-as-is to resources/css/app.css for Laravel
   ======================================== */

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Inter', system-ui, sans-serif; color: #0A0F1E; background: #fff; }
.font-bn { font-family: 'Hind Siliguri', 'Inter', sans-serif; }
.font-display { font-family: 'Space Grotesk', 'Inter', sans-serif; }
.font-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

[x-cloak] { display: none !important; }

/* ---- Backgrounds & patterns ---- */
.grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
}
.grid-bg-dark {
  background-image:
    linear-gradient(rgba(30,42,87,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,42,87,.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ---- Glass surfaces ---- */
.glass-dark {
  background: rgba(30,42,87,0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.08);
}
.glass-light {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(30,42,87,0.06);
}
.glass-orange {
  background: rgba(242,108,40,0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(242,108,40,0.28);
}

/* ---- Buttons ---- */
.cta-orange {
  background: linear-gradient(180deg, #FF8642 0%, #F26C28 60%, #D9551A 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(242,108,40,.40), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .2s cubic-bezier(0.22,1,0.36,1), box-shadow .2s cubic-bezier(0.22,1,0.36,1);
}
.cta-orange:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(242,108,40,.55), inset 0 1px 0 rgba(255,255,255,.35); }
.cta-orange:active { transform: translateY(0); }

.cta-navy {
  background: linear-gradient(180deg, #243C7C 0%, #1E2A57 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(30,42,87,.30), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .2s, box-shadow .2s;
}
.cta-navy:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(30,42,87,.42), inset 0 1px 0 rgba(255,255,255,.18); }

.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.18); transition: all .2s; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.32); }

.btn-line { background: #fff; color: #1E2A57; border: 1px solid #E5E7EB; transition: all .2s; }
.btn-line:hover { border-color: #F26C28; color: #D9551A; }

/* ---- Animation: glow orbs ---- */
.glow-orb {
  position: absolute; border-radius: 9999px; filter: blur(80px); opacity: .55;
  animation: drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(40px,-30px,0) scale(1.08); }
}

/* ---- Particles ---- */
.particle {
  position: absolute; width: 4px; height: 4px; border-radius: 9999px;
  background: rgba(242,108,40,0.85); box-shadow: 0 0 14px rgba(242,108,40,0.7);
  animation: floatp 9s linear infinite;
  pointer-events: none;
}
@keyframes floatp {
  0%   { transform: translateY(20px); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(-120px); opacity: 0; }
}

/* ---- Marquee (clients / brands) ---- */
.marquee { display: flex; gap: 64px; animation: marquee 35s linear infinite; }
.marquee-pause:hover .marquee { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(0.16,1,0.3,1), transform .6s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---- Decorative arc draw ---- */
.arc-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s ease-out .4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---- Underline highlight ---- */
.underline-orange { background-image: linear-gradient(transparent 78%, rgba(242,108,40,.55) 78%); padding: 0 2px; }
.underline-navy { background-image: linear-gradient(transparent 78%, rgba(30,42,87,.20) 78%); padding: 0 2px; }

/* ---- Product card ---- */
.product-card {
  transition: transform .25s cubic-bezier(0.22,1,0.36,1), box-shadow .25s cubic-bezier(0.22,1,0.36,1), border-color .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(30,42,87,.16); }

/* ---- Category card hover ---- */
.cat-card { transition: transform .25s, box-shadow .25s, border-color .2s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(30,42,87,.12); }

/* ---- No-scrollbar utility ---- */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ---- Mega menu ---- */
.mega-trigger:hover .mega-panel,
.mega-panel:hover { display: block; }

/* ---- Brand strip rows ---- */
.brand-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border: 1px solid #E5E7EB; border-radius: 14px; overflow: hidden; background: #fff; }
.brand-row > * { padding: 24px 16px; display: flex; align-items: center; justify-content: center; border-right: 1px solid #E5E7EB; transition: background .2s; }
.brand-row > *:last-child { border-right: none; }
.brand-row > *:hover { background: #F8FAFC; }
@media (max-width: 1024px) { .brand-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .brand-row > *:nth-child(3n) { border-right: none; } .brand-row > *:nth-child(n+4) { border-top: 1px solid #E5E7EB; } }
@media (max-width: 640px) { .brand-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .brand-row > *:nth-child(2n) { border-right: none; } .brand-row > *:nth-child(n+3) { border-top: 1px solid #E5E7EB; } }

/* ---- Hero slider dots ---- */
.dot { width: 8px; height: 8px; border-radius: 9999px; background: rgba(255,255,255,.25); transition: width .2s, background .2s; }
.dot.active { width: 24px; background: #F26C28; }

/* ---- Ribbon ---- */
.ribbon {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 4px;
  z-index: 2;
}
.ribbon-new { background: #10B981; color: #fff; }
.ribbon-hot { background: #F26C28; color: #fff; }
.ribbon-stock { background: #1E2A57; color: #fff; }

/* ---- Sticky filter sidebar ---- */
.sticky-side { position: sticky; top: 92px; }

/* ---- Product image padding ---- */
.product-img-frame {
  background: linear-gradient(180deg, #F8FAFC 0%, #ffffff 100%);
  border-bottom: 1px solid #E5E7EB;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-img-frame::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(242,108,40,0) 0%, rgba(242,108,40,0) 70%, rgba(242,108,40,.04) 100%);
  pointer-events: none; opacity: 0; transition: opacity .25s;
}
.product-card:hover .product-img-frame::after { opacity: 1; }

/* ---- Loading shimmer ---- */
.shimmer {
  background: linear-gradient(90deg, #F1F5F9 0%, #E5E7EB 50%, #F1F5F9 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---- Page hero (small) ---- */
.page-hero {
  background: linear-gradient(135deg, #1E2A57 0%, #243C7C 50%, #3B5BA8 100%);
  color: #fff; position: relative; overflow: hidden;
}

/* ---- Spec table ---- */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; font-size: 14px; border-bottom: 1px solid #E5E7EB; vertical-align: top; }
.spec-table th { color: #6B7280; font-weight: 600; width: 40%; background: #F8FAFC; }
.spec-table td { color: #0A0F1E; font-weight: 500; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
