:root {
  --black: #080808;
  --ink: #121212;
  --muted: #646464;
  --line: #e8e8e8;
  --surface: #f5f5f7;
  --white: #ffffff;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 22px 60px rgba(0,0,0,.08);
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
address { font-style: normal; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 12px 16px;
  background: var(--black);
  color: white;
  border-radius: 12px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 30px rgba(0,0,0,.05);
}
.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1; letter-spacing: .12em; }
.brand-copy strong { font-size: 14px; font-weight: 800; }
.brand-copy small { font-size: 8px; margin-top: 6px; font-weight: 700; letter-spacing: .34em; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.primary-nav a {
  font-size: 14px;
  color: #2a2a2a;
  transition: opacity .2s ease;
}
.primary-nav a:hover { opacity: .55; }
.header-cta { justify-self: end; }
.menu-button { display: none; }

.button {
  min-height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 650;
  font-size: 14px;
  letter-spacing: -.01em;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--black); color: var(--white); box-shadow: 0 10px 26px rgba(0,0,0,.16); }
.button-dark:hover { background: #282828; }
.button-light { border-color: #cfcfcf; background: rgba(255,255,255,.72); }
.button-light:hover { background: white; box-shadow: 0 10px 30px rgba(0,0,0,.07); }
.button-white { background: white; color: var(--black); box-shadow: 0 12px 34px rgba(0,0,0,.26); }

.hero {
  min-height: calc(100svh - 76px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 72% 42%, rgba(230,232,235,.72), rgba(255,255,255,0) 36%),
    linear-gradient(180deg, #fff 0%, #fbfbfc 100%);
}
.hero-grid {
  min-height: 720px;
  display: grid;
  grid-template-columns: .83fr 1.17fr;
  align-items: center;
  gap: 36px;
  padding-block: 86px 72px;
  position: relative;
  z-index: 2;
}
.eyebrow {
  margin: 0 0 24px;
  color: #5c5c5c;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(58px, 6.5vw, 98px);
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 780;
}
.hero-description {
  max-width: 480px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: -.015em;
}
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
  color: #6f6f6f;
  font-size: 12px;
}
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: #111;
}
.hero-visual { position: relative; min-height: 590px; display: grid; place-items: center; }
.hero-visual img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 36px 36px rgba(0,0,0,.14));
  animation: float 7s ease-in-out infinite;
}
.hero-glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 120px 60px rgba(255,255,255,.95);
}
.hero-badge {
  position: absolute;
  left: 3%;
  bottom: 11%;
  z-index: 3;
  padding: 16px 18px;
  display: grid;
  gap: 4px;
  min-width: 170px;
  border: 1px solid rgba(255,255,255,.84);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
}
.hero-badge strong { font-size: 14px; }
.hero-badge span { color: var(--muted); font-size: 12px; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.hero-orb-one { width: 300px; height: 300px; right: -160px; top: 6%; background: rgba(235,235,235,.5); }
.hero-orb-two { width: 160px; height: 160px; left: -90px; bottom: 7%; background: rgba(245,245,245,.85); }

.section { padding: 120px 0; }
.categories { background: var(--surface); }
.section-heading {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 54px;
}
.section-heading .eyebrow { margin-bottom: 15px; }
.section-heading h2,
.standards h2,
.custom-section h2,
.market-panel h2,
.cta-section h2 {
  margin: 0;
  font-size: clamp(44px, 5vw, 74px);
  line-height: .98;
  letter-spacing: -.055em;
}
.section-heading > p,
.standards-copy > p,
.custom-copy > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}
.category-card {
  min-height: 225px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,.055);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.84);
  box-shadow: 0 12px 40px rgba(0,0,0,.04);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: white; }
.category-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 17px;
  background: #f0f0f1;
}
.category-icon svg { width: 31px; height: 31px; }
.category-card h3 { margin: auto 0 8px; font-size: 20px; letter-spacing: -.03em; }
.category-card > span:last-child { color: var(--muted); font-size: 13px; }
.category-card-dark { background: var(--black); color: white; }
.category-card-dark:hover { background: #181818; }
.category-card-dark .category-icon { background: rgba(255,255,255,.12); }
.category-card-dark > span:last-child { color: rgba(255,255,255,.6); }

.featured { background: white; }
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.product-card {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(0,0,0,.04);
}
.product-card-large { grid-column: 1 / -1; min-height: 720px; }
.product-copy { position: relative; z-index: 2; padding: 44px 44px 0; max-width: 560px; }
.product-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.product-copy h3 { margin: 0; font-size: clamp(32px, 4vw, 54px); line-height: 1.02; letter-spacing: -.05em; }
.product-copy p:not(.product-kicker) { margin: 16px 0 0; color: var(--muted); line-height: 1.55; }
.product-copy a {
  margin-top: 22px;
  display: inline-flex;
  gap: 8px;
  font-weight: 650;
  font-size: 14px;
}
.product-copy a span { transition: transform .2s ease; }
.product-copy a:hover span { transform: translate(3px,-3px); }
.product-card img {
  width: 92%;
  height: 390px;
  margin: auto auto 0;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.product-card:hover img { transform: scale(1.025); }
.product-card-large img { height: 500px; width: 80%; }
.product-card-dark { background: #0d0d0d; color: white; }
.product-card-dark .product-kicker,
.product-card-dark .product-copy p:not(.product-kicker) { color: rgba(255,255,255,.6); }
.product-card-dark img { mix-blend-mode: normal; filter: brightness(1.08); }

.standards { background: var(--surface); }
.standards-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 80px;
  align-items: start;
}
.standards-copy { position: sticky; top: 130px; }
.standards-copy .eyebrow { margin-bottom: 16px; }
.standards-copy > p { margin-top: 28px; }
.standard-cards { display: grid; gap: 14px; }
.standard-card {
  min-height: 230px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid rgba(0,0,0,.05);
  box-shadow: 0 12px 40px rgba(0,0,0,.035);
}
.standard-number {
  display: inline-flex;
  margin-bottom: 48px;
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}
.standard-card h3 { margin: 0 0 13px; font-size: 26px; letter-spacing: -.035em; }
.standard-card p { max-width: 570px; margin: 0; color: var(--muted); line-height: 1.65; }

.custom-section {
  position: relative;
  overflow: hidden;
  padding: 130px 0;
  background: var(--black);
  color: white;
}
.custom-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 100px;
  align-items: center;
}
.eyebrow-light { color: rgba(255,255,255,.55); }
.custom-copy > p { color: rgba(255,255,255,.64); margin-top: 30px; }
.custom-copy .button { margin-top: 34px; }
.custom-specs { display: grid; border-top: 1px solid rgba(255,255,255,.16); }
.custom-specs div {
  min-height: 78px;
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.custom-specs strong { color: rgba(255,255,255,.42); font-size: 12px; letter-spacing: .1em; }
.custom-specs span { font-size: 18px; letter-spacing: -.02em; }
.custom-lines {
  position: absolute;
  inset: -30% -20% auto auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 0 0 80px rgba(255,255,255,.016),
    0 0 0 160px rgba(255,255,255,.012),
    0 0 0 240px rgba(255,255,255,.009);
}

.markets { background: white; }
.market-panel {
  min-height: 600px;
  padding: 72px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius-xl);
  color: white;
  background:
    linear-gradient(135deg, rgba(0,0,0,.12), rgba(0,0,0,.8)),
    url("../assets/images/product-range-dark.webp") center 42% / cover no-repeat;
  box-shadow: var(--shadow);
}
.market-panel .eyebrow { color: rgba(255,255,255,.65); }
.market-panel h2 { max-width: 820px; font-size: clamp(48px, 6vw, 84px); }
.market-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}
.market-list span {
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  font-size: 13px;
}

.cta-section {
  padding: 120px 0;
  text-align: center;
  color: white;
  background:
    radial-gradient(circle at 50% -30%, #444 0, transparent 55%),
    #080808;
}
.cta-inner { max-width: 850px; }
.cta-section .eyebrow { margin-bottom: 20px; }
.cta-section h2 { font-size: clamp(54px, 7vw, 92px); }
.cta-section p {
  max-width: 520px;
  margin: 26px auto 34px;
  color: rgba(255,255,255,.62);
  font-size: 17px;
  line-height: 1.6;
}

.site-footer { padding: 72px 0 28px; background: white; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .7fr .95fr 1.15fr;
  gap: 50px;
}
.footer-brand > p { max-width: 280px; margin-top: 20px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.footer-column { display: flex; flex-direction: column; gap: 12px; }
.footer-column h3 { margin: 0 0 10px; color: #8b8b8b; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.footer-column a,
.footer-column address { color: #444; font-size: 13px; line-height: 1.6; }
.footer-column a:hover { color: black; }
.footer-bottom {
  margin-top: 58px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #8a8a8a;
  font-size: 11px;
  border-top: 1px solid var(--line);
}

.floating-whatsapp {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #111;
  box-shadow: 0 18px 40px rgba(0,0,0,.24);
  transition: transform .2s ease, background .2s ease;
}
.floating-whatsapp:hover { transform: translateY(-3px) scale(1.03); background: #242424; }
.floating-whatsapp svg { width: 27px; height: 27px; fill: currentColor; stroke: none; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1024px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .primary-nav { display: none; }
  .menu-button {
    justify-self: end;
    width: 44px; height: 44px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 10px;
    border: 0;
    background: transparent;
  }
  .menu-button span {
    width: 23px; height: 1.5px;
    background: #111;
    transition: transform .2s ease, opacity .2s ease;
  }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .header-cta { display: none; }
  .primary-nav.is-open {
    position: fixed;
    inset: 76px 0 auto 0;
    min-height: calc(100vh - 76px);
    padding: 40px 24px 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(255,255,255,.98);
  }
  .primary-nav.is-open a {
    width: 100%;
    padding: 18px 0;
    font-size: 28px;
    font-weight: 650;
    border-bottom: 1px solid var(--line);
  }
  .hero-grid { grid-template-columns: 1fr; padding-top: 72px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-visual { min-height: 520px; }
  .hero-visual img { width: min(800px, 100%); }
  .hero-badge { left: 10%; bottom: 8%; text-align: left; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .standards-grid { grid-template-columns: 1fr; }
  .standards-copy { position: static; }
  .custom-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 66px; }
  .primary-nav.is-open { top: 66px; }
  .brand img { width: 30px; height: 30px; }
  .brand-copy strong { font-size: 12px; }
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; padding: 68px 0 38px; gap: 24px; }
  .hero h1 { font-size: clamp(52px, 16vw, 72px); }
  .hero-description { font-size: 16px; }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-proof { justify-content: center; gap: 10px 14px; }
  .hero-visual { min-height: 330px; }
  .hero-badge { display: none; }
  .section { padding: 84px 0; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2,
  .standards h2,
  .custom-section h2,
  .market-panel h2,
  .cta-section h2 { font-size: clamp(42px, 13vw, 60px); }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .category-card { min-height: 170px; padding: 18px; border-radius: 20px; }
  .category-icon { width: 45px; height: 45px; border-radius: 14px; }
  .category-icon svg { width: 26px; height: 26px; }
  .category-card h3 { font-size: 16px; }
  .category-card > span:last-child { font-size: 11px; }
  .featured-grid { grid-template-columns: 1fr; }
  .product-card,
  .product-card-large { grid-column: auto; min-height: 540px; border-radius: 24px; }
  .product-copy { padding: 30px 26px 0; }
  .product-card img,
  .product-card-large img { width: 96%; height: 300px; }
  .standard-card { min-height: 215px; padding: 26px; }
  .custom-section { padding: 88px 0; }
  .market-panel { min-height: 540px; padding: 30px 24px; border-radius: 24px; background-position: 56% center; }
  .cta-section { padding: 92px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Revisi Desktop Flaf Metal V2 ===== */

@media (min-width: 1025px) {
  /* Logo sedikit lebih dominan */
  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  /* Hero product lebih besar */
 .hero-visual img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  margin: 20px auto 0;
}
  }

  /* Satu produk besar + tiga produk sejajar */
  .featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-card-large {
    grid-column: 1 / -1;
    min-height: 680px;
  }

  .product-card-large img {
    width: 90%;
    height: 520px;
  }

  .featured-grid .product-card:not(.product-card-large) {
    min-height: 560px;
  }

  .product-card:not(.product-card-large) img {
    width: 96%;
    height: 340px;
  }

  /* Card standar lebih padat */
  .standard-card {
    min-height: 190px;
    padding: 28px;
  }

  .standard-number {
    margin-bottom: 28px;
  }
}

/* Teks kecil kategori lebih mudah dibaca */
.category-card > span:last-child {
  color: #4f4f4f;
}
/* ===== FLAF METAL DESKTOP REVISION V2 ===== */

@media screen and (min-width: 1025px) {
  .featured-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }

  .featured-grid > .product-card-large {
    grid-column: 1 / -1 !important;
    min-height: 680px !important;
  }

  .featured-grid > .product-card-large img {
    width: 90% !important;
    height: 500px !important;
  }

  .featured-grid > .product-card:not(.product-card-large) {
    grid-column: auto !important;
    min-height: 560px !important;
  }

  .featured-grid > .product-card:not(.product-card-large) img {
    width: 96% !important;
    height: 340px !important;
  }
}

.category-card > span:last-child {
  color: #4f4f4f !important;
}

/* ===== RAPikan CATEGORY CARD ===== */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.category-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-height: 360px !important;
  padding: 18px 18px 22px !important;
  border-radius: 24px;
  overflow: hidden;
}

.category-image {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.category-card-copy {
  margin-top: auto;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.category-card-copy h3 {
  margin: 0 0 4px;
  line-height: 1.15;
}

.category-card-copy span {
  margin: 0;
  line-height: 1.35;
}

@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 320px !important;
  }

  .category-image {
    height: 190px;
  }
}