/* Data Protection Specific Styles */

.compliance-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.compliance-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.compliance-badge {
  background: white;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.compliance-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(45deg, #10b981, #059669);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.compliance-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.compliance-badge:hover::before {
  transform: scaleX(1);
}

.badge-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #10b981, #059669);
  border-radius: 12px;
  color: white;
  font-size: 1.5rem;
}

.badge-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.compliance-badge h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.compliance-badge p {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.badge-status {
  display: inline-block;
  background: linear-gradient(45deg, #10b981, #059669);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Data Protection Principles */
.data-protection-principles {
  margin: 2rem 0;
}

.data-protection-principles h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 2rem;
  text-align: center;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.principle-item {
  text-align: center;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.principle-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.principle-item i {
  font-size: 2rem;
  color: #ff6b35;
  margin-bottom: 1rem;
}

.principle-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.principle-item p {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0;
}

/* Definitions */
.definitions-list {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.definition-item {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #ff6b35;
}

.definition-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.75rem;
}

.definition-item p {
  color: #4a5568;
  margin-bottom: 1rem;
}

.examples {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.example-tag {
  background: #e2e8f0;
  color: #475569;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.example-tag.sensitive {
  background: #fecaca;
  color: #dc2626;
}

.controller-info {
  background: #fef7f0;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  color: #1a202c;
  font-size: 0.9rem;
}

/* Data Categories */
.data-categories {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.data-category {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.data-category:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

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

.category-header i {
  font-size: 1.5rem;
  color: #ff6b35;
}

.category-header h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
  margin: 0;
}

.data-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.data-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #4a5568;
  font-size: 0.95rem;
}

.data-list li::before {
  content: "✓";
  color: #10b981;
  font-weight: 600;
  flex-shrink: 0;
}

.collection-method {
  background: #f1f5f9;
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.9rem;
  color: #475569;
}

.collection-method strong {
  color: #1a202c;
}

/* Purposes */
.purposes-detailed {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.purpose-detailed {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

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

.purpose-header i {
  font-size: 1.5rem;
  color: #ff6b35;
}

.purpose-header h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
  margin: 0;
}

.purpose-detailed ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.purpose-detailed li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #4a5568;
}

.purpose-detailed li::before {
  content: "→";
  color: #ff6b35;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.legal-basis {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.9rem;
  color: #0c4a6e;
}

.legal-basis strong {
  color: #0369a1;
}

/* Rights Grid */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.right-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: all 0.3s ease;
}

.right-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.right-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.right-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.75rem;
}

.right-card p {
  color: #64748b;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.rights-info {
  background: #f8fafc;
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem 0;
  border: 1px solid #e2e8f0;
}

.rights-info h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 1rem;
}

.response-time {
  background: #fef7f0;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #1a202c;
  font-size: 0.9rem;
}

.response-time i {
  color: #ff6b35;
  font-size: 1.1rem;
}

/* DPO Section */
.dpo-info {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.dpo-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.dpo-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  flex-shrink: 0;
}

.dpo-details h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.dpo-title {
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.dpo-contact p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  color: #4a5568;
  font-size: 0.95rem;
}

.dpo-contact i {
  color: #ff6b35;
  width: 16px;
}

.dpo-contact a {
  color: #ff6b35;
  text-decoration: none;
}

.dpo-contact a:hover {
  text-decoration: underline;
}

.dpo-responsibilities {
  background: #f8fafc;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
}

.dpo-responsibilities h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 1.5rem;
}

.dpo-responsibilities ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dpo-responsibilities li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #4a5568;
}

.dpo-responsibilities li::before {
  content: "✓";
  color: #10b981;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Contact Methods */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.contact-method {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.contact-method h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.75rem;
}

.contact-method p {
  color: #4a5568;
  margin-bottom: 1rem;
}

.contact-method small {
  color: #64748b;
  font-size: 0.85rem;
}

.contact-method a {
  color: #ff6b35;
  text-decoration: none;
  font-weight: 500;
}

.contact-method a:hover {
  text-decoration: underline;
}

.compliance-stamps {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.stamp {
  background: #10b981;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
  .dpo-card {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

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

@media (max-width: 768px) {
  .compliance-badges {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
  }

  .compliance-badge {
    padding: 1.5rem 1rem;
  }

  .principles-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .data-categories {
    gap: 1.5rem;
  }

  .data-category {
    padding: 1.5rem;
  }

  .purposes-detailed {
    gap: 1.5rem;
  }

  .purpose-detailed {
    padding: 1.5rem;
  }

  .rights-grid {
    grid-template-columns: 1fr;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .dpo-card {
    padding: 2rem 1.5rem;
  }

  .dpo-responsibilities {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .compliance-badge {
    padding: 1.25rem 0.75rem;
  }

  .principle-item {
    padding: 1.25rem;
  }

  .data-category,
  .purpose-detailed {
    padding: 1.25rem;
  }

  .right-card {
    padding: 1.5rem;
  }

  .contact-method {
    padding: 1.5rem;
  }

  .dpo-card {
    padding: 1.5rem 1rem;
  }

  .compliance-stamps {
    flex-direction: column;
    align-items: center;
  }
}
