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

:root {
  --primary: #ff6f00;
  --primary-dark: #e65100;
  --primary-light: #ff9800;
  --accent: #fff9c4;
  --accent2: #ffe082;
  --bg: #fff8f0;
  --bg2: #fff3e0;
  --text: #212121;
  --text2: #5d4037;
  --text3: #8d6e63;
  --white: #ffffff;
  --border: #ffcc80;
  --shadow: rgba(255,111,0,0.15);
  --radius: 12px;
  --radius-sm: 6px;
  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

/* DEMO BAR */
.demo-bar {
  background: #212121;
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
}
.demo-bar a { color: var(--accent2); text-decoration: none; font-weight: 600; }
.demo-bar a:hover { text-decoration: underline; }

/* NAV */
header {
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px var(--shadow);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.logo span { color: var(--text); }

/* Mobile menu checkbox hack */
#nav-toggle { display: none; }
.nav-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-label span {
  display: block;
  width: 24px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: 0.3s;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
}
nav a {
  text-decoration: none;
  color: var(--text2);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: 0.2s;
}
nav a:hover, nav a.active { background: var(--bg2); color: var(--primary); }
nav .btn-nav {
  background: var(--primary);
  color: var(--white);
  padding: 7px 16px;
  border-radius: 20px;
}
nav .btn-nav:hover { background: var(--primary-dark); color: var(--white); }

@media (max-width: 700px) {
  .nav-label { display: flex; }
  nav ul {
    display: none;
    position: absolute;
    top: 63px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    border-bottom: 3px solid var(--primary);
    box-shadow: 0 8px 20px var(--shadow);
    gap: 4px;
  }
  nav ul li { width: 100%; }
  nav a { display: block; padding: 10px 14px; }
  #nav-toggle:checked ~ nav ul { display: flex; }
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, var(--accent2) 100%);
  color: var(--white);
  padding: 70px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 900; line-height: 1.2; margin-bottom: 16px; }
.hero p { font-size: 1.05rem; opacity: 0.92; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num { font-size: 1.8rem; font-weight: 900; display: block; }
.stat-label { font-size: 0.78rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.5px; }

/* SECTION */
section { padding: 60px 20px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-title {
  text-align: center;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.section-title span { color: var(--primary); }
.section-sub {
  text-align: center;
  color: var(--text3);
  margin-bottom: 40px;
  font-size: 0.95rem;
}

/* CARDS GRID */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }

.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 10px var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px var(--shadow); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  background: var(--bg2);
}
.card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.card p { font-size: 0.875rem; color: var(--text3); line-height: 1.5; }

/* FEATURE HIGHLIGHT */
.feature-highlight {
  background: linear-gradient(135deg, var(--bg2), var(--accent));
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
}
.feature-highlight h3 { font-size: 1.2rem; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.feature-highlight p { color: var(--text2); font-size: 0.9rem; }

/* PRODUK TABLE */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: 0 2px 12px var(--shadow); }
table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 0.875rem; }
thead { background: var(--primary); color: var(--white); }
thead th { padding: 13px 16px; text-align: left; font-weight: 700; }
tbody tr { border-bottom: 1px solid var(--bg2); }
tbody tr:last-child { border-bottom: none; }
tbody td { padding: 11px 16px; color: var(--text); }
tbody tr:hover { background: var(--bg); }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-green { background: #e8f5e9; color: #2e7d32; }
.badge-orange { background: #fff3e0; color: var(--primary); }
.badge-blue { background: #e3f2fd; color: #1565c0; }

.price { font-weight: 700; color: var(--primary); }

/* STEPS */
.steps { display: flex; flex-direction: column; gap: 20px; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 2px 8px var(--shadow);
}
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-weight: 900;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.step-body h4 { font-weight: 700; color: var(--text); margin-bottom: 5px; }
.step-body p { font-size: 0.875rem; color: var(--text3); }

/* FAQ */
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 16px 20px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}
.faq-q::after { content: '▼'; color: var(--primary); font-size: 0.75rem; transition: 0.3s; }
.faq-a {
  padding: 0 20px 16px;
  color: var(--text3);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* CEK TRANSAKSI */
.cek-box {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 4px 20px var(--shadow);
}
.cek-box h2 { font-size: 1.4rem; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.cek-box p { color: var(--text3); font-size: 0.875rem; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; color: var(--text2); margin-bottom: 6px; font-size: 0.875rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border: none;
  border-radius: 30px;
  padding: 13px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: 0.2s;
  box-shadow: 0 4px 14px var(--shadow);
}
.btn-submit:hover { opacity: 0.9; transform: translateY(-1px); }

.result-box {
  background: var(--accent);
  border: 1.5px solid var(--accent2);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--text2);
  display: none;
}
.result-box.show { display: block; }
.result-box strong { color: var(--primary); }

/* KONTAK */
.kontak-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.kontak-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 10px var(--shadow);
}
.kontak-card .k-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}
.kontak-card h4 { font-weight: 700; color: var(--text); margin-bottom: 6px; }
.kontak-card p { font-size: 0.875rem; color: var(--text3); }
.kontak-card a { color: var(--primary); font-weight: 600; text-decoration: none; }

/* ALERT */
.alert {
  background: var(--accent);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 0.875rem;
  color: var(--text2);
}

/* KOMISI */
.komisi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 24px; }
.komisi-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.komisi-card .k-pct { font-size: 2rem; font-weight: 900; }
.komisi-card .k-label { font-size: 0.8rem; opacity: 0.9; }

/* SECTION ALT BG */
.sec-alt { background: var(--bg2); }
.sec-dark { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--white); }
.sec-dark .section-title { color: var(--white); }
.sec-dark .section-sub { color: rgba(255,255,255,0.8); }

/* FOOTER */
footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 50px 20px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 36px;
}
.footer-brand .logo { color: var(--primary); font-size: 1.2rem; text-decoration: none; }
.footer-brand p { font-size: 0.85rem; color: #999; margin-top: 10px; line-height: 1.6; }
.footer-col h5 { color: var(--white); font-weight: 700; margin-bottom: 14px; font-size: 0.9rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #999; text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #666;
}
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  section { padding: 40px 16px; }
  .hero { padding: 50px 16px 40px; }
  .hero-stats { gap: 24px; }
}

/* UTILS */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.tag {
  display: inline-block;
  background: var(--bg2);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* PRODUK TABS */
.tab-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.tab-btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text2);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: var(--font);
  transition: 0.2s;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
