@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');
/* ─── Krunai Flash Mart SHARED DESIGN SYSTEM ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0A0F1E;
  --ink-soft: #1C2340;
  --surface: #F5F3EE;
  --white: #FFFFFF;
  --saffron: #F97316;
  --saffron-deep: #C2530A;
  --emerald: #10B981;
  --emerald-soft: #D1FAE5;
  --slate: #64748B;
  --slate-light: #E2E8F0;
  --accent-yellow: #FCD34D;
  --fs-hero: clamp(2.8rem, 6vw, 5.5rem);
  --fs-h2: clamp(2rem, 3.5vw, 3.2rem);
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(10,15,30,0.10);
  --shadow-lg: 0 16px 48px rgba(10,15,30,0.16);
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--surface); color: var(--ink); line-height: 1.65; overflow-x: hidden; }
h1,h2,h3,h4,h5 { font-family: 'Syne', sans-serif; line-height: 1.15; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5%;
  background: rgba(10,15,30,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.5rem; color: #fff; letter-spacing: -0.03em; white-space: nowrap; }
.nav-logo span { color: var(--saffron); }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.72); font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--saffron); }
.nav-cta { background: var(--saffron) !important; color: var(--ink) !important; padding: 0.55rem 1.4rem !important; border-radius: 100px !important; font-weight: 700 !important; font-size: 0.88rem !important; transition: background 0.2s, transform 0.15s !important; }
.nav-cta:hover { background: var(--accent-yellow) !important; transform: scale(1.04); }

/* --- MOBILE NAVIGATION --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 4px 0;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 64px;
    right: 0;
    background: rgba(10,15,30,0.98);
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
    padding: 2rem 5%;
    width: 70vw;
    max-width: 320px;
    height: calc(100vh - 64px);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.3s;
    z-index: 105;
    display: flex;
  }
  .nav-links.nav-open {
    transform: translateX(0);
  }
  .nav-links li {
    display: block !important;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links li:not(:last-child) { display: none; }
}
@media (max-width: 600px) {
  nav { padding: 1rem 4%; }
  .nav-links {
    top: 56px;
    padding: 1.5rem 6%;
    width: 90vw;
    max-width: 100vw;
    height: calc(100vh - 56px);
  }
  .footer-grid { grid-template-columns: 1fr; }
}

/* BUTTONS */
.btn-primary { background: var(--saffron); color: var(--ink); padding: 1rem 2.2rem; border-radius: 100px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; border: none; cursor: pointer; transition: all 0.22s; display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-primary:hover { background: var(--accent-yellow); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,0.4); }
.btn-secondary { background: transparent; color: var(--ink); padding: 1rem 2.2rem; border-radius: 100px; font-family: 'Syne', sans-serif; font-weight: 600; font-size: 1rem; border: 1.5px solid var(--slate-light); cursor: pointer; transition: all 0.22s; display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-secondary:hover { border-color: var(--saffron); color: var(--saffron); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; padding: 1.1rem 2.5rem; border-radius: 100px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.05rem; border: none; cursor: pointer; transition: all 0.22s; display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-dark:hover { background: #0F1729; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(10,15,30,0.3); }

/* SECTION SHARED */
section { scroll-margin-top: 80px; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 7rem 5%; }
.section-tag { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--saffron); margin-bottom: 1rem; }
.section-title { font-size: var(--fs-h2); font-weight: 800; margin-bottom: 1.2rem; }
.section-title .em { color: var(--saffron); }
.section-lead { font-size: 1.15rem; color: var(--slate); max-width: 600px; font-weight: 300; line-height: 1.7; }

/* PAGE HERO BANNER (inner pages) */
.page-hero {
  background: var(--ink);
  padding: 10rem 5% 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(249,115,22,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(249,115,22,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
}
.page-hero-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.15; }
.page-hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }
.page-hero-tag { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(249,115,22,0.15); border: 1px solid rgba(249,115,22,0.35); color: var(--saffron); padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1.5rem; }
.page-hero h1 { font-size: var(--fs-hero); color: #fff; font-weight: 800; margin-bottom: 1.2rem; }
.page-hero p { font-size: 1.2rem; color: rgba(255,255,255,0.6); font-weight: 300; max-width: 600px; }

/* TRUST BAR */
.trust-bar { background: var(--ink); padding: 1.6rem 5%; display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.trust-bar-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); white-space: nowrap; }
.trust-items { display: flex; gap: 2.5rem; flex-wrap: wrap; align-items: center; }
.trust-item { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.55); transition: color 0.2s; white-space: nowrap; }
.trust-item:hover { color: var(--saffron); }

/* FOOTER */
footer { background: #060C1A; color: rgba(255,255,255,0.5); padding: 4rem 5% 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.75; max-width: 260px; margin-top: 1rem; }
.footer-col h5 { font-family: 'Syne', sans-serif; font-size: 0.85rem; font-weight: 700; color: #fff; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.45); transition: color 0.2s; display: inline-flex; align-items: center; gap: 0.45rem; }
.footer-links a svg { flex-shrink: 0; }
.footer-links a:hover { color: var(--saffron); }
.footer-links a[href^="mailto"]::before { font-family: "Font Awesome 6 Free"; font-weight: 400; content: "\f0e0"; }
.footer-links a[href^="https://wa.me"]::before { font-family: "Font Awesome 6 Brands"; content: "\f232"; }
.footer-links a[href*="facebook"]::before { font-family: "Font Awesome 6 Brands"; content: "\f39e"; }
.footer-links a[href*="instagram"]::before { font-family: "Font Awesome 6 Brands"; content: "\f16d"; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; }

/* CTA SECTION */
.cta-section { background: var(--saffron); position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(10,15,30,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(10,15,30,0.08) 1px, transparent 1px); background-size: 48px 48px; }
.cta-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; padding: 8rem 5%; text-align: center; }
.cta-inner h2 { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--ink); margin-bottom: 1.2rem; }
.cta-inner p { font-size: 1.2rem; color: rgba(10,15,30,0.65); margin-bottom: 2.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.btn-outline-dark { background: transparent; color: var(--ink); padding: 1.1rem 2.5rem; border-radius: 100px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.05rem; border: 2px solid rgba(10,15,30,0.4); cursor: pointer; transition: all 0.22s; }
.btn-outline-dark:hover { border-color: var(--ink); background: rgba(10,15,30,0.08); transform: translateY(-3px); }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }




/* --- ORIGINAL PRODUCTS PROFESSIONAL CARD STYLE --- */
.original-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Always two per row on desktop */
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .original-products-grid {
    grid-template-columns: 1fr; /* Stack on mobile/tablet */
  }
}

.original-product-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px 0 rgba(16, 24, 40, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid #f3f4f6;
}

.original-product-card:hover {
  box-shadow: 0 8px 32px 0 rgba(249, 115, 22, 0.13);
  transform: translateY(-4px) scale(1.02);
}

.op-image-wrap {
  background: linear-gradient(135deg, #fffbe6 60%, #fff7cc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 170px;
  position: relative;
}

.op-image-wrap img {
  max-height: 110px;
  max-width: 90%;
  object-fit: contain;
  margin-top: 18px;
  margin-bottom: 18px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.07));
  border-radius: 0.5rem;
  background: transparent;
}

.op-body {
  padding: 1.5rem 1.25rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.op-cat {
  color: #f97316;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.op-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #22223b;
}

.op-desc {
  font-size: 0.98rem;
  color: #5c5c6c;
  margin-bottom: 1.1rem;
  flex: 1;
}

.op-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f3f4f6;
  padding-top: 0.8rem;
  font-size: 0.98rem;
}

.op-moq {
  color: #6b7280;
}

.op-moq strong {
  color: #22223b;
  font-weight: 700;
}

.op-enquire {
  color: #f97316;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.18s;
}

.op-enquire:hover {
  color: #b45309;
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links li:not(:last-child) { display: none; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
