/* Roadmap Timeline UI */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: var(--border);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 4px;
}

.timeline-container {
  padding: 10px 40px;
  position: relative;
  background: inherit;
  width: 50%;
}

.timeline-container.left {
  left: 0;
}

.timeline-container.right {
  left: 50%;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--bg-card);
  border: 4px solid var(--primary);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-container.right::after {
  left: -10px;
}

.timeline-content {
  padding: 1.5rem;
  background: var(--bg-card);
  position: relative;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.timeline-step {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.timeline-duration {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }
  .timeline-container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .timeline-container.right {
    left: 0;
  }
  .timeline-container.left::after, 
  .timeline-container.right::after {
    left: 21px;
  }
}


/* Details Page UI Added from Template */
/* Keep existing styles, plus new ones */
      .roadmap-info-bar {
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
        background: var(--bg-card);
        padding: 1rem 2rem;
        border-radius: 1rem;
        border: 1px solid var(--border);
        margin: -2rem auto 3rem auto;
        max-width: 800px;
        position: relative;
        z-index: 10;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
      }
      .info-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 600;
        color: var(--text-main);
      }
      .info-item svg {
        color: var(--primary);
      }
      .skills-container {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        margin-top: 1rem;
      }
      .skill-tag {
        background: rgba(14, 165, 233, 0.1);
        color: var(--primary);
        padding: 0.2rem 0.8rem;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
        border: 1px solid rgba(14, 165, 233, 0.2);
      }
      .optional-badge {
        background: #f59e0b;
        color: white;
        font-size: 0.7rem;
        padding: 2px 6px;
        border-radius: 4px;
        font-weight: 700;
        vertical-align: middle;
        margin-left: 0.5rem;
      }
      
      /* Progress Tracker Checkbox */
      .step-checkbox {
        width: 24px;
        height: 24px;
        cursor: pointer;
        accent-color: #10b981;
      }
      .timeline-title {
        display: flex;
        align-items: center;
        gap: 0.5rem;
      }
      .timeline-container.completed .timeline-step {
        background: #10b981;
        color: white;
      }
      .timeline-container.completed .timeline-content {
        border-color: #10b981;
        box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
      }
      .progress-bar-container {
        width: 100%;
        max-width: 800px;
        height: 10px;
        background: var(--border);
        border-radius: 10px;
        margin: 0 auto 3rem auto;
        overflow: hidden;
      }
      .progress-bar-fill {
        height: 100%;
        background: #10b981;
        width: 0%;
        transition: width 0.4s ease;
      }
      .progress-text {
        text-align: center;
        font-weight: 700;
        margin-bottom: 0.5rem;
        color: #10b981;
      }

      /* FAQ Accordion */
      .faq-section {
        max-width: 800px;
        margin: 4rem auto;
      }
      .faq-title {
        font-size: 2rem;
        font-weight: 800;
        text-align: center;
        margin-bottom: 2rem;
      }
      .faq-item {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 0.5rem;
        margin-bottom: 1rem;
        overflow: hidden;
      }
      .faq-question {
        padding: 1.25rem 1.5rem;
        font-weight: 700;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        user-select: none;
      }
      .faq-question svg {
        transition: transform 0.3s;
      }
      .faq-item.active .faq-question svg {
        transform: rotate(180deg);
      }
      .faq-answer {
        padding: 0 1.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        color: var(--text-muted);
      }
      .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem 1.5rem;
        max-height: 1000px;
      }


/* Floating Share Button */
.floating-share-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 0.75rem;
}

.floating-share-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.floating-share-btn:hover {
  transform: scale(1.05);
  background: var(--primary-dark);
}

.floating-share-btn svg {
  width: 24px;
  height: 24px;
}

.share-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.share-options.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.share-option-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.share-option-btn:hover {
  transform: scale(1.1);
}

.share-whatsapp { background: #25D366; }
.share-telegram { background: #0088cc; }
.share-facebook { background: #1877F2; }
.share-copy { background: #475569; }

.copy-toast {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1e293b;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1001;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .floating-share-container {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}
