/* ==========================================================================
   SK MONOAR NAHID — PERSONAL WEBSITE DESIGN SYSTEM (2026)
   CORE THEME: BROADCAST × ARTIFICIAL INTELLIGENCE
   PERFORMANCE & ACCESSIBILITY OPTIMIZED
   ========================================================================== */

:root {
  /* Surface & Base Colors */
  --bg-primary: #080a0f;
  --bg-secondary: #0e121a;
  --bg-tertiary: #141924;
  --bg-glass: rgba(14, 18, 26, 0.82);
  --bg-glass-card: rgba(20, 25, 36, 0.68);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-focus: rgba(0, 210, 255, 0.5);

  /* Typography with resilient system fallbacks */
  --text-main: #f3f5f9;
  --text-muted: #9ba3b5;
  --text-subtle: #9ca3af;
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-bengali: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;

  /* Pillar 01: Broadcast & Television (Signal Amber / Studio Flame) */
  --broadcast-primary: #ff5e14;
  --broadcast-light: #ff8533;
  --broadcast-glow: rgba(255, 94, 20, 0.25);
  --broadcast-border: rgba(255, 94, 20, 0.35);
  --broadcast-gradient: linear-gradient(135deg, #ff5e14 0%, #ff8c38 100%);

  /* Pillar 02: Artificial Intelligence & Automation (Cyber Cyan / Neural Violet) */
  --ai-primary: #00d2ff;
  --ai-light: #38bdf8;
  --ai-purple: #8b5cf6;
  --ai-glow: rgba(0, 210, 255, 0.25);
  --ai-border: rgba(0, 210, 255, 0.35);
  --ai-gradient: linear-gradient(135deg, #00d2ff 0%, #8b5cf6 100%);

  /* Convergence Blend: Broadcast × AI */
  --convergence-gradient: linear-gradient(135deg, #ff5e14 0%, #8b5cf6 50%, #00d2ff 100%);
  --convergence-text: linear-gradient(90deg, #ff8533 0%, #a78bfa 50%, #38bdf8 100%);

  /* Accents */
  --green-earth: #10b981;
  --gold-award: #f59e0b;

  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 16px 36px -12px rgba(0, 0, 0, 0.6);
  --shadow-glow-broadcast: 0 0 25px rgba(255, 94, 20, 0.2);
  --shadow-glow-ai: 0 0 25px rgba(0, 210, 255, 0.2);

  /* Container */
  --container-max: 1280px;
  --header-height: 66px;
}

/* ==========================================================================
   RESET & ACCESSIBILITY FOUNDATIONS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

body.menu-open {
  overflow: hidden !important;
}

/* Bengali Script Typography Fallback */
:lang(bn), [lang="bn"], .font-bengali {
  font-family: var(--font-bengali) !important;
}

/* Accessible focus visible */
:focus-visible {
  outline: 2px solid var(--ai-primary) !important;
  outline-offset: 3px !important;
}

/* Accessible Skip Link */
.skip-link {
  position: absolute;
  top: -120px;
  left: 1.5rem;
  background: var(--ai-primary);
  color: #080a0f;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 99999;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.skip-link:focus {
  top: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Screen reader utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================================================================
   DYNAMIC PROCEDURAL BACKGROUND CANVAS
   ========================================================================== */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.content-wrapper {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   HEADER & RESPONSIVE NAVIGATION
   Breakpoints refined: desktop stays uncluttered down to 1200px,
   tablet and below smoothly use the accessible drawer.
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(8, 10, 15, 0.94);
  border-bottom-color: var(--border-medium);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.site-header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  max-width: 100% !important;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  gap: 0.85rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.logo-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  gap: 0.28rem;
}

.logo-tag .pill-bcast {
  color: var(--broadcast-light);
}

.logo-tag .pill-x {
  color: var(--text-subtle);
  font-size: 0.75rem;
}

.logo-tag .pill-ai {
  color: var(--ai-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.35rem 0.15rem;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
  color: #ffffff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--convergence-gradient);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-medium);
  white-space: nowrap;
  transition: all 0.25s ease;
  min-height: 36px;
}

.btn-nav-cta:hover {
  background: var(--convergence-gradient);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  cursor: pointer;
  padding: 0.55rem;
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-medium);
}

.mobile-menu-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* ==========================================================================
   HERO SECTION: 50/50 DUAL PILLAR ARCHITECTURE
   Optimized vertical rhythm for 1366x768 and mobile discovery.
   ========================================================================== */
.hero-section {
  min-height: auto;
  padding-top: calc(var(--header-height) + 1.25rem);
  padding-bottom: 2rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: 10%;
  left: -8%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 94, 20, 0.14) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  top: 20%;
  right: -8%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.13) 0%, rgba(139, 92, 246, 0.11) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
  align-items: center;
}

.hero-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  margin-bottom: 0.35rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.badge-text {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-text-mobile {
  display: none;
}

.badge-text-desktop {
  display: inline;
}

.hero-title-main {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2.45rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 0.45rem;
  white-space: nowrap;
}

.hero-title-line {
  display: inline;
}

.hero-title-sep {
  display: inline;
}

@media (max-width: 900px) {
  .hero-title-main {
    white-space: normal;
    font-size: clamp(1.35rem, 5vw, 2rem);
  }
}

.hero-title-main .gradient-dual {
  background: var(--convergence-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(0.88rem, 1.2vw, 0.98rem);
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 0.45rem;
  line-height: 1.45;
}

/* Central Convergence Stage */
.hero-convergence-stage {
  display: grid;
  grid-template-columns: 1fr 1fr 280px;
  gap: 1.25rem;
  align-items: stretch;
  margin-top: 0.35rem;
}

/* Pillar Card (Broadcast) */
.hero-pillar-card {
  background: var(--bg-glass-card);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.pillar-broadcast::before {
  background: var(--broadcast-gradient);
}

.pillar-ai::before {
  background: var(--ai-gradient);
}

.hero-pillar-card:hover {
  transform: translateY(-3px);
}

.pillar-broadcast:hover {
  border-color: var(--broadcast-border);
  box-shadow: var(--shadow-glow-broadcast);
}

.pillar-ai:hover {
  border-color: var(--ai-border);
  box-shadow: var(--shadow-glow-ai);
}

.pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  gap: 0.75rem;
}

.pillar-illustration-box {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  max-width: 200px;
  min-width: 0;
}

.pillar-illustration {
  width: 100%;
  height: 44px;
  max-height: 46px;
  display: block;
}

.pillar-index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.pillar-broadcast .pillar-index {
  color: var(--broadcast-light);
  background: rgba(255, 94, 20, 0.12);
}

.pillar-ai .pillar-index {
  color: var(--ai-light);
  background: rgba(0, 210, 255, 0.12);
}

.pillar-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-broadcast .pillar-icon-box {
  background: rgba(255, 94, 20, 0.15);
  color: var(--broadcast-light);
}

.pillar-ai .pillar-icon-box {
  background: rgba(0, 210, 255, 0.15);
  color: var(--ai-light);
}

.pillar-icon-box svg {
  width: 20px;
  height: 20px;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}

.pillar-broadcast .pillar-title {
  color: #ff9d5c;
}

.pillar-ai .pillar-title {
  color: #67e8f9;
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.65rem;
}

.pillar-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.metric-lbl {
  font-size: 0.78rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Center Portrait Column */
.hero-portrait-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.portrait-frame-wrapper {
  position: relative;
  width: 280px;
  height: 280px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  padding: 3px;
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 40%, #ff5e14 100%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portrait-frame-wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 42px rgba(139, 92, 246, 0.25), 0 0 20px rgba(255, 94, 20, 0.25);
}

.portrait-img-box {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--radius-lg) - 3px);
  overflow: hidden;
  position: relative;
  background: var(--bg-secondary);
}

.portrait-img-box picture {
  display: block;
  width: 100%;
  height: 100%;
}

.portrait-img {
  transition: transform .55s ease;
  transform-origin: center top;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.portrait-overlay-badge {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-medium);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.portrait-overlay-badge span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 0.95rem;
  flex-wrap: wrap;
}

.btn-primary-dual {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  color: #ffffff;
  background: linear-gradient(135deg, #c2410c 0%, #6d28d9 50%, #0369a1 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(109, 40, 217, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 46px;
}

.btn-primary-dual:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(109, 40, 217, 0.5);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 0.95rem;
  flex-wrap: wrap;
}

.hero-actions .btn-primary-bcast,
.hero-actions .btn-primary-ai,
.hero-actions .btn-primary-books {
  width: 215px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  color: #ffffff;
  cursor: pointer;
  box-sizing: border-box;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary-bcast {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
  border: 1px solid rgba(255, 133, 51, 0.4);
  box-shadow: 0 6px 18px rgba(194, 65, 12, 0.35);
}

.btn-primary-bcast:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(194, 65, 12, 0.5);
}

.btn-primary-ai {
  background: linear-gradient(135deg, #0369a1 0%, #6d28d9 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 6px 18px rgba(3, 105, 161, 0.35);
}

.btn-primary-ai:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(3, 105, 161, 0.5);
}

.btn-primary-books {
  background: linear-gradient(135deg, #047857 0%, #059669 50%, #0d9488 100%);
  border: 1px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
}

.btn-primary-books:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(16, 185, 129, 0.5);
}

@media (max-width: 720px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn-primary-bcast,
  .hero-actions .btn-primary-ai,
  .hero-actions .btn-primary-books {
    width: 100%;
    max-width: 280px;
  }
}

.btn-secondary-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 46px;
}

.btn-secondary-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-focus);
  transform: translateY(-2px);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section-padding {
  padding-top: 3rem;
  padding-bottom: 3rem;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}

.eyebrow-broadcast {
  color: var(--broadcast-light);
}

.eyebrow-ai {
  color: var(--ai-light);
}

.eyebrow-dual {
  background: var(--convergence-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  overflow-wrap: break-word;
}

.section-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   ABOUT / EXECUTIVE IDENTITY SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-narrative {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.about-highlights-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-narrative p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.about-narrative p strong {
  color: #ffffff;
  font-weight: 600;
}

.about-credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 0;
}

@media (max-width: 600px) {
  .about-credentials-grid {
    grid-template-columns: 1fr;
  }
}

.credential-box {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.credential-box:hover {
  transform: translateY(-2px);
  border-color: var(--border-medium);
}

.credential-box h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #ffffff;
}

.credential-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.about-video-card {
  background: var(--bg-glass-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.video-responsive-box {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}

.video-responsive-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-caption {
  padding: 0.85rem 1.15rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   PRIMARY PILLAR SECTIONS: BROADCAST & AI
   ========================================================================== */
.pillar-section-broadcast {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 94, 20, 0.03) 50%, transparent 100%);
  border-top: 1px solid rgba(255, 94, 20, 0.1);
  border-bottom: 1px solid rgba(255, 94, 20, 0.1);
}

.pillar-section-ai {
  background: linear-gradient(180deg, transparent 0%, rgba(0, 210, 255, 0.03) 50%, transparent 100%);
  border-top: 1px solid rgba(0, 210, 255, 0.1);
  border-bottom: 1px solid rgba(0, 210, 255, 0.1);
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.professional-credentials { display: grid; gap: 1.5rem; padding-bottom: 4rem; }
.credential-panel {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
  gap: 2.25rem;
  padding: 2rem;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  scroll-margin-top: 100px;
}
.credential-emblem { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .65rem; min-height: 140px; }
.credential-emblem svg { width: 80px; height: 80px; }
.credential-emblem span { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; }
.credential-vizrt { color: var(--broadcast-light); }
.credential-training { color: var(--ai-light); }
.credential-brand { position: absolute; top: 1.5rem; right: 1.5rem; display: flex; align-items: center; justify-content: center; padding: 8px 12px; background: #fff; border-radius: 10px; }
.credential-brand img { display: block; height: 56px; width: auto; max-width: 120px; object-fit: contain; }
#vizrt-certification .credential-brand { padding: 3px 5px; }
#vizrt-certification .credential-brand img { height: 45.36px; }
#pathshala-faculty .credential-brand,
#broadcast-trainer .credential-brand { padding: 0; background: transparent; border-radius: 0; }
#broadcast-trainer .credential-brand img { height: 42.56px; }
#pathshala-faculty .credential-brand img { height: 54.264px; }
#pathshala-faculty .credential-brand { background: #fff; padding: 4px; }
.logo-credit { display: block; margin-top: .5rem; color: var(--text-muted); font-size: .65rem; }
.logo-credit a { color: inherit; text-decoration: underline; }
#broadcast-trainer .credential-brand { background: #fff; }
.credential-copy { padding-right: 160px; }
.credential-copy .credential-kicker { color: var(--ai-light); text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; margin: 0 0 .65rem; }
.credential-copy h2 { font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.25; margin: 0 0 .8rem; }
.credential-copy > p { color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; max-width: 850px; }
.credential-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.credential-link { display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; color: var(--ai-light); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.credential-link:hover { color: #fff; }
@media (max-width: 600px) {
  .credential-panel { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 1.5rem; }
  .credential-emblem { justify-self: start; width: 120px; min-height: 110px; }
  .credential-copy { padding-right: 0; }
  .credential-brand { top: 1.5rem; right: 1.5rem; padding: 6px 8px; }
  .credential-brand img { height: 56px; max-width: 105px; }
}

/* Lightweight decorative scenes occupy the existing space beside each icon. */
.service-illustration {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  width: calc(100% - 8rem);
  max-width: 220px;
  height: 48px;
  pointer-events: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.broadcast-card .service-illustration { color: var(--broadcast-light); }
.ai-card .service-illustration { color: var(--ai-light); }
.location-item h5 > svg { flex-shrink: 0; }
.location-item h5 > span { min-width: 0; }
.location-item .country-flag {
  width: 32px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  margin-left: auto;
  filter: drop-shadow(0 1px 3px #0005);
}

.broadcast-card:hover {
  border-color: var(--broadcast-border);
  box-shadow: 0 10px 25px rgba(255, 94, 20, 0.15);
}

.ai-card:hover {
  border-color: var(--ai-border);
  box-shadow: 0 10px 25px rgba(0, 210, 255, 0.15);
}

.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.broadcast-card .card-icon-wrap {
  background: rgba(255, 94, 20, 0.12);
  color: var(--broadcast-light);
  border: 1px solid rgba(255, 94, 20, 0.25);
}

.ai-card .card-icon-wrap {
  background: rgba(0, 210, 255, 0.12);
  color: var(--ai-light);
  border: 1px solid rgba(0, 210, 255, 0.25);
}

.card-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.feature-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: #ffffff;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1.15rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
}

.tag-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

/* ==========================================================================
   CAREER JOURNEY & TIMELINE
   ========================================================================== */
.timeline-wrapper {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  position: relative;
  padding-left: 245px;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 18px;
  bottom: 20px;
  left: 215px;
  width: 2px;
  background: linear-gradient(180deg, var(--ai-primary) 0%, var(--ai-purple) 45%, var(--broadcast-primary) 100%);
  border-radius: 2px;
}

.timeline-node {
  position: relative;
  margin-bottom: 2.25rem;
}

.timeline-marker {
  position: absolute;
  top: 1.55rem;
  left: -30px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #080a0f;
  border: 3px solid #ff5e14;
  box-shadow: 0 0 12px rgba(255, 94, 20, 0.6);
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-node.ai-era .timeline-marker {
  border-color: #00d2ff;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.7);
}

.timeline-period {
  position: absolute;
  top: 0.95rem;
  right: calc(100% + 55px);
  width: 185px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  background: rgba(32, 18, 12, 0.94);
  border: 1px solid rgba(255, 142, 60, 0.55);
  color: #ff9e58;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.timeline-node.ai-era .timeline-period {
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.6);
  background: rgba(12, 26, 44, 0.94);
  box-shadow: 0 4px 16px rgba(0, 210, 255, 0.22);
}

.timeline-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.6rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.timeline-card:hover {
  transform: translateX(4px);
  border-color: var(--border-medium);
}

.timeline-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0.45rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline-role {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.timeline-company {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ai-light);
  margin-bottom: 0.5rem;
}

.timeline-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.timeline-website {
  margin-top: 0.85rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ai-light);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.timeline-link:hover {
  color: #ffffff;
  text-decoration: underline;
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .timeline-wrapper {
    padding-left: 54px;
  }
  .timeline-wrapper::before {
    left: 38px;
    top: 14px;
    bottom: 10px;
  }
  .timeline-marker {
    left: -44px;
    top: 6px;
    transform: none;
  }
  .timeline-period {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    box-sizing: border-box;
    width: auto;
    margin-bottom: 0.75rem;
    font-size: 0.76rem;
    padding: 0 0.85rem;
  }
}

/* ==========================================================================
   AWARDS & RECOGNITIONS GRID
   ========================================================================== */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.award-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.award-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.award-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #000;
  position: relative;
}

.award-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center top;
  transition: transform .55s ease;
}

/* Preserve the entire award photo on phones, including faces at the top. */
@media (max-width: 767px) {
  .award-img-wrap { height: auto; }
  .award-img-wrap picture { display: block; }
  .award-img-wrap img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

.award-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-award);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.award-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.award-body h3,
.award-body h4 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.45rem;
  line-height: 1.35;
}

.award-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.15rem;
}

.award-meta-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-award);
  min-height: 38px;
}

.award-meta-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   PUBLICATIONS SECTION
   ========================================================================== */
.publications-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.book-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.book-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-medium);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.65);
}

.book-cover-link {
  display: block;
  width: 100%;
  aspect-ratio: 11 / 17;
  overflow: hidden;
  position: relative;
  background: #000;
  cursor: pointer;
}

.book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.book-card:hover .book-cover-img {
  transform: scale(1.03);
}

.book-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 0.85rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.book-card:hover .book-cover-overlay {
  opacity: 1;
}

.overlay-read-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--convergence-gradient);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
}

.book-category-pill {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.cat-bcast {
  background: rgba(255, 94, 20, 0.9);
  color: #ffffff;
}

.cat-ai {
  background: rgba(0, 210, 255, 0.9);
  color: #080a0f;
}

.cat-earth {
  background: rgba(16, 185, 129, 0.9);
  color: #ffffff;
}

.book-details {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.book-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.book-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.book-meta-specs {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-bottom: 1.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  line-height: 1.45;
}

.book-meta-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.book-meta-isbn {
  color: var(--text-muted);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}

.book-btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-top: auto;
}

.btn-book-read {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #c2410c 0%, #6d28d9 50%, #0369a1 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  min-height: 40px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-book-read:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-book-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  min-height: 40px;
  transition: background 0.2s ease;
}

.btn-book-download:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-medium);
}

.btn-book-buy {
  grid-column: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(235, 94, 40, 0.15), rgba(6, 214, 160, 0.15));
  border: 1px solid rgba(235, 94, 40, 0.4);
  color: #ffffff;
  cursor: pointer;
  min-height: 38px;
  font-family: inherit;
  transition: all 0.2s ease;
  width: 100%;
}

.btn-book-buy:hover {
  background: linear-gradient(135deg, rgba(235, 94, 40, 0.28), rgba(6, 214, 160, 0.28));
  border-color: var(--bcast-accent);
  box-shadow: 0 4px 16px rgba(235, 94, 40, 0.25);
  transform: translateY(-1px);
}

.btn-book-buy:active {
  transform: translateY(0);
}

/* ==========================================================================
   CONTACT SECTION & ACCESSIBLE FORM
   ========================================================================== */
.contact-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-col h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.contact-info-col p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.location-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.location-item h5 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.location-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.location-item a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ai-light);
  display: inline-block;
  min-height: 28px;
}

.contact-form-col {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-control {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  color: #ffffff;
  outline: none;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
}

.form-control:focus {
  border-color: var(--ai-primary);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.25);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

/* Status message region */
.form-status-box {
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  display: none;
}

.status-info {
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid var(--ai-border);
  color: #e0f2fe;
}

.status-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

/* Footer */
.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 2.25rem 0;
  font-size: 0.82rem;
  color: var(--text-subtle);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.social-links-list {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
}

.social-link-item a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.social-link-item a:hover {
  background: var(--convergence-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
}

.social-link-item a svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (LEFT SIDE)
   Accessible min touch targets and safe positioning.
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  left: auto;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.1rem 0.7rem 0.85rem;
  background: #128c7e;
  color: #ffffff;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.4);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
  min-width: 44px;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease, background-color 0.2s ease;
}

.floating-whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.03);
  background: #0d7367;
  box-shadow: 0 12px 30px rgba(18, 140, 126, 0.6);
  color: #ffffff;
}

.floating-whatsapp-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.whatsapp-label {
  letter-spacing: 0.02em;
}

/* Copy Email Button */
.btn-copy-email {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 32px;
}

.btn-copy-email:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--ai-primary);
  color: #ffffff;
}

.btn-copy-email.copied {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #6ee7b7;
}

/* Hide on reader pages */
.is-reader-view .floating-whatsapp-btn {
  display: none !important;
}

/* ==========================================================================
   CUSTOM PDF READER (reader.html)
   ========================================================================== */
.reader-viewport {
  position: fixed;
  inset: 0;
  background: #0b0d13;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 2000;
}

.reader-toolbar {
  height: 60px;
  background: rgba(14, 18, 26, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  gap: 0.85rem;
  flex-shrink: 0;
  z-index: 10;
}

.toolbar-left, .toolbar-center, .toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.toolbar-group-zoom, .toolbar-group-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-reader-tool {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  min-height: 40px;
  min-width: 40px;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-reader-tool:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-focus);
}

.btn-reader-tool:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-reader-tool svg {
  width: 16px;
  height: 16px;
}

.reader-book-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-nav-box {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.page-num-input {
  width: 52px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.25rem 0.35rem;
  text-align: center;
  min-height: 36px;
}

.page-num-input:focus,
.page-num-input:focus-visible {
  outline: 2px solid var(--ai-primary) !important;
  outline-offset: 2px !important;
  border-color: var(--ai-primary) !important;
}

.reader-stage-container {
  flex-grow: 1;
  min-height: 0;
  position: relative;
  overflow: auto;
  display: flex;
  align-items: safe center;
  justify-content: safe center;
  padding: 1.25rem;
  user-select: none;
}

.reader-spread-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transition: transform 0.2s ease-out;
  margin: auto;
}

.reader-page-canvas-wrapper {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.reader-page-canvas {
  display: block;
  flex-shrink: 0;
  max-width: none;
  max-height: none;
}

.reader-float-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(14, 18, 26, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-medium);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 20;
}

.reader-float-nav:hover:not(:disabled) {
  background: var(--convergence-gradient);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.reader-float-nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.reader-nav-prev {
  left: 1.25rem;
}

.reader-nav-next {
  right: 1.25rem;
}

.reader-loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.spinner-circle {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--ai-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* User-friendly reader error fallback box */
.reader-error-container {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  max-width: 520px;
  margin: 2rem auto;
  text-align: center;
  box-shadow: var(--shadow-card);
  z-index: 30;
}

.reader-error-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.reader-error-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.reader-error-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   Ensures uncompressed desktop nav down to 1200px, smooth tablet & mobile.
   ========================================================================== */

/* 1240px: Switch to mobile drawer before nav cramps */
@media (max-width: 1240px) {
  .main-nav {
    display: none;
  }

  .main-nav.mobile-active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background: rgba(8, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-medium);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }

  .main-nav.mobile-active .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1rem;
  }

  .main-nav.mobile-active .nav-links a {
    font-size: 1.1rem;
    width: 100%;
    padding: 0.5rem 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}

/* Mobile summary pills (hidden on desktop) */
.hero-mobile-dual-summary {
  display: none;
}

@media (max-width: 1024px) {
  .hero-mobile-dual-summary {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
    width: 100%;
  }

  .mobile-summary-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-md);
    background: rgba(20, 25, 36, 0.75);
    border: 1px solid var(--border-subtle);
    font-size: 0.78rem;
    color: var(--text-main);
  }

  .mobile-summary-pill.bcast {
    border-left: 3px solid var(--broadcast-primary);
  }

  .mobile-summary-pill.ai {
    border-left: 3px solid var(--ai-primary);
  }

  .mobile-summary-pill .pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .mobile-summary-pill.bcast .pill-dot {
    background: var(--broadcast-light);
  }

  .mobile-summary-pill.ai .pill-dot {
    background: var(--ai-light);
  }

  .hero-convergence-stage {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .pillar-broadcast {
    order: 1;
  }

  .pillar-ai {
    order: 2;
  }

  .hero-portrait-card {
    order: 3;
    margin-top: 0.5rem;
  }

  .portrait-frame-wrapper {
    width: 240px;
    height: 240px;
    aspect-ratio: 1 / 1;
  }

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

  /* Reader Toolbar Responsive (<= 1024px) */
  .reader-toolbar {
    height: auto;
    min-height: 52px;
    padding: 0.45rem 0.75rem;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.45rem 0.5rem;
    align-items: center;
  }

  .toolbar-left {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .toolbar-right {
    display: contents;
  }

  .toolbar-group-actions {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
  }

  .toolbar-center {
    grid-column: 1 / 2;
    grid-row: 2 / 2;
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }

  .toolbar-group-zoom {
    grid-column: 2 / 3;
    grid-row: 2 / 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
  }

  .reader-book-title {
    max-width: 220px;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .btn-label-text {
    display: none;
  }

  .btn-reader-tool {
    padding: 0.4rem;
    min-width: 38px;
    min-height: 38px;
  }

  .page-nav-box {
    gap: 0.25rem;
    font-size: 0.8rem;
  }

  .page-nav-label {
    display: none;
  }

  .page-num-input {
    width: 42px;
    min-height: 34px;
    font-size: 0.8rem;
    padding: 0.2rem;
  }
}

@media (min-width: 1025px) {
  .pillar-broadcast {
    grid-column: 1;
    grid-row: 1;
  }
  .pillar-ai {
    grid-column: 2;
    grid-row: 1;
  }
  .hero-portrait-card {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 992px) {
  .cards-grid-3 {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 66px;
  }
  .brand-logo .logo-tag {
    display: none;
  }
  .site-header .nav-container {
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 0.5rem;
  }
  .publications-grid-4 {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .awards-grid {
    grid-template-columns: 1fr;
  }
  .locations-grid {
    grid-template-columns: 1fr;
  }
  .badge-text-desktop {
    display: none;
  }
  .badge-text-mobile {
    display: inline;
  }
  .hero-title-main .hero-title-sep {
    display: none !important;
  }
  .hero-title-line {
    display: block;
    white-space: nowrap;
  }
  .hero-layout {
    display: flex;
    flex-direction: column;
  }
  .hero-header-text {
    order: 1;
  }
  .hero-convergence-stage {
    order: 2;
    margin-top: 0.5rem;
  }
  .hero-actions {
    order: 3;
    flex-direction: column;
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 1.25rem;
    gap: 0.75rem;
  }
  .btn-primary-dual, .btn-primary-bcast, .btn-primary-ai, .btn-secondary-ghost {
    width: 100%;
    justify-content: center;
  }
  .floating-whatsapp-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    left: auto;
    padding: 0.65rem;
    border-radius: 50%;
  }
  .whatsapp-label {
    display: none;
  }
  .reader-float-nav {
    width: 42px;
    height: 42px;
  }
  .reader-nav-prev {
    left: 0.5rem;
  }
  .reader-nav-next {
    right: 0.5rem;
  }
  .reader-spread-layout {
    gap: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .logo-text {
    font-size: 0.95rem;
  }
  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    padding: 0.45rem;
  }
  .hero-title-main {
    font-size: clamp(1.25rem, 5.8vw, 1.75rem);
    line-height: 1.2;
  }
  .about-credentials-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-col {
    padding: 1.35rem;
  }
  .reader-toolbar {
    padding: 0.35rem 0.45rem;
    gap: 0.35rem 0.35rem;
  }
  .reader-book-title {
    max-width: 125px;
    font-size: 0.78rem;
  }
  .btn-reader-tool {
    min-width: 36px;
    min-height: 36px;
    padding: 0.3rem;
  }
  .btn-reader-tool svg {
    width: 15px;
    height: 15px;
  }
  .toolbar-left, .toolbar-center, .toolbar-group-actions, .toolbar-group-zoom {
    gap: 0.25rem;
  }
  .page-num-input {
    width: 38px;
    min-height: 32px;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   PRINTED BOOK ORDER MODAL
   ========================================================================== */
body.order-modal-open {
  overflow: hidden !important;
}

.order-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
}

.order-modal-container {
  background: #0c1017;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 1.75rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75);
  position: relative;
  margin: auto;
}

.order-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.order-modal-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bcast-accent);
  background: rgba(235, 94, 40, 0.12);
  border: 1px solid rgba(235, 94, 40, 0.3);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}

.order-modal-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.order-modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.order-modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: var(--border-focus);
}

/* Promo Banner */
.order-promo-banner {
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.12) 0%, rgba(235, 94, 40, 0.12) 100%);
  border: 1px solid rgba(6, 214, 160, 0.35);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.promo-banner-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}

.promo-banner-content {
  flex: 1;
  min-width: 0;
}

.promo-banner-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #06d6a0;
  line-height: 1.3;
}

.promo-banner-subtitle {
  font-size: 0.82rem;
  color: var(--text-subtle);
  margin-top: 0.2rem;
}

.promo-code-highlight {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #ffffff;
  background: rgba(6, 214, 160, 0.2);
  border: 1px dashed #06d6a0;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.btn-apply-promo-fast {
  background: #06d6a0;
  color: #04070c;
  border: none;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-apply-promo-fast:hover {
  background: #05be8d;
  box-shadow: 0 2px 10px rgba(6, 214, 160, 0.35);
}

/* Order Section */
.order-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-bottom: 1.15rem;
}

.order-section-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
}

.order-selection-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ai-light);
  font-weight: 500;
}

/* Books Checklist */
.order-books-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.order-book-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.order-book-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-medium);
}

.order-book-item.selected {
  background: rgba(6, 214, 160, 0.06);
  border-color: rgba(6, 214, 160, 0.5);
}

.order-book-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--bcast-accent);
  cursor: pointer;
  flex-shrink: 0;
}

.order-book-thumb {
  width: 38px;
  height: 52px;
  border-radius: 3px;
  overflow: hidden;
  background: #141822;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}

.order-book-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.order-book-info {
  flex: 1;
  min-width: 0;
}

.order-book-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.order-book-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.order-book-price {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bcast-accent);
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
}

.order-book-price .price-usd {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.75rem;
}

/* Delivery Notice Banner */
.delivery-notice-banner {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.delivery-notice-icon {
  color: #38bdf8;
  flex-shrink: 0;
  margin-top: 2px;
}

.delivery-notice-text {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.delivery-notice-main {
  color: #ffffff;
  font-weight: 600;
}

.delivery-notice-main strong {
  color: #38bdf8;
}

.delivery-notice-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Fields Grid */
.order-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 16px;
  padding-right: 2.2rem;
  cursor: pointer;
}

.form-select option {
  background: #0d1624;
  color: #f1f5f9;
  padding: 0.4rem;
}

.order-fields-grid .full-width {
  grid-column: span 2;
}

.req-star {
  color: var(--bcast-accent);
  font-weight: bold;
}

.opt-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: normal;
}

/* Payment Methods Grid */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.payment-method-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.75rem 0.65rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: all 0.2s ease;
  position: relative;
}

.payment-method-card.active {
  background: rgba(6, 214, 160, 0.08);
  border-color: rgba(6, 214, 160, 0.6);
}

.payment-method-card.disabled {
  opacity: 0.42;
  cursor: not-allowed;
  border-style: dashed;
}

.payment-method-card input[type="radio"] {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  accent-color: var(--bcast-accent);
}

.pay-method-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #06d6a0;
  font-weight: 600;
}

.pay-method-badge.badge-soon {
  color: var(--text-muted);
}

.pay-method-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.pay-method-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Promo Input & Pricing */
.promo-input-wrap {
  display: flex;
  gap: 0.45rem;
}

.btn-promo-apply {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-medium);
  color: #ffffff;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-promo-apply:hover:not(:disabled) {
  background: var(--bcast-accent);
  border-color: var(--bcast-accent);
}

.btn-promo-apply:disabled {
  background: rgba(6, 214, 160, 0.2);
  border-color: #06d6a0;
  color: #06d6a0;
  cursor: default;
}

.promo-feedback-msg {
  font-size: 0.8rem;
  margin-top: 0.4rem;
  min-height: 1.2rem;
}

.promo-feedback-msg.promo-success {
  color: #06d6a0;
  font-weight: 500;
}

.promo-feedback-msg.promo-error {
  color: #ef476f;
}

.order-pricing-summary {
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  color: #cbd5e1;
}

.pricing-row .pricing-label {
  color: #cbd5e1;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.delivery-zone-label {
  color: #94a3b8;
  font-weight: 400;
  font-size: 0.82rem;
}

.discount-percent-tag {
  color: #06d6a0;
  font-weight: 500;
  font-size: 0.82rem;
}

.pricing-values {
  display: grid;
  grid-template-columns: 46px 32px 10px 48px 32px;
  align-items: baseline;
  justify-items: end;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #f1f5f9; /* SAME color for Books Subtotal and Delivery Charge */
  white-space: nowrap;
}

.pricing-values .val-bdt-num,
.pricing-values .val-usd-num {
  text-align: right;
  width: 100%;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.pricing-values .val-bdt-unit,
.pricing-values .val-usd-unit {
  justify-self: start;
  padding-left: 3px;
  color: #94a3b8;
  font-size: 0.8rem;
}

.pricing-values .val-sep {
  justify-self: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.pricing-values .val-prompt {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.82rem;
}

/* Discount row */
.pricing-row.discount-row .pricing-label {
  color: #06d6a0;
}
.pricing-row.discount-row .pricing-values,
.pricing-row.discount-row .val-bdt-num,
.pricing-row.discount-row .val-usd-num,
.pricing-row.discount-row .val-bdt-unit,
.pricing-row.discount-row .val-usd-unit {
  color: #06d6a0;
}

/* Delivery row - same color as Books Subtotal */
.pricing-row.delivery-row {
  color: #cbd5e1;
}
.pricing-row.delivery-row .pricing-label {
  color: #cbd5e1;
}
.pricing-row.delivery-row .pricing-values {
  color: #f1f5f9; /* EXACT SAME color as Books Subtotal */
}

/* Total row */
.pricing-row.total-row {
  border-top: 1px dashed var(--border-subtle);
  padding-top: 0.65rem;
  margin-top: 0.35rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
}

.pricing-row.total-row .pricing-label {
  color: #ffffff;
  font-size: 1rem;
}

.pricing-row.total-row .pricing-values {
  font-size: 1.05rem;
  color: #06d6a0;
}

.pricing-row.total-row .val-bdt-num,
.pricing-row.total-row .val-usd-num {
  color: #06d6a0;
}

.pricing-row.total-row .val-bdt-unit,
.pricing-row.total-row .val-usd-unit {
  color: #06d6a0;
  font-size: 0.85rem;
}

/* Submit Row */
.order-submit-row {
  margin-top: 1.25rem;
}

.btn-place-order {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #25d366 0%, #1ebd5a 50%, #128c7e 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.btn-place-order:hover {
  background: linear-gradient(135deg, #2ee071 0%, #22cb61 50%, #159b8b 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

.btn-place-order:active {
  transform: translateY(0);
}

.order-guarantee-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0.65rem 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Order Action Buttons in Status Box */
.btn-order-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-mail-action {
  background: #eb5e28;
  color: #ffffff;
}

.btn-mail-action:hover {
  background: #ff6b35;
  color: #ffffff;
}

.btn-wa-action {
  background: #25d366;
  color: #04070c;
}

.btn-wa-action:hover {
  background: #22bf5b;
}

.btn-copy-action {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: var(--border-medium);
}

.btn-copy-action:hover {
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 640px) {
  .order-modal-container {
    padding: 1.25rem 1rem;
    max-height: 94vh;
  }
  .order-fields-grid {
    grid-template-columns: 1fr;
  }
  .order-fields-grid .full-width {
    grid-column: span 1;
  }
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }
  .order-promo-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-apply-promo-fast {
    width: 100%;
    text-align: center;
  }
}

/* Shared card feedback: pointer hover on desktop, viewport focus on touch. */
.motion-card {
  --motion-accent: rgba(0, 210, 255, .45);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.motion-card.broadcast-card, .motion-card.pillar-broadcast, .motion-card.award-card {
  --motion-accent: rgba(255, 146, 54, .5);
}
.credential-emblem svg, .service-illustration, .credential-brand {
  transition: transform .35s ease;
}
@media (hover: hover) and (pointer: fine) {
  .award-card.motion-card:hover .award-img-wrap img {
    transform: scale(1.05);
  }
  .portrait-frame-wrapper:hover .portrait-img { transform: scale(1.035); }
  .motion-card:hover {
    transform: translateY(-4px);
    border-color: var(--motion-accent);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .3), 0 0 16px rgba(0, 185, 230, .08);
  }
  .motion-card:hover .credential-emblem svg,
  .motion-card:hover .service-illustration { transform: translateY(-3px); }
  .motion-card:hover .credential-brand { transform: translateY(-2px); }
}
@media (hover: none), (pointer: coarse) {
  .portrait-frame-wrapper.is-scroll-active .portrait-img { transform: scale(1.035); }
  .motion-card.is-scroll-active {
    transform: translateY(-4px);
    border-color: var(--motion-accent);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .3), 0 0 16px rgba(0, 185, 230, .08);
  }
  .motion-card.is-scroll-active .credential-emblem svg,
  .motion-card.is-scroll-active .service-illustration { transform: translateY(-3px); }
  .motion-card.is-scroll-active .credential-brand { transform: translateY(-2px); }
  /* Gentle photo motion for the active touch card. */
  .award-card.motion-card .award-img-wrap img,
  .book-card.motion-card .book-cover-img {
    transform: scale(.95);
    transition: transform .55s ease;
  }
  .award-card.motion-card.is-scroll-active .award-img-wrap img,
  .book-card.motion-card.is-scroll-active .book-cover-img {
    transform: scale(1);
  }
  .award-card.motion-card .award-img-wrap img {
    transform: scale(1);
    transform-origin: center top;
  }
  .award-card.motion-card.is-scroll-active .award-img-wrap img {
    transform: scale(1.05);
  }
}
.motion-card:focus-within { border-color: var(--motion-accent); }

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  #bg-canvas {
    display: none;
  }
  .motion-card, .motion-card:hover, .motion-card.is-scroll-active,
  .motion-card img, .motion-card:hover img,
  .motion-card .credential-emblem svg, .motion-card .service-illustration,
  .motion-card .credential-brand { transform: none !important; }
}
