/********************************************************
 * ROOT & TOKENS V4: FINAL VERSION (VIDEO HERO)
 * Palet warna, efek modern, animasi, dan tipografi
 ********************************************************/
:root {
  --primary: #181B24;           /* Hitam kebiruan (lebih premium) */
  --primary-light: #f0f2f5;     /* Latar aksen lembut */
  --accent: #FF6B00;            /* Oranye sebagai aksen utama (CTA) */
  --accent-dark: #e66000;
  --text-primary: #181B24;
  --text-secondary: #5a5d66;
  --page-bg: #F8F9FA;           /* Latar halaman yang lebih hangat */
  --radius: 1rem;
  --shadow: 0 10px 30px 0 rgba(0,0,0,.07);
  --shadow-soft: 0 4px 12px rgba(0,0,0,.05);
  --font-main: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --nav-h: 65px;
}

/********************************************************
 * GLOBAL / RESET
 * Reset dasar, tipografi, container, utilities
 ********************************************************/
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-main);
  background: var(--page-bg);
  color: var(--text-primary);
}
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.1rem;
}
@supports (padding: max(0px)) {
  .container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}
p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0 0 20px;
  text-align: justify;
}
h1, h2, .section-title {
  color: var(--text-primary);
  font-weight: 800;
  text-align: center;
  margin: 0 0 1.1rem;
  letter-spacing: -0.03em;
}
h1 { font-size: 2.6rem; margin-top: 0.7em; text-shadow: 0 2px 10px rgba(0,0,0,.05); }
h2, .section-title { font-size: 2.3rem; }
h3 { font-size: 1.3rem; color: var(--text-primary); margin-top: 2.2rem; font-weight: 700; }
ul, ol {
  padding-left: 1.5rem;
  margin: 0 0 20px;
  font-size: 1.07rem;
  line-height: 1.7;
  color: #333;
}
ul li::marker, ol li::marker { color: var(--accent); font-weight: bold; }
.text-center { text-align: center; }
.color-secondary { color: var(--accent); font-weight: 600; }
.mt-3 { margin-top: 2.1rem; }

/********************************************************
 * NAVBAR - DENGAN EFEK 'FROSTED GLASS'
 ********************************************************/
.navbar {
  background: rgba(24, 27, 36, 0.85); /* Semi-transparan */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  position: sticky; top: 0; z-index: 99;
  transition: background 0.3s ease-in-out;
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem; min-height: var(--nav-h); position: relative;
}
.brand img {
  max-height: 40px; height: auto; width: auto; display: block;
  object-fit: contain; object-position: left;
  filter: brightness(0) invert(1);
}
.menu { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; }
.menu a {
  color: #fff; text-decoration: none; font-weight: 500;
  padding: 0.5rem 1rem; border-radius: 99px; transition: all 0.2s ease;
}
.menu a:hover { background: rgba(255,255,255,0.1); }
.menu a.active { color: var(--accent); font-weight: 700; }

.nav-toggle {
  display: none; background: transparent; border: 0; padding: 0; margin: 0; cursor: pointer;
  height: var(--nav-h); width: 44px; align-items: center; justify-content: center;
  flex-direction: column;
}
.nav-toggle-bar {
  width: 24px; height: 2px; background: #fff; border-radius: 2px;
  margin: 3px 0; transition: transform .2s ease, opacity .2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle-bar:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 750px) {
  .nav-container { flex-direction: row; align-items: center; }
  .nav-toggle { display: flex; }
  .menu {
    flex-direction: column; width: 100%; background: var(--primary);
    position: absolute; left: 0; top: var(--nav-h); display: none;
    border-top: 1px solid rgba(255,255,255,.2); padding: 6px 0; z-index: 100;
  }
  .menu.is-open { display: block; }
  .menu li a { display: block; padding: 12px 16px; border-radius: 0; }
}
@media (min-width: 751px) {
  .nav-toggle { display: none !important; }
  .menu { display: flex !important; }
}

/********************************************************
 * HERO - DENGAN BACKGROUND VIDEO
 ********************************************************/
.hero {
  position: relative;
  color: #fff;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(24, 27, 36, 0.65);
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 2rem 0;
}

.hero h1, .hero p {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

.hero p {
  font-size: 1.3rem;
  margin: 1rem 0 2.5rem 0;
}

.btn-main {
  background: var(--accent);
  color: #fff; font-weight: 700;
  border: none; border-radius: 50px; padding: 1rem 2.5rem; font-size: 1.15rem;
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
  transition: all .25s ease; text-decoration: none; display: inline-block;
}
.btn-main:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 7px 25px rgba(255, 107, 0, 0.4);
}

/********************************************************
 * GENERIC SECTIONS
 ********************************************************/
.section { padding: 4rem 0; }
.section-alt { background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.section-subtitle { color: var(--text-secondary); text-align: center; font-size: 1.15rem; margin-bottom: 1rem; max-width: 700px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/********************************************************
 * FEATURES - KARTU DENGAN EFEK MODERN
 ********************************************************/
.features-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem; margin-top: 3rem;
}
.feature-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft);
  padding: 2rem 1.5rem; text-align: center; border: 1px solid #eef;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.feature-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; border-radius: 50%;
  font-size: 2.2rem; width: 65px; height: 65px; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 1.5rem;
  box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

/********************************************************
 * ADDONS / PARTNER LOGOS
 ********************************************************/
.addon-list {
  display:flex; flex-wrap:wrap; justify-content:center;
  gap:2.1rem; align-items:center; margin:2.1rem 0 0;
}
.addon-list img {
  width:110px; aspect-ratio:1/1; background:#fff; border-radius:1.1rem;
  box-shadow:var(--shadow-soft); padding:14px; object-fit:contain; object-position:center;
  display:block; transition: transform .2s ease;
}
.addon-list img:hover { transform: scale(1.05); }
@media (max-width: 640px){
  .addon-list{ gap:1.2rem; }
  .addon-list img{ width:88px; padding:10px; }
}

/********************************************************
 * TABLE / WHATSAPP BUTTON / TESTIMONI
 ********************************************************/
.whatsapp-container { display: flex; justify-content: center; align-items: center; padding: 40px 0; }
.whatsapp-button {
  display: inline-flex; align-items: center;
  background: linear-gradient(45deg, #25D366, #128C7E);
  color: #fff; font-weight: bold; padding: 12px 22px; border-radius: 50px;
  text-decoration: none; font-size: 1.15rem;
  animation: pulse 2.5s infinite;
  transition: transform 0.2s ease;
}
.whatsapp-button:hover {
  animation-play-state: paused;
  transform: scale(1.1);
}
.whatsapp-button img { height: 26px; width: 26px; margin-right: 12px; }

.tabel-paket {
  width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 1rem;
  border-radius: var(--radius); box-shadow: var(--shadow-soft); overflow: hidden;
}
.tabel-paket thead { background: var(--primary); color: #fff; }
.tabel-paket th, .tabel-paket td { padding: 18px; text-align: center; }
.tabel-paket tbody tr:nth-child(even) { background: #f7f8fc; }
.tabel-paket tbody tr:hover { background: #fff3e8; }

.testimoni-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 30px; }
@media (min-width: 768px) { .testimoni-grid { grid-template-columns: 1fr 1fr; } }
.testimoni-card {
  background: #fff; border-left: 5px solid var(--accent); padding: 24px;
  border-radius: 8px; box-shadow: var(--shadow-soft);
}
.testimoni-card p { font-style: italic; color: var(--text-primary); margin: 0; }
.testimoni-card strong { color: var(--accent); }

/********************************************************
 * REVIEWS — LIST VERTIKAL (TANPA SLIDER)
 ********************************************************/
#reviews .rv-subtitle { text-align: center; margin-top: -6px; color: var(--text-secondary); }
#reviews .rv-slider { position: static; overflow: visible; margin-top: 28px; }
#reviews .rv-track { display: block; transform: none !important; transition: none !important; margin: 0; }
#reviews .rv-card{
  width: 100%; background: #fff; border-radius: 16px;
  padding: 22px 20px 18px 58px;
  border: 1px solid #e9e9e9; box-shadow: var(--shadow-soft);
  display: block; min-height: unset; position: relative; margin: 0 0 16px;
}
#reviews .rv-card p {
  margin: 0; font-size: 1.06rem; line-height: 1.6; color: var(--text-primary); font-style: italic;
  text-wrap: pretty; hyphens: auto; overflow-wrap: anywhere;
}
#reviews .rv-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px;
}
#reviews .rv-author { color: var(--accent); font-weight: 700; font-size: .98rem; letter-spacing: .1px; }
#reviews .rv-quote{
  position: absolute; top: 12px; left: 16px; width: 28px; height: 28px; border-radius: 9px;
  background-color: #fff3e8; color: var(--accent); font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.18); font-size: 16px; line-height: 1; z-index: 1; pointer-events: none;
}
#reviews .rv-stars {
  --rv-star-size: 18px; --rv-star-color: #dedede; --rv-star-fill: #ffb300;
  position: relative; display: inline-block; font-size: var(--rv-star-size); letter-spacing: 2px;
}
#reviews .rv-stars::before{ content: "★★★★★"; color: var(--rv-star-color); }
#reviews .rv-stars::after{
  content: "★★★★★"; color: var(--rv-star-fill); position: absolute; inset: 0;
  width: calc((var(--rating, 5) / 5) * 100%); overflow: hidden; white-space: nowrap;
}
#reviews .rv-resolution {
  margin-top: .5rem; font-size: .9rem; line-height: 1.45; background: #f7f7f7;
  border-left: 3px solid var(--accent); padding: .55rem .75rem; border-radius: .5rem; color: #444;
}
#reviews .rv-btn{ display: none !important; }

/********************************************************
 * FOOTER - SELARAS DENGAN HEADER
 ********************************************************/
.footer {
  background: var(--primary); color: #fff; padding: 40px 0 18px;
}
.footer-container {
  max-width: 1160px; margin: 0 auto; padding: 0 1.1rem;
  display: grid; grid-template-columns: 220px 1fr 1fr 1.2fr; gap: 28px 36px; align-items: start;
}
.footer-brand img {
  width: 180px; max-width: 100%; height: auto; display: block; object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer h4 { margin: 0 0 10px; font-weight: 800; letter-spacing: .2px; color: #fff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 8px; }
.footer a { color: #fff; text-decoration: none; opacity: .85; transition: all .18s ease; }
.footer a:hover { opacity: 1; color: var(--accent); text-decoration: none; }
.footer-contact p { margin: 6px 0 10px; line-height: 1.6; color: #fff; opacity: .9; }
.social-list { display: flex; gap: 14px; margin-top: 6px; }
.social-list a { font-size: 1.3rem; color: #fff; opacity: .85; transition: all .18s ease; }
.social-list a:hover { opacity: 1; transform: translateY(-2px) scale(1.1); color: var(--accent); }
.footer-bottom {
  max-width: 1160px; margin: 26px auto 0; padding: 12px 1.1rem 0;
  border-top: 1px solid rgba(255,255,255,.22); text-align: center; font-size: .98rem; opacity: .8;
}
@media (max-width: 1024px) {
  .footer-container { grid-template-columns: 200px 1fr 1fr; grid-auto-rows: auto; }
  .footer-contact { grid-column: span 2; }
}
@media (max-width: 768px) {
  .footer-container { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-brand { grid-column: 1 / -1; } .footer-brand img { margin: 0 auto; }
  .footer-contact { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-container { grid-template-columns: 1fr; }
  .footer-col, .footer-contact { text-align: left; }
}

/********************************************************
 * ANIMATIONS
 ********************************************************/
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6); }
  100% { transform: scale(1); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
}

/********************************************************
 * MISC SMALL COMPONENTS (FAQ, benefit, etc)
 ********************************************************/
.subheadline { font-size: 1.05rem; margin: 10px 0 8px; color: var(--text-secondary); }
.benefit-list { margin: 10px 0 18px 0; padding-left: 1.2rem; }
.faq-list { display: grid; gap: 14px; margin-top: 1.2rem; }
.faq-item {
  background: #fff; border: 1px solid #eef; border-radius: var(--radius);
  box-shadow: var(--shadow-soft); overflow: hidden; transition: margin .2s ease;
}
.faq-item[open] { margin-bottom: 10px; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 700;
  color: var(--text-primary); position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-weight: 800; color: var(--accent); font-size: 1.4rem;
}
.faq-item[open] summary::after { content: "–"; }
.faq-content {
  padding: 0 18px 18px 18px; color: var(--text-secondary); line-height: 1.7;
  border-top: 1px solid #eef;
}
.faq-content a { color: var(--accent); text-decoration: underline; }

/********************************************************
 * STYLES KHUSUS HALAMAN PROMO
 ********************************************************/
.promo-grid {
  display:grid;gap:18px;
  grid-template-columns: repeat(12,1fr);
}
.promo-grid .promo-card {grid-column: span 12; background:#fff;border-radius:16px;box-shadow:var(--shadow-soft);overflow:hidden; transition: transform .2s ease, box-shadow .2s ease;}
.promo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
@media (min-width:640px){.promo-grid .promo-card{grid-column: span 6}}
@media (min-width:980px){.promo-grid .promo-card{grid-column: span 4}}

.promo-img-wrap {position:relative;aspect-ratio: 16/9;overflow:hidden}
.promo-img-wrap img {width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.promo-card:hover .promo-img-wrap img {transform:scale(1.05)}
.promo-tag {
  position:absolute;left:12px;top:12px;background:var(--primary);color:#fff;
  font-size:12px;line-height:1;border-radius:999px;padding:6px 12px; font-weight: 500;
}
.promo-info {padding:14px 16px 18px}
.promo-info h3 {margin:4px 0 6px;font-size:18px}
.promo-price {margin:0 0 12px;color: var(--text-primary);font-weight:600}
.promo-detail-btn {
  appearance:none;border:none;background:var(--primary);color:#fff;border-radius:10px;padding:10px 14px;cursor:pointer;
  transition: background .2s ease; font-weight: 500;
}
.promo-detail-btn:hover {background: #000}

/* Modal Promo */
.promo-modal {position:fixed;inset:0;display:none; z-index: 101;}
.promo-modal[aria-hidden="false"] {display:block}
.promo-modal__backdrop {
  position:absolute;inset:0;background:rgba(0,0,0,.5)
}
.promo-modal__dialog {
  position:relative;z-index:2;max-width:680px;margin:60px auto;background:#fff;border-radius:16px;
  box-shadow:0 10px 40px rgba(0,0,0,.18);padding:24px 26px 28px
}
.promo-modal__close {
  position:absolute;right:12px;top:10px;border:none;background:transparent;
  font-size:28px;line-height:1;cursor:pointer; color: #888;
}
.promo-modal__close:hover { color: #111; }
.promo-modal__header h3 {margin:0 0 4px}
.promo-modal__header .muted {margin:0;color: var(--text-secondary);font-size:14px}
.promo-spec {list-style:none;margin:16px 0;padding:0;display:grid;gap:10px}
.promo-spec li {display:flex;gap:8px;align-items:flex-start}
.promo-spec i {margin-top:2px; color: var(--accent);}
.promo-cta {display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 0}
.btn-wa {
  background: linear-gradient(45deg, #25D366, #128C7E);
  color:#fff;text-decoration:none;padding:10px 16px;border-radius:10px;display:inline-flex;
  align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(37,211,102,.3);
  transition: all .2s ease; font-weight: 500;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37,211,102,.4); }
.btn-outline {
  border:1px solid #ddd;color: var(--text-primary);text-decoration:none;padding:10px 16px;border-radius:10px;display:inline-block
}
.disclaimer {color: var(--text-secondary);font-size:11px;line-height:1.7;margin-top:14px}

/* === TOC / Daftar Isi === */
.toc {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.toc h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #333;
}

.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc ul li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.toc ul li::before {
  content: "➜";
  position: absolute;
  left: 0;
  color: #e73328; /* warna brand IndiHome */
  font-size: 0.9rem;
  top: 0;
}

.toc a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}

.toc a:hover {
  color: #e73328;
  text-decoration: underline;
}
/* List Artikel */
.article-list ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-list li {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.8rem 0;
}

.article-list a {
  text-decoration: none;
  color: #2c1a5e;
  transition: color 0.3s ease;
}

.article-list a:hover {
  color: #e73328; /* merah IndiHome */
}

.article-list .arrow {
  margin-left: 6px; /* dekat dengan teks */
  font-weight: bold;
  font-size: 1.1rem;
}
