/* =============================================
   LaporanKeuangan.id — Main CSS
   ============================================= */

:root {
  --navy:       #0D2B4E;
  --navy-mid:   #1A4A7A;
  --teal:       #0D7A6B;
  --teal-light: #E6F4F1;
  --gold:       #C8872A;
  --white:      #ffffff;
  --gray-bg:    #F0F4F8;
  --text:       #374151;
  --muted:      #6B7280;
  --border:     #E5E7EB;
  --radius:     10px;
}

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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAVBAR ---- */
.navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 34px; height: 34px;
  background: var(--teal);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: white;
  flex-shrink: 0;
}
.logo-text {
  font-size: 15px; font-weight: 700; color: white; line-height: 1.1;
}
.logo-text span { color: #34d3b8; }
.logo-sub { font-size: 10px; color: #64748b; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 13px; color: #94a3b8; transition: color .2s; }
.nav-links a:hover { color: white; }
.btn-nav {
  background: var(--gold);
  color: white;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: opacity .2s;
}
.btn-nav:hover { opacity: .85; }
.nav-toggle { display: none; background: none; border: none; color: white; font-size: 22px; cursor: pointer; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 72px 0 56px;
}
.hero-badge {
  display: inline-block;
  background: rgba(13,122,107,.25);
  border: 1px solid rgba(13,122,107,.5);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 11px;
  color: #6ee7d4;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 600px;
}
.hero h1 em { color: #34d3b8; font-style: normal; }
.hero p {
  font-size: 16px;
  color: #94a3b8;
  max-width: 520px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--teal);
  color: white;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: opacity .2s;
}
.btn-primary:hover { opacity: .85; }
.btn-ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,.3);
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 15px;
  transition: background .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.stat-num { font-size: 28px; font-weight: 800; color: white; }
.stat-label { font-size: 12px; color: #64748b; margin-top: 2px; }

/* ---- SECTION UMUM ---- */
.section { padding: 72px 0; }
.section-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--teal); margin-bottom: 10px;
}
.section-title { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.section-sub { font-size: 16px; color: var(--muted); margin-bottom: 36px; max-width: 560px; }

/* ---- FITUR ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow .2s;
}
.feat-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.feat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.feat-card h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.feat-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---- ARTIKEL / NEWS ---- */
.news-section { background: var(--gray-bg); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.news-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  transition: box-shadow .2s;
}
.news-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.news-img {
  height: 160px;
  background: var(--gray-bg);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-img-placeholder { font-size: 32px; }
.news-cat {
  position: absolute; top: 10px; left: 10px;
  background: var(--teal); color: white;
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 4px;
}
.news-body { padding: 16px; }
.news-date { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.news-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; line-height: 1.4; }
.news-excerpt { font-size: 13px; color: var(--muted); line-height: 1.5; }
.btn-outline {
  display: inline-block;
  border: 1px solid var(--teal);
  color: var(--teal);
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--teal); color: white; }

/* ---- HARGA ---- */
.pricing-section { background: var(--gray-bg); }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 700px;
}
.price-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  position: relative;
}
.price-card.featured { border: 2px solid var(--teal); }
.featured-badge {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--teal); color: white;
  font-size: 10px; font-weight: 700;
  padding: 4px 16px; border-radius: 20px;
  letter-spacing: .5px; white-space: nowrap;
}
.plan-name { font-size: 16px; font-weight: 700; color: var(--navy); }
.plan-price { font-size: 26px; font-weight: 800; color: var(--teal); margin: 10px 0 2px; }
.plan-price span { font-size: 13px; color: var(--muted); font-weight: 400; }
.plan-note { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.plan-features { list-style: none; margin-bottom: 20px; }
.plan-features li {
  font-size: 13px; color: var(--text);
  padding: 5px 0;
  display: flex; gap: 8px; align-items: flex-start;
}
.plan-features li::before { content: '✓'; color: var(--teal); font-weight: 700; }
.plan-btn {
  display: block; width: 100%;
  padding: 11px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  text-align: center;
  border: 1px solid var(--teal);
  color: var(--teal);
  transition: background .2s, color .2s;
}
.plan-btn:hover { background: var(--teal-light); }
.plan-btn.primary { background: var(--teal); color: white; }
.plan-btn.primary:hover { opacity: .85; }

/* ---- CTA BOTTOM ---- */
.cta-bottom {
  background: var(--navy);
  padding: 72px 0;
  text-align: center;
}
.cta-bottom h3 { font-size: 30px; font-weight: 800; color: white; margin-bottom: 12px; }
.cta-bottom p { font-size: 16px; color: #94a3b8; margin-bottom: 28px; }
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: white;
  padding: 14px 36px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  transition: opacity .2s;
}
.btn-gold:hover { opacity: .85; }

/* ---- FOOTER ---- */
.footer { background: #071d36; padding: 56px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { font-size: 13px; color: #64748b; margin-top: 12px; line-height: 1.7; }
.powered { margin-top: 8px !important; font-size: 11px !important; }
.powered a { color: #34d3b8; }
.footer-col h5 { font-size: 11px; font-weight: 700; color: #94a3b8; margin-bottom: 14px; letter-spacing: .5px; text-transform: uppercase; }
.footer-col a { display: block; font-size: 13px; color: #64748b; margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: #94a3b8; }
.footer-bottom {
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.footer-bottom span { font-size: 12px; color: #4a5568; }
.footer-bottom a { color: #64748b; }
.footer-bottom a:hover { color: #94a3b8; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .section-title { font-size: 24px; }
  .features-grid, .news-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 16px 24px; gap: 12px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-stats { gap: 24px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
