/* Lawangku (@lawang_ku) — Unified Design System (Portal Berita, Profil Brand & Media Partner) */
:root {
  --bg: #f4f8fc;
  --surface: #ffffff;
  --surface-alt: #ebf4fc;
  --ink: #333333;
  --ink-grey: #808080;
  --ink-muted: #5a626a;
  --brand: #227cd6;
  --brand-dark: #1961aa;
  --brand-soft: #e6f3fd;
  --brand-sky: #2fb3eb;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --border: #d9e4ef;
  --font-display: "Yeseva One", Georgia, serif;
  --font-body: "Calibri", "Carlito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 2px 8px rgba(51, 51, 51, 0.05);
  --shadow-md: 0 10px 28px rgba(34, 124, 214, 0.09);
  --radius: 14px;
  --radius-sm: 10px;
  --max-width: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
  font-size: 16.5px;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max-width), 100% - 32px);
  margin-inline: auto;
}

/* Top Utility Ticker */
.topbar {
  background: #142b47;
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 8px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-sky);
  display: inline-block;
}

.topbar-meta {
  color: #cbd5e1;
  font-size: 0.82rem;
}

/* Header & Navigation */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.05;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand span small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-grey);
  letter-spacing: 0.03em;
  margin-top: 2px;
}

.header-search {
  flex: 1;
  max-width: 360px;
  position: relative;
}

.header-search input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.header-search input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(34, 124, 214, 0.16);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.nav-bar {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  overflow-x: auto;
}

.nav-link {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.nav-link:hover,
.nav-link.active {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.nav-link.cta-pill {
  background: var(--accent);
  color: #1e293b;
  margin-left: auto;
}

.nav-link.cta-pill:hover {
  background: var(--accent-dark);
  color: #ffffff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform 0.12s, background 0.18s, box-shadow 0.18s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-accent {
  background: var(--accent);
  color: #0f172a;
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--brand-dark);
  border: 1.5px solid var(--brand);
}

.btn-outline:hover {
  background: var(--brand-soft);
}

/* Portal Hero Grid */
.portal-hero {
  padding: 26px 0 18px;
}

.info-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  background: linear-gradient(135deg, #1961aa, #227cd6);
  color: #ffffff;
  padding: 18px 22px;
  border-radius: var(--radius);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.info-strip h1 {
  margin: 0 0 4px;
  font-size: 1.35rem;
}

.info-strip p {
  margin: 0;
  font-size: 0.92rem;
  color: #e0f2fe;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 20px;
}

.featured-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.featured-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.featured-body {
  padding: 20px;
}

.tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.featured-body h2 {
  margin: 10px 0 8px;
  font-size: 1.45rem;
  line-height: 1.3;
}

.featured-body p {
  margin: 0 0 14px;
  color: var(--ink-muted);
}

.meta-line {
  font-size: 0.82rem;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Sidebar Highlights */
.side-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-title {
  margin: 0;
  font-size: 1.05rem;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.headline-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.headline-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.headline-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rank-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface-alt);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}

.headline-item h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.headline-item h3 a:hover {
  color: var(--brand);
}

/* Section Headers & Filter Pills */
.section {
  padding: 26px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.section-header h2 {
  margin: 0;
  font-size: 1.35rem;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-muted);
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
}

.pill-btn.active,
.pill-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

/* Article Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s, box-shadow 0.16s;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.article-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.article-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  flex: 1;
}

/* Jelajah Lawang Directory */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

.dir-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.dir-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
  display: block;
}

.dir-card h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.dir-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

/* Promo Bridge Banner (Portal -> Media Partner Landing Page) */
.promo-bridge {
  background: linear-gradient(135deg, #142b47, #227cd6);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}

.promo-bridge h2 {
  margin: 0 0 6px;
  font-size: 1.45rem;
}

.promo-bridge p {
  margin: 0;
  color: #cbd5e1;
  max-width: 620px;
}

/* Article Detail Page */
.article-shell {
  padding: 28px 0 42px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 26px;
  align-items: start;
}

.article-paper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--brand-dark);
  font-weight: 600;
}

.article-paper h1 {
  margin: 10px 0 12px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.25;
}

.article-cover {
  border-radius: var(--radius-sm);
  margin: 18px 0 22px;
  width: 100%;
}

.md-content h2 {
  margin: 24px 0 10px;
  font-size: 1.25rem;
}

.md-content h3 {
  margin: 18px 0 8px;
  font-size: 1.08rem;
}

.md-content p {
  margin: 0 0 14px;
  color: #1e293b;
}

.md-content ul,
.md-content ol {
  padding-left: 22px;
  margin: 0 0 16px;
}

.md-content li {
  margin-bottom: 6px;
}

.md-content blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--brand);
  background: var(--surface-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #1e293b;
}

/* Landing Page: Media Partner */
.lp-hero {
  background: linear-gradient(135deg, #142b47 0%, #1961aa 56%, #227cd6 100%);
  color: #ffffff;
  padding: 52px 0;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.lp-kicker {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  color: #fde68a;
  border: 1px solid rgba(253, 230, 138, 0.35);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.lp-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3.3vw, 2.55rem);
  line-height: 1.18;
}

.lp-hero p {
  margin: 0 0 22px;
  color: #e0f2fe;
  font-size: 1.03rem;
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-summary-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 22px;
}

.lp-summary-card h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.lp-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-check-list li {
  font-size: 0.94rem;
  color: #f0f9ff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -26px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.stat-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--brand);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.price-card.popular {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-md);
  position: relative;
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--accent);
  color: #0f172a;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.price-tag {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
}

.price-tag small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.price-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

/* FAQ & Order Form */
.lp-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 15px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-body {
  padding: 0 18px 15px;
  font-size: 0.9rem;
  color: var(--ink-muted);
  display: none;
}

.faq-item.open .faq-body {
  display: block;
}

.order-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  font-size: 0.94rem;
}

.wa-preview {
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  font-size: 0.86rem;
  display: none;
}

/* Footer & Floating WA */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 36px 0 24px;
  margin-top: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #1e293b;
}

.footer-grid h3 {
  color: #ffffff;
  margin: 0 0 10px;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.footer-logo-badge {
  display: inline-block;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.footer-logo-badge img {
  height: 54px;
  width: auto;
}

.footer-links a:hover {
  color: #7dd3fc;
}

.footer-bottom {
  padding-top: 16px;
  font-size: 0.84rem;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.floating-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #16a34a;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35);
  z-index: 50;
}

.floating-wa:hover {
  background: #15803d;
}

/* Brand Identity, Prolog & Filosofi (@lawang_ku) */
.brand-story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 22px;
  align-items: stretch;
}

.prolog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.prolog-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.prolog-lockup img {
  width: 96px;
  height: auto;
  flex-shrink: 0;
}

.prolog-quote {
  margin: 0;
  padding: 14px 16px;
  border-left: 4px solid var(--brand);
  background: var(--surface-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.98rem;
  color: var(--ink);
}

.logo-elements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.logo-el-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.el-num {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-sky));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.logo-el-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--ink);
}

.logo-el-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-grey);
}

.brand-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.pillar-card h3 {
  margin: 6px 0 6px;
  font-size: 1.05rem;
  color: var(--ink);
}

.pillar-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.philosophy-prose {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.philosophy-prose p {
  margin: 0 0 14px;
  color: var(--ink);
}

.philosophy-prose p:last-child {
  margin-bottom: 0;
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.swatch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.swatch-bar {
  height: 76px;
}

.swatch-body {
  padding: 14px 16px;
}

.swatch-body code {
  display: inline-block;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
}

.swatch-body span {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--ink-grey);
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.type-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.type-specimen-display {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ink);
  margin: 8px 0 6px;
}

.type-specimen-body {
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: var(--ink);
  margin: 8px 0 6px;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .hero-layout,
  .article-shell,
  .lp-hero-grid,
  .pricing-grid,
  .lp-two-col,
  .footer-grid,
  .brand-story-grid,
  .brand-pillars,
  .type-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .logo-elements-grid {
    grid-template-columns: 1fr;
  }
  .header-main {
    flex-wrap: wrap;
  }

  .header-search {
    order: 3;
    max-width: 100%;
    flex-basis: 100%;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-bar {
    display: none;
  }

  .nav-bar.open {
    display: block;
  }

  .info-strip {
    grid-template-columns: 1fr;
  }
}
