:root {
    --cover: #d4d4d4;
    

}

@media (prefers-color-scheme: dark) {
     :root {
        --cover: #2c2c2c;

    }
}

/* ===== HOW SECTION ===== */
.how-section {
  padding: 0;
  margin-top: 50px;
  position: relative;
  background: var(--bg);
}

.how-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 30px;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  margin-bottom: 25px;
  color: var(--txt);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.gradient-text {
  background: linear-gradient(135deg, #5b7cff, #6bb0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--txt);
  opacity: 0.7;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}



.timeline-section {
  padding: 0px 30px;
  position: relative;
  background: var(--bg);
}

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

.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  border-radius: 50px;
  background: #5b7cff;
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 100px;
  position: relative;
  opacity: 0;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  background: var(--cover);
  backdrop-filter: blur(10px);
  padding: 50px 40px;
  border-radius: 20px;
  border: 1px solid rgba(91, 124, 255, 0.3);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: transparent;
  transition: left 0.5s;
}

.timeline-content:hover {
  border-color: rgba(91, 124, 255, 0.8);
  transform: translateX(-10px);
  box-shadow: 0 15px 40px rgba(91, 124, 255, 0.2);
}

.timeline-item:nth-child(even) .timeline-content:hover {
  transform: translateX(10px);
}

.timeline-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--txt);
  font-weight: 600;
  line-height: 1.3;
}

.timeline-content p {
  color: var(--txt);
  opacity: 0.85;
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

.timeline-dot {
  width: 24px;
  height: 24px;
  background: #5b7cff;
  border: 4px solid var(--bg);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  box-shadow: 0 0 20px rgba(91, 124, 255, 0.6);
  transition: all 0.3s;
}

.timeline-dot:hover {
  box-shadow: 0 0 40px rgba(91, 124, 255, 0.8);
  transform: translateX(-50%) scale(1.3);
}

@media (max-width: 768px) {
  .timeline-container::before {
    left: 15px;
  }
  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
    justify-content: flex-start;
  }
  .timeline-content {
    width: 85%;
    margin-left: 50px;
  }
  .timeline-dot {
    left: 15px;
  }
}