/* Quantum Onboarding System Styles */

/* ===========================================
   ONBOARDING HUB PAGE
   =========================================== */

.onboarding-hero {
  padding: var(--space-16) 0 var(--space-12);
  background: var(--gradient-hero);
  color: white;
  text-align: center;
}

.onboarding-hero__title {
  font-family: var(--font-primary);
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
}

.onboarding-hero__subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto var(--space-6);
}

.onboarding-hero__tagline {
  font-size: var(--text-lg);
  color: var(--soft-peach);
  font-style: italic;
}

/* Customer Type Selection Grid */
.customer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .customer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Customer Type Card */
.customer-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.customer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--quantum-coral);
}

.customer-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-4);
  background: var(--light-gray);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.customer-card__icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--quantum-navy);
}

.customer-card__type {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--quantum-coral);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
}

.customer-card__title {
  font-family: var(--font-primary);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--quantum-navy);
  margin-bottom: var(--space-3);
}

.customer-card__description {
  color: var(--text-secondary);
  font-size: var(--text-base);
  margin-bottom: var(--space-6);
  line-height: var(--leading-relaxed);
}

.customer-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--quantum-navy);
  color: white;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: var(--font-semibold);
  transition: all var(--transition-fast);
}

.customer-card__cta:hover {
  background: var(--dark-navy);
  gap: var(--space-3);
}

.customer-card__cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.customer-card:hover .customer-card__cta svg {
  transform: translateX(4px);
}

/* Not Sure Helper */
.not-sure-section {
  background: var(--soft-peach);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 800px;
  margin: var(--space-12) auto 0;
  text-align: center;
}

.not-sure-section__title {
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--quantum-navy);
  margin-bottom: var(--space-4);
}

.not-sure-section__text {
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.not-sure-section__contact {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--quantum-navy);
}

.not-sure-section__contact svg {
  width: 24px;
  height: 24px;
}

/* ===========================================
   JOURNEY PAGE LAYOUT
   =========================================== */

.journey-layout {
  display: flex;
  min-height: calc(100vh - 72px);
}

/* Sidebar Navigation */
.journey-sidebar {
  width: 280px;
  background: white;
  border-right: 1px solid var(--light-gray);
  padding: var(--space-6);
  position: fixed;
  top: 72px;
  left: 0;
  height: calc(100vh - 72px);
  overflow-y: auto;
  z-index: 100;
  transform: translateX(-100%);
  transition: transform var(--transition-base);
}

.journey-sidebar--open {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  .journey-sidebar {
    transform: translateX(0);
  }
}

.journey-sidebar__header {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--light-gray);
}

.journey-sidebar__title {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--quantum-navy);
  margin-bottom: var(--space-2);
}

.journey-sidebar__subtitle {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Progress Bar */
.journey-progress {
  margin-bottom: var(--space-6);
}

.journey-progress__bar {
  height: 6px;
  background: var(--light-gray);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-2);
}

.journey-progress__fill {
  height: 100%;
  background: var(--quantum-coral);
  border-radius: var(--radius-full);
  transition: width var(--transition-slow);
}

.journey-progress__text {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  text-align: right;
}

/* Sidebar Navigation Links */
.journey-nav {
  list-style: none;
}

.journey-nav__item {
  margin-bottom: var(--space-1);
}

.journey-nav__link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.journey-nav__link:hover {
  background: var(--light-gray);
  color: var(--text-primary);
}

.journey-nav__link--active {
  background: var(--quantum-navy);
  color: white;
}

.journey-nav__link--completed {
  color: var(--success);
}

.journey-nav__icon {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  flex-shrink: 0;
}

.journey-nav__link--active .journey-nav__icon {
  background: var(--quantum-coral);
  color: white;
}

.journey-nav__link--completed .journey-nav__icon {
  background: var(--success);
  color: white;
}

.journey-nav__icon svg {
  width: 12px;
  height: 12px;
}

/* Mobile Sidebar Toggle */
.sidebar-toggle {
  position: fixed;
  bottom: var(--space-6);
  left: var(--space-4);
  width: 56px;
  height: 56px;
  background: var(--quantum-navy);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .sidebar-toggle {
    display: none;
  }
}

.sidebar-toggle svg {
  width: 24px;
  height: 24px;
}

/* Sidebar Overlay */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.sidebar-overlay--visible {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1024px) {
  .sidebar-overlay {
    display: none;
  }
}

/* Main Content Area */
.journey-content {
  flex: 1;
  padding: var(--space-8);
  margin-left: 0;
  background: var(--warm-cream);
}

@media (min-width: 1024px) {
  .journey-content {
    margin-left: 280px;
  }
}

.journey-content__inner {
  max-width: 900px;
  margin: 0 auto;
}

/* ===========================================
   CONTENT SECTIONS
   =========================================== */

/* Section Header */
.section-header {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 2px solid var(--quantum-navy);
}

.section-header__part {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--quantum-coral);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
}

.section-header__part-icon {
  width: 24px;
  height: 24px;
  background: var(--quantum-coral);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
}

.section-header__title {
  font-family: var(--font-primary);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--quantum-navy);
  line-height: var(--leading-tight);
}

/* Content Block */
.content-block {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.content-block h3 {
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--quantum-navy);
  margin-bottom: var(--space-4);
}

.content-block h4 {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--quantum-navy);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.content-block p {
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.content-block ul,
.content-block ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.content-block li {
  margin-bottom: var(--space-2);
  line-height: var(--leading-relaxed);
}

/* Callout Boxes */
.callout {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  margin: var(--space-6) 0;
}

.callout--broker {
  background: linear-gradient(135deg, var(--soft-peach) 0%, #fff5f0 100%);
  border-left: 4px solid var(--quantum-coral);
}

.callout--tip {
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
  border-left: 4px solid var(--success);
}

.callout--warning {
  background: linear-gradient(135deg, #fff8e1 0%, #fffde7 100%);
  border-left: 4px solid #f9a825;
}

.callout--important {
  background: linear-gradient(135deg, #e3f2fd 0%, #e8eaf6 100%);
  border-left: 4px solid var(--quantum-navy);
}

.callout__icon {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.callout__title {
  font-weight: var(--font-bold);
  color: var(--quantum-navy);
  margin-bottom: var(--space-2);
}

.callout__text {
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
}

/* Tables */
.content-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-6) 0;
  font-size: var(--text-sm);
}

.content-table th {
  background: var(--quantum-navy);
  color: white;
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-weight: var(--font-semibold);
}

.content-table th:first-child {
  border-radius: var(--radius-md) 0 0 0;
}

.content-table th:last-child {
  border-radius: 0 var(--radius-md) 0 0;
}

.content-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--light-gray);
}

.content-table tr:nth-child(even) {
  background: var(--light-gray);
}

.content-table tr:last-child td:first-child {
  border-radius: 0 0 0 var(--radius-md);
}

.content-table tr:last-child td:last-child {
  border-radius: 0 0 var(--radius-md) 0;
}

/* Video Placeholder */
.video-placeholder {
  background: linear-gradient(135deg, var(--quantum-navy) 0%, var(--dark-navy) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-8);
  text-align: center;
  margin: var(--space-6) 0;
  position: relative;
  overflow: hidden;
}

.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.video-placeholder__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-4);
  background: var(--quantum-coral);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition-base);
}

.video-placeholder__icon:hover {
  transform: scale(1.1);
}

.video-placeholder__icon svg {
  width: 32px;
  height: 32px;
  fill: white;
  margin-left: 4px;
}

.video-placeholder__title {
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: white;
  margin-bottom: var(--space-2);
  position: relative;
}

.video-placeholder__duration {
  font-size: var(--text-sm);
  color: var(--soft-peach);
  position: relative;
}

/* Checklist */
.checklist {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin: var(--space-6) 0;
  box-shadow: var(--shadow-sm);
}

.checklist__title {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--quantum-navy);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--light-gray);
}

.checklist__item:last-child {
  border-bottom: none;
}

.checklist__checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.checklist__checkbox:hover {
  border-color: var(--quantum-coral);
}

.checklist__checkbox--checked {
  background: var(--success);
  border-color: var(--success);
}

.checklist__checkbox--checked svg {
  width: 14px;
  height: 14px;
  stroke: white;
}

.checklist__text {
  flex: 1;
  line-height: var(--leading-relaxed);
}

/* Navigation Buttons */
.section-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  margin-top: var(--space-8);
  border-top: 1px solid var(--light-gray);
}

.section-nav__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: var(--font-semibold);
  transition: all var(--transition-fast);
}

.section-nav__btn--prev {
  background: var(--light-gray);
  color: var(--text-primary);
}

.section-nav__btn--prev:hover {
  background: var(--medium-gray);
}

.section-nav__btn--next {
  background: var(--quantum-coral);
  color: white;
}

.section-nav__btn--next:hover {
  background: #c66a47;
}

.section-nav__btn svg {
  width: 20px;
  height: 20px;
}

/* Emergency Contact */
.emergency-contact {
  background: linear-gradient(135deg, var(--quantum-coral) 0%, #c66a47 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  color: white;
  margin: var(--space-8) 0;
}

.emergency-contact__title {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
}

.emergency-contact__text {
  margin-bottom: var(--space-4);
  opacity: 0.9;
}

.emergency-contact__phone {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

.emergency-contact__phone svg {
  width: 28px;
  height: 28px;
}

/* Quick Reference Card */
.quick-ref {
  background: var(--quantum-navy);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  color: white;
  margin: var(--space-6) 0;
}

.quick-ref__title {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
  color: var(--soft-peach);
}

.quick-ref__list {
  list-style: none;
}

.quick-ref__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-ref__item:last-child {
  border-bottom: none;
}

.quick-ref__icon {
  width: 24px;
  height: 24px;
  background: var(--quantum-coral);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: var(--text-xs);
}

/* Accordion */
.accordion {
  margin: var(--space-4) 0;
}

.accordion__item {
  background: white;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-2);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion__header {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--quantum-navy);
  text-align: left;
  transition: background var(--transition-fast);
}

.accordion__header:hover {
  background: var(--light-gray);
}

.accordion__icon {
  width: 24px;
  height: 24px;
  transition: transform var(--transition-base);
}

.accordion__item--open .accordion__icon {
  transform: rotate(180deg);
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.accordion__item--open .accordion__content {
  max-height: 2000px;
}

.accordion__body {
  padding: 0 var(--space-5) var(--space-5);
}

/* Welcome Section */
.welcome-section {
  background: linear-gradient(135deg, var(--quantum-navy) 0%, var(--dark-navy) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  color: white;
  text-align: center;
  margin-bottom: var(--space-8);
}

.welcome-section__title {
  font-family: var(--font-primary);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
}

.welcome-section__text {
  font-size: var(--text-lg);
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto var(--space-6);
  line-height: var(--leading-relaxed);
}

.welcome-section__tagline {
  font-size: var(--text-xl);
  color: var(--soft-peach);
  font-style: italic;
}

/* Video Series Grid */
.video-series {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.video-series__item {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.video-series__item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.video-series__number {
  width: 40px;
  height: 40px;
  background: var(--quantum-navy);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  flex-shrink: 0;
}

.video-series__info {
  flex: 1;
}

.video-series__title {
  font-weight: var(--font-semibold);
  color: var(--quantum-navy);
  margin-bottom: var(--space-1);
}

.video-series__duration {
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

.video-series__play {
  width: 32px;
  height: 32px;
  background: var(--quantum-coral);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.video-series__play svg {
  width: 14px;
  height: 14px;
  fill: white;
  margin-left: 2px;
}

/* Status Badges */
.status-yes {
  color: var(--success);
}

.status-no {
  color: #d32f2f;
}

/* List Styles */
.content-block ul.check-list {
  list-style: none;
  padding-left: 0;
}

.content-block ul.check-list li {
  padding-left: var(--space-8);
  position: relative;
}

.content-block ul.check-list li::before {
  content: '✅';
  position: absolute;
  left: 0;
}

.content-block ul.x-list {
  list-style: none;
  padding-left: 0;
}

.content-block ul.x-list li {
  padding-left: var(--space-8);
  position: relative;
}

.content-block ul.x-list li::before {
  content: '❌';
  position: absolute;
  left: 0;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .section-header__title {
    font-size: var(--text-2xl);
  }

  .content-block {
    padding: var(--space-5);
  }

  .section-nav {
    flex-direction: column;
    gap: var(--space-3);
  }

  .section-nav__btn {
    width: 100%;
    justify-content: center;
  }

  .content-table {
    font-size: var(--text-xs);
  }

  .content-table th,
  .content-table td {
    padding: var(--space-2) var(--space-3);
  }
}

/* ===========================================
   VIDEO SHOWCASE SECTION
   =========================================== */

.video-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .video-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .video-showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.video-showcase-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.video-showcase-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: #000;
}

.video-showcase-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-showcase-info {
  padding: var(--space-4);
}

.video-showcase-badge {
  display: inline-block;
  background: var(--soft-peach);
  color: var(--coral);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.video-showcase-title {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--navy);
  margin: 0;
  line-height: var(--leading-snug);
}

/* ===========================================
   JOURNEY PAGE HEADER
   =========================================== */

.journey-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: white;
  padding: var(--space-6) var(--space-8);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-8);
  gap: var(--space-4);
}

.journey-header__info {
  flex: 1;
}

.journey-header__title {
  font-family: var(--font-primary);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin: 0 0 var(--space-2) 0;
  line-height: var(--leading-tight);
}

.journey-header__subtitle {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

@media (max-width: 767px) {
  .journey-header {
    flex-direction: column;
    text-align: center;
    padding: var(--space-5);
  }

  .journey-header__title {
    font-size: var(--text-xl);
  }

  .journey-header__subtitle {
    font-size: var(--text-sm);
  }
}

/* ===========================================
   PDF DOWNLOAD BUTTON
   =========================================== */

.pdf-download-btn {
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #e07b54 !important;
  background: var(--coral, #e07b54) !important;
  color: #ffffff !important;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.pdf-download-btn:hover {
  background: #c96a47 !important;
  background: var(--coral-dark, #c96a47) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  color: #ffffff !important;
  text-decoration: none;
}

.pdf-download-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: #ffffff;
}

.pdf-download-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.journey-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .journey-header__actions {
    margin-top: var(--space-4);
    justify-content: center;
  }

  .pdf-download-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===========================================
   PRINT STYLES FOR PDF GENERATION
   =========================================== */

@media print {
  /* Reset page for print */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  @page {
    size: letter;
    margin: 0.75in;
  }

  /* Hide non-essential elements */
  .journey-sidebar,
  .sidebar-toggle,
  .sidebar-overlay,
  .section-nav,
  .video-placeholder,
  .pdf-download-btn,
  .journey-header__actions,
  header,
  footer,
  .header,
  .footer,
  nav,
  .nav,
  .mobile-nav,
  .video-showcase-grid,
  [data-download-pdf] {
    display: none !important;
  }

  /* Reset layout */
  body {
    font-size: 11pt;
    line-height: 1.5;
    color: #000;
    background: #fff !important;
  }

  .journey-content {
    margin-left: 0;
    padding: 0;
    max-width: 100%;
  }

  .journey-page {
    display: block;
    padding: 0;
  }

  /* Header styling for PDF */
  .journey-header {
    background: #1e3a5f !important;
    color: white !important;
    padding: 24pt 20pt;
    margin-bottom: 20pt;
    page-break-after: avoid;
  }

  .journey-header__title {
    font-size: 24pt;
    margin-bottom: 8pt;
    color: white !important;
  }

  .journey-header__subtitle {
    font-size: 12pt;
    color: rgba(255,255,255,0.9) !important;
  }

  /* Content blocks */
  .content-block {
    box-shadow: none;
    border: 1px solid #ddd;
    margin-bottom: 16pt;
    page-break-inside: avoid;
  }

  .content-block__header {
    background: #f5f5f5 !important;
    border-bottom: 2px solid #1e3a5f;
    padding: 12pt 16pt;
  }

  .content-block__title {
    font-size: 16pt;
    color: #1e3a5f !important;
  }

  .content-block__body {
    padding: 16pt;
  }

  /* Subsections */
  .subsection {
    margin-bottom: 14pt;
    page-break-inside: avoid;
  }

  .subsection__title {
    font-size: 13pt;
    color: #1e3a5f !important;
    border-bottom: 1px solid #e07b54;
    padding-bottom: 4pt;
    margin-bottom: 8pt;
  }

  /* Make all accordions visible in print */
  .accordion__content {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 12pt !important;
  }

  .accordion__toggle svg {
    display: none;
  }

  /* Callouts */
  .callout {
    border: 1px solid #e07b54;
    background: #fef8f5 !important;
    padding: 12pt;
    margin: 12pt 0;
    page-break-inside: avoid;
  }

  .callout--tip {
    border-color: #10b981;
    background: #f0fdf4 !important;
  }

  .callout--warning {
    border-color: #f59e0b;
    background: #fffbeb !important;
  }

  .callout--important {
    border-color: #ef4444;
    background: #fef2f2 !important;
  }

  /* Tables */
  .content-table {
    font-size: 10pt;
    border-collapse: collapse;
    width: 100%;
    page-break-inside: avoid;
  }

  .content-table th {
    background: #1e3a5f !important;
    color: white !important;
    padding: 8pt 10pt;
    text-align: left;
  }

  .content-table td {
    padding: 8pt 10pt;
    border-bottom: 1px solid #ddd;
  }

  .content-table tr:nth-child(even) {
    background: #f9f9f9 !important;
  }

  /* Checklists */
  .checklist {
    page-break-inside: avoid;
  }

  .checklist__item {
    padding: 6pt 0;
    border-bottom: 1px dotted #ddd;
  }

  /* Lists */
  ul, ol {
    margin-left: 20pt;
  }

  li {
    margin-bottom: 4pt;
  }

  /* Links */
  a {
    color: #1e3a5f !important;
    text-decoration: none;
  }

  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #666;
  }

  /* Page breaks */
  .content-block {
    page-break-inside: avoid;
  }

  h2, h3, h4 {
    page-break-after: avoid;
  }

  /* Section headers - keep with following content */
  .section-header {
    page-break-before: always;
    page-break-after: avoid;
    page-break-inside: avoid;
  }

  .section-header__part {
    page-break-after: avoid;
  }

  /* First section shouldn't have page break before */
  section:first-of-type .section-header {
    page-break-before: avoid;
  }

  /* Welcome section - keep together */
  .welcome-section {
    page-break-inside: avoid;
  }

  .welcome-section__title {
    page-break-after: avoid;
  }

  .welcome-section__text {
    page-break-before: avoid;
  }

  .welcome-section__tagline {
    page-break-before: avoid;
  }

  /* Add Quantum branding to footer */
  .journey-page::after {
    content: "Quantum Insurance Brokers | quantum.com.do | 809-701-6406";
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 9pt;
    color: #666;
    padding: 8pt;
    border-top: 1px solid #ddd;
  }
}
