/**
 * PalmSeth SARL - Data & AI Page Styles
 * Custom styles for the Data & IA page
 */

/* Data Hero */
.data-hero .hero-background {
  background: linear-gradient(135deg, #1a237e, #4a148c);
  position: relative;
  overflow: hidden;
}

.data-hero .hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/circuit-pattern.png');
  background-size: 300px;
  opacity: 0.05;
  z-index: 1;
}

/* Data Particles */
.data-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  display: block;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: scale(0);
  animation: particle-animation 4s ease-in-out infinite;
}

.particle:nth-child(1) {
  width: 10px;
  height: 10px;
  left: 10%;
  top: 20%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  width: 14px;
  height: 14px;
  left: 20%;
  top: 60%;
  animation-delay: 0.5s;
}

.particle:nth-child(3) {
  width: 8px;
  height: 8px;
  left: 30%;
  top: 30%;
  animation-delay: 1s;
}

.particle:nth-child(4) {
  width: 12px;
  height: 12px;
  left: 40%;
  top: 70%;
  animation-delay: 1.5s;
}

.particle:nth-child(5) {
  width: 6px;
  height: 6px;
  left: 50%;
  top: 40%;
  animation-delay: 2s;
}

.particle:nth-child(6) {
  width: 16px;
  height: 16px;
  left: 60%;
  top: 80%;
  animation-delay: 2.5s;
}

.particle:nth-child(7) {
  width: 9px;
  height: 9px;
  left: 70%;
  top: 50%;
  animation-delay: 3s;
}

.particle:nth-child(8) {
  width: 11px;
  height: 11px;
  left: 80%;
  top: 25%;
  animation-delay: 3.5s;
}

.particle:nth-child(9) {
  width: 7px;
  height: 7px;
  left: 85%;
  top: 65%;
  animation-delay: 1.2s;
}

.particle:nth-child(10) {
  width: 13px;
  height: 13px;
  left: 15%;
  top: 45%;
  animation-delay: 2.7s;
}

.particle:nth-child(11) {
  width: 5px;
  height: 5px;
  left: 55%;
  top: 15%;
  animation-delay: 0.7s;
}

.particle:nth-child(12) {
  width: 15px;
  height: 15px;
  left: 25%;
  top: 75%;
  animation-delay: 3.2s;
}

.particle:nth-child(13) {
  width: 10px;
  height: 10px;
  left: 65%;
  top: 35%;
  animation-delay: 1.8s;
}

.particle:nth-child(14) {
  width: 8px;
  height: 8px;
  left: 75%;
  top: 85%;
  animation-delay: 2.3s;
}

.particle:nth-child(15) {
  width: 12px;
  height: 12px;
  left: 35%;
  top: 55%;
  animation-delay: 0.3s;
}

@keyframes particle-animation {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0);
    opacity: 0;
  }
}

/* Approach Section */
.approach-section {
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.approach-content {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 3rem;
}

.approach-text {
  max-width: 900px;
  margin: 0 auto;
}

.lead-text {
  font-size: 2rem;
  line-height: 1.6;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 0;
}

.approach-highlights {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  padding: 2.5rem;
  background-color: var(--color-background);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.highlight-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.highlight-icon {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  background-color: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
  flex-shrink: 0;
}

.highlight-info h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.highlight-info p {
  font-size: 1.6rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* Solutions Section */
.solutions-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-color: var(--color-background-light);
}

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

.solution-card {
  background-color: var(--color-background);
  border-radius: var(--radius-md);
  padding: 4rem 3rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.solution-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--color-primary), #673ab7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
  z-index: -1;
}

.solution-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.solution-card:hover::before {
  transform: scaleX(1);
}

.solution-icon {
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  margin: 0 auto 3rem;
  background-color: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
  transition: all var(--transition-normal);
}

.solution-card:hover .solution-icon {
  transform: scale(1.1);
  background-color: var(--color-primary);
  color: var(--color-text-white);
}

.solution-card h3 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.solution-card p {
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
  text-align: center;
}

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

.solution-features li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.solution-features li:last-child {
  margin-bottom: 0;
}

.solution-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background-color: var(--color-primary);
}

/* Process Section */
.process-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: 6rem auto 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-primary), #673ab7);
  border-radius: 3px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 6rem;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-text-white);
  font-size: 2rem;
  font-weight: 700;
  margin-right: 3rem;
  z-index: 2;
  flex-shrink: 0;
}

.step-content {
  background-color: var(--color-background);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  flex-grow: 1;
}

.step-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.step-content p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* Case Studies Section */
.case-studies-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-color: var(--color-background-light);
}

.cases-slider {
  position: relative;
  margin-top: 4rem;
}

.cases-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 3rem;
  padding: 1rem 0.5rem;
  margin: -1rem -0.5rem;
}

.cases-track::-webkit-scrollbar {
  display: none;
}

.case-study {
  min-width: 380px;
  flex: 0 0 auto;
  background-color: var(--color-background);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.case-study:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.case-image {
  height: 200px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.case-study:hover .case-image img {
  transform: scale(1.05);
}

.case-content {
  padding: 2.5rem;
  position: relative;
}

.case-badge {
  position: absolute;
  top: -15px;
  left: 2.5rem;
  background-color: var(--color-primary);
  color: var(--color-text-white);
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-sm);
}

.case-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.case-content p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4rem;
}

.slider-arrow {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background-color: var(--color-background);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.slider-arrow:hover {
  background-color: var(--color-primary);
  color: var(--color-text-white);
}

.slider-dots {
  display: flex;
  gap: 1rem;
  margin: 0 2rem;
}

.slider-dot {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background-color: var(--color-gray-light);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.slider-dot.active {
  background-color: var(--color-primary);
  transform: scale(1.2);
}

/* Tech Section */
.tech-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.tech-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
  margin-top: 4rem;
}

.tech-logo {
  height: 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  opacity: 0.7;
  filter: grayscale(100%);
  transition: all var(--transition-normal);
}

.tech-logo:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-5px);
}

.tech-logo img {
  height: 100%;
  max-width: 8rem;
  object-fit: contain;
}

.tech-logo span {
  font-size: 1.4rem;
  font-weight: 500;
}

/* Responsive Styles */
@media (min-width: 768px) {
  .approach-highlights {
    flex-direction: row;
    gap: 2rem;
  }
  
  .highlight-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
  }
  
  .highlight-icon {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 991px) {
  .solution-card {
    padding: 3rem 2rem;
  }
  
  .solution-icon {
    width: 8rem;
    height: 8rem;
    font-size: 3rem;
  }
  
  .solution-card h3 {
    font-size: 2.2rem;
  }
  
  .case-study {
    min-width: 300px;
  }
}

@media (max-width: 767px) {
  .lead-text {
    font-size: 1.8rem;
  }
  
  .highlight-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
  }
  
  .highlight-icon {
    margin-bottom: 1.5rem;
  }
  
  .process-timeline::before {
    left: 2.4rem;
  }
  
  .process-step {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: 1.5rem;
    margin-left: 0;
  }
  
  .tech-logo {
    height: 6rem;
  }
}

@media (max-width: 576px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .case-study {
    min-width: 100%;
  }
}