/* SAP Engineering Guide - Professional Design System 2025 */
:root {
  /* SAP-inspired Professional Color Palette */
  --primary-color: #0070f3;
  --primary-dark: #0056b3;
  --primary-light: #4da3ff;
  --secondary-color: #00d4aa;
  --secondary-dark: #00a085;
  --accent-color: #ff6b35;
  --accent-dark: #e55a2b;
  
  /* Status Colors */
  --success-color: #28a745;
  --warning-color: #ffc107;
  --error-color: #dc3545;
  --info-color: #17a2b8;
  
  /* Enterprise Neutrals */
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  
  /* Tier Colors */
  --tier-basic: #4ade80;
  --tier-premium: #3b82f6;
  --tier-luxury: #8b5cf6;
  --tier-ultra: #f59e0b;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--neutral-800);
  background-color: var(--neutral-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--neutral-200);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  max-width: 1400px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 600;
  font-size: var(--font-size-lg);
  color: var(--primary-color);
}

.nav-icon {
  width: 24px;
  height: 24px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-8);
}

.nav-link {
  text-decoration: none;
  color: var(--neutral-600);
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
}

.nav-link:hover {
  color: var(--primary-color);
  background: var(--neutral-100);
}

.nav-link.active {
  color: var(--primary-color);
  background: var(--primary-color);
  color: white;
}

.nav-toggle {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: var(--space-24) 0 var(--space-20);
  margin-top: 80px;
  background: linear-gradient(135deg, var(--neutral-50) 0%, var(--neutral-100) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-text h1 {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--space-4);
  line-height: 1.1;
}

.hero-text h2 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: var(--space-6);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--neutral-600);
  margin-bottom: var(--space-8);
  line-height: 1.5;
}

.solution-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.summary-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-200);
}

.summary-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.summary-icon i {
  width: 24px;
  height: 24px;
}

.summary-content h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-1);
}

.summary-content p {
  font-size: var(--font-size-sm);
  color: var(--neutral-600);
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: var(--font-size-base);
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.promotion-flow-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--neutral-200);
  width: 100%;
  max-width: 500px;
}

.flow-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--primary-color);
}

.flow-header i {
  width: 28px;
  height: 28px;
  color: var(--primary-color);
}

.flow-header h3 {
  font-size: var(--font-size-xl);
  color: var(--neutral-800);
  font-weight: 600;
}

.mini-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
  gap: var(--space-2);
}

.mini-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  flex: 1;
  min-width: 80px;
}

.mini-step i {
  width: 20px;
  height: 20px;
  color: var(--primary-color);
}

.mini-step span {
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--neutral-700);
  text-align: center;
}

.mini-arrow {
  color: var(--neutral-400);
  font-weight: bold;
  font-size: var(--font-size-lg);
}

.gift-options-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.gift-preview {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--neutral-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
  transition: var(--transition-fast);
}

.gift-preview:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-1px);
}

.gift-preview i {
  width: 16px;
  height: 16px;
}

.gift-preview span {
  font-size: var(--font-size-sm);
  font-weight: 500;
}

/* Sections */
.section {
  padding: var(--space-20) 0;
}

.bg-light {
  background: var(--neutral-100);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-header h2 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--font-size-xl);
  color: var(--neutral-600);
  max-width: 800px;
  margin: 0 auto;
}

/* Scenario Overview */
.scenario-overview {
  max-width: 1200px;
  margin: 0 auto;
}

.scenario-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-200);
}

.meta-item i {
  width: 32px;
  height: 32px;
  color: var(--primary-color);
  flex-shrink: 0;
}

.meta-item h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-1);
}

.meta-item p {
  color: var(--neutral-600);
  font-size: var(--font-size-base);
}

/* Tier Analysis */
.tier-analysis {
  margin-top: var(--space-12);
}

.tier-analysis h3 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--space-8);
  text-align: center;
}

.tier-detail-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  margin-bottom: var(--space-12);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-200);
  position: relative;
}

.tier-detail-card.ultra {
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
  border: 2px solid var(--tier-ultra);
}

.tier-header-detailed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--neutral-200);
}

.tier-info h4 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--space-2);
}

.tier-badge {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tier-badge.basic {
  background: var(--tier-basic);
  color: white;
}

.tier-badge.premium {
  background: var(--tier-premium);
  color: white;
}

.tier-badge.luxury {
  background: var(--tier-luxury);
  color: white;
}

.tier-badge.ultra {
  background: var(--tier-ultra);
  color: white;
}

.tier-qualification {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--info-color);
  color: white;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.tier-qualification i {
  width: 16px;
  height: 16px;
}

.tier-brands-detailed {
  margin-bottom: var(--space-8);
}

.tier-brands-detailed h5 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-4);
}

.brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.brand-tag {
  padding: var(--space-2) var(--space-3);
  background: var(--neutral-100);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--neutral-700);
}

.gift-options-detailed {
  margin-bottom: var(--space-8);
}

.gift-options-detailed h5 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-4);
}

.gift-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
}

.gift-option-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  transition: var(--transition-fast);
}

.gift-option-card:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.gift-option-card.premium {
  background: linear-gradient(135deg, var(--tier-ultra) 0%, #fbbf24 100%);
  color: white;
  border: none;
}

.gift-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.gift-option-card:hover .gift-icon {
  background: white;
  color: var(--primary-color);
}

.gift-option-card.premium .gift-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.gift-icon i {
  width: 24px;
  height: 24px;
}

.gift-details h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.gift-details p {
  font-size: var(--font-size-sm);
  opacity: 0.8;
  margin-bottom: var(--space-2);
}

.gift-value {
  font-size: var(--font-size-sm);
  font-weight: 600;
  padding: var(--space-1) var(--space-2);
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
}

.business-rules {
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border-left: 4px solid var(--success-color);
}

.business-rules h5 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

.business-rules ul {
  list-style: none;
  padding: 0;
}

.business-rules li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--neutral-700);
}

.business-rules li i {
  width: 16px;
  height: 16px;
  color: var(--success-color);
  flex-shrink: 0;
}

/* Complex Conditions */
.complex-conditions {
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 2px solid var(--tier-ultra);
  margin-bottom: var(--space-6);
}

.complex-conditions h5 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-4);
}

.condition-matrix {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.condition-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3);
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
}

.condition-trigger {
  flex: 0 0 200px;
  padding: var(--space-2) var(--space-3);
  background: var(--tier-ultra);
  color: white;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-align: center;
}

.condition-result {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  font-size: var(--font-size-sm);
  color: var(--neutral-700);
}

.condition-result i {
  width: 16px;
  height: 16px;
  color: var(--tier-ultra);
}

.ultra-gift-options {
  margin-top: var(--space-6);
}

.ultra-gift-options h5 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-4);
}

/* Analysis Dashboard */
.analysis-dashboard {
  max-width: 1200px;
  margin: 0 auto;
}

.analysis-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

.summary-stat {
  text-align: center;
  padding: var(--space-8);
  background: white;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-200);
}

.stat-value {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-2);
}

.stat-description {
  font-size: var(--font-size-sm);
  color: var(--neutral-600);
}

.capability-analysis {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.capability-section, .limitation-section {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-200);
}

.section-header-small {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--neutral-200);
}

.section-header-small i {
  width: 32px;
  height: 32px;
}

.icon-success {
  color: var(--success-color);
}

.icon-warning {
  color: var(--warning-color);
}

.section-header-small h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--neutral-900);
}

.capability-grid, .limitation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-6);
}

.capability-card, .limitation-card {
  background: var(--neutral-50);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--neutral-200);
  transition: var(--transition-fast);
}

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

.limitation-card {
  border-left: 4px solid var(--error-color);
}

.limitation-card.critical {
  border-left: 4px solid var(--error-color);
  background: #fef2f2;
}

.limitation-card.high {
  border-left: 4px solid var(--warning-color);
  background: #fffbeb;
}

.limitation-card.medium {
  border-left: 4px solid var(--info-color);
  background: #f0f9ff;
}

.capability-header, .limitation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.capability-header i, .limitation-header i {
  width: 24px;
  height: 24px;
  color: var(--success-color);
  margin-right: var(--space-3);
}

.limitation-header i {
  color: var(--error-color);
}

.capability-header h4, .limitation-header h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--neutral-800);
  flex: 1;
}

.severity-badge {
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
}

.severity-badge.critical {
  background: var(--error-color);
  color: white;
}

.severity-badge.high {
  background: var(--warning-color);
  color: white;
}

.severity-badge.medium {
  background: var(--info-color);
  color: white;
}

.capability-content, .limitation-content {
  margin-top: var(--space-4);
}

.capability-content p, .limitation-content p {
  margin-bottom: var(--space-4);
  color: var(--neutral-700);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--neutral-700);
}

.feature-item i {
  width: 16px;
  height: 16px;
  color: var(--success-color);
  flex-shrink: 0;
}

.technical-note {
  background: var(--neutral-100);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  margin-top: var(--space-3);
  border-left: 3px solid var(--primary-color);
  font-size: var(--font-size-sm);
}

.impact-analysis, .complexity-breakdown, .integration-requirements, .calculation-complexity {
  margin: var(--space-4) 0;
}

.impact-analysis h5, .complexity-breakdown h5, .integration-requirements h5, .calculation-complexity h5 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

.impact-analysis ul, .complexity-breakdown ul, .integration-requirements ul, .calculation-complexity ul {
  list-style: none;
  padding: 0;
}

.impact-analysis li, .complexity-breakdown li, .integration-requirements li, .calculation-complexity li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--neutral-700);
}

.impact-analysis li i, .complexity-breakdown li i, .integration-requirements li i, .calculation-complexity li i {
  width: 16px;
  height: 16px;
  color: var(--warning-color);
  flex-shrink: 0;
}

.solution-approach {
  margin-top: var(--space-4);
}

.solution-approach h5 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

.approach-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--primary-color);
  color: white;
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  font-weight: 500;
  margin-right: var(--space-2);
  margin-bottom: var(--space-2);
}

/* Configuration Workflow */
.config-workflow {
  max-width: 1200px;
  margin: 0 auto;
}

.workflow-overview {
  margin-bottom: var(--space-16);
}

.workflow-overview h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--space-8);
  text-align: center;
}

.workflow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 200px;
  padding: var(--space-4);
}

.step-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: var(--space-3);
}

.step-icon i {
  width: 32px;
  height: 32px;
}

.workflow-step h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-2);
}

.workflow-step p {
  font-size: var(--font-size-sm);
  color: var(--neutral-600);
}

.workflow-arrow {
  color: var(--neutral-400);
  font-size: var(--font-size-2xl);
}

.workflow-arrow i {
  width: 24px;
  height: 24px;
}

/* Configuration Sections */
.config-section-detailed {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  margin-bottom: var(--space-12);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-200);
}

.config-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--primary-color);
}

.config-header i {
  width: 32px;
  height: 32px;
  color: var(--primary-color);
}

.config-header h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--neutral-900);
  flex: 1;
}

.config-badge {
  padding: var(--space-2) var(--space-4);
  background: var(--primary-color);
  color: white;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
}

.config-subsection {
  margin-bottom: var(--space-10);
}

.config-subsection h4 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--neutral-200);
}

/* Step-by-Step Guide */
.step-by-step-guide {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.guide-step {
  background: var(--neutral-50);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--neutral-200);
}

.step-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-lg);
  flex-shrink: 0;
}

.step-header h5 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--neutral-800);
}

.step-content {
  margin-left: var(--space-12);
}

.transaction-info {
  background: var(--neutral-800);
  color: white;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-4);
}

.step-instructions h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

/* Hierarchy Tree */
.hierarchy-tree {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid var(--neutral-200);
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
}

.tree-node {
  margin-bottom: var(--space-2);
}

.tree-node.root {
  font-weight: 600;
  color: var(--primary-color);
}

.tree-children {
  margin-left: var(--space-4);
  border-left: 2px solid var(--neutral-200);
  padding-left: var(--space-4);
}

.tree-leaf {
  color: var(--neutral-600);
  margin-bottom: var(--space-1);
}

.tree-node i {
  width: 16px;
  height: 16px;
  margin-right: var(--space-2);
  color: var(--primary-color);
}

/* Configuration Tables */
.configuration-details {
  margin-top: var(--space-4);
}

.configuration-details h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

.config-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.config-table th,
.config-table td {
  padding: var(--space-3);
  text-align: left;
  border-bottom: 1px solid var(--neutral-200);
  font-size: var(--font-size-sm);
}

.config-table th {
  background: var(--neutral-100);
  font-weight: 600;
  color: var(--neutral-800);
}

.config-table td {
  color: var(--neutral-700);
}

/* Article Categories */
.article-category {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-md);
}

.category-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--primary-color);
}

.category-header i {
  width: 28px;
  height: 28px;
  color: var(--primary-color);
}

.category-header h5 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--neutral-800);
}

.article-specs h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-4);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-4);
}

.spec-item {
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid var(--neutral-200);
}

.spec-item strong {
  display: block;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: var(--space-3);
}

.spec-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-1) 0;
  border-bottom: 1px solid var(--neutral-200);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-size: var(--font-size-sm);
  color: var(--neutral-600);
  font-weight: 500;
}

.spec-value {
  font-size: var(--font-size-sm);
  color: var(--neutral-800);
  font-weight: 600;
}

.spec-note {
  font-size: var(--font-size-sm);
  color: var(--neutral-600);
  font-style: italic;
  padding: var(--space-2);
  background: var(--neutral-100);
  border-radius: var(--radius-md);
}

/* Configuration Notes */
.configuration-notes {
  background: var(--warning-color);
  color: var(--neutral-800);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-top: var(--space-4);
}

.configuration-notes h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.note-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.note-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
}

.note-item i {
  width: 16px;
  height: 16px;
  color: var(--neutral-800);
  flex-shrink: 0;
}

/* Promotion Configuration */
.promotion-config-overview {
  margin-bottom: var(--space-8);
}

.config-path-info {
  background: var(--neutral-50);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--neutral-200);
}

.path-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.path-header i {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
}

.path-header h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--neutral-800);
}

.path-breadcrumb {
  background: var(--neutral-800);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-3);
}

.path-description {
  font-size: var(--font-size-sm);
  color: var(--neutral-600);
  line-height: 1.5;
}

/* Promotion Types */
.promotion-types-detailed {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.promo-type-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-md);
}

.promo-type-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--primary-color);
}

.promo-type-header i {
  width: 28px;
  height: 28px;
  color: var(--primary-color);
}

.promo-type-header h5 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--neutral-800);
  flex: 1;
}

.promo-badge {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
}

.promo-badge.free-goods {
  background: var(--success-color);
  color: white;
}

.promo-badge.discount {
  background: var(--info-color);
  color: white;
}

.promo-badge.rebate {
  background: var(--warning-color);
  color: white;
}

.promo-badge.upgrade {
  background: var(--accent-color);
  color: white;
}

.config-parameters h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-4);
}

.param-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.param-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) var(--space-3);
  background: var(--neutral-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
}

.param-label {
  font-size: var(--font-size-sm);
  color: var(--neutral-600);
  font-weight: 500;
}

.param-value {
  font-size: var(--font-size-sm);
  color: var(--neutral-800);
  font-weight: 600;
}

/* Business Logic */
.business-logic {
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border-left: 4px solid var(--success-color);
}

.business-logic h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

.logic-rules {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.rule-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--neutral-700);
}

.rule-item i {
  width: 16px;
  height: 16px;
  color: var(--success-color);
  flex-shrink: 0;
}

/* Integration Details */
.integration-details {
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border-left: 4px solid var(--info-color);
}

.integration-details h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

.integration-steps {
  padding-left: var(--space-4);
}

.integration-steps ol {
  list-style: decimal;
  color: var(--neutral-700);
}

.integration-steps li {
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
}

/* Accounting Setup */
.accounting-setup {
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border-left: 4px solid var(--accent-color);
}

.accounting-setup h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

.account-mapping {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.account-item {
  font-size: var(--font-size-sm);
  color: var(--neutral-700);
  padding: var(--space-2);
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
}

/* Upgrade Logic */
.upgrade-logic {
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border-left: 4px solid var(--accent-color);
}

.upgrade-logic h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

.upgrade-rules {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.upgrade-rule {
  font-size: var(--font-size-sm);
  color: var(--neutral-700);
  padding: var(--space-2);
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
}

/* Condition Tables */
.condition-tables-config {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.condition-table-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-md);
}

.table-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--primary-color);
}

.table-header i {
  width: 28px;
  height: 28px;
  color: var(--primary-color);
}

.table-header h5 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--neutral-800);
  flex: 1;
}

.table-badge {
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
}

.table-badge.primary {
  background: var(--primary-color);
  color: white;
}

.table-badge.fallback {
  background: var(--warning-color);
  color: white;
}

.table-badge.default {
  background: var(--neutral-500);
  color: white;
}

.table-purpose {
  margin-bottom: var(--space-4);
}

.table-purpose h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-2);
}

.table-purpose p {
  font-size: var(--font-size-sm);
  color: var(--neutral-600);
}

.table-structure h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

.structure-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.structure-table th,
.structure-table td {
  padding: var(--space-3);
  text-align: left;
  border-bottom: 1px solid var(--neutral-200);
  font-size: var(--font-size-sm);
}

.structure-table th {
  background: var(--neutral-100);
  font-weight: 600;
  color: var(--neutral-800);
}

.structure-table td {
  color: var(--neutral-700);
}

.structure-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.structure-item {
  padding: var(--space-2) var(--space-3);
  background: var(--neutral-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
  font-size: var(--font-size-sm);
  color: var(--neutral-700);
}

.usage-example {
  margin-top: var(--space-4);
}

.usage-example h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

.example-record {
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid var(--neutral-200);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3);
}

.record-field {
  font-size: var(--font-size-sm);
  color: var(--neutral-700);
  padding: var(--space-2);
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
}

/* Access Sequence */
.access-sequence-config {
  margin-top: var(--space-12);
}

.sequence-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  text-align: center;
  justify-content: center;
}

.sequence-header i {
  width: 32px;
  height: 32px;
  color: var(--primary-color);
}

.sequence-header h4 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--neutral-900);
}

.access-sequence-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-lg);
}

.sequence-info {
  text-align: center;
  margin-bottom: var(--space-8);
}

.sequence-info h5 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: var(--space-2);
}

.sequence-info p {
  font-size: var(--font-size-base);
  color: var(--neutral-600);
}

.sequence-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.sequence-step {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-indicator .step-number {
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.step-line {
  width: 2px;
  height: 60px;
  background: var(--neutral-200);
}

.sequence-step:last-child .step-line {
  display: none;
}

.step-content {
  flex: 1;
  padding-top: var(--space-2);
}

.step-content h6 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-2);
}

.step-content p {
  font-size: var(--font-size-base);
  color: var(--neutral-600);
  margin-bottom: var(--space-3);
}

.step-requirement, .step-logic {
  margin-bottom: var(--space-2);
}

.step-requirement strong, .step-logic strong {
  font-size: var(--font-size-sm);
  color: var(--neutral-800);
}

.requirement-details {
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--neutral-200);
}

.requirement-details h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-4);
}

.requirement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-4);
}

.requirement-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid var(--neutral-200);
}

.requirement-item strong {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: var(--space-2);
}

.requirement-code {
  background: var(--neutral-900);
  color: #e2e8f0;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  overflow-x: auto;
}

/* Development Overview */
.development-overview {
  margin-bottom: var(--space-16);
}

.dev-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.dev-stat {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-200);
  text-align: center;
}

.stat-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto var(--space-4);
}

.stat-icon i {
  width: 32px;
  height: 32px;
}

.stat-content .stat-value {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-2);
}

.stat-content .stat-label {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-2);
}

.stat-content .stat-description {
  font-size: var(--font-size-sm);
  color: var(--neutral-600);
}

/* Development Sections */
.development-section {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  margin-bottom: var(--space-12);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-200);
}

.dev-section-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--primary-color);
}

.dev-section-header i {
  width: 32px;
  height: 32px;
  color: var(--primary-color);
}

.dev-section-header h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--neutral-900);
  flex: 1;
}

.dev-badge {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
}

.dev-badge.critical {
  background: var(--error-color);
  color: white;
}

/* BADI Implementation */
.badi-implementation {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.badi-overview {
  background: var(--neutral-50);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--neutral-200);
}

.badi-info h4 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: var(--space-2);
}

.badi-info p {
  font-size: var(--font-size-base);
  color: var(--neutral-600);
  margin-bottom: var(--space-4);
}

.implementation-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}

.impl-item {
  font-size: var(--font-size-sm);
  color: var(--neutral-700);
}

.impl-item strong {
  color: var(--neutral-800);
}

/* BADI Methods */
.badi-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.method-card {
  background: var(--neutral-50);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--neutral-200);
}

.method-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--primary-color);
}

.method-header i {
  width: 28px;
  height: 28px;
  color: var(--primary-color);
}

.method-header h5 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--neutral-800);
  flex: 1;
}

.method-badge {
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
}

.method-badge.primary {
  background: var(--primary-color);
  color: white;
}

.method-badge.secondary {
  background: var(--secondary-color);
  color: white;
}

.method-badge.validation {
  background: var(--success-color);
  color: white;
}

.method-purpose {
  margin-bottom: var(--space-4);
}

.method-purpose h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-2);
}

.method-purpose p {
  font-size: var(--font-size-base);
  color: var(--neutral-600);
}

.method-signature {
  margin-bottom: var(--space-6);
}

.method-signature h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

.signature-code {
  background: var(--neutral-900);
  color: #e2e8f0;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  overflow-x: auto;
}

.signature-code pre {
  margin: 0;
  line-height: 1.5;
}

.method-implementation {
  margin-bottom: var(--space-6);
}

.method-implementation h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

.implementation-code {
  background: var(--neutral-900);
  color: #e2e8f0;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  overflow-x: auto;
  max-height: 400px;
  overflow-y: auto;
}

.implementation-code pre {
  margin: 0;
  line-height: 1.4;
}

/* Business Logic Details */
.business-logic-details {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid var(--neutral-200);
}

.business-logic-details h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-4);
}

.logic-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.logic-step {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.logic-step .step-number {
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--font-size-sm);
  flex-shrink: 0;
}

.logic-step .step-content {
  flex: 1;
}

.logic-step .step-content h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-1);
}

.logic-step .step-content p {
  font-size: var(--font-size-sm);
  color: var(--neutral-600);
}

/* Tier 4 Logic */
.tier4-logic {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid var(--neutral-200);
}

.tier4-logic h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-4);
}

.complex-logic-code {
  background: var(--neutral-900);
  color: #e2e8f0;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  overflow-x: auto;
  max-height: 300px;
  overflow-y: auto;
}

.complex-logic-code pre {
  margin: 0;
  line-height: 1.4;
}

/* Validation Logic */
.validation-logic {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid var(--neutral-200);
}

.validation-logic h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-4);
}

.validation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
}

.validation-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-3);
  background: var(--neutral-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
}

.validation-item i {
  width: 20px;
  height: 20px;
  color: var(--success-color);
  flex-shrink: 0;
  margin-top: 2px;
}

.validation-item div h6 {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-1);
}

.validation-item div p {
  font-size: var(--font-size-xs);
  color: var(--neutral-600);
}

/* Function Modules */
.fm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-8);
}

.fm-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-md);
}

.fm-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--primary-color);
}

.fm-header i {
  width: 28px;
  height: 28px;
  color: var(--primary-color);
}

.fm-header h5 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--neutral-800);
  flex: 1;
}

.fm-badge {
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  background: var(--primary-color);
  color: white;
}

.fm-purpose {
  margin-bottom: var(--space-4);
}

.fm-purpose h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-2);
}

.fm-purpose p {
  font-size: var(--font-size-sm);
  color: var(--neutral-600);
}

.fm-interface {
  margin-bottom: var(--space-4);
}

.fm-interface h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

.interface-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.interface-table th,
.interface-table td {
  padding: var(--space-2);
  text-align: left;
  border-bottom: 1px solid var(--neutral-200);
  font-size: var(--font-size-xs);
}

.interface-table th {
  background: var(--neutral-100);
  font-weight: 600;
  color: var(--neutral-800);
}

.interface-table td {
  color: var(--neutral-700);
}

.fm-logic {
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border-left: 4px solid var(--primary-color);
}

.fm-logic h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

.fm-logic ul {
  list-style: none;
  padding: 0;
}

.fm-logic li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--neutral-700);
}

.fm-logic li i {
  width: 16px;
  height: 16px;
  color: var(--success-color);
  flex-shrink: 0;
}

/* UI5 Application */
.ui5-app-overview {
  background: var(--neutral-50);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--neutral-200);
  margin-bottom: var(--space-8);
}

.app-info {
  margin-bottom: var(--space-6);
}

.app-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.app-header i {
  width: 32px;
  height: 32px;
  color: var(--primary-color);
}

.app-header h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--neutral-800);
  flex: 1;
}

.app-badge {
  padding: var(--space-2) var(--space-4);
  background: var(--primary-color);
  color: white;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.app-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}

.detail-item {
  font-size: var(--font-size-sm);
  color: var(--neutral-700);
}

.detail-item strong {
  color: var(--neutral-800);
}

.app-structure-overview {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid var(--neutral-200);
}

.structure-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.structure-header i {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
}

.structure-header h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
}

.structure-code {
  background: var(--neutral-900);
  color: #e2e8f0;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  overflow-x: auto;
}

.structure-code pre {
  margin: 0;
  line-height: 1.4;
}

/* UI5 Views */
.ui5-views-detailed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.view-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-md);
}

.view-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--primary-color);
}

.view-header i {
  width: 28px;
  height: 28px;
  color: var(--primary-color);
}

.view-header h5 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--neutral-800);
}

.view-features {
  margin-bottom: var(--space-4);
}

.view-features h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

.view-features ul {
  list-style: none;
  padding: 0;
}

.view-features li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--neutral-700);
}

.view-features li i {
  width: 16px;
  height: 16px;
  color: var(--success-color);
  flex-shrink: 0;
}

.ui-components {
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border-left: 4px solid var(--secondary-color);
}

.ui-components h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

.component-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.component-item {
  padding: var(--space-1) var(--space-2);
  background: white;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--neutral-700);
}

/* OData Integration */
.odata-integration-detailed {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-md);
}

.odata-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--primary-color);
}

.odata-header i {
  width: 28px;
  height: 28px;
  color: var(--primary-color);
}

.odata-header h4 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--neutral-800);
}

.service-info {
  font-size: var(--font-size-base);
  color: var(--neutral-700);
  margin-bottom: var(--space-4);
}

.service-info strong {
  color: var(--primary-color);
}

.entity-sets {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.entity-set {
  padding: var(--space-4);
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
}

.entity-set h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: var(--space-2);
}

.entity-set p {
  font-size: var(--font-size-sm);
  color: var(--neutral-600);
}

/* Integration Sections */
.integration-sections {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.integration-section-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-lg);
}

.integration-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--primary-color);
}

.integration-header i {
  width: 32px;
  height: 32px;
  color: var(--primary-color);
}

.integration-header h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--neutral-900);
  flex: 1;
}

.integration-badge {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
}

.integration-badge.critical {
  background: var(--error-color);
  color: white;
}

.integration-badge.medium {
  background: var(--warning-color);
  color: white;
}

.integration-badge.low {
  background: var(--success-color);
  color: white;
}

/* Integration Architecture */
.integration-architecture {
  margin-bottom: var(--space-8);
}

.integration-architecture h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-4);
}

.integration-flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.integration-flow-diagram .flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 150px;
  padding: var(--space-4);
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
}

.integration-flow-diagram .step-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: var(--space-3);
}

.integration-flow-diagram .step-icon i {
  width: 24px;
  height: 24px;
}

.integration-flow-diagram .flow-step h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-2);
}

.integration-flow-diagram .flow-step p {
  font-size: var(--font-size-sm);
  color: var(--neutral-600);
}

.integration-flow-diagram .flow-arrow {
  color: var(--neutral-400);
  font-size: var(--font-size-xl);
}

.integration-flow-diagram .flow-arrow i {
  width: 20px;
  height: 20px;
}

/* API Specifications */
.api-specifications-detailed {
  background: var(--neutral-50);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--neutral-200);
}

.api-specifications-detailed h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-4);
}

.api-endpoint-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-md);
}

.endpoint-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--primary-color);
}

.endpoint-header h5 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--neutral-800);
  flex: 1;
}

.endpoint-badge {
  padding: var(--space-1) var(--space-3);
  background: var(--primary-color);
  color: white;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
}

.request-response-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.request-details, .response-details {
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid var(--neutral-200);
}

.request-details h6, .response-details h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

.code-block {
  background: var(--neutral-900);
  color: #e2e8f0;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  overflow-x: auto;
  margin-bottom: var(--space-3);
}

.code-block pre {
  margin: 0;
  line-height: 1.4;
}

/* Inventory Components */
.inventory-components {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.inventory-component {
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid var(--neutral-200);
  border-left: 4px solid var(--secondary-color);
}

.inventory-component h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: var(--space-3);
}

.inventory-component ul {
  list-style: none;
  padding: 0;
}

.inventory-component li {
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--neutral-700);
}

.inventory-component li strong {
  color: var(--neutral-800);
}

/* Financial Architecture */
.financial-architecture {
  background: var(--neutral-50);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--neutral-200);
}

.financial-architecture h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-4);
}

.accounting-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.accounting-step {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid var(--neutral-200);
  border-left: 4px solid var(--accent-color);
}

.accounting-step h6 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: var(--space-3);
}

.accounting-step ul {
  list-style: none;
  padding: 0;
}

.accounting-step li {
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--neutral-700);
}

.accounting-step li strong {
  color: var(--neutral-800);
}

.posting-logic {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid var(--neutral-200);
}

.posting-logic h6 
{
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: var(--space-3);
}

/* Roadmap Timeline */
.roadmap-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  max-width: 1000px;
  margin: 0 auto;
}

.roadmap-phase {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-200);
  position: relative;
}

.roadmap-phase::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.phase-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.phase-number {
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
  flex-shrink: 0;
}

.phase-header h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--neutral-800);
  flex: 1;
}

.phase-duration {
  padding: var(--space-2) var(--space-4);
  background: var(--secondary-color);
  color: white;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.phase-tasks ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-3);
}

.phase-tasks li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
}

.phase-tasks li i {
  width: 20px;
  height: 20px;
  color: var(--success-color);
  flex-shrink: 0;
}

/* Footer */
.footer {
  background: var(--neutral-900);
  color: var(--neutral-300);
  padding: var(--space-12) 0 var(--space-6);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: white;
}

.footer-brand i {
  width: 24px;
  height: 24px;
}

.footer-links {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--neutral-300);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.footer-social {
  display: flex;
  gap: var(--space-4);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--neutral-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-300);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary-color);
  color: white;
}

.footer-social i {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-6);
  border-top: 1px solid var(--neutral-800);
}

.footer-bottom p {
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: var(--font-size-4xl);
  }
  
  .solution-summary {
    grid-template-columns: 1fr;
  }
  
  .analysis-summary {
    grid-template-columns: 1fr;
  }
  
  .capability-grid, .limitation-grid {
    grid-template-columns: 1fr;
  }
  
  .request-response-grid {
    grid-template-columns: 1fr;
  }
  
  .workflow-steps {
    flex-direction: column;
  }
  
  .workflow-arrow {
    transform: rotate(90deg);
  }
  
  .phase-tasks ul {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }
  
  .hero {
    padding: var(--space-16) 0 var(--space-12);
  }
  
  .section {
    padding: var(--space-12) 0;
  }
  
  .hero-text h1 {
    font-size: var(--font-size-3xl);
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .gift-options-grid {
    grid-template-columns: 1fr;
  }
}

/* Print Styles */
@media print {
  @page {
    margin: 1in;
    @top-center {
      content: "SAP IS Retail Multi-Option Gift Promotion - Engineering Guide";
    }
    @bottom-center {
      content: "Created by Helium AI - Page " counter(page);
    }
  }
  
  body {
    font-size: 10pt;
    line-height: 1.4;
    color: black;
    background: white;
  }
  
  .navbar,
  .footer,
  .hero-buttons,
  .btn {
    display: none;
  }
  
  .section {
    page-break-inside: avoid;
    padding: 20pt 0;
  }
  
  .section-header h2 {
    page-break-after: avoid;
  }
  
  .tier-detail-card,
  .capability-card,
  .limitation-card,
  .config-section-detailed,
  .development-section,
  .integration-section-card {
    page-break-inside: avoid;
    margin-bottom: 20pt;
  }
  
  .roadmap-phase {
    page-break-inside: avoid;
  }
  
  * {
    print-color-adjust: exact;
  }
}