/* REAL AI Framework - Methodology Additional Sections Styles */

/* Framework Pillars Section */
.framework-pillars-section {
  padding: 5rem 0;
  background: #f8fafc;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pillar-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid #00A86B;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: white;
  background: #00A86B;
}

.pillar-title h3 {
  margin: 0;
  color: #0A2540;
  font-size: 1.5rem;
}

.pillar-subtitle {
  color: #6b7280;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.pillar-description {
  color: #374151;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pillar-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pillar-features li {
  color: #374151;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  padding-left: 1.5rem;
}

.pillar-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00A86B;
  font-weight: 600;
}

.pillar-features li:last-child {
  border-bottom: none;
}

/* Reference Architecture Section */
.reference-architecture {
  padding: 5rem 0;
  background: white;
}

.architecture-overview .architecture-layers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.reference-architecture .layer {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.reference-architecture .layer:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

.reference-architecture .layer h3 {
  color: #0A2540;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.reference-architecture .layer p {
  color: #6b7280;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.reference-architecture .layer-components {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.reference-architecture .component {
  background: #00A86B;
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Implementation Roadmap Section */
.implementation-roadmap {
  padding: 5rem 0;
  background: #f8fafc;
}

.roadmap-timeline {
  margin-top: 3rem;
}

.phase-group {
  margin-bottom: 3rem;
}

.phase-group h3 {
  color: #0A2540;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.phase {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.phase:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.phase-number {
  position: absolute;
  top: -15px;
  left: 1.5rem;
  width: 30px;
  height: 30px;
  background: #00A86B;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.phase h4 {
  color: #0A2540;
  margin: 0.5rem 0 0.75rem;
  font-size: 1.1rem;
}

.phase p {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0;
}

/* Industry Implementations Section */
.industry-implementations {
  padding: 5rem 0;
  background: white;
}

.industry-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.industry-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  border-left: 4px solid #0A2540;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  background: white;
}

.industry-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.industry-icon {
  color: #00A86B;
}

.industry-header h3 {
  color: #0A2540;
  margin: 0;
  font-size: 1.25rem;
}

.compliance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.badge {
  background: #0A2540;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.industry-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.industry-features li {
  color: #374151;
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.25rem;
}

.industry-features li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #00A86B;
  font-weight: 600;
}

.implementation-time {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.time-label {
  color: #6b7280;
  font-size: 0.9rem;
}

.time-value {
  color: #00A86B;
  font-weight: 600;
  font-size: 1rem;
}

/* Metrics Framework Section */
.metrics-framework {
  padding: 5rem 0;
  background: #f8fafc;
}

.metrics-categories {
  margin-top: 3rem;
}

.metric-category {
  margin-bottom: 3rem;
}

.metric-category h3 {
  color: #0A2540;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.metric-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.metric-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #00A86B;
  margin-bottom: 0.5rem;
}

.metric-label {
  color: #0A2540;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.metric-description {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: #0A2540;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 0.5rem;
  color: #6b7280;
}

.current-page {
  color: #6b7280;
}

/* Hero section updates */
.hero-subtitle {
  font-size: 1.5rem;
  color: #00A86B;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Four Pillars Deep Dive */
.four-pillars-deep-dive {
  padding: 5rem 0;
  background: white;
}

.pillar-deep-dive {
  background: #f8fafc;
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  border-left: 4px solid #00A86B;
}

.pillar-deep-dive:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  background: white;
}

.pillar-deep-dive .pillar-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pillar-deep-dive .pillar-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  background: #00A86B;
}

.pillar-deep-dive .pillar-title h3 {
  margin: 0;
  color: #0A2540;
  font-size: 1.75rem;
}

.pillar-deep-dive .pillar-title p {
  margin: 0.5rem 0 0 0;
  color: #6b7280;
  font-size: 1rem;
}

.methodology-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.methodology-list li {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.methodology-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.methodology-list strong {
  display: block;
  color: #0A2540;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.methodology-list p {
  color: #374151;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Risk Assessment Process */
.risk-assessment-process {
  padding: 5rem 0;
  background: #f8fafc;
}

.risk-workflow-diagram {
  margin: 3rem 0;
}

.workflow-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.risk-step {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid #e5e7eb;
  min-width: 140px;
  position: relative;
}

.risk-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: #00A86B;
}

.risk-step.active {
  border-color: #00A86B;
  background: #00A86B;
  color: white;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0A2540;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.risk-step.active .step-number {
  background: white;
  color: #00A86B;
}

.step-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.step-subtitle {
  font-size: 0.85rem;
  opacity: 0.8;
}

.step-arrow {
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #00A86B;
  font-weight: bold;
}

.risk-step:last-child .step-arrow {
  display: none;
}

.step-details-container {
  margin-top: 3rem;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.step-detail h3 {
  color: #0A2540;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1.5rem;
}

.dimensions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.dimension {
  background: #f8fafc;
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid #00A86B;
}

.dimension h4 {
  color: #0A2540;
  margin: 0 0 0.75rem 0;
  font-size: 1.1rem;
}

.dimension p {
  color: #374151;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.control-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.control-category {
  background: #f8fafc;
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid #0A2540;
}

.control-category h4 {
  color: #0A2540;
  margin: 0 0 0.75rem 0;
  font-size: 1.1rem;
}

.control-category p {
  color: #374151;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Risk Tier Classification */
.risk-tier-classification {
  padding: 5rem 0;
  background: white;
}

.risk-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.risk-tier {
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.risk-tier.critical {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border-left: 4px solid #dc2626;
}

.risk-tier.high {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left: 4px solid #f59e0b;
}

.risk-tier.medium {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-left: 4px solid #3b82f6;
}

.risk-tier.low {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border-left: 4px solid #10b981;
}

.risk-tier:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.tier-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tier-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.risk-tier.critical .tier-icon {
  background: #dc2626;
}

.risk-tier.high .tier-icon {
  background: #f59e0b;
}

.risk-tier.medium .tier-icon {
  background: #3b82f6;
}

.risk-tier.low .tier-icon {
  background: #10b981;
}

.tier-info h3 {
  margin: 0;
  color: #0A2540;
  font-size: 1.25rem;
}

.tier-range {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
}

.tier-description p {
  color: #374151;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.tier-requirements h4 {
  color: #0A2540;
  margin: 0 0 1rem 0;
  font-size: 1rem;
}

.tier-requirements ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tier-requirements li {
  color: #374151;
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.tier-requirements li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #00A86B;
  font-weight: 600;
}

/* Implementation Approaches */
.implementation-approaches {
  padding: 5rem 0;
  background: #f8fafc;
}

.approach-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.approach-option {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  border-left: 4px solid #00A86B;
}

.approach-option:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.approach-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.approach-header h3 {
  margin: 0;
  color: #0A2540;
  font-size: 1.5rem;
}

.approach-timeline {
  background: #00A86B;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.approach-content p {
  color: #374151;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.approach-features,
.approach-deliverables {
  margin-bottom: 2rem;
}

.approach-features h4,
.approach-deliverables h4 {
  color: #0A2540;
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
}

.approach-features ul,
.approach-deliverables ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.approach-features li,
.approach-deliverables li {
  color: #374151;
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.approach-features li:before,
.approach-deliverables li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00A86B;
  font-weight: 600;
}

/* CTA Section */
.methodology-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0A2540 0%, #1e40af 100%);
  color: white;
}

.cta-content {
  text-align: center;
}

.cta-text h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 3rem;
}

.cta-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.btn-secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-secondary:hover {
  background: white;
  color: #0A2540;
}

/* Framework Architecture Mobile Fixes */
.framework-architecture {
  position: relative;
  padding: var(--space-8);
  overflow: hidden;
}

.architecture-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-4);
}

.central-circle {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  position: relative;
}

.pillar-box {
  position: absolute;
  width: 80px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 600;
  text-align: center;
  color: var(--white);
  padding: var(--space-2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pillar-box.responsible {
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-green);
}

.pillar-box.efficient {
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  background: var(--primary-green);
}

.pillar-box.accountable {
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-green);
}

.pillar-box.legitimate {
  top: 50%;
  left: -40px;
  transform: translateY(-50%);
  background: var(--accent-gold);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .workflow-container {
    flex-direction: column;
    align-items: center;
  }
  
  .step-arrow {
    display: none;
  }
  
  .dimensions-grid,
  .control-categories {
    grid-template-columns: 1fr;
  }
  
  .risk-tiers {
    grid-template-columns: 1fr;
  }
  
  .approach-options {
    grid-template-columns: 1fr;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-text h2 {
    font-size: 2rem;
  }
  
  /* Framework Architecture Mobile Optimizations */
  .architecture-container {
    max-width: 280px;
    padding: var(--space-2);
  }
  
  .central-circle {
    width: 160px;
    height: 160px;
  }
  
  .pillar-box {
    width: 60px;
    height: 50px;
    font-size: var(--text-xs);
    padding: var(--space-1);
  }
  
  .pillar-box.responsible {
    top: -25px;
  }
  
  .pillar-box.efficient {
    right: -30px;
  }
  
  .pillar-box.accountable {
    bottom: -25px;
  }
  
  .pillar-box.legitimate {
    left: -30px;
  }
}

/* Global Compliance Heat Map Enhanced Styling */
.compliance-country-card {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 24px rgba(10, 37, 64, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.compliance-country-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
}

.compliance-country-card.complexity-critical::before {
    background: linear-gradient(90deg, #ff4444, #cc0000);
}

.compliance-country-card.complexity-high::before {
    background: linear-gradient(90deg, #ffa726, #f57c00);
}

.compliance-country-card.complexity-medium::before {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}

.compliance-country-card.complexity-low::before {
    background: linear-gradient(90deg, var(--primary-green), #008a5c);
}

.compliance-country-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(10, 37, 64, 0.12);
}

.country-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.country-header h4 {
    color: var(--primary-navy);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.complexity-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.score-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.complexity-score .score-value {
    color: var(--primary-navy);
}

.score-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.complexity-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.complexity-badge.complexity-critical {
    background: #ff4444;
    color: white;
}

.complexity-badge.complexity-high {
    background: #ffa726;
    color: white;
}

.complexity-badge.complexity-medium {
    background: #42a5f5;
    color: white;
}

.complexity-badge.complexity-low {
    background: var(--primary-green);
    color: white;
}

.country-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.key-regulations, .implementation-requirements, .compliance-metrics {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.25rem;
}

.key-regulations h5, .implementation-requirements h5, .compliance-metrics h5 {
    color: var(--primary-navy);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.key-regulations ul, .implementation-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-regulations li, .implementation-requirements li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
    line-height: 1.5;
    font-size: 0.95rem;
}

.key-regulations li:last-child, .implementation-requirements li:last-child {
    border-bottom: none;
}

/* Architecture Explorer Enhanced Styling */
.architecture-layer-card {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(10, 37, 64, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.architecture-layer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-navy), var(--primary-green));
    border-radius: 16px 16px 0 0;
}

.layer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.layer-header h3 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.layer-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.layer-status.status-active {
    background: linear-gradient(135deg, var(--primary-green), #008a5c);
    color: white;
}

.layer-status.status-optimizing {
    background: linear-gradient(135deg, #42a5f5, #1976d2);
    color: white;
}

.layer-status.status-scaling {
    background: linear-gradient(135deg, #ffa726, #f57c00);
    color: white;
}

.layer-maturity {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.maturity-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.25rem;
}

.maturity-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.layer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.layer-description {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    padding: 1rem;
    background: rgba(10, 37, 64, 0.02);
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
}

.core-components, .integration-patterns, .layer-metrics {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
}

.core-components h5, .integration-patterns h5, .layer-metrics h5 {
    color: var(--primary-navy);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.component-card {
    background: rgba(0, 168, 107, 0.03);
    border: 1px solid rgba(0, 168, 107, 0.1);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.component-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 168, 107, 0.15);
}

.component-card h6 {
    color: var(--primary-navy);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.component-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 0.75rem 0;
}

.api-endpoint {
    margin-top: 0.5rem;
}

.api-endpoint code {
    background: var(--primary-navy);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: 'Monaco', 'Menlo', monospace;
}

.integration-patterns ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.integration-patterns li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
    line-height: 1.5;
}

.integration-patterns li:last-child {
    border-bottom: none;
}

/* Additional responsive styles for new components */
@media (max-width: 768px) {
    .compliance-country-card, .architecture-layer-card {
        padding: 1.5rem;
    }
    
    .country-header, .layer-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .country-header h4, .layer-header h3 {
        min-width: auto;
    }
    
    .components-grid {
        grid-template-columns: 1fr;
    }
    
    .country-content, .layer-content {
        gap: 1.5rem;
    }
}