/* ═══════════════════════════════════════════════
   MEDIAKU INFO PAGES — Shared CSS
   Dipakai oleh: tentang, panduan, faq, syarat, privasi
═══════════════════════════════════════════════ */

:root {
  --bg: #f0f2f5;
  --surface: #ffffff;
  --surface2: #f7f8fa;
  --border: #dde1e8;
  --accent: #1a6b3c;
  --accent-light: #e6f4ed;
  --accent2: #2d9e5f;
  --text: #111827;
  --text2: #374151;
  --muted: #6b7280;
  --muted2: #9ca3af;
  --shadow: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --radius: 14px;
  --radius-sm: 9px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.7;
}

/* ── HEADER ── */
.info-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.info-logo {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.4px;
  flex-shrink: 0;
}
.info-logo span { color: var(--accent); }
.info-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.info-nav a {
  padding: 5px 10px;
  border-radius: 7px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.15s;
  white-space: nowrap;
}
.info-nav a:hover, .info-nav a.active {
  background: var(--accent-light);
  color: var(--accent);
}
.info-back-btn {
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 7px;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  color: var(--text2);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.info-back-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

/* ── MAIN ── */
.info-main {
  flex: 1;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px 60px;
}

/* ── HERO ── */
.info-hero {
  text-align: center;
  padding: 52px 20px 40px;
}
.info-hero-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}
.info-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.3;
}
.info-hero p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ── CONTENT ── */
.info-content { padding-bottom: 40px; }

.info-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.info-section h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.info-section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.info-section p {
  font-size: 0.9rem;
  color: var(--text2);
  margin-bottom: 12px;
}
.info-section p:last-child { margin-bottom: 0; }
.info-section a { color: var(--accent); text-decoration: none; font-weight: 600; }
.info-section a:hover { text-decoration: underline; }

/* ── LISTS ── */
.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text2);
}
.info-list li { display: flex; align-items: flex-start; gap: 8px; }
.info-list a { color: var(--accent); text-decoration: none; font-weight: 600; }
.info-list a:hover { text-decoration: underline; }

.info-ordered {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text2);
}

/* ── GRID CARDS ── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 4px;
}
.info-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  transition: all 0.15s;
}
.info-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.info-card-icon { font-size: 1.6rem; margin-bottom: 10px; }
.info-card h3 { font-size: 0.88rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.info-card p { font-size: 0.78rem; color: var(--muted); line-height: 1.5; margin: 0; }

/* ── STEPS ── */
.info-steps { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.info-step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--accent); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 800; margin-top: 2px;
}
.step-body h3 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.step-body p { font-size: 0.83rem; color: var(--muted); margin: 0; }
.step-body code { background: var(--accent-light); color: var(--accent); padding: 1px 6px; border-radius: 4px; font-size: 0.82rem; font-family: monospace; }
.step-body a { color: var(--accent); text-decoration: none; font-weight: 600; }

/* ── NOTE ── */
.info-note {
  background: #fffbeb;
  border: 1.5px solid #fcd34d;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.83rem;
  color: #92400e;
  margin-top: 16px;
  line-height: 1.6;
}

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.pricing-card {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  position: relative;
  transition: all 0.15s;
}
.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45,158,95,0.1);
}
.pricing-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.pricing-badge.free { background: #e0f2fe; color: #0369a1; }
.pricing-badge.lock { background: var(--accent-light); color: var(--accent); }
.pricing-badge.yearly { background: #f3e8ff; color: #7c3aed; }
.pricing-card h3 { font-size: 1rem; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.pricing-price { font-size: 1.3rem; font-weight: 800; color: var(--accent); margin-bottom: 14px; }
.pricing-price span { font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.pricing-card ul { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; font-size: 0.8rem; color: var(--text2); }
.pricing-btn {
  display: block; text-align: center; padding: 9px 14px;
  background: var(--accent); color: #fff; border-radius: 8px;
  text-decoration: none; font-size: 0.82rem; font-weight: 700;
  transition: all 0.15s;
}
.pricing-btn:hover { background: var(--accent2); transform: translateY(-1px); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; background: var(--surface2); border: none; cursor: pointer;
  padding: 14px 16px; font-size: 0.88rem; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
  font-family: inherit; text-align: left; transition: background 0.15s;
}
.faq-q:hover { background: var(--accent-light); color: var(--accent); }
.faq-q span { font-size: 1.1rem; font-weight: 400; color: var(--muted); flex-shrink: 0; }
.faq-a { display: none; padding: 14px 16px; font-size: 0.85rem; color: var(--text2); line-height: 1.7; border-top: 1px solid var(--border); background: var(--surface); }
.faq-a a { color: var(--accent); text-decoration: none; font-weight: 600; }
.faq-a code { background: var(--accent-light); color: var(--accent); padding: 1px 6px; border-radius: 4px; font-size: 0.82rem; font-family: monospace; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q { background: var(--accent-light); color: var(--accent); }

/* ── PROSE (syarat & privasi) ── */
.info-prose .info-section { margin-bottom: 16px; }
.info-prose h2 { font-size: 1rem; }

/* ── CTA ── */
.info-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  color: #fff;
  margin-top: 8px;
}
.info-cta h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.info-cta p { font-size: 0.9rem; opacity: 0.9; margin-bottom: 20px; }
.info-cta-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--accent);
  padding: 11px 24px; border-radius: 30px;
  text-decoration: none; font-weight: 800; font-size: 0.9rem;
  transition: all 0.15s; box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.info-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }

/* ── FOOTER ── */
.info-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}
.info-footer strong { color: var(--text); }
.info-footer a { color: var(--accent); text-decoration: none; }
.info-footer a:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .info-header { padding: 0 14px; gap: 8px; }
  .info-nav { display: none; }
  .info-hero h1 { font-size: 1.5rem; }
  .info-section { padding: 20px 18px; }
  .info-main { padding: 0 12px 40px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .info-cta { padding: 28px 18px; }
}
