/* E-Invoicing ASPs Comparison Styles */
.einvoicing-hero {
  position: relative;
  background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #303f9f 100%);
  color: #fff;
  overflow: hidden;
}

.einvoicing-hero .hero-image-overlay {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(26,35,126,0.8) 0%, rgba(48,63,159,0.4) 100%);
}

/* Quick Stats */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 12px;
}

.quick-stats .stat-item {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.quick-stats .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 0.5rem;
}

.quick-stats .stat-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

/* ASP Role Explanation */
.asp-role-explanation {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.role-card {
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  text-align: center;
  border-top: 4px solid #1a237e;
}

.role-icon {
  width: 60px;
  height: 60px;
  background: #1a237e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.role-card h3 {
  color: #1a237e;
  margin: 0 0 1rem 0;
}

.role-card p {
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* Approved ASPs List */
.approved-asps-list {
  margin: 2rem 0;
}

.asps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.asp-card {
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  text-align: center;
  border-left: 4px solid #1a237e;
  transition: transform 0.3s ease;
}

.asp-card:hover {
  transform: translateY(-5px);
}

.asp-logo {
  width: 60px;
  height: 60px;
  background: #e8eaf6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a237e;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.asp-card h4 {
  color: #1a237e;
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
}

.asp-status {
  padding: 0.3rem 0.8rem;
  background: #4CAF50;
  color: white;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Comparison Table */
.comparison-container {
  overflow-x: auto;
  margin: 2rem 0;
}

.asp-comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  min-width: 800px;
}

.asp-comparison-table th {
  background: #1a237e;
  color: white;
  padding: 1.2rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

.asp-comparison-table td {
  padding: 1.2rem;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
}

.asp-comparison-table tr:last-child td {
  border-bottom: none;
}

.asp-comparison-table tr:nth-child(even) {
  background: #f8f9fa;
}

.status-badge {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.approved {
  background: #4CAF50;
  color: white;
}

.comparison-legend {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.legend-color.approved {
  background: #4CAF50;
}

/* Feature Analysis */
.feature-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.feature-category {
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.feature-category h3 {
  color: #1a237e;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-bars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-label {
  min-width: 200px;
  font-weight: 500;
  color: #333;
}

.feature-progress {
  flex: 1;
  height: 30px;
  background: #f0f0f0;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 15px;
  transition: width 1s ease;
}

.feature-progress.global .progress-fill {
  background: linear-gradient(90deg, #1a237e, #3949ab);
}

.feature-progress.local .progress-fill {
  background: linear-gradient(90deg, #ff9800, #ffb74d);
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.integration-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 6px;
}

.integration-item i {
  font-size: 1.5rem;
  color: #1a237e;
  width: 30px;
  text-align: center;
}

.integration-item span {
  font-weight: 500;
  color: #333;
}

.support-level {
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.support-level.high {
  background: #4CAF50;
  color: white;
}

.support-level.medium {
  background: #ff9800;
  color: white;
}

/* PEPPOL Compliance */
.peppol-compliance {
  margin: 2rem 0;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.compliance-item {
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.compliance-item.full {
  background: #e8f5e8;
  border: 1px solid #c8e6c9;
}

.compliance-item.partial {
  background: #fff3e0;
  border: 1px solid #ffe0b2;
}

.compliance-item.enterprise {
  background: #e3f2fd;
  border: 1px solid #bbdefb;
}

.compliance-item i {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.compliance-item.full i {
  color: #4CAF50;
}

.compliance-item.partial i {
  color: #ff9800;
}

.compliance-item.enterprise i {
  color: #2196f3;
}

.compliance-item span {
  font-weight: 600;
  color: #333;
  display: block;
  margin-bottom: 0.5rem;
}

.compliance-item p {
  color: #555;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Selection Factors */
.selection-factors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.factor-card {
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  border-top: 4px solid #1a237e;
}

.factor-icon {
  width: 60px;
  height: 60px;
  background: #1a237e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.factor-card h3 {
  color: #1a237e;
  margin: 0 0 1rem 0;
}

.factor-card p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.factor-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #555;
}

.factor-card li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* Implementation Steps */
.implementation-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.implementation-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  border-left: 4px solid #1a237e;
}

.step-number {
  width: 50px;
  height: 50px;
  background: #1a237e;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  color: #1a237e;
  margin: 0 0 1rem 0;
}

.step-content p {
  color: #555;
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

.step-details {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.detail-tag {
  padding: 0.3rem 0.8rem;
  background: #e8eaf6;
  color: #1a237e;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Profile Recommendations */
.profile-recommendations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.profile-card {
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  border-top: 4px solid #1a237e;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.profile-header i {
  font-size: 2rem;
  color: #1a237e;
}

.profile-header h3 {
  color: #1a237e;
  margin: 0;
}

.profile-content h4 {
  color: #333;
  margin: 0 0 1rem 0;
}

.asp-recommendations {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.asp-tag {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
}

.asp-tag.primary {
  background: #1a237e;
  color: white;
}

.asp-tag.secondary {
  background: #3949ab;
  color: white;
}

.asp-tag.tertiary {
  background: #5c6bc0;
  color: white;
}

.profile-content p {
  color: #555;
  margin: 0;
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Services CTA */
.services-cta {
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
  color: white;
  border-radius: 12px;
}

.services-cta h2 {
  color: white;
  margin: 0 0 2rem 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.service-item {
  text-align: center;
  padding: 1.5rem;
}

.service-item i {
  font-size: 2.5rem;
  color: #4FC3F7;
  margin-bottom: 1rem;
  display: block;
}

.service-item h3 {
  color: white;
  margin: 0 0 1rem 0;
}

.service-item p {
  color: rgba(255,255,255,0.8);
  margin: 0;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Disclaimer Section */
.disclaimer-section {
  margin: 3rem 0;
  padding: 2rem;
  background: #fff3e0;
  border-radius: 8px;
  border-left: 4px solid #ff9800;
}

.disclaimer-section h3 {
  color: #e65100;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.disclaimer-content p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.disclaimer-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.disclaimer-point {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.disclaimer-point i {
  color: #4CAF50;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.disclaimer-point span {
  color: #555;
  line-height: 1.5;
}

.official-sources h4 {
  color: #333;
  margin: 0 0 0.5rem 0;
}

.official-sources ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #555;
}

.official-sources li {
  margin-bottom: 0.3rem;
  line-height: 1.5;
}

/* Sidebar Styles */
.timeline-widget {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-item {
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 4px solid #1a237e;
}

.timeline-date {
  font-weight: 600;
  color: #1a237e;
  margin-bottom: 0.3rem;
}

.timeline-content {
  color: #555;
  font-size: 0.9rem;
}

.category-widget {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.category-item h4 {
  color: #1a237e;
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
}

.asp-mini-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.asp-mini {
  padding: 0.3rem 0.6rem;
  background: #e8eaf6;
  color: #1a237e;
  border-radius: 4px;
  font-size: 0.8rem;
  text-align: center;
}

.resources-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.resource-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: #f8f9fa;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  transition: background 0.3s ease;
}

.resource-link:hover {
  background: #e9ecef;
  color: #1a237e;
}

.resource-link i {
  color: #1a237e;
}

/* Compliance Animation */
.compliance-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .asp-comparison-table {
    font-size: 0.8rem;
  }
  
  .asp-comparison-table th,
  .asp-comparison-table td {
    padding: 0.8rem;
  }
  
  .implementation-step {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .feature-label {
    min-width: auto;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .selection-factors {
    grid-template-columns: 1fr;
  }
  
  .integration-grid {
    grid-template-columns: 1fr;
  }
}