/* ============================================
   ALIS Website - Vanilla CSS
   8 Slides Fullscreen Slider
   Author: Leonardo Ferretti (ORCHESTRATOR)
   ============================================ */

/* ============================================
   RESET & BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* EXACT GRADIENT FROM alis.srl */
  background: linear-gradient(130deg, rgba(29,130,183,1) 0%, rgba(5,61,122,1) 30%, rgba(12,28,59,1) 65%, rgba(1,10,38,1) 100%);
  color: #ffffff;
  overflow: hidden;
}

.archivo {
  font-family: 'Archivo Narrow', sans-serif;
}

/* ============================================
   PARTICLE CONTAINER
   ============================================ */
#particle-cluster {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ============================================
   GRADIENT SHAPES (Background Animation)
   ============================================ */
.gradient-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: breathe 6s ease-in-out infinite;
}

.shape-orange {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(224, 170, 97, 0.4) 0%, transparent 70%);
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.shape-pink {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 124, 143, 0.4) 0%, transparent 70%);
  bottom: 15%;
  left: 15%;
  animation-delay: 3s;
}

@keyframes breathe {
  0%, 100% {
    transform: scale(1) translate(0, 0);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.15) translate(20px, -20px);
    opacity: 0.4;
  }
}

/* ============================================
   SLIDER CONTAINER - HORIZONTAL LAYOUT
   ============================================ */
.slider-container {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.slider-container::-webkit-scrollbar {
  display: none;
}

/* ============================================
   SLIDE BASE - HORIZONTAL LAYOUT
   ============================================ */
.slide {
  position: relative;
  min-width: 100vw;
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 100px;
}

.slide-content {
  position: relative;
  width: 100%;
  max-width: 1400px;
  z-index: 3;
}

/* ============================================
   SLIDE 1: HERO + STATISTICS
   ============================================ */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 65%;
}

.subtitle {
  font-size: 25px;
  line-height: 35px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  padding-right: 200px;
}

.main-title {
  font-size: 110px;
  line-height: 100px;
  color: #ffcc00;
  font-weight: 700;
  margin-bottom: 60px;
  letter-spacing: -2px;
}

.stats-grid {
  display: flex;
  gap: 60px;
  margin-bottom: 60px;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 50px;
  line-height: 50px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.6);
}

.strategy-intro {
  margin-top: 40px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   SLIDE 2: STRATEGY STEPS
   ============================================ */
.strategy-content {
  position: relative;
  z-index: 3;
  max-width: 100%;
}

.slide-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.section-title {
  font-size: 80px;
  line-height: 85px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 80px;
  letter-spacing: -1px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.step-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 204, 0, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.step-title {
  font-size: 32px;
  color: #ffcc00;
  font-weight: 700;
  margin-bottom: 15px;
}

.step-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* ============================================
   SLIDE 3: SERVICES OVERVIEW
   ============================================ */
.services-content {
  position: relative;
  z-index: 3;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px 40px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 204, 0, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
  font-size: 64px;
  color: #ffcc00;
  margin-bottom: 25px;
  display: block;
}

.service-title {
  font-size: 28px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 20px;
}

.service-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* ============================================
   SLIDE 4: TECHNOLOGY & TOOLS
   ============================================ */
.tech-content {
  position: relative;
  z-index: 3;
}

.tech-features {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 60px;
}

.tech-feature {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.tech-feature:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 204, 0, 0.3);
  transform: translateX(10px);
}

.tech-number {
  font-size: 72px;
  font-weight: 700;
  color: rgba(255, 204, 0, 0.2);
  line-height: 1;
  min-width: 100px;
}

.tech-info {
  flex: 1;
}

.tech-feature-title {
  font-size: 32px;
  color: #ffcc00;
  font-weight: 700;
  margin-bottom: 15px;
}

.tech-feature-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* ============================================
   SLIDE 5: CASE STUDIES
   ============================================ */
.cases-content {
  position: relative;
  z-index: 3;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.case-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.case-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 204, 0, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.case-industry {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.case-stat {
  font-size: 32px;
  font-weight: 700;
  color: #ffcc00;
}

.case-title {
  font-size: 24px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 15px;
}

.case-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 25px;
}

.case-metrics {
  display: flex;
  gap: 40px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.case-metric {
  text-align: center;
}

.case-metric-value {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  display: block;
  margin-bottom: 8px;
}

.case-metric-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   SLIDE 6: TEAM & EXPERTISE
   ============================================ */
.team-content {
  position: relative;
  z-index: 3;
}

.team-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.team-stat-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.team-stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 204, 0, 0.3);
  transform: translateY(-5px);
}

.team-stat-icon {
  font-size: 48px;
  color: #ffcc00;
  margin-bottom: 20px;
}

.team-stat-number {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.team-stat-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
}

.team-expertises {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 60px;
}

.team-section-title {
  font-size: 28px;
  color: #ffcc00;
  font-weight: 700;
  margin-bottom: 25px;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.expertise-tag {
  background: rgba(255, 204, 0, 0.1);
  border: 1px solid rgba(255, 204, 0, 0.3);
  color: #ffcc00;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.expertise-tag:hover {
  background: rgba(255, 204, 0, 0.2);
  border-color: rgba(255, 204, 0, 0.5);
  transform: translateY(-2px);
}

/* ============================================
   SLIDE 7: PROCESS TIMELINE
   ============================================ */
.process-content {
  position: relative;
  z-index: 3;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.timeline-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.timeline-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 204, 0, 0.3);
  transform: translateY(-5px);
}

.timeline-marker {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 204, 0, 0.2);
  border: 2px solid #ffcc00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: #ffcc00;
  font-family: 'Archivo Narrow', sans-serif;
}

.timeline-content {
  padding-right: 80px;
}

.timeline-title {
  font-size: 28px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline-duration {
  font-size: 14px;
  color: rgba(255, 204, 0, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.timeline-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* ============================================
   SLIDE 8: CONTACT
   ============================================ */
.contact-content {
  position: relative;
  z-index: 3;
  max-width: 100%;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
}

.contact-subtitle {
  font-size: 28px;
  color: #ffcc00;
  font-weight: 700;
  margin-bottom: 25px;
}

.contact-description {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.contact-info {
  margin: 30px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 20px;
  margin-bottom: 20px;
  color: #ffffff;
}

.contact-item .material-icons {
  font-size: 24px;
  color: #ffcc00;
}

.contact-item a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #ffcc00;
}

/* ============================================
   CTA BUTTONS
   ============================================ */
.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: rgba(255, 204, 0, 0.15);
  border: 2px solid #ffcc00;
  color: #ffcc00;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cta-button:hover {
  background: #ffcc00;
  color: #0a1c3b;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 204, 0, 0.3);
}

.cta-highlight {
  background: #ffcc00;
  color: #0a1c3b;
}

.cta-highlight:hover {
  background: #ffd633;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255, 204, 0, 0.5);
}

/* ============================================
   NAVIGATION ARROWS - HORIZONTAL (LEFT/RIGHT)
   ============================================ */
.nav-arrows {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.arrow {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.arrow .material-icons {
  font-size: 32px;
}

.arrow:hover {
  transform: scale(1.15);
  color: #ffcc00;
  background: rgba(255, 204, 0, 0.1);
  border-color: rgba(255, 204, 0, 0.5);
  opacity: 1;
}

/* ============================================
   SCROLL INDICATOR (DOTS) - HORIZONTAL LAYOUT
   ============================================ */
.scroll-indicator {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  display: flex;
  flex-direction: row;
  gap: 15px;
}

.scroll-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.scroll-dot.active {
  background: #ffcc00;
  width: 30px;
  border-radius: 5px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  .slide {
    padding: 60px 50px;
  }

  .hero-content {
    max-width: 100%;
  }

  .subtitle {
    padding-right: 0;
    font-size: 20px;
    line-height: 28px;
  }

  .main-title {
    font-size: 70px;
    line-height: 70px;
  }

  .section-title {
    font-size: 50px;
    line-height: 55px;
  }

  .steps-grid,
  .cases-grid,
  .process-timeline {
    grid-template-columns: 1fr;
  }

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

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .team-stats {
    grid-template-columns: 1fr;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .slide {
    padding: 60px 30px;
  }

  .main-title {
    font-size: 50px;
    line-height: 50px;
  }

  .stats-grid {
    flex-direction: column;
    gap: 30px;
  }

  .stat-number {
    font-size: 40px;
  }

  .section-title {
    font-size: 40px;
    line-height: 45px;
    margin-bottom: 50px;
  }

  .step-card,
  .service-card,
  .case-card,
  .tech-feature,
  .timeline-item,
  .team-stat-card {
    padding: 30px;
  }

  .step-title,
  .service-title {
    font-size: 26px;
  }

  .tech-feature {
    flex-direction: column;
    gap: 20px;
  }

  .tech-number {
    font-size: 48px;
    min-width: auto;
  }

  .nav-arrows {
    right: 20px;
  }

  .scroll-indicator {
    display: none;
  }

  .timeline-content {
    padding-right: 0;
  }

  .timeline-marker {
    position: static;
    margin-bottom: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .main-title {
    font-size: 36px;
    line-height: 40px;
  }

  .section-title {
    font-size: 32px;
    line-height: 36px;
  }

  .subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .slide-subtitle {
    font-size: 14px;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

  .expertise-tags {
    flex-direction: column;
  }

  .expertise-tag {
    text-align: center;
  }
}

/* ============================================
   SLIDE 4 OVERRIDE: Ridimensiona per matchare altre slide
   ============================================ */
[data-slide="4"] .section-title {
  font-size: 48px !important;
  line-height: 52px !important;
}

[data-slide="4"] .slide-subtitle {
  font-size: 14px !important;
}

[data-slide="4"] .tech-features {
  gap: 20px !important;
  margin-bottom: 40px !important;
}

[data-slide="4"] .tech-feature {
  padding: 24px !important;
  gap: 24px !important;
}

[data-slide="4"] .tech-number {
  font-size: 42px !important;
  min-width: 60px !important;
}

[data-slide="4"] .tech-feature-title {
  font-size: 20px !important;
  margin-bottom: 8px !important;
}

[data-slide="4"] .tech-feature-description {
  font-size: 14px !important;
  line-height: 1.6 !important;
}
