@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@85..125,400..800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ========================================================================
   SUNFISH — Tema Pesisir (Coastal)
   Portal Informasi Perikanan Kota Semarang

   Dimuat SETELAH style.css. Hanya lapisan visual: warna, huruf, sudut,
   garis. Semua tata letak tetap dari style.css.

   Bahasa bentuknya diambil dari tambak pesisir utara Semarang: petak
   persegi, pematang setipis garis, dan penggaris pasang surut sebagai
   pemisah antar bagian.
   ======================================================================== */

:root {
  /* ── Pasir & kertas ── */
  --pasir: #fbf7f0;
  --pasir-tua: #f0e7d8;
  --kartu: #ffffff;
  --garis: #dbd1be;
  --garis-tebal: #c4b69c;

  /* ── Laut ── */
  --laut-dalam: #06414c;
  --laut: #0b6e7f;
  --laut-muda: #3e9dab;
  --buih: #cfe6e6;

  /* ── Senja (aksen) ── */
  --senja: #e8763a;
  --senja-tua: #c25520;
  --senja-muda: #f6d9c6;

  /* ── Tinta ── */
  --tinta: #16323c;
  --tinta-muda: #5b7480;
  --tinta-samar: #8b9ea6;

  /* ── Pemetaan ke token lama (dipakai 240x di style.css) ── */
  --navy-900: #04313a;
  --navy-800: var(--laut-dalam);
  --navy-700: #08525f;
  --navy-600: var(--laut);
  --navy-500: #0d7d8f;

  --teal-600: var(--laut);
  --teal-500: var(--laut);
  --teal-400: var(--laut-muda);
  --teal-300: #6fbcc4;
  --teal-200: var(--buih);
  --teal-100: #e6f2f1;

  --accent: var(--senja);
  --accent-light: #f08d59;
  --accent-glow: var(--senja-muda);

  --surface: var(--pasir);
  --surface-card: var(--kartu);
  --border-light: var(--garis);
  --text-primary: var(--tinta);
  --text-secondary: var(--tinta-muda);
  --text-muted: var(--tinta-samar);

  --status-up: #1f7a5c;
  --status-down: #c4502a;
  --status-stable: #8a9ba1;
  --status-warn: #b8781f;
  --status-danger: #b3392b;

  /* ── Petak tambak: sudut nyaris siku, garis menggantikan bayangan ── */
  --radius: 3px;
  --radius-sm: 2px;

  --shadow-sm: none;
  --shadow-md: 0 2px 10px rgba(22, 50, 60, 0.06);
  --shadow-lg: 0 6px 26px rgba(22, 50, 60, 0.1);
  --shadow-glow: none;

  --font-heading: 'Archivo', system-ui, sans-serif;
  --font-body: 'Archivo', system-ui, sans-serif;
  --font-data: 'IBM Plex Mono', ui-monospace, monospace;

  --transition: all 0.22s cubic-bezier(0.2, 0, 0.15, 1);
  --transition-slow: all 0.5s cubic-bezier(0.2, 0, 0.15, 1);
}

/* ════════ BASE ════════ */
* { -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--text-primary);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.display-1,.display-2,.display-3,.display-4,.display-5,.display-6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
}

a { transition: var(--transition); }
.text-muted { color: var(--text-secondary) !important; }

/* ════════ NAVBAR ════════ */
.navbar-sunfish {
  background: transparent !important;
  padding: 16px 0;
  transition: var(--transition);
  z-index: 1040;
}
.navbar-sunfish.scrolled {
  background: rgba(10, 22, 40, 0.97) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
.navbar-sunfish .navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-sunfish .navbar-brand .logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #fff;
}
.navbar-sunfish .navbar-brand em {
  font-style: normal;
  color: var(--teal-300);
}
.navbar-sunfish .nav-link {
  color: rgba(255,255,255,0.7) !important;
  font-weight: 500; font-size: 0.9rem;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: var(--transition);
}
.navbar-sunfish .nav-link:hover,
.navbar-sunfish .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,0.1);
}
.navbar-sunfish .nav-link.active { color: var(--teal-200) !important; }
.navbar-sunfish .navbar-toggler { border: none; padding: 4px 8px; }
.navbar-sunfish .navbar-toggler:focus { box-shadow: none; }
.navbar-sunfish .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ════════ HERO ════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--navy-800);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(6,14,26,0.4) 0%,
    rgba(10,22,40,0.7) 50%,
    rgba(10,22,40,0.95) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; animation: fadeInUp 1s ease-out 0.3s both; }
.highlight {
  background: linear-gradient(135deg, var(--teal-300), var(--teal-200));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ════════ PAGE HERO (Sub Pages) ════════ */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  background: var(--navy-800);
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0,180,216,0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(0,121,107,0.06) 0%, transparent 50%);
}
.page-hero.has-bg-img { background-size: cover; background-position: center; }
.page-hero.has-bg-img::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(10,22,40,0.88);
}
.page-hero-content { position: relative; z-index: 2; }

/* ════════ WAVE DIVIDER ════════ */
.wave-divider { line-height: 0; margin-top: -2px; }
.wave-divider svg { width: 100%; height: 70px; display: block; }

/* ════════ BADGE ════════ */
.badge-accent {
  background: linear-gradient(135deg, rgba(0,180,216,0.1), rgba(0,121,107,0.1));
  color: var(--teal-400);
  border: 1px solid rgba(0,180,216,0.2);
  font-weight: 600; letter-spacing: 0.8px;
  padding: 6px 18px; border-radius: 50px;
  font-size: 0.8rem; text-transform: uppercase;
}

/* Unified soft badge system */
.badge-ocean {
  background: rgba(0,180,216,0.1);
  color: var(--teal-400);
  border: 1px solid rgba(0,180,216,0.15);
  font-weight: 600; padding: 5px 14px; border-radius: 50px; font-size: 0.78rem;
}
.badge-sea {
  background: rgba(0,121,107,0.1);
  color: var(--teal-600);
  border: 1px solid rgba(0,121,107,0.15);
  font-weight: 600; padding: 5px 14px; border-radius: 50px; font-size: 0.78rem;
}
.badge-wave {
  background: rgba(29,78,126,0.1);
  color: var(--navy-500);
  border: 1px solid rgba(29,78,126,0.15);
  font-weight: 600; padding: 5px 14px; border-radius: 50px; font-size: 0.78rem;
}
.badge-coral {
  background: rgba(224,112,85,0.1);
  color: var(--status-down);
  border: 1px solid rgba(224,112,85,0.15);
  font-weight: 600; padding: 5px 14px; border-radius: 50px; font-size: 0.78rem;
}
.badge-sand {
  background: rgba(240,168,68,0.1);
  color: var(--status-warn);
  border: 1px solid rgba(240,168,68,0.15);
  font-weight: 600; padding: 5px 14px; border-radius: 50px; font-size: 0.78rem;
}
.badge-kelp {
  background: rgba(0,184,148,0.1);
  color: var(--status-up);
  border: 1px solid rgba(0,184,148,0.15);
  font-weight: 600; padding: 5px 14px; border-radius: 50px; font-size: 0.78rem;
}

/* ════════ BUTTONS ════════ */
.btn-accent {
  background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
  color: #fff; border: none;
  box-shadow: 0 4px 20px rgba(0,180,216,0.25);
  padding: 12px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  transition: var(--transition);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0,180,216,0.4);
  color: #fff;
}
.btn-accent-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  padding: 12px 28px; border-radius: 50px;
  font-weight: 600; transition: var(--transition);
}
.btn-accent-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

/* Themed outline button for light bg */
.btn-ocean-outline {
  color: var(--teal-500);
  border: 1.5px solid var(--teal-400);
  padding: 8px 22px; border-radius: 50px;
  font-weight: 600; font-size: 0.88rem;
  background: transparent;
  transition: var(--transition);
}
.btn-ocean-outline:hover {
  background: var(--teal-400); color: #fff;
  box-shadow: 0 4px 15px rgba(0,180,216,0.25);
}

/* ════════ STAT CARDS ════════ */
.stat-card {
  background: var(--surface-card);
  border-radius: var(--radius);
  padding: 28px 20px; text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-card .stat-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(0,180,216,0.08), rgba(0,121,107,0.08));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; font-size: 1.3rem; color: var(--teal-400);
}
.stat-card h3 { font-weight: 800; margin-bottom: 2px; color: var(--text-primary); }

/* ════════ FEATURE CARDS ════════ */
.feature-card {
  background: var(--surface-card);
  border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-400), var(--teal-600));
  transform: scaleX(0); transition: var(--transition);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card .feature-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, rgba(0,180,216,0.08), rgba(0,121,107,0.06));
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-size: 1.6rem; color: var(--teal-400);
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
  color: #fff; transform: scale(1.1);
}
.feature-link {
  display: inline-flex; 
  align-items: center; 
  gap: 8px;
  margin-top: 15px; 
  color: var(--teal-500) !important;
  font-weight: 700; 
  font-size: 0.88rem;
  text-decoration: none !important;
  position: relative;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.feature-link i {
  font-size: 0.75rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--teal-400);
  transition: var(--transition);
  border-radius: 2px;
}
.feature-link:hover {
  color: var(--teal-600) !important;
}
.feature-link:hover i {
  transform: translateX(6px);
}
.feature-link:hover::after {
  width: 100%;
  background: var(--teal-600);
}

/* ════════ CARD SUNFISH ════════ */
.card-sunfish {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden; transition: var(--transition);
  box-shadow: var(--shadow-sm); background: var(--surface-card);
}
.card-sunfish .card-body { 
  padding: 1.8rem; 
}
.card-sunfish .card-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.2px;
}
.feature-link:hover {
  transform: scale(1.02);
}

/* Unified gradient headers for cards */
.card-gradient-header {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 2.5rem;
}
.gradient-ocean   { background: linear-gradient(135deg, var(--navy-700), var(--teal-500)); }
.gradient-teal    { background: linear-gradient(135deg, var(--teal-600), var(--teal-300)); }
.gradient-deep    { background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); }
.gradient-reef    { background: linear-gradient(135deg, #0e4d64, var(--teal-400)); }
.gradient-lagoon  { background: linear-gradient(135deg, #0d5c6e, #4dd0e1); }
.gradient-shore   { background: linear-gradient(135deg, #1a5276, #5dade2); }
.gradient-kelp    { background: linear-gradient(135deg, #0e6655, #48c9b0); }
.gradient-wave    { background: linear-gradient(135deg, var(--navy-500), var(--teal-300)); }
.gradient-sand    { background: linear-gradient(135deg, #5d6d7e, #aeb6bf); }
.gradient-coral   { background: linear-gradient(135deg, #784b3e, #c0917a); }
.gradient-pearl   { background: linear-gradient(135deg, #2c5f7c, #85c1e9); }

/* ════════ PRODUCT CARDS ════════ */
.product-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden; transition: var(--transition);
  box-shadow: var(--shadow-sm); background: var(--surface-card);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card .product-img {
  position: relative; height: 200px; overflow: hidden;
}
.product-card .product-img img,
.product-card .product-img > div {
  width: 100%; height: 100%; object-fit: cover;
  transition: var(--transition-slow);
}
.product-card:hover .product-img img,
.product-card:hover .product-img > div { transform: scale(1.05); }
.product-badge-float { position: absolute; top: 12px; left: 12px; z-index: 2; }
.product-price {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.15rem; color: var(--teal-500);
}

/* ════════ TIMELINE ════════ */
.timeline { position: relative; padding-left: 36px; }
.timeline::before {
  content: ''; position: absolute; left: 14px; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--teal-400), var(--teal-600));
  border-radius: 2px;
}
.timeline-item {
  position: relative; margin-bottom: 32px; padding: 24px;
  background: var(--surface-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.timeline-item:hover { box-shadow: var(--shadow-md); transform: translateX(6px); }
.timeline-item::before {
  content: ''; position: absolute; left: -30px; top: 28px;
  width: 13px; height: 13px;
  background: var(--teal-400); border-radius: 50%;
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 3px var(--teal-400);
}
.timeline-date {
  font-size: 0.8rem; color: var(--teal-500);
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 6px;
}

/* ════════ STEP CARDS ════════ */
.step-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--surface-card); padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 16px; transition: var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateX(6px); }
.step-number {
  flex-shrink: 0; width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800;
  font-size: 1.2rem; color: #fff;
}

/* ════════ ACCORDION ════════ */
.accordion-sunfish .accordion-button {
  font-family: var(--font-heading); font-weight: 600;
  color: var(--text-primary); background: var(--surface-card);
  box-shadow: none;
}
.accordion-sunfish .accordion-button:not(.collapsed) {
  background: var(--surface); color: var(--teal-500);
}
.accordion-sunfish .accordion-button:focus {
  box-shadow: none; border-color: rgba(0,180,216,0.3);
}
.accordion-sunfish .accordion-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius) !important;
  margin-bottom: 10px; overflow: hidden;
}

/* ════════ TABLE ════════ */
/* Keep Bootstrap's per-cell bg transparent so the dark thead gradient shows through */
.table-sunfish { --bs-table-bg: transparent; }
.table-sunfish thead {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
}
.table-sunfish thead th {
  color: #fff; font-family: var(--font-heading);
  font-weight: 600; font-size: 0.88rem;
  letter-spacing: 0.3px; border: none; padding: 14px 16px;
}
.table-sunfish tbody td {
  padding: 12px 16px; font-size: 0.92rem;
  vertical-align: middle; color: var(--text-secondary);
}
.table-sunfish tbody td strong { color: var(--text-primary); }
.price-up   { color: var(--status-up) !important; font-weight: 600; }
.price-down { color: var(--status-down) !important; font-weight: 600; }
.price-stable { color: var(--status-stable) !important; font-weight: 600; }

/* ════════ WEATHER ════════ */
.weather-main-card {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius); padding: 40px;
  color: #fff; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.weather-main-card h4 {
  color: #fff !important;
  font-weight: 700;
}
.weather-main-card .weather-temp {
  font-size: 4.5rem; font-family: var(--font-heading);
  font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #fff, var(--teal-100));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.weather-main-card i {
  text-shadow: 0 0 15px rgba(144,224,239,0.4);
}
.weather-detail-card {
  background: var(--surface-card);
  border-radius: var(--radius); padding: 22px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border-light);
}
.weather-detail-card i { font-size: 1.5rem; color: var(--teal-400); margin-bottom: 10px; }

/* ════════ INFO BOX ════════ */
.info-box {
  background: linear-gradient(135deg, rgba(0,180,216,0.04), rgba(0,121,107,0.04));
  border: 1px solid rgba(0,180,216,0.12);
  border-left: 4px solid var(--teal-400);
  border-radius: var(--radius-sm); padding: 22px;
}
.info-box h5, .info-box h6 { color: var(--teal-500); }
.info-box-danger {
  border-left-color: var(--status-danger);
  background: linear-gradient(135deg, rgba(224,82,82,0.04), rgba(224,82,82,0.02));
}
.info-box-danger h5 { color: var(--status-danger) !important; }

/* ════════ CTA SECTION ════════ */
.cta-section {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(0,180,216,0.18) 0%, transparent 70%);
}
.cta-section .btn-accent {
  padding: 14px 40px;
  font-size: 1rem;
  box-shadow: 0 10px 25px rgba(0,180,216,0.3);
}
.cta-section .btn-accent:hover {
  box-shadow: 0 15px 35px rgba(0,180,216,0.45);
}

/* ════════ FOOTER ════════ */
.footer-sunfish {
  background: var(--navy-900);
  color: rgba(255,255,255,0.55);
}
.footer-sunfish h5 {
  color: #fff; font-family: var(--font-heading);
  font-weight: 700; font-size: 1.05rem;
}
.footer-sunfish a { color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-sunfish a:hover { color: var(--teal-300); padding-left: 4px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); transition: var(--transition);
}
.footer-social a:hover {
  background: var(--teal-400); color: #fff;
  transform: translateY(-2px); padding-left: 0;
}

/* ════════ FILTER BUTTONS ════════ */
.filter-btn {
  padding: 9px 22px; border-radius: 50px;
  border: 1px solid var(--border-light);
  background: var(--surface-card); cursor: pointer;
  font-family: var(--font-body); font-weight: 500;
  font-size: 0.88rem; color: var(--text-secondary);
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 15px rgba(0,180,216,0.25);
}

/* ════════ DETAIL PAGES ════════ */
.detail-sidebar { position: sticky; top: 100px; }
.spec-table td, .spec-table th { padding: 12px 16px; }
.spec-table th {
  background: var(--surface); font-weight: 600; width: 35%;
  color: var(--text-primary); font-size: 0.88rem;
}
.spec-table td { color: var(--text-secondary); font-size: 0.9rem; }
.related-card { transition: var(--transition); }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md) !important; }

/* Publication detail */
.publication-hero {
  padding-bottom: 64px;
}
.publication-hero.page-hero.has-bg-img::after {
  background: linear-gradient(180deg,
    rgba(6,14,26,0.76) 0%,
    rgba(10,22,40,0.84) 58%,
    rgba(10,22,40,0.96) 100%);
}
.publication-hero .badge-accent {
  background: rgba(255,255,255,0.1);
  color: var(--teal-100);
  border-color: rgba(255,255,255,0.18);
}
.publication-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.publication-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 50px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.86);
  font-size: 0.88rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}
.publication-meta-chip i {
  color: var(--teal-200);
}
.publication-hero-excerpt {
  max-width: 760px;
  line-height: 1.75;
}
.publication-detail-section {
  position: relative;
}
.publication-cover {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(0,180,216,0.14);
  box-shadow: var(--shadow-lg);
  margin-bottom: 24px;
  background: var(--surface-card);
}
.publication-cover img {
  width: 100%;
  height: min(430px, 56vw);
  min-height: 280px;
  object-fit: cover;
  display: block;
}
.publication-cover-fallback {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-700), var(--teal-500));
  color: rgba(255,255,255,0.72);
  font-size: 4rem;
}
.publication-content-card {
  position: relative;
  overflow: hidden;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 0;
}
.publication-content-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-400), var(--teal-600), var(--navy-500));
}
.publication-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border-light);
  background: rgba(244,248,251,0.72);
}
.publication-content-body {
  padding: 28px;
}
.publication-summary-box {
  margin-bottom: 28px;
  padding: 24px;
  border-left: 4px solid var(--teal-400);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0,180,216,0.04), rgba(0,121,107,0.04));
}
.publication-lead {
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.8;
}
.publication-content {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.85;
}
.publication-content > *:last-child {
  margin-bottom: 0;
}
.publication-content h2,
.publication-content h3,
.publication-content h4 {
  margin-top: 1.8em;
  margin-bottom: 0.75em;
  color: var(--navy-700);
}
.publication-content p,
.publication-content ul,
.publication-content ol {
  margin-bottom: 1.15rem;
}
.publication-content a {
  color: var(--teal-500);
  font-weight: 600;
}
.publication-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.publication-content blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--teal-400);
  background: linear-gradient(135deg, rgba(0,180,216,0.06), rgba(0,121,107,0.04));
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}
.publication-content table {
  width: 100%;
  margin: 24px 0;
  border-color: var(--border-light);
}
.publication-content table th,
.publication-content table td {
  padding: 12px 14px;
  border: 1px solid var(--border-light);
}
.publication-content table th {
  background: var(--surface);
  color: var(--text-primary);
}
.publication-sidebar-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-bottom: 18px;
}
.publication-sidebar-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.publication-sidebar-icon,
.publication-meta-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,180,216,0.12), rgba(0,121,107,0.1));
  color: var(--teal-500);
}
.publication-sidebar-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 1.05rem;
}
.publication-sidebar-eyebrow {
  display: block;
  margin-bottom: 2px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}
.publication-meta-list {
  display: grid;
  gap: 14px;
}
.publication-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.publication-meta-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.publication-meta-item span:not(.publication-meta-icon) {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}
.publication-meta-item strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-top: 2px;
}
.publication-related-section {
  border-top: 1px solid var(--border-light);
}
.related-publication-card .card-img-top,
.related-publication-card .card-gradient-header {
  height: 168px;
  object-fit: cover;
}
.related-publication-card h6 {
  color: var(--text-primary);
  line-height: 1.45;
}

/* ════════ UTILITY COLORS ════════ */
.text-teal { color: var(--teal-400) !important; }
.text-ocean { color: var(--teal-500) !important; }
.text-navy { color: var(--navy-700) !important; }
.text-up { color: var(--status-up) !important; }
.text-down { color: var(--status-down) !important; }
.text-warn { color: var(--status-warn) !important; }
.bg-teal-subtle { background: rgba(0,180,216,0.08) !important; }
.icon-accent { color: var(--teal-400); }

/* Star rating */
.stars { color: var(--status-warn); }

/* Breadcrumb on dark */
.breadcrumb-item a { color: var(--teal-300) !important; }
.breadcrumb-item.active, .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.4) !important;
}

/* Nav pills override */
.nav-pills .nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  border: 1px solid var(--border-light);
}
.nav-pills .nav-link.active {
  background: linear-gradient(135deg, var(--teal-400), var(--teal-600)) !important;
  border-color: transparent;
  color: #fff !important;
}

/* ════════ ANIMATIONS ════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll {
  opacity: 0; transform: translateY(25px);
  transition: var(--transition-slow);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ════════ SMOOTH SCROLL ════════ */
html { scroll-behavior: smooth; }

/* ════════ BACK TO TOP ════════ */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
  color: #fff; border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,180,216,0.35);
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 1050;
}
.back-to-top.visible {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,180,216,0.5);
}

/* ════════ PAGE LOADING ════════ */
.page-loader {
  position: fixed; inset: 0;
  background: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s, visibility 0.6s;
}
.page-loader.loaded {
  opacity: 0; visibility: hidden;
  pointer-events: none;
}
.loader-fish {
  width: 60px; height: 60px;
  color: var(--teal-300);
  animation: loaderSpin 1.2s ease-in-out infinite;
}
@keyframes loaderSpin {
  0% { transform: rotateY(0deg) scale(1); opacity: 1; }
  50% { transform: rotateY(180deg) scale(0.8); opacity: 0.5; }
  100% { transform: rotateY(360deg) scale(1); opacity: 1; }
}

/* ════════ FLOATING PARTICLES ════════ */
.particles-container {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none; z-index: 1;
}
.particle {
  position: absolute;
  width: 4px; height: 4px;
  background: rgba(144,224,239,0.3);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}
.particle:nth-child(odd) {
  background: rgba(72,202,228,0.2);
  width: 6px; height: 6px;
}
.particle:nth-child(3n) {
  background: rgba(0,180,216,0.15);
  width: 3px; height: 3px;
}
@keyframes particleFloat {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) translateX(50px); opacity: 0; }
}

/* ════════ GLOWING BORDER HOVER ════════ */
.card-sunfish:hover,
.product-card:hover,
.feature-card:hover {
  border-color: rgba(0,180,216,0.25);
}

.stat-card:hover {
  border-color: rgba(0,180,216,0.2);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(0,180,216,0.06);
}

/* ════════ GRADIENT TEXT HELPER ════════ */
.gradient-text {
  background: linear-gradient(135deg, var(--teal-300), var(--teal-200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ════════ COUNTER ANIMATION ════════ */
.counter-value {
  font-family: var(--font-heading);
  font-weight: 800;
  display: inline-block;
  transition: var(--transition);
}

/* ════════ SECTION DIVIDER ════════ */
.section-divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--teal-400), var(--teal-600));
  border-radius: 2px;
  margin: 0 auto 20px;
}

/* ════════ PULSE DOT ════════ */
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--status-up);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  margin-right: 6px;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,184,148,0.4); }
  50% { box-shadow: 0 0 0 10px rgba(0,184,148,0); }
}

/* ════════ SHIMMER EFFECT ════════ */
.shimmer {
  position: relative; overflow: hidden;
}
.shimmer::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.03) 50%,
    transparent 100%
  );
  animation: shimmerMove 3s ease-in-out infinite;
}
@keyframes shimmerMove {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ════════ IMAGE OVERLAY EFFECT ════════ */
.img-hover-zoom {
  overflow: hidden; border-radius: var(--radius);
}
.img-hover-zoom img {
  transition: var(--transition-slow);
}
.img-hover-zoom:hover img {
  transform: scale(1.08);
}

/* ════════ NOTIFICATION BANNER ════════ */
.notification-banner {
  background: linear-gradient(90deg, var(--teal-600), var(--teal-400));
  color: #fff; text-align: center;
  padding: 10px 20px; font-size: 0.85rem;
  font-weight: 500; position: relative; z-index: 1041;
}
.notification-banner a {
  color: #fff; text-decoration: underline;
  font-weight: 700;
}

/* ════════ ENHANCED BREADCRUMB ════════ */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.7rem;
}

/* ════════ CARD HOVER GLOW ════════ */
.feature-card:hover .feature-icon {
  box-shadow: 0 0 25px rgba(0,180,216,0.3);
}

/* ════════ TOOLTIP STYLE ════════ */
.tooltip-inner {
  background: var(--navy-800);
  font-family: var(--font-body);
  font-size: 0.82rem;
  border-radius: 8px;
  padding: 8px 14px;
}

/* ════════ SELECTION ════════ */
::selection {
  background: rgba(0,180,216,0.2);
  color: var(--text-primary);
}

/* ════════ SCROLLBAR ════════ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--teal-400), var(--teal-600));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--teal-500); }

/* ════════ ADDITIONAL ANIMATIONS ════════ */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-left { animation: fadeInLeft 0.8s ease-out both; }
.animate-right { animation: fadeInRight 0.8s ease-out both; }
.animate-scale { animation: scaleIn 0.6s ease-out both; }

/* ════════ RESPONSIVE ════════ */
@media (max-width: 768px) {
  .hero { min-height: 90vh; }
  .page-hero { padding: 120px 0 60px; }
  .publication-hero { padding-bottom: 60px; }
  .publication-hero-meta { justify-content: center; }
  .publication-cover img,
  .publication-cover-fallback { height: 280px; min-height: 220px; }
  .publication-content-header,
  .publication-content-body { padding: 22px; }
  .publication-summary-box { padding: 20px; }
  .publication-sidebar-card { padding: 20px; }
  .weather-main-card { text-align: center; }
  .weather-temp { font-size: 3.5rem; }
  .step-card { flex-direction: column; }
  .detail-sidebar { position: static; }
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
  .notification-banner { font-size: 0.78rem; padding: 8px 12px; }
}

@media (max-width: 576px) {
  .hero .display-4 { font-size: 2rem; }
  .page-hero h1 { font-size: 1.8rem; }
  .publication-meta-chip { width: 100%; justify-content: center; }
  .publication-lead { font-size: 1rem; }
  .related-publication-card .card-img-top,
  .related-publication-card .card-gradient-header { height: 150px; }
  .stat-card { padding: 20px 14px; }
  .stat-card h3 { font-size: 1.3rem; }
  .feature-card { padding: 24px 18px; }
  .filter-btn { padding: 7px 16px; font-size: 0.82rem; }
}

/* ══════════════════════════════════════════════════════════════════
   LAPISAN PESISIR — menimpa bagian di atas yang tidak cukup diatur
   lewat token :root saja (bentuk, gradasi, huruf angka).
   ══════════════════════════════════════════════════════════════════ */
/* ════════ DASAR ════════ */
body {
  font-family: var(--font-body);
  font-variation-settings: 'wdth' 100;
  background: var(--pasir);
  color: var(--tinta);
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: var(--font-heading);
  /* Lebar melar: rasa papan nama pelabuhan, bukan judul aplikasi */
  font-variation-settings: 'wdth' 118;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--tinta);
}

.display-4, .display-5, .display-6 { font-weight: 800; }

/* Angka selalu monospace dan sejajar — ini portal harga & timbangan.
   Daftar kedua berisi kelas angka milik masing-masing halaman. */
.counter-value,
.product-price,
.weather-main-card .weather-temp,
.price-up, .price-down, .price-stable,
.table-sunfish tbody td,
.spec-table td,
.home-price-value, .home-price-stat strong, .home-tpi-number,
.tpi-number, .kpi-value, .avg-price-display, .seed-price,
.summary-count, .minmax-price, .weather-temp-big,
.fc-temp, .wm-value, .ws-value,
.detect-count, .cctv-group-count, .stream-group-count {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

/* ════════ NAVBAR ════════ */
.navbar-sunfish.scrolled {
  background: var(--laut-dalam) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}
.navbar-sunfish .navbar-brand {
  font-variation-settings: 'wdth' 120;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.navbar-sunfish .navbar-brand .logo-icon {
  background: var(--senja);
  border-radius: 2px;
}
.navbar-sunfish .navbar-brand em { color: var(--senja-muda); }
/* Tanda menu aktif berupa garis ukur di bawah teks — sebahasa dengan
   penggaris pasang surut, bukan kapsul latar. */
.navbar-sunfish .nav-link {
  position: relative;
  border-radius: 0;
  margin: 0 12px;
  padding: 10px 0 !important;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: none !important;
  box-shadow: none;
}
.navbar-sunfish .nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--senja);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s cubic-bezier(0.2, 0, 0.15, 1);
}
.navbar-sunfish .nav-link:hover::before,
.navbar-sunfish .nav-link.active::before { transform: scaleX(1); }
.navbar-sunfish .nav-link.active { color: #fff !important; }
.navbar-sunfish .dropdown-toggle::after {
  margin-left: 7px;
  vertical-align: 1px;
  border-width: 4px 4px 0;
  opacity: 0.55;
}

.navbar-sunfish .dropdown-menu {
  margin-top: 12px;
  min-width: 232px;
  padding: 6px;
  background: var(--laut-dalam);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 2px solid var(--senja);
  border-radius: 0;
  box-shadow: 0 14px 34px rgba(4, 49, 58, 0.38);
}
.navbar-sunfish .dropdown-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  transition: var(--transition);
}
.navbar-sunfish .dropdown-item i {
  width: 15px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--senja-muda);
}
.navbar-sunfish .dropdown-item:hover,
.navbar-sunfish .dropdown-item:focus {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.navbar-sunfish .dropdown-item.active {
  background: var(--senja);
  color: #fff;
}
.navbar-sunfish .dropdown-item.active i { color: #fff; }

/* Di layar kecil grup dibuka satu per satu (bawaan Bootstrap). Daftar
   yang dibuka semua pernah membuat menu lebih tinggi dari layar, dan
   karena navbar fixed-top, item paling bawah tidak bisa disentuh. */
@media (max-width: 991.98px) {
  .navbar-sunfish .navbar-collapse {
    /* Pagar wajib: setinggi apa pun isinya, menu tetap bisa digulir. */
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    margin-top: 12px;
    padding: 10px 0 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
  .navbar-sunfish .nav-link {
    margin: 0;
    padding: 12px 4px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .navbar-sunfish .nav-link::before { display: none; }
  .navbar-sunfish .nav-link.active { color: var(--senja-muda) !important; }
  .navbar-sunfish .dropdown-toggle::after {
    float: right;
    margin-top: 8px;
    opacity: 0.7;
    transition: transform 0.22s;
  }
  .navbar-sunfish .dropdown-toggle[aria-expanded="true"] {
    color: #fff !important;
  }
  .navbar-sunfish .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
  }
  .navbar-sunfish .dropdown-menu {
    margin: 0;
    padding: 4px 0 8px 12px;
    background: rgba(0, 0, 0, 0.16);
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }
  .navbar-sunfish .dropdown-item { padding: 11px 8px; }
}

/* ════════ HERO ════════ */
.hero { background: var(--laut-dalam); }
.hero-overlay {
  background: linear-gradient(180deg,
    rgba(6, 65, 76, 0.55) 0%,
    rgba(6, 65, 76, 0.82) 55%,
    rgba(4, 49, 58, 0.96) 100%);
}
.highlight,
.gradient-text {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--senja);
}

.page-hero { background: var(--laut-dalam); }
.page-hero::before {
  /* Petak tambak dari udara: garis pematang tipis, bukan bola cahaya */
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 88px);
  opacity: 0.9;
}
.page-hero.has-bg-img::after { background: rgba(6, 65, 76, 0.9); }

/* ════════ PENGGARIS PASANG SURUT (pengganti ombak) ════════ */
.wave-divider {
  position: relative;
  height: 34px;
  margin-top: 0;
  background: var(--pasir);
}
.wave-divider svg { display: none; }
.wave-divider::before {
  /* Deret garis ukur: tick pendek tiap 14px, tick panjang tiap 70px. */
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 13px;
  background-image:
    repeating-linear-gradient(90deg, var(--garis-tebal) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(90deg, var(--laut) 0 1px, transparent 1px 70px);
  background-size: 100% 7px, 100% 13px;
  background-repeat: repeat-x;
}
.wave-divider::after {
  content: '';
  position: absolute;
  inset: 11px 0 auto;
  height: 2px;
  background: var(--laut);
}

/* ════════ LENCANA ════════ */
.badge-accent,
.badge-ocean, .badge-sea, .badge-wave,
.badge-coral, .badge-sand, .badge-kelp {
  border-radius: 2px;
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: none;
  border-left: 3px solid currentColor;
}
.badge-accent { background: var(--senja-muda); color: var(--senja-tua); }
.badge-ocean  { background: #dceded; color: var(--laut); }
.badge-sea    { background: #d6e9e6; color: #0a6156; }
.badge-wave   { background: #dae8ee; color: #145f77; }
.badge-coral  { background: #f6ddd2; color: var(--status-down); }
.badge-sand   { background: #f4e6cd; color: var(--status-warn); }
.badge-kelp   { background: #d8ebe1; color: var(--status-up); }

/* ════════ TOMBOL ════════ */
.btn-accent {
  background: var(--senja);
  border-radius: 2px;
  box-shadow: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 12px 26px;
}
.btn-accent:hover {
  background: var(--senja-tua);
  transform: none;
  box-shadow: none;
}
.btn-accent-outline,
.btn-ocean-outline { border-radius: 2px; font-weight: 700; }
.btn-accent-outline {
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-ocean-outline {
  border-width: 1px;
  border-color: var(--laut);
  color: var(--laut);
}
.btn-ocean-outline:hover {
  background: var(--laut);
  box-shadow: none;
}
.cta-section .btn-accent,
.cta-section .btn-accent:hover { box-shadow: none; }

/* ════════ KARTU ════════ */
.card-sunfish,
.product-card,
.feature-card,
.stat-card,
.timeline-item,
.step-card,
.weather-detail-card,
.publication-content-card,
.publication-sidebar-card {
  border: 1px solid var(--garis);
  box-shadow: none;
}
.card-sunfish:hover,
.product-card:hover,
.feature-card:hover,
.stat-card:hover {
  border-color: var(--laut);
  box-shadow: none;
  transform: none;
}
.stat-card:hover { box-shadow: none; }
.timeline-item:hover,
.step-card:hover {
  border-color: var(--laut);
  box-shadow: none;
  transform: none;
}

.stat-card .stat-icon,
.feature-card .feature-icon {
  background: var(--pasir-tua);
  border-radius: 2px;
  color: var(--laut);
}
.feature-card:hover .feature-icon {
  background: var(--laut);
  color: #fff;
  transform: none;
  box-shadow: none;
}
.feature-card::before { background: var(--senja); }

.feature-link {
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--laut) !important;
}
.feature-link::after { background: var(--senja); border-radius: 0; }
.feature-link:hover { color: var(--senja-tua) !important; transform: none; }
.feature-link:hover::after { background: var(--senja); }

.step-number {
  background: var(--laut-dalam);
  border-radius: 2px;
  font-family: var(--font-data);
  font-weight: 600;
}
.timeline::before { background: var(--garis-tebal); }
.timeline-item::before {
  background: var(--senja);
  border-radius: 0;
  border-color: var(--pasir);
  box-shadow: 0 0 0 3px var(--senja);
}
.timeline-date {
  font-family: var(--font-data);
  font-weight: 500;
  color: var(--senja-tua);
}

/* Kepala kartu: bidang datar dua warna, bukan gradasi mengilap */
.card-gradient-header { color: rgba(255, 255, 255, 0.82); }
.gradient-ocean  { background: var(--laut); }
.gradient-teal   { background: var(--laut-muda); }
.gradient-deep   { background: var(--laut-dalam); }
.gradient-reef   { background: #0e6070; }
.gradient-lagoon { background: #14808c; }
.gradient-shore  { background: #2a7f8c; }
.gradient-kelp   { background: #1f7a5c; }
.gradient-wave   { background: #0d7d8f; }
.gradient-sand   { background: #a08a63; }
.gradient-coral  { background: var(--senja-tua); }
.gradient-pearl  { background: #4e93a0; }

.product-price {
  color: var(--tinta);
  font-weight: 600;
  font-size: 1.1rem;
}
.product-badge-float { top: 0; left: 0; }

/* ════════ TABEL — papan lelang ════════ */
.table-sunfish thead { background: var(--laut-dalam); }
.table-sunfish thead th {
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.table-sunfish tbody td {
  border-color: var(--garis);
  color: var(--tinta);
  font-size: 0.88rem;
}
.table-sunfish tbody tr:nth-child(even) td { background: rgba(240, 231, 216, 0.4); }
.spec-table th { background: var(--pasir-tua); }

/* ════════ CUACA ════════ */
.weather-main-card {
  background: var(--laut-dalam);
  box-shadow: none;
}
.weather-main-card .weather-temp {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.weather-main-card i { text-shadow: none; }
.weather-detail-card i { color: var(--laut); }

/* ════════ KOTAK INFO ════════ */
.info-box {
  background: var(--pasir-tua);
  border: 1px solid var(--garis);
  border-left: 3px solid var(--laut);
}
.info-box h5, .info-box h6 { color: var(--laut-dalam); }
.info-box-danger {
  background: #f7e4e0;
  border-left-color: var(--status-danger);
}

/* ════════ CTA & FOOTER ════════ */
.cta-section { background: var(--laut-dalam); }
.cta-section::before { background: none; }

.footer-sunfish {
  background: var(--laut-dalam);
  color: rgba(255, 255, 255, 0.6);
  border-top: 3px solid var(--senja);
}
.footer-sunfish h5 {
  font-variation-settings: 'wdth' 118;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.footer-sunfish a:hover { color: var(--senja-muda); }
.footer-social a { border-radius: 2px; }
.footer-social a:hover {
  background: var(--senja);
  transform: none;
}

/* ════════ FILTER & PILL ════════ */
.filter-btn {
  border-radius: 2px;
  border-color: var(--garis);
  font-family: var(--font-data);
  font-size: 0.8rem;
  color: var(--tinta-muda);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--laut-dalam);
  border-color: var(--laut-dalam);
  box-shadow: none;
}
.nav-pills .nav-link { border-radius: 2px; border-color: var(--garis); }
.nav-pills .nav-link.active {
  background: var(--laut-dalam) !important;
  border-color: var(--laut-dalam);
}

/* ════════ AKSEN KECIL ════════ */
.section-divider {
  width: 56px;
  height: 3px;
  background: var(--senja);
  border-radius: 0;
}
.accordion-sunfish .accordion-item { border-color: var(--garis); }
.accordion-sunfish .accordion-button:not(.collapsed) {
  background: var(--pasir-tua);
  color: var(--laut-dalam);
}
.breadcrumb-item a { color: var(--buih) !important; }
.breadcrumb-item + .breadcrumb-item::before { content: '/'; font-family: var(--font-data); }
.pulse-dot { background: var(--senja); border-radius: 0; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 118, 58, 0.45); }
  50% { box-shadow: 0 0 0 9px rgba(232, 118, 58, 0); }
}
.publication-content-card::before { background: var(--senja); }
.publication-meta-chip {
  border-radius: 2px;
  backdrop-filter: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}
.publication-meta-chip i { color: var(--senja-muda); }
.publication-summary-box,
.publication-content blockquote {
  background: var(--pasir-tua);
  border-left-color: var(--senja);
}
.publication-sidebar-icon,
.publication-meta-icon {
  background: var(--pasir-tua);
  border-radius: 2px;
  color: var(--laut);
}
.publication-meta-item { border-color: var(--garis); background: var(--pasir); }
.publication-content-header { background: var(--pasir-tua); }
.publication-cover { border-color: var(--garis); box-shadow: none; }
.publication-cover-fallback { background: var(--laut); }
.notification-banner { background: var(--senja); }
.img-hover-zoom { border-radius: var(--radius); }

.back-to-top {
  background: var(--laut-dalam);
  border-radius: 2px;
  box-shadow: none;
}
.back-to-top:hover { background: var(--senja); transform: none; box-shadow: none; }

.page-loader { background: var(--laut-dalam); }
.loader-fish { color: var(--buih); }

/* Satu isyarat gerak saja: partikel melayang dihapus. */
.particles-container { display: none; }
.shimmer::after { animation: none; background: none; }

.text-teal, .text-ocean { color: var(--laut) !important; }
.text-navy { color: var(--laut-dalam) !important; }
.bg-teal-subtle { background: var(--pasir-tua) !important; }
.icon-accent { color: var(--senja); }
.stars { color: var(--senja); }
::selection { background: var(--senja-muda); color: var(--tinta); }
::-webkit-scrollbar-track { background: var(--pasir-tua); }
::-webkit-scrollbar-thumb { background: var(--laut); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--laut-dalam); }
.tooltip-inner { background: var(--laut-dalam); border-radius: 2px; }

/* ════════ AKSESIBILITAS ════════ */
a:focus-visible,
button:focus-visible,
.nav-link:focus-visible,
.filter-btn:focus-visible {
  outline: 2px solid var(--senja);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll { opacity: 1; transform: none; transition: none; }
  .loader-fish, .pulse-dot { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

@media (max-width: 576px) {
  h1, h2, .display-4, .display-5, .display-6 { font-variation-settings: 'wdth' 105; }
  .wave-divider { height: 24px; }
}
