/* ============================================
   3D Illustration Styles (SVG + clay PNG)
   ============================================ */

.svg-illustration {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  z-index: 0;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  pointer-events: none;
}

.svg-illustration svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  will-change: transform, opacity;
}

/* Clay PNG — single image */
.clay-png {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  will-change: transform, opacity;
}

/* Hero composite — dashboard + floating shield */
.clay-hero-composite {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: visible;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 14%;
  box-sizing: border-box;
}

.clay-hero-composite__scene {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.clay-hero-composite__dashboard {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
  will-change: transform;
}

.clay-hero-composite__shield {
  position: absolute;
  top: 2%;
  right: 1%;
  left: auto;
  transform: none;
  width: 28%;
  max-width: 140px;
  min-width: 72px;
  height: auto;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

/* Login composite — shield + book accent */
.clay-login-composite {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clay-login-composite__shield {
  display: block;
  width: 72%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  will-change: transform;
}

.clay-login-composite__book {
  display: block;
  width: 72%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  opacity: 0.95;
  pointer-events: none;
  will-change: transform;
}

/* Hero — compliance dashboard mockup */
.illustration-hero {
  min-height: 280px;
  max-height: 420px;
  max-width: 560px;
  margin: 0 auto;
  pointer-events: auto;
  overflow: visible;
}

.landing-hero-band__visual .illustration-hero {
  width: 100%;
  max-width: 520px;
}

.svg-illustration.illustration-hero {
  overflow: visible;
}

/* ROI — Tanpa RCS / Dengan RCS comparison duo */
.illustration-roi.illustration-roi-contrast {
  height: auto;
  max-height: none;
  max-width: 100%;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.clay-png--roi-contrast {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

/* Pricing — above tier cards */
.illustration-pricing {
  height: 140px;
  max-height: 140px;
  max-width: 560px;
  margin: var(--space-4) auto var(--space-5);
}

/* Sectors — compliance coverage header split (dark bento section) */
.illustration-sectors {
  width: 100%;
  height: auto;
  min-height: 160px;
  max-height: 240px;
  max-width: 440px;
  margin: 0 auto;
  object-fit: contain;
}
.sectors-split__visual .illustration-sectors {
  max-width: 100%;
}

/* Login — shield beside copy */
.illustration-login {
  min-height: 280px;
  max-height: 380px;
  max-width: 440px;
  margin: 0 auto var(--space-4);
  pointer-events: auto;
  flex-shrink: 0;
}

/* Keep section content above any bleed */
.landing-section,
.landing-section-inner,
.roi-split,
.sectors-split,
.pain-contrast,
.persona-grid,
.pricing-grid,
.faq-list {
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .illustration-hero {
    min-height: 200px;
    max-height: 300px;
    max-width: 100%;
  }
  .clay-hero-composite__shield {
    width: 30%;
    max-width: 120px;
  }
  .clay-login-composite__book { width: 32%; max-width: 110px; }
}

@media (max-width: 480px) {
  .illustration-hero { min-height: 160px; max-height: 240px; }
  .clay-hero-composite__shield { width: 28%; max-width: 96px; }
  .illustration-login { display: none; }
  .illustration-pricing {
    height: 100px;
    max-height: 100px;
  }
  .sectors-split__visual .illustration-sectors {
    display: none;
  }
}
