@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Rajdhani:wght@500;600;700&display=swap');

:root {
  --primary: #e85d04;
  --primary-dark: #c44d00;
  --secondary: #0a1628;
  --accent: #f48c06;
  --bg-dark: #060e1e;
  --bg-card: #0d1b2e;
  --border: rgba(232,93,4,0.2);
  --text: #e2e8f0;
  --text-muted: #8a9bb0;
  --gradient: linear-gradient(135deg, #e85d04, #f48c06);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  padding: 0 2rem;
  background: rgba(6,14,30,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
nav.scrolled { background: rgba(6,14,30,0.97); box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.nav-logo {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
}
.nav-logo .logo-img {
  height: 54px; width: auto; object-fit: contain;
  display: block; flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.nav-logo .logo-text { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700; color: #fff; line-height: 1.1; }
.nav-logo .logo-text span { display: block; font-size: 0.78rem; font-weight: 400; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.5px; transition: color 0.3s; position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--primary); transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--gradient); color: #fff !important; padding: 8px 20px !important;
  border-radius: 6px; font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); transition: all 0.3s; border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HERO ── */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('assets/hero_banner.png') center/cover no-repeat;
  transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1); /* Initial load transition */
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,14,30,0.92) 50%, rgba(232,93,4,0.15) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 8rem 2rem 4rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,93,4,0.15); border: 1px solid rgba(232,93,4,0.4);
  padding: 6px 16px; border-radius: 50px; font-size: 0.78rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--primary); margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease both;
}
.hero-badge::before { content: '●'; font-size: 0.5rem; animation: blink 1.5s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero h1 {
  font-family: 'Rajdhani', sans-serif; font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700; line-height: 1.05; color: #fff;
  animation: fadeInUp 0.6s ease 0.1s both;
}
.hero h1 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-muted); max-width: 600px;
  line-height: 1.8; margin: 1.5rem 0 2.5rem;
  animation: fadeInUp 0.6s ease 0.2s both;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeInUp 0.6s ease 0.3s both; }
.btn-primary {
  background: var(--gradient); color: #fff; padding: 14px 32px; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem; display: inline-flex;
  align-items: center; gap: 8px; transition: all 0.3s; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(232,93,4,0.4); }
.btn-outline {
  background: transparent; color: #fff; padding: 14px 32px; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem; display: inline-flex;
  align-items: center; gap: 8px; transition: all 0.3s; border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.4); }

.hero-stats {
  display: flex; gap: 3rem; margin-top: 4rem; flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.4s both;
}
.stat h3 {
  font-family: 'Rajdhani', sans-serif; font-size: 2.2rem; font-weight: 700;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat p { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* ── SECTIONS ── */
section { padding: 6rem 2rem; }
.container { max-width: 1280px; margin: 0 auto; }
.section-label {
  display: inline-block; font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--primary); font-weight: 600; margin-bottom: 1rem;
}
.section-title {
  font-family: 'Rajdhani', sans-serif; font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700; color: #fff; margin-bottom: 1rem; line-height: 1.1;
}
.section-title span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-desc { color: var(--text-muted); max-width: 560px; line-height: 1.8; font-size: 0.95rem; }
.divider { width: 60px; height: 3px; background: var(--gradient); border-radius: 2px; margin: 1.5rem 0; }

/* ── CARDS ── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem; transition: all 0.3s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(232,93,4,0.5); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.card:hover::before { transform: scaleX(1); }

/* ── FEATURES GRID ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px; background: rgba(232,93,4,0.1);
  border: 1px solid rgba(232,93,4,0.2); display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; margin-bottom: 1.2rem;
}
.feature-card h3 { font-size: 1.05rem; font-weight: 600; color: #fff; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ── PRODUCT CARDS ── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.3s; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); border-color: rgba(232,93,4,0.5); }
.product-img { height: 200px; background: linear-gradient(135deg, #0d1b2e, #132035); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-img .product-icon { font-size: 3rem; }
.product-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(232,93,4,0.15); border: 1px solid rgba(232,93,4,0.4);
  color: var(--primary); font-size: 0.68rem; padding: 3px 10px; border-radius: 20px;
  letter-spacing: 1px; text-transform: uppercase; font-weight: 600;
}
.product-info { padding: 1.4rem; }
.product-info h3 { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 0.4rem; }
.product-info p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.product-link {
  display: inline-flex; align-items: center; gap: 6px; color: var(--primary);
  font-size: 0.83rem; font-weight: 600; text-decoration: none; transition: gap 0.2s;
}
.product-link:hover { gap: 10px; }

/* ── CERTS STRIP ── */
.certs-strip {
  background: rgba(232,93,4,0.05); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.certs-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.cert-item { display: flex; align-items: center; gap: 10px; }
.cert-badge {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient); display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.cert-item span { font-size: 0.88rem; font-weight: 600; color: var(--text); }

/* ── FOOTER ── */
footer {
  background: #040b17; border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.8; margin: 1rem 0 1.5rem; }
.footer-title { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1rem; color: #fff; margin-bottom: 1.2rem; letter-spacing: 1px; text-transform: uppercase; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.87rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 0.8rem; font-size: 0.87rem; color: var(--text-muted); }
.footer-contact-item span:first-child { color: var(--primary); flex-shrink: 0; margin-top: 1px; }

.social-row { display: flex; gap: 0.8rem; margin-top: 1rem; }
.social-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(232,93,4,0.1); border: 1px solid rgba(232,93,4,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); text-decoration: none; font-size: 1rem; transition: all 0.3s;
}
.social-btn:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.footer-bottom {
  max-width: 1280px; margin: 2.5rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem; color: var(--text-muted);
}

/* ── WHATSAPP ── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  text-decoration: none; box-shadow: 0 8px 30px rgba(37,211,102,0.5); transition: all 0.3s;
  animation: pulse-green 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.12); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }
@keyframes pulse-green {
  0%,100%{box-shadow:0 8px 30px rgba(37,211,102,0.5)}
  50%{box-shadow:0 8px 40px rgba(37,211,102,0.8)}
}

/* ── ABOUT PAGE ── */
.about-hero { padding: 10rem 2rem 5rem; background: linear-gradient(135deg, #060e1e 60%, rgba(232,93,4,0.06)); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img { border-radius: 20px; overflow: hidden; position: relative; }
.about-img img { width: 100%; border-radius: 20px; display: block; }
.about-img::after {
  content: ''; position: absolute; inset: -1px;
  border-radius: 20px; border: 1px solid rgba(232,93,4,0.3);
}
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.vision-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.2rem; display: flex; gap: 10px; align-items: flex-start;
}
.vision-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); margin-top: 4px; flex-shrink: 0; }
.vision-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ── CONTACT PAGE ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; margin-top: 3rem; }
.contact-form-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; }
.form-group { margin-bottom: 1.4rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.5rem; letter-spacing: 0.5px; text-transform: uppercase; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px; color: var(--text); font-family: 'Inter', sans-serif;
  font-size: 0.9rem; outline: none; transition: border-color 0.3s; resize: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); background: rgba(232,93,4,0.04); }
.form-group select option { background: var(--bg-card); }
.form-group textarea { height: 130px; }
.contact-info-wrap { display: flex; flex-direction: column; gap: 1.5rem; }
.info-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 1.6rem; display: flex; gap: 1rem; align-items: flex-start; }
.info-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(232,93,4,0.1); border: 1px solid rgba(232,93,4,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.info-card h4 { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.3rem; }
.info-card p { color: var(--text); font-size: 0.9rem; line-height: 1.5; }
.map-wrap { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); flex: 1; min-height: 240px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 240px; border: none; display: block; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 9rem 2rem 4rem;
  background: linear-gradient(160deg, #060e1e 0%, #0a1628 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,93,4,0.08), transparent 70%);
}

/* ── FILTER TABS ── */
.filter-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted);
  padding: 8px 20px; border-radius: 50px; font-size: 0.83rem; font-weight: 500;
  cursor: pointer; transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── ANIMATIONS ── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: rgba(6,14,30,0.98); padding: 1.5rem 2rem; border-bottom: 1px solid var(--border); gap: 1rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .vision-grid { grid-template-columns: 1fr; }
  section { padding: 4rem 1.5rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2.4rem; }
  .products-grid { grid-template-columns: 1fr; }
}

/* ── PRODUCT MODAL (v2) ── */
.pmodal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.72); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.pmodal-overlay.active { opacity: 1; pointer-events: all; }
.pmodal-box {
  background: #0d1b2e; border: 1px solid var(--border);
  border-radius: 22px; width: 100%; max-width: 700px;
  max-height: 88vh; overflow: hidden; display: flex; flex-direction: column;
  transform: translateY(28px) scale(0.97); transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1);
}
.pmodal-overlay.active .pmodal-box { transform: translateY(0) scale(1); }

.pmodal-head {
  padding: 1.4rem 1.8rem; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-shrink: 0;
}
.pmodal-head-left { display: flex; align-items: center; gap: 14px; }
.pmodal-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: rgba(232,93,4,0.1); border: 1px solid rgba(232,93,4,0.25);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.pmodal-title { font-family: 'Rajdhani', sans-serif; font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.pmodal-cat { font-size: 0.72rem; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.pmodal-close {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.04); color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  transition: all 0.2s; flex-shrink: 0; line-height: 1;
}
.pmodal-close:hover { background: rgba(232,93,4,0.12); border-color: var(--primary); color: #fff; }

.pmodal-tabs {
  display: flex; border-bottom: 1px solid var(--border);
  padding: 0 1.8rem; flex-shrink: 0; gap: 0;
}
.pmodal-tab {
  padding: 11px 20px; font-size: 0.85rem; font-weight: 600; cursor: pointer;
  color: var(--text-muted); border: none; border-bottom: 2px solid transparent;
  background: none; font-family: 'Inter', sans-serif; transition: all 0.2s; margin-bottom: -1px;
}
.pmodal-tab:hover { color: var(--text); }
.pmodal-tab.active { color: var(--primary); border-bottom-color: var(--primary); }

.pmodal-body { padding: 1.8rem; overflow-y: auto; flex: 1; scroll-behavior: smooth; }
.pmodal-panel { display: none; animation: fadeInUp 0.25s ease; }
.pmodal-panel.active { display: block; }

.pm-desc { color: var(--text-muted); line-height: 1.85; font-size: 0.92rem; }
.pm-rawmat {
  background: rgba(232,93,4,0.06); border: 1px solid rgba(232,93,4,0.18);
  border-radius: 10px; padding: 1rem 1.2rem; margin-top: 1.2rem;
}
.pm-rawmat-label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--primary); font-weight: 700; margin-bottom: 0.35rem;
}
.pm-rawmat-val { font-size: 0.9rem; color: var(--text); }

.variant-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-muted); font-weight: 600; margin-bottom: 0.7rem;
}
.variant-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.variant-btn {
  padding: 7px 15px; border-radius: 7px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.03); color: var(--text-muted); font-size: 0.82rem;
  cursor: pointer; transition: all 0.2s; font-family: 'Inter', sans-serif; font-weight: 500;
}
.variant-btn:hover { border-color: rgba(232,93,4,0.5); color: var(--text); }
.variant-btn.active {
  background: rgba(232,93,4,0.12); border-color: var(--primary); color: #fff; font-weight: 600;
}

.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { transition: background 0.15s; }
.specs-table tr:hover td { background: rgba(255,255,255,0.025); }
.specs-table tr:not(:last-child) td { border-bottom: 1px solid rgba(255,255,255,0.05); }
.specs-table td { padding: 10px 8px; font-size: 0.88rem; vertical-align: top; }
.specs-table td:first-child { color: var(--text-muted); width: 44%; font-weight: 500; padding-right: 1rem; }
.specs-table td:last-child { color: var(--text); }

/* ── PRODUCT CARD v2 ── */
.pcard {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; transition: all 0.3s;
  cursor: pointer; position: relative; display: flex; flex-direction: column;
}
.pcard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.pcard:hover { transform: translateY(-5px); border-color: rgba(232,93,4,0.5); box-shadow: 0 18px 48px rgba(0,0,0,0.45); }
.pcard:hover::before { transform: scaleX(1); }

.pcard-top { padding: 1.4rem; display: flex; align-items: flex-start; gap: 12px; }
.pcard-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: rgba(232,93,4,0.1); border: 1px solid rgba(232,93,4,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 1.35rem;
}
.pcard-meta { flex: 1; min-width: 0; }
.pcard-name { font-size: 0.97rem; font-weight: 700; color: #fff; margin-bottom: 3px; line-height: 1.3; }
.pcard-catbadge {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--primary); font-weight: 700;
}
.pcard-desc {
  padding: 0 1.4rem; color: var(--text-muted); font-size: 0.83rem;
  line-height: 1.65; flex: 1;
}
.pcard-footer {
  padding: 1rem 1.4rem; margin-top: 1rem; border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: space-between;
}
.pcard-variants-tag {
  font-size: 0.74rem; color: var(--text-muted);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 20px;
}
.pcard-cta {
  font-size: 0.8rem; font-weight: 700; color: var(--primary);
  display: flex; align-items: center; gap: 4px; transition: gap 0.2s;
}
.pcard:hover .pcard-cta { gap: 8px; }

/* ── CATEGORY SECTION ── */
.cat-group { margin-bottom: 3rem; }
.cat-group-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 1.4rem;
  padding-bottom: 0.8rem; border-bottom: 1px solid var(--border);
}
.cat-group-icon { font-size: 1.3rem; }
.cat-group-title {
  font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; font-weight: 700;
  color: var(--text); text-transform: uppercase; letter-spacing: 1.5px;
}
.cat-group-count {
  font-size: 0.72rem; color: var(--primary); font-weight: 600;
  background: rgba(232,93,4,0.1); border: 1px solid rgba(232,93,4,0.2);
  padding: 2px 10px; border-radius: 20px;
}
.cat-group-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 1.2rem;
}

/* ── SEARCH BAR ── */
.cat-search-wrap { position: relative; max-width: 420px; margin-bottom: 1.8rem; }
.cat-search {
  width: 100%; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 11px 16px 11px 44px; color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 0.9rem; outline: none; transition: border-color 0.3s;
}
.cat-search:focus { border-color: var(--primary); }
.cat-search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 1rem; pointer-events: none;
}
.no-results { text-align: center; padding: 3rem; color: var(--text-muted); display: none; }

@media (max-width: 600px) {
  .pmodal-box { max-height: 94vh; border-radius: 16px 16px 0 0; align-self: flex-end; }
  .pmodal-overlay { align-items: flex-end; padding: 0; }
  .cat-group-grid { grid-template-columns: 1fr; }
}

/* ── PRODUCT CARD IMAGE ── */
.pcard-img-wrap {
  width: 100%; height: 140px; overflow: hidden;
  background: linear-gradient(135deg,#0d1b2e,#162840);
  position: relative;
  cursor: zoom-in;
}
.pcard-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.pcard:hover .pcard-img-wrap img { transform: scale(1.06); }
.pcard-img-wrap .fallback-illus { display: none; }
.pcard-img-wrap.fallback-active img { display: none; }
.pcard-img-wrap.fallback-active .fallback-illus { display: flex; }
.pcard-img-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}

/* ── HERO BG — darken photo so parallax canvas pops ── */
.hero-bg::after {
  background: linear-gradient(135deg, rgba(6,14,30,0.96) 45%, rgba(232,93,4,0.12) 100%) !important;
}
#heroBgCanvas { mix-blend-mode: normal; }

/* ── ILLUSTRATED MACHINE CARD (gradient fallback) ── */
.pcard-img-illus {
  width:100%; height:140px; display:flex; align-items:center;
  justify-content:center; position:relative; overflow:hidden;
  transition: filter 0.4s;
  cursor: zoom-in;
}
.pcard-img-illus::before {
  content:''; position:absolute; inset:0;
  background: repeating-linear-gradient(45deg,rgba(255,255,255,0.02) 0px,rgba(255,255,255,0.02) 1px,transparent 1px,transparent 12px);
}
.pcard-img-illus::after {
  content:''; position:absolute; bottom:0; left:0; right:0; height:40%;
  background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
}
.pcard-img-illus span {
  font-size:4.5rem; line-height:1; position:relative; z-index:1;
  filter:drop-shadow(0 4px 20px rgba(0,0,0,0.6));
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.pcard:hover .pcard-img-illus span { transform: scale(1.18) translateY(-4px); }
.pcard:hover .pcard-img-illus { filter: brightness(1.15); }

/* -- LIGHTBOX OVERLAY -- */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,0.92); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  padding: 2rem;
}
.lightbox-overlay.active { opacity: 1; pointer-events: all; }

.lightbox-content {
  position: relative; max-width: 90%; max-height: 85%;
  display: flex; flex-direction: column; align-items: center;
  transform: scale(0.95); transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.lightbox-overlay.active .lightbox-content { transform: scale(1); }

.lightbox-content img {
  max-width: 100%; max-height: 80vh; object-fit: contain;
  border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  border: 1px solid rgba(255,255,255,0.1);
}

.lightbox-close {
  position: absolute; top: 2rem; right: 2rem;
  font-size: 3rem; color: #fff; cursor: pointer;
  line-height: 1; transition: transform 0.2s, color 0.2s;
  z-index: 3001; user-select: none;
}
.lightbox-close:hover { color: var(--primary); transform: scale(1.1); }

.lightbox-caption {
  margin-top: 1.5rem; color: #fff; font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem; font-weight: 700; text-align: center;
  letter-spacing: 1px; text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .lightbox-close { top: 1rem; right: 1.5rem; font-size: 2.5rem; }
  .lightbox-caption { font-size: 1.2rem; }
  .lightbox-content { max-width: 95%; }
}
