/* ==========================================================================
   GLOBAL RESET & CONTAINER SCAFFOLDING
   File: component.css (Mitsubishi Motors Edition)
   ========================================================================== */

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

body {
  margin: 0;
  padding: 0;
  background-color: var(--nx-bg-base, #f8f9fa);
  color: var(--nx-c-body, #4b5563);
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: var(--nx-fs-0, 1rem);
  line-height: var(--nx-lh-normal, 1.55);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   CONTAINER SYSTEM
   -------------------------------------------------------------------------- */
.nx-container-sm,
.nx-container-md,
.nx-container-lg {
  width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
  padding-block: 0;
  padding-inline: var(--nx-container-px, clamp(16px, 4vw, 32px));
}

.nx-container-sm {
  max-width: 840px;
}
.nx-container-md {
  max-width: 1140px;
}
.nx-container-lg {
  max-width: 1280px;
}

/* --------------------------------------------------------------------------
   SECTION SPACING & HELPERS
   -------------------------------------------------------------------------- */
.nx-section-sm {
  padding-block: clamp(24px, 4vw, 40px);
}

.nx-section-md,
.nx-usp-section,
.nx-pricing-section,
.nx-video-section,
.nx-cta-section,
.nx-media-section {
  padding-block: var(--nx-space-section-y, clamp(48px, 6vw, 80px));
}

.nx-bg-canvas {
  background-color: transparent;
}
.nx-bg-surface {
  background-color: var(--nx-bg-surface, #ffffff);
}
.nx-bg-tint {
  background-color: var(--nx-bg-tint-red, #fff5f5);
}
.nx-pt-0 {
  padding-top: 0;
}

/* --------------------------------------------------------------------------
   BUTTON SYSTEM (REVISED: ELEMENTOR PROOF)
   -------------------------------------------------------------------------- */
a.nx-btn,
button.nx-btn,
.nx-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--nx-space-xs, 8px) !important;
  padding: 12px 24px !important;
  border-radius: var(--nx-radius-pill, 9999px) !important;
  font-family: var(--font-body, system-ui, sans-serif) !important;
  font-size: var(--nx-fs-0, 0.9375rem) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease !important;
}

a.nx-btn.nx-btn-primary,
button.nx-btn.nx-btn-primary,
.nx-btn-primary {
  background-color: var(--nx-c-primary, #ed0000) !important;
  color: #ffffff !important;
  border-color: var(--nx-c-primary, #ed0000) !important;
  box-shadow: 0 4px 14px var(--nx-c-primary-glow, rgba(237, 0, 0, 0.25)) !important;
}

a.nx-btn.nx-btn-primary:hover,
button.nx-btn.nx-btn-primary:hover,
.nx-btn-primary:hover {
  background-color: var(--nx-c-primary-hover, #c50000) !important;
  border-color: var(--nx-c-primary-hover, #c50000) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(237, 0, 0, 0.35) !important;
}

a.nx-btn.nx-btn-outline,
button.nx-btn.nx-btn-outline,
.nx-btn-outline {
  background-color: #ffffff !important;
  color: var(--nx-c-primary, #ed0000) !important;
  border-color: var(--nx-c-primary, #ed0000) !important;
}

a.nx-btn.nx-btn-outline:hover,
button.nx-btn.nx-btn-outline:hover,
.nx-btn-outline:hover {
  background-color: var(--nx-bg-tint-red, #fff5f5) !important;
  transform: translateY(-2px) !important;
}

a.nx-btn.nx-btn-dark,
button.nx-btn.nx-btn-dark,
.nx-btn-dark {
  background-color: var(--nx-c-secondary, #121212) !important;
  color: #ffffff !important;
  border-color: var(--nx-c-secondary, #121212) !important;
}

a.nx-btn.nx-btn-dark:hover,
button.nx-btn.nx-btn-dark:hover,
.nx-btn-dark:hover {
  background-color: #262626 !important;
  transform: translateY(-2px) !important;
}

/* ==========================================================================
   1. HERO CAROUSEL NATIVE PEEK (ZERO JS SWIPE)
   ========================================================================== */
.nx-hero-slider-wrap {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  overflow: hidden;
}

.nx-hero-slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-block: 8px;
  cursor: grab;
}

.nx-hero-slider-track:active {
  cursor: grabbing;
}

.nx-hero-slider-track::-webkit-scrollbar {
  display: none;
}

.nx-hero-slider-item {
  position: relative;
  display: block;
  flex-shrink: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  text-decoration: none;
  overflow: hidden;
  background-color: var(--nx-bg-subtle, #f1f3f5);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.nx-hero-slider-item picture {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

.nx-hero-slider-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Mobile Peek: 86vw dengan sisa tepi mengintip */
@media (max-width: 767px) {
  .nx-hero-slider-track {
    gap: 12px;
    padding-inline: calc((100vw - 86vw) / 2);
    scroll-padding-inline: calc((100vw - 86vw) / 2);
  }

  .nx-hero-slider-item {
    flex: 0 0 86vw;
    border-radius: 14px;
  }

  .nx-hero-slider-item picture {
    aspect-ratio: 1 / 1;
  }
}

/* Desktop Peek: 88vw aspect-ratio landscape */
@media (min-width: 768px) {
  .nx-hero-slider-track {
    gap: 20px;
    padding-inline: calc((100vw - 88vw) / 2);
    scroll-padding-inline: calc((100vw - 88vw) / 2);
  }

  .nx-hero-slider-item {
    flex: 0 0 88vw;
    border-radius: 20px;
  }

  .nx-hero-slider-item picture {
    aspect-ratio: 1280 / 440;
  }
}

/* ==========================================================================
   2. SECTION HEADINGS & BASE CARDS
   ========================================================================== */
.nx-hero-content-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 10px;
  margin-bottom: clamp(24px, 3.5vw, 36px);
  width: 100%;
}

.nx-hero-content-top .nx-h2,
.nx-hero-content-top .nx-h3 {
  margin: 0;
  color: var(--nx-c-heading, #111827);
}

.nx-hero-content-top .nx-lead {
  margin: 0;
  color: var(--nx-c-body, #4b5563);
  max-width: 580px;
}

.nx-card {
  background: var(--nx-bg-surface, #ffffff);
  border-radius: var(--nx-radius-lg, 24px);
  border: 1px solid var(--nx-c-border, #e5e7eb);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--nx-shadow-card);
  width: 100%;
}

/* ==========================================================================
   3. FORM SIMULASI CICILAN & LEAD CAPTURE (REVISED: ELEMENTOR PROOF)
   ========================================================================== */
.nx-form-white {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.nx-form-row {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  width: 100% !important;
}

@media (min-width: 640px) {
  .nx-form-row {
    grid-template-columns: 1fr 1fr !important;
  }
}

.nx-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.nx-field label {
  font-family: var(--font-heading, system-ui, sans-serif) !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  color: var(--nx-c-heading, #111827) !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
}

/* Kuncian Input Field & Select agar kebal Elementor */
.nx-field input[type="text"],
.nx-field input[type="tel"],
.nx-field input[type="email"],
.nx-field input,
.nx-field select {
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  background-color: #f9fafb !important;
  border: 1px solid var(--nx-c-border, #e5e7eb) !important;
  border-radius: var(--nx-radius-sm, 8px) !important;
  font-family: var(--font-body, system-ui, sans-serif) !important;
  font-size: 0.9375rem !important;
  color: var(--nx-c-heading, #111827) !important;
  outline: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.nx-field input:focus,
.nx-field select:focus {
  background-color: #ffffff !important;
  border-color: var(--nx-c-primary, #ed0000) !important;
  box-shadow: 0 0 0 3px rgba(237, 0, 0, 0.15) !important;
}

.nx-field select {
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px !important;
  padding-right: 36px !important;
}

/* Kotak Hasil Simulasi Cicilan */
.nx-calc-result-box {
  background: var(--nx-bg-tint-red, #fff5f5) !important;
  border: 1px solid var(--nx-c-border-subtle, #fee2e2) !important;
  border-radius: var(--nx-radius-md, 16px) !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  text-align: center !important;
  margin-top: 4px !important;
  box-sizing: border-box !important;
}

.nx-calc-result-label {
  font-size: var(--nx-fs--1, 0.875rem) !important;
  color: var(--nx-c-body, #4b5563) !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

.nx-calc-result-val {
  font-size: var(--nx-fs-3, 1.875rem) !important;
  font-weight: 800 !important;
  color: var(--nx-c-primary, #ed0000) !important;
  line-height: 1.15 !important;
  margin: 0 !important;
}

/* Tombol Submit Form */
button.nx-form-submit,
.nx-form-submit {
  width: 100% !important;
  height: 50px !important;
  min-height: 50px !important;
  margin-top: 6px !important;
  padding: 0 20px !important;
  background-color: var(--nx-c-primary, #ed0000) !important;
  border: none !important;
  border-radius: var(--nx-radius-pill, 9999px) !important;
  color: #ffffff !important;
  font-family: var(--font-heading, system-ui, sans-serif) !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-shadow: 0 6px 18px rgba(237, 0, 0, 0.3) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  transition: all 0.25s ease !important;
}

button.nx-form-submit:hover,
.nx-form-submit:hover {
  background-color: var(--nx-c-primary-hover, #c50000) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(237, 0, 0, 0.4) !important;
}

.nx-form-response {
  width: 100% !important;
  margin-top: 4px !important;
  font-size: 0.8125rem !important;
  text-align: center !important;
}

/* ==========================================================================
   4. HIGHLIGHTS CARDS (SPESIFIKASI & FITUR UNIT)
   ========================================================================== */
.nx-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  width: 100%;
}

.nx-highlight-card {
  background: var(--nx-bg-surface, #ffffff);
  border-radius: var(--nx-radius-md, 16px);
  border: 1px solid var(--nx-c-border, #e5e7eb);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--nx-shadow-card);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.nx-highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--nx-c-primary, #ed0000);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.nx-highlight-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--nx-bg-tint-red, #fff5f5);
  color: var(--nx-c-primary, #ed0000);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nx-highlight-icon svg {
  width: 24px;
  height: 24px;
}

.nx-highlight-title {
  font-size: var(--nx-fs-1, 1.15rem);
  font-weight: 700;
  color: var(--nx-c-heading, #111827);
  margin: 0;
}

.nx-highlight-desc {
  font-size: var(--nx-fs--1, 0.875rem);
  color: var(--nx-c-body, #4b5563);
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   5. GAMBAR + FANCY BULLETS SECTION
   ========================================================================== */
.nx-media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  width: 100%;
}

@media (min-width: 992px) {
  .nx-media-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.nx-media-visual {
  position: relative;
  border-radius: var(--nx-radius-lg, 24px);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--nx-c-border, #e5e7eb);
}

.nx-media-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nx-fancy-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nx-fancy-bullet {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  padding: 16px 18px;
  border-radius: var(--nx-radius-md, 16px);
  border: 1px solid var(--nx-c-border, #e5e7eb);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.nx-fancy-bullet:hover {
  transform: translateX(4px);
  border-color: var(--nx-c-primary, #ed0000);
}

.nx-fancy-bullet-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: var(--nx-bg-tint-red, #fff5f5);
  color: var(--nx-c-primary, #ed0000);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nx-fancy-bullet-icon svg {
  width: 20px;
  height: 20px;
}

.nx-fancy-bullet-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--nx-c-heading, #111827);
  margin: 0 0 3px 0;
}

.nx-fancy-bullet-content p {
  font-size: 0.85rem;
  color: var(--nx-c-body, #4b5563);
  margin: 0;
  line-height: 1.45;
}

/* ==========================================================================
   6. CLOSING CTA SECTION & OFFICIAL SALES CARD
   ========================================================================== */
.nx-cta-section {
  background-color: var(--nx-bg-tint-red, #fff5f5);
  width: 100%;
}

.nx-asym-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--nx-space-md, 24px);
  align-items: start;
  width: 100%;
}

@media (min-width: 992px) {
  .nx-asym-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(24px, 3.5vw, 40px);
  }
}

/* Modifier untuk membalik kolom kiri & kanan */
@media (min-width: 992px) {
  .nx-asym-grid--reverse > :first-child {
    order: 2;
  }
  .nx-asym-grid--reverse > :last-child {
    order: 1;
  }
}

.nx-sales-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border: 1.5px solid var(--nx-c-border-strong, #d1d5db);
  border-radius: var(--nx-radius-lg, 24px);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.nx-sales-profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nx-sales-avatar-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.nx-sales-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--nx-c-primary, #ed0000);
  box-shadow: 0 4px 12px rgba(237, 0, 0, 0.2);
}

.nx-sales-badge-verified {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  background-color: var(--nx-c-primary, #ed0000);
  color: #ffffff;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nx-sales-badge-verified svg {
  width: 12px;
  height: 12px;
}

.nx-sales-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nx-sales-name {
  font-size: var(--nx-fs-1, 1.15rem);
  font-weight: 800;
  color: var(--nx-c-heading, #111827);
  line-height: 1.2;
}

.nx-sales-role {
  font-size: var(--nx-fs--1, 0.875rem);
  font-weight: 700;
  color: var(--nx-c-primary, #ed0000);
}

.nx-sales-coverage {
  font-size: var(--nx-fs--2, 0.75rem);
  color: var(--nx-c-muted, #9ca3af);
}

.nx-sales-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nx-sales-cta-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--nx-c-wa, #25d366);
  color: #ffffff !important;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: var(--nx-radius-pill, 9999px);
  font-size: var(--nx-fs-0, 0.9375rem);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.nx-sales-cta-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.nx-sales-cta-wa svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.nx-sales-legal-note {
  font-size: var(--nx-fs--2, 0.75rem);
  color: var(--nx-c-muted, #9ca3af);
  line-height: 1.4;
  text-align: center;
  margin: 0;
}

/* ==========================================================================
   7. TOP BANNER & MAIN FOOTER
   ========================================================================== */
.nx-top-banner {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background-color: #121212;
  color: #ffffff;
  padding: 8px 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.nx-top-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 1280px;
  margin-inline: auto;
}

.nx-top-banner-text {
  font-family: var(--font-heading, system-ui, sans-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
}

.nx-top-banner-btn-mobile,
.nx-top-banner-btn-desktop {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--nx-c-primary, #ed0000);
  text-decoration: none;
}

.nx-top-banner-btn-desktop {
  display: none;
  padding: 5px 14px;
  border-radius: var(--nx-radius-pill, 9999px);
  background-color: var(--nx-c-primary, #ed0000);
  color: #ffffff !important;
}

@media (min-width: 992px) {
  .nx-top-banner-btn-mobile {
    display: none;
  }
  .nx-top-banner-btn-desktop {
    display: inline-flex;
  }
}

.nx-main-footer {
  background-color: #111827;
  color: #9ca3af;
  padding: 24px 0;
  font-size: 0.825rem;
  width: 100%;
}

.nx-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .nx-footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.nx-copyright {
  color: #9ca3af;
  font-size: 0.8125rem;
}

.nx-footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.nx-footer-links a {
  color: #d1d5db;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nx-footer-links a:hover {
  color: #ffffff;
}
/* ==========================================================================
   GLOBAL HEADER GROUP (NEXWEB SCALEABLE PRIMITIVE)
   File: component.css
   ========================================================================== */

/* ==========================================================================
   HEADER GROUP (TYPOGRAPHIC PROXIMITY SYSTEM)
   File: component.css
   ========================================================================== */

.nx-header-group {
  display: flex;
  flex-direction: column;
  /* Jarak renggang dari kesatuan judul ke paragraf/body */
  gap: var(--nx-space-sm, 16px);
  width: 100%;
  margin: 0;
}
/* Wadah khusus eyebrow + heading agar rapat */
.nx-header-title-wrap {
  display: flex;
  flex-direction: column;
  /* Jarak sangat rapat antara eyebrow dan heading */
  gap: 4px;
}

/* Modifiers Alur Perataan */
.nx-header-group--start {
  align-items: flex-start;
  text-align: left;
}

.nx-header-group--center {
  align-items: center;
  text-align: center;
}

.nx-header-group--end {
  align-items: flex-end;
  text-align: right;
}

/* Modifier Ukuran Jarak Internal Teks */
.nx-header-group--tight {
  --nx-header-gap: 4px;
}

.nx-header-group--snug {
  --nx-header-gap: var(--nx-space-xs, 8px);
}

.nx-header-group--loose {
  --nx-header-gap: var(--nx-space-sm, 16px);
}

/* Kuncian Batas Lebar Paragraf (Optimal Reading Measure) */
.nx-header-group .nx-lead,
.nx-header-group .nx-body {
  max-width: var(--nx-header-measure, 62ch);
}

/* ==========================================================================
   FEATURE CARDS PEEK TRACK (5 CARDS HORIZONTAL SWIPE - ZERO JS)
   File: component.css
   ========================================================================== */

.nx-feature-peek-wrap {
  position: relative;
  width: 100%;
}

.nx-feature-peek-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  padding-block: 8px 16px;
  padding-inline: 0;
  margin: 0;
}

.nx-feature-peek-track:active {
  cursor: grabbing;
}

.nx-feature-peek-track::-webkit-scrollbar {
  display: none;
}

/* Base Feature Card */
.nx-feature-card {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  scroll-snap-align: start;
  background-color: var(--nx-bg-surface, #ffffff);
  border: 1px solid var(--nx-c-border, #e5e7eb);
  border-radius: var(--nx-radius-md, 16px);
  overflow: hidden;
  box-shadow: var(--nx-shadow-card, 0 8px 24px rgba(0, 0, 0, 0.05));
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.nx-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--nx-c-primary, #ed0000);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Image Container */
.nx-feature-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: var(--nx-bg-subtle, #f1f3f5);
  overflow: hidden;
}

.nx-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.nx-feature-card:hover .nx-feature-media img {
  transform: scale(1.04);
}

/* Area Konten Teks: Cukup pakai layout box dengan gap */
.nx-feature-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  flex-grow: 1;
}

/* Responsif Ukuran Kartu */
@media (max-width: 767px) {
  .nx-feature-card {
    flex: 0 0 80vw;
  }
}

@media (min-width: 768px) {
  .nx-feature-peek-track {
    gap: 20px;
  }

  .nx-feature-card {
    flex: 0 0 320px;
  }
}
/* Ketika container berada di atas latar gelap / video */
.nx-theme-dark .nx-h1,
.nx-theme-dark .nx-h2,
.nx-theme-dark .nx-h3,
.nx-theme-dark .nx-h4 {
  color: #ffffff;
}

.nx-theme-dark .nx-lead,
.nx-theme-dark .nx-body {
  color: rgba(255, 255, 255, 0.9);
}
/* Hero Video & Feature Strip */
.nx-hero-video-section {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--nx-c-secondary, #121212);
}

.nx-hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.nx-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 2;
}

.nx-hero-video-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--nx-space-md, 24px);
  padding: clamp(24px, 5vw, 48px) var(--nx-container-px, 16px);
  max-width: 1140px;
  margin-inline: auto;
}

.nx-theme-dark .nx-h1,
.nx-theme-dark .nx-h2,
.nx-theme-dark .nx-h3,
.nx-theme-dark .nx-h4 {
  color: #ffffff;
}

.nx-theme-dark .nx-lead,
.nx-theme-dark .nx-body {
  color: rgba(255, 255, 255, 0.9);
}

.nx-hero-brand-logo {
  height: clamp(38px, 5vw, 56px);
  width: auto;
  object-fit: contain;
}

.nx-feature-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
  width: 100%;
  max-width: 900px;
  margin-top: 12px;
}

@media (min-width: 768px) {
  .nx-feature-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
  }
}

.nx-feature-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.nx-feature-strip-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.nx-feature-strip-label {
  font-family: var(--font-body);
  font-size: var(--nx-fs--1);
  font-weight: 500;
  line-height: 1.3;
  color: inherit;
  margin: 0;
  text-align: left;
}
@media (min-width: 768px) {
  .nx-feature-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
  }
}

/* Fondasi flexbox dideklarasikan sekali untuk semua varian */
.nx-stack-sm,
.nx-stack-md,
.nx-stack-lg {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

/* Nilai gap diatur per ukuran */
.nx-stack-sm {
  gap: clamp(16px, 2.5vw, 24px); /* Untuk di dalam kartu atau form */
}

.nx-stack-md {
  gap: clamp(24px, 4vw, 40px); /* Standar antar-elemen section */
}

.nx-stack-lg {
  gap: clamp(32px, 5vw, 56px); /* Untuk section besar atau showcase */
}

/* Keadaan awal sebelum elemen masuk viewport */
.nx-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--nx-duration-entrance, 0.5s) var(--nx-ease-out, ease-out),
    transform var(--nx-duration-entrance, 0.5s) var(--nx-ease-out, ease-out);
  will-change: opacity, transform;
}

/* Keadaan aktif setelah terpicu scroll */
.nx-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay bertahap untuk item berjejer (kartu/strip) */
.nx-delay-1 {
  transition-delay: 0.1s;
}
.nx-delay-2 {
  transition-delay: 0.2s;
}
.nx-delay-3 {
  transition-delay: 0.3s;
}
.nx-delay-4 {
  transition-delay: 0.4s;
}

/* Respek preferensi sistem reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nx-fade-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   SURFACE CARD COMPONENT
   File: component.css
   ========================================================================== */

.nx-card {
  width: 100%;
  background-color: var(--nx-bg-surface, #ffffff);
  border: 1px solid var(--nx-c-border, #e5e7eb);
  border-radius: var(--nx-radius-lg, 24px);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--nx-shadow-card, 0 10px 30px rgba(0, 0, 0, 0.04));
  box-sizing: border-box;
}

/* Modifier untuk kartu form di tengah (lebar fokus baca & isi form) */
.nx-card-form {
  max-width: 640px;
  margin-inline: auto;
}

/* ==========================================================================
   VARIANT & COLOR SELECTOR (TEXT & COLOR SWATCHES ONLY)
   File: component.css
   ========================================================================== */

/* Visual Display Mobil Utama */
.nx-variant-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.nx-variant-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nx-variant-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Color Swatches Grid */
.nx-color-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nx-color-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Swatch Lingkaran Murni CSS (Tanpa Gambar) */
.nx-color-swatch {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--nx-c-border, #e5e7eb);
  cursor: pointer;
  padding: 0;
  outline-offset: 3px;
  transition:
    transform 0.2s ease,
    outline-color 0.2s ease;
}

.nx-color-swatch:hover {
  transform: scale(1.08);
}

.nx-color-swatch.is-active {
  outline: 2px solid var(--nx-c-heading, #0a0a0a);
}

/* Token Warna Khusus Mobil */
.nx-swatch--silver {
  background-color: #c5c7c8;
}
.nx-swatch--black {
  background-color: #121212;
}
.nx-swatch--gray {
  background-color: #4b4f54;
}
.nx-swatch--white {
  background-color: #f7f7f7;
}

/* ==========================================================================
   VARIANT BUTTON WITH DIAMOND BULLET
   File: component.css
   ========================================================================== */

.nx-variant-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.nx-variant-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background-color: var(--nx-bg-surface, #ffffff);
  border: 1px solid var(--nx-c-border, #e5e7eb);
  border-radius: var(--nx-radius-md, 16px);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

/* Bullet Bentuk Diamond (Rotated Square) */
.nx-variant-bullet {
  width: 9px;
  height: 9px;
  background-color: var(--nx-c-muted, #9ca3af);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.nx-variant-btn .nx-h4 {
  margin: 0;
  color: var(--nx-c-heading, #0a0a0a);
}

/* State Hover Lembut (Halus & Tidak Menusuk Mata) */
.nx-variant-btn:hover {
  border-color: #cbd5e1;
  background-color: rgba(0, 0, 0, 0.015);
}

.nx-variant-btn:hover .nx-variant-bullet {
  background-color: var(--nx-c-muted, #6b7280);
}

/* State Aktif (Border & Diamond Merah Mitsubishi) */
.nx-variant-btn.is-active {
  border-color: var(--nx-c-primary, #ed0000);
  background-color: var(--nx-bg-subtle, #f9fafb);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.nx-variant-btn.is-active .nx-variant-bullet {
  background-color: var(--nx-c-primary, #ed0000);
  transform: rotate(45deg) scale(1.15);
}

/* ==========================================================================
   FEATURE DETAIL & MEDIA SECTION
   File: component.css
   ========================================================================== */

/* Wadah Media Universal (Gambar saat ini, Video di masa depan) */
.nx-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--nx-bg-subtle, #f1f3f5);
  border-radius: var(--nx-radius-lg, 24px);
  overflow: hidden;
  border: 1px solid var(--nx-c-border, #e5e7eb);
}

.nx-media-wrap img,
.nx-media-wrap video,
.nx-media-wrap iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}

/* Bullet List dengan Diamond Shape */
.nx-diamond-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nx-diamond-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.nx-diamond-bullet {
  width: 7px;
  height: 7px;
  background-color: var(--nx-c-primary, #ed0000);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-top: 7px; /* Selaras dengan tinggi baris teks */
}

.nx-diamond-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Tipografi List Berskala Editorial Luxury */
.nx-diamond-text {
  font-size: clamp(
    1.0625rem,
    1.35vw,
    1.25rem
  ); /* 17px mobile -> 20px desktop */
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--nx-c-heading, #0a0a0a);
  transition: color 0.2s ease;
}

/* ==========================================================================
   STYLE GUIDE DOCUMENTATION ADDON (NEW NEXWEB SYSTEM)
   File: component.css (Tambahan di paling bawah)
   ========================================================================== */

.sg-container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 24px) !important;
  background-color: var(--nx-bg-surface, #ffffff) !important;
  box-sizing: border-box !important;
}

.sg-header {
  border-bottom: 2px solid var(--nx-c-border, #e5e7eb) !important;
  padding-bottom: 24px !important;
  margin-bottom: 40px !important;
}

.sg-section {
  margin-bottom: 48px !important;
  padding-bottom: 40px !important;
  border-bottom: 1px solid var(--nx-c-border, #e5e7eb) !important;
}

.sg-title {
  font-family: var(--font-heading, system-ui, sans-serif) !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--nx-c-heading, #111827) !important;
  margin: 0 0 24px 0 !important;
}

/* 1. Swatch Kotak Palet Warna */
.sg-grid-color {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
}

.sg-swatch {
  border: 1px solid var(--nx-c-border, #e5e7eb) !important;
  border-radius: var(--nx-radius-sm, 8px) !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.sg-swatch-box {
  height: 90px !important;
  width: 100% !important;
}

.sg-swatch-meta {
  padding: 10px 12px !important;
  font-size: 0.8125rem !important;
  color: var(--nx-c-muted, #6b7280) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  font-family: var(--font-mono, monospace) !important;
}

.sg-swatch-name {
  font-weight: 700 !important;
  color: var(--nx-c-heading, #111827) !important;
  font-family: var(--font-body, system-ui, sans-serif) !important;
}

/* 2. Baris Uji Tipografi */
.sg-type-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin-bottom: 24px !important;
}

.sg-type-meta {
  font-size: 0.75rem !important;
  font-family: var(--font-mono, monospace) !important;
  color: var(--nx-c-muted, #9ca3af) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

/* 3. Pembungkus Tombol Demo */
.sg-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 16px !important;
}