/* ============================================
   Zhongjin International (HK) R.M.R.I.
   Main Stylesheet — International Agency Style
   ============================================ */

/* --- Design Tokens --- */
:root {
  --navy-900: #0B1D3A;
  --navy-800: #0F2847;
  --navy-700: #143660;
  --navy-600: #1A4A7A;
  --navy-500: #1E5A96;
  --navy-200: #C5D5E8;
  --navy-100: #E8EFF6;
  --navy-50: #F4F7FB;

  --gold-500: #C41E3A;
  --gold-400: #D4353E;
  --gold-300: #E44D42;
  --gold-200: #F0A0A0;
  --gold-100: #F9D6D6;
  --gold-50: #FDF0F0;

  --text-primary: #1A1A2E;
  --text-secondary: #5A6070;
  --text-muted: #8E94A0;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: rgba(255,255,255,0.7);

  --bg-white: #FFFFFF;
  --bg-light: #F8F9FB;
  --bg-gray: #F0F2F5;
  --border: #E2E6ED;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --max-width: 1200px;
  --header-height: 72px;

  --font-sans: 'Inter', 'Noto Sans SC', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Noto Serif SC', 'Georgia', serif;
}

html[lang="zh-CN"] { --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
html[lang="zh-HK"] { --font-sans: 'Inter', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
html[lang="en"] { --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-sans); font-size: 16px; line-height: 1.6; color: var(--text-primary); background: var(--bg-white); }
button, input, textarea, select { font-family: inherit; }
a { color: var(--navy-600); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-500); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; color: var(--navy-900); }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

/* --- Layout Utilities --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-sm { padding: 36px 0; }
  .section-header { margin-bottom: 36px; }
  .section-header .eyebrow { font-size: 12px; letter-spacing: 2px; }
  .section-header p { font-size: 1rem; }
}
.section-dark { background: var(--navy-900); color: var(--text-on-dark); }
.section-dark h2, .section-dark h3 { color: var(--text-on-dark); }
.section-light { background: var(--bg-light); }
.section-gold { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-500); margin-bottom: 12px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 1.1rem; color: var(--text-secondary); max-width: 700px; margin: 0 auto; }
.section-dark .section-header p { color: var(--text-on-dark-muted); }

/* --- Header / Navigation --- */
.site-header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-height); background: rgba(11,29,58,0.95); backdrop-filter: blur(12px); z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.08); transition: background 0.3s; overflow: visible; }
.site-header.scrolled { background: rgba(11,29,58,0.98); box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; overflow: visible; }
.header-logo { display: flex; align-items: center; gap: 10px; color: var(--text-on-dark); text-decoration: none; flex: 0 0 auto; max-width: 280px; min-width: 0; }
.header-logo img { height: 32px; width: auto; flex-shrink: 0; display: block; }
.header-logo .logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--gold-500), var(--gold-300)); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: var(--navy-900); }
.header-logo .logo-text { font-size: 14px; font-weight: 600; line-height: 1.25; min-width: 0; overflow: hidden; }
.header-logo .logo-text > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-logo .logo-text small { display: block; font-size: 10px; font-weight: 400; opacity: 0.6; letter-spacing: 0.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[lang="en"] .header-logo { max-width: min(360px, 46vw); }
html[lang="en"] .header-logo .logo-text > span,
html[lang="en"] .header-logo .logo-text small {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.2;
}

/* Nav */
.header-nav { display: flex; align-items: center; justify-content: flex-end; flex: 1 1 auto; flex-wrap: nowrap; gap: 2px; min-width: 0; height: 100%; }
.header-nav > a,
.header-nav > .nav-dropdown,
.header-nav > .lang-switcher { display: flex; align-items: center; align-self: center; flex-shrink: 0; height: 36px; }
.header-nav a { display: flex; align-items: center; gap: 4px; padding: 0 10px; height: 36px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; color: var(--text-on-dark-muted); transition: all 0.2s; white-space: nowrap; line-height: 1; box-sizing: border-box; }
.header-nav a:hover { color: var(--text-on-dark); background: rgba(255,255,255,0.06); }
.header-nav a.active { color: var(--gold-400); background: rgba(201,169,110,0.1); }
.header-nav .nav-cta { margin-left: 6px; padding: 0 16px; height: 36px; background: var(--gold-500); color: var(--navy-900) !important; border-radius: 50px; font-weight: 600; }
.header-nav .nav-cta:hover { background: var(--gold-400); }
.header-nav .nav-product-matrix { margin-left: 4px; padding: 0 14px; height: 36px; background: rgba(255,255,255,0.10); color: var(--gold-400) !important; border: 1px solid rgba(196,30,58,0.4); border-radius: 50px; font-weight: 600; font-size: 13px; transition: all 0.25s; }
.header-nav .nav-product-matrix:hover { background: rgba(196,30,58,0.15); border-color: var(--gold-400); color: var(--gold-300) !important; }

/* Lang Switcher */
.lang-switcher { display: flex; align-items: center; gap: 2px; margin-left: 8px; border-left: 1px solid rgba(255,255,255,0.15); padding-left: 10px; height: 36px; }
.lang-switcher button { background: none; border: none; color: var(--text-on-dark-muted); font-size: 12px; font-weight: 500; padding: 4px 8px; border-radius: 4px; cursor: pointer; transition: all 0.2s; font-family: var(--font-sans); line-height: 1; height: 28px; display: inline-flex; align-items: center; }
.lang-switcher button:hover { color: var(--text-on-dark); background: rgba(255,255,255,0.06); }
.lang-switcher button.active { color: var(--gold-400); background: rgba(201,169,110,0.15); font-weight: 700; }

/* Mobile Menu */
.mobile-toggle { display: none; background: none; border: none; color: var(--text-on-dark); font-size: 24px; cursor: pointer; padding: 4px; line-height: 1; }
body.nav-open { overflow: hidden; }
@media (max-width: 900px) {
  .header-nav { display: none; position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0; max-height: none; overflow-y: auto; -webkit-overflow-scrolling: touch; background: var(--navy-900); flex-direction: column; align-items: stretch; padding: 16px; gap: 4px; border-bottom: 1px solid rgba(255,255,255,0.1); z-index: 1002; }
  .header-nav.open { display: flex; }
  .header-nav > a,
  .header-nav > .nav-dropdown { width: 100%; height: auto; }
  .header-nav a { width: 100%; justify-content: flex-start; min-height: 44px; padding: 10px 14px; }
  .header-nav .nav-cta { margin-left: 0; justify-content: center; }
  .header-nav .lang-switcher { border-left: none; padding-left: 0; margin-left: 0; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.1); width: 100%; justify-content: center; height: auto; }
  .mobile-toggle { display: block; }
}

/* --- Hero Section --- */
.hero { padding: 140px 0 100px; background: linear-gradient(135deg, var(--navy-900) 0%, #0F2A4A 40%, var(--navy-700) 100%); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(201,169,110,0.08) 0%, transparent 70%); border-radius: 50%; }
.hero::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(26,74,122,0.3) 0%, transparent 70%); border-radius: 50%; }
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 700px; }
.hero h1 { color: var(--text-on-dark); margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 1.15rem; color: var(--text-on-dark-muted); margin-bottom: 36px; line-height: 1.7; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 768px) {
  .hero { padding: 100px 0 60px; }
  .hero::before { width: 400px; height: 400px; top: -30%; right: -40%; }
  .hero::after { width: 300px; height: 300px; bottom: -20%; left: -30%; }
  .hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .hero p { font-size: 1rem; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { justify-content: center; width: 100%; }
}
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 50px; font-size: 15px; font-weight: 600; text-decoration: none; transition: all 0.25s; cursor: pointer; border: none; font-family: var(--font-sans); min-height: 48px; }
.btn-primary { background: var(--gold-500); color: var(--navy-900); }
.btn-primary:hover { background: var(--gold-400); transform: translateY(-1px); box-shadow: 0 8px 25px rgba(201,169,110,0.3); }
.btn-outline { background: transparent; color: var(--text-on-dark); border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--text-on-dark); background: rgba(255,255,255,0.05); }
.btn-light { background: var(--bg-white); color: var(--navy-900); }
.btn-light:hover { background: var(--bg-gray); }

/* --- Stats Bar --- */
.stats-bar { padding: 0; margin-top: -40px; position: relative; z-index: 2; }
@media (max-width: 768px) {
  .stats-bar { margin-top: -24px; }
  .stat-item { padding: 24px 16px; }
  .stat-item .stat-value { font-size: 1.5rem; }
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.stat-item { background: var(--bg-white); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; box-shadow: var(--shadow-lg); transition: transform 0.3s; }
.stat-item:hover { transform: translateY(-4px); }
.stat-item .stat-icon { font-size: 32px; margin-bottom: 12px; }
.stat-item .stat-value { font-size: 2rem; font-weight: 700; color: var(--navy-900); margin-bottom: 4px; }
.stat-item .stat-label { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.stat-item .stat-desc { font-size: 12px; color: var(--text-secondary); margin-top: 8px; line-height: 1.65; text-align: left; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }

/* --- Services Grid --- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--bg-white); border-radius: var(--radius-lg); padding: 36px 28px; border: 1px solid var(--border); transition: all 0.3s; position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--navy-600), var(--gold-500)); opacity: 0; transition: opacity 0.3s; }
.service-card:hover::before { opacity: 1; }
.service-card .service-icon { font-size: 40px; margin-bottom: 20px; width: 64px; height: 64px; background: var(--navy-50); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* --- Insights Cards --- */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.insight-card { background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: all 0.3s; }
.insight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.insight-card .insight-img { width: 100%; height: 180px; object-fit: cover; background: var(--navy-100); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.insight-card .insight-body { padding: 20px 24px 24px; }
.insight-card .insight-tag { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; margin-bottom: 10px; }
.insight-card .insight-tag.report { background: #EBF5FB; color: #1E5A96; }
.insight-card .insight-tag.whitepaper { background: #FDF2E9; color: #C96E28; }
.insight-card .insight-tag.trend { background: #E8F8F0; color: #1E8E5A; }
.insight-card h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.4; }
.insight-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.insight-card .insight-meta { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
@media (max-width: 768px) { .insights-grid { grid-template-columns: 1fr; } }

/* --- News Grid --- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* Three-tier product lineup — original CIRI navy/red */
.product-lineup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 960px) {
  .product-lineup-grid { grid-template-columns: 1fr; }
}
a.product-line-card,
.product-line-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 4px 4px;
  background: transparent;
  border: none;
  border-radius: 0;
  text-decoration: none;
  color: var(--navy-900);
  min-height: 100%;
  box-shadow: none;
  transition: opacity .15s;
  font-family: var(--font-sans);
}
a.product-line-card:hover,
.product-line-card:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
  opacity: 0.96;
}
.product-line-tier {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #3A4150;
  letter-spacing: 0;
}
.product-line-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
}
.product-line-ver {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-500);
}
.product-line-card > p:not(.product-line-ver) {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #5A6070;
  flex: 1;
}
.product-line-points { display: none; }
.product-line-deliver {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-line-deliver li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.65;
  color: #5A6070;
  text-align: left;
}
.product-line-deliver li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
}
.product-line-cta {
  margin-top: auto;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-500);
}
.product-lineup-page .pc-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.product-line-btn,
a.product-line-btn,
.product-line-card .btn-primary,
.product-lineup-note .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  align-self: flex-start;
  min-height: 44px;
  padding: 12px 28px;
  border-radius: 50px;
  background: var(--gold-500) !important;
  color: #fff !important;
  border: none;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
  box-shadow: none;
  text-decoration: none;
}
.product-line-btn:hover,
a.product-line-btn:hover,
.product-line-card .btn-primary:hover,
.product-lineup-note .btn-primary:hover {
  background: var(--gold-400) !important;
  color: #fff !important;
  transform: none;
  box-shadow: 0 6px 18px rgba(196, 30, 58, 0.28);
}
.product-line-btn-lg {
  min-height: 52px;
  padding: 14px 48px;
  font-size: 16px;
  align-self: center;
}
.product-lineup-note {
  margin-top: 48px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  text-align: center;
}
.product-lineup-note p {
  margin: 0 auto 20px;
  max-width: 720px;
  font-size: 15px;
  color: #5A6070;
  line-height: 1.75;
}
.product-lineup-note-actions {
  display: flex;
  justify-content: center;
}

/* Product hub + subnav */
.product-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.product-subnav-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: #fff;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: color .15s, border-color .15s, background .15s;
}
.product-subnav-link:hover {
  color: var(--navy-900);
  border-color: var(--navy-200);
}
.product-subnav-link.active {
  color: #fff;
  background: var(--navy-900);
  border-color: var(--navy-900);
}
.product-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 960px) {
  .product-hub-grid { grid-template-columns: 1fr; }
}
a.product-hub-card,
.product-hub-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
a.product-hub-card:hover {
  border-color: var(--navy-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.product-hub-status {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 999px;
}
.product-hub-status.is-live { background: #E8F8F0; color: #1E8E5A; }
.product-hub-status.is-wip { background: #FFF4E5; color: #C96E28; }
.product-hub-status.is-new { background: #EBF5FB; color: #1E5A96; }
.product-hub-card h3 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--navy-900);
}
.product-hub-card p {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.product-hub-cta {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-500);
}
.product-wip-banner {
  margin: 0 0 8px;
  padding: 14px 16px;
  background: #FFF4E5;
  border: 1px solid #F0D2A8;
  border-radius: var(--radius-md);
  color: #8A4B12;
  font-size: 14px;
  line-height: 1.7;
}
.btn.is-disabled,
button.btn.is-disabled:disabled {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
  background: #9AA5B1 !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Matrix page — categorized intro (no sub-modules) */
.matrix-cat { margin-top: 40px; }
.matrix-cat:first-of-type { margin-top: 28px; }
.matrix-cat-head {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.matrix-cat-head h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: var(--navy-900);
}
.matrix-cat-head p {
  margin: 0;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.matrix-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.matrix-intro-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 960px) {
  .matrix-intro-grid,
  .matrix-intro-grid-compact { grid-template-columns: 1fr; }
}
.matrix-intro-card {
  padding: 20px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
a.matrix-intro-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
a.matrix-intro-card:hover {
  border-color: var(--gold-500);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}
.matrix-intro-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--navy-900);
}
.matrix-intro-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.news-card { background: var(--bg-white); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--border); transition: all 0.3s; color: inherit; text-decoration: none; display: block; }
a.news-card { color: inherit; }
.news-card:hover { box-shadow: var(--shadow-md); border-color: transparent; }
a.news-toggle { text-decoration: none; }
.news-card .news-date { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.news-card .news-tag { font-size: 11px; font-weight: 600; color: var(--gold-500); margin-bottom: 8px; }
.news-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.news-card p { font-size: 14px; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 768px) { .news-grid { grid-template-columns: 1fr; } }

/* --- CTA Section --- */
.cta-section { background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%); text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(201,169,110,0.06) 0%, transparent 70%); border-radius: 50%; }
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--text-on-dark); margin-bottom: 12px; }
.cta-section p { color: var(--text-on-dark-muted); margin-bottom: 32px; font-size: 1.1rem; }
@media (max-width: 768px) {
  .cta-section { padding: 56px 0; }
  .cta-section::before { width: 300px; height: 300px; }
  .cta-section p { font-size: 1rem; margin-bottom: 24px; }
  .cta-section .btn { width: 100%; justify-content: center; }
}

/* --- Page Header (inner pages) --- */
.page-header { padding: 120px 0 60px; background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%); text-align: center; }
.page-header h1 { color: var(--text-on-dark); margin-bottom: 12px; }
.page-header p { color: var(--text-on-dark-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
@media (max-width: 768px) {
  .page-header { padding: 90px 0 40px; }
  .page-header h1 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .page-header p { font-size: 1rem; }
}

/* --- About Page --- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-intro .about-text h2 { margin-bottom: 20px; }
.about-intro .about-text p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; }
.about-intro .about-visual { background: linear-gradient(135deg, var(--navy-100), var(--navy-50)); border-radius: var(--radius-xl); height: 350px; display: flex; align-items: center; justify-content: center; font-size: 80px; }
.chairman-block { background: var(--bg-white); border-radius: var(--radius-xl); padding: 48px; box-shadow: var(--shadow-md); border-left: 4px solid var(--gold-500); }
@media (max-width: 768px) {
  .chairman-block { padding: 24px 20px; }
  .chairman-block blockquote { font-size: 1rem; }
}
.chairman-block blockquote { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.8; color: var(--text-secondary); font-style: italic; margin-bottom: 20px; }
.chairman-block .chairman-name { font-weight: 600; color: var(--navy-900); font-style: normal; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { text-align: center; padding: 32px 20px; background: var(--bg-white); border-radius: var(--radius-lg); border: 1px solid var(--border); transition: all 0.3s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card .team-avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, var(--navy-500), var(--navy-600)); display: flex; align-items: center; justify-content: center; font-size: 32px; color: white; }
.team-card h3 { font-size: 1rem; margin-bottom: 4px; }
.team-card .team-role { font-size: 13px; color: var(--gold-500); font-weight: 500; margin-bottom: 8px; }
.team-card p { font-size: 13px; color: var(--text-muted); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.value-card { padding: 28px; background: rgba(255,255,255,0.05); border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.1); text-align: center; transition: all 0.3s; }
.value-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.value-card .value-icon { font-size: 36px; margin-bottom: 12px; }
.value-card h3 { color: var(--gold-400); font-size: 1rem; margin-bottom: 8px; }
.value-card p { color: var(--text-on-dark-muted); font-size: 13px; }
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } .about-intro { grid-template-columns: 1fr; } .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid, .values-grid { grid-template-columns: 1fr; } }

/* --- Products Page --- */
.agents-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.agent-card { background: var(--bg-white); border-radius: var(--radius-lg); padding: 36px 28px; border: 1px solid var(--border); transition: all 0.3s; }
.agent-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-200); }
.agent-card .agent-icon { margin-bottom: 16px; width: 100%; height: 140px; border-radius: var(--radius-md); overflow: hidden; background: var(--navy-900); }
.agent-card h3 { color: var(--navy-600); margin-bottom: 10px; font-size: 1.1rem; }
.agent-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.pc-card-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.pc-card-actions .btn { flex: 1; min-width: 108px; justify-content: center; font-size: 13px; padding: 10px 14px; }
.pc-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.pc-card-tags span { font-size: 11px; padding: 3px 8px; border-radius: 4px; background: var(--navy-50); color: var(--navy-600); border: 1px solid var(--border); }
.platform-card { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); border-radius: var(--radius-xl); padding: 48px; color: var(--text-on-dark); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; margin-top: 48px; }
.platform-card h2 { color: var(--text-on-dark); margin-bottom: 16px; }
.platform-card .platform-desc { color: var(--text-on-dark-muted); margin-bottom: 24px; line-height: 1.7; }
.platform-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.platform-features li { font-size: 14px; color: var(--text-on-dark-muted); padding-left: 20px; position: relative; }
.platform-features li::before { content: '✓'; position: absolute; left: 0; color: var(--gold-400); font-weight: 700; }
.platform-visual { background: rgba(255,255,255,0.05); border-radius: var(--radius-lg); height: 260px; display: flex; align-items: center; justify-content: center; font-size: 80px; }
@media (max-width: 900px) { .agents-grid { grid-template-columns: repeat(2, 1fr); } .platform-card { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .platform-card { padding: 28px 20px; }
  .platform-features { grid-template-columns: 1fr; }
  .platform-card .platform-visual { height: 180px; font-size: 56px; }
}
@media (max-width: 560px) { .agents-grid { grid-template-columns: 1fr; } }

/* --- Contact Page --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info .contact-item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-info .contact-item .ci-icon { width: 44px; height: 44px; background: var(--navy-50); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-info .contact-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.contact-info .contact-item p { font-size: 14px; color: var(--text-secondary); }
.contact-form { background: var(--bg-white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--navy-900); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 15px; font-family: var(--font-sans); transition: border-color 0.2s; background: var(--bg-white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 3px rgba(30,90,150,0.1); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
  .contact-grid .btn { width: 100%; justify-content: center; }
}

/* --- Research/News Pages --- */
.research-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) {
  .research-grid { grid-template-columns: 1fr; }
  .insight-card .insight-body { padding: 16px 18px 20px; }
  .news-card { padding: 18px 16px; }
}
.filter-bar { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; justify-content: center; }
.filter-bar button { padding: 8px 20px; border-radius: 50px; border: 1px solid var(--border); background: var(--bg-white); font-size: 13px; font-weight: 500; cursor: pointer; font-family: var(--font-sans); color: var(--text-secondary); transition: all 0.2s; }
.filter-bar button:hover, .filter-bar button.active { background: var(--navy-900); color: var(--text-on-dark); border-color: var(--navy-900); }

/* --- Footer --- */
.site-footer { background: var(--navy-900); color: var(--text-on-dark-muted); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { color: var(--text-on-dark); margin-bottom: 12px; font-size: 1.1rem; }
.footer-brand p { font-size: 13px; line-height: 1.7; }
.footer-col h4 { color: var(--text-on-dark); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-on-dark-muted); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 12px; }
.footer-bottom a { color: var(--text-on-dark-muted); margin-left: 16px; }
@media (max-width: 768px) {
  .site-footer { padding: 40px 0 20px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom a { margin-left: 0; margin-right: 16px; }
  .footer-bottom a:last-child { margin-right: 0; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* --- Animations --- */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
/* Astro / static pages: no app.js scroll observer */
body[data-active-nav] .fade-in { opacity: 1; transform: none; }

/* --- Breadcrumb --- */
.breadcrumb { padding: 12px 0; font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb span { margin: 0 6px; }

/* --- Toast --- */
.toast { position: fixed; top: 90px; right: 24px; z-index: 2000; padding: 16px 24px; border-radius: var(--radius-md); color: white; font-weight: 500; opacity: 0; transform: translateX(100px); transition: all 0.3s; }
.toast.show { opacity: 1; transform: translateX(0); }
.toast.success { background: #27ae60; }
.toast.error { background: #e74c3c; }

/* --- Loading Skeleton --- */
.skeleton { background: linear-gradient(90deg, var(--bg-gray) 25%, var(--bg-light) 50%, var(--bg-gray) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* --- Scroll To Top --- */
.scroll-top { position: fixed; bottom: 32px; right: 32px; width: 48px; height: 48px; border-radius: 50%; background: var(--navy-900); color: white; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 20px; opacity: 0; transform: translateY(20px); transition: all 0.3s; box-shadow: var(--shadow-md); z-index: 999; }
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--gold-500); color: var(--navy-900); }
@media (max-width: 768px) {
  .scroll-top { bottom: 20px; right: 16px; width: 44px; height: 44px; font-size: 18px; }
}

/* --- Print --- */
@media print {
  .site-header, .site-footer, .scroll-top, .lang-switcher, .mobile-toggle { display: none !important; }
  .section { padding: 20px 0; }
}

/* --- Product Matrix Grid (哨兵产品矩阵) --- */
.product-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* --- Product Matrix Cards (same style as insight-card) --- */
.matrix-card {
  display: block;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.matrix-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
/* Visual area — identical to .insight-img */
.matrix-card .matrix-card-visual {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--navy-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
/* Body — identical to .insight-body */
.matrix-card .matrix-card-body {
  padding: 20px 24px 24px;
}
.matrix-card .matrix-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.4;
}
.matrix-card .matrix-card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.matrix-card .matrix-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.matrix-card .matrix-card-features span {
  display: inline-block;
  padding: 3px 10px;
  background: var(--navy-50);
  border-radius: 4px;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
}
/* Tags — reuse insight-tag styles */
.matrix-card .insight-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.matrix-card .insight-tag.report { background: #EBF5FB; color: #1E5A96; }
.matrix-card .insight-tag.whitepaper { background: #FDF2E9; color: #C96E28; }
.matrix-card .insight-tag.trend { background: #E8F8F0; color: #1E8E5A; }
.matrix-card .insight-tag.case { background: #F4ECF7; color: #7D3C98; }
.matrix-card .matrix-meta {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
}
.matrix-card .matrix-meta li {
  padding: 2px 0 2px 14px;
  position: relative;
}
.matrix-card .matrix-meta li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}
.matrix-card .matrix-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.matrix-card .matrix-card-actions .btn {
  font-size: 13px;
  padding: 8px 14px;
}
@media (max-width: 900px) {
  .product-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .product-matrix-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Pricing Page --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pricing-grid--plans {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}
.price-card {
  background: var(--bg-white);
  border-radius: 14px;
  padding: 28px 20px 24px;
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  box-shadow: var(--shadow-sm);
}
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-200);
}
.price-card.featured {
  border-color: var(--gold-500);
  box-shadow: 0 10px 28px rgba(196, 30, 58, 0.12);
  background: linear-gradient(180deg, #fff 0%, #fff8f8 100%);
  z-index: 1;
}
.price-card.featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(196, 30, 58, 0.16);
}
.price-card--navy {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-color: transparent;
  color: var(--text-on-dark);
}
.price-card--navy .price-header h3 { color: #fff; }
.price-card--navy .price-header p { color: rgba(255,255,255,0.65); }
.price-card--navy .price-num { color: var(--gold-300); }
.price-card--navy .price-features li {
  color: rgba(255,255,255,0.82);
  border-bottom-color: rgba(255,255,255,0.1);
}
.price-card--navy .price-features li::before { color: var(--gold-300); }
.price-card--navy:hover {
  border-color: transparent;
  box-shadow: 0 14px 36px rgba(11, 29, 58, 0.35);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-500);
  color: white;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(196, 30, 58, 0.25);
}
.price-header { margin-bottom: 4px; }
.price-header h3 {
  font-size: 1.15rem;
  margin: 0 0 6px;
  color: var(--navy-900);
  font-weight: 700;
}
.price-header p {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
  min-height: 2.9em;
}
.price-amount {
  margin: 16px 0 18px;
  min-height: 52px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  flex-wrap: wrap;
}
.price-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.price-num--sm { font-size: 1.45rem; }
.price-period {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.price-features {
  text-align: left;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  flex: 1 1 auto;
}
.price-features li {
  position: relative;
  padding: 8px 0 8px 18px;
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--bg-gray);
  line-height: 1.45;
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--gold-500);
  font-weight: 700;
  font-size: 12px;
}
.price-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 11px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}
.price-card.featured .price-cta {
  background: var(--gold-500);
  color: white;
  border: none;
}
.price-card.featured .price-cta:hover { background: var(--gold-400); color: white; }
.price-cta--navy {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
}
.price-cta--navy:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: #fff;
}

.pricing-compare-wrap {
  margin-top: 56px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-compare-title {
  text-align: center;
  margin: 0 0 20px;
  font-size: 1.15rem;
  color: var(--navy-900);
  font-weight: 700;
}
.pricing-compare {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}
.pricing-compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: center;
  min-width: 720px;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.pricing-compare thead tr {
  background: var(--navy-900);
}
.pricing-compare thead th {
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  font-weight: 600;
  padding: 14px 10px;
  white-space: nowrap;
}
.pricing-compare thead th:first-child {
  text-align: left;
  padding-left: 18px;
  min-width: 120px;
}
.pricing-compare thead th.is-featured {
  color: #fff;
  background: linear-gradient(180deg, var(--gold-500), #a81830);
}
.pricing-compare tbody td {
  padding: 12px 10px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--bg-gray);
  vertical-align: middle;
}
.pricing-compare tbody td:first-child {
  text-align: left;
  padding-left: 18px;
  color: var(--navy-900);
  font-weight: 500;
}
.pricing-compare tbody tr:last-child td { border-bottom: none; }
.pricing-compare tbody tr:nth-child(even) { background: var(--bg-light); }
.pricing-compare tbody tr:hover { background: var(--navy-50); }
.pricing-compare .is-highlight {
  color: var(--gold-500);
  font-weight: 700;
}
.pricing-compare .is-price-row td {
  font-weight: 600;
  background: var(--navy-50);
}

.faq-item { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px 20px; margin-bottom: 12px; }
.faq-item summary { font-weight: 600; color: var(--navy-900); cursor: pointer; font-size: 15px; }
.faq-item p { margin-top: 10px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

@media (max-width: 1200px) {
  .pricing-grid--plans {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    max-width: 100%;
  }
  .price-card { padding: 22px 14px 20px; }
  .price-header h3 { font-size: 1.05rem; }
  .price-num { font-size: 1.55rem; }
  .price-num--sm { font-size: 1.25rem; }
  .price-features li { font-size: 12px; padding: 7px 0 7px 16px; }
  .price-cta { font-size: 13px; padding: 10px 12px; }
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid--plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .price-card.featured { transform: none; }
}
@media (max-width: 768px) {
  .price-card { padding: 24px 18px; }
  .price-num { font-size: 1.65rem; }
  .price-num--sm { font-size: 1.35rem; }
  .filter-bar { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .pricing-grid--plans { grid-template-columns: 1fr; max-width: 400px; }
}


/* Research full-text modal */
.research-modal { position:fixed; inset:0; z-index:9999; display:none; }
.research-modal.open { display:block; }
.research-modal-backdrop { position:absolute; inset:0; background:rgba(11,29,58,.55); backdrop-filter:blur(2px); }
.research-modal-panel { position:relative; z-index:1; width:min(860px,92vw); max-height:88vh; overflow:auto; margin:6vh auto; background:#fff; border-radius:16px; padding:28px 28px 36px; box-shadow:0 24px 80px rgba(0,0,0,.28); }
.research-modal-close { position:sticky; top:0; float:right; border:0; background:transparent; font-size:28px; line-height:1; cursor:pointer; color:#666; }
.research-modal-meta { color:var(--text-muted); font-size:12px; margin-bottom:8px; }
.research-modal-panel h2 { font-size:1.45rem; margin:0 0 10px; color:var(--navy-900); }
.research-modal-desc { color:var(--text-secondary); font-size:14px; margin-bottom:16px; }
.research-modal-actions { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:20px; }
.research-modal-body section { margin-bottom:18px; }
.research-modal-body h3 { font-size:1rem; margin:0 0 6px; color:var(--navy-800); }
.research-modal-body p { font-size:14px; line-height:1.8; color:var(--text-secondary); margin:0 0 8px; text-align:justify; }
.research-modal-body ul { margin:6px 0 10px 1.2em; color:var(--text-secondary); font-size:14px; line-height:1.7; }
.research-modal-body figure.chart { margin:12px 0 16px; }
.research-modal-body figure.chart svg { display:block; width:100%; height:auto; border:1px solid var(--border); border-radius:10px; background:#fff; padding:8px; }
.research-modal-body figcaption { font-size:12px; color:var(--text-secondary); margin-top:6px; }
.research-modal-body figcaption .note { color:var(--text-muted); }
.research-modal-body .table-wrap { margin:10px 0 14px; overflow-x:auto; }
.research-modal-body .table-cap { font-size:12px; font-weight:700; margin-bottom:4px; }
.research-modal-body table { width:100%; border-collapse:collapse; font-size:12px; }
.research-modal-body th, .research-modal-body td { border:1px solid var(--border); padding:6px 8px; text-align:left; vertical-align:top; }
.research-modal-body th { background:var(--bg-gray,#f5f7fa); }
.insight-card .insight-actions { margin-top:14px; display:flex; flex-direction:column; gap:8px; }
.insight-card .insight-actions .btn-row { display:flex; flex-wrap:wrap; gap:8px; }
.insight-card .insight-hint { font-size:11px; color:var(--text-muted); line-height:1.4; }
.news-card .news-full { display:none; margin-top:10px; font-size:14px; color:var(--text-secondary); line-height:1.75; }
.news-card.open .news-full { display:block; }
.news-card .news-toggle { margin-top:10px; font-size:13px; color:var(--gold-500); font-weight:600; background:none; border:0; cursor:pointer; padding:0; }
.news-list { grid-template-columns: 1fr !important; }
.news-card-row { display:flex; gap:24px; align-items:flex-start; margin-bottom:4px; cursor:pointer; }
.news-datebox { min-width:60px; text-align:center; padding:12px; background:var(--navy-50); border-radius:var(--radius-md); }
.news-datebox .news-day { font-size:24px; font-weight:700; color:var(--navy-600); line-height:1.1; }
.news-datebox .news-mon { font-size:11px; color:var(--text-muted); margin-top:2px; }
.news-card-body { flex:1; min-width:0; }
.news-card-body p { -webkit-line-clamp: 3; }
.news-card-link { cursor:pointer; }
.news-card-link .news-read-link,
.news-read-link { display:inline-block; margin-top:10px; font-size:13px; color:var(--gold-500); font-weight:600; }
.news-empty { color:var(--text-muted); padding:24px 0; }
.market-deliverables { margin-top:10px; font-size:12px; color:var(--text-muted); line-height:1.5; text-align:left; }
@media (max-width: 640px) {
  .research-modal-panel { padding:20px 16px 28px; margin:3vh auto; }
}

/* ============================================
   NEW MODULES (2026-07-27) — appended, no changes above
   ============================================ */

/* --- Hero V2 --- */
.hero-v2 { padding: 160px 0 120px; }
.hero-v2 .hero-content { max-width: 780px; }
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(196,30,58,0.15);
  border: 1px solid rgba(196,30,58,0.3);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-400);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero-tagline {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-on-dark);
  margin-bottom: 12px;
  line-height: 1.6;
  font-family: var(--font-sans);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 600px;
}
.hero-actions-v2 {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.btn-large {
  padding: 16px 32px;
  font-size: 16px;
  min-height: 54px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.5px;
}
.hero-trust-dot { opacity: 0.4; }
@media (max-width: 768px) {
  .hero-v2 { padding: 120px 0 80px; }
  .hero-tagline { font-size: 1.1rem; }
  .hero-actions-v2 { flex-direction: column; }
  .hero-actions-v2 .btn { justify-content: center; width: 100%; }
}

/* --- Assessment Page --- */
.assess-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 768px) {
  .assess-layout { grid-template-columns: 1fr; }
}
.assess-form {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.assess-form h3 {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--navy-900);
}
.assess-form .form-group { margin-bottom: 16px; }
.assess-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.assess-form input, .assess-form select {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  background: var(--bg-white);
  transition: border-color 0.2s;
}
.assess-form input:focus, .assess-form select:focus {
  border-color: var(--gold-500);
  outline: none;
}
.assess-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) {
  .assess-form .form-row { grid-template-columns: 1fr; }
}
.assess-result {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.assess-score-card {
  text-align: center;
  margin-bottom: 24px;
}
.score-circle {
  position: relative;
  display: inline-block;
}
.score-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 42px;
  font-weight: 800;
  color: var(--navy-900);
}
.score-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
.score-level {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 12px;
}
.score-level.high { background: rgba(196,30,58,0.1); color: var(--gold-500); }
.score-level.medium { background: rgba(196,30,58,0.06); color: var(--gold-400); }
.score-level.low { background: var(--navy-50); color: var(--navy-600); }
.assess-detail, .assess-recommend {
  margin-bottom: 20px;
}
.assess-detail h4, .assess-recommend h4, .assess-capture h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--navy-900);
}
.assess-capture {
  margin-top: 24px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
}
.assess-capture .form-group { margin-bottom: 12px; }
.assess-capture input {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
}

/* --- Assessment deep result (2026-07-30) --- */
.assess-score-caption {
  margin: 10px auto 0;
  max-width: 320px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.assess-insight {
  margin: 0 0 22px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(15, 36, 72, 0.04), rgba(196, 30, 58, 0.05)),
    var(--bg-light);
  border: 1px solid rgba(15, 36, 72, 0.08);
}
.assess-insight-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 8px;
}
.assess-insight h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--navy-900);
}
.assess-insight p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.assess-insight-foot {
  margin-top: 10px !important;
  font-size: 12px !important;
  color: var(--text-muted) !important;
}
.assess-factors {
  margin: 0 0 22px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
}
.assess-factors h4 {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: var(--navy-900);
}
.assess-factor-row { margin-bottom: 12px; }
.assess-factor-row:last-child { margin-bottom: 0; }
.assess-factor-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--text-secondary);
}
.assess-factor-meta strong { color: var(--navy-900); font-variant-numeric: tabular-nums; }
.assess-factor-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 36, 72, 0.06);
  overflow: hidden;
}
.assess-factor-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--navy-600);
  transition: width 0.7s ease;
}
.assess-factor-fill.is-high { background: var(--gold-500); }
.assess-factor-fill.is-mid { background: #c45a2c; }
.assess-factor-fill.is-low { background: var(--navy-400); }
.assess-factor-note {
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-muted);
}
#assess-risk-list {
  display: grid;
  gap: 12px;
}
.assess-risk-card {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fff;
  border-left: 3px solid var(--navy-300);
}
.assess-risk-card.is-high { border-left-color: var(--gold-500); background: rgba(196, 30, 58, 0.03); }
.assess-risk-card.is-mid { border-left-color: #c45a2c; }
.assess-risk-card.is-low { border-left-color: var(--navy-300); }
.assess-risk-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.assess-risk-rank {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--navy-700);
  margin-top: 2px;
}
.assess-risk-card.is-high .assess-risk-rank { background: var(--gold-500); }
.assess-risk-icon { font-size: 18px; line-height: 1.2; }
.assess-risk-head {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: space-between;
}
.assess-risk-head strong {
  font-size: 14px;
  color: var(--navy-900);
}
.assess-sev {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--navy-50);
  color: var(--navy-700);
}
.assess-sev.is-high { background: rgba(196, 30, 58, 0.1); color: var(--gold-500); }
.assess-sev.is-mid { background: rgba(196, 90, 44, 0.12); color: #a84a22; }
.assess-sev.is-low { background: var(--navy-50); color: var(--navy-500); }

/* Report center */
.reports-gate {
  max-width: 480px;
  margin: 0 auto;
  padding: 28px 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, var(--navy-50) 100%);
}
.reports-gate h2 { margin: 0 0 8px; font-size: 22px; color: var(--navy-700); }
.reports-lead { margin: 0 0 18px; font-size: 14px; line-height: 1.7; color: var(--text-secondary); }
.reports-form .form-group { margin-bottom: 12px; }
.reports-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
}
.reports-hint { margin-top: 14px; font-size: 13px; color: var(--navy-500); line-height: 1.6; min-height: 1.2em; }
.reports-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.reports-who { font-weight: 600; color: var(--navy-700); }
.reports-toolbar-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.reports-list { display: flex; flex-direction: column; gap: 10px; }
.reports-item {
  text-align: left;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: border-color .2s, background .2s;
}
.reports-item:hover { border-color: var(--navy-300); background: var(--navy-50); }
.reports-item-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 6px;
}
.reports-item-meta { font-size: 13px; color: var(--text-muted); }
.reports-empty { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }
.reports-detail {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.reports-detail h2 { margin: 0 0 12px; font-size: 22px; color: var(--navy-700); }
.reports-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.reports-html { font-size: 15px; line-height: 1.75; color: var(--text-primary); }
.reports-html h2 { font-size: 18px; margin: 1.4em 0 .5em; color: var(--navy-700); }
.reports-html h3 { font-size: 16px; margin: 1.2em 0 .4em; color: var(--navy-600); }
.reports-html p, .reports-html li { margin: .4em 0; }
.reports-html ul, .reports-html ol { padding-left: 1.3em; }
.reports-html table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.reports-html th, .reports-html td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }
.reports-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
@media print {
  .site-header, .site-footer, .reports-toolbar, .reports-list, .reports-actions, .reports-gate { display: none !important; }
  .reports-detail { border: none; margin: 0; padding: 0; }
}
.assess-risk-desc,
.assess-risk-why {
  margin: 8px 0 0 32px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.assess-risk-why { color: var(--text-muted); }
.assess-risk-why em { font-style: normal; color: var(--navy-700); font-weight: 600; }
.assess-action-lead {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.assess-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 900px) {
  .assess-action-grid { grid-template-columns: 1fr; }
}
.assess-action-card {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fff;
  min-height: 100%;
}
.assess-action-card.is-cta {
  background: linear-gradient(160deg, rgba(15, 36, 72, 0.92), rgba(15, 36, 72, 0.78));
  border-color: transparent;
  color: rgba(255, 255, 255, 0.88);
}
.assess-action-card.is-cta h5,
.assess-action-card.is-cta p { color: #fff; }
.assess-action-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-500);
  margin-bottom: 8px;
}
.assess-action-card.is-cta .assess-action-tag { color: #f0c14b; }
.assess-action-card h5 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--navy-900);
}
.assess-action-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.assess-action-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}
.assess-action-note {
  margin-top: 10px !important;
  font-size: 12px !important;
  opacity: 0.85;
}
.assess-capture-done {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.25);
  color: var(--navy-900);
  font-size: 14px;
  line-height: 1.7;
}

/* --- Knowledge Base --- */
.kb-search input:focus {
  border-color: var(--gold-500) !important;
  box-shadow: 0 0 0 3px rgba(196,30,58,0.08);
}
.kb-card { cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.kb-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.kb-card.hidden { display: none; }

/* --- Cases --- */
.case-meta { border-top: 1px solid var(--border); padding-top: 12px; }

/* --- Resource hub (home) --- */
.resource-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.resource-hub-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  color: var(--text-primary);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.resource-hub-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
  color: var(--text-primary);
}
.resource-hub-card .hub-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--navy-50);
  display: flex;
  align-items: center;
  justify-content: center;
}
.resource-hub-card h3 { font-size: 1.15rem; margin: 0; }
.resource-hub-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0; flex: 1; }
.resource-hub-card .hub-link { font-size: 14px; font-weight: 600; color: var(--gold-500); }
@media (max-width: 768px) {
  .resource-hub-grid { grid-template-columns: 1fr; }
}

/* --- whitenpaper page 5th card fix --- */
.whitepaper-card-extra .btn { margin-top: 8px; }

/* ============================================
   NAV DROPDOWN (2026-07-27)
   ============================================ */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex !important;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 6px 0;
  box-shadow: var(--shadow-lg);
  z-index: 1001;
}
.nav-dropdown-menu a {
  display: block !important;
  padding: 10px 16px !important;
  height: auto !important;
  font-size: 13px !important;
  color: var(--text-on-dark-muted);
  border-radius: 0 !important;
  white-space: nowrap;
  line-height: 1.4 !important;
}
.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-on-dark);
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown.open .nav-dropdown-toggle {
  background: rgba(255,255,255,0.06);
  color: var(--text-on-dark);
}
@media (min-width: 901px) {
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
  }
}
/* mobile: flatten dropdown */
@media (max-width: 900px) {
  .nav-dropdown-menu {
    position: static;
    display: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-left: 16px;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { padding: 8px 14px !important; }
}

/* ============================================
   METHODOLOGY PAGE (2026-07-27)
   ============================================ */
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.method-item {
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold-500);
}
.method-item strong {
  display: block;
  font-size: 14px;
  color: var(--navy-900);
  margin-bottom: 4px;
}
.method-item span {
  font-size: 13px;
  color: var(--text-muted);
}
.method-principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.method-principle {
  padding: 14px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.method-principle span {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy-900);
  margin-bottom: 4px;
}
.method-principle p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .method-grid, .method-principles { grid-template-columns: 1fr; }
}

/* ============================================
   NAV FINAL TUNING (keep vertical rhythm)
   ============================================ */
.header-nav > a,
.header-nav .nav-dropdown-toggle,
.header-nav .nav-cta {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  height: 36px !important;
  line-height: 1 !important;
}
.nav-dropdown { position: relative; height: 36px; display: flex; align-items: center; }
.nav-dropdown-toggle::after { content: "▾"; font-size: 10px; margin-left: 2px; opacity: 0.75; }
@media (max-width: 1200px) {
  .header-logo { max-width: 220px; }
  .header-logo .logo-text small { display: none; }
  .header-nav a { padding-left: 8px; padding-right: 8px; font-size: 12.5px; }
}
@media (max-width: 1100px) {
  .header-nav a { padding-left: 6px; padding-right: 6px; font-size: 12px; }
}

/* ============================================
   KNOWLEDGE BASE MODAL (2026-07-27)
   ============================================ */
.kb-modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 10000;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 20px; overflow-y: auto;
}
.kb-modal {
  background: var(--bg-white);
  max-width: 800px; width: 100%;
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: kbFadeIn 0.25s ease;
}
@keyframes kbFadeIn {
  from { opacity:0; transform:translateY(16px); }
  to { opacity:1; transform:translateY(0); }
}
.kb-modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; font-size: 28px;
  color: var(--text-muted); cursor: pointer;
  width: 36px; height: 36px; display: flex;
  align-items: center; justify-content: center;
  border-radius: 50%;
}
.kb-modal-close:hover { background: var(--bg-light); color: var(--text-primary); }
.kb-modal h2 {
  font-size: 1.6rem; color: var(--navy-900); margin-bottom: 24px;
  padding-bottom: 16px; border-bottom: 2px solid var(--gold-500);
}
.kb-modal-body { line-height: 1.85; color: var(--text-secondary); }
.kb-modal-body h4 {
  font-size: 1.1rem; color: var(--navy-900);
  margin: 28px 0 10px; padding-left: 12px;
  border-left: 3px solid var(--gold-500);
}
.kb-modal-body p { margin-bottom: 16px; font-size: 15px; }
.kb-modal-body ul, .kb-modal-body ol {
  margin: 8px 0 16px 20px;
}
.kb-modal-body li {
  margin-bottom: 6px; font-size: 15px; line-height: 1.7;
}
.kb-modal-body table { font-size: 14px; }
.kb-modal-body th { background: var(--navy-50); font-size: 13px; color: var(--navy-900); }
.kb-card { cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.kb-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
@media (max-width: 768px) {
  .kb-modal { padding: 24px 20px; border-radius: var(--radius-lg); }
  .kb-modal h2 { font-size: 1.3rem; }
}

/* KB card tap fix */
.kb-card { 
  cursor: pointer; 
  transition: transform 0.2s, box-shadow 0.2s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.kb-card:active { transform: scale(0.98); }
.kb-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Case cards */
.case-card { cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; user-select: none; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-card:active { transform: scale(0.98); }

/* --- Knowledge Base Download Cards --- */
.kb-download-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.08); border-color: var(--gold-500); }
.kb-download-card:hover .kb-dl-link { text-decoration: underline; }

/* --- Assessment Tabs --- */
.assess-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 32px; }
.assess-tab { flex: 1; max-width: 280px; padding: 14px 24px; background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; font-size: 15px; font-weight: 600; color: var(--text-muted); cursor: pointer; font-family: var(--font-sans); transition: all 0.25s; }
.assess-tab:hover { color: var(--navy-600); }
.assess-tab.active { color: var(--gold-500); border-bottom-color: var(--gold-500); }
@media (max-width: 560px) {
  .assess-tab { font-size: 14px; padding: 12px 16px; }
}

/* --- Family Insurance Checkbox Grid --- */
.family-ins-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.family-ins-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}
.family-ins-item:hover {
  background: var(--navy-50);
  color: var(--navy-800);
}
.family-ins-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold-500);
  cursor: pointer;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .family-ins-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 10px 12px;
  }
  .family-ins-item {
    font-size: 13px;
    padding: 4px 6px;
  }
}

/* --- Certification Cards --- */
.cert-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cert-grid { grid-template-columns: 1fr; } }

/* --- Course Tabs --- */
.course-tab { padding: 10px 20px; border: 1px solid var(--border); border-radius: 50px; background: var(--bg-white); font-size: 14px; font-weight: 500; color: var(--text-secondary); cursor: pointer; font-family: var(--font-sans); transition: all 0.25s; }
.course-tab:hover { border-color: var(--gold-500); color: var(--gold-500); }
.course-tab.active { background: var(--gold-500); color: white; border-color: var(--gold-500); }


/* --- Assessment board artifacts (B+) --- */
.assess-board { margin: 0 0 22px; }
.assess-board > h4 { font-size: 1rem; margin: 0 0 12px; color: var(--navy-900); }
.assess-board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 900px) {
  .assess-board-grid { grid-template-columns: 1fr; }
}
.assess-board-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
}
.assess-board-card ul {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.assess-board-card p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.assess-sample-cta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
}


/* Pilot delivery funnel (additive) */
.pilot-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.pilot-step { padding:18px; border:1px solid var(--border, #e5e7eb); border-radius:8px; background:#fff; }
.pilot-n { display:inline-flex; width:28px; height:28px; align-items:center; justify-content:center; border-radius:50%; background:var(--navy-900,#0B1D3A); color:#fff; font-size:13px; margin-bottom:8px; }
.pilot-list { padding-left:18px; line-height:1.7; margin:0; }
.pilot-note { font-size:13px; color:var(--text-muted,#666); margin-top:16px; }
@media (max-width:800px) {
  .pilot-steps { grid-template-columns:1fr; }
  [data-page="pilot-delivery"] .grid { grid-template-columns:1fr !important; }
}
.ciri-lead-gate { position:fixed; inset:0; z-index:10000; display:none; align-items:center; justify-content:center; }
.ciri-lead-gate.open { display:flex; }
.ciri-lead-gate-backdrop { position:absolute; inset:0; background:rgba(11,29,58,.55); }
.ciri-lead-gate-panel { position:relative; width:min(420px,92vw); background:#fff; border-radius:10px; padding:22px 22px 18px; z-index:1; box-shadow:0 12px 40px rgba(0,0,0,.2); }
.ciri-lead-gate-close { position:absolute; right:10px; top:8px; border:0; background:transparent; font-size:22px; cursor:pointer; color:#666; }
.ciri-lead-gate-panel h3 { margin:0 0 8px; font-size:18px; color:var(--navy-900,#0B1D3A); }
.ciri-lead-gate-desc { font-size:13px; color:#666; margin:0 0 14px; line-height:1.5; }
.ciri-lead-gate-panel label { display:block; font-size:12px; color:#444; margin-bottom:8px; }
.ciri-lead-gate-panel input { width:100%; margin-top:4px; padding:8px 10px; border:1px solid #ddd; border-radius:6px; box-sizing:border-box; }
.ciri-lead-gate-err { color:#b00020; font-size:13px; margin-top:8px; }
