/* BPJS Center — style.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pri: #00695c;
  --pri-dk: #004d40;
  --pri-lt: #00897b;
  --acc: #80cbc4;
  --bg: #e0f2f1;
  --bg2: #b2dfdb;
  --white: #ffffff;
  --txt: #1a2e2b;
  --txt2: #4a6361;
  --border: #b2dfdb;
  --red: #c62828;
  --green: #2e7d32;
  --shadow: 0 2px 12px rgba(0,105,92,0.12);
  --radius: 10px;
  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--txt); background: var(--bg); line-height: 1.6; }

/* ===== DEMO BAR ===== */
.demo-bar {
  background: var(--pri-dk);
  color: #fff;
  text-align: center;
  padding: 7px 16px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.demo-bar a { color: var(--acc); text-decoration: none; font-weight: 600; }
.demo-bar a:hover { text-decoration: underline; }

/* ===== NAV ===== */
header {
  background: var(--pri);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.nav-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 1rem; font-weight: 700; }
.logo-text span { font-size: 0.65rem; opacity: 0.85; }

/* checkbox-hack mobile nav */
#nav-toggle { display: none; }
.nav-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}
nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 8px 13px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s;
}
nav ul li a:hover, nav ul li a.active { background: var(--pri-lt); }

@media (max-width: 768px) {
  .nav-label { display: flex; }
  nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--pri-dk);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  #nav-toggle:checked ~ nav { max-height: 400px; }
  nav ul { flex-direction: column; padding: 12px 20px; gap: 4px; }
  nav ul li a { display: block; padding: 10px 14px; }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--pri-dk) 0%, var(--pri) 55%, var(--pri-lt) 100%);
  color: #fff;
  padding: 70px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(128,203,196,0.12);
  top: -150px; right: -100px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  bottom: -80px; left: -60px;
  pointer-events: none;
}
.hero-inner { max-width: 760px; margin: 0 auto; position: relative; }
.hero-badge {
  display: inline-block;
  background: rgba(128,203,196,0.25);
  border: 1px solid var(--acc);
  color: var(--acc);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero h1 span { color: var(--acc); }
.hero p { font-size: 1.05rem; opacity: 0.88; max-width: 560px; margin: 0 auto 28px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.btn-primary { background: #fff; color: var(--pri); }
.btn-primary:hover { background: var(--bg2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-1px); }
.btn-green { background: var(--pri); color: #fff; }
.btn-green:hover { background: var(--pri-dk); transform: translateY(-1px); }
.btn-acc { background: var(--acc); color: var(--pri-dk); }
.btn-acc:hover { background: var(--bg2); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--acc); }
.stat span { font-size: 0.8rem; opacity: 0.8; }

/* ===== SECTIONS ===== */
.section { padding: 60px 20px; max-width: 1100px; margin: 0 auto; }
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--pri-dk); margin-bottom: 8px; }
.section-title p { color: var(--txt2); max-width: 560px; margin: 0 auto; font-size: 0.95rem; }
.section-sep {
  display: block;
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, var(--pri), var(--acc));
  border-radius: 2px;
  margin: 10px auto 0;
}

/* ===== PRODUCT CARDS (homepage) ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 4px solid var(--pri);
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 6px 24px rgba(0,105,92,0.18); }
.prod-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.product-card h3 { font-size: 1rem; color: var(--pri-dk); margin-bottom: 6px; }
.product-card .price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--pri);
  margin-bottom: 4px;
}
.product-card .price-note { font-size: 0.75rem; color: var(--txt2); margin-bottom: 14px; }
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
}
.tag-green { background: #e8f5e9; color: var(--green); }
.tag-blue { background: #e3f2fd; color: #1565c0; }
.tag-red { background: #ffebee; color: var(--red); }
.tag-orange { background: #fff3e0; color: #e65100; }

/* ===== KEUNGGULAN ===== */
.features-bg { background: #fff; }
.features-inner { max-width: 1100px; margin: 0 auto; padding: 60px 20px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}
.feature-card {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius);
  background: var(--bg);
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg2); }
.feat-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--pri);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.feature-card h3 { font-size: 0.95rem; color: var(--pri-dk); margin-bottom: 6px; font-weight: 700; }
.feature-card p { font-size: 0.82rem; color: var(--txt2); }

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(90deg, var(--pri-dk), var(--pri));
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}
.cta-band h2 { font-size: 1.6rem; margin-bottom: 10px; }
.cta-band p { opacity: 0.87; margin-bottom: 24px; }

/* ===== PRODUK TABLE PAGE ===== */
.page-hero {
  background: linear-gradient(135deg, var(--pri-dk), var(--pri));
  color: #fff;
  padding: 50px 20px 40px;
  text-align: center;
}
.page-hero h1 { font-size: 2rem; margin-bottom: 8px; }
.page-hero p { opacity: 0.88; max-width: 520px; margin: 0 auto; }

.tab-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.tab-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: 2px solid var(--pri);
  background: transparent;
  color: var(--pri);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}
.tab-btn.active, .tab-btn:hover { background: var(--pri); color: #fff; }

.prod-table-wrap { overflow-x: auto; margin-bottom: 32px; }
.prod-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
}
.prod-table th {
  background: var(--pri);
  color: #fff;
  padding: 13px 14px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}
.prod-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.prod-table tr:last-child td { border-bottom: none; }
.prod-table tr:hover td { background: #f0faf9; }
.prod-table .price-cell { font-weight: 700; color: var(--pri); }

/* ===== CARA ORDER STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 20px;
  position: relative;
  counter-increment: step;
}
.step-card::before {
  content: counter(step);
  position: absolute;
  top: -14px; left: 20px;
  width: 30px; height: 30px;
  background: var(--pri);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}
.step-card h3 { font-size: 1rem; color: var(--pri-dk); margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; color: var(--txt2); }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item input[type=checkbox] { display: none; }
.faq-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--pri-dk);
  gap: 12px;
}
.faq-label .arrow {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--pri);
  font-size: 0.75rem;
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 20px;
  font-size: 0.88rem;
  color: var(--txt2);
  line-height: 1.7;
}
.faq-item input:checked ~ .faq-label { color: var(--pri); border-bottom: 1px solid var(--border); }
.faq-item input:checked ~ .faq-label .arrow { transform: rotate(180deg); background: var(--pri); color: #fff; }
.faq-item input:checked ~ .faq-body { max-height: 300px; padding: 14px 20px; }

/* ===== CEK TRANSAKSI ===== */
.cek-form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  max-width: 560px;
  margin: 0 auto 32px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 0.93rem;
  font-family: var(--font);
  color: var(--txt);
  background: #fff;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--pri);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.btn-full { width: 100%; padding: 13px; font-size: 1rem; }

.result-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  max-width: 560px;
  margin: 0 auto;
  border-left: 5px solid var(--pri);
}
.result-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  gap: 12px;
}
.result-row:last-child { border-bottom: none; }
.result-row .label { color: var(--txt2); }
.result-row .value { font-weight: 600; color: var(--txt); text-align: right; }
.status-sukses { color: var(--green); font-weight: 700; }
.status-proses { color: #f57c00; font-weight: 700; }
.status-gagal { color: var(--red); font-weight: 700; }

/* ===== KONTAK ===== */
.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.kontak-info { display: flex; flex-direction: column; gap: 16px; }
.kontak-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  padding: 18px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.kontak-icon {
  width: 42px; height: 42px;
  background: var(--bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kontak-item h4 { font-size: 0.85rem; color: var(--txt2); margin-bottom: 2px; }
.kontak-item p, .kontak-item a { font-size: 0.93rem; color: var(--txt); font-weight: 600; text-decoration: none; }
.kontak-item a:hover { color: var(--pri); }
.jam-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  font-size: 0.83rem;
}
.jam-grid .hari { color: var(--txt2); }
.jam-grid .waktu { font-weight: 600; color: var(--txt); }

.form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.form-card h3 { font-size: 1.1rem; color: var(--pri-dk); margin-bottom: 20px; font-weight: 700; }

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

/* ===== NOTICE BOX ===== */
.notice {
  background: #fff8e1;
  border-left: 4px solid #f9a825;
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  font-size: 0.87rem;
  color: #5d4037;
  margin-bottom: 24px;
}

/* ===== INFO CARDS ===== */
.info-band { background: var(--pri); color: #fff; }
.info-inner { max-width: 1100px; margin: 0 auto; padding: 40px 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.info-item { text-align: center; }
.info-item strong { display: block; font-size: 1.4rem; font-weight: 800; color: var(--acc); }
.info-item span { font-size: 0.82rem; opacity: 0.87; }

/* ===== TESTIMONIAL ===== */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.testi-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.testi-stars { color: #f9a825; font-size: 1rem; margin-bottom: 10px; }
.testi-text { font-size: 0.88rem; color: var(--txt2); line-height: 1.6; margin-bottom: 14px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--pri);
  font-size: 0.85rem;
}
.testi-author div strong { display: block; font-size: 0.87rem; color: var(--txt); }
.testi-author div span { font-size: 0.75rem; color: var(--txt2); }

/* ===== FOOTER ===== */
footer {
  background: var(--pri-dk);
  color: rgba(255,255,255,0.8);
  padding: 40px 20px 20px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.footer-brand .logo-text strong { font-size: 1.1rem; }
.footer-brand p { font-size: 0.83rem; margin-top: 12px; line-height: 1.7; opacity: 0.75; }
footer h4 { color: #fff; margin-bottom: 12px; font-size: 0.9rem; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
footer ul li a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.83rem; }
footer ul li a:hover { color: var(--acc); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.78rem;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  opacity: 0.65;
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding: 50px 16px 40px; }
  .hero-stats { gap: 20px; }
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 54px; height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  z-index: 200;
  text-decoration: none;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); }

/* ===== UTILS ===== */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.text-sm { font-size: 0.85rem; color: var(--txt2); }
