/* Roro Nusantara - Neumorphism theme (vanilla CSS, no build step) */
:root {
  --bg: #e8ecf1; --surface: #e8ecf1; --text: #1f2937; --muted: #64748b; --primary: #0f766e; --primary-2: #14b8a6; --accent: #f59e0b;
  --shadow-dark: rgba(163, 177, 198, 0.65); --shadow-light: rgba(255, 255, 255, 0.95); --radius: 22px; --font: 'Nunito', 'Quicksand', ui-rounded, system-ui, sans-serif;
}
html.dark {
  --bg: #1b1f27; --surface: #1b1f27; --text: #e5e7eb; --muted: #9ca3af; --primary: #2dd4bf; --primary-2: #14b8a6; --accent: #fbbf24;
  --shadow-dark: rgba(0, 0, 0, 0.6); --shadow-light: rgba(255, 255, 255, 0.05);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); transition: background-color .3s, color .3s; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
::selection { background: var(--primary); color: #fff; }

.neu { background: var(--surface); border-radius: var(--radius); box-shadow: 9px 9px 18px var(--shadow-dark), -9px -9px 18px var(--shadow-light); transition: transform .25s, box-shadow .25s; }
.neu-sm { background: var(--surface); border-radius: 14px; box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light); transition: transform .25s, box-shadow .25s; }
.neu-in { background: var(--surface); border-radius: 14px; box-shadow: inset 5px 5px 10px var(--shadow-dark), inset -5px -5px 10px var(--shadow-light); }
.neu-hover:hover { transform: translateY(-4px); box-shadow: 12px 12px 24px var(--shadow-dark), -12px -12px 24px var(--shadow-light); }
.neu-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.4rem; border-radius: 999px; font-weight: 700; background: var(--surface); color: var(--text); box-shadow: 6px 6px 12px var(--shadow-dark), -6px -6px 12px var(--shadow-light); transition: transform .15s, box-shadow .15s, background-color .2s; cursor: pointer; border: 0; text-decoration: none; }
.neu-btn:hover { transform: translateY(-2px); }
.neu-btn:active { transform: translateY(0); box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light); }
.neu-btn.primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; }
.neu-btn.accent { background: var(--accent); color: #1f2937; }
.neu-btn.sm { padding: .45rem .9rem; font-size: .85rem; }
.neu-icon { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light); transition: transform .2s; color: var(--text); border: 0; cursor: pointer; }
.neu-icon:hover { transform: scale(1.08); }
.neu-input { width: 100%; padding: .8rem 1.1rem; border-radius: 14px; border: 0; background: var(--surface); color: var(--text); box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light); outline: none; font-family: inherit; transition: box-shadow .2s; }
.neu-input:focus { box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light), 0 0 0 3px rgba(20, 184, 166, .35); }
select.neu-input { appearance: none; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted); }
.bg-primary { background: var(--primary); }
.chip { display: inline-block; padding: .25rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--primary); color: #fff; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -.02em; }
.prose-content h2 { font-size: 1.5rem; font-weight: 800; margin: 1.6rem 0 .6rem; }
.prose-content h3 { font-size: 1.2rem; font-weight: 700; margin: 1.2rem 0 .5rem; }
.prose-content p { margin: .75rem 0; line-height: 1.8; }
.prose-content ul, .prose-content ol { padding-left: 1.4rem; margin: .75rem 0; line-height: 1.7; }
.prose-content ul { list-style: disc; }
.prose-content a { color: var(--primary); text-decoration: underline; }

/* Hero slider */
/* Hero slider - full width classic */
.hero { position: relative; overflow: hidden; }
.hero-track { display: flex; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.hero-slide { flex: 0 0 100%; }
.hero-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 320px; }
@media (min-width: 768px) {
  .hero-card { height: 420px; }
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-card .overlay { 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.3) 60%, rgba(0,0,0,.05) 100%),
              linear-gradient(0deg, rgba(0,0,0,.6) 0%, transparent 50%);
  display: flex; 
  flex-direction: column; 
  justify-content: flex-end; 
  padding: 2rem 1.5rem 2.5rem; 
  color: #fff; 
}
@media (min-width: 768px) {
  .hero-card .overlay { padding: 3rem 3rem 3.5rem; }
}

/* Navigation buttons - floating di kiri kanan */
.hero-nav { 
  position: absolute; 
  top: 50%; 
  transform: translateY(-50%); 
  z-index: 20;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all .25s;
  font-size: 24px;
  color: #fff;
  font-weight: bold;
}
.hero-nav:hover { 
  background: rgba(255, 255, 255, 0.4); 
  transform: translateY(-50%) scale(1.1);
}
.hero-nav-prev { left: 16px; }
.hero-nav-next { right: 16px; }

/* Dots indicator */
.hero-dots { 
  display: flex; 
  gap: .5rem; 
  justify-content: center; 
  margin-top: 1rem; 
}
.hero-dots button { 
  width: 10px; 
  height: 10px; 
  border-radius: 50%; 
  border: 0; 
  background: rgba(100, 116, 139, 0.5); 
  cursor: pointer; 
  transition: all .3s; 
  padding: 0;
}
.hero-dots button.active { 
  width: 28px; 
  border-radius: 500px; 
  background: var(--primary); 
}

/* Cards */
.card-img { height: 200px; width: 100%; object-fit: cover; border-radius: 16px 16px 0 0; }
.reel-card { aspect-ratio: 9/16; border-radius: 18px; overflow: hidden; position: relative; }
.reel-card video, .reel-card iframe, .reel-card img { width: 100%; height: 100%; object-fit: cover; }
.reel-card .reel-overlay { position: absolute; inset: auto 0 0 0; padding: 1rem; background: linear-gradient(0deg, rgba(0,0,0,.8), transparent); color: #fff; }

/* Accordion */
.acc-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-weight: 700; padding: 1rem 1.25rem; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after { content: '+'; font-size: 1.4rem; color: var(--primary); transition: transform .3s; }
.acc-item[open] summary::after { transform: rotate(45deg); }
.acc-item .acc-body { padding: 0 1.25rem 1.25rem; color: var(--muted); line-height: 1.7; }

/* Compare table */
.cmp td, .cmp th { padding: .9rem 1rem; }
.cmp .yes { color: #16a34a; font-weight: 800; }
.cmp .no { color: #dc2626; font-weight: 800; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(15, 23, 42, .55); backdrop-filter: blur(6px); }
.modal.open { display: flex; animation: fade .25s ease; }
.modal-box { width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto; padding: 2rem; animation: pop .3s cubic-bezier(.22,1.2,.36,1); }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes pop { from { transform: translateY(20px) scale(.96); opacity: 0 } to { transform: none; opacity: 1 } }
.tab-btn { flex: 1; padding: .6rem; border-radius: 999px; font-weight: 700; font-size: .9rem; background: transparent; border: 0; color: var(--muted); cursor: pointer; }
.tab-btn.active { background: var(--surface); color: var(--primary); box-shadow: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light); }

/* Floating */
.floating { position: fixed; right: 1.25rem; z-index: 80; }
.wa-float { bottom: 1.25rem; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(37, 211, 102, .45); animation: pulse 2.2s infinite; }
.top-float { bottom: 5.5rem; opacity: 0; pointer-events: none; transition: opacity .3s; }
.top-float.show { opacity: 1; pointer-events: auto; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5) } 60% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0) } }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Nav */
.nav-link { padding: .45rem .9rem; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--muted); transition: all .2s; text-decoration: none; white-space: nowrap; }
.nav-link:hover, .nav-link.active { 
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 15%, transparent);
  box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light); 
}
.header-glass { position: sticky; top: 0; z-index: 70; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(14px); }
.alert { padding: .9rem 1.2rem; border-radius: 14px; font-weight: 600; }
.alert-success { background: rgba(22, 163, 74, .12); color: #15803d; }
.alert-error { background: rgba(220, 38, 38, .12); color: #b91c1c; }

.hero { position: relative; }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; }
.hero-nav-prev { left: 12px; }
.hero-nav-next { right: 12px; }
.hero-dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1rem; }

/* Button "Lihat Semua" dengan background */
.neu-btn.see-all { 
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); 
  color: #fff; 
}
.neu-btn.see-all:hover {
  filter: brightness(1.1);
  transform: translateY(-3px);
}

/* Card button - hover effect dengan background */
.card-btn {
  display: inline-block;
  padding: .6rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  background: var(--surface);
  color: var(--text);
  box-shadow: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light);
  transition: all .25s;
  text-decoration: none;
}
.card-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 6px 6px 12px var(--shadow-dark), -6px -6px 12px var(--shadow-light);
}

/* === Testimonial Auto-Scroll Slider === */
.testimonial-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: testimonial-scroll 40s linear infinite;
  padding: 0 1rem;
}

/* Pause saat hover agar user bisa baca */
.testimonial-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  flex-shrink: 0;
  width: 320px;
  min-height: 180px;
}

@keyframes testimonial-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === Compare 2 Cards - Subscription Style === */
.compare-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Card kiri diberi border highlight */
.compare-card:first-child {
  border: 2px solid var(--primary);
}

.compare-header {
  text-align: center;
  padding: 1.25rem 1rem 1.5rem;
  border-radius: 16px;
  margin-bottom: 1.25rem;
}

/* Header card premium (kiri) - gradient */
.compare-header--premium {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
}

/* Header card basic (kanan) - neumorphic inset */
.compare-header--basic {
  background: var(--surface);
  box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
  color: var(--muted);
}

.compare-badge {
  display: inline-block;
  background: var(--accent);
  color: #1f2937;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 999px;
  margin-bottom: .6rem;
}

.compare-title {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.2;
}

.compare-subtitle {
  font-size: .8rem;
  margin-top: .25rem;
  opacity: .8;
}

.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  flex: 1;
}

.compare-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .88rem;
  line-height: 1.5;
}

/* Icon checkmark/cross */
.compare-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  margin-top: 1px;
}

/* Icon hijau untuk fitur YES */
.compare-item--yes .compare-icon {
  background: rgba(22, 163, 74, .15);
  color: #16a34a;
}

/* Icon merah untuk fitur NO */
.compare-item--no .compare-icon {
  background: rgba(220, 38, 38, .12);
  color: #dc2626;
}

.compare-item--no {
  color: var(--muted);
}

