/*
Theme Name: AiKapal Maritime
Theme URI: https://aikapal.com
Author: AiKapal Team
Author URI: https://aikapal.com
Description: Corporate theme for AiKapal Maritime Management System — clean white, modern design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aikapal-maritime
Tags: corporate, business, maritime, clean, white, modern
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0B1F3A;
  --navy-mid:   #1A3A5C;
  --blue:       #1B6CA8;
  --blue-light: #2A8FD8;
  --teal:       #00B4C8;
  --white:      #FFFFFF;
  --off-white:  #F7F9FC;
  --gray-100:   #F1F5F9;
  --gray-200:   #E2E8F0;
  --gray-400:   #94A3B8;
  --gray-600:   #475569;
  --gray-800:   #1E293B;
  --text:       #2D3748;
  --text-light: #64748B;
  --accent:     #00B4C8;
  --success:    #10B981;
  --radius:     12px;
  --radius-sm:  8px;
  --shadow:     0 4px 24px rgba(11,31,58,0.08);
  --shadow-md:  0 8px 40px rgba(11,31,58,0.14);
  --transition: all 0.25s ease;
  --font-main:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w:      1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue-light); }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--gray { background: var(--off-white); }
.section--navy { background: var(--navy); color: var(--white); }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 20px;
}

.section--navy .section-title { color: var(--white); }

.section-desc {
  font-size: 17px;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.7;
}

.section--navy .section-desc { color: rgba(255,255,255,0.72); }

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27,108,168,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(27,108,168,0.04);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--gray-100);
  color: var(--navy);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 2px 20px rgba(11,31,58,0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
  flex-wrap: nowrap;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  flex-shrink: 0;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
}
.site-logo:hover { color: var(--navy); }

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--navy);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 22px; height: 22px; fill: var(--white); }

.logo-text span { color: var(--teal); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  flex-shrink: 1;
}

.nav-menu a {
  padding: 8px 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--navy);
  background: var(--gray-100);
}

.has-dropdown { position: relative; }
.has-dropdown > a { display: flex; align-items: center; gap: 4px; }
.dropdown-arrow { width: 14px; height: 14px; transition: transform 0.2s; }
.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  padding-top: 16px;
  z-index: 100;
}
/* Invisible bridge fills the gap so cursor doesn't lose hover */
.has-dropdown::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: -10px;
  right: -10px;
  height: 10px;
}
.has-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  color: var(--gray-600);
}
.dropdown-menu a:hover { background: var(--gray-100); color: var(--navy); }

/* Product link rows in wide dropdown */
.dropdown-product-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px !important;
}
.dropdown-product-link strong { display: block; font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.dropdown-product-link small { display: block; font-size: 11px; color: var(--text-light); line-height: 1.3; }
.dropdown-product-icon-svg {
  width: 30px; height: 30px; min-width: 30px;
  background: var(--gray-100); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.dropdown-product-icon-svg svg { width: 15px; height: 15px; }
.dropdown-product-link:hover .dropdown-product-icon-svg { background: var(--navy); color: #fff; }
.dropdown-section-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-light);
  padding: 8px 12px 4px;
}
.dropdown-divider { height: 1px; background: var(--gray-200); margin: 4px 8px; }
.dropdown-menu--wide { min-width: 260px; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 160px 0 100px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* ── Video Background Hero (activate by adding .hero--video class) ── */
.hero--video {
  background: var(--navy);
  color: #fff;
}
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
}
.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,31,58,0.82) 0%, rgba(11,31,58,0.55) 60%, rgba(0,180,200,0.18) 100%);
  z-index: 1;
}
.hero--video .container { position: relative; z-index: 2; }
.hero--video .hero-title { color: #fff; }
.hero--video .hero-title span { color: var(--teal); }
.hero--video .hero-desc { color: rgba(255,255,255,0.82); }
.hero--video .hero-trust { color: rgba(255,255,255,0.72); }
.hero--video .hero-badge { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.85); }
.hero--video .hero-badge-dot { background: var(--teal); }
.hero--video .btn-outline { border-color: rgba(255,255,255,0.4); color: #fff; }
.hero--video .btn-outline:hover { background: rgba(255,255,255,0.1); }

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,180,200,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(27,108,168,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,180,200,0.08);
  border: 1px solid rgba(0,180,200,0.2);
  color: var(--teal);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* SAM5s Motto — Hero */
.sam5s-motto {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 8px 0 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}
.sam5s-motto span:first-child {
  color: var(--navy);
  font-size: 12px;
}
.sam5s-motto-pillars {
  color: var(--teal);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

/* SAM5s Motto — Product Card */
.sam5s-product-motto {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--teal);
  margin: 4px 0 10px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-title span { color: var(--teal); }

.hero-desc {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-light);
}

.hero-trust-icons {
  display: flex;
  gap: -4px;
}

.hero-trust-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: var(--gray-200);
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  overflow: hidden;
}
.hero-trust-avatar:first-child { margin-left: 0; }

.hero-visual {
  position: relative;
}

.hero-dashboard {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: var(--transition);
}
.hero-dashboard:hover { transform: perspective(1000px) rotateY(-2deg) rotateX(1deg); }

.dashboard-header {
  background: var(--navy);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-dots { display: flex; gap: 6px; }
.dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dash-dot:nth-child(1) { background: #FF5F57; }
.dash-dot:nth-child(2) { background: #FEBC2E; }
.dash-dot:nth-child(3) { background: #28C840; }

.dash-title { color: rgba(255,255,255,0.7); font-size: 12px; font-weight: 500; }

.dashboard-body { padding: 20px; background: var(--off-white); }

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.dash-stat {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.dash-stat-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.dash-stat-label {
  font-size: 10px;
  color: var(--text-light);
  font-weight: 500;
}

.dash-stat-trend {
  font-size: 10px;
  color: var(--success);
  font-weight: 600;
  margin-top: 2px;
}

.dash-chart {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  margin-bottom: 12px;
}

.dash-chart-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}

.dash-bar {
  flex: 1;
  background: var(--gray-200);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.dash-bar-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, var(--blue), var(--teal));
  border-radius: 3px;
  animation: barGrow 1s ease forwards;
}

@keyframes barGrow {
  from { height: 0; }
  to { height: var(--h); }
}

.dash-vessels {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-vessel-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.vessel-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.vessel-status-dot.active { background: var(--success); }
.vessel-status-dot.idle   { background: #F59E0B; }

.vessel-name { font-size: 11px; font-weight: 600; color: var(--navy); flex: 1; }
.vessel-badge {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
}
.vessel-badge.active { background: rgba(16,185,129,0.1); color: var(--success); }
.vessel-badge.idle   { background: rgba(245,158,11,0.1); color: #F59E0B; }

.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-card-1 {
  bottom: 16px;
  left: -40px;
  animation-delay: 0s;
}
.float-card-2 {
  top: 20px;
  right: -40px;
  animation-delay: 2s;
}

.float-card-icon {
  width: 36px;
  height: 36px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.float-card-icon svg { width: 18px; height: 18px; fill: var(--white); }

.float-card-num { font-size: 20px; font-weight: 800; color: var(--navy); }
.float-card-label { font-size: 11px; color: var(--text-light); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--navy);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 24px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num span { color: var(--teal); }

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.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: 16px;
  padding: 32px 28px;
  transition: var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-200);
  transform: translateY(-4px);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.feature-icon.navy { background: rgba(11,31,58,0.06); }
.feature-icon.blue { background: rgba(27,108,168,0.1); }
.feature-icon.teal { background: rgba(0,180,200,0.1); }
.feature-icon.green { background: rgba(16,185,129,0.1); }
.feature-icon.orange { background: rgba(245,158,11,0.1); }
.feature-icon.purple { background: rgba(139,92,246,0.1); }

/* SVG icon variant */
.feature-icon-svg {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.feature-icon-svg svg { width: 26px; height: 26px; }
.feature-icon-svg.navy   { background: rgba(11,31,58,0.06);    color: var(--navy); }
.feature-icon-svg.blue   { background: rgba(27,108,168,0.1);   color: var(--blue); }
.feature-icon-svg.teal   { background: rgba(0,151,167,0.12);   color: #0097A7; }
.feature-icon-svg.green  { background: rgba(16,185,129,0.1);   color: var(--success); }
.feature-icon-svg.orange { background: rgba(245,158,11,0.1);   color: #D97706; }
.feature-icon-svg.purple { background: rgba(139,92,246,0.1);   color: #7C3AED; }
.feature-icon-svg.indigo { background: rgba(99,102,241,0.1);   color: #4F46E5; }

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.feature-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-600);
}

/* ============================================================
   MODULE SHOWCASE
   ============================================================ */
.modules-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
  background: var(--white);
}

.module-tab {
  flex: 1;
  padding: 13px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
  background: none;
  border-right: 1px solid var(--gray-200);
}
.module-tab:last-child { border-right: none; }
.module-tab:hover { background: var(--gray-100); color: var(--navy); }
.module-tab.active { background: var(--navy); color: var(--white); }

.module-panel { display: none; }
.module-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.module-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.module-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.module-item:hover { background: var(--gray-100); }

.module-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(27,108,168,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.module-item-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.module-item-icon svg { width: 20px; height: 20px; }
.module-item-icon.navy   { background: rgba(11,31,58,0.06);    color: var(--navy); }
.module-item-icon.blue   { background: rgba(27,108,168,0.1);   color: var(--blue); }
.module-item-icon.teal   { background: rgba(0,151,167,0.12);   color: #0097A7; }
.module-item-icon.green  { background: rgba(16,185,129,0.1);   color: var(--success); }
.module-item-icon.orange { background: rgba(245,158,11,0.1);   color: #D97706; }
.module-item-icon.purple { background: rgba(139,92,246,0.1);   color: #7C3AED; }

.module-item-title { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.module-item-desc { font-size: 13px; color: var(--text-light); }

/* Module visual (replaces old module-screenshot) */
.module-visual {
  background: var(--navy);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: start;
}

.module-kpi-header {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.module-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.module-kpi {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
}

.module-kpi-val {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.module-kpi-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.module-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.module-badge {
  background: rgba(0,180,200,0.15);
  color: var(--teal);
  border: 1px solid rgba(0,180,200,0.25);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.module-screenshot {
  background: var(--off-white);
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  padding: 24px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(100% / 8);
  right: calc(100% / 8);
  height: 2px;
  background: linear-gradient(90deg, var(--gray-200), var(--teal), var(--gray-200));
  z-index: 0;
}

.step-item {
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 24px;
  position: relative;
}

.step-num.active {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 0 0 8px rgba(11,31,58,0.08);
}

.step-num.outline {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--gray-200);
}

.step-title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.step-desc { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px;
  transition: var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}
.star { color: #F59E0B; font-size: 16px; }

.testimonial-text {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.author-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.author-role { font-size: 12px; color: var(--text-light); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 22px 20px;
  position: relative;
  transition: var(--transition);
}

.pricing-card.popular {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,108,168,0.08);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.pricing-desc {
  font-size: 12.5px;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.5;
}

.pricing-price {
  margin-bottom: 14px;
}

.pricing-price .amount {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.pricing-price .currency {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  vertical-align: top;
  margin-top: 6px;
  display: inline-block;
}

.pricing-price .period {
  font-size: 12px;
  color: var(--text-light);
  display: block;
  margin-top: 3px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--gray-600);
}

.pricing-feature .check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(16,185,129,0.12);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--navy);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,180,200,0.15) 0%, transparent 70%);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(27,108,168,0.2) 0%, transparent 70%);
}

.cta-content { position: relative; z-index: 1; text-align: center; }

.cta-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   CLIENTS / PARTNERS
   ============================================================ */
.clients-strip {
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.clients-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 28px;
}

.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}
.client-logo-item img {
  height: 40px;
  width: auto;
  max-width: 158px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.5;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.client-logo-item img:hover {
  opacity: 0.8;
  filter: grayscale(0.2);
}

/* ============================================================
   COMPLIANCE & STANDARDS SECTION
   ============================================================ */
.cert-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cert-pill {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.cert-pill::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  border-radius: 14px 0 0 14px;
}
.cert-pill.cert-ready::before  { background: var(--success); }
.cert-pill.cert-pending::before { background: #F59E0B; }
.cert-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.cert-pill-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-pill-icon svg { width: 14px; height: 14px; }
.cert-pill.cert-ready  .cert-pill-icon { background: rgba(16,185,129,0.1);  color: var(--success); }
.cert-pill.cert-pending .cert-pill-icon { background: rgba(245,158,11,0.1); color: #D97706; }

.cert-pill-body { flex: 1; min-width: 0; }

.cert-pill-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.cert-pill-full {
  font-size: 10.5px;
  color: var(--text-light);
  margin: 2px 0 5px;
  line-height: 1.3;
}

.cert-pill-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}
.cert-pill-status.ready   { background: rgba(16,185,129,0.1); color: var(--success); }
.cert-pill-status.pending { background: rgba(245,158,11,0.1); color: #D97706; }

.cert-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cert-pill-status.ready .cert-dot   { background: var(--success); }
.cert-pill-status.pending .cert-dot { background: #F59E0B; animation: pulse 2s infinite; }

.compliance-note {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-light);
}
.compliance-note strong { color: var(--navy); }

/* ============================================================
   PRODUCTS HUB SECTION
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

/* Base card */
.product-card {
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

/* Light variant (Fleetenda + Opsora) */
.product-light {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--accent-color, var(--navy));
}
.product-light:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* Dark variant (Fleetenda Cloud — featured) */
.product-dark {
  background: var(--navy);
  border: 1px solid transparent;
  box-shadow: 0 12px 48px rgba(11,31,58,0.28);
  transform: scale(1.025);
}
.product-dark:hover { transform: scale(1.025) translateY(-3px); box-shadow: 0 20px 60px rgba(11,31,58,0.35); }

/* Most Popular badge */
.product-popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 0 0 10px 10px;
}

/* Eyebrow row: small icon + type label */
.product-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.product-pill-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.product-pill-icon svg { width: 13px; height: 13px; }

.product-type-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Top section (grows to push bottom down) */
.product-top { flex: 1; }

/* Product names */
.product-name-light {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.product-name-dark {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

/* Descriptions */
.product-desc-light {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}
.product-desc-dark {
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Feature list */
.product-feat-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.product-feat-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text);
}
.product-feat-list--dark li { color: rgba(255,255,255,0.82); }

.feat-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.9;
}

/* Bottom section */
.product-bottom {
  border-top: 1px solid var(--gray-200);
  padding-top: 20px;
  margin-top: auto;
}
.product-dark .product-bottom { border-color: rgba(255,255,255,0.1); }

/* Price — light */
.product-price-light {
  margin-bottom: 16px;
}
.product-price-main {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.product-price-sub {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  margin-top: 3px;
}

/* Price — dark */
.product-price-dark {
  margin-bottom: 16px;
}
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
  line-height: 1;
}
.product-price-currency {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  align-self: flex-start;
  margin-top: 4px;
}
.product-price-amount {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.product-price-period {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

/* CTA row */
.product-ctas {
  display: flex;
  gap: 8px;
}

/* Small button variant */
.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

/* Dark card button variants */
.btn-outline-white {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.25);
  font-weight: 600;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); color: #fff; }

.btn-teal {
  background: var(--teal);
  color: var(--navy);
  border: none;
  font-weight: 700;
}
.btn-teal:hover { background: #00cfe5; color: var(--navy); }

.products-footnote {
  text-align: center;
  margin-top: 36px;
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.products-footnote-sep { opacity: 0.35; }
.products-footnote strong { color: var(--navy); }

/* ============================================================
   PRODUCT PAGE TEMPLATES
   ============================================================ */
.product-page-hero { padding: 120px 0 80px; }
.hero-navy { background: var(--navy); }
.hero-blue { background: linear-gradient(135deg, #0F4C82 0%, #1B6CA8 100%); }
.hero-teal { background: linear-gradient(135deg, #006B7A 0%, #0097A7 100%); }

.product-page-hero .hero-badge { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.85); }
.product-page-hero .hero-badge-dot { background: var(--teal); }
.product-page-hero .hero-title { color: #fff; }
.product-page-hero .hero-title span { color: var(--teal); }
.product-page-hero .hero-desc { color: rgba(255,255,255,0.75); }
.product-page-hero .btn-outline { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.35); }
.product-page-hero .btn-outline:hover { background: rgba(255,255,255,0.1); }
.product-page-hero .hero-trust { color: rgba(255,255,255,0.65); }
.product-page-hero .hero-trust strong { color: #fff; }
.product-page-hero .hero-trust-avatar { background: rgba(255,255,255,0.15); color: #fff; }

/* Module list grid (product pages) */
.module-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.module-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 16px 18px;
  transition: var(--transition);
}
.module-list-item:hover { box-shadow: var(--shadow); border-color: var(--teal); }
.module-list-item svg { flex-shrink: 0; margin-top: 2px; }
.module-list-title { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.module-list-desc  { font-size: 12px; color: var(--text-light); }

/* ============================================================
   ABOUT / MISSION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-wrap {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-world {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.about-world img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,31,58,0.70), rgba(11,31,58,0.45));
  z-index: 1;
}

.about-stat-cards {
  position: absolute;
  bottom: -20px;
  left: -20px;
  right: -20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.about-stat-num { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.about-stat-label { font-size: 12px; color: var(--text-light); }

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(11,31,58,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.value-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.value-desc { font-size: 14px; color: var(--text-light); line-height: 1.55; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(11,31,58,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}

.contact-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 4px; }
.contact-value { font-size: 15px; font-weight: 600; color: var(--navy); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 40px;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--text);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,108,168,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .site-logo { color: var(--white); margin-bottom: 16px; display: inline-flex; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 24px; }

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  transition: var(--transition);
  text-decoration: none;
}
.social-link:hover {
  background: rgba(255,255,255,0.16);
  color: var(--white);
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}
.footer-bottom-links a:hover { color: var(--white); }

/* ============================================================
   MOBILE NAV
   ============================================================ */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-800);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-nav a:hover { background: var(--gray-100); }

.mobile-nav-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 8px 0;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.badge-navy { background: rgba(11,31,58,0.08); color: var(--navy); }
.badge-teal { background: rgba(0,180,200,0.1); color: var(--teal); }
.badge-blue { background: rgba(27,108,168,0.1); color: var(--blue); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid,
  .features-intro,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .hero-visual { order: -1; }
  .hero-dashboard { transform: none; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(2n) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:last-child { border-bottom: none; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .steps-grid::before { display: none; }
  .module-panel.active { grid-template-columns: 1fr; }

  .products-grid { grid-template-columns: 1fr; gap: 16px; }
  .products-grid .product-dark { transform: scale(1); }
  .cert-row { grid-template-columns: repeat(2, 1fr); }
  .module-list-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav-menu,
  .nav-actions { display: none; }

  .hamburger { display: flex; }

  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border: none; border-bottom: 1px solid rgba(255,255,255,0.08); }

  .hero { padding: 120px 0 64px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  .modules-tabs { flex-wrap: wrap; }
  .module-tab { flex-basis: 50%; }

  .form-row { grid-template-columns: 1fr; }

  .about-stat-cards { position: static; grid-template-columns: 1fr 1fr; margin-top: 24px; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .products-grid { grid-template-columns: 1fr; }
  .products-grid .product-dark { transform: scale(1); }
  .cert-row { grid-template-columns: 1fr; }
  .module-list-grid { grid-template-columns: 1fr; }
  .product-ctas { flex-direction: column; }
  .product-actions .btn { justify-content: center; }
}

/* ============================================================
   PLATFORM SHOWCASE SECTION
   ============================================================ */
.showcase-tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 32px; justify-content: center;
}
.showcase-tab {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 40px;
  border: 1.5px solid var(--gray-200);
  background: var(--white); color: var(--gray-600);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all 0.18s;
}
.showcase-tab:hover { border-color: var(--navy); color: var(--navy); }
.showcase-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.showcase-panel { display: none; }
.showcase-panel.active { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }

.showcase-frame { border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(11,31,58,0.15); }
.showcase-browser { background: #1e1e2e; }
.showcase-browser-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; background: #2a2a3e;
}
.showcase-browser-dots { display: flex; gap: 6px; }
.showcase-browser-dots span { width: 11px; height: 11px; border-radius: 50%; background: #4a4a5e; }
.showcase-browser-dots span:nth-child(1) { background: #ff5f57; }
.showcase-browser-dots span:nth-child(2) { background: #febc2e; }
.showcase-browser-dots span:nth-child(3) { background: #28c840; }
.showcase-browser-url {
  background: #1e1e2e; border-radius: 6px;
  padding: 4px 12px; font-size: 11px; color: #888; flex: 1;
}

.showcase-screen {
  display: flex; height: 380px; overflow: hidden;
  background: #f4f6fa;
}

/* Mock Sidebar */
.mock-sidebar {
  width: 140px; min-width: 140px; background: #0B1F3A;
  display: flex; flex-direction: column; gap: 2px; padding: 16px 8px;
}
.mock-sidebar-logo {
  background: var(--teal); color: #fff; font-weight: 800;
  font-size: 14px; border-radius: 8px; padding: 8px;
  text-align: center; margin-bottom: 12px;
}
.mock-nav-item {
  font-size: 10.5px; color: rgba(255,255,255,0.5);
  padding: 7px 10px; border-radius: 6px; cursor: default;
}
.mock-nav-item.active { background: rgba(255,255,255,0.1); color: #fff; font-weight: 600; }

/* Mock Main Area */
.mock-main { flex: 1; overflow: hidden; display: flex; flex-direction: column; }
.mock-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.mock-page-title { font-size: 13px; font-weight: 700; color: var(--navy); }
.mock-user-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal); color: #fff;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Mock KPI row */
.mock-kpi-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 12px 12px 8px;
}
.mock-kpi-card {
  background: var(--white); border-radius: 8px;
  padding: 10px 10px 8px; border: 1px solid var(--gray-200);
}
.mock-kpi-val { font-size: 16px; font-weight: 800; line-height: 1.2; }
.mock-kpi-val.navy { color: var(--navy); }
.mock-kpi-val.blue { color: var(--blue); }
.mock-kpi-val.teal { color: var(--teal); }
.mock-kpi-val.orange { color: #f59e0b; }
.mock-kpi-lbl { font-size: 9px; color: var(--text-light); margin-top: 2px; }
.mock-kpi-trend { font-size: 9px; margin-top: 2px; }
.mock-kpi-trend.up { color: #10B981; }
.mock-kpi-trend.down { color: #f59e0b; }

/* Mock content row */
.mock-content-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 0 12px 12px; flex: 1;
}
.mock-chart-box, .mock-vessel-list {
  background: var(--white); border-radius: 8px;
  border: 1px solid var(--gray-200); padding: 10px;
}
.mock-chart-title, .mock-vessel-title, .mock-table-title {
  font-size: 9px; font-weight: 700; color: var(--navy); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em;
}

/* Mock bars */
.mock-bars { display: flex; align-items: flex-end; gap: 4px; height: 60px; }
.mock-bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; }
.mock-bar-fill { width: 100%; background: var(--gray-200); border-radius: 3px 3px 0 0; transition: height 0.3s; }
.mock-bar-fill.active { background: var(--teal); }
.mock-bar span { font-size: 7px; color: var(--text-light); }

/* Mock vessel rows */
.mock-vessel-row { display: flex; align-items: center; gap: 6px; padding: 4px 0; font-size: 9.5px; color: var(--text); }
.mock-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.mock-dot.active { background: #10B981; }
.mock-dot.idle { background: #9ca3af; }
.mock-dot.warning { background: #f59e0b; }
.mock-vessel-row span:nth-child(2) { flex: 1; font-size: 9.5px; }

/* Mock badges */
.mock-badge { font-size: 8px; padding: 2px 7px; border-radius: 20px; font-weight: 700; white-space: nowrap; }
.mock-badge.active { background: rgba(16,185,129,0.1); color: #065f46; }
.mock-badge.idle { background: var(--gray-100); color: var(--text-light); }
.mock-badge.warning { background: rgba(245,158,11,0.1); color: #92400e; }

/* Mock table */
.mock-table-box {
  background: var(--white); border-radius: 8px;
  border: 1px solid var(--gray-200); padding: 10px 12px;
  margin: 0 12px 12px;
}
.mock-table-header {
  display: grid; grid-template-columns: 2fr 1.5fr 1fr 1fr 1fr;
  gap: 4px; padding-bottom: 6px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 8px; font-weight: 700; color: var(--text-light); text-transform: uppercase;
}
.mock-table-row {
  display: grid; grid-template-columns: 2fr 1.5fr 1fr 1fr 1fr;
  gap: 4px; padding: 5px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 9px; color: var(--text); align-items: center;
}
.mock-table-row:last-child { border-bottom: none; }

/* Mock AI area */
.mock-ai-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px 12px; flex: 1; }
.mock-ai-alerts { background: var(--white); border-radius: 8px; border: 1px solid var(--gray-200); padding: 10px; overflow: hidden; }
.mock-ai-alert-title { font-size: 9px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.mock-ai-alert { display: flex; gap: 6px; font-size: 9px; color: var(--text); line-height: 1.5; margin-bottom: 6px; }
.mock-alert-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 3px; }
.mock-alert-dot.red { background: #ef4444; }
.mock-alert-dot.amber { background: #f59e0b; }
.mock-alert-dot.green { background: #10B981; }
.mock-ai-chat { background: var(--white); border-radius: 8px; border: 1px solid var(--gray-200); padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.mock-chat-msg { display: flex; gap: 6px; font-size: 9px; line-height: 1.5; }
.mock-chat-msg.bot { align-items: flex-start; }
.mock-chat-msg.user { justify-content: flex-end; }
.mock-chat-msg.user span:last-child { background: var(--navy); color: #fff; padding: 5px 9px; border-radius: 10px 10px 2px 10px; }
.mock-chat-msg.bot span:last-child { background: var(--off-white); color: var(--text); padding: 5px 9px; border-radius: 10px 10px 10px 2px; }
.mock-chat-av { width: 20px; height: 20px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 7px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Showcase caption */
.showcase-caption { padding: 8px 0; }
.showcase-caption h3 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.showcase-caption p { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; }
.showcase-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.showcase-tags span {
  font-size: 12px; font-weight: 600; padding: 5px 12px;
  background: rgba(11,31,58,0.06); color: var(--navy);
  border-radius: 20px; border: 1px solid rgba(11,31,58,0.1);
}

@media (max-width: 1024px) {
  .showcase-panel.active { grid-template-columns: 1fr; }
  .showcase-caption { order: -1; }
  .mock-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .mock-table-header, .mock-table-row { grid-template-columns: 2fr 1fr 1fr; }
  .mock-table-row span:nth-child(4), .mock-table-header span:nth-child(4) { display: none; }
}
@media (max-width: 768px) {
  .showcase-tabs { gap: 4px; }
  .showcase-tab { padding: 8px 12px; font-size: 12px; }
  .showcase-screen { height: 300px; }
  .mock-sidebar { display: none; }
  .mock-content-row { grid-template-columns: 1fr; }
  .mock-ai-wrap { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT FORM CAPTCHA
   ============================================================ */
.captcha-group { background: var(--off-white); border-radius: 10px; padding: 16px 18px; border: 1px solid var(--gray-200); }
.captcha-group label { font-weight: 700; color: var(--navy); margin-bottom: 10px; display: block; }
.captcha-hint { display: block; font-size: 12px; color: var(--text-light); margin-top: 6px; }

/* ============================================================
   LEGAL PAGES (Privacy Policy / ToS / Cookie Policy)
   ============================================================ */
.legal-content { font-size: 15px; line-height: 1.8; color: var(--text); }
.legal-content h2 {
  font-size: 18px; font-weight: 700; color: var(--navy);
  margin: 40px 0 12px; padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-200);
}
.legal-content h3 {
  font-size: 15px; font-weight: 700; color: var(--navy);
  margin: 24px 0 8px;
}
.legal-content p { margin: 0 0 16px; }
.legal-content ul { padding-left: 20px; margin: 0 0 16px; }
.legal-content ul li { margin-bottom: 8px; }
.legal-content a { color: var(--blue); text-decoration: underline; }
.legal-content strong { color: var(--navy); }
.legal-content table th { font-weight: 700; }

/* ============================================================
   AIKAPAL AI SALES CHATBOT
   ============================================================ */
.cb-widget {
  position: fixed;
  bottom: 80px;
  right: 28px;
  z-index: 9999;
  font-family: var(--font);
}

/* Trigger button */
.cb-trigger {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--cb-color, var(--navy));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 28px rgba(0,0,0,0.28);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.cb-trigger:hover { transform: scale(1.08); box-shadow: 0 8px 36px rgba(0,0,0,0.32); }
.cb-trigger-icon svg { width: 24px; height: 24px; stroke: #fff; }

.cb-notify {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 19px;
  height: 19px;
  background: #EF4444;
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  animation: cb-pop 0.4s ease;
}
@keyframes cb-pop { 0% { transform: scale(0); } 80% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* Panel */
.cb-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 390px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 56px rgba(0,0,0,0.2);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0.92) translateY(12px);
  opacity: 0;
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), opacity 0.18s ease;
  pointer-events: none;
}
.cb-panel-visible {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Header */
.cb-head {
  background: var(--cb-color, var(--navy));
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cb-head-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cb-head-avatar svg { width: 32px; height: 32px; }
.cb-head-name { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.2; }
.cb-head-status { font-size: 11px; color: rgba(255,255,255,0.65); display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.cb-dot { width: 6px; height: 6px; background: #4ADE80; border-radius: 50%; display: inline-block; animation: pulse 2s infinite; }
.cb-head-close {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  transition: background 0.15s;
}
.cb-head-close:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* Messages */
.cb-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 240px;
  max-height: 360px;
  scroll-behavior: smooth;
}

.cb-msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.cb-msg-in { opacity: 1; transform: translateY(0); }
.cb-msg:first-child { opacity: 1; transform: translateY(0); }

.cb-bot { flex-direction: row; }
.cb-user { flex-direction: row-reverse; }

.cb-av {
  width: 30px;
  height: 30px;
  min-width: 30px;
  background: var(--cb-color, var(--navy));
  color: #fff;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.03em;
}

.cb-bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.55;
}
.cb-bubble p { margin: 0; }
.cb-bubble p + p { margin-top: 4px; }
.cb-bubble a { color: var(--blue); }
.cb-bot  .cb-bubble { background: var(--off-white); color: var(--text); border-bottom-left-radius: 4px; }
.cb-user .cb-bubble { background: var(--cb-color, var(--navy)); color: #fff; border-bottom-right-radius: 4px; }

/* Typing dots */
.cb-typing-row .cb-bubble {
  display: flex; align-items: center; gap: 4px; padding: 12px 16px;
}
.cb-typing span {
  width: 6px; height: 6px; background: var(--text-light); border-radius: 50%;
  animation: cb-bounce 1.3s infinite;
}
.cb-typing span:nth-child(2) { animation-delay: 0.18s; }
.cb-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes cb-bounce { 0%,60%,100% { transform: translateY(0); opacity:0.5; } 30% { transform: translateY(-7px); opacity:1; } }

/* Suggestion chips */
.cb-chips {
  padding: 8px 14px 6px;
  display: flex;
  overflow-x: auto;
  gap: 6px;
  flex-shrink: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cb-chips::-webkit-scrollbar { display: none; }

.cb-chip {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 12px;
  cursor: pointer;
  color: var(--navy);
  font-weight: 600;
  font-family: var(--font);
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  flex-shrink: 0;
}
.cb-chip:hover { background: var(--cb-color, var(--navy)); color: #fff; border-color: var(--cb-color, var(--navy)); }

/* Input */
.cb-input-row {
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.cb-input {
  flex: 1;
  border: 1.5px solid var(--gray-200);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
  background: var(--off-white);
}
.cb-input:focus { border-color: var(--blue); background: #fff; }
.cb-send {
  width: 38px;
  height: 38px;
  background: var(--cb-color, var(--navy));
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.cb-send:hover { opacity: 0.82; }
.cb-send svg { stroke: #fff; }
.cb-send:disabled { opacity: 0.35; cursor: not-allowed; }

/* Footer */
.cb-footer {
  text-align: center;
  font-size: 10.5px;
  color: var(--text-light);
  padding: 5px 14px 10px;
  flex-shrink: 0;
}
.cb-footer a { color: var(--blue); text-decoration: none; font-weight: 600; }
.cb-footer a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .cb-panel { width: calc(100vw - 32px); right: -4px; }
  .cb-widget { bottom: 16px; right: 16px; }
}

/* ============================================================
   COMPLIANCE — active / supported state
   ============================================================ */
.cert-pill.cert-active { border-color: rgba(16,185,129,0.3); background: rgba(16,185,129,0.04); }
.cert-pill-status.active { color: #065f46; }
.cert-pill.cert-active .cert-dot { background: #10b981; }
.compliance-group-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 14px;
}

/* ============================================================
   ROI CALCULATOR
   ============================================================ */
.roi-section { background: var(--off-white); }
.roi-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.roi-input-group { margin-bottom: 28px; }
.roi-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.roi-slider-row { display: flex; align-items: center; gap: 14px; }
.roi-slider {
  flex: 1;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--blue) 0%, var(--blue) 50%, var(--gray-200) 50%);
  outline: none;
  cursor: pointer;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #fff;
  box-shadow: 0 1px 6px rgba(27,108,168,0.4);
  cursor: pointer;
}
.roi-num-input {
  width: 72px;
  padding: 8px 10px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}
.roi-plan-toggle { display: flex; gap: 10px; }
.roi-plan-btn {
  flex: 1;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.roi-plan-btn small { display: block; font-weight: 400; font-size: 11px; margin-top: 2px; }
.roi-plan-btn.active {
  border-color: var(--blue);
  color: var(--navy);
  background: rgba(27,108,168,0.05);
}
.roi-assumptions {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 18px 20px;
}
.roi-assumption-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.roi-assumption-note { font-weight: 400; color: var(--text-light); }
.roi-assumption-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-light);
  padding: 4px 0;
  border-bottom: 1px solid var(--gray-100);
}
.roi-assumption-row:last-child { border-bottom: none; }
.roi-assumption-row strong { color: var(--navy); }
.roi-results {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(11,31,58,0.07);
}
.roi-card {
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  margin-bottom: 10px;
}
.roi-card--highlight {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-color: transparent;
  margin-bottom: 10px;
}
.roi-card--highlight .roi-card-label { color: rgba(255,255,255,0.75); }
.roi-card--highlight .roi-card-value { color: #fff; }
.roi-card--highlight .roi-card-sub { color: rgba(255,255,255,0.6); }
.roi-card-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); }
.roi-card-value { font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1.2; margin: 2px 0; }
.roi-card-sub { font-size: 11px; color: var(--text-light); }
.roi-breakdown {
  background: var(--off-white);
  border-radius: 10px;
  padding: 16px 18px;
  margin-top: 10px;
}
.roi-breakdown-title { font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.roi-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-light);
  padding: 5px 0;
  border-bottom: 1px solid var(--gray-200);
}
.roi-breakdown-row:last-child { border-bottom: none; }
.roi-breakdown-total { font-weight: 700; color: var(--navy); }
.roi-col-red { color: #dc2626; font-weight: 600; }
.roi-col-blue { color: var(--blue); font-weight: 600; }
.roi-col-green { color: #059669; font-weight: 700; }
/* ROI comparison table */
.roi-compare-table {
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.roi-compare-header, .roi-compare-row {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr;
}
.roi-compare-header {
  background: var(--navy);
  padding: 12px 20px;
}
.roi-compare-header > div:first-child { color: transparent; }
.roi-compare-row {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
  align-items: center;
  font-size: 13px;
}
.roi-compare-row:last-child { border-bottom: none; }
.roi-compare-row:nth-child(even) { background: var(--off-white); }
.roi-compare-item { font-weight: 600; color: var(--navy); font-size: 13px; padding-right: 16px; }
.roi-compare-col { padding: 0 10px; font-size: 13px; line-height: 1.5; }
.roi-compare-col.bad { color: #dc2626; }
.roi-compare-col.good { color: #059669; font-weight: 600; }
.roi-compare-header .roi-compare-col { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0 10px; }
.roi-compare-header .roi-compare-col.bad { color: rgba(255,255,255,0.6); }
.roi-compare-header .roi-compare-col.good { color: rgba(255,255,255,0.9); }
@media (max-width: 900px) {
  .roi-wrapper { grid-template-columns: 1fr; }
  .roi-compare-table { overflow-x: auto; }
  .roi-compare-header, .roi-compare-row { grid-template-columns: 1.5fr 2fr 2fr; min-width: 520px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  max-width: 1080px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  line-height: 1.4;
}
.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--blue);
}
.faq-open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 12px;
  padding-bottom: 4px;
}
.faq-answer p:last-child { margin-bottom: 20px; }
.faq-answer ul { color: var(--text-light); }
@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   BLOG — Archive (listing)
   ============================================================ */
.blog-archive-hero {
  position: relative;
  background: var(--navy);
  padding: 80px 0 72px;
  text-align: center;
  overflow: hidden;
}
.blog-archive-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0,180,200,0.12) 0%, transparent 70%);
}
.blog-archive-hero-bg {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 39px,
    rgba(255,255,255,0.03) 39px, rgba(255,255,255,0.03) 40px
  ),
  repeating-linear-gradient(
    90deg, transparent, transparent 39px,
    rgba(255,255,255,0.03) 39px, rgba(255,255,255,0.03) 40px
  );
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.blog-card:hover {
  box-shadow: 0 12px 40px rgba(11,31,58,0.10);
  transform: translateY(-3px);
}

.blog-card-thumb {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--off-white);
}
.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }
.blog-card-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: linear-gradient(135deg, #e8f1f8 0%, #dceef9 100%);
}

.blog-card-body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-light);
}
.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
}
.blog-card-title a {
  color: inherit;
  text-decoration: none;
}
.blog-card-title a:hover { color: var(--blue); }
.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s ease;
}
.blog-read-more:hover { gap: 8px; }

.blog-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(27,108,168,0.10);
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-pagination {
  margin-top: 48px;
  text-align: center;
}
.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: all 0.2s ease;
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.blog-pagination .prev,
.blog-pagination .next { width: auto; padding: 0 16px; }

.blog-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-light);
}
.blog-empty svg { opacity: 0.3; margin-bottom: 20px; }
.blog-empty h3 { font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.blog-empty p { font-size: 15px; }

/* ============================================================
   BLOG — Archive Cards (enhanced)
   ============================================================ */
.blog-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.28s ease, transform 0.28s ease;
  box-shadow: 0 2px 12px rgba(11,31,58,0.05);
}
.blog-card:hover {
  box-shadow: 0 16px 48px rgba(11,31,58,0.13);
  transform: translateY(-4px);
}
.blog-card-thumb {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg,#e8f1f8,#dceef9);
  position: relative;
}
.blog-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-thumb img { transform: scale(1.05); }
.blog-card-thumb--placeholder {
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.blog-card-body {
  padding: 24px 24px 28px;
  flex: 1; display: flex; flex-direction: column;
}
.blog-card-meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  font-size: 12px; color: var(--text-light);
  flex-wrap: wrap;
}
.blog-card-meta time { color: var(--text-light); }
.blog-card-title {
  font-size: 17px; font-weight: 700;
  color: var(--navy); line-height: 1.4;
  margin-bottom: 10px;
}
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: var(--blue); }
.blog-card-excerpt {
  font-size: 14px; color: var(--text-light);
  line-height: 1.72; flex: 1; margin-bottom: 20px;
}
.blog-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}
.blog-card-author {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-light);
}
.blog-card-author img {
  width: 24px; height: 24px;
  border-radius: 50%; object-fit: cover;
}
.blog-read-more {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600; color: var(--blue);
  text-decoration: none; transition: gap 0.2s ease;
  flex-shrink: 0;
}
.blog-read-more:hover { gap: 8px; color: var(--teal); }

/* ============================================================
   BLOG — Single Post (E-Book Reader)
   ============================================================ */

/* Reading progress bar */
.rp-bar {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--teal) 0%, var(--blue) 100%);
  z-index: 9999; transition: width 0.08s linear;
  pointer-events: none;
}

/* ── Hero ─────────────────────────────────────────────── */
.bp-hero {
  position: relative;
  background: var(--navy);
  min-height: 440px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.bp-hero--has-img { min-height: 540px; }
.bp-hero-img {
  position: absolute; inset: 0;
}
.bp-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 55%;
}
.bp-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11,31,58,0.25) 0%,
    rgba(11,31,58,0.5)  45%,
    rgba(11,31,58,0.9)  100%
  );
}
.bp-hero-content {
  position: relative; z-index: 2;
  padding-top: 56px; padding-bottom: 52px;
  max-width: 860px;
}
.bp-breadcrumb {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: rgba(255,255,255,0.45);
  margin-bottom: 20px; flex-wrap: wrap;
}
.bp-breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.bp-breadcrumb a:hover { color: var(--teal); }
.bp-hero-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
}
.bp-hero-meta .blog-tag { background: rgba(0,180,200,0.2); color: var(--teal); }
.bp-hero-title {
  font-size: clamp(22px, 3.8vw, 42px);
  font-weight: 800; color: #fff;
  line-height: 1.2; letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.bp-hero-author { display: flex; align-items: center; gap: 12px; }
.bp-avatar {
  width: 44px !important; height: 44px !important;
  border-radius: 50%; border: 2px solid rgba(255,255,255,0.25);
  object-fit: cover;
}
.bp-hero-author > div strong {
  display: block; font-size: 14px; font-weight: 600; color: #fff;
}
.bp-hero-author > div span {
  font-size: 12px; color: rgba(255,255,255,0.5);
}

/* ── Page wrapper ─────────────────────────────────────── */
.bp-page { background: #ECEAE6; }

/* ── 3-column grid ────────────────────────────────────── */
.bp-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 52px 24px 96px;
  display: grid;
  grid-template-columns: 56px 1fr 292px;
  grid-template-areas: "share article sidebar";
  column-gap: 36px;
  align-items: start;
}

/* ── Share rail ───────────────────────────────────────── */
.bp-share-rail {
  grid-area: share;
  position: sticky; top: 96px;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  padding-top: 20px;
}
.bp-share-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff; border: 1px solid rgba(11,31,58,0.10);
  color: #566680; text-decoration: none; cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.bp-share-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: scale(1.1); box-shadow: 0 4px 14px rgba(27,108,168,0.3); }
.bp-back-btn:hover { background: var(--navy); border-color: var(--navy); }
.bp-share-divider { width: 1px; height: 18px; background: rgba(11,31,58,0.15); margin: 2px 0; }

/* ── Article white card ───────────────────────────────── */
.bp-article {
  grid-area: article;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
  overflow: hidden;
  min-width: 0;
}

/* ── Entry content — e-book typography ───────────────── */
.bp-entry {
  padding: 52px 60px;
  font-size: 17px; line-height: 1.9;
  color: #2c3c52;
}
.bp-entry p { margin-bottom: 1.55em; }

/* Drop cap on opening paragraph */
.bp-entry > p.blog-lead::first-letter {
  float: left;
  font-size: 4.6em; line-height: 0.82;
  font-weight: 800; color: var(--navy);
  margin: 6px 10px 0 0;
  font-family: Georgia, 'Times New Roman', serif;
}
.blog-lead {
  font-size: 19px !important; line-height: 1.78 !important;
  color: #1a2e44 !important; font-weight: 400;
  margin-bottom: 2.2em !important;
  border-left: none; padding-left: 0;
}

/* Headings */
.bp-entry h2 {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 800; color: var(--navy);
  margin: 2.6em 0 0.8em; line-height: 1.25;
  padding-left: 16px;
  border-left: 4px solid var(--teal);
  letter-spacing: -0.015em;
}
.bp-entry h3 {
  font-size: 18px; font-weight: 700; color: var(--navy);
  margin: 2em 0 0.65em;
}
.bp-entry ul, .bp-entry ol { padding-left: 1.6em; margin-bottom: 1.5em; }
.bp-entry li { margin-bottom: 0.55em; line-height: 1.75; }
.bp-entry ul li::marker { color: var(--teal); }
.bp-entry ol li::marker { color: var(--blue); font-weight: 700; }
.bp-entry a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.bp-entry a:hover { color: var(--teal); }
.bp-entry strong { color: var(--navy); font-weight: 700; }

/* Figure — full bleed out of padding */
.bp-entry .blog-figure { margin: 2em -60px 2.5em; border-radius: 0; }
.bp-entry .blog-figure img { width: 100%; height: auto; display: block; border-radius: 0; }
.bp-entry .blog-figure figcaption {
  font-size: 12px; color: #8a9bb0;
  background: #f9f8f6; padding: 11px 60px;
  border-top: 1px solid #ece9e4; border-radius: 0; border: none;
  border-top: 1px solid #ece9e4;
}

/* Data table */
.bp-entry .blog-data-table {
  margin: 2em 0; overflow-x: auto;
  border-radius: 12px; border: 1px solid #e4e1db;
}
.bp-entry .blog-data-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bp-entry .blog-data-table thead tr { background: var(--navy); }
.bp-entry .blog-data-table thead th {
  color: #fff; font-weight: 600; padding: 13px 18px;
  text-align: left; font-size: 13px;
}
.bp-entry .blog-data-table tbody tr:nth-child(even) { background: #fafaf8; }
.bp-entry .blog-data-table tbody td {
  padding: 12px 18px; color: #2c3c52; border-bottom: 1px solid #e8e5e0;
}
.bp-entry .blog-data-table tbody tr:last-child td { border-bottom: none; }
.bp-entry .table-note {
  font-size: 11px; color: #9aabb8; margin: 0;
  padding: 10px 18px; border-top: 1px solid #e4e1db; background: #fafaf8;
}

/* Video embed — full bleed */
.bp-entry .blog-video-embed {
  margin: 2.2em -60px 2.6em;
  border: none; border-radius: 0; overflow: hidden;
  border-top: 1px solid #e8e5e0; border-bottom: 1px solid #e8e5e0;
}
.bp-entry .blog-video-label {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 60px;
  background: #0B1F3A; color: rgba(255,255,255,0.82);
  font-size: 13px; font-weight: 500;
}
.bp-entry .blog-video-label svg { color: var(--teal); flex-shrink: 0; }
.bp-entry .blog-video-frame { position: relative; aspect-ratio: 16/9; background: #000; }
.bp-entry .blog-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* In-article CTA */
.bp-entry .blog-cta-box {
  background: linear-gradient(135deg, #0B1F3A 0%, #1B3A5C 100%);
  border-radius: 16px; padding: 36px 40px;
  margin: 2.5em 0; border-left: 5px solid var(--teal);
}
.bp-entry .blog-cta-box h3 {
  color: #fff; font-size: 20px; font-weight: 700;
  margin: 0 0 10px; padding: 0; border: none;
}
.bp-entry .blog-cta-box p { color: rgba(255,255,255,0.72); font-size: 15px; margin-bottom: 22px; }
.bp-entry .blog-cta-box .btn { margin-right: 10px; margin-top: 4px; }
.bp-entry .blog-cta-box .btn-outline { border-color: rgba(255,255,255,0.35); color: #fff; }
.bp-entry .blog-cta-box .btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ── Newsletter inline (after content) ───────────────── */
.bp-newsletter-inline {
  margin: 0;
  padding: 44px 60px;
  background: linear-gradient(135deg, #EEF5FD 0%, #E6F0FB 100%);
  border-top: 1px solid #D5E5F5;
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-areas: "icon text" ". form";
  column-gap: 20px; row-gap: 0;
  align-items: start;
}
.bp-nl-icon {
  grid-area: icon;
  width: 48px; height: 48px;
  background: var(--blue); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; margin-top: 2px;
}
.bp-nl-text { grid-area: text; margin-bottom: 18px; }
.bp-nl-text h3 {
  font-size: 18px; font-weight: 800; color: var(--navy);
  margin: 0 0 6px;
}
.bp-nl-text p { font-size: 14px; color: #5a6e84; margin: 0; line-height: 1.6; }
.bp-nl-form { grid-area: form; }
.bp-nl-row {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px;
}
.bp-nl-row input[type=email] {
  flex: 1; min-width: 220px;
  padding: 12px 16px;
  border: 1.5px solid #c2d5e8;
  border-radius: 10px; font-size: 15px;
  color: var(--navy); background: #fff;
  outline: none; transition: border-color 0.2s;
}
.bp-nl-row input[type=email]:focus { border-color: var(--blue); }
.bp-nl-note { font-size: 11px; color: #9aaec0; margin: 0; }
.bp-nl-success { color: #1a7f44; font-weight: 600; font-size: 14px; margin: 0; }
.bp-nl-error { color: #c0392b; font-size: 12px; margin: 6px 0 0; }

/* ── Post footer ──────────────────────────────────────── */
.bp-post-footer { padding: 0 60px 52px; }
.bp-tags {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 28px 0; border-top: 1px solid #ece9e4;
  font-size: 13px;
}
.tags-label { color: #9aabb8; font-weight: 500; }
.blog-tag-link {
  display: inline-block; padding: 5px 14px;
  border-radius: 20px; background: #f4f2ee;
  border: 1px solid #e4e1db; color: var(--navy);
  font-size: 12px; font-weight: 500;
  text-decoration: none; transition: all 0.2s;
}
.blog-tag-link:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.bp-author-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px 28px;
  background: #f9f8f6; border-radius: 14px;
  border: 1px solid #ece9e4;
  margin: 4px 0 28px;
}
.bp-author-card-img {
  width: 60px !important; height: 60px !important;
  border-radius: 50%; flex-shrink: 0;
  border: 2px solid #e4e1db; object-fit: cover;
}
.bp-author-card-info { flex: 1; }
.bp-author-label {
  display: block; font-size: 11px; font-weight: 600;
  color: #9aabb8; text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 3px;
}
.bp-author-card-info strong {
  display: block; font-size: 16px; font-weight: 700;
  color: var(--navy); margin-bottom: 6px;
}
.bp-author-card-info p {
  font-size: 13px; color: #5a6e84;
  line-height: 1.65; margin: 0;
}

/* ── Sidebar ──────────────────────────────────────────── */
.bp-sidebar {
  grid-area: sidebar;
  position: sticky; top: 96px;
  display: flex; flex-direction: column; gap: 18px;
  min-width: 0;
}
.bp-sidebar-widget {
  background: #fff;
  border-radius: 16px; border: 1px solid rgba(11,31,58,0.07);
  padding: 22px; overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.04);
}
.bp-sidebar-widget h4 {
  font-size: 13px; font-weight: 700; color: var(--navy);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid #ece9e4;
}
.bp-sidebar-widget > p {
  font-size: 13px; color: #5a6e84; line-height: 1.65; margin-bottom: 14px;
}
.bp-sidebar-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(27,108,168,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); margin-bottom: 12px;
}

/* Newsletter sidebar widget */
.bp-sidebar-nl {
  background: linear-gradient(160deg, #0B1F3A 0%, #1a3558 100%);
  border: none;
}
.bp-sidebar-nl h4 { color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.1); }
.bp-sidebar-nl-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 800; color: #fff;
  margin-bottom: 8px;
}
.bp-sidebar-nl-header svg { color: var(--teal); }
.bp-sidebar-nl > p { color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.bp-sidebar-nl-form input[type=email] {
  width: 100%; padding: 11px 14px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 9px; color: #fff; font-size: 14px;
  margin-bottom: 10px; outline: none;
  transition: border-color 0.2s;
}
.bp-sidebar-nl-form input[type=email]::placeholder { color: rgba(255,255,255,0.3); }
.bp-sidebar-nl-form input[type=email]:focus { border-color: var(--teal); }
.bp-sidebar-nl .bp-nl-note { color: rgba(255,255,255,0.3); margin-top: 8px; text-align: center; }

/* Related articles list */
.bp-related-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0;
}
.bp-related-list li { border-bottom: 1px solid #f0ede8; }
.bp-related-list li:last-child { border-bottom: none; }
.bp-related-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 0; text-decoration: none;
  transition: opacity 0.2s;
}
.bp-related-item:hover { opacity: 0.8; }
.bp-related-thumb {
  width: 64px; height: 50px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, #e8f1f8, #dceef9);
}
.bp-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bp-related-thumb--placeholder {
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.bp-related-info { flex: 1; min-width: 0; }
.bp-related-title {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--navy); line-height: 1.4;
  margin-bottom: 4px;
  overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.bp-related-item:hover .bp-related-title { color: var(--blue); }
.bp-related-date { font-size: 11px; color: #9aabb8; }
.bp-all-articles-link {
  display: block; margin-top: 14px;
  font-size: 12px; font-weight: 600; color: var(--blue);
  text-decoration: none; text-align: center;
  padding: 8px; background: rgba(27,108,168,0.06);
  border-radius: 8px; transition: background 0.2s;
}
.bp-all-articles-link:hover { background: rgba(27,108,168,0.12); }

/* Products list */
.bp-product-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0;
}
.bp-product-list li { border-bottom: 1px solid #f0ede8; }
.bp-product-list li:last-child { border-bottom: none; }
.bp-product-list a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0; text-decoration: none; transition: opacity 0.2s;
}
.bp-product-list a:hover { opacity: 0.75; }
.bp-product-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.bp-dot--blue  { background: var(--blue); }
.bp-dot--teal  { background: var(--teal); }
.bp-dot--navy  { background: var(--navy); }
.bp-product-list a span:last-child {
  font-size: 13px; color: #2c3c52; line-height: 1.4;
}
.bp-product-list a strong {
  display: block; font-size: 13px; font-weight: 700; color: var(--navy);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1080px) {
  .bp-inner {
    grid-template-columns: 1fr 272px;
    grid-template-areas: "article sidebar";
    column-gap: 28px; padding: 36px 20px 72px;
  }
  .bp-share-rail { display: none; }
}
@media (max-width: 820px) {
  .bp-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "article";
    padding: 0 0 60px;
  }
  .bp-sidebar { display: none; }
  .bp-page { background: #fff; }
  .bp-article { border-radius: 0; box-shadow: none; }
  .bp-entry { padding: 36px 24px; }
  .bp-entry .blog-figure { margin: 2em -24px 2.2em; }
  .bp-entry .blog-figure figcaption { padding: 10px 24px; }
  .bp-entry .blog-video-embed { margin: 2em -24px 2.2em; }
  .bp-entry .blog-video-label { padding: 12px 24px; }
  .bp-newsletter-inline { padding: 36px 24px; grid-template-columns: 40px 1fr; }
  .bp-post-footer { padding: 0 24px 40px; }
  .bp-entry > p.blog-lead::first-letter { font-size: 3.8em; }
}
@media (max-width: 480px) {
  .bp-entry { padding: 28px 18px; font-size: 16px; }
  .bp-entry .blog-figure { margin: 2em -18px 2em; }
  .bp-entry .blog-figure figcaption { padding: 10px 18px; }
  .bp-entry .blog-video-embed { margin: 2em -18px 2em; }
  .bp-entry .blog-video-label { padding: 12px 18px; }
  .bp-newsletter-inline { padding: 28px 18px; }
  .bp-post-footer { padding: 0 18px 32px; }
  .bp-nl-row { flex-direction: column; }
  .bp-nl-row input[type=email] { min-width: 0; }
  .bp-entry .blog-cta-box { padding: 28px 22px; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* (stale single-post rules removed) */
