/* ============================================
   LPS - Lembaga Penjamin Simpanan
   Website Stylesheet | lps-ri.org
   ============================================ */

:root {
  --gold: #C8932A;
  --gold-light: #F0C060;
  --gold-dark: #9A6E1A;
  --navy: #1B3A6B;
  --navy-dark: #0F2447;
  --navy-light: #2A5298;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-400: #CED4DA;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --text-dark: #212529;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --transition: all 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter','Segoe UI',system-ui,sans-serif; color: var(--text-dark); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

h1,h2,h3,h4,h5 { font-family: Georgia,serif; line-height: 1.3; color: var(--navy-dark); }
h1 { font-size: clamp(1.8rem,4vw,2.75rem); }
h2 { font-size: clamp(1.5rem,3vw,2.1rem); }
h3 { font-size: clamp(1.2rem,2.5vw,1.5rem); }

.lead { font-size: 1.1rem; line-height: 1.8; color: var(--gray-800); }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.text-muted { color: var(--gray-600); }
.text-center { text-align: center; }

.section-label { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); background: rgba(200,147,42,0.1); padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.divider { width: 60px; height: 3px; background: var(--gold); border-radius: 2px; margin: 16px 0; }
.divider.centered { margin: 16px auto; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none; transition: var(--transition); text-decoration: none; }
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,147,42,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.7); }
.btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 8px 20px; font-size: 0.875rem; }

/* Top Bar */
.top-bar { background: var(--gold); padding: 6px 0; font-size: 0.8rem; color: var(--navy-dark); }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: var(--navy-dark); font-weight: 600; }
.top-bar a:hover { color: var(--white); }
.top-bar-links { display: flex; gap: 20px; }

/* Header & Nav */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--navy-dark); box-shadow: 0 2px 16px rgba(0,0,0,0.25); }
.nav-wrapper { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.nav-logo img { height: 48px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu a { display: block; padding: 8px 16px; color: rgba(255,255,255,0.88); font-size: 0.9rem; font-weight: 500; border-radius: 6px; transition: var(--transition); }
.nav-menu a:hover, .nav-menu a.active { color: var(--gold-light); background: rgba(255,255,255,0.08); }
.nav-dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: var(--transition); z-index: 100; overflow: hidden; }
.nav-menu li:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { color: var(--text-dark); padding: 10px 20px; border-radius: 0; font-size: 0.875rem; }
.nav-dropdown a:hover { background: var(--gray-100); color: var(--gold); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1a4c8a 100%); padding: 80px 0 70px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(200,147,42,0.15) 0%, transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold)); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(200,147,42,0.2); border: 1px solid rgba(200,147,42,0.4); color: var(--gold-light); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; padding: 6px 14px; border-radius: 20px; margin-bottom: 20px; }
.hero-title { color: var(--white); font-size: clamp(2rem,4.5vw,3rem); margin-bottom: 20px; line-height: 1.2; }
.hero-title span { color: var(--gold-light); }
.hero-desc { color: rgba(255,255,255,0.82); font-size: 1.05rem; line-height: 1.8; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stat-box { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 32px; }
.hero-stat-box h3 { color: var(--gold-light); font-size: 2.5rem; margin-bottom: 4px; }
.hero-stat-box p { color: rgba(255,255,255,0.75); font-size: 0.875rem; margin-bottom: 0; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.stat-item { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 20px 16px; text-align: center; }
.stat-item .num { font-family: Georgia,serif; font-size: 1.6rem; font-weight: bold; color: var(--gold-light); display: block; }
.stat-item .label { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-top: 4px; }

/* Info Strip */
.info-strip { background: var(--gold); padding: 20px 0; }
.info-strip .container { display: flex; gap: 40px; align-items: center; justify-content: center; flex-wrap: wrap; }
.info-item { display: flex; align-items: center; gap: 12px; color: var(--navy-dark); }
.info-item .icon { width: 36px; height: 36px; background: rgba(255,255,255,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.info-item strong { display: block; font-size: 0.95rem; }
.info-item span { font-size: 0.8rem; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--off-white); }
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--gray-600); font-size: 1.05rem; max-width: 600px; }
.section-header.centered p { margin: 0 auto; }

/* Cards */
.card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-img { aspect-ratio: 16/9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 24px; }
.card-tag { display: inline-block; background: rgba(200,147,42,0.12); color: var(--gold-dark); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 4px; margin-bottom: 12px; }
.card-date { display: flex; align-items: center; gap: 6px; color: var(--gray-600); font-size: 0.82rem; margin-bottom: 10px; }
.card-title { font-size: 1.05rem; margin-bottom: 10px; color: var(--navy-dark); line-height: 1.45; }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--gold-dark); }
.card-excerpt { color: var(--gray-600); font-size: 0.875rem; line-height: 1.65; margin-bottom: 16px; }
.read-more { color: var(--gold-dark); font-size: 0.875rem; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.read-more:hover { color: var(--navy); gap: 8px; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feature-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 32px 28px; position: relative; overflow: hidden; transition: var(--transition); }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gold); transform: scaleX(0); transition: transform 0.3s ease; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { box-shadow: var(--shadow-md); }
.feature-number { width: 48px; height: 48px; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--white); font-family: Georgia,serif; font-size: 1.4rem; font-weight: bold; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 12px; color: var(--navy-dark); }
.feature-card p { font-size: 0.875rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 0; }

/* News Grid */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.news-grid.two-col { grid-template-columns: repeat(2,1fr); }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); padding: 70px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(200,147,42,0.2), transparent 70%); top: -100px; right: -100px; pointer-events: none; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.78); margin-bottom: 32px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Page Hero */
.page-hero { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); padding: 60px 0 50px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold)); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 1rem; }

/* Content + Sidebar */
.content-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.sidebar-widget { background: var(--off-white); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; }
.sidebar-widget h4 { font-size: 1rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); color: var(--navy-dark); }
.sidebar-news-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gray-200); }
.sidebar-news-item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-news-img { width: 70px; height: 55px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.sidebar-news-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-news-title { font-size: 0.82rem; line-height: 1.45; color: var(--navy-dark); font-weight: 500; }
.sidebar-news-title a { color: inherit; }
.sidebar-news-title a:hover { color: var(--gold-dark); }
.sidebar-news-date { font-size: 0.75rem; color: var(--gray-600); margin-top: 4px; }

/* Article */
.article-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-200); }
.article-meta span { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--gray-600); }
.article-tag { background: rgba(200,147,42,0.12); color: var(--gold-dark); font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.article-content { line-height: 1.85; }
.article-content h2 { font-size: 1.45rem; margin: 36px 0 14px; color: var(--navy-dark); }
.article-content h3 { font-size: 1.2rem; margin: 28px 0 12px; color: var(--navy); }
.article-content p { margin-bottom: 1.2rem; color: #333; }
.article-content ul,.article-content ol { margin: 0 0 1.2rem 24px; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote { border-left: 4px solid var(--gold); padding: 16px 24px; margin: 28px 0; background: rgba(200,147,42,0.06); border-radius: 0 8px 8px 0; color: var(--navy-dark); font-style: italic; }
.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; }
.article-content table th { background: var(--navy-dark); color: var(--white); padding: 12px 16px; text-align: left; }
.article-content table td { padding: 10px 16px; border-bottom: 1px solid var(--gray-200); }
.article-content table tr:nth-child(even) td { background: var(--gray-100); }
.article-figure { margin: 32px 0; }
.article-figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.article-figure figcaption { font-size: 0.82rem; color: var(--gray-600); text-align: center; margin-top: 10px; font-style: italic; }
.notice-box { background: #EBF4FF; border: 1px solid #BDD7EE; border-left: 4px solid var(--navy); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }
.notice-box.warning { background: #FFF8E6; border-color: #FFE0A0; border-left-color: var(--gold); }
.notice-box h4 { margin-bottom: 8px; font-size: 0.95rem; }
.notice-box p { margin-bottom: 0; font-size: 0.875rem; }

/* Profile */
.visi-misi { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.visi-box { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); border-radius: var(--radius-lg); padding: 32px; color: var(--white); }
.misi-box { background: var(--off-white); border-radius: var(--radius-lg); padding: 32px; }
.visi-box h3 { color: var(--gold-light); margin-bottom: 16px; }
.misi-box h3 { color: var(--navy-dark); margin-bottom: 16px; }
.misi-list { padding-left: 0; }
.misi-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 0.9rem; }
.misi-check { width: 22px; height: 22px; min-width: 22px; background: var(--gold); color: var(--white); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: bold; }

/* Layanan */
.layanan-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.layanan-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 32px; transition: var(--transition); }
.layanan-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); }
.layanan-icon { font-size: 2.5rem; margin-bottom: 16px; }
.layanan-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.layanan-card p { font-size: 0.9rem; color: var(--gray-600); }

/* Official Notice */
.official-notice { border: 2px solid var(--navy); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; }
.official-notice-header { background: var(--navy-dark); color: var(--white); padding: 16px 24px; display: flex; align-items: center; gap: 12px; }
.official-notice-header h3 { color: var(--white); font-size: 1rem; margin: 0; }
.official-notice-body { padding: 24px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.contact-item { text-align: center; padding: 28px 20px; background: var(--off-white); border-radius: var(--radius-lg); }
.contact-item .icon { font-size: 2rem; margin-bottom: 12px; }
.contact-item h4 { font-size: 0.95rem; margin-bottom: 8px; }
.contact-item p { font-size: 0.875rem; color: var(--gray-600); margin: 0; }

/* Footer */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.8; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.social-link { width: 38px; height: 38px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 1.1rem; transition: var(--transition); }
.social-link:hover { background: var(--gold); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid rgba(200,147,42,0.5); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.875rem; }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--gold-light); }

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.page-link { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--white); border: 1px solid var(--gray-200); color: var(--text-dark); font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
.page-link:hover,.page-link.active { background: var(--navy-dark); border-color: var(--navy-dark); color: var(--white); }

/* Badge */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }
.badge-gold { background: var(--gold); color: var(--white); }
.badge-navy { background: var(--navy); color: var(--white); }
.badge-success { background: #28a745; color: var(--white); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .content-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .news-grid,.news-grid.two-col { grid-template-columns: 1fr; }
  .features-grid,.visi-misi,.layanan-grid,.contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-menu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--navy-dark); flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 80px 24px 40px; gap: 8px; z-index: 999; overflow-y: auto; }
  .nav-menu.open { display: flex; }
  .nav-menu > li { width: 100%; }
  .nav-menu a { font-size: 1rem; padding: 12px 16px; }
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,0.05); display: none; border-radius: 8px; margin-top: 4px; }
  .nav-dropdown.open { display: block; }
  .nav-dropdown a { color: rgba(255,255,255,0.7); }
  .hamburger { display: flex; z-index: 1001; }
  .info-strip .container { flex-direction: column; gap: 16px; }
  .hero-actions,.cta-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions { align-items: center; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .top-bar-links { display: none; }
}
