/* BayarKampus — SPP & Biaya Kuliah | Navy-Indigo Akademik */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a237e;
  --primary-dark: #0d1757;
  --primary-light: #3949ab;
  --accent: #7986cb;
  --accent-light: #9fa8da;
  --bg: #e8eaf6;
  --bg-white: #ffffff;
  --bg-card: #f5f6fd;
  --text-dark: #1a1a2e;
  --text-body: #374151;
  --text-muted: #6b7280;
  --success: #2e7d32;
  --warning: #f57f17;
  --danger: #c62828;
  --border: #c5cae9;
  --shadow: 0 2px 12px rgba(26,35,126,0.10);
  --shadow-lg: 0 8px 32px rgba(26,35,126,0.15);
  --radius: 10px;
  --radius-lg: 16px;
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body { background: var(--bg); color: var(--text-body); font-size: 15px; line-height: 1.6; }

/* DEMO BAR */
.demo-bar {
  background: #283593;
  color: #c5cae9;
  text-align: center;
  padding: 7px 16px;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.demo-bar a { color: #ffeb3b; text-decoration: none; font-weight: 600; }
.demo-bar a:hover { text-decoration: underline; }

/* NAV */
nav {
  background: var(--primary);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(26,35,126,0.3);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; height: 60px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: #fff; font-weight: 800; font-size: 1.2rem;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), #fff);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 22px; height: 22px; fill: var(--primary); }
.logo span { font-size: 0.75rem; font-weight: 400; color: var(--accent-light); display: block; line-height: 1; }

/* Checkbox hack menu */
#nav-toggle { display: none; }
.nav-label {
  display: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.nav-label span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: all 0.3s;
}
.nav-links {
  display: flex; gap: 4px; list-style: none; align-items: center;
}
.nav-links a {
  color: var(--accent-light); text-decoration: none;
  padding: 8px 14px; border-radius: 6px; font-size: 14px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(121,134,203,0.2); color: #fff;
}
.nav-links .btn-nav {
  background: var(--accent); color: var(--primary);
  font-weight: 700; border-radius: 20px; padding: 7px 18px;
}
.nav-links .btn-nav:hover { background: #fff; }

@media (max-width: 700px) {
  .nav-label { display: flex; }
  .nav-links {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: 60px; left: 0; right: 0;
    background: var(--primary-dark); padding: 12px 16px; gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  #nav-toggle:checked ~ .nav-inner .nav-links { display: flex; }
  .nav-links a { padding: 12px 16px; }
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #fff; padding: 64px 16px 56px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(121,134,203,0.25) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute; bottom: -60px; left: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(121,134,203,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(121,134,203,0.3); border: 1px solid rgba(121,134,203,0.5);
  color: var(--accent-light); font-size: 12px; font-weight: 600;
  padding: 4px 14px; border-radius: 20px; margin-bottom: 20px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.hero h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero h1 em { color: var(--accent-light); font-style: normal; }
.hero p { font-size: 1.05rem; color: #c5cae9; margin-bottom: 32px; max-width: 560px; 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: 12px 28px; border-radius: 25px; font-size: 15px;
  font-weight: 700; text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn-primary { background: var(--accent); color: var(--primary); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-success { background: #43a047; color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 13px; border-radius: 20px; }

/* STATS BAR */
.stats-bar {
  background: var(--primary-dark); color: #fff;
  padding: 20px 16px;
}
.stats-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  text-align: center;
}
.stat-num { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 12px; color: #9fa8da; margin-top: 2px; }
@media (max-width: 600px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }

/* CONTAINER */
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
section { padding: 56px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 1.8rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.section-title p { color: var(--text-muted); font-size: 0.95rem; max-width: 500px; margin: 0 auto; }
.section-label {
  display: inline-block; background: var(--bg); color: var(--primary-light);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 10px; margin-bottom: 8px;
  border: 1px solid var(--border);
}

/* PRODUK CARDS */
.produk-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px;
}
.produk-card {
  background: var(--bg-white); border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  padding: 24px 16px; text-align: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer; text-decoration: none; color: inherit;
  display: block;
}
.produk-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.produk-card.featured { border-color: var(--primary); background: linear-gradient(135deg, #e8eaf6, #fff); }
.produk-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.produk-icon svg { width: 28px; height: 28px; fill: #fff; }
.produk-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.produk-card p { font-size: 12px; color: var(--text-muted); }
.badge-hot {
  display: inline-block; background: #e53935; color: #fff;
  font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 10px; margin-top: 6px;
}
.badge-new {
  display: inline-block; background: var(--primary-light); color: #fff;
  font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 10px; margin-top: 6px;
}

/* FITUR / KEUNGGULAN */
.fitur-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px;
}
.fitur-card {
  background: var(--bg-white); border-radius: var(--radius-lg);
  padding: 28px 24px; box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}
.fitur-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--bg); display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.fitur-icon svg { width: 24px; height: 24px; fill: var(--primary); }
.fitur-card h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.fitur-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff; padding: 56px 16px; text-align: center;
}
.cta-banner h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; }
.cta-banner p { color: #c5cae9; margin-bottom: 28px; font-size: 1rem; }

/* PRODUK PAGE — TABLE */
.produk-section { margin-bottom: 48px; }
.produk-section-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 2px solid var(--border);
}
.produk-section-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.produk-section-icon svg { width: 24px; height: 24px; fill: #fff; }
.produk-section-header h2 { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.produk-section-header p { font-size: 13px; color: var(--text-muted); }

.tabel-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: var(--bg-white); }
thead tr { background: var(--primary); color: #fff; }
thead th { padding: 14px 16px; text-align: left; font-size: 13px; font-weight: 600; }
tbody tr { border-bottom: 1px solid var(--border); transition: background 0.15s; }
tbody tr:hover { background: var(--bg-card); }
tbody tr:last-child { border-bottom: none; }
tbody td { padding: 12px 16px; font-size: 14px; }
.harga { font-weight: 700; color: var(--primary); }
.harga-admin { font-size: 12px; color: var(--text-muted); }
.status-aktif { color: var(--success); font-weight: 600; font-size: 13px; }
.btn-order {
  background: var(--primary); color: #fff; border: none;
  padding: 6px 16px; border-radius: 16px; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: background 0.2s;
}
.btn-order:hover { background: var(--primary-light); }

/* CARA ORDER — STEPPER */
.stepper { list-style: none; counter-reset: step; }
.step-item {
  display: flex; gap: 20px; margin-bottom: 32px;
  counter-increment: step;
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; flex-shrink: 0;
}
.step-content h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.step-content p { font-size: 14px; color: var(--text-body); line-height: 1.7; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--bg-white); border-radius: var(--radius);
  margin-bottom: 12px; box-shadow: var(--shadow); border: 1px solid var(--border);
  overflow: hidden;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; font-weight: 600; color: var(--primary); cursor: pointer;
  gap: 16px;
}
.faq-toggle { display: none; }
.faq-icon { font-size: 1.3rem; font-weight: 300; color: var(--accent); flex-shrink: 0; transition: transform 0.3s; }
.faq-toggle:checked ~ .faq-q .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.2s; }
.faq-toggle:checked ~ .faq-a {
  max-height: 200px; padding: 0 20px 18px;
}
.faq-a p { font-size: 14px; color: var(--text-body); line-height: 1.7; }

/* CEK TRANSAKSI */
.cek-wrap {
  max-width: 560px; margin: 0 auto;
  background: var(--bg-white); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--primary);
}
.cek-wrap h2 { font-size: 1.4rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.cek-wrap > p { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }

.form-group { margin-bottom: 20px; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 2px solid var(--border);
  border-radius: var(--radius); font-size: 14px; font-family: inherit;
  background: #fff; color: var(--text-dark); transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.btn-block { width: 100%; justify-content: center; border-radius: var(--radius); }
.result-box {
  display: none; margin-top: 24px;
  border-radius: var(--radius); padding: 20px;
  border: 2px solid; background: #f8f9fa;
}
.result-box.success { border-color: var(--success); background: #e8f5e9; }
.result-box.pending { border-color: var(--warning); background: #fffde7; }
.result-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.07); font-size: 14px; }
.result-row:last-child { border-bottom: none; }
.result-row strong { color: var(--primary); }

/* KONTAK */
.kontak-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
@media (max-width: 700px) { .kontak-grid { grid-template-columns: 1fr; } }
.kontak-info h2 { font-size: 1.4rem; font-weight: 800; color: var(--primary); margin-bottom: 16px; }
.kontak-item {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 20px; padding: 16px; background: var(--bg-white);
  border-radius: var(--radius); border: 1px solid var(--border);
}
.kontak-item-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
}
.kontak-item-icon svg { width: 20px; height: 20px; fill: #fff; }
.kontak-item h3 { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 2px; }
.kontak-item p { font-size: 13px; color: var(--text-body); }
.kontak-item a { color: var(--primary-light); text-decoration: none; }
.kontak-item a:hover { text-decoration: underline; }

.kontak-form-wrap {
  background: var(--bg-white); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow);
}
.kontak-form-wrap h2 { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; }

/* JAM OPS */
.jam-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px;
}
.jam-row { display: flex; justify-content: space-between; padding: 8px 12px;
  background: var(--bg-card); border-radius: 6px; font-size: 13px; }
.jam-row strong { color: var(--primary); }
.jam-row span { color: var(--text-muted); }

/* MITRA LOGO placeholder */
.mitra-row {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px;
}
.mitra-chip {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 16px;
  font-size: 13px; font-weight: 600; color: var(--primary);
}

/* FOOTER */
footer {
  background: var(--primary-dark); color: #9fa8da; padding: 48px 16px 24px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand .logo { margin-bottom: 12px; font-size: 1.1rem; }
.footer-brand p { font-size: 13px; line-height: 1.7; color: #7986cb; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #c5cae9; margin-bottom: 14px; letter-spacing: 0.05em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #7986cb; text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent-light); }
.footer-bottom {
  border-top: 1px solid rgba(121,134,203,0.2); padding-top: 20px;
  text-align: center; font-size: 12px; color: #5c6bc0;
}

/* ALERT */
.alert {
  padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px;
  font-size: 14px; border-left: 4px solid;
}
.alert-info { background: #e3f2fd; border-color: #1976d2; color: #0d47a1; }
.alert-warning { background: #fffde7; border-color: var(--warning); color: #e65100; }
.alert-success { background: #e8f5e9; border-color: var(--success); color: #1b5e20; }

/* RESPONSIVE MISC */
@media (max-width: 480px) {
  .hero { padding: 48px 16px 40px; }
  section { padding: 40px 0; }
  .cek-wrap { padding: 24px 16px; }
  .kontak-form-wrap { padding: 20px 16px; }
  tbody td { padding: 10px 12px; }
  .step-item { flex-direction: row; }
}

.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; }
.bg-white { background: var(--bg-white); }
