/* ==========================================================================
   IJETPM — International Journal of Emerging Trends in Pharmacy and Medicine
   Centralized Design Token System aligned 1:1 with https://prims.igrf.co.in/
   Royal Emerald (#063521 -> #158454), Academic Navy (#102a56) & 24K Liquid Gold
   WCAG 2.2 AA Contrast | Light & Dark Mode | Volumetric 3D Interactive UI
   ========================================================================== */

:root {
  --emerald-950: #063521;
  --emerald-900: #0b4f32;
  --emerald-800: #0d5c3a;
  --emerald-700: #0f6b43;
  --emerald-500: #158454;
  --navy-950: #063521;
  --navy-900: #0b4f32;
  --navy-800: #0d5c3a;
  --navy-700: #0f6b43;
  --navy-500: #158454;
  --heading-blue: #102a56;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --gold-metal: #d4af37;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f7f4;
  --border: #d7e3dc;
  --text: #070d19;
  --text-muted: #334155;
  --success: #15803d;
  --success-bg: #f0fdf4;
  --warning: #b45309;
  --warning-bg: #fffbeb;
  --danger: #b91c1c;
  --danger-bg: #fef2f2;
  --info: #14366b;
  --info-bg: #eff6ff;
  --shadow: 0 8px 24px rgba(11, 79, 50, 0.08);
  --shadow-lg: 0 20px 44px rgba(11, 79, 50, 0.14);
  --radius: 12px;
  --radius-lg: 18px;
  --igrf-navy: #102a56;
  --igrf-emerald: #0b4f32;
  --igrf-gold: #f59e0b;
  --border-color: #d7e3dc;
  --bg-light: #f1f7f4;
  --bg-subtle: #f1f7f4;
  --text-color: #070d19;
  --text-main: #070d19;
}

[data-theme="dark"] {
  --emerald-950: #041f14;
  --emerald-900: #0b4f32;
  --emerald-700: #158454;
  --heading-blue: #e2e8f0;
  --bg: #07130e;
  --surface: #0d2118;
  --surface-alt: #112a1f;
  --border: #1e4232;
  --text: #f1f5f9;
  --text-muted: #cbd5e1;
  --success: #4ade80;
  --success-bg: rgba(21, 128, 61, 0.18);
  --warning: #fbbf24;
  --warning-bg: rgba(180, 83, 9, 0.22);
  --danger: #f87171;
  --danger-bg: rgba(185, 28, 28, 0.22);
  --info: #7dd3fc;
  --info-bg: rgba(29, 78, 216, 0.22);
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.42);
  --igrf-navy: #f8fafc;
  --igrf-emerald: #34d399;
  --igrf-gold: #fbbf24;
  --border-color: #1e4232;
  --bg-light: #112a1f;
  --bg-subtle: #112a1f;
  --text-color: #f1f5f9;
  --text-main: #f1f5f9;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-weight: 500;
  line-height: 1.62;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { flex: 1; }

h1, h2, h3, h4, .font-serif, .serif-heading {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--heading-blue);
  font-weight: 800;
  text-wrap: balance;
}
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4, [data-theme="dark"] .card-title { color: #f8fafc; }
a { color: #0f6b43; font-weight: 600; text-decoration: none; }
[data-theme="dark"] a { color: #7dd3fc; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
code {
  background: rgba(11, 79, 50, 0.08);
  color: #0b4f32;
  border: 1px solid rgba(11, 79, 50, 0.18);
  padding: 0.1rem 0.42rem;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.88em;
}
[data-theme="dark"] code { background: rgba(255, 255, 255, 0.12); color: #fff3b0; border-color: rgba(255, 243, 176, 0.35); }

/* Reading Progress Bar */
.reading-progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, #f59e0b 0%, #fde68a 50%, #34d399 100%);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.78);
  z-index: 2000; pointer-events: none; transition: width 0.08s linear;
}
.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: #fff3b0; color: #110b01; font-weight: 800; padding: 8px 14px; border-radius: 6px; z-index: 2001;
}
.skip-link:focus { left: 12px; }

/* 1. TOP ANNOUNCEMENT STRIP */
.igrf-announcement {
  background: linear-gradient(90deg, #09452c 0%, #0f6b43 50%, #09452c 100%);
  color: #ffffff; font-size: 0.82rem; font-weight: 600; padding: 7px 20px;
  border-bottom: 1px solid rgba(251, 191, 36, 0.45);
}
.igrf-announcement .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.igrf-announcement a { color: #fff3b0; font-weight: 700; }
.igrf-announcement a:hover { color: #fde68a; text-decoration: underline; }

/* 2. OFFICIAL IJETPM BANNER HEADER & STICKY 24K GOLD NAVIGATION */
.pub-header {
  background: rgba(255, 255, 255, 0.99);
  border-bottom: 2px solid #0b4f32;
  box-shadow: 0 4px 18px rgba(11, 79, 50, 0.08);
  position: sticky; top: 0; z-index: 1020;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.pub-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(6, 14, 26, 0.12);
}
[data-theme="dark"] .pub-header, [data-theme="dark"] .pub-header.is-scrolled { background: rgba(13, 33, 24, 0.96); }
.pub-brand-bar { padding: 8px 0; border-bottom: 1px solid var(--border); }
.pub-brand-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand-lockup { display: flex; align-items: center; gap: 12px; text-decoration: none !important; flex: 1 1 420px; min-width: 0; }
.brand-logo {
  width: clamp(54px, 4.8vw, 68px);
  height: clamp(54px, 4.8vw, 68px);
  border-radius: 14px;
  object-fit: contain;
  background: #ffffff;
  padding: 3px;
  flex-shrink: 0;
  border: 1.5px solid #d4af37;
  box-shadow: 0 4px 14px rgba(11, 79, 50, 0.12), 0 0 10px rgba(212, 175, 55, 0.22);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}
a:hover .brand-logo {
  transform: perspective(550px) rotateY(28deg) rotateX(10deg) scale(1.06);
  filter: drop-shadow(0 10px 18px rgba(212, 175, 55, 0.55));
}
.brand-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.04rem, 1.42vw, 1.32rem);
  font-weight: 800; line-height: 1.16; color: #0b4f32;
}
[data-theme="dark"] .brand-title { color: #fff3b0; }
.brand-sub {
  font-size: clamp(0.72rem, 0.86vw, 0.81rem);
  color: #102a56; font-weight: 700; margin-top: 2px;
}
[data-theme="dark"] .brand-sub { color: #d1fae5; }
.ijetpm-banner-showcase {
  background: #ffffff;
  border-bottom: 2px solid rgba(212, 175, 55, 0.55);
  padding: 10px 0;
}
[data-theme="dark"] .ijetpm-banner-showcase { background: #0a1c14; border-bottom-color: rgba(212, 175, 55, 0.42); }
.ijetpm-banner-link { display: inline-flex; align-items: center; max-width: 780px; flex: 1 1 320px; text-decoration: none !important; }
.ijetpm-banner-img {
  width: 100%; max-width: 740px; height: auto; max-height: 68px; object-fit: contain;
  border-radius: 8px; background: #ffffff; padding: 2px 6px;
  border: 1.5px solid rgba(212, 175, 55, 0.55);
  box-shadow: 0 3px 12px rgba(11, 79, 50, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ijetpm-banner-link:hover .ijetpm-banner-img { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(212, 175, 55, 0.32); }
.pub-brand-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
  flex-shrink: 0;
}
.pub-nav-bar { padding: 7px 0; background: rgba(255, 255, 255, 0.97); }
[data-theme="dark"] .pub-nav-bar { background: rgba(11, 30, 22, 0.97); }

/* 24K Liquid Gold Navigation Pills (Exact PRIMS Identity) */
.pub-nav { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pub-nav a, .pub-nav .nav-dropdown-btn {
  padding: 6px 12px; border-radius: 999px; font-size: 0.79rem; font-weight: 800;
  color: #110b01 !important; cursor: pointer;
  background: linear-gradient(135deg, #c8961e 0%, #f0cb5c 22%, #fff3b0 48%, #e2b63b 70%, #f6d872 88%, #b8860b 100%) !important;
  background-size: 220% 220% !important;
  border: 1px solid #c99d2e !important;
  text-shadow: 0 1px 0 rgba(255, 253, 232, 0.82);
  box-shadow: inset 0 1px 1px rgba(255, 254, 240, 0.94), inset 0 -2px 3px rgba(133, 94, 15, 0.32), 0 3px 10px rgba(212, 175, 55, 0.42);
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  white-space: nowrap; position: relative; overflow: hidden; isolation: isolate;
  animation: goldSurfaceGlow 4.5s ease-in-out infinite;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  text-decoration: none !important;
}
.pub-nav a:hover, .pub-nav a:focus, .pub-nav .nav-dropdown-btn:hover {
  background: linear-gradient(135deg, #d4a428 0%, #f5dc82 24%, #fff9d6 48%, #e6be4b 72%, #fff0a8 90%, #b8860b 100%) !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: inset 0 1px 2px rgba(255, 255, 245, 0.98), 0 7px 18px rgba(212, 175, 55, 0.62);
}
.pub-nav a.active-link {
  border: 2px solid #0b4f32 !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 245, 0.98), 0 0 0 2px rgba(11, 79, 50, 0.22), 0 5px 16px rgba(212, 175, 55, 0.65);
}

/* Emerald Sub-Bar Quick Chips */
.sub-category-bar { background-color: #eefcf4; border-bottom: 1px solid #a7f3d0; padding: 7px 0; font-size: 0.82rem; }
[data-theme="dark"] .sub-category-bar { background-color: #0b2419; border-bottom-color: #1e4232; }
.sub-category-scroll { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.48rem; }
.category-chip {
  color: #110b01 !important; text-decoration: none !important; font-weight: 800; font-size: 0.76rem;
  padding: 4px 12px; border-radius: 20px;
  background: linear-gradient(135deg, #c8961e 0%, #f0cb5c 22%, #fff3b0 48%, #e2b63b 70%, #f6d872 88%, #b8860b 100%);
  background-size: 220% 220%; border: 1px solid #c99d2e;
  box-shadow: inset 0 1px 1px rgba(255, 254, 240, 0.92), 0 2px 8px rgba(212, 175, 55, 0.34);
  animation: goldSurfaceGlow 4.5s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex; align-items: center; gap: 5px; position: relative; overflow: hidden; isolation: isolate;
}
.category-chip:hover { transform: translateY(-2px); box-shadow: 0 5px 14px rgba(212, 175, 55, 0.56); }

/* 3. HERO & 3D VOLUMETRIC JOURNAL COVER SHOWCASE */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; width: 100%; }
.hero, .hero-books-dark {
  position: relative; overflow: hidden; perspective: 1400px;
  background-color: #0b4f32;
  background-image:
    radial-gradient(circle at 78% 28%, rgba(251, 191, 36, 0.24) 0%, transparent 48%),
    radial-gradient(circle at 16% 82%, rgba(52, 211, 153, 0.24) 0%, transparent 45%),
    radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.30) 0%, transparent 55%),
    linear-gradient(135deg, #063521 0%, #0b4f32 45%, #158454 100%);
  color: #ffffff; padding: 54px 20px 70px; border-bottom: 4px solid #f59e0b;
}
.hero > .container, .hero-books-dark > .container { position: relative; z-index: 2; }
.hero h1, .hero-books-dark h1 {
  color: #ffffff !important; text-shadow: 0 2px 8px rgba(2, 24, 15, 0.45);
  font-size: clamp(1.7rem, 2.9vw, 2.48rem); margin: 10px 0 12px; line-height: 1.16;
}
.hero h2 { color: #ffffff !important; }
.hero-title-accent {
  background: linear-gradient(120deg, #ffffff 0%, #fffbeb 38%, #fef3c7 72%, #fde68a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% auto;
  filter: drop-shadow(0 2px 6px rgba(4, 34, 22, 0.35)); animation: goldTextFlow 7s ease-in-out infinite;
}
@keyframes goldTextFlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero p.lead { font-size: 1.02rem; color: #f8fafc !important; max-width: 680px; margin: 0 0 20px; text-shadow: 0 1px 2px rgba(2, 24, 15, 0.45); }
.eyebrow, .hero-badge-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 243, 176, 0.65); background: rgba(255, 255, 255, 0.14);
  color: #fff3b0 !important; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.22); backdrop-filter: blur(8px); position: relative; overflow: hidden; isolation: isolate;
}
.page-hero {
  background: linear-gradient(135deg, #063521 0%, #0b4f32 55%, #158454 100%);
  color: #ffffff; padding: 34px 0 38px; border-bottom: 3px solid #f59e0b;
}
.page-hero h1 { color: #ffffff !important; margin: 8px 0 6px; font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.page-hero p { color: #ecfdf5; margin: 0; max-width: 840px; font-size: 0.96rem; }

/* Ambient 3D Floating Volumes & Constellation Canvas */
.hero-3d-ambient { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.hero-3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.96; }
.floating-book-3d {
  position: absolute; border-radius: 5px 12px 12px 5px;
  border: 1.5px solid rgba(255, 240, 168, 0.72);
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.34) 0%, rgba(11, 79, 50, 0.78) 52%, rgba(110, 231, 183, 0.32) 100%);
  box-shadow: -16px 24px 42px rgba(2, 24, 15, 0.52), 0 0 24px rgba(251, 191, 36, 0.22), inset 8px 0 0 rgba(251, 191, 36, 0.82);
  transform-style: preserve-3d; will-change: transform;
}
.floating-book-3d::before {
  content: ''; position: absolute; top: 15%; left: 20%; right: 14%; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 246, 214, 0.9), rgba(251, 191, 36, 0.35));
  box-shadow: 0 12px 0 rgba(255, 255, 255, 0.4), 0 22px 0 rgba(255, 255, 255, 0.26);
}
.floating-book-3d::after {
  content: ''; position: absolute; top: 4px; right: -10px; width: 10px; height: calc(100% - 8px);
  background: repeating-linear-gradient(90deg, rgba(255,253,245,0.92) 0 1.5px, rgba(203,213,225,0.68) 1.5px 3px);
  border-radius: 0 4px 4px 0;
}
.floating-book-3d.fb-1 { width: 88px; height: 118px; top: 8%; left: 2%; opacity: 0.85; animation: floatBook3D-A 7.2s ease-in-out infinite; }
.floating-book-3d.fb-2 { width: 70px; height: 96px; bottom: 8%; left: 43%; opacity: 0.78; animation: floatBook3D-B 8.4s ease-in-out infinite; }
.floating-book-3d.fb-3 { width: 96px; height: 130px; top: 9%; right: 2%; opacity: 0.82; animation: floatBook3D-C 9.4s ease-in-out infinite; }
.floating-book-3d.fb-4 { width: 62px; height: 84px; bottom: 13%; left: 14%; opacity: 0.7; animation: floatBook3D-B 6.8s ease-in-out infinite reverse; }
@keyframes floatBook3D-A {
  0%, 100% { transform: perspective(850px) rotateX(28deg) rotateY(-40deg) rotateZ(-10deg) translateY(0px); }
  50%      { transform: perspective(850px) rotateX(-8deg) rotateY(-12deg) rotateZ(6deg) translateY(-28px) translateZ(28px); }
}
@keyframes floatBook3D-B {
  0%, 100% { transform: perspective(850px) rotateX(-22deg) rotateY(36deg) rotateZ(10deg) translateY(0px); }
  50%      { transform: perspective(850px) rotateX(18deg) rotateY(6deg) rotateZ(-8deg) translateY(-22px) translateZ(22px); }
}
@keyframes floatBook3D-C {
  0%, 100% { transform: perspective(850px) rotateX(24deg) rotateY(42deg) rotateZ(8deg) translateY(0px); }
  50%      { transform: perspective(850px) rotateX(-16deg) rotateY(10deg) rotateZ(-9deg) translateY(22px) translateZ(26px); }
}

/* Flagship 3D Volumetric Journal Cover Card */
.flagship-3d-card {
  border-radius: 18px !important; border: 1.5px solid rgba(245, 158, 11, 0.55) !important;
  background: #ffffff !important; color: #070d19 !important; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42), 0 0 40px rgba(245, 158, 11, 0.16) !important;
}
.book-studio-backdrop {
  position: relative; border-radius: 12px; border: 1px solid #d7e3dc;
  background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.98) 0%, rgba(244, 252, 248, 0.94) 52%, rgba(219, 238, 229, 0.85) 100%);
  padding: 20px 12px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden;
}
.book-3d-stage { perspective: 950px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 16px 12px; position: relative; z-index: 1; }
.book-3d-interactive-stage { cursor: grab; user-select: none; touch-action: pan-y; }
.book-3d-interactive-stage.is-dragging { cursor: grabbing; }
.book-3d-object {
  --book-depth: 28px; position: relative; display: inline-block; transform-style: preserve-3d;
  transform: rotateY(-24deg) rotateX(8deg);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); border-radius: 3px 8px 8px 3px; will-change: transform;
  animation: flagshipBookFloat 5s ease-in-out infinite;
}
.book-3d-autospin { animation: bookSpin360 8.5s linear infinite !important; }
.book-3d-object.is-dragging, .book-3d-object.is-manual-pose, .book-3d-stage:hover .book-3d-object:not(.is-dragging):not(.is-manual-pose) { animation: none; }
.book-3d-stage:hover .book-3d-object:not(.is-dragging):not(.is-manual-pose) { transform: rotateY(-36deg) rotateX(10deg) translateY(-12px) translateZ(26px); }
.book-3d-front {
  position: relative; display: block; background: #063521; border-radius: 3px 8px 8px 3px;
  transform: translateZ(calc(var(--book-depth) / 2)); transform-origin: left center; transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: inset 6px 0 12px rgba(4, 34, 22, 0.28), 0 16px 32px rgba(4, 34, 22, 0.3); overflow: hidden;
}
.book-3d-inner-page {
  position: absolute; inset: 3px 3px 3px 4px;
  background: linear-gradient(135deg, #fffdf7 0%, #f8f4e8 60%, #efe7d2 100%);
  border: 1px solid #d4c49a; border-radius: 2px 6px 6px 2px;
  transform: translateZ(calc(var(--book-depth) / 2 - 2px)); pointer-events: none;
}
.book-3d-inner-page::after {
  content: 'IJETPM ISSN 3107-4103'; position: absolute; top: 50%; right: 6px;
  transform: translateY(-50%) rotate(90deg); font-size: 6px; letter-spacing: 0.14em; font-weight: 800; color: rgba(11, 79, 50, 0.65); white-space: nowrap;
}
.book-3d-spine {
  position: absolute; top: 0; left: 0; width: var(--book-depth); height: 100%;
  background: linear-gradient(180deg, #f59e0b 0%, #fff3b0 4%, #d4af37 7%, transparent 7%, transparent 93%, #d4af37 93%, #fff3b0 96%, #f59e0b 100%), linear-gradient(90deg, #073823 0%, #0f6b43 45%, #16a360 76%, #0b4f32 100%);
  transform-origin: left center; transform: rotateY(-90deg) translateX(calc(var(--book-depth) / -2)); border-radius: 3px 0 0 3px; pointer-events: none;
}
.book-3d-pages {
  position: absolute; top: 4px; right: 0; width: calc(var(--book-depth) - 4px); height: calc(100% - 8px);
  background: repeating-linear-gradient(90deg, #fffdf7 0px, #fffdf7 1.5px, #cbd5e1 1.5px, #cbd5e1 2.5px);
  transform-origin: right center; transform: rotateY(90deg) translateX(calc(var(--book-depth) / 2 - 2px)); pointer-events: none;
}
.book-3d-back {
  position: absolute; inset: 0; background: linear-gradient(145deg, #0b4f32 0%, #158454 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.65); border-radius: 3px 8px 8px 3px;
  transform: translateZ(calc(var(--book-depth) / -2)); box-shadow: -16px 22px 34px rgba(4, 34, 22, 0.36); pointer-events: none;
}
.book-3d-sheen {
  position: absolute; inset: 0; border-radius: 3px 8px 8px 3px;
  background: linear-gradient(118deg, rgba(255,255,255,0) 15%, rgba(255,255,255,0.68) 48%, rgba(255,255,255,0) 78%);
  opacity: 0; transform: translateX(-85%); transition: opacity 0.45s ease, transform 0.72s cubic-bezier(0.22, 1, 0.36, 1); pointer-events: none; z-index: 4;
}
.book-3d-stage:hover .book-3d-sheen { opacity: 1; transform: translateX(85%); }
.book-3d-shadow {
  width: 82%; height: 14px; margin-top: 8px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(4, 34, 22, 0.44) 0%, rgba(11, 79, 50, 0.18) 48%, transparent 76%);
  filter: blur(4px); pointer-events: none;
}
.book-3d-controls {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px;
  background: rgba(11, 79, 50, 0.08); padding: 4px 7px; border-radius: 999px; border: 1px solid rgba(212, 175, 55, 0.48); margin-top: 8px;
}
@keyframes flagshipBookFloat {
  0%, 100% { transform: rotateY(-24deg) rotateX(8deg) translateY(0px); }
  50%      { transform: rotateY(8deg) rotateX(-4deg) translateY(-12px) translateZ(16px); }
}
@keyframes bookSpin360 { 0% { transform: rotateX(8deg) rotateY(0deg); } 100% { transform: rotateX(8deg) rotateY(360deg); } }

/* 4. CARDS, KPIS, 3D TILT SPOTLIGHT & SCROLL REVEAL */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); margin-bottom: 20px;
}
.card-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); flex-wrap: wrap;
}
.card-title { margin: 0; font-size: 1.08rem; font-weight: 800; color: var(--heading-blue); }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.kpi-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow); border-top: 3px solid #0f6b43;
}
.kpi-card.accent { border-top-color: #f59e0b; }
.kpi-label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); font-weight: 800; }
.kpi-value { font-family: 'Playfair Display', Georgia, serif; font-size: 1.78rem; font-weight: 800; color: var(--text); margin: 5px 0 2px; line-height: 1.1; }
.kpi-sub { font-size: 0.78rem; color: var(--text-muted); }

.tilt-3d-card {
  position: relative; transform-style: preserve-3d;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease, border-color 0.25s ease;
  will-change: transform;
}
.tilt-3d-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(245, 158, 11, 0.2), rgba(16, 185, 129, 0.08) 42%, transparent 62%);
  opacity: 0; transition: opacity 0.25s ease; pointer-events: none; z-index: 2;
}
.tilt-3d-card:hover {
  box-shadow: 0 22px 44px rgba(11, 79, 50, 0.18), 0 0 24px rgba(212, 175, 55, 0.22) !important;
  border-color: rgba(212, 175, 55, 0.72) !important;
}
.tilt-3d-card:hover::after { opacity: 1; }
.reveal-3d {
  opacity: 0; transform: perspective(900px) rotateX(12deg) translateY(34px) scale(0.96);
  transform-origin: center top; transition: opacity 0.62s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-3d.is-visible { opacity: 1; transform: perspective(900px) rotateX(0deg) translateY(0px) scale(1); }

/* 5. EDITORIAL BOARD MEMBERS PREMIUM CARDS (Exact IJMGR /EBMs Pattern) */
.ebm-section-heading {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 18px; border-radius: 10px;
  background: linear-gradient(90deg, #063521 0%, #0b4f32 60%, #158454 100%);
  color: #ffffff !important; border-left: 5px solid #f59e0b;
  margin: 26px 0 16px;
}
.ebm-section-heading h2 { color: #ffffff !important; margin: 0; font-size: 1.25rem; }
.ebm-profile-card {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-left: 5px solid #0b4f32;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: 0 8px 26px rgba(11, 79, 50, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.ebm-profile-card.is-chief {
  border-color: #d4af37;
  border-left: 6px solid #d4af37;
  background: linear-gradient(180deg, #fffdf5 0%, #f4fbf7 32%, #ffffff 100%);
}
[data-theme="dark"] .ebm-profile-card.is-chief { background: linear-gradient(180deg, #163426 0%, #0d2118 60%); }
.ebm-profile-card:hover { border-color: #d4af37; box-shadow: 0 16px 38px rgba(11, 79, 50, 0.14); }
.ebm-photo-frame {
  width: 140px; height: 172px; border-radius: 12px; border: 2px solid #d4af37;
  background: linear-gradient(180deg, #ffffff 0%, #eefcf4 100%);
  padding: 4px; box-shadow: 0 6px 18px rgba(11, 79, 50, 0.14);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.ebm-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 8px; }
.ebm-affil { font-size: 0.93rem; color: var(--text); margin: 6px 0; line-height: 1.55; }
.ebm-meta-line { font-size: 0.86rem; margin: 4px 0; color: var(--text-muted); }
.ebm-id-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 11px; border-radius: 999px; font-size: 0.75rem; font-weight: 800;
  border: 1px solid #0b4f32; background: #eefcf4; color: #063521 !important;
  text-decoration: none !important; transition: all 0.18s ease;
}
.ebm-id-pill:hover { background: #0b4f32; color: #fff3b0 !important; transform: translateY(-1px); }
.ebm-id-pill.orcid { border-color: #65a30d; background: #f7fee7; color: #365314 !important; }
.ebm-id-pill.scopus { border-color: #ea580c; background: #fff7ed; color: #9a3412 !important; }
.ebm-id-pill.wos { border-color: #7c3aed; background: #f5f3ff; color: #5b21b6 !important; }
.ebm-id-pill.scholar { border-color: #1d4ed8; background: #eff6ff; color: #1e3a8a !important; }
.ebm-id-pill.rg { border-color: #0d9488; background: #f0fdfa; color: #115e59 !important; }
.ebm-id-pill.linkedin { border-color: #0369a1; background: #f0f9ff; color: #0c4a6e !important; }

.ebm-section-header {
  display: flex; align-items: center; gap: 12px; margin: 28px 0 16px;
  padding-bottom: 10px; border-bottom: 2px solid #0b4f32;
}
.ebm-section-header h2 { margin: 0; font-size: 1.48rem; color: var(--heading-blue); }
.ebm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(460px, 1fr)); gap: 20px; }
.ebm-grid-featured { grid-template-columns: 1fr; max-width: 820px; }
.ebm-card {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 16px;
  padding: 20px; box-shadow: var(--shadow); display: flex; gap: 20px; align-items: flex-start;
  border-left: 5px solid #0b4f32; transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.ebm-card.is-chief {
  border-left: 5px solid #d4af37;
  background: linear-gradient(135deg, #fffdf5 0%, #f0fdf4 40%, #ffffff 100%);
  box-shadow: 0 14px 36px rgba(11, 79, 50, 0.13), 0 0 20px rgba(212, 175, 55, 0.15);
}
[data-theme="dark"] .ebm-card.is-chief { background: linear-gradient(135deg, #163024 0%, #0d2118 100%); }
.ebm-photo-wrap {
  width: 124px; height: 152px; flex-shrink: 0; border-radius: 12px; overflow: hidden;
  border: 2px solid #d4af37; background: #eefcf4; box-shadow: 0 6px 16px rgba(11, 79, 50, 0.16);
  display: flex; align-items: center; justify-content: center;
}
.ebm-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.ebm-photo-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0b4f32, #158454); color: #fff3b0;
  font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 800;
}
.ebm-info { flex: 1; min-width: 0; }
.ebm-name { font-family: 'Playfair Display', Georgia, serif; font-size: 1.24rem; font-weight: 800; color: var(--heading-blue); margin: 4px 0 6px; }
.ebm-affiliation { font-size: 0.89rem; color: var(--text); margin: 0 0 8px; line-height: 1.5; }
.ebm-meta-row { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 5px; word-break: break-word; }
.ebm-id-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.id-pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 700; text-decoration: none !important; transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.id-pill:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14); }
.id-pill-inst { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.id-pill-orcid { background: #f4fbe8; color: #4d7c0f; border: 1px solid #a3e635; }
.id-pill-scopus { background: #fff7ed; color: #c2410c; border: 1px solid #fdba74; }
.id-pill-wos { background: #f5f3ff; color: #6d28d9; border: 1px solid #c4b5fd; }
.id-pill-scholar { background: #eff6ff; color: #1d4ed8; border: 1px solid #93c5fd; }
.id-pill-rg { background: #ecfeff; color: #0f766e; border: 1px solid #5eead4; }
.id-pill-linkedin { background: #eff6ff; color: #0369a1; border: 1px solid #7dd3fc; }

/* 6. UNIFIED 24K LIQUID-GOLD BUTTON SYSTEM */
.btn, .btn-accent, .btn-gold, .btn-primary, .btn-navy, .btn-outline, .btn-danger,
.btn-hero-primary, .btn-hero-outline, .book-3d-ctrl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 17px; border-radius: 999px; font-size: 0.85rem; font-weight: 800; cursor: pointer;
  text-decoration: none !important; position: relative; overflow: hidden; isolation: isolate; flex-shrink: 0;
  background: linear-gradient(135deg, #c8961e 0%, #f0cb5c 22%, #fff3b0 48%, #e2b63b 70%, #f6d872 88%, #b8860b 100%) !important;
  background-size: 220% 220% !important; border: 1px solid #c99d2e !important; color: #110b01 !important;
  text-shadow: 0 1px 0 rgba(255, 253, 232, 0.82);
  box-shadow: inset 0 1px 1px rgba(255, 254, 240, 0.94), inset 0 -2px 3px rgba(133, 94, 15, 0.34), 0 4px 12px rgba(212, 175, 55, 0.45);
  animation: goldSurfaceGlow 4.5s ease-in-out infinite;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.btn-hero-primary, .btn-hero-outline { padding: 11px 24px; font-size: 0.93rem; }
.book-3d-ctrl-btn { font-size: 0.7rem; padding: 3px 9px; }
.btn:hover:not(:disabled), .btn-hero-primary:hover, .btn-hero-outline:hover, .book-3d-ctrl-btn:hover, .book-3d-ctrl-btn.active {
  background: linear-gradient(135deg, #d4a428 0%, #f5dc82 24%, #fff9d6 48%, #e6be4b 72%, #fff0a8 90%, #b8860b 100%) !important;
  color: #0d0902 !important; transform: translateY(-2px) scale(1.02);
  box-shadow: inset 0 1px 2px rgba(255, 255, 245, 0.98), 0 8px 22px rgba(212, 175, 55, 0.62);
}
.btn-primary, .btn-navy { border: 1.5px solid #0b4f32 !important; }
.btn-danger { color: #991b1b !important; border: 1.5px solid #b91c1c !important; }
.btn-sm { padding: 5px 11px; font-size: 0.77rem; }
.btn:disabled { opacity: 0.6; animation: none !important; cursor: not-allowed; }
.btn::before, .btn-hero-primary::before, .btn-hero-outline::before, .pub-nav a::before, .category-chip::before {
  content: ''; position: absolute; top: 0; left: 6%; right: 6%; height: 44%; border-radius: 0 0 50% 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.36) 0%, rgba(255,255,255,0.04) 100%);
  pointer-events: none; z-index: -1;
}
.btn:not(:disabled)::after, .pub-nav a::after, .category-chip::after {
  content: ''; position: absolute; top: -35%; left: -85%; width: 48%; height: 170%;
  background: linear-gradient(110deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.28) 35%, rgba(255,255,255,0.68) 50%, rgba(255,255,255,0.28) 65%, rgba(255,255,255,0) 100%);
  transform: skewX(-24deg); animation: goldMetallicShine 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite; pointer-events: none; z-index: -1;
}
@keyframes goldMetallicShine { 0% { left: -85%; opacity: 0; } 12% { opacity: 1; } 48% { left: 135%; opacity: 1; } 55%, 100% { left: 135%; opacity: 0; } }
@keyframes goldSurfaceGlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Badges & Alerts */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; flex-shrink: 0;
}
.badge-success { background: linear-gradient(135deg, #064e3b, #059669); color: #ffffff; border: 1px solid #34d399; }
.badge-warning { background: linear-gradient(135deg, #d97706, #f59e0b); color: #ffffff; border: 1px solid #fde68a; }
.badge-gold    { background: linear-gradient(135deg, #d4af37, #fff8d6, #c99d2e); color: #110b01; border: 1px solid #c99d2e; }
.badge-danger  { background: linear-gradient(135deg, #7f1d1d, #dc2626); color: #ffffff; border: 1px solid #f87171; }
.badge-info    { background: linear-gradient(135deg, #0c4a6e, #0284c7); color: #ffffff; border: 1px solid #38bdf8; }
.badge-muted   { background: #e2e8f0; color: #334155; border: 1px solid #cbd5e1; }

.alert { padding: 13px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 0.9rem; border-left: 4px solid var(--info); background: var(--info-bg); color: var(--text); }
.alert-success { border-left-color: var(--success); background: var(--success-bg); }
.alert-warning { border-left-color: var(--warning); background: var(--warning-bg); }
.alert-danger  { border-left-color: var(--danger); background: var(--danger-bg); }

/* 7. AUTHENTICATED WORKSPACE SHELL */
.app-shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 266px; flex-shrink: 0;
  background: linear-gradient(180deg, #063521 0%, #0b4f32 100%);
  color: #e2e8f0; display: flex; flex-direction: column;
  border-right: 2px solid rgba(212, 175, 55, 0.45);
}
.sidebar-head { padding: 16px; border-bottom: 1px solid rgba(255, 243, 176, 0.18); }
.sidebar-nav { flex: 1; padding: 12px 10px; overflow-y: auto; }
.nav-section { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: #fde68a; font-weight: 800; padding: 11px 12px 5px; }
.sidebar-link {
  display: flex; align-items: center; gap: 9px; color: #ecfdf5 !important; padding: 8px 12px;
  border-radius: 8px; font-size: 0.84rem; font-weight: 600; margin-bottom: 2px; transition: all 0.16s ease;
}
.sidebar-link:hover, .sidebar-link.active { background: rgba(245, 158, 11, 0.22); color: #fff3b0 !important; text-decoration: none; }
.sidebar-link.active { border-left: 3px solid #f59e0b; font-weight: 800; }
.sidebar-foot { padding: 12px 16px; border-top: 1px solid rgba(255, 243, 176, 0.18); font-size: 0.74rem; color: #d1fae5; }
.main-area { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  background: var(--surface); border-bottom: 2px solid rgba(11, 79, 50, 0.18);
  padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.topbar-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; font-weight: 800; color: var(--heading-blue); margin: 0; }
.topbar-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.page-body { padding: 24px; max-width: 1440px; width: 100%; margin: 0 auto; flex: 1; }

/* 8. FORMS, TABLES & SUBMISSION WIZARD (Always form-safe, zero 3D wobble) */
.no-3d-form-section, .no-3d-form-section:hover { transform: none !important; }
.no-3d-form-section::after { display: none !important; }
.form-group { margin-bottom: 14px; }
label { display: block; font-size: 0.84rem; font-weight: 700; margin-bottom: 5px; color: var(--text); }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="url"],
input[type="date"], input[type="datetime-local"], input[type="file"], input[type="search"], select, textarea {
  width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface); color: var(--text); font-size: 0.9rem; font-family: inherit;
}
input:focus, select:focus, textarea:focus { border-color: #d4af37; box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.22); outline: none; }
textarea { min-height: 92px; resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.help-text { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; font-size: 0.88rem; }
.checkbox-row input[type="checkbox"], .checkbox-row input[type="radio"] { width: auto; margin-top: 3px; flex-shrink: 0; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--heading-blue); background: var(--surface-alt); font-weight: 800; }
[data-theme="dark"] th { color: #fde68a; }
tr:hover td { background: var(--surface-alt); }

/* Article Cards */
.article-card {
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid #0b4f32;
  border-radius: 12px; padding: 18px 20px; margin-bottom: 16px; box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.article-card:hover { transform: translateY(-2px); border-left-color: #f59e0b; box-shadow: var(--shadow-lg); }
.article-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.14rem; font-weight: 800; margin: 4px 0 6px; line-height: 1.3; }
.article-authors { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 0.78rem; color: var(--text-muted); }

/* Wizard Progress Pills */
.wizard-steps { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.wizard-step-pill {
  padding: 6px 12px; border-radius: 999px; font-size: 0.76rem; font-weight: 700;
  border: 1px solid var(--border); background: var(--surface-alt); color: var(--text-muted); cursor: pointer;
}
.wizard-step-pill.is-active { background: #0b4f32; color: #fff3b0; border-color: #d4af37; }
.wizard-step-pill.is-done { background: #dcfce7; color: #166534; border-color: #86efac; }
.wizard-pane { display: none; }
.wizard-pane.is-active { display: block; }

/* 9. EXECUTIVE STAKEHOLDER ROADMAP & PORTAL ACCESS POPUP (Matched to books.igrf.co.in) */
.prims-modal-backdrop {
  position: fixed; inset: 0; z-index: 9990; background: rgba(4, 24, 15, 0.78);
  backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center;
  padding: 12px; opacity: 0; transition: opacity 0.24s ease;
}
.prims-modal-backdrop[hidden] { display: none !important; }
.prims-modal-backdrop.is-open { opacity: 1; }
.prims-modal-dialog {
  width: 100%; max-width: min(1320px, 96vw); max-height: 94vh;
  display: flex; flex-direction: column; overflow: hidden;
  background: #f8faf9; border-radius: 18px; border: 2px solid #d4af37;
  box-shadow: 0 28px 80px rgba(4, 34, 22, 0.52), 0 0 0 1px rgba(255, 243, 176, 0.42);
  transform: translateY(16px) scale(0.97); transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-theme="dark"] .prims-modal-dialog { background: #0a1b13; }
.prims-modal-backdrop.is-open .prims-modal-dialog { transform: translateY(0) scale(1); }
.prims-modal-header, .roadmap-hero-header {
  background: linear-gradient(135deg, #062f1e 0%, #0b4f32 52%, #158454 100%);
  color: #ffffff; border-bottom: 2.5px solid #f59e0b; padding: 12px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-shrink: 0;
}
.prims-modal-close {
  background: rgba(255, 255, 255, 0.14); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px; width: 34px; height: 34px; font-size: 1.35rem; line-height: 1;
  cursor: pointer; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
}
.prims-modal-close:hover { background: #f59e0b; color: #062f1e; border-color: #fde68a; }
.prims-modal-body { padding: 14px 16px; overflow-y: auto; flex: 1 1 auto; }
.prims-modal-footer {
  padding: 10px 18px; border-top: 1px solid var(--border); background: var(--surface);
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; flex-shrink: 0;
}

.roadmap-top-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 12px; margin-bottom: 12px;
}
.roadmap-portal-access-card {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px;
  padding: 12px 16px; box-shadow: 0 4px 14px rgba(11, 79, 50, 0.06);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.roadmap-role-pill {
  background: linear-gradient(135deg, #c8961e 0%, #f0cb5c 24%, #fff3b0 50%, #e2b63b 76%, #b8860b 100%);
  border: 1px solid #c99d2e; color: #110b01 !important; font-weight: 800; font-size: 0.75rem;
  padding: 5px 11px; border-radius: 8px; text-decoration: none !important;
  display: inline-flex; align-items: center; gap: 5px;
  box-shadow: inset 0 1px 1px rgba(255, 254, 240, 0.92), 0 2px 6px rgba(212, 175, 55, 0.32);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.roadmap-role-pill:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 2px rgba(255, 255, 245, 0.98), 0 4px 12px rgba(212, 175, 55, 0.55);
}
.roadmap-lookup-row { display: flex; gap: 6px; align-items: stretch; flex-wrap: nowrap; }
.roadmap-lookup-row select { max-width: 190px; font-size: 0.75rem; font-weight: 700; padding: 6px 8px; }
.roadmap-lookup-row input { flex: 1; min-width: 120px; font-size: 0.76rem; padding: 6px 9px; }

.roadmap-decision-matrix {
  background: linear-gradient(135deg, #ffffff 0%, #fffdf6 100%);
  border: 1.5px solid #d4af37; border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(11, 79, 50, 0.07);
}
[data-theme="dark"] .roadmap-decision-matrix { background: linear-gradient(135deg, #0d2118 0%, #112a1f 100%); }
.roadmap-rule-banner-pill {
  background: linear-gradient(135deg, #0b4f32 0%, #158454 100%); color: #ffffff !important;
  font-size: 0.73rem; font-weight: 800; padding: 5px 12px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 4px 12px rgba(11, 79, 50, 0.25);
}
.roadmap-cards-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
}
.roadmap-stakeholder-card {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 12px;
  padding: 11px 13px; display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.roadmap-stakeholder-card:hover {
  border-color: #0b4f32;
  background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 60%, #fffbeb 100%);
  box-shadow: 0 8px 20px rgba(11, 79, 50, 0.12); transform: translateY(-2px);
}
[data-theme="dark"] .roadmap-stakeholder-card:hover { background: #133123; }
.roadmap-persona-icon {
  width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 800; flex-shrink: 0; border: 1px solid rgba(11, 79, 50, 0.16);
}
.roadmap-persona-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important; font-size: 0.86rem !important; font-weight: 800 !important;
  color: var(--heading-blue) !important; line-height: 1.2; margin: 0 0 2px;
}
.roadmap-persona-flow {
  font-size: 0.74rem; font-weight: 600; color: var(--text); line-height: 1.4; margin: 7px 0 9px;
}
.roadmap-persona-flow strong { color: var(--igrf-emerald); }
.roadmap-card-links { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.roadmap-card-links .btn { font-size: 0.71rem !important; font-weight: 800; padding: 4px 9px; border-radius: 7px; }

.roadmap-floating-trigger {
  position: fixed; right: 18px; bottom: 22px; z-index: 1025;
  background: linear-gradient(135deg, #0b4f32 0%, #158454 100%); color: #fff3b0 !important;
  border: 2px solid #f59e0b; border-radius: 999px; padding: 10px 18px;
  font-weight: 800; font-size: 0.83rem; cursor: pointer;
  box-shadow: 0 10px 28px rgba(7, 56, 35, 0.36), 0 0 16px rgba(245, 158, 11, 0.35);
  display: inline-flex; align-items: center; gap: 8px; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.roadmap-floating-trigger:hover {
  transform: translateY(-2px); color: #ffffff !important;
  box-shadow: 0 14px 32px rgba(7, 56, 35, 0.45), 0 0 22px rgba(245, 158, 11, 0.55);
}
@media (max-width: 1040px) {
  .roadmap-top-grid { grid-template-columns: 1fr; }
  .roadmap-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .roadmap-cards-grid { grid-template-columns: 1fr; }
  .roadmap-lookup-row { flex-direction: column; }
  .roadmap-lookup-row select { max-width: 100%; }
  .roadmap-floating-trigger { bottom: 16px; right: 12px; padding: 8px 13px; font-size: 0.78rem; }
}

/* 10. FOOTER WITH SEPARATE OFFICIAL IGRF COMPANY LOGO */
.pub-footer {
  background: linear-gradient(135deg, #09452c 0%, #0e633e 52%, #158454 100%);
  color: #ffffff; padding: 44px 20px 24px; margin-top: 48px;
  border-top: 3px solid #f59e0b; font-size: 0.86rem;
}
.pub-footer a { color: #ffffff; font-weight: 500; }
.pub-footer a:hover { color: #fff3b0; }
.footer-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 24px; }
.footer-bottom {
  max-width: 1240px; margin: 26px auto 0; padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.79rem; color: #ecfdf5;
}
.igrf-publisher-logo {
  width: 68px; height: 68px; border-radius: 50%; object-fit: contain; background: #ffffff;
  padding: 3px; border: 2px solid #d4af37; box-shadow: 0 4px 12px rgba(0,0,0,0.24); flex-shrink: 0;
}

.mobile-menu-btn { display: none; }

@media (max-width: 960px) {
  .sidebar { position: fixed; left: -275px; top: 0; bottom: 0; z-index: 1050; transition: left 0.2s; }
  .sidebar.open { left: 0; }
  .mobile-menu-btn { display: inline-flex; }
  .ebm-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .floating-book-3d.fb-2, .floating-book-3d.fb-3, .floating-book-3d.fb-4 { display: none; }
  .ebm-card { flex-direction: column; align-items: center; text-align: center; }
  .ebm-profile-card { grid-template-columns: 1fr; }
  .ebm-photo-frame { margin: 0 auto; }
  .ebm-id-pills { justify-content: center; }
  .hero-split { grid-template-columns: 1fr !important; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-book-3d, .book-3d-object, .book-3d-autospin, .hero-title-accent,
  .btn::after, .pub-nav a::after, .category-chip, .category-chip::after { animation: none !important; }
  .reveal-3d { opacity: 1 !important; transform: none !important; transition: none !important; }
  .book-3d-object, .book-3d-front, .tilt-3d-card { transition: none !important; transform: none !important; }
  .hero-3d-canvas { display: none !important; }
}
@media print {
  .sidebar, .topbar, .pub-header, .pub-footer, .sub-category-bar, .no-print, .igrf-announcement, .reading-progress-bar, .prims-modal-backdrop { display: none !important; }
  .card { box-shadow: none; border: 1px solid #cbd5e1; }
}
