/* E-Money Center — style.css */
/* Color palette: cyan #00bcd4, pink #ff4081, bg #e0f7fa */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #00bcd4;
  --primary-dark: #0097a7;
  --accent: #ff4081;
  --accent-dark: #c60055;
  --bg: #e0f7fa;
  --bg-card: #ffffff;
  --text: #1a2027;
  --text-muted: #546e7a;
  --border: #b2ebf2;
  --shadow: 0 4px 20px rgba(0,188,212,0.15);
  --radius: 14px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── DEMO BAR ── */
.demo-bar {
  background: #263238;
  color: #eceff1;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.demo-bar a { color: var(--primary); text-decoration: none; font-weight: 600; }
.demo-bar a:hover { color: var(--accent); }

/* ── NAV ── */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,188,212,0.12);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 22px; height: 22px; }
.logo span { color: var(--primary); }

/* checkbox hack nav */
#nav-toggle { display: none; }
.nav-label {
  display: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  background: var(--bg);
}
.nav-label svg { width: 24px; height: 24px; display: block; }

nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}
nav ul li a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}
nav ul li a:hover, nav ul li a.active {
  background: var(--bg);
  color: var(--primary);
}
nav ul li a.cta-nav {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 700;
}
nav ul li a.cta-nav:hover { background: linear-gradient(135deg, var(--primary-dark), #006064); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #006064 0%, #00bcd4 50%, #80deea 100%);
  color: #fff;
  padding: 70px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: rgba(255,64,129,0.15);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 250px; height: 250px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.hero h1 em { color: #ff80ab; font-style: normal; }
.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.97rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 18px rgba(255,64,129,0.4);
}
.btn-accent:hover { box-shadow: 0 6px 24px rgba(255,64,129,0.55); }
.btn-outline-white {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.25); }

/* wallet logos strip */
.wallet-strip {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.wallet-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.88rem;
  font-weight: 700;
}
.wallet-chip .dot { width: 10px; height: 10px; border-radius: 50%; }

/* ── SECTION COMMON ── */
.section { padding: 64px 20px; }
.section-alt { background: #fff; }
.container { max-width: 1100px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 42px; }
.section-head .label {
  display: inline-block;
  background: var(--bg);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.section-head p { color: var(--text-muted); max-width: 520px; margin: 0 auto; }

/* ── PRODUCT CARDS ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,188,212,0.22); }
.product-card-header { display: flex; align-items: center; gap: 12px; }
.wallet-avatar {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}
.wa-gopay { background: linear-gradient(135deg, #00adb5, #007780); }
.wa-ovo   { background: linear-gradient(135deg, #7e22ce, #4c0999); }
.wa-dana  { background: linear-gradient(135deg, #1e88e5, #1565c0); }
.wa-linkaja { background: linear-gradient(135deg, #e53935, #b71c1c); }
.wa-shopeepay { background: linear-gradient(135deg, #f57c00, #bf360c); }
.wa-default { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }

.product-card-header h3 { font-size: 1rem; font-weight: 700; }
.product-card-header small { color: var(--text-muted); font-size: 0.8rem; }
.nominal-list { display: flex; flex-wrap: wrap; gap: 7px; }
.nominal-btn {
  padding: 5px 13px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--primary-dark);
  transition: background 0.15s, border-color 0.15s;
}
.nominal-btn:hover, .nominal-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.price-row { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.price-tag { font-size: 1.25rem; font-weight: 900; color: var(--primary-dark); }
.price-tag small { font-size: 0.7rem; font-weight: 500; color: var(--text-muted); display: block; }
.btn-order-card {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-order-card:hover { opacity: 0.88; }

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 4px solid var(--primary);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--bg), #b2ebf2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.feature-icon svg { width: 28px; height: 28px; color: var(--primary); }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ── STATS BAR ── */
.stats-bar {
  background: linear-gradient(135deg, #006064, #00bcd4);
  color: #fff;
  padding: 40px 20px;
}
.stats-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  text-align: center;
}
.stat-item big {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}
.stat-item span { font-size: 0.88rem; opacity: 0.85; margin-top: 4px; display: block; }

/* ── PRODUCT TABLE ── */
.product-table-wrap { overflow-x: auto; }
.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.product-table thead tr {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
}
.product-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.82rem;
  text-transform: uppercase;
}
.product-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.product-table tbody tr:hover { background: #f0fbfc; }
.product-table tbody tr:nth-child(even) { background: #f9fdfe; }
.product-table tbody tr:nth-child(even):hover { background: #e8f8fb; }
.badge-wallet {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}
.bw-gopay { background: #00adb5; }
.bw-ovo   { background: #7e22ce; }
.bw-dana  { background: #1e88e5; }
.bw-linkaja { background: #e53935; }
.bw-shopeepay { background: #f57c00; }
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}
.sb-normal { background: #e0f2f1; color: #00695c; }
.sb-promo  { background: #fce4ec; color: #c62828; }
.price-col { font-weight: 800; color: var(--primary-dark); }

/* ── STEPS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  position: relative;
}
.step-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
}
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  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.95rem;
  gap: 10px;
}
.faq-label::after { content: '+'; font-size: 1.3rem; color: var(--primary); flex-shrink: 0; font-weight: 300; }
.faq-item input:checked ~ .faq-label::after { content: '−'; }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item input:checked ~ .faq-body { max-height: 300px; }
.faq-body p {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── CEK TRANSAKSI ── */
.cek-wrap {
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.cek-wrap h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.cek-wrap .sub { color: var(--text-muted); margin-bottom: 26px; font-size: 0.92rem; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px 32px;
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-accent-solid {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px 32px;
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.result-box {
  margin-top: 24px;
  padding: 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: #f0fbfc;
  display: none;
}
.result-box.show { display: block; }
.result-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.result-row:last-child { border-bottom: none; }
.result-row .key { color: var(--text-muted); }
.result-row .val { font-weight: 700; }
.status-sukses { color: #00897b; }
.status-proses { color: #f57c00; }
.status-gagal  { color: #c62828; }

/* ── KONTAK ── */
.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.kontak-info { display: flex; flex-direction: column; gap: 20px; }
.kontak-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-left: 4px solid var(--primary);
}
.kontak-card.accent { border-left-color: var(--accent); }
.kontak-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.kontak-icon svg { width: 22px; height: 22px; }
.kontak-card h3 { font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
.kontak-card p, .kontak-card a { font-size: 0.88rem; color: var(--text-muted); text-decoration: none; line-height: 1.7; }
.kontak-card a:hover { color: var(--primary); }
.kontak-form {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.kontak-form h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; }

/* ── FOOTER ── */
footer {
  background: #006064;
  color: rgba(255,255,255,0.85);
  padding: 48px 20px 24px;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand .logo { color: #fff; margin-bottom: 12px; display: inline-flex; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 260px; }
footer h4 { color: #fff; font-size: 0.88rem; font-weight: 700; margin-bottom: 14px; letter-spacing: 0.05em; text-transform: uppercase; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
footer ul li a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.88rem; }
footer ul li a:hover { color: #fff; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.7;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--accent), #ad1457);
  color: #fff;
  text-align: center;
  padding: 56px 20px;
}
.cta-banner h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 900; margin-bottom: 12px; letter-spacing: -0.02em; }
.cta-banner p { opacity: 0.9; margin-bottom: 28px; font-size: 1rem; }

/* ── CARA ORDER page ── */
.tips-box {
  background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 12px;
}
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.pay-card {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1.5px solid var(--border);
}
.pay-card .pay-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
}
.pay-card h4 { font-size: 0.9rem; font-weight: 700; }
.pay-card p { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, #006064, #00bcd4);
  color: #fff;
  padding: 50px 20px 55px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 900; margin-bottom: 10px; letter-spacing: -0.03em; }
.page-hero p { opacity: 0.9; font-size: 1rem; max-width: 520px; margin: 0 auto; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav-label { display: flex; }
  nav {
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  #nav-toggle:checked ~ nav { max-height: 400px; }
  nav ul { flex-direction: column; padding: 12px 16px 20px; gap: 4px; }
  nav ul li a { padding: 10px 14px; border-radius: 8px; }
  .kontak-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cek-wrap { padding: 24px 18px; }
  .kontak-form { padding: 22px 18px; }
}
@media (max-width: 480px) {
  .hero { padding: 50px 18px 60px; }
  .section { padding: 48px 16px; }
  .wallet-strip { gap: 8px; }
  .wallet-chip { padding: 5px 12px; font-size: 0.8rem; }
}
