﻿/* =====================================================
   BSS DETAIL PAGE — slim hero, action bar, PDF viewer
   ===================================================== */

.bd-root { min-height: 100vh; }

/* ── HERO ──────────────────────────────────────────── */
.bd-hero { padding: 120px 64px 56px; text-align: center; }

.bd-hero-shape {
  position: absolute; pointer-events: none; opacity: 0.06;
  border: 2px solid rgba(255,255,255,0.5);
}
.bd-shape-1 { width:120px; height:120px; border-radius:50%;  top:10%; right:15%; animation: bdFloat 16s ease-in-out infinite; }
.bd-shape-2 { width:70px;  height:70px;  border-radius:10px; bottom:15%; left:10%; animation: bdFloat 13s ease-in-out infinite 2s; }
@keyframes bdFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-16px) rotate(5deg); }
  66%       { transform: translateY(6px) rotate(-3deg); }
}

.bd-hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0.18; pointer-events: none;
}
.bd-orb-1 {
  width:300px; height:300px; top:-60px; right:-40px;
  background: radial-gradient(circle, #E08B30 0%, transparent 70%);
  animation: bdOrbPulse 9s ease-in-out infinite;
}
@keyframes bdOrbPulse {
  0%, 100% { transform: scale(1); opacity: 0.15; }
  50%       { transform: scale(1.12) translate(10px,-8px); opacity: 0.25; }
}

.bd-deco-shape {
  position: absolute; pointer-events: none;
  animation: bdDecoFloat ease-in-out infinite both;
}
@keyframes bdDecoFloat {
  0%   { transform: translate(0,0) rotate(var(--r,0deg)); }
  25%  { transform: translate(8px,-12px) rotate(calc(var(--r,0deg) + 3deg)); }
  50%  { transform: translate(-5px,-18px) rotate(calc(var(--r,0deg) - 2deg)); }
  75%  { transform: translate(6px,4px) rotate(calc(var(--r,0deg) + 1deg)); }
  100% { transform: translate(0,0) rotate(var(--r,0deg)); }
}

.bd-hero-content { position: relative; z-index: 2; }

.bd-breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: 13px; color: rgba(255,255,255,0.4);
  margin-bottom: 20px; animation: bdFadeIn 0.6s ease-out;
}
.bd-bread-link {
  display: flex; align-items: center; gap: 5px;
  color: rgba(255,255,255,0.5); transition: color 0.2s;
}
.bd-bread-link:hover  { color: #E08B30; }
.bd-bread-sep         { opacity: 0.3; }
.bd-bread-current     { color: rgba(255,255,255,0.7); font-weight: 600; }

.bd-hero-badge {
  display: inline-block; font-size: 11px; text-transform: uppercase;
  letter-spacing: 4px; color: #E08B30; font-weight: 700;
  padding: 5px 16px; border: 1px solid rgba(224,139,48,0.3);
  border-radius: 24px; margin-bottom: 16px;
  animation: bdFadeIn 0.6s ease-out 0.1s both;
}
.bd-hero-title {
  font-family: 'DM Serif Display', serif; font-size: 46px;
  color: #fff; line-height: 1.1; margin-bottom: 10px;
  animation: bdFadeIn 0.6s ease-out 0.15s both;
}
.bd-hero-sub {
  font-size: 15px; color: rgba(255,255,255,0.45);
  font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  animation: bdFadeIn 0.6s ease-out 0.25s both;
}
.bd-hero-wave {
  position: absolute; bottom: -1px; left: 0;
  width: 100%; height: 50px; display: block;
}
@keyframes bdFadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── ACTION BAR ────────────────────────────────────── */
.bd-action-bar { padding: 20px 48px 15px; }
.bd-action-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  animation: bdFadeIn 0.5s ease-out 0.3s both;
}

.bd-back-btn {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: #1B3A5C;
  padding: 10px 20px; border-radius: 12px; background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06); transition: all 0.3s;
}
.bd-back-btn:hover { background: #1B3A5C; color: #fff; box-shadow: 0 4px 14px rgba(27,58,92,0.25); }
.bd-back-btn:hover svg { stroke: #fff; }

.bd-action-right { display: flex; gap: 10px; }
.bd-download-btn {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: #fff;
  padding: 10px 22px; border-radius: 12px; background: #E08B30;
  box-shadow: 0 2px 10px rgba(224,139,48,0.3); transition: all 0.3s;
}
.bd-download-btn:hover {
  background: #c97a28; box-shadow: 0 4px 16px rgba(224,139,48,0.4);
  transform: translateY(-1px);
}

/* ── PDF VIEWER ────────────────────────────────────── */
.bd-pdf-section { padding: 24px 48px 60px; }
.bd-pdf-wrap {
  max-width: 1000px; margin: 0 auto; background: #fff;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  animation: bdFadeIn 0.6s ease-out 0.4s both;
}
.bd-pdf-header {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 24px;
  background: linear-gradient(135deg,#f8f4ef 0%,#f2ece4 100%);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 14px; font-weight: 600; color: #1B3A5C;
}
.bd-pdf-container { position: relative; height: 800px; }
.bd-pdf-container embed { position: relative; z-index: 1; }

.bd-pdf-fallback {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  background: #faf8f5; color: #7A6B5A;
  font-size: 14px; text-align: center; padding: 40px;
}
.bd-fallback-link {
  color: #1B3A5C !important; font-weight: 600;
  border-bottom: 1px solid #1B3A5C !important;
}

/* ── COMING SOON ───────────────────────────────────── */
.bss-coming-soon {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  padding: 60px 40px;
  background: linear-gradient(135deg,#fffbf5 0%,#fff8ee 100%);
  border: 2px solid #E08B30;
  border-radius: 16px;
  text-align: center;
  color: #1B3A5C;
}
.bss-coming-soon-title {
  font-size: 20px; font-weight: 700;
  color: #1B3A5C; margin: 0;
}
.bss-coming-soon-msg {
  font-size: 15px; color: #5A4A3A;
  max-width: 480px; margin: 0; line-height: 1.6;
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 768px) {
  .bd-hero          { padding: 100px 24px 48px; }
  .bd-hero-title    { font-size: 32px; }
  .bd-deco-shape    { display: none; }
  .bd-action-bar    { padding: 16px 24px 0; }
  .bd-action-inner  { flex-direction: column; gap: 12px; align-items: stretch; margin-bottom: 15px; }
  .bd-back-btn      { justify-content: center; }
  .bd-action-right  { justify-content: center; }
  .bd-download-btn  { justify-content: center; flex: 1; }
  .bd-pdf-section   { padding: 16px 24px 40px; }
  .bd-pdf-container { height: 500px; }
}
@media (max-width: 480px) {
  .bd-hero-title    { font-size: 26px; }
  .bd-pdf-container { height: 400px; }
}
