/* ==========================================================================
   SIRKUMBOY × REVOLUT DESIGN SYSTEM
   Dark/light alternating bands · Pill buttons · No drop-shadows
   Sirkumboy brand blue maps to Revolut cobalt-violet role
   ========================================================================== */

/* --------------------------------------------------------------------------
   DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Canvas — Fun Bright Blue */
  --canvas-dark:      #0C62C0;    /* Bright Blue Dark Mode */
  --canvas-light:     #ffffff;
  --surface-soft:     #FFFBEA;    /* Soft pale yellow */
  --surface-card:     #ffffff;
  --surface-deep:     #084A95;
  --surface-elevated: #116FD6;    /* Vibrant inner card */

  /* Brand — Orange, Green & Yellow (Classic Toy) */
  --brand:            #FF6B00;    /* Vibrant Orange */
  --brand-mid:        #FF8C00;
  --brand-sky:        #FFA726;    /* Soft Orange */
  --brand-light:      #FFE0B2;
  --accent-yellow:    #FFD500;    /* Electric Yellow */
  --accent-green:     #00E676;    /* Toy Green */
  --accent-pink:      #FF4081;    /* Pop Pink */

  /* Text */
  --ink:              #0B1B3D;    /* deep navy ink */
  --body-color:       #152B50;
  --mute:             #4A6A8A;
  --stone:            #7A9AB8;
  --faint:            #B8D4EC;
  --on-dark:          #ffffff;
  --on-dark-mute:     rgba(255,255,255,0.9);
  --on-dark-faint:    rgba(255,255,255,0.6);

  /* Playful Borders & Shadows (Soft-Brutalism) */
  --border-chunky: 3px solid var(--ink);
  --border-chunky-dark: 3px solid var(--on-dark);
  --shadow-chunky: 4px 4px 0px var(--brand); /* Orange shadow on light! */
  --shadow-chunky-hover: 2px 2px 0px var(--brand);
  --shadow-chunky-dark: 4px 4px 0px var(--accent-yellow);
  --shadow-chunky-dark-hover: 2px 2px 0px var(--accent-yellow);

  /* Hairlines — kept for subtle dividers */
  --hairline-light:   #FFE0B2;    /* orange tinted hairline on white */
  --hairline-dark:    rgba(255,255,255,0.2); 
  --hairline-strong:  #0B1B3D;
  --divider-soft:     rgba(255,255,255,0.1);

  /* Border Radius */
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;

  /* Spacing */
  --sp-xl:      24px;
  --sp-xxl:     32px;
  --sp-xxxl:    48px;
  --sp-block:   80px;
  --sp-section: 88px;
  --sp-band:    120px;

  /* Transition */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--canvas-dark);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100vw;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --------------------------------------------------------------------------
   CONTAINER
   -------------------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

/* --------------------------------------------------------------------------
   BAND SYSTEM — the core two-mode alternating canvas
   -------------------------------------------------------------------------- */
.band-dark {
  background: var(--canvas-dark);
  color: var(--on-dark);
}

.band-light {
  background: var(--canvas-light);
  color: var(--ink);
  padding: var(--sp-band) 0;
}

.band-dark:not(.hero):not(.footer) {
  padding: var(--sp-band) 0;
}

.band-top-hairline {
  border-top: 1px solid var(--hairline-light);
  padding-top: var(--sp-band);
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY TOKENS
   -------------------------------------------------------------------------- */

/* Display sizes — Plus Jakarta Sans, tight line-height */
.display-xxl {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(3rem, 8vw, 8.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.display-xl {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.01em;
}

.display-lg {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.display-md {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.008em;
  margin-bottom: 16px;
}

.heading-lg {
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.19;
  letter-spacing: -0.02px;
}

.heading-md {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.33;
  margin-bottom: 8px;
}

.heading-sm {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
}

.body-lg {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.56;
  letter-spacing: -0.005em;
}

.body-md {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.015em;
}

.body-md-bold {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.body-sm {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.43;
}

/* Colour utility classes */
.ink        { color: var(--ink); }
.mute       { color: var(--mute); }
.on-dark    { color: var(--on-dark); }
.on-dark-mute { color: var(--on-dark-mute); }

/* --------------------------------------------------------------------------
   BADGES / PILLS
   -------------------------------------------------------------------------- */

/* Neutral tag on dark — fun pop */
/* Contrast fix: #C2185B (deep crimson) gives ~5.5:1 ratio with white text, vs #FF4081 which fails at ~3:1 */
.badge-tag {
  display: inline-flex;
  align-items: center;
  background: #C2185B;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 14px;
  border-radius: var(--r-full);
  border: var(--border-chunky-dark);
  box-shadow: 3px 3px 0px var(--accent-yellow);
  margin-bottom: 20px;
}

/* Neutral tag on light — yellow bg + dark text = ~8:1 ratio, already WCAG AAA */
.badge-tag-dark {
  display: inline-flex;
  align-items: center;
  background: var(--accent-yellow);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 14px;
  border-radius: var(--r-full);
  border: var(--border-chunky);
  box-shadow: 3px 3px 0px var(--ink);
  margin-bottom: 20px;
}

/* Brand accent badge — green on dark cards */
.badge-brand {
  display: inline-flex;
  align-items: center;
  background: var(--accent-green);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-full);
  border: var(--border-chunky-dark);
  box-shadow: 2px 2px 0px var(--accent-yellow);
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   BUTTONS — all pill-shaped per Revolut spec
   -------------------------------------------------------------------------- */

/* Primary on dark: YELLOW pill + dark text (toy-friendly) */
.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 14px 28px;
  background: var(--accent-yellow);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1;
  border-radius: var(--r-full);
  border: var(--border-chunky-dark);
  box-shadow: var(--shadow-chunky-dark);
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease-bounce);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary-dark:hover { 
  background: #FFEA00; 
  transform: translate(-2px, -2px); 
  box-shadow: 6px 6px 0px var(--accent-yellow); 
}
.btn-primary-dark:active { 
  background: #FFC400; 
  transform: translate(4px, 4px); 
  box-shadow: 0px 0px 0px var(--accent-yellow); 
}

/* Outline on dark: transparent + white border */
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 13px 27px;
  background: transparent;
  color: var(--on-dark);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1;
  border-radius: var(--r-full);
  border: 3px solid var(--on-dark);
  box-shadow: 4px 4px 0px var(--on-dark);
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease-bounce);
  cursor: pointer;
  white-space: nowrap;
}
.btn-outline-dark:hover { 
  background: rgba(255,255,255,0.08); 
  transform: translate(-2px, -2px); 
  box-shadow: 6px 6px 0px var(--on-dark); 
}
.btn-outline-dark:active { 
  transform: translate(4px, 4px); 
  box-shadow: 0px 0px 0px var(--on-dark); 
}

/* Primary on light: BLACK pill + white text */
.btn-dark-full {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 14px 28px;
  background: var(--canvas-dark);
  color: var(--on-dark);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  border-radius: var(--r-full);
  border: var(--border-chunky);
  box-shadow: var(--shadow-chunky);
  transition: opacity 0.2s, box-shadow 0.2s var(--ease), transform 0.2s var(--ease-bounce);
  cursor: pointer;
  margin-top: var(--sp-xl);
  width: 100%;
}
.btn-dark-full:hover { 
  opacity: 0.9; 
  transform: translate(-2px, -2px); 
  box-shadow: 6px 6px 0px var(--ink); 
}
.btn-dark-full:active { 
  transform: translate(4px, 4px); 
  box-shadow: 0px 0px 0px var(--ink); 
}

/* WA on dark: darkened green for WCAG AA contrast (#128C5E = ~4.6:1 with white) */
.btn-wa-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 14px 24px;
  background: #128C5E;
  color: var(--on-dark);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--r-full);
  border: var(--border-chunky-dark);
  box-shadow: var(--shadow-chunky-dark);
  transition: opacity 0.2s, box-shadow 0.2s var(--ease), transform 0.2s var(--ease-bounce);
  cursor: pointer;
}
.btn-wa-dark:hover { 
  opacity: 0.9; 
  transform: translate(-2px, -2px); 
  box-shadow: 6px 6px 0px var(--brand-sky); 
}
.btn-wa-dark:active { 
  transform: translate(4px, 4px); 
  box-shadow: 0px 0px 0px var(--brand-sky); 
}

/* WA submit button — same darkened green for AA contrast */
.btn-wa-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 56px;
  padding: 14px 28px;
  background: #128C5E;
  color: var(--on-dark);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  border-radius: var(--r-full);
  border: var(--border-chunky-dark);
  box-shadow: var(--shadow-chunky-dark);
  transition: opacity 0.2s, background 0.2s, box-shadow 0.2s var(--ease), transform 0.2s var(--ease-bounce);
  cursor: pointer;
  margin-top: 8px;
}
.btn-wa-submit:hover { 
  opacity: 0.9; 
  transform: translate(-2px, -2px); 
  box-shadow: 6px 6px 0px var(--brand-sky); 
}
.btn-wa-submit:active { 
  transform: translate(4px, 4px); 
  box-shadow: 0px 0px 0px var(--brand-sky); 
}

/* Navbar CTA — orange pill, high specificity to beat .nav-links li a */
/* Contrast fix: --ink (#0B1B3D) on orange (#FF6B00) = ~5.4:1, passes WCAG AA */
.btn-nav-cta,
.nav-links li a.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 10px 22px;
  background: var(--brand) !important;
  color: var(--ink) !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--r-full);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0px var(--ink);
  transition: background 0.2s, box-shadow 0.2s var(--ease), transform 0.2s var(--ease-bounce);
  white-space: nowrap;
}
.btn-nav-cta:hover,
.nav-links li a.btn-nav-cta:hover {
  background: #FF8C00 !important;
  color: var(--ink) !important;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--ink);
}
.btn-nav-cta:active,
.nav-links li a.btn-nav-cta:active {
  transform: translate(3px, 3px);
  box-shadow: 0px 0px 0px var(--ink);
}

/* --------------------------------------------------------------------------
   NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 140px;
  background: rgba(11,24,41,0.0);
  backdrop-filter: blur(0px);
  /* CLS fix: border always present (transparent) so width/box-model doesn't change on scroll */
  border-bottom: 1px solid transparent;
  box-sizing: border-box;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s, border-bottom-color 0.3s var(--ease);
}

.navbar.scrolled {
  background: rgba(12,98,192,0.92);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(255,255,255,0.15);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.nav-logo-eyebrow {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
  z-index: 1;
  
  /* Efek Shimmer / Mengkilap */
  background: linear-gradient(
    110deg,
    var(--brand-sky) 20%,
    #ffffff 50%,
    var(--brand-sky) 80%
  );
  background-size: 200% auto;
  color: var(--brand-sky);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 3s linear infinite;
}

@keyframes shimmerText {
  to { background-position: 200% center; }
}

/* typografi-sirkumboy.png is landscape — limit by height, auto width */
.nav-logo-img {
  height: 80px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links li a {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--r-full);
  font-family: 'Fredoka', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  /* Contrast fix: use full #ffffff (21:1 ratio) instead of rgba(255,255,255,0.9) */
  color: #ffffff;
  transition: color 0.2s, background 0.2s, transform 0.2s var(--ease-bounce);
}
.nav-links li a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.sidebar-mascot {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  position: relative;
  z-index: 1000;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--on-dark);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

/* --------------------------------------------------------------------------
   SECTION ANATOMY
   -------------------------------------------------------------------------- */
.section-eyebrow {
  margin-bottom: 16px;
}

.section-intro {
  max-width: 580px;
  margin-bottom: 64px;
}

/* --------------------------------------------------------------------------
   GRID SYSTEM
   -------------------------------------------------------------------------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* --------------------------------------------------------------------------
   USP CAROUSEL
   -------------------------------------------------------------------------- */
.usp-carousel {
  display: flex;
  gap: 16px;
  overflow-x: hidden;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch; /* for smooth mobile scroll */
  padding-bottom: 24px; /* space for scrollbar/shadows */
  cursor: grab;
  user-select: none;
  outline: none;
}

/* Hide scrollbar for a cleaner look */
.usp-carousel::-webkit-scrollbar {
  display: none;
}
.usp-carousel {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.usp-carousel:active {
  cursor: grabbing;
}

.usp-carousel-card {
  flex: 0 0 85%;
  max-width: 400px;
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: var(--border-chunky);
  box-shadow: var(--shadow-chunky);
  background: var(--surface-card);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

@media (min-width: 768px) {
  .usp-carousel-card {
    flex: 0 0 360px;
  }
}

.usp-carousel-card:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 8px 8px 0px var(--brand);
  z-index: 10;
}

.usp-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
  pointer-events: none; /* so dragging works better */
}

.usp-carousel-card:hover .usp-card-img {
  transform: scale(1.05);
}

.usp-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,27,61,0.9) 0%, rgba(11,27,61,0) 50%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  pointer-events: none;
}

.usp-card-overlay .heading-sm {
  margin-bottom: 0;
  color: var(--on-dark);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  transform: translateY(0);
  transition: transform 0.3s var(--ease);
}

.usp-carousel-card:hover .usp-card-overlay .heading-sm {
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------

   FEATURE CARDS
   Level 1: white card on soft surface (light-canvas bands)
   Level 2: surface-elevated on dark (dark-canvas bands)
   -------------------------------------------------------------------------- */
.feature-card-light {
  background: var(--surface-card);
  border: var(--border-chunky);
  box-shadow: var(--shadow-chunky);
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.feature-card-light:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-chunky-hover);
}

.feature-card-dark {
  background: var(--surface-elevated);
  border: var(--border-chunky-dark);
  box-shadow: var(--shadow-chunky-dark);
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.feature-card-dark:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-chunky-dark-hover);
}

@keyframes iconJiggle {
  0% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-10deg) scale(1.1); }
  50% { transform: rotate(10deg) scale(1.1); }
  75% { transform: rotate(-10deg) scale(1.1); }
  100% { transform: rotate(0deg) scale(1.1); }
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--accent-yellow);
  transition: color 0.3s var(--ease);
}

.feature-card-light:hover .card-icon,
.feature-card-dark:hover .card-icon {
  animation: iconJiggle 0.5s ease-in-out forwards;
}

/* --------------------------------------------------------------------------
   LAYANAN SHOWCASE (ZIG-ZAG)
   -------------------------------------------------------------------------- */
.layanan-showcase {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 64px;
}

.layanan-row {
  display: flex;
  align-items: center;
  gap: 48px;
}
.layanan-row.reverse {
  flex-direction: row-reverse;
}

.layanan-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.layanan-text .heading-lg {
  margin-bottom: 0;
}

.layanan-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.alat-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  /* Glow/Shadow agar mencolok di background gelap */
  filter: drop-shadow(0 20px 40px rgba(165,210,243,0.15));
  animation: toolFloat 6s ease-in-out infinite;
}

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

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: var(--sp-band) 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.14;
  filter: grayscale(40%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px var(--sp-xl) var(--sp-band);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  text-align: left;
  gap: 48px;
  width: 100%;
}

.hero-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Logo utama hero — dominan, mengisi hero */
.hero-emblem-wrap {
  animation: mascotFloat 7s ease-in-out infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  order: 2;
}

.hero-emblem {
  width: clamp(200px, 32vh, 420px);
  height: clamp(200px, 32vh, 420px);
  object-fit: contain;
  filter: drop-shadow(0 24px 80px rgba(165,210,243,0.6));
  will-change: transform;
}

#heroLogo {
  cursor: pointer;
  /* No base transition — rAF updates --spin-angle every frame;
     a CSS transition here causes jitter/lag on the rotation. */
  transform: rotate(var(--spin-angle, 0deg)) scale(1);
}
#heroLogo:hover {
  transform: rotate(var(--spin-angle, 0deg)) scale(1.05);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#heroLogo:active {
  transform: rotate(var(--spin-angle, 0deg)) scale(0.95);
  transition: transform 0.1s;
}

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

.hero-title {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.1;
  /* Shimmer / Sparkle Effect */
  background: linear-gradient(
    110deg,
    #ffffff 30%,
    var(--brand-sky) 50%,
    #ffffff 70%
  );
  background-size: 200% auto;
  color: #ffffff; /* fallback */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 3s linear infinite;
}

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

.hero-tagline {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--brand-sky);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-body {
  font-size: 1.1rem;
  color: var(--on-dark-mute);
  line-height: 1.62;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-body em {
  color: var(--on-dark);
  font-style: normal;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

/* .hero-mascot removed — replaced by hero-emblem */

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  50%       { transform: translateY(-10px) scale(1.03) rotate(-3deg); }
}


.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--on-dark-faint);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-caret {
  width: 18px;
  height: 18px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  animation: caretBounce 1.6s ease-in-out infinite;
}

@keyframes caretBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

/* --------------------------------------------------------------------------
   BONUS MAINAN
   -------------------------------------------------------------------------- */
.bonus-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}

.bonus-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bonus-visual-col {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bonus-composition {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 100%;
}

.bonus-img-box {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 60%;
  object-fit: contain;
  filter: drop-shadow(4px 4px 0px var(--ink));
  transform: rotate(4deg);
  z-index: 1;
  cursor: pointer;
  transition: transform 0.3s var(--ease-bounce), z-index 0s;
}
.bonus-img-box:hover {
  transform: rotate(2deg) scale(1.1);
  z-index: 10;
}
.bonus-img-box:active {
  transform: rotate(2deg) scale(0.95);
}

.bonus-img-main {
  position: absolute;
  bottom: 5%;
  left: 0;
  width: 85%;
  object-fit: contain;
  filter: drop-shadow(4px 4px 0px var(--ink));
  z-index: 2;
  cursor: pointer;
  transition: transform 0.3s var(--ease-bounce), z-index 0s;
}
.bonus-img-main:hover {
  transform: scale(1.08) rotate(-2deg);
  z-index: 10;
}
.bonus-img-main:active {
  transform: scale(0.95) rotate(-2deg);
}

.bonus-img-float {
  position: absolute;
  top: -5%;
  left: 5%;
  width: 40%;
  object-fit: contain;
  filter: drop-shadow(3px 3px 0px var(--ink));
  animation: toyFloat 5s ease-in-out infinite;
  z-index: 3;
  cursor: pointer;
  transition: z-index 0s, transform 0.25s var(--ease-bounce);
}
.bonus-img-float:hover {
  /* Pause keyframe animation so CSS transform takes over on hover */
  animation-play-state: paused;
  transform: scale(1.15) rotate(-8deg) !important;
  z-index: 10;
}
.bonus-img-float:active {
  animation-play-state: paused;
  transform: scale(0.95) rotate(-8deg) !important;
}

@keyframes toyFloat {
  0%, 100% { transform: translateY(0) rotate(-10deg); }
  50%       { transform: translateY(-15px) rotate(-4deg); }
}

/* --------------------------------------------------------------------------
   TIM
   -------------------------------------------------------------------------- */
.tim-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 64px auto 0;
}

.tim-card {
  background: var(--surface-elevated);
  border: var(--border-chunky-dark);
  box-shadow: var(--shadow-chunky-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.tim-card:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-chunky-dark-hover);
}

.tim-photo-band {
  background: linear-gradient(180deg, #116FD6 0%, #084A95 100%);
  min-height: 260px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
  position: relative;
}

.tim-photo-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--surface-elevated) 100%);
}

.tim-photo {
  max-height: 240px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.tim-info {
  padding: var(--sp-xxl);
}

/* Contrast fix: on-dark-mute (0.9 opacity) fails on #116FD6 surface-elevated; use full white */
.tim-info .body-md { color: #ffffff; }

/* --------------------------------------------------------------------------
   TESTIMONI
   -------------------------------------------------------------------------- */
.testi-card {
  background: var(--surface-card);
  border: var(--border-chunky);
  box-shadow: var(--shadow-chunky);
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.testi-card:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-chunky-hover);
}

.testi-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}

.testi-quote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--body-color);
  flex: 1;
}

.testi-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--hairline-light);
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-dark);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transform: rotate(-6deg);
}

.testi-source-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
  margin-top: 2px;
}
.testi-source-link:hover {
  color: var(--brand);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 720px;
  margin: 64px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--hairline-light);
}
.faq-item:first-child { border-top: 1px solid var(--hairline-light); }

.faq-btn {
  width: 100%;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-btn:hover { color: var(--brand); }
.faq-btn[aria-expanded="true"] { color: var(--brand); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--stone);
  transition: transform 0.3s var(--ease);
}
.faq-btn[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--brand);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), padding-bottom 0.3s var(--ease);
}
.faq-panel.open {
  max-height: 600px; /* was 200px — was clipping long answers */
  padding-bottom: 20px;
}
.faq-panel .body-md { color: var(--mute); }
.faq-panel a { color: var(--brand); font-weight: 600; }

/* --------------------------------------------------------------------------
   DAFTAR / FORM
   -------------------------------------------------------------------------- */
.daftar-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.daftar-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.daftar-left .display-md { margin-top: 4px; margin-bottom: 0; }
.daftar-left .body-lg { color: var(--on-dark-mute); margin-bottom: 8px; }

.daftar-mascot {
  width: 160px;
  filter: drop-shadow(0 12px 40px rgba(23,70,149,0.4));
  animation: mascotFloat 6s ease-in-out infinite;
  margin: 8px 0;
}

/* Form card — elevated surface inside dark band */
.form-card {
  background: var(--surface-elevated);
  border: var(--border-chunky-dark);
  box-shadow: var(--shadow-chunky-dark);
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
}

.form-card .heading-md {
  color: var(--on-dark);
  margin-bottom: var(--sp-xl);
}

.form-group {
  margin-bottom: 16px;
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  /* Contrast fix: rgba(255,255,255,0.9) fails on #116FD6; use solid white */
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.label-opt {
  font-weight: 400;
  /* Contrast fix: rgba(255,255,255,0.6) = ~2.5:1 on #116FD6; #dce8ff = ~5:1 */
  color: #dce8ff;
}

/* text-input: canvas-light bg, ink text, hairline-light border, r-md, 56px tall */
.form-input {
  width: 100%;
  height: 56px;
  padding: 14px 16px;
  background: var(--canvas-light);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.015em;
  border: 1px solid var(--hairline-light);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s;
}
.form-input:focus {
  border-color: var(--brand-mid);
  box-shadow: 0 0 0 3px rgba(70,130,190,0.15);
}
.form-input::placeholder { color: var(--stone); }
.form-textarea {
  height: auto;
  resize: vertical;
}

/* --------------------------------------------------------------------------
   FORM RADIO & DYNAMIC STYLES
   -------------------------------------------------------------------------- */
.hidden {
  display: none !important;
}

.form-radio-group {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.form-radio-label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface-card);
  border: var(--border-chunky);
  border-radius: var(--r-full);
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--ink);
  font-weight: 600;
  text-align: center;
}
.form-radio-label:hover {
  background: var(--surface-soft);
  transform: translateY(-2px);
  box-shadow: 2px 2px 0px var(--ink);
}

.form-radio-label input[type="radio"] {
  display: none;
}

.form-radio-label input[type="radio"]:checked + span {
  /* Contrast fix: #FF6B00 on #FFFBEA = ~2.9:1; use #C45200 = ~4.6:1 */
  color: #C45200;
}

.form-radio-label:has(input[type="radio"]:checked) {
  border-color: var(--brand);
  background: var(--surface-soft);
  box-shadow: 3px 3px 0px var(--brand);
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--on-dark);
  font-weight: 700;
  font-family: 'Fredoka', sans-serif;
  margin: 24px 0 16px;
  font-size: 1.1rem;
}
.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--hairline-dark);
  border-radius: 2px;
}

.form-radio-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.05);
  padding: 12px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--hairline-dark);
}

.form-label-inline {
  font-size: 0.9rem;
  color: var(--on-dark-mute);
  font-weight: 500;
}

.form-radio-options {
  display: flex;
  gap: 16px;
}

.form-radio-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--on-dark);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}
.form-radio-options input[type="radio"] {
  accent-color: var(--brand);
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   LOKASI
   -------------------------------------------------------------------------- */
.lokasi-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  margin-top: 64px;
  align-items: stretch;
}

.lokasi-map-wrap {
  border: var(--border-chunky);
  box-shadow: var(--shadow-chunky);
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 400px;
}

.lokasi-info-card {
  background: var(--surface-card);
  border: var(--border-chunky);
  box-shadow: var(--shadow-chunky);
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
  display: flex;
  flex-direction: column;
}

.lokasi-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
}

.lokasi-icon {
  font-size: 1.25rem;
  margin-top: 1px;
  flex-shrink: 0;
}

.lokasi-divider {
  height: 1px;
  background: var(--hairline-light);
}

.lokasi-info-card .body-md { color: var(--mute); margin-top: 4px; }
.lokasi-info-card .body-sm { color: var(--mute); margin-top: 2px; }

.link-inline {
  /* Contrast fix: #C45200 = ~4.6:1 on white, passes WCAG AA (was #FF6B00 = ~2.9:1) */
  color: #C45200;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 6px;
  transition: opacity 0.2s;
}
.link-inline:hover { opacity: 0.75; }

/* --------------------------------------------------------------------------
   ANIMATIONS & MASCOT INTERACTION
   -------------------------------------------------------------------------- */
.daftar-mascot {
  cursor: pointer;
  transition: transform 0.2s var(--ease-bounce);
}

.daftar-mascot:hover {
  transform: scale(1.05) rotate(2deg);
}

@keyframes laughMotion {
  0%, 100% { transform: translateY(0) scale(1.05); }
  25% { transform: translateY(-12px) scale(1.08); }
  50% { transform: translateY(0) scale(1.05); }
  75% { transform: translateY(-12px) scale(1.08); }
}

.is-laughing {
  animation: laughMotion 0.35s ease-in-out 3;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  padding: var(--sp-block) 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr;
  gap: 64px;
  padding-bottom: var(--sp-block);
}

.footer-logo-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-logo-eyebrow {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
  z-index: 1;
  /* Efek Shimmer / Mengkilap yang sama dengan header */
  background: linear-gradient(
    110deg,
    var(--brand-sky) 20%,
    #ffffff 50%,
    var(--brand-sky) 80%
  );
  background-size: 200% auto;
  color: var(--brand-sky);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 3s linear infinite;
}

.footer-logo {
  height: 90px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  /* show original brand colors on dark bg */
  filter: drop-shadow(0 2px 12px rgba(165,210,243,0.25));
}

.footer-col-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--on-dark-mute);
  margin-bottom: 16px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-list li a {
  font-size: 0.9rem;
  color: var(--on-dark-mute);
  transition: color 0.2s;
}
.footer-links-list li a:hover { color: var(--on-dark); }

.footer-col .body-sm { color: var(--on-dark-mute); margin-bottom: 8px; line-height: 1.6; }

.footer-wa-link {
  display: inline-block;
  color: var(--brand-sky);
  font-weight: 500;
  transition: opacity 0.2s;
}
.footer-wa-link:hover { opacity: 0.75; }

.footer-divider {
  height: 1px;
  background: var(--divider-soft);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   STICKY WA BUTTON
   -------------------------------------------------------------------------- */
.sticky-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 14px 22px;
  /* Contrast fix: #128C5E = ~4.6:1 with white text, passes WCAG AA (was #25D366 = ~2.5:1) */
  background: #128C5E;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--r-full);
  border: 2px solid rgba(255,255,255,0.5);
  transition: opacity 0.2s;
  animation: waSlideIn 0.5s 2s both var(--ease);
}
.sticky-wa:hover { opacity: 0.88; }

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

/* --------------------------------------------------------------------------
   SCROLL ANIMATIONS
   -------------------------------------------------------------------------- */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
[data-animate="fade-left"] { transform: translateX(36px); }
[data-animate].visible     { opacity: 1; transform: none; }

/* Staggered children inside animated containers */
[data-animate] > [data-delay="80"]  { transition-delay: 80ms; }
[data-animate] > [data-delay="100"] { transition-delay: 100ms; }
[data-animate] > [data-delay="120"] { transition-delay: 120ms; }
[data-animate] > [data-delay="160"] { transition-delay: 160ms; }
[data-animate] > [data-delay="200"] { transition-delay: 200ms; }
[data-animate] > [data-delay="240"] { transition-delay: 240ms; }

/* Direct children of animated grids get stagger applied */
.grid-4 > *:nth-child(2) { transition-delay: 80ms; }
.grid-4 > *:nth-child(3) { transition-delay: 160ms; }
.grid-4 > *:nth-child(4) { transition-delay: 240ms; }

.grid-3 > *:nth-child(2) { transition-delay: 100ms; }
.grid-3 > *:nth-child(3) { transition-delay: 200ms; }

.tim-grid > *:nth-child(2)  { transition-delay: 120ms; }
.testi-card:nth-child(2) { transition-delay: 100ms; }
.testi-card:nth-child(3) { transition-delay: 200ms; }

/* --------------------------------------------------------------------------
   RESPONSIVE — TABLET (≤ 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --sp-band: 88px;
    --sp-block: 64px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
    padding-top: 120px;
  }
  .hero-content {
    align-items: center;
  }
  .hero-emblem-wrap {
    order: -1;
    margin-bottom: 24px;
  }
  .hero-actions {
    justify-content: center;
  }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  
  .layanan-row, .layanan-row.reverse { 
    flex-direction: column; 
    text-align: center; 
    gap: 40px;
  }
  .layanan-text { align-items: center; }

  .daftar-layout { grid-template-columns: 1fr; gap: 48px; }
  .daftar-left { flex-direction: column; align-items: center; text-align: center; }
  .daftar-mascot { order: -1; width: 140px; margin-bottom: 8px; }
  .lokasi-layout { grid-template-columns: 1fr; }
  .lokasi-map-wrap { min-height: 350px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; text-align: center; }
  .tim-grid { max-width: 100%; }
}

/* --------------------------------------------------------------------------
   RESPONSIVE — MOBILE (≤ 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --sp-band: 72px;
    --sp-section: 64px;
    --sp-block: 56px;
  }

  /* Nav */
  .nav-toggle { display: flex; }
  .nav-logo-img { height: 56px; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 78vw;
    max-width: 300px;
    height: 100vh;
    background: rgba(12,98,192,0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 88px 20px 40px;
    gap: 2px;
    z-index: 999;
    transition: right 0.35s var(--ease);
    border-left: 1px solid var(--hairline-dark);
  }
  .nav-links.open { right: 0; }
  .nav-links li { width: 100%; }
  .nav-links li a {
    width: 100%;
    /* Contrast fix on mobile sidebar: full white instead of muted */
    color: #ffffff !important;
    font-size: 1rem;
    border-radius: var(--r-md);
    padding: 12px 14px;
    height: auto;
  }
  .nav-links li a:hover { background: rgba(255,255,255,0.08); color: #ffffff !important; }

  .sidebar-mascot {
    display: block;
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding-top: 24px;
    padding-bottom: 24px;
    overflow: visible; /* prevent scale animation from clipping */
  }
  .sidebar-mascot img {
    max-width: 120px;
    margin: 0 auto;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.2));
    animation: mascotFloat 6s ease-in-out infinite;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
  }
  .nav-overlay.open { display: block; }

  /* Hero */
  .hero-inner {
    padding-top: 100px;
  }
  .hero-emblem { max-width: 240px; height: auto; }
  .hero-tagline { font-size: 0.9rem; }

  /* Grids */
  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }

  /* USP Carousel Bleed on Mobile */
  .usp-carousel {
    margin: 0 calc(var(--sp-xl) * -1); /* bleed to edge on mobile */
    padding-inline: var(--sp-xl); /* keep padding inside */
  }
  .grid-3 { grid-template-columns: 1fr; }
  .tim-grid { grid-template-columns: 1fr; }

  /* Layanan Showcase Mobile */
  .layanan-row, .layanan-row.reverse { 
    gap: 24px;
  }

  /* Bonus Mainan */
  .bonus-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .bonus-text-col {
    align-items: center;
  }
  .bonus-visual-col {
    max-width: 400px;
    margin: 0 auto;
  }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }

  /* Daftar */
  .daftar-left { flex-direction: column; align-items: center; text-align: center; }
  .daftar-mascot { width: 120px; margin-bottom: 4px; }

  /* Lokasi */
  .lokasi-layout { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Sticky WA */
  .sticky-wa span { display: none; }
  .sticky-wa { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary-dark, .btn-outline-dark, .btn-wa-dark, .btn-dark-full, .btn-wa-submit { 
    justify-content: center; 
    width: 100%; 
    white-space: normal;
    height: auto;
    min-height: 48px;
    line-height: 1.3;
  }
  .display-lg { font-size: 1.75rem; }
}

@keyframes shake {
  0%,100%{transform:translateX(0)}
  20%{transform:translateX(-8px)}
  40%{transform:translateX(8px)}
  60%{transform:translateX(-5px)}
  80%{transform:translateX(5px)}
}
