
/* ================= VIDEO ================= */

.workflow-video {
  padding: 80px 0;
  background: #0a0f1f;
  text-align: center;
  color: #fff;
}

.workflow-video h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

.video-box {
  max-width: 900px;
  margin: auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-box video {
  width: 100%;
  display: block;
}

/* ================= TIMELINE ================= */

/* ================= ADVANCED WORKFLOW ================= */

.workflow-advanced {
  padding: 120px 0;
  background: radial-gradient(circle at top, #0b1022, #060914);
  color: #fff;
  position: relative;
}

.timeline-advanced {
  position: relative;
  max-width: 1100px;
  margin: auto;
}

/* Center glowing line */
.timeline-advanced::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 4px;
  height: 100%;
  background: linear-gradient(#6c8cff, #00e0ff);
  transform: translateX(-50%);
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(108, 140, 255, 0.7);
}

/* Step container */
.step {
  width: 50%;
  padding: 30px 40px;
  position: relative;
}

.step.left {
  left: 0;
  text-align: right;
}

.step.right {
  left: 50%;
}

/* Card */
.step-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transition: 0.35s;
}

.step-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
}

/* Step number */
.step-number {
  position: absolute;
  top: -18px;
  right: -18px;
  background: linear-gradient(135deg, #6c8cff, #00e0ff);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(108, 140, 255, 0.6);
}

/* Icon */
.step-icon {
  font-size: 36px;
  margin-bottom: 16px;
  color: #6c8cff;
}

/* Connector dot */
.step::after {
  content: "";
  position: absolute;
  top: 45px;
  width: 18px;
  height: 18px;
  background: #00e0ff;
  border-radius: 50%;
  box-shadow: 0 0 15px #00e0ff;
}

.step.left::after {
  right: -9px;
}

.step.right::after {
  left: -9px;
}

/* Text */
.step-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.step-card p {
  color: #b7c4e0;
  line-height: 1.6;
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .timeline-advanced::before {
    left: 20px;
  }

  .step {
    width: 100%;
    padding-left: 70px;
    text-align: left;
  }

  .step.right,
  .step.left {
    left: 0;
  }

  .step::after {
    left: 11px;
  }

  .step-number {
    right: auto;
    left: -10px;
  }
}

/* ================= CONTROL SECTION ================= */

.workflow-control {
  padding: 100px 0;
  background: linear-gradient(135deg, #0c1222, #101933);
  text-align: center;
  color: #fff;
}

.workflow-control h2 {
  font-size: 40px;
  margin-bottom: 60px;
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.control-item {
  background: rgba(255, 255, 255, 0.04);
  padding: 35px 20px;
  border-radius: 14px;
  transition: 0.3s;
}

.control-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
}

.control-item i {
  font-size: 36px;
  margin-bottom: 18px;
  color: #6c8cff;
}

.control-item h4 {
  margin-bottom: 10px;
  font-size: 20px;
}

.control-item p {
  color: #b7c4e0;
  font-size: 15px;
}

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

@media (max-width: 1024px) {
  .control-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .workflow-hero h1 {
    font-size: 34px;
  }

  .section-title {
    font-size: 28px;
  }

  .control-grid {
    grid-template-columns: 1fr;
  }
  
  .workflow-video {
    padding: 50px 0;
  }
  
  .workflow-video h2 {
    font-size: 26px;
    margin-bottom: 25px;
  }
  
  .workflow-advanced {
    padding: 60px 0;
  }
  
  .step-card {
    padding: 20px;
  }
  
  .step-card h3 {
    font-size: 18px;
  }
  
  .step-card p {
    font-size: 14px;
  }
  
  .workflow-control {
    padding: 60px 0;
  }
  
  .workflow-control h2 {
    font-size: 28px;
    margin-bottom: 40px;
  }
}

/* Mobile - 480px */
@media (max-width: 480px) {
  .workflow-video h2 {
    font-size: 22px;
  }
  
  .step {
    padding: 20px 25px;
  }
  
  .step-card {
    padding: 18px;
  }
  
  .step-icon {
    font-size: 28px;
    margin-bottom: 12px;
  }
  
  .step-card h3 {
    font-size: 16px;
  }
  
  .step-card p {
    font-size: 13px;
  }
  
  .step-number {
    width: 36px;
    height: 36px;
    font-size: 14px;
    top: -12px;
    right: -12px;
  }
  
  .workflow-control h2 {
    font-size: 22px;
  }
  
  .control-item {
    padding: 25px 15px;
  }
  
  .control-item i {
    font-size: 28px;
    margin-bottom: 12px;
  }
  
  .control-item h4 {
    font-size: 16px;
  }
  
  .control-item p {
    font-size: 13px;
  }
}
