/* ========================================
   DEARTBOX PACKAGING - ORGANIZED CSS
   Clean architecture, zero visual changes
   ======================================== */



/* ================ DESIGN IMPROVEMENTS ================ */

/* Micro-interactions - Ripple Effect */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
  width: 300px;
  height: 300px;
}

/* Apply ripple to buttons */
.btn-hero-primary,
.btn-cta-wa,
.btn-submit-rfq,
.sticky-cta {
  position: relative;
  overflow: hidden;
}

/* Glassmorphism Effects */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Mobile menu glassmorphism */
.mobile-menu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.mobile-overlay {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Sticky header glassmorphism on scroll */
header.scrolled {
  background: var(--header-bg);
  -webkit-backdrop-filter: var(--header-backdrop);
  backdrop-filter: var(--header-backdrop);
  box-shadow: var(--header-shadow);
  border-bottom: 1px solid var(--header-border);
}

header.scrolled::before {
  background: var(--header-bg);
  -webkit-backdrop-filter: var(--header-backdrop);
  backdrop-filter: var(--header-backdrop);
}

/* Card hover glow effect */
.feature-card,
.testimonial-card {
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 0.84, 0.44, 1);
}

.feature-card::before,
.testimonial-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: linear-gradient(45deg, var(--accent), var(--accent-2), var(--accent));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  filter: blur(8px);
}

.feature-card:hover::before,
.testimonial-card:hover::before {
  opacity: 0;
}

.feature-card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Button magnetic effect (subtle) */
@media (hover: hover) and (pointer: fine) {
  .btn-hero-primary,
  .btn-cta-wa,
  .btn-submit-rfq,
  .sticky-cta,
  .btn-wa-compact {
    transition: transform 0.2s cubic-bezier(0.16, 0.84, 0.44, 1);
  }
  
  .btn-hero-primary:hover,
  .btn-cta-wa:hover,
  .btn-submit-rfq:hover,
  .sticky-cta:hover,
  .btn-wa-compact:hover {
    transform: translateY(-3px);
  }

  .btn-hero-secondary {
    transition: transform 0.2s cubic-bezier(0.16, 0.84, 0.44, 1);
  }

  .btn-hero-secondary:hover {
    transform: translateY(-2px);
  }
}

@media (hover: hover) and (pointer: fine) {
  .reveal {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
  }

  .reveal.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .delay-1 {
    transition-delay: 90ms;
  }

  .delay-2 {
    transition-delay: 180ms;
  }

  .delay-3 {
    transition-delay: 270ms;
  }
}

@media (max-width: 767px) {
  .features-modern,
  .showcase-section,
  .process-section,
  .testimonials-section,
  .rfq-section,
  footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
  }
}

/* Loading skeleton for images */
.skeleton {
  background: linear-gradient(90deg, rgba(189, 195, 199, 0.35) 25%, rgba(189, 195, 199, 0.55) 50%, rgba(189, 195, 199, 0.35) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

[data-theme="dark"] .skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 25%, rgba(255, 255, 255, 0.10) 50%, rgba(255, 255, 255, 0.06) 75%);
}

/* Smooth color transitions */
*:where(
  body,
  header,
  a,
  button,
  input,
  select,
  textarea,
  summary,
  .btn-hero-primary,
  .btn-hero-secondary,
  .cta-nav,
  .cta-nav-secondary,
  .feature-card,
  .showcase-item,
  .testimonial-card,
  .marketplace-card,
  .mobile-menu,
  .mobile-overlay
) {
  transition-property: background-color, border-color, color, fill, stroke;
  transition-duration: 0.2s;
  transition-timing-function: ease;
}

/* Performance hints for animated elements */
.hero-slide,
.marquee-track {
  will-change: transform;
}

.mobile-menu,
.mobile-overlay {
  will-change: transform, opacity;
}

/* Focus visible improvements */
*:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
  transition: outline-offset 0.2s ease;
}

/* Improved link underline animation */
a:not(.btn-hero-primary):not(.btn-cta-wa):not(.sticky-cta) {
  position: relative;
}

.footer-links a:not(.footer-address-link)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

/* Improved form input focus */
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--green-rgb), 0.12);
}

/* Testimonial card quote mark */
.testimonial-text::before {
  content: '"';
  font-size: 48px;
  line-height: 0;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: 20px;
  left: 20px;
}

.testimonial-card {
  position: relative;
}

/* Showcase item overlay improvement */
.showcase-item {
  position: relative;
  overflow: hidden;
}

.showcase-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.showcase-item:hover::after {
  opacity: 1;
}

.showcase-overlay {
  position: relative;
  z-index: 2;
}

/* Hero badge shine effect */
.hero-badge {
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  50%, 100% {
    left: 100%;
  }
}

/* Improved shadow on scroll */
.shadow-scroll {
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

.shadow-scroll.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}


/* ================ ACCESSIBILITY - SKIP TO CONTENT ================ */

.skip-to-content {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent);
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 600;
  z-index: 10000;
  border-radius: 0 0 8px 0;
  transition: top 0.3s ease;
}

.skip-to-content:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}


/* ================ 1. CSS VARIABLES ================ */
:root {
  --white: #ffffff;
  --off-white: #ffffff;
  --light-grey: #bdc3c7;
  --green: #25D366;
  --green-dark: #128C7E;
  --orange: #9b111e;
  --red: #381213;
  --yellow: #f1c40f;
  --danger: #9b111e;
  --ruby: #9b111e;
  --crimson: #620d0d;
  --dark-grey: #1b1f23;
  --muted-grey: #bdc3c7;
  --dark-bg: #0c1019;
  --dark-surface: #161C27;
  --dark-text: #ffffff;
  --dark-muted: #bdc3c7;
  --green-rgb: 37, 211, 102;
  --green-dark-rgb: 18, 140, 126;
  --orange-rgb: 155, 17, 30;
  --red-rgb: 56, 18, 19;
  --yellow-rgb: 241, 196, 15;
  --danger-rgb: 155, 17, 30;
  --ruby-rgb: 155, 17, 30;
  --crimson-rgb: 98, 13, 13;

  --bg: var(--white);
  --card: var(--white);
  --muted: var(--muted-grey);
  --accent: var(--red);
  --accent-2: var(--crimson);
  --accent-3: var(--yellow);
  --glass: rgba(0,0,0,0.02);
  --radius-lg: 8px;
  --radius-md: 4px;
  --gap: clamp(16px, 3vw, 40px);
  --grid-gap: clamp(28px, 3.2vw, 48px);
  --grid-gap-mobile: clamp(16px, 4vw, 24px);
  --hero-gap: clamp(20px, 3vw, 32px);
  --max-width: 1280px;
  --container-pad: clamp(16px, 4vw, 64px);
  --section-pad: 96px;
  --section-pad-mobile: 64px;
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-md: 0 2px 12px rgba(0,0,0,0.06);
  --ease: cubic-bezier(.16,.84,.44,1);
  --ease-premium: cubic-bezier(.22,.61,.36,1);
  --gradient-bg: #ffffff;
  --header-h: 75px;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Poppins', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Ultra-wide displays (2560px+) - Prevent excessive whitespace */
@media (min-width: 2560px) {
  :root {
    --max-width: 1600px;
    --container-pad: clamp(48px, 4vw, 120px);
  }
  
  .hero-slideshow-container {
    max-width: 1200px;
  }
  
  .showcase-grid {
    max-width: 1400px;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ================ FAQ SECTION ================ */

.faq-section {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.summary-section .summary-body {
  margin-top: 24px;
  text-align: justify;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.summary-section .summary-body p + p {
  margin-top: 16px;
}

@media (min-width: 1024px) {
  .summary-section .summary-body p + p {
    margin-top: 16px;
  }
}

html:not([data-theme="dark"]) .faq-section .section-subtitle {
  color: var(--text);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px var(--shadow);
}

[data-theme="dark"] .faq-item:hover {
  border-color: rgba(var(--ruby-rgb), 0.35);
  background: rgba(var(--ruby-rgb), 0.05);
  box-shadow: 0 12px 32px rgba(var(--ruby-rgb), 0.12);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--accent);
}

[data-theme="dark"] .faq-question:hover {
  color: var(--ruby);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 0.84, 0.44, 1);
}

[data-theme="dark"] .faq-icon {
  background: var(--border);
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--text);
  transition: transform 0.3s cubic-bezier(0.16, 0.84, 0.44, 1);
}

[data-theme="dark"] .faq-item:not(.active):hover .faq-icon {
  background: var(--ruby);
}

[data-theme="dark"] .faq-item:not(.active):hover .faq-icon svg {
  stroke: #ffffff;
  color: #ffffff;
}

.faq-item.active .faq-icon {
  background: var(--accent);
  transform: rotate(180deg);
}

.faq-item.active .faq-icon svg {
  stroke: white;
  transform: rotate(180deg);
}

[data-theme="dark"] .faq-item.active .faq-icon {
  background: var(--ruby);
}

[data-theme="dark"] .faq-item.active .faq-icon svg {
  stroke: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 0.84, 0.44, 1),
              padding 0.4s cubic-bezier(0.16, 0.84, 0.44, 1);
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
}

.faq-answer ul {
  margin: 12px 0;
  padding-left: 20px;
  color: var(--text-muted);
}

.faq-answer li {
  margin: 8px 0;
  line-height: 1.6;
}


/* ================ DARK MODE ================ */

:root {
  --bg: var(--white);
  --card: var(--white);
  --text: var(--dark-bg);
  --text-muted: rgba(12, 16, 25, 0.74);
  --text-light: rgba(12, 16, 25, 0.58);
  --border: rgba(12, 16, 25, 0.12);
  --accent: var(--red);
  --accent-2: var(--crimson);
  --input-bg: #ffffff;
  --glass: rgba(0,0,0,0.02);
  --shadow: rgba(0,0,0,0.08);
  --header-bg: rgba(255, 255, 255, 0.78);
  --header-bg-solid: rgba(255, 255, 255, 0.92);
  --header-border: rgba(12, 16, 25, 0.12);
  --header-shadow: 0 10px 30px rgba(12, 16, 25, 0.10);
  --header-backdrop: blur(10px);
  --header-text: var(--text);
  --header-text-muted: rgba(12, 16, 25, 0.62);
  --header-link-hover-bg: rgba(var(--red-rgb), 0.08);
  --header-link-hover: var(--ruby);
  --header-link-active-bg: rgba(var(--crimson-rgb), 0.10);
  --header-link-active: var(--crimson);
  --hero-bg-top: var(--white);
  --hero-bg-bottom: var(--light-grey);
  --hero-stage: var(--white);
  --hero-frame: rgba(var(--ruby-rgb), 0.14);
  --hero-slideshow-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(var(--red-rgb), 0.10), 0 30px 120px rgba(var(--red-rgb), 0.16);
  --hero-img-filter: saturate(1.06) contrast(1.04);
  --text-primary: var(--text);
  --text-secondary: var(--text-muted);
  --card-bg: var(--card);
  --bg-primary: var(--bg);
  --bg-secondary: #f5f6f8;
  --border-color: var(--border);
}

[data-theme="dark"] {
  --bg: var(--dark-bg);
  --card: var(--dark-surface);
  --text: var(--dark-text);
  --text-muted: var(--dark-muted);
  --text-light: var(--dark-muted);
  --border: rgba(255, 255, 255, 0.10);
  --accent: var(--ruby);
  --accent-2: var(--crimson);
  --input-bg: var(--dark-surface);
  --glass: rgba(255,255,255,0.05);
  --shadow: rgba(0,0,0,0.4);
  --header-bg: rgba(12, 16, 25, 0.78);
  --header-bg-solid: rgba(12, 16, 25, 0.86);
  --header-border: rgba(255, 255, 255, 0.10);
  --header-shadow: 0 10px 30px rgba(0,0,0,0.38);
  --header-backdrop: blur(10px);
  --header-text: rgba(255, 255, 255, 0.92);
  --header-text-muted: rgba(255, 255, 255, 0.70);
  --header-link-hover-bg: rgba(255, 255, 255, 0.08);
  --header-link-hover: var(--ruby);
  --header-link-active-bg: rgba(var(--ruby-rgb), 0.22);
  --header-link-active: #ffffff;
  --hero-bg-top: var(--dark-bg);
  --hero-bg-bottom: var(--dark-bg);
  --hero-stage: var(--dark-surface);
  --hero-frame: rgba(var(--ruby-rgb), 0.12);
  --hero-slideshow-shadow: 0 30px 90px rgba(0,0,0,0.60), 0 0 0 1px rgba(var(--ruby-rgb), 0.10), 0 24px 120px rgba(var(--ruby-rgb), 0.20);
  --hero-img-filter: saturate(1.05) contrast(1.06);
  --text-primary: var(--text);
  --text-secondary: var(--text-muted);
  --card-bg: var(--card);
  --bg-primary: var(--bg);
  --bg-secondary: rgba(255, 255, 255, 0.04);
  --border-color: var(--border);
}

html[data-hero-variant="b"]:not([data-theme="dark"]) {
  --hero-bg-top: var(--off-white);
  --hero-bg-bottom: var(--light-grey);
  --hero-stage: var(--dark-bg);
  --hero-frame: rgba(var(--ruby-rgb), 0.12);
  --hero-slideshow-shadow: 0 34px 100px rgba(0,0,0,0.45), 0 0 0 1px rgba(255, 255, 255, 0.06), 0 44px 180px rgba(12, 16, 25, 0.55), 0 30px 120px rgba(var(--red-rgb), 0.16);
  --hero-img-filter: saturate(1.06) contrast(1.07);
}

html[data-theme="dark"][data-hero-variant="b"] {
  --hero-bg-top: var(--dark-bg);
  --hero-bg-bottom: var(--dark-surface);
  --hero-stage: var(--dark-bg);
  --hero-frame: rgba(var(--ruby-rgb), 0.12);
  --hero-slideshow-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px rgba(255, 255, 255, 0.06), 0 30px 140px rgba(var(--red-rgb), 0.18);
  --hero-img-filter: saturate(1.06) contrast(1.08);
}

html[data-hero-variant="f"]:not([data-theme="dark"]) {
  --hero-bg-top: var(--off-white);
  --hero-bg-bottom: var(--light-grey);
  --hero-stage: var(--white);
  --hero-frame: rgba(var(--red-rgb), 0.12);
  --hero-slideshow-shadow: 0 22px 70px rgba(0,0,0,0.14), 0 0 0 1px rgba(var(--red-rgb), 0.10), 0 34px 160px rgba(var(--red-rgb), 0.16);
  --hero-img-filter: saturate(1.06) contrast(1.05);
}

html[data-theme="dark"][data-hero-variant="f"] {
  --hero-bg-top: var(--dark-bg);
  --hero-bg-bottom: var(--dark-surface);
  --hero-stage: var(--dark-bg);
  --hero-frame: rgba(var(--ruby-rgb), 0.12);
  --hero-slideshow-shadow: 0 40px 120px rgba(0,0,0,0.65), 0 0 0 1px rgba(255, 255, 255, 0.06), 0 30px 140px rgba(var(--red-rgb), 0.18);
  --hero-img-filter: saturate(1.06) contrast(1.08);
}

html[data-hero-variant="d"]:not([data-theme="dark"]) {
  --hero-bg-top: var(--white);
  --hero-bg-bottom: var(--light-grey);
  --hero-stage: var(--white);
  --hero-frame: rgba(27, 31, 35, 0.10);
  --hero-slideshow-shadow: 0 26px 80px rgba(27, 31, 35, 0.14), 0 0 0 1px rgba(27, 31, 35, 0.06);
  --hero-img-filter: saturate(1.05) contrast(1.05);
}

html[data-theme="dark"][data-hero-variant="d"] {
  --hero-bg-top: var(--dark-bg);
  --hero-bg-bottom: var(--dark-surface);
  --hero-stage: var(--dark-bg);
  --hero-frame: rgba(var(--ruby-rgb), 0.12);
  --hero-slideshow-shadow: 0 34px 110px rgba(0,0,0,0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --hero-img-filter: saturate(1.05) contrast(1.07);
}

html[data-hero-variant="g"]:not([data-theme="dark"]) {
  --header-bg: rgba(255, 255, 255, 0.78);
  --header-bg-solid: rgba(255, 255, 255, 0.92);
  --header-border: rgba(12, 16, 25, 0.12);
  --header-shadow: 0 10px 30px rgba(12, 16, 25, 0.10);
  --header-backdrop: blur(10px);
  --header-text: var(--text);
  --header-text-muted: rgba(12, 16, 25, 0.62);
  --header-link-hover-bg: rgba(var(--red-rgb), 0.08);
  --header-link-hover: var(--ruby);
  --header-link-active-bg: rgba(var(--crimson-rgb), 0.10);
  --header-link-active: var(--crimson);
  --hero-bg-top: var(--white);
  --hero-bg-bottom: rgba(var(--red-rgb), 0.04);
  --hero-stage: var(--white);
  --hero-frame: rgba(var(--red-rgb), 0.18);
  --hero-slideshow-shadow: 0 28px 90px rgba(12, 16, 25, 0.18), 0 0 0 1px rgba(var(--red-rgb), 0.16), 0 30px 130px rgba(var(--crimson-rgb), 0.10);
  --hero-img-filter: saturate(1.05) contrast(1.08);
}

html[data-theme="dark"][data-hero-variant="g"] {
  --header-bg-solid: var(--dark-bg);
  --hero-bg-top: var(--dark-bg);
  --hero-bg-bottom: var(--dark-surface);
  --hero-stage: var(--dark-bg);
  --hero-frame: rgba(var(--ruby-rgb), 0.12);
  --hero-slideshow-shadow: 0 40px 120px rgba(0,0,0,0.65), 0 0 0 1px rgba(255, 255, 255, 0.06), 0 30px 140px rgba(0,0,0,0.35);
  --hero-img-filter: saturate(1.06) contrast(1.08);
}

/* Apply dark mode colors */
body {
  background: var(--bg);
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

header {
  background: var(--header-bg);
  border-bottom-color: var(--header-border);
}

.card,
.feature-card,
.testimonial-card,
.rfq-form,
.rfq-info-card,
.rfq-contact-quick,
.marketplace-card {
  background: var(--card);
  border-color: var(--border);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  font-family: var(--font-heading);
}

p {
  color: var(--text-muted);
}

.nav-link,
.mobile-nav-link,
.logo-text h1 {
  color: var(--text);
}

.logo-text p,
.hero-microcopy,
.trust-qualifier,
.form-note {
  color: var(--text-light);
}

/* Light mode - Alternating backgrounds for visual interest */
.hero-modern {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--light-grey) 100%);
}

.trust-section {
  background: var(--off-white);
}

.video-section {
  background: var(--light-grey);
}

.features-modern {
  background: var(--off-white);
}

.showcase-section {
  background: var(--light-grey);
}

.process-section {
  background: var(--off-white);
}

.testimonials-section {
  background: var(--light-grey);
}

.rfq-section {
  background: var(--off-white);
}

.faq-section {
  background: var(--light-grey);
}

[data-theme="dark"] .features-modern,
[data-theme="dark"] .process-section {
  background: var(--bg);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--input-bg);
  color: var(--text);
  border-color: var(--border);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-light);
}

/* Dark mode toggle button */
.theme-toggle {
  position: relative;
  width: 60px;
  height: 30px;
  background: var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s ease;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.theme-toggle::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: var(--bg);
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.16, 0.84, 0.44, 1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

[data-theme="dark"] .theme-toggle {
  background: var(--ruby);
}

[data-theme="dark"] .theme-toggle::before {
  transform: translateX(30px);
}

.theme-toggle-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  transition: opacity 0.3s ease;
}

.theme-toggle-icon.sun {
  left: 7px;
  opacity: 1;
}

.theme-toggle-icon.moon {
  right: 7px;
  opacity: 0;
}

[data-theme="dark"] .theme-toggle-icon.sun {
  opacity: 0;
}

[data-theme="dark"] .theme-toggle-icon.moon {
  opacity: 1;
}

/* Dark mode specific adjustments */
[data-theme="dark"] .mobile-menu {
  background: rgba(26, 26, 26, 0.98);
}

[data-theme="dark"] .mobile-overlay {
  background: rgba(0,0,0,0.6);
}

[data-theme="dark"] .trust-marquee img,
[data-theme="dark"] .trust-logo img {
  filter: none;
  opacity: 0.95;
  background: rgba(255, 255, 255, 0.92);
  padding: 4px 8px;
  border-radius: 10px;
}

[data-theme="dark"] .trust-marquee img:hover,
[data-theme="dark"] .trust-logo img:hover {
  opacity: 1;
}

[data-theme="dark"] .trust-marquee img {
  height: 44px;
}

[data-theme="dark"] .trust-logo {
  filter: none;
  opacity: 0.85;
}

[data-theme="dark"] footer {
  background: var(--header-bg-solid);
  border-top: 1px solid var(--border);
}

[data-theme="dark"] .file-upload-label {
  background: var(--card);
  border-color: var(--border);
}

/* ================ DARK MODE READABILITY FIXES ================ */

/* FIX 1: Logo bulan di button mode toggle - Tambahkan warna putih */
.theme-toggle-icon.sun {
  color: var(--crimson);
}

.theme-toggle-icon.moon {
  color: #ffffff;
}

[data-theme="dark"] .theme-toggle-icon.moon {
  color: #ffffff;
  stroke: #ffffff;
}

/* FIX 2: Tombol slideshow - Perbaiki kontras */
[data-theme="dark"] .slide-nav {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .slide-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .slide-nav svg {
  stroke: #ffffff;
  color: #ffffff;
}

[data-theme="dark"] .slide-dot {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .slide-dot.active {
  background: #ffffff;
  border-color: #ffffff;
}

/* FIX 3: Tombol CTA - Pastikan kontras yang baik */
[data-theme="dark"] .btn-hero-primary { background: var(--green);
  color: #ffffff;
  border: none;
}

[data-theme="dark"] .btn-hero-primary:hover,
[data-theme="dark"] .sticky-cta:hover,
[data-theme="dark"] .btn-submit-rfq:hover {
  background: var(--ruby);
  color: #ffffff;
}

[data-theme="dark"] .btn-cta-wa:hover {
  background: var(--green-dark);
  color: #ffffff;
}

[data-theme="dark"] .btn-hero-primary svg,
[data-theme="dark"] .btn-cta-wa svg,
[data-theme="dark"] .sticky-cta svg {
  fill: #ffffff;
  color: #ffffff;
}

[data-theme="dark"] .cta-nav {
  background: transparent;
  border-color: var(--green);
  color: var(--green);
}

[data-theme="dark"] .cta-nav:hover {
  background: var(--green);
  color: #ffffff;
}

[data-theme="dark"] .cta-nav-secondary {
  border-color: var(--ruby);
  background: transparent;
  color: #ffffff;
}

[data-theme="dark"] .cta-nav-secondary:hover {
  background: var(--ruby);
  color: #ffffff;
}

[data-theme="dark"] .mobile-cta-primary {
  background: var(--green);
  color: #ffffff;
}

[data-theme="dark"] .mobile-cta-primary:hover {
  background: var(--green-dark);
  color: #ffffff;
}

[data-theme="dark"] .mobile-cta-secondary {
  border-color: var(--ruby);
  color: #ffffff;
}

[data-theme="dark"] .mobile-cta-secondary:hover {
  background: var(--ruby);
  color: #ffffff;
}

/* FIX 4: Drop file area - Perbaiki warna hover */
[data-theme="dark"] .file-upload-label:hover {
  border-color: var(--accent);
  background: rgba(var(--red-rgb), 0.1);
  color: var(--text);
}

[data-theme="dark"] .file-upload-label.dragover {
  border-color: var(--accent);
  background: rgba(var(--red-rgb), 0.15);
  color: var(--text);
}

[data-theme="dark"] .file-upload-label svg {
  stroke: var(--text);
  color: var(--text);
}

[data-theme="dark"] .file-preview {
  background: var(--card);
  border: 1px solid var(--border);
}

/* FIX 5: Back to top button */
[data-theme="dark"] .back-to-top {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

[data-theme="dark"] .back-to-top:hover {
  background: var(--ruby);
  color: #ffffff;
  border-color: var(--ruby);
}

[data-theme="dark"] .back-to-top svg {
  stroke: #ffffff;
}



/* ================ DARK MODE OVERRIDES FOR HEADER & HERO ================ */

[data-theme="dark"] header.scrolled {
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
}

[data-theme="dark"] header.scrolled::before {
  background: rgba(15, 15, 15, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .hero-modern {
  background: linear-gradient(180deg, var(--hero-bg-top) 0%, var(--hero-bg-bottom) 100%) !important;
}

[data-theme="dark"] .nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .nav-link.active {
  background: rgba(var(--red-rgb), 0.15);
}

[data-theme="dark"] .mobile-toggle span {
  background: var(--text);
}

[data-theme="dark"] .hero-badge {
  background: rgba(var(--red-rgb), 0.15);
  border-color: rgba(var(--red-rgb), 0.3);
}

[data-theme="dark"] .section-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .slide-nav {
  background: rgba(26, 26, 26, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .slide-dot {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .slide-dot.active {
  background: var(--bg);
}

[data-theme="dark"] .btn-hero-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
  color: var(--text);
}

[data-theme="dark"] .btn-hero-secondary:hover {
  background: var(--ruby);
  border-color: var(--ruby);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(var(--ruby-rgb), 0.30);
}
[data-theme="dark"] .file-preview {
  background: var(--card);
}


/* ================ 2. CSS RESET & BASE ================ */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--header-bg-solid);
}

section[id] {
  scroll-margin-top: calc(var(--header-h, 75px) + 21px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.7;
  font-size: clamp(16px, 1.1vw, 18px);
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
  max-width: 100vw;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* Prevent horizontal scroll on media */
img,
video,
iframe,
embed,
object,
svg {
  max-width: 100%;
}

*:not(html):not(body):not(section) {
  box-sizing: border-box;
}

ul {
  margin: 0;
  padding: 0;
}

/* ================ 3. FOCUS STATES (Accessibility) ================ */
*:focus {
  outline: none;
}

*:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), 0.28);
}

/* ================ 4. TYPOGRAPHY ================ */
h1,
h2,
h3,
h4 {
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
  font-weight: 600;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(40px, 6vw, 56px);
}

h2 {
  font-size: clamp(28px, 4.5vw, 36px);
}

h3 {
  font-size: 24px;
}

@media (min-width: 1024px) {
  h1 {
    font-size: clamp(56px, 4.5vw, 64px);
  }

  h2 {
    font-size: clamp(36px, 3.2vw, 40px);
  }
}

p {
  line-height: 1.7;
  margin: 0;
  max-width: 720px;
  color: var(--text-muted);
}

/* ================ 5. LAYOUT & CONTAINER ================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.pain-title-nowrap { white-space: nowrap; }
.pain-points-subtitle {
  margin: 10px auto 0;
  max-width: none;
  text-align: center;
  font-size: 16px;
  color: var(--text-muted);
}

.pain-points-section.stretch-bg::before {
  background: linear-gradient(180deg, transparent 0%, rgba(var(--ruby-rgb), 0.06) 34%, transparent 100%);
}

.pain-points-section .section-header {
  margin-bottom: 20px;
}

.pain-points-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 28px);
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.pain-points-panel .pain-points-grid {
  margin-top: 0;
}

.pain-points-grid {
  list-style: none;
  padding: 0;
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  gap: 14px 18px;
  justify-content: center;
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.pain-point-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, opacity 0.35s ease;
  opacity: 0;
  transform: translateY(10px);
}

.pain-point-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pain-point-item:nth-child(1) { transition-delay: 0ms; }
.pain-point-item:nth-child(2) { transition-delay: 80ms; }
.pain-point-item:nth-child(3) { transition-delay: 160ms; }
.pain-point-item:nth-child(4) { transition-delay: 240ms; }

.pain-point-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  border-color: rgba(var(--red-rgb), 0.45);
}

.pain-point-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  color: var(--red);
  background: rgba(var(--red-rgb), 0.12);
}

.pain-point-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.pain-points-conclusion {
  margin-top: 28px;
  font-weight: 700;
  color: var(--text);
  max-width: none;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.pain-points-conclusion.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pain-points-cta {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(10px);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

@media (max-width: 640px) {
  .pain-points-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .pain-points-cta .btn-cta-wa,
  .pain-points-cta .pain-cta-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.pain-points-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pain-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  border: 2px solid var(--crimson);
  background: transparent;
  color: var(--crimson);
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.pain-cta-secondary:hover {
  transform: translateY(-3px);
  background: var(--crimson);
  color: #ffffff;
  border-color: var(--crimson);
  box-shadow: 0 4px 12px rgba(var(--crimson-rgb), 0.22);
}

[data-theme="dark"] .pain-cta-secondary {
  border-color: var(--ruby);
  color: #ffffff;
}

[data-theme="dark"] .pain-cta-secondary:hover {
  background: var(--ruby);
  border-color: var(--ruby);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(var(--ruby-rgb), 0.30);
}

@media (max-width: 640px) {
  .pain-points-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-top: 28px;
  }

  .pain-points-panel .pain-points-grid {
    margin-top: 0;
  }

  .pain-cta-secondary {
    width: 100%;
    max-width: 380px;
  }
}

.stretch-bg {
  position: relative;
}

.stretch-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: none;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.services-modern.stretch-bg::before {
  background: linear-gradient(180deg, transparent 0%, rgba(230, 57, 70, 0.04) 30%, transparent 100%);
}

.cta-section-modern.stretch-bg::before {
  background: linear-gradient(135deg, rgba(var(--orange-rgb), 0.08), rgba(var(--orange-rgb), 0.04));
  border-radius: 24px;
}

section {
  padding: var(--section-pad) 0;
  overflow-x: hidden;
}

/* ================ 6. HEADER & NAVIGATION ================ */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  box-shadow: var(--header-shadow);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  isolation: isolate;
}

header::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -80px;
  height: 80px;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
}

/* Logo */
.logo {
  display: flex;
  gap: 10px;
  align-items: center;
  transition: transform .2s ease;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.logo-text h1 {
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--header-text);
  font-weight: 600;
}

.logo-text p {
  font-size: 10px;
  color: var(--header-text-muted);
  line-height: 1.3;
  margin-top: 1px;
}

/* Logo switching untuk dark/light mode */                          
 .logo-light {                                                         
    display: block;                                                      
  }                                                                     

 .logo-dark {                                                          
  display: none;                                                       
 }                                                                     

 [data-theme="dark"] .logo-light {                                     
  display: none;                                                      
  }                                                                    

 [data-theme="dark"] .logo-dark {
  display: block;
 }
 
 .logo-light,
 .logo-dark {
  transition: opacity .3s ease;
 }

 
 
 /* Desktop Navigation */                                              
 .nav-links {                                                         
 display: none;  
 }

/* Desktop Navigation */
.nav-links {
  display: none;
  gap: 8px;
  align-items: center;
}

.nav-link {
  padding: 10px 16px;
  font-size: 14px;
  color: var(--header-text);
  border-radius: 6px;
  transition: all .2s ease;
  position: relative;
  font-weight: 500;
}

.nav-link.nav-link-disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.nav-link.nav-link-disabled::after {
  display: none;
}

.nav-link:hover {
  background: var(--header-link-hover-bg);
  color: var(--header-link-hover);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: transform .25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
  color: var(--header-link-active);
  background: var(--header-link-active-bg);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-summary {
  cursor: pointer;
  list-style: none;
}

.nav-dropdown-summary:focus-visible {
  background: var(--glass);
  border-radius: 10px;
}

.nav-dropdown-link:focus-visible {
  background: var(--glass);
}

.nav-dropdown-summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown-summary::marker {
  content: '';
}

.nav-dropdown-anchor {
  color: inherit;
  text-decoration: none;
}

.nav-dropdown-anchor::after {
  display: none;
}

.nav-dropdown-summary:focus-visible .nav-dropdown-anchor {
  color: inherit;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 220px;
  padding: 8px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.nav-dropdown-menu .nav-link {
  color: var(--text);
}

.nav-dropdown-menu .nav-link:hover {
  background: var(--glass);
  color: var(--accent);
}

.nav-dropdown-menu .nav-link.active {
  background: rgba(var(--red-rgb), 0.10);
  color: var(--accent);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown[open] .nav-dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-link {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
}

.nav-dropdown-link::after {
  display: none;
}

.cta-nav {
  padding: 10px 20px;
  background: transparent;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: all .25s ease;
  border: 2px solid var(--green);
  cursor: pointer;
}

.cta-nav:hover {
  background: var(--green);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.cta-nav-secondary {
  padding: 10px 20px;
  background: transparent;
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid var(--orange);
  transition: all .25s ease;
  cursor: pointer;
  text-decoration: none;
}

.cta-nav-secondary.active {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}

.cta-nav-secondary:hover {
  background: var(--ruby);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--orange-rgb), 0.25);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 8px;
  cursor: pointer;
  border: none;
  background: transparent;
  border-radius: 6px;
  transition: all .2s ease;
  margin-left: 8px;
  flex-shrink: 0;
}

.mobile-toggle:hover {
  background: var(--header-link-hover-bg);
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--header-text);
  border-radius: 2px;
  transition: all .3s ease;
}

body.menu-open .mobile-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

body.menu-open .mobile-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .mobile-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--header-h, 75px);
  right: 0;
  width: 100%;
  max-width: 320px;
  height: calc(100vh - var(--header-h, 75px));
  height: calc(100dvh - var(--header-h, 75px));
  background: var(--bg);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.16,.84,.44,1);
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  overflow-y: auto;
  z-index: 50;
}

body.menu-open .mobile-menu {
  transform: translateX(0);
}

.mobile-menu-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  padding: 14px 16px;
  border-radius: 6px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  transition: all .2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-nav-link.mobile-nav-link-disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.mobile-nav-link svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--glass);
  color: var(--accent);
}

.mobile-nav-link:hover svg {
  opacity: 1;
}

.mobile-menu-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.mobile-cta {
  padding: 14px 20px;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  transition: all .25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-cta-primary {
  background: var(--green);
  color: white;
  margin-top: 16px;
}

.mobile-cta-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.mobile-cta-secondary {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
  margin-top: 12px;
}

.mobile-cta-secondary:hover {
  background: var(--ruby);
  color: white;
  transform: translateY(-1px);
}

/* Mobile Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  top: var(--header-h, 75px);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-h, 75px));
  height: calc(100dvh - var(--header-h, 75px));
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px);
  z-index: 40;
  opacity: 0;
  transition: opacity .3s ease;
}

body.menu-open .mobile-overlay {
  display: block;
  opacity: 1;
}

@media (max-width: 767px) and (max-height: 600px) {
  .mobile-menu-inner {
    padding: 12px;
    gap: 6px;
  }

  .mobile-nav-link {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 14px;
    gap: 10px;
  }

  .mobile-menu-divider {
    margin: 10px 0;
  }

  .mobile-cta {
    padding: 10px 14px;
    font-size: 14px;
  }

  .mobile-cta-primary {
    margin-top: 10px;
  }

  .mobile-cta-secondary {
    margin-top: 8px;
  }
}

@media (max-width: 767px) and (max-height: 520px) {
  .mobile-menu-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: start;
    padding: 10px;
    gap: 6px;
  }

  .mobile-nav-link {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 13px;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-nav-link svg {
    width: 14px;
    height: 14px;
  }

  .mobile-menu-divider,
  .mobile-cta {
    grid-column: 1 / -1;
  }

  .mobile-menu-divider {
    margin: 6px 0;
  }

  .mobile-cta {
    width: 100%;
    padding: 10px 14px;
    font-size: 13px;
  }

  .mobile-cta-primary {
    margin-top: 6px;
  }

  .mobile-cta-secondary {
    margin-top: 6px;
  }
}

/* ================ 7. HERO SECTION ================ */
.hero-modern {
  position: relative;
  padding: clamp(64px, 10vw, 112px) 0 clamp(48px, 8vw, 80px);
  background: linear-gradient(180deg, var(--hero-bg-top) 0%, var(--hero-bg-bottom) 100%);
  overflow: hidden;
}

html[data-hero-variant="g"] .hero-modern::after {
  content: '';
  position: absolute;
  inset: -18% -10%;
  background:
    radial-gradient(660px 480px at 50% 58%, rgba(var(--crimson-rgb), 0.26) 0%, rgba(var(--crimson-rgb), 0) 62%),
    radial-gradient(980px 720px at 50% 54%, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0) 68%),
    radial-gradient(1200px 900px at 50% 48%, rgba(12, 16, 25, 0) 0%, rgba(12, 16, 25, 0.06) 58%, rgba(12, 16, 25, 0.14) 100%);
  filter: blur(42px);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

html[data-theme="dark"][data-hero-variant="g"] .hero-modern::after {
  background:
    radial-gradient(900px 640px at 22% 24%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(940px 660px at 88% 18%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 58%),
    radial-gradient(980px 780px at 72% 86%, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0) 60%);
  filter: blur(54px);
  opacity: 0.75;
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hero-gap);
  align-items: center;
  position: relative;
  z-index: 1;
}

html[data-hero-variant="f"] .hero-modern::before {
  content: '';
  position: absolute;
  inset: -30% -10%;
  background:
    linear-gradient(135deg, rgba(var(--red-rgb), 0) 0%, rgba(var(--red-rgb), 0.18) 34%, rgba(var(--red-rgb), 0) 68%),
    linear-gradient(135deg, rgba(var(--red-rgb), 0) 0%, rgba(var(--red-rgb), 0.10) 40%, rgba(var(--red-rgb), 0) 78%);
  transform: rotate(-7deg) translateY(-2%);
  filter: blur(0px);
  opacity: 1;
  pointer-events: none;
}

html[data-theme="dark"][data-hero-variant="f"] .hero-modern::before {
  background:
    linear-gradient(135deg, rgba(var(--red-rgb), 0) 0%, rgba(var(--red-rgb), 0.16) 34%, rgba(var(--red-rgb), 0) 68%),
    linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.06) 40%, rgba(255, 255, 255, 0) 78%);
  opacity: 0.9;
}

.hero-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(var(--orange-rgb), 0.10);
  border: 1px solid rgba(var(--orange-rgb), 0.22);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 20px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: currentColor;
}

.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: clamp(56px, 4.5vw, 64px);
  }
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .hero-subtitle {
    font-size: 17px;
    max-width: 720px;
  }

  .hero-subtitle-line {
    white-space: normal;
  }
}

@media (min-width: 1280px) {
  .hero-subtitle-line {
    white-space: nowrap;
  }
}

.hero-microcopy {
  font-size: 13px;
  color: #000000;
  margin-top: 16px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: clamp(16px, 2.8vw, 28px);
}

@media (max-width: 640px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-group .btn-hero-primary,
  .hero-cta-group .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.btn-hero-primary {
  padding: 16px 32px;
  background: var(--green);
  color: white;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(var(--green-rgb), 0.3);
}

.btn-hero-secondary {
  padding: 16px 32px;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all .25s ease;
}

.btn-hero-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* Hero Slideshow */
.hero-slideshow-container {
  position: relative;
  display: grid;
  width: 100%;
  max-width: min(1100px, 100%);
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: var(--hero-stage);
  border: 1px solid var(--hero-frame);
  box-shadow: none;
}

html[data-hero-variant="g"] .hero-slideshow-container::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-mask-image: radial-gradient(closest-side, transparent 68%, #000 92%);
  mask-image: radial-gradient(closest-side, transparent 68%, #000 92%);
}

.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.hero-slide.is-entering {
  opacity: 1;
}

.hero-slide.is-exiting {
  opacity: 1;
}

.hero-slideshow-container[data-slide-dir="next"] .hero-slide.is-entering {
  transform: translate3d(100%, 0, 0);
}

.hero-slideshow-container[data-slide-dir="next"] .hero-slide.is-exiting {
  transform: translate3d(-100%, 0, 0);
}

.hero-slideshow-container[data-slide-dir="prev"] .hero-slide.is-entering {
  transform: translate3d(-100%, 0, 0);
}

.hero-slideshow-container[data-slide-dir="prev"] .hero-slide.is-exiting {
  transform: translate3d(100%, 0, 0);
}

.hero-slide img {
  width: 100%;
  height: auto;
  display: block;
  filter: var(--hero-img-filter);
}

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.1);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s ease;
  z-index: 10;
}

.slide-nav:hover {
  background: var(--bg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.slide-nav.prev {
  left: 20px;
}

.slide-nav.next {
  right: 20px;
}

.slide-controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slide-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  border: 2px solid rgba(255,255,255,0.9);
  cursor: pointer;
  transition: all .3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.slide-dot.active {
  background: var(--bg);
  transform: scale(1.2);
}

.hero-slideshow-container {
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero-slideshow-container::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: var(--hero-stage);
  border: 1px solid var(--hero-frame);
  box-shadow: none;
  opacity: 0;
  transform: translate(-18px, 16px) scale(0.98) rotate(-0.8deg);
  pointer-events: none;
  z-index: -2;
}

.hero-slideshow-container::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: var(--hero-stage);
  border: 1px solid var(--hero-frame);
  box-shadow: none;
  opacity: 0;
  transform: translate(18px, 16px) scale(0.985) rotate(0.8deg);
  pointer-events: none;
  z-index: -1;
}

.hero-ghost {
  position: absolute;
  top: 50%;
  width: 82%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--hero-stage);
  border: 1px solid var(--hero-frame);
  box-shadow: 0 18px 60px rgba(0,0,0,0.28);
  pointer-events: none;
  z-index: 1;
  opacity: 1;
  transform: translateY(-50%);
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-ghost img {
  width: 100%;
  height: auto;
  display: block;
  filter: blur(2px) saturate(1.06) contrast(1.05);
}

.hero-ghost-prev2 img,
.hero-ghost-next2 img {
  filter: blur(4px) saturate(1.04) contrast(1.04);
}

.hero-ghost-prev {
  left: -28%;
  transform: translateY(-50%) rotate(-2.2deg) scale(0.86);
}

.hero-ghost-next {
  right: -28%;
  transform: translateY(-50%) rotate(2.2deg) scale(0.86);
}

.hero-ghost-prev2 {
  left: -44%;
  z-index: 0;
  opacity: 1;
  transform: translateY(-50%) rotate(-3.4deg) scale(0.72);
}

.hero-ghost-next2 {
  right: -44%;
  z-index: 0;
  opacity: 1;
  transform: translateY(-50%) rotate(3.4deg) scale(0.72);
}

/* Animasi Ghost saat Next */
.hero-slideshow-container.ghost-animating-next .hero-ghost-next {
  /* Bergerak ke tengah menjadi aktif */
  transform: translateY(-50%) rotate(0deg) scale(1) translateX(-34%); /* -34% dari 100% width container agar ke tengah */
  left: 50%;
  right: auto;
  margin-left: -41%; /* Koreksi posisi tengah (half of 82%) */
}

.hero-slideshow-container.ghost-animating-next .hero-ghost-prev {
  /* Bergerak keluar layar kiri */
  transform: translateY(-50%) rotate(-4deg) scale(0.8) translateX(-50%);
  opacity: 0;
}

/* Animasi Ghost saat Prev */
.hero-slideshow-container.ghost-animating-prev .hero-ghost-prev {
  /* Bergerak ke tengah menjadi aktif */
  transform: translateY(-50%) rotate(0deg) scale(1) translateX(34%);
  right: 50%;
  left: auto;
  margin-right: -41%;
}

.hero-slideshow-container.ghost-animating-prev .hero-ghost-next {
  /* Bergerak keluar layar kanan */
  transform: translateY(-50%) rotate(4deg) scale(0.8) translateX(50%);
  opacity: 0;
}

@media (max-width: 767px) {
  .hero-slideshow-container {
    overflow: hidden;
  }
}

html[data-hero-variant="g"] .hero-slideshow-container::after,
html[data-theme="dark"][data-hero-variant="g"] .hero-slideshow-container::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: var(--hero-stage);
  border: 1px solid var(--hero-frame);
  box-shadow: none;
  opacity: 0;
  transform: translate(18px, 16px) scale(0.985) rotate(0.8deg);
  pointer-events: none;
  z-index: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  -webkit-mask-image: none;
  mask-image: none;
  filter: none;
}

.hero-slide {
  border-radius: 16px;
  overflow: hidden;
  background: var(--hero-stage);
  border: 1px solid var(--hero-frame);
  box-shadow: none;
  z-index: 2;
}

.hero-slide.is-exiting {
  z-index: 1;
}

html[data-hero-variant="g"] .hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 18% 18%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(820px 640px at 86% 20%, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 62%);
  opacity: 0.9;
}

@media (max-width: 767px) {
  .hero-ghost {
    display: none;
  }

  .hero-slideshow-container::before {
    transform: translate(-12px, 12px) scale(0.99) rotate(-0.6deg);
  }

  .hero-slideshow-container::after {
    transform: translate(12px, 12px) scale(0.99) rotate(0.6deg);
  }
}

html[data-hero-variant="g"]:not([data-theme="dark"]) .hero-title {
  color: var(--text);
}

html[data-hero-variant="g"]:not([data-theme="dark"]) .hero-subtitle {
  color: var(--text-muted);
}

html[data-hero-variant="g"]:not([data-theme="dark"]) .hero-microcopy {
  color: var(--text-muted);
}

html[data-hero-variant="g"]:not([data-theme="dark"]) .hero-badge {
  background: rgba(var(--red-rgb), 0.08);
  border-color: rgba(var(--red-rgb), 0.18);
  color: var(--red);
}

html[data-hero-variant="g"]:not([data-theme="dark"]) .btn-hero-secondary {
  background: var(--card);
  color: var(--text);
  border-color: var(--border);
}

html[data-hero-variant="g"]:not([data-theme="dark"]) .btn-hero-secondary:hover {
  border-color: var(--crimson);
  color: var(--crimson);
}

html[data-hero-variant="g"]:not([data-theme="dark"]) .slide-nav {
  background: rgba(255, 255, 255, 0.70);
  border-color: rgba(12, 16, 25, 0.14);
  color: var(--text);
}

html[data-hero-variant="g"]:not([data-theme="dark"]) .cta-nav-secondary {
  color: var(--crimson);
  border-color: var(--crimson);
}

html[data-hero-variant="g"] .cta-nav {
  color: var(--green);
  border-color: var(--green);
}

html[data-hero-variant="g"] .cta-nav:hover {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

html[data-hero-variant="g"]:not([data-theme="dark"]) .cta-nav-secondary:hover {
  background: var(--crimson);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(var(--crimson-rgb), 0.22);
}

/* Mobile menu button - sama dengan desktop di light mode */
html[data-hero-variant="g"]:not([data-theme="dark"]) .mobile-cta-secondary {
  color: var(--crimson);
  border-color: var(--crimson);
}

html[data-hero-variant="g"]:not([data-theme="dark"]) .mobile-cta-secondary:hover {
  background: var(--crimson);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(var(--crimson-rgb), 0.22);
}

html[data-hero-variant="g"]:not([data-theme="dark"]) .slide-nav:hover {
  background: rgba(var(--red-rgb), 0.10);
  border-color: rgba(var(--red-rgb), 0.22);
  box-shadow: 0 10px 25px rgba(12, 16, 25, 0.14);
}

html[data-hero-variant="g"]:not([data-theme="dark"]) .slide-dot {
  background: rgba(27, 31, 35, 0.16);
  border-color: rgba(27, 31, 35, 0.22);
}

html[data-hero-variant="g"]:not([data-theme="dark"]) .slide-dot.active {
  background: var(--crimson);
  border-color: rgba(var(--crimson-rgb), 0.90);
}

html[data-hero-variant="g"]:not([data-theme="dark"]) .hero-slide,
html[data-hero-variant="g"]:not([data-theme="dark"]) .hero-slideshow-container::before,
html[data-hero-variant="g"]:not([data-theme="dark"]) .hero-slideshow-container::after {
  border: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ================ 8. TRUST SECTION (Marquee) ================ */
.trust-section {
  padding: clamp(32px, 6vw, 64px) 0;
  background: var(--bg);
  overflow: hidden;
}

.trust-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.trust-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
}

.trust-title {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.trust-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 20px 0;
  contain: layout style paint;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 120s linear infinite;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.marquee-track:nth-child(2) {
  animation: marquee 140s linear infinite reverse;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.trust-marquee img {
  height: 36.4px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.trust-marquee img:hover {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .trust-marquee:hover .marquee-track {
    animation-play-state: running;
  }
}

.trust-qualifier {
  max-width: 720px;
  margin: 24px auto 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.trust-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  justify-items: center;
}

.trust-logo {
  opacity: 0.6;
  transition: opacity .3s ease;
  max-width: 120px;
  filter: grayscale(100%);
}

.trust-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.trust-logo img {
  width: 100%;
  height: auto;
}

/* ================ 9. VIDEO SECTION ================ */
.video-section {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.video-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.video-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-wrapper video,
.video-embed iframe,
.video-poster {
  width: 100%;
  height: 100%;
  display: block;
}

.video-poster {
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid var(--crimson);
  background: var(--crimson);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) translateY(-1px);
  background: transparent;
  color: #ffffff;
}

[data-theme="dark"] .video-play-btn {
  border-color: var(--orange);
  color: #ffffff;
  background: rgba(var(--orange-rgb), 0.92);
}

[data-theme="dark"] .video-play-btn:hover {
  background: transparent;
  color: #ffffff;
}

.calendar-section {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.calendar-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.calendar-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.12);
}

.calendar-wrapper iframe {
  width: 100%;
  height: 600px;
  display: block;
  border: 0;
  background: #fff;
}

@media (max-width: 767px) {
  .calendar-wrapper iframe {
    height: min(600px, 70vh);
  }
}

/* ================ 10. FEATURES SECTION ================ */
.features-modern {
  padding: var(--section-pad) 0;
  background: var(--card);
}

.features-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--grid-gap);
}

.feature-card {
  background: var(--light-grey);
  padding: clamp(24px, 4vw, 32px);
  border-radius: 12px;
  transition: all .3s ease;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.feature-visual {
  width: 100%;
  height: 240px;
  background: var(--glass);
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-description {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.feature-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  color: var(--crimson);
  background: rgba(var(--crimson-rgb), 0.1);
  border: 3px solid var(--crimson);
  width: fit-content;
  max-width: 100%;
  text-align: center;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .feature-card-cta:hover {
    background: var(--crimson);
    color: #ffffff;
    transform: translateY(-2px);
  }
}

[data-theme="dark"] .feature-card-cta {
  background: rgba(var(--orange-rgb), 0.1);
  border-width: 3px;
  border-color: var(--orange);
  color: #ffffff;
}

@media (hover: hover) and (pointer: fine) {
  [data-theme="dark"] .feature-card-cta:hover {
    background: var(--ruby);
    color: #ffffff;
    transform: translateY(-2px);
  }
}

/* ================ 11. SECTION HEADERS (Global) ================ */
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 8vw, 64px);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(var(--red-rgb), 0.10);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

@media (min-width: 1024px) {
  .section-title {
    font-size: clamp(36px, 3.2vw, 40px);
  }
}

.section-subtitle {
  font-size: clamp(16px, 2.5vw, 18px);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================ 12. SHOWCASE / PORTFOLIO SECTION ================ */
.showcase-section {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.showcase-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.showcase-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.showcase-filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid var(--crimson);
  background: transparent;
  color: var(--crimson);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.showcase-filter-btn:hover {
  background: rgba(var(--crimson-rgb), 0.10);
  border-color: rgba(var(--crimson-rgb), 0.40);
  transform: translateY(-1px);
}

.showcase-filter-btn.is-active {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #ffffff;
}

[data-theme="dark"] .showcase-filter-btn {
  border-color: var(--ruby);
  color: #ffffff;
}

[data-theme="dark"] .showcase-filter-btn:hover {
  background: rgba(var(--orange-rgb), 0.12);
  border-color: rgba(var(--orange-rgb), 0.55);
}

[data-theme="dark"] .showcase-filter-btn.is-active {
  background: var(--ruby);
  border-color: var(--ruby);
  color: #ffffff;
}

.showcase-more .btn-inline-secondary {
  border-radius: 999px;
  background: var(--crimson);
  border-color: var(--crimson);
  color: #ffffff;
}

.showcase-more .btn-inline-secondary:hover {
  background: transparent;
  color: var(--crimson);
  box-shadow: none;
}

[data-theme="dark"] .showcase-more .btn-inline-secondary {
  background: var(--ruby);
  border-color: var(--orange);
  color: #ffffff;
}

[data-theme="dark"] .showcase-more .btn-inline-secondary:hover {
  background: transparent;
  color: var(--orange);
}

.showcase-item.is-hidden {
  display: none;
}

.showcase-empty {
  margin-top: 18px;
  text-align: center;
  color: var(--text-muted);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap);
  margin-top: 40px;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.showcase-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (hover: hover) and (pointer: fine) {
  .showcase-item:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  }
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  color: white;
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 2;
}

.showcase-overlay h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff !important;
  text-shadow: 0 3px 12px rgba(0,0,0,0.9), 0 1px 3px rgba(0,0,0,1);
  letter-spacing: 0.02em;
}

.showcase-overlay p {
  font-size: 14px;
  font-weight: 400;
  color: #ffffff !important;
  opacity: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 1px 2px rgba(0,0,0,1);
  letter-spacing: 0.01em;
}

.showcase-item:hover .showcase-overlay {
  opacity: 1;
}

/* ================ 13. PROCESS SECTION ================ */
.process-section {
  padding: var(--section-pad) 0;
  background: var(--card);
}

.process-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.process-stepper {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  position: relative;
}

.process-stepper::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: rgba(var(--crimson-rgb), 0.18);
}

.process-stepper-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr minmax(120px, 180px);
  gap: 16px;
  align-items: center;
  padding: 16px 0;
}

.process-stepper-item:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.process-stepper-marker {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--crimson);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .process-stepper::before {
  background: rgba(255, 255, 255, 0.10);
}

[data-theme="dark"] .process-stepper-marker {
  background: var(--ruby);
}

.process-stepper-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.process-stepper-desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.process-stepper-media {
  justify-self: end;
  width: 100%;
  max-width: 180px;
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--glass);
}

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

.process-stepper-item:hover {
  background: linear-gradient(90deg, rgba(var(--orange-rgb), 0.10), rgba(var(--orange-rgb), 0));
}

[data-theme="dark"] .process-stepper::before {
  background: rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] .process-stepper-item:not(:last-child) {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .process-stepper-media {
  border-color: rgba(255, 255, 255, 0.10);
}

@media (max-width: 720px) {
  .process-stepper-item {
    grid-template-columns: 44px 1fr;
    align-items: start;
  }

  .process-stepper-media {
    grid-column: 2;
    justify-self: start;
    max-width: 320px;
    margin-top: 10px;
  }
}

/* ================ 14. TESTIMONIALS SECTION ================ */
.testimonials-section {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.testimonials-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--grid-gap);
  margin-top: 32px;
}

.testimonial-card {
  background: var(--card);
  padding: clamp(24px, 4vw, 32px);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--border);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-avatar-initial {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.testimonial-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.testimonial-info p {
  font-size: 14px;
  color: var(--text-light);
}

.testimonial-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-rating {
  margin-top: 16px;
  color: var(--accent);
}

.testimonials-qualifier {
  max-width: 720px;
  margin: 40px auto 0;
  font-size: 14px;
  line-height: 1.6;
  color: #000000;
  text-align: center;
}

/* ================ 15. RFQ SECTION & FORM ================ */
.rfq-section {
  padding: var(--section-pad) 0;
  background: var(--card);
}

.rfq-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.rfq-header {
  text-align: center;
  margin-bottom: clamp(40px, 8vw, 64px);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.rfq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
  align-items: start;
}

.rfq-form {
  background: var(--light-grey);
  padding: clamp(32px, 5vw, 48px);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.rfq-reasoning {
  max-width: 720px;
  margin: 0 auto 32px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-field label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  transition: all .3s ease;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-light);
  opacity: 1;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), 0.14);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit-rfq {
  width: 100%;
  padding: 16px 32px;
  background: var(--crimson);
  color: white;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  margin-bottom: 16px;
}

.btn-submit-rfq:not(:disabled) > svg {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-submit-rfq:hover {
  background: rgba(var(--crimson-rgb), 0.92);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(var(--crimson-rgb), 0.22);
}

[data-theme="dark"] .btn-submit-rfq {
  background: var(--ruby);
}

[data-theme="dark"] .btn-submit-rfq:hover {
  background: var(--ruby);
  box-shadow: 0 8px 20px rgba(var(--ruby-rgb), 0.30);
}

.btn-submit-rfq:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: left;
  line-height: 1.6;
}

.form-note a {
  color: var(--green);
  text-decoration: underline;
}

.form-note-center {
  text-align: center;
}

.rfq-form .form-note.form-note-center {
  text-align: center;
}

.form-note-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.form-note-badges > span {
  white-space: nowrap;
}

.rfq-submit-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rfq-submit-block .form-note-badges {
  width: fit-content;
  max-width: 100%;
}

.rfq-sidebar {
  position: sticky;
  top: 100px;
}

.rfq-info-card {
  background: var(--bg);
  padding: clamp(24px, 4vw, 32px);
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.rfq-info-card h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text);
}

.rfq-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rfq-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.rfq-benefits li svg {
  flex-shrink: 0;
  color: var(--green);
  margin-top: 2px;
}

.rfq-contact-quick {
  background: var(--bg);
  padding: clamp(24px, 4vw, 32px);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: inherit;
}

.rfq-form .rfq-contact-quick {
  margin-top: 16px;
}

.rfq-contact-quick p {
  margin-bottom: 16px;
  width: 100%;
  text-align: center;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

.rfq-contact-quick p.form-note {
  color: var(--text);
  font-weight: 700;
}

[data-theme="dark"] .rfq-contact-quick p.form-note {
  color: #ffffff;
}

.btn-wa-compact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--green);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  transition: all .3s ease;
  font-family: inherit;
}

.btn-wa-compact:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--green-rgb), 0.3);
}

/* ================ 16. MARKETPLACE SECTION ================ */
.marketplace-section {
  padding: clamp(32px, 4vw, 48px) 0 clamp(24px, 3vw, 32px) 0;
  background: var(--ruby);
}

.marketplace-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.marketplace-section .section-header {
  margin-bottom: clamp(20px, 4vw, 32px);
}

.marketplace-title-small {
  font-size: clamp(24px, 4vw, 32px) !important;
  line-height: 1.3;
  margin-bottom: 12px !important;
  color: #ffffff !important;
}

.marketplace-section .section-subtitle {
  font-size: clamp(15px, 2vw, 17px) !important;
  line-height: 1.5;
  color: #ffffff !important;
  opacity: 1 !important;
}

.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(55px, 1fr));
  gap: clamp(6px, 1vw, 8px);
  margin-top: 16px;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.marketplace-card {
  background: var(--white);
  padding: clamp(6px, 1vw, 8px);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: all .3s ease;
  position: relative;
}

.marketplace-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: #ffffff;
}

.marketplace-card img {
  max-width: 28px;
  height: auto;
  filter: grayscale(100%) brightness(0.5) contrast(0.5) !important;
  opacity: 0.5;
  transition: all .3s ease;
}

.marketplace-card:hover img {
  filter: grayscale(0%) brightness(1) contrast(1) !important;
  opacity: 1;
}

/* TikTok logo specific - swap to colored version on hover */
.marketplace-card-tiktok .tiktok-img {
  content: url('assets/images/marketplace/tiktok-logo.svg');
}

.marketplace-card-tiktok:hover .tiktok-img {
  content: url('assets/images/marketplace/tiktok-logo-color.svg');
  filter: none !important;
  opacity: 1 !important;
}

.marketplace-arrow {
  font-size: 12px;
  color: var(--orange);
  font-weight: 700;
}

/* ================ 17. CTA SECTION ================ */
.cta-section-modern {
  padding: clamp(48px, 8vw, 80px) 0;
  background: var(--ruby);
}

.cta-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  text-align: center;
}

.cta-title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
}

.cta-subtitle {
  font-size: clamp(14px, 2vw, 16px);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  line-height: 1.5;
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #ffffff;
}

.cta-feature svg {
  color: #ffffff;
  stroke: #ffffff;
  width: 16px;
  height: 16px;
}

.btn-cta-wa {
  padding: 14px 32px;
  background: var(--green);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-cta-wa:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(var(--green-rgb), 0.4);
}

.btn-cta-wa svg {
  fill: #ffffff;
}

/* ================ REQUEST HARGA CTA SECTION ================ */
.request-harga-cta-section {
  padding: clamp(60px, 10vw, 100px) 0;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.request-harga-cta-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: clamp(32px, 6vw, 56px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.request-harga-cta-content .section-title {
  margin-bottom: 16px;
}

.request-harga-cta-content .section-subtitle {
  max-width: 560px;
  margin: 0 auto 32px;
}

.request-harga-cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 36px;
}

.request-harga-cta-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.request-harga-cta-feature svg {
  color: var(--accent);
  stroke: var(--accent);
  flex-shrink: 0;
}

.request-harga-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.btn-request-harga-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--accent);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-request-harga-primary:hover {
  background: var(--ruby);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--ruby-rgb), 0.30);
}

.btn-request-harga-primary svg {
  stroke: #ffffff;
}

.btn-request-harga-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--green);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-request-harga-wa:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-request-harga-wa svg {
  fill: #ffffff;
}

@media (max-width: 600px) {
  .request-harga-cta-section {
    padding: clamp(40px, 8vw, 60px) 0;
  }

  .request-harga-cta-card {
    padding: clamp(24px, 5vw, 40px);
    border-radius: 16px;
    margin: 0 8px;
  }

  .request-harga-cta-content .section-title {
    font-size: 1.4rem;
  }

  .request-harga-cta-content .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .request-harga-cta-features {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
  }

  .request-harga-cta-feature {
    font-size: 0.9rem;
  }

  .request-harga-cta-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn-request-harga-primary,
  .btn-request-harga-wa {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }
}

/* Dark mode for Request Harga CTA */
[data-theme="dark"] .request-harga-cta-section {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

[data-theme="dark"] .request-harga-cta-card {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

/* ================ 18. INLINE CTAs ================ */

/* Inline CTA after Portfolio */
.inline-cta-visual {
  text-align: center;
  padding: 40px 28px;
  background: var(--glass);
  border-radius: 16px;
  margin-top: 32px;
}

.inline-cta-visual h3 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.cta-buttons-inline {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-inline-primary {
  padding: 14px 32px;
  background: var(--green);
  color: white;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-inline-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--green-rgb), 0.3);
}

.btn-inline-secondary {
  padding: 10px 20px;
  background: transparent;
  color: var(--crimson);
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid var(--crimson);
  cursor: pointer;
  transition: all .25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-inline-secondary:hover {
  background: var(--crimson);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--crimson-rgb), 0.22);
}

[data-theme="dark"] .btn-inline-secondary {
  border-color: var(--ruby);
  color: #ffffff;
}

[data-theme="dark"] .btn-inline-secondary:hover {
  background: var(--ruby);
  color: #ffffff;
  border-color: var(--ruby);
  box-shadow: 0 4px 12px rgba(var(--ruby-rgb), 0.30);
}

.showcase-more {
  text-align: center;
  margin-top: 24px;
  margin-bottom: 16px;
}

/* Inline CTA after Process - Full width block */
.inline-cta-block {
  margin-top: 32px;
  text-align: center;
}

.btn-block-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 20px;
  background: var(--crimson);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid var(--crimson);
  transition: all .25s ease;
  text-decoration: none;
  min-width: 320px;
}

.btn-block-cta:hover {
  background: transparent;
  color: var(--crimson);
  transform: translateY(-1px);
  box-shadow: none;
}

.btn-block-cta svg {
  transition: transform .25s ease;
}

.btn-block-cta:hover svg {
  transform: translateX(4px);
}

[data-theme="dark"] .btn-block-cta {
  border-color: var(--orange);
  color: #ffffff;
  background: var(--ruby);
}

[data-theme="dark"] .btn-block-cta:hover {
  background: transparent;
  color: var(--ruby);
  box-shadow: none;
}

/* Dark mode inline CTAs */
[data-theme="dark"] .inline-cta-visual {
  background: rgba(255, 255, 255, 0.05);
}

/* Mobile inline CTAs */
@media (max-width: 767px) {
  .inline-cta-visual {
    padding: 32px 20px;
    margin-top: 32px;
  }
  
  .cta-buttons-inline {
    flex-direction: column;
  }
  
  .btn-inline-primary,
  .btn-inline-secondary {
    width: 100%;
    justify-content: center;
  }

  .btn-inline-primary svg,
  .btn-inline-secondary svg {
    display: block;
  }

  .footer-contact-links li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-contact-links svg {
    flex-shrink: 0;
    margin-top: 2px;
  }

  .footer-contact-links a {
    line-height: 1.4;
  }
  
  .btn-block-cta {
    width: 100%;
    min-width: auto;
    font-size: 16px;
    padding: 16px 32px;
  }
}

/* ================ 18. FOOTER ================ */
footer {
  background: var(--header-bg-solid);
  color: white;
  padding: clamp(40px, 8vw, 64px) 0 24px;
}

html:not([data-theme="dark"]) footer {
  color: var(--text);
}

html:not([data-theme="dark"]) footer .footer-brand p,
html:not([data-theme="dark"]) footer .footer-links a,
html:not([data-theme="dark"]) footer .footer-column p,
html:not([data-theme="dark"]) footer .footer-bottom p,
html:not([data-theme="dark"]) footer .footer-badge-item,
html:not([data-theme="dark"]) footer .footer-payments-title,
html:not([data-theme="dark"]) footer .footer-address-link,
html:not([data-theme="dark"]) footer .footer-social a {
  color: var(--text-muted);
}

html:not([data-theme="dark"]) footer .footer-links a:hover,
html:not([data-theme="dark"]) footer .footer-address-link:hover,
html:not([data-theme="dark"]) footer .footer-social a:hover {
  color: var(--crimson);
}

html:not([data-theme="dark"]) footer .footer-social a:hover {
  color: #ffffff;
}

html:not([data-theme="dark"]) footer .footer-brand h3,
html:not([data-theme="dark"]) footer .footer-column h4,
html:not([data-theme="dark"]) footer .footer-logo h3 {
  color: var(--text);
}

/* Footer text readability fix for lightmode */
footer .footer-brand p,
footer .footer-links a,
footer .footer-column p,
footer .footer-bottom p,
footer .footer-badge-item,
footer .footer-payments-title,
footer .footer-address-link {
  color: var(--dark-muted);
}

footer .footer-links a:hover,
footer .footer-address-link:hover {
  color: #ffffff;
}

footer .footer-brand h3,
footer .footer-column h4,
footer .footer-logo h3 {
  color: #ffffff;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr 1fr;
  column-gap: 8px;
  row-gap: 32px;
  margin-bottom: 32px;
}

.footer-grid .footer-brand {
  margin-right: 32px;
}

.footer-grid .footer-column:last-child {
  margin-left: 24px;
}

@media (min-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1.3fr 0.75fr 0.75fr 1fr 1fr;
    column-gap: 6px;
  }

  .footer-grid .footer-brand {
    margin-right: 40px;
  }

  .footer-grid .footer-column:last-child {
    margin-left: 32px;
  }
}

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 20px;
  }

  .footer-grid .footer-column:last-child {
    margin-left: 0;
  }
}

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

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

  .footer-grid .footer-brand,
  .footer-grid .footer-column:last-child {
    margin-left: 0;
    margin-right: 0;
  }
}

.footer-brand h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

.footer-logo h3 {
  font-size: 18px;
  margin: 0;
}

.footer-social {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

.footer-social a {
  color: var(--dark-muted);
  transition: color .2s ease;
}

.footer-social a:hover {
  color: #ffffff;
}

.footer-social svg {
  display: block;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  transition: all .3s ease;
}

.social-link:hover {
  background: var(--ruby);
  transform: translateY(-2px);
}

html:not([data-theme="dark"]) .social-link {
  background: rgba(var(--red-rgb), 0.06);
  border: 1px solid rgba(var(--red-rgb), 0.12);
  color: var(--crimson);
}

html:not([data-theme="dark"]) .social-link:hover {
  background: var(--crimson);
  border-color: rgba(var(--crimson-rgb), 0.28);
  color: #ffffff;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background .2s ease;
}

.social-icon:hover {
  background: rgba(255,255,255,0.2);
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-light);
  font-size: 14px;
  transition: color .3s ease;
}

.footer-links a:hover,
.footer-address-link:hover {
  color: white;
}

.footer-address-link {
  color: var(--text-light);
  transition: color .2s ease;
}

.footer-payments {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.footer-payments-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
}

.footer-payments-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
}

.footer-payments-logos img {
  height: 32px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity .3s ease, transform .3s ease;
}

.footer-payments-logos img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light);
  font-size: 14px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-badge-item {
  font-size: 13px;
  color: var(--text-light);
}

/* ================ 19. UTILITIES & BUTTONS ================ */
.btn,
.btn-primary {
  box-shadow: none;
  border-radius: 10px;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
}

/* ================ 20. STICKY ELEMENTS ================ */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background: var(--green);
  color: white;
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all .3s ease;
  border: none;
}

.sticky-cta:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(var(--green-rgb), 0.4);
}

.back-to-top {
  position: fixed;
  bottom: 88px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  z-index: 120;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--ruby);
  color: #ffffff;
  transform: translateY(-3px);
}

@media (min-width: 992px) {
  .back-to-top {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* ================ 21. ANIMATIONS ================ */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ================ 22. NOTION STYLE OVERRIDES ================ */
.feature-card,
.testimonial-card,
.showcase-item {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  box-shadow: none;
}

.feature-card:hover,
.testimonial-card:hover,
.showcase-item:hover {
  transform: none;
  transition: all .25s ease;
}

input,
textarea,
select {
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(0,0,0,0.4);
  outline: none;
}

hr,
.section-divider {
  border: none;
  height: 1px;
  background: rgba(0,0,0,0.06);
}

[class*="shadow"],
[class*="glow"],
[class*="gradient"] {
  box-shadow: none !important;
}

/* ================ 23. RESPONSIVE - MOBILE ================ */

/* Very small mobile (320-360px) - Extra compact */
@media (max-width: 360px) {
  .logo-text h1 {
    font-size: 14px;
  }
  
  .logo-text p {
    display: none;
  }
  
  .theme-toggle {
    width: 44px;
    height: 22px;
  }
  
  .theme-toggle::before {
    width: 16px;
    height: 16px;
    top: 3px;
    left: 3px;
  }
  
  [data-theme="dark"] .theme-toggle::before {
    transform: translateX(22px);
  }
  
  .theme-toggle-icon {
    width: 11px;
    height: 11px;
  }
  
  .theme-toggle-icon.sun {
    left: 5px;
  }
  
  .theme-toggle-icon.moon {
    right: 5px;
  }
  
  .mobile-toggle span {
    width: 18px;
  }
  
  .header-container {
    padding: 0 12px;
  }

  .marketplace-card img {
    max-width: 40px;
  }

  .feature-visual {
    height: 200px;
  }

  .showcase-overlay {
    padding: 18px;
  }

  .showcase-overlay h4 {
    font-size: 16px;
  }

  .faq-question {
    padding: 16px 16px;
    font-size: 15px;
    gap: 12px;
  }

  .faq-answer {
    padding: 0 16px;
  }

  .faq-item.active .faq-answer {
    padding: 0 16px 16px;
  }

  .success-modal-content {
    padding: 24px;
  }

  .success-modal-actions {
    flex-direction: column;
  }

  .btn-modal {
    width: 100%;
  }
}

@media (max-width: 767px) {
  :root {
    --section-pad: var(--section-pad-mobile);
    --grid-gap: var(--grid-gap-mobile);
    --hero-gap: 24px;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-visual {
    height: 200px;
  }

  .showcase-overlay {
    padding: 20px;
  }

  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav {
    padding: 12px 0;
  }

  .logo-mark {
    width: 32px;
    height: 32px;
  }

  .logo-text p {
    display: none;
  }

  .mobile-toggle {
    padding: 6px;
    min-width: 44px;
    min-height: 44px;
  }

  .mobile-menu-inner {
    padding: 16px;
    gap: 6px;
  }

  .mobile-nav-link {
    padding: 12px 14px;
    font-size: 14px;
    gap: 10px;
  }

  .mobile-nav-link svg {
    width: 16px;
    height: 16px;
  }

  .mobile-menu-divider {
    margin: 12px 0;
  }

  .mobile-cta {
    padding: 12px 16px;
    font-size: 14px;
  }

  .mobile-cta-primary {
    margin-top: 12px;
  }

  .mobile-cta-secondary {
    margin-top: 10px;
  }

  .hero-title {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .features-grid,
  .showcase-grid,
  .process-steps,
  .testimonials-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .rfq-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .rfq-sidebar {
    position: static;
  }

  .sticky-cta {
    bottom: 16px;
    right: 16px;
    left: auto;
    justify-content: center;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .back-to-top {
    display: none;
  }

  body {
    padding-bottom: 0;
  }

  .sticky-cta {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
    gap: 0;
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  }

  .sticky-cta-text {
    display: none;
  }

  .sticky-cta svg {
    width: 26px;
    height: 26px;
  }

  .btn-hero-primary {
    width: 100%;
    justify-content: center;
  }

  .btn-hero-secondary {
    background: transparent;
    border: none;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-light);
  }

  .features-grid .feature-card:nth-child(1) {
    order: 2;
  }

  .features-grid .feature-card:nth-child(2) {
    order: 1;
  }

  .features-grid .feature-card:nth-child(3) {
    order: 3;
  }

  .hero-modern {
    padding: 64px 0 48px;
  }

  .hero-container {
    gap: var(--hero-gap);
  }

  .hero-title {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 14px 22px;
    font-size: 15px;
    border-radius: 6px;
  }

  .hero-cta-group {
    gap: 12px;
  }

  .hero-slideshow-container {
    border-radius: 12px;
  }

  .slide-nav {
    width: 40px;
    height: 40px;
  }

  .slide-nav.prev {
    left: 8px;
  }

  .slide-nav.next {
    right: 8px;
  }

  .slide-controls {
    bottom: 12px;
  }

  .slide-dot {
    width: 10px;
    height: 10px;
  }

  .trust-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .trust-logo {
    max-width: 100px;
  }

  .trust-track {
    gap: 32px;
    animation-duration: 25s;
  }

  .trust-logo {
    max-width: 96px;
  }

  .hero-microcopy {
    font-size: 13px;
  }

  .feature-card,
  .testimonial-card {
    padding: 20px;
  }

  .feature-visual {
    height: 140px;
  }

  .rfq-form {
    padding: 24px;
  }

  .form-field input,
  .form-field select {
    padding: 12px 14px;
    font-size: 16px;
    min-height: 44px;
  }

  .form-field textarea {
    padding: 12px 14px;
    font-size: 16px;
  }

  .btn-submit-rfq {
    padding: 14px;
    font-size: 16px;
  }

  .sticky-cta {
    padding: 14px;
    font-size: 14px;
    border-radius: 12px;
  }

  .back-to-top {
    bottom: 80px;
  }

  .footer-payments-logos {
    gap: 12px;
  }

  .footer-payments-logos img {
    height: 24px;
    max-width: 60px;
  }

  .trust-marquee {
    gap: 20px;
    padding: 16px 0;
  }

  .marquee-track {
    gap: 20px;
    animation: marquee 60s linear infinite;
  }

  .marquee-track:nth-child(2) {
    animation: marquee 70s linear infinite reverse;
  }

  .trust-marquee img {
    height: 20px;
  }
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .mobile-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }
}

/* ================= SECTION TITLE SCROLL REVEAL ================= */


.section-title,
.section-subtitle {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.6s cubic-bezier(.22,.61,.36,1),
    transform 0.6s cubic-bezier(.22,.61,.36,1);
    transition-delay: 0.08s;
}

/* state aktif - FIXED: Added .section-title */
.section-title.is-visible,
.section-subtitle.is-visible {
  opacity: 1;
  transform: translateY(0);
}

  


/* ================ LAZY LOADING WITH BLUR PLACEHOLDER ================ */

img[data-src][src^="data:"]:not(.loaded) {
  filter: blur(14px);
  transform: scale(1.01);
  transition:
    filter 0.4s ease,
    transform 0.4s ease;
  background: linear-gradient(90deg, rgba(189, 195, 199, 0.35) 25%, rgba(189, 195, 199, 0.55) 50%, rgba(189, 195, 199, 0.35) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

[data-theme="dark"] img[data-src][src^="data:"]:not(.loaded) {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 25%, rgba(255, 255, 255, 0.10) 50%, rgba(255, 255, 255, 0.06) 75%);
}

img[data-src].loaded {
  filter: none;
  transform: none;
  background: none;
  animation: none;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Blur-up effect for images */
.blur-load {
  background-size: cover;
  background-position: center;
}

.blur-load img {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.blur-load img.loaded {
  opacity: 1;
}

.blur-load::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  transform: scale(1.1);
  transition: opacity 0.5s ease-in-out;
}

.blur-load.loaded::before {
  opacity: 0;
}


/* ================ FORM VALIDATION STYLES ================ */

.form-field {
  position: relative;
}

.form-field.valid input,
.form-field.valid select,
.form-field.valid textarea {
  border-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2325D366' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-field.error input,
.form-field.error select,
.form-field.error textarea {
  border-color: var(--danger);
}

.form-error {
  display: none;
  color: var(--danger);
  font-size: 13px;
  margin-top: 6px;
  animation: slideDown 0.3s ease;
}

.form-field.error .form-error {
  display: block;
}

.form-success {
  display: none;
  color: var(--green);
  font-size: 13px;
  margin-top: 6px;
}

.form-field.valid .form-success {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* File Upload Styles */
.file-upload-wrapper {
  position: relative;
  margin-top: 8px;
}

.file-upload-input {
  display: none;
}

.file-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 16px;
  border: 2px dashed var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--card);
}

.file-upload-label:hover {
  border-color: var(--accent);
  background: rgba(var(--red-rgb), 0.10);
}

.file-upload-label.dragover {
  border-color: var(--accent);
  background: rgba(var(--red-rgb), 0.10);
  transform: scale(1.02);
}

.file-preview {
  display: none;
  margin-top: 12px;
  padding: 12px;
  background: var(--light-grey);
  border-radius: 8px;
  align-items: center;
  gap: 12px;
}

.file-preview.show {
  display: flex;
}

.file-preview img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.file-info {
  flex: 1;
}

.file-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.file-size {
  font-size: 12px;
  color: var(--text-light);
}

.file-remove {
  padding: 8px;
  background: var(--danger);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.file-remove:hover {
  background: var(--crimson);
}

/* Success Modal */
.success-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.success-modal.show {
  display: flex;
}

.success-modal-content {
  background: var(--bg);
  padding: 40px;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  max-height: calc(100dvh - 40px);
  overflow: auto;
  text-align: center;
  animation: slideUp 0.4s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.5s ease 0.2s both;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.success-icon svg {
  width: 40px;
  height: 40px;
  stroke: white;
  stroke-width: 3;
}

.success-modal h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text);
}

.success-modal p {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.success-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-modal {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-modal-primary {
  background: var(--green);
  color: white;
}

.btn-modal-primary:hover {
  background: var(--green-dark);
}

.btn-modal-secondary {
  background: var(--ruby);
  color: #ffffff;
  border: none;
}

.btn-modal-secondary:hover {
  background: #7d0d18;
  box-shadow: 0 6px 18px rgba(var(--ruby-rgb), 0.3);
}

/* ================ FEATURE MODAL ================ */

.feature-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.feature-modal.show {
  display: flex;
}

.feature-modal-content {
  background: var(--bg);
  padding: 32px;
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.4s ease;
  box-shadow: 0 25px 80px rgba(0,0,0,0.35);
}

.feature-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--light-grey);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--text-muted);
}

.feature-modal-close:hover {
  background: var(--crimson);
  color: white;
  transform: rotate(90deg);
}

.feature-modal-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--crimson) 0%, #ff4757 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.5s ease 0.2s both;
}

.feature-modal-icon svg {
  width: 36px;
  height: 36px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

.feature-modal h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  text-align: center;
}

.feature-modal p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: center;
  font-size: 15px;
}

.feature-modal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  background: transparent;
  border-radius: 0;
  padding: 16px 0;
}

.feature-modal-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.feature-modal-list li:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.feature-modal-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

.feature-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-modal-actions .btn-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  text-align: center;
}

.feature-modal-actions .btn-modal-primary {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
}

.feature-modal-actions .btn-modal-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.feature-modal-actions .btn-modal-secondary {
  background: var(--crimson);
  color: #ffffff;
}

.feature-modal-actions .btn-modal-secondary:hover {
  background: rgba(var(--crimson-rgb), 0.9);
  color: #ffffff;
}

/* Feature Modal Dark Mode */
[data-theme="dark"] .feature-modal-content {
  background: var(--card-bg);
  box-shadow: 0 25px 80px rgba(0,0,0,0.6);
}

[data-theme="dark"] .feature-modal-close {
  background: rgba(255,255,255,0.1);
  color: var(--text-muted);
}

[data-theme="dark"] .feature-modal-close:hover {
  background: var(--crimson);
  color: white;
}

[data-theme="dark"] .feature-modal-list {
  background: rgba(255,255,255,0.05);
}

[data-theme="dark"] .feature-modal-list li:not(:last-child) {
  border-bottom-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .feature-modal-actions .btn-modal-secondary {
  background: var(--crimson);
}

/* Feature Card CTA Button Style */
button.feature-card-cta {
  background: transparent;
  border: inherit;
  cursor: pointer;
  font-family: inherit;
}

@media (max-width: 480px) {
  .feature-modal-content {
    padding: 24px 20px;
    border-radius: 16px;
  }
  
  .feature-modal h3 {
    font-size: 20px;
  }
  
  .feature-modal-icon {
    width: 60px;
    height: 60px;
  }
  
  .feature-modal-icon svg {
    width: 28px;
    height: 28px;
  }
}

/* ================ ALL SECTIONS DARK MODE ================ */

[data-theme="dark"] .hero-modern {
  background: linear-gradient(180deg, var(--hero-bg-top) 0%, var(--hero-bg-bottom) 100%) !important;
}

[data-theme="dark"] .trust-section {
  background: linear-gradient(180deg, var(--hero-bg-top) 0%, var(--hero-bg-bottom) 100%) !important;
}

[data-theme="dark"] .video-section {
  background: linear-gradient(180deg, var(--hero-bg-top) 0%, var(--hero-bg-bottom) 100%) !important;
}

[data-theme="dark"] .features-modern {
  background: linear-gradient(180deg, var(--hero-bg-top) 0%, var(--hero-bg-bottom) 100%) !important;
}

[data-theme="dark"] .showcase-section {
  background: linear-gradient(180deg, var(--hero-bg-top) 0%, var(--hero-bg-bottom) 100%) !important;
}

[data-theme="dark"] .process-section {
  background: linear-gradient(180deg, var(--hero-bg-top) 0%, var(--hero-bg-bottom) 100%) !important;
}

[data-theme="dark"] .testimonials-section {
  background: linear-gradient(180deg, var(--hero-bg-top) 0%, var(--hero-bg-bottom) 100%) !important;
}

[data-theme="dark"] .rfq-section {
  background: linear-gradient(180deg, var(--hero-bg-top) 0%, var(--hero-bg-bottom) 100%) !important;
}

[data-theme="dark"] .marketplace-section {
  background: var(--ruby) !important;
}

[data-theme="dark"] .marketplace-section .section-subtitle {
  color: #ffffff !important;
  opacity: 1 !important;
}

[data-theme="dark"] .faq-section {
  background: linear-gradient(180deg, var(--hero-bg-top) 0%, var(--hero-bg-bottom) 100%) !important;
}

[data-theme="dark"] .cta-section-modern {
  background: var(--ruby) !important;
}

[data-theme="dark"] .cta-title {
  color: #ffffff !important;
  opacity: 1 !important;
}

[data-theme="dark"] .cta-subtitle {
  color: #ffffff !important;
  opacity: 1 !important;
}

[data-theme="dark"] .cta-feature {
  color: #ffffff !important;
  opacity: 1 !important;
}

[data-theme="dark"] .cta-feature svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

[data-theme="dark"] .feature-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .rfq-form,
[data-theme="dark"] .rfq-info-card,
[data-theme="dark"] .rfq-contact-quick,
[data-theme="dark"] .faq-item {
  background: var(--card) !important;
  border-color: var(--border) !important;
}

[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .testimonial-card:hover {
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

[data-theme="dark"] .showcase-item:hover {
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .marketplace-card {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

[data-theme="dark"] .marketplace-card:hover {
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .feature-visual {
  background: rgba(255, 255, 255, 0.03) !important;
}

[data-theme="dark"] .testimonial-avatar {
  background: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .hero-title,
[data-theme="dark"] .section-title,
[data-theme="dark"] .feature-title,
[data-theme="dark"] .cta-title {
  color: var(--text) !important;
}

[data-theme="dark"] .hero-subtitle,
[data-theme="dark"] .section-subtitle,
[data-theme="dark"] .feature-description,
[data-theme="dark"] .testimonial-text {
  color: var(--text-muted) !important;
}

[data-theme="dark"] .hero-microcopy,
[data-theme="dark"] .trust-qualifier,
[data-theme="dark"] .testimonials-qualifier,
[data-theme="dark"] .rfq-reasoning {
  color: var(--text-muted) !important;
}
/* ================ RESPONSIVE ENHANCEMENTS ================ */

/* ===== TABLET OPTIMIZATION (768px - 1024px) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  /* 2-column layouts for better tablet experience */
  .features-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hybrid navigation for tablet */
  .nav-links {
    gap: 4px;
  }

  .nav-link {
    padding: 8px 12px;
    font-size: 13px;
  }

  .cta-nav {
    padding: 8px 16px;
    font-size: 13px;
  }
}

@media (min-width: 768px) and (max-width: 834px) {
  .logo {
    gap: 8px;
  }

  .logo-mark {
    width: 30px;
    height: 30px;
  }

  .logo-text h1 {
    font-size: 13px;
  }

  .logo-text p {
    display: none;
  }
}

/* ===== MOBILE ENHANCEMENTS ===== */
@media (max-width: 767px) {
  /* Larger touch targets for mobile */
  .slide-nav {
    width: 48px;
    height: 48px;
  }

  .slide-nav.prev {
    left: 12px;
  }

  .slide-nav.next {
    right: 12px;
  }

  .slide-dot {
    width: 12px;
    height: 12px;
  }

  /* Better form touch targets */
  .form-field input,
  .form-field select,
  .form-field textarea {
    min-height: 48px;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .btn-submit-rfq {
    min-height: 52px;
    font-size: 16px;
  }

  /* Improved mobile menu */
  .mobile-menu {
    top: var(--header-h, 73px);
    height: calc(100vh - var(--header-h, 73px));
    height: calc(100dvh - var(--header-h, 73px));
  }

  .mobile-nav-link {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .hero-modern {
    padding: 48px 0 40px;
  }

  /* Sticky CTA improvements */
  .sticky-cta {
    position: fixed;
    bottom: 16px;
    right: 16px;
    left: auto;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    padding: 0;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    transition: transform 0.3s ease, opacity 0.2s ease;
    z-index: 100;
  }

  .sticky-cta.hide {
    transform: translateY(100%);
  }

  body.menu-open .sticky-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(0.96);
  }

  body {
    padding-bottom: 0;
  }

  main#main-content {
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }

  /* Hide back to top on mobile */
  .back-to-top {
    display: none !important;
  }
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch devices */
  .feature-card:hover,
  .testimonial-card:hover,
  .showcase-item:hover {
    transform: none;
  }

  .back-to-top {
    display: none !important;
  }

  /* Always show showcase overlay on touch (no hover available) */
  .showcase-item::after {
    opacity: 1;
  }

  .showcase-overlay {
    opacity: 1;
  }

  /* Adequate social link touch targets */
  .social-link {
    width: 44px;
    height: 44px;
  }

  /* Larger tap targets */
  button:not(.theme-toggle):not(.slide-dot),
  a,
  input,
  select,
  textarea {
    min-height: 44px;
  }

  /* Better touch feedback */
  button:active,
  .btn-hero-primary:active,
  .btn-cta-wa:active,
  .sticky-cta:active {
    transform: scale(0.98);
    opacity: 0.9;
  }
}

/* ===== LANDSCAPE MOBILE ===== */
@media (max-width: 896px) and (orientation: landscape) {
  .hero-modern {
    padding: 32px 0 24px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* ===== SMALL MOBILE (< 375px) ===== */
@media (max-width: 374px) {
  .hero-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 24px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 12px 20px;
    font-size: 14px;
  }

  .logo-text h1 {
    font-size: 15px;
  }

  .logo-text p {
    font-size: 10px;
  }
}

/* ================ PAYMENT ICONS IN FOOTER GRID ================ */
.footer-payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  align-items: center;
}




.footer-payment-icons .payment-icon:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Mobile responsive untuk payment icons */
@media (max-width: 767px) {
  .footer-payment-icons {
    gap: 8px;
  }
  
  .footer-payment-icons .payment-icon {
    height: 20px;
    max-width: 50px;
  }
}



/* ================ PAYMENT ICONS IN FOOTER GRID (5 COLUMNS) ================ */
.footer-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.footer-payment-grid .payment-logo {
  width: 60px;
  height: 32px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity .3s ease, transform .3s ease;
  /* Warna asli - tidak ada filter grey */
}

html:not([data-theme="dark"]) .footer-payment-grid .payment-logo {
  filter: brightness(0) saturate(100%) contrast(1.05);
  opacity: 0.85;
}

.footer-payment-grid .payment-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Mobile responsive */
@media (max-width: 767px) {
  .footer-payment-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    justify-items: start;
  }
  
  .footer-payment-grid .payment-logo {
    width: min(50px, 100%);
    height: 28px;
  }
}


/* ================ FIX LOGO MANDIRI & BRI SIZE ================ */
.footer-payment-grid .payment-logo[alt="Mandiri"],
.footer-payment-grid .payment-logo[alt="BRI"] {
  width: 70px !important;
  height: 36px !important;
}

@media (max-width: 767px) {
  .footer-payment-grid .payment-logo[alt="Mandiri"],
  .footer-payment-grid .payment-logo[alt="BRI"] {
    width: 58px !important;
    height: 32px !important;
  }
}



/* Fix: Underline width untuk address link */
.footer-address-link {
  position: relative;
  display: inline-block;
}

.footer-address-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
  max-width: 100%; /* Tidak lebih panjang dari text */
}

/* ================ FORCE FIX: ADDRESS LINK UNDERLINE ================ */
.footer-links a.footer-address-link {
  position: relative !important;
  display: inline !important;
}

.footer-links a.footer-address-link::after {
  content: '' !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  width: 0 !important;
  height: 1px !important;
  background: currentColor !important;
  transition: width 0.3s ease !important;
}

/* ================ ADDRESS LINK UNDERLINE - CLEAN FIX ================ */
.footer-links li a.footer-address-link::after {
  content: '' !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  width: 0 !important;
  height: 1px !important;
  background: currentColor !important;
  transition: width 0.3s ease !important;
}

.footer-links li a.footer-address-link:hover::after {
  width: 180px !important;
}





/* ================ HEADER CENTERED NAV ================ */
.nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0 !important; /* Remove gap, use manual spacing */
  padding: 16px 0 !important;
}

/* Logo stays left */
.nav .logo {
  flex-shrink: 0;
}

/* Nav-links centered */
.nav .nav-links {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

/* Theme-toggle stays right */
.nav .theme-toggle {
  flex-shrink: 0;
  margin-left: auto;
}

/* Mobile toggle stays right (next to theme-toggle) */
.nav .mobile-toggle {
  flex-shrink: 0;
}


/* ================ BADGE DARK MODE - BETTER READABILITY ================ */
[data-theme="dark"] .section-badge {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

[data-theme="dark"] .hero-badge {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}



/* ================ GREEN BUTTONS - WHATSAPP ONLY ================ */
/* Sticky CTA - Hijau WhatsApp */
.sticky-cta {
  background: var(--green) !important;
}

.sticky-cta:hover {
  background: var(--green-dark) !important;
  box-shadow: 0 12px 32px rgba(var(--green-rgb), 0.4) !important;
}

/* Chat via WhatsApp button - Hijau */
.btn-cta-wa {
  background: var(--green) !important;
}

.btn-cta-wa:hover {
  background: var(--green-dark) !important;
}

/* Dark mode - tetap hijau */
[data-theme="dark"] .sticky-cta {
  background: var(--green) !important;
}

[data-theme="dark"] .sticky-cta:hover {
  background: var(--green-dark) !important;
}

[data-theme="dark"] .btn-cta-wa {
  background: var(--green) !important;
}

[data-theme="dark"] .btn-cta-wa:hover {
  background: var(--green-dark) !important;
}


/* Back to top hover - merah di light mode */
.back-to-top:hover {
  background: var(--ruby) !important;
  color: white !important;
  transform: translateY(-3px) !important;
}

/* Dark mode back to top tetap merah */
[data-theme="dark"] .back-to-top:hover {
  background: var(--ruby) !important;
  color: #ffffff !important;
  border-color: var(--ruby) !important;
}


/* ================ FIX HERO BUTTON DARK MODE - RED ================ */
[data-theme="dark"] .btn-hero-primary {
  background: var(--green) !important;
  color: #ffffff !important;
  border: none !important;
}

[data-theme="dark"] .btn-hero-primary:hover {
  background: var(--green-dark) !important;
  color: #ffffff !important;
}

[data-theme="dark"] .btn-hero-primary svg {
  fill: #ffffff !important;
  color: #ffffff !important;
}
.pain-point-icon svg{width:16px;height:16px;stroke:var(--ruby)}
.pain-point-item::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(var(--ruby-rgb),0.04) 0%,transparent 60%);opacity:0;transition:opacity 0.25s ease;pointer-events:none}
.pain-point-item:hover::before{opacity:1}
[data-theme="dark"] .pain-point-item{background:rgba(255,255,255,0.03);border-color:rgba(255,255,255,0.08);border-left-color:var(--ruby)}
[data-theme="dark"] .pain-point-item:hover{background:rgba(var(--ruby-rgb),0.08);border-left-color:var(--crimson);box-shadow:0 8px 24px rgba(var(--ruby-rgb),0.18)}
[data-theme="dark"] .pain-point-icon{background:rgba(var(--ruby-rgb),0.15)}
[data-theme="dark"] .pain-points-panel{background:var(--card);border-color:rgba(255,255,255,0.08);box-shadow:0 4px 32px rgba(0,0,0,0.25)}
@media (max-width: 900px) {
  .pain-points-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pain-title-nowrap {
    white-space: normal;
  }
}
