/* ============================================
   PRODUCTS & JOURNEY PAGE STYLES
   ============================================ */

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.product-card {
  background: linear-gradient(160deg, rgba(15,25,65,0.9), rgba(8,12,36,0.95));
  border: 1.5px solid rgba(96,165,250,0.2);
  border-radius: 16px;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent, #3B82F6);
  opacity: 0.6;
  transition: opacity 0.3s;
}
.product-card:hover {
  border-color: var(--accent, #3B82F6);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59,130,246,0.15);
}
.product-card:hover::before { opacity: 1; }

.product-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.product-icon { font-size: 2.5rem; }

.product-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.product-card p {
  font-size: 0.95rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.product-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.tech-tag {
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  color: #60A5FA;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}
.tech-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.product-card-footer {
  color: var(--accent, #3B82F6);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Status Badges */
.product-status {
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-done {
  background: rgba(16,185,129,0.15);
  color: #10B981;
  border: 1px solid rgba(16,185,129,0.3);
}
.status-progress {
  background: rgba(59,130,246,0.15);
  color: #3B82F6;
  border: 1px solid rgba(59,130,246,0.3);
}
.status-planned {
  background: rgba(245,158,11,0.15);
  color: #F59E0B;
  border: 1px solid rgba(245,158,11,0.3);
}

/* Modal list styles */
.modal-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.modal-list li {
  color: #94A3B8;
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.6;
}
.modal-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #3B82F6;
  font-weight: bold;
}

/* Roadmap list in modal */
.roadmap-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}
.roadmap-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(15,25,65,0.6);
  border: 1px solid rgba(96,165,250,0.15);
  border-radius: 10px;
}
.roadmap-phase {
  color: #60A5FA;
  font-weight: 700;
  font-size: 0.85rem;
  min-width: 60px;
}
.roadmap-title {
  flex: 1;
  color: #E2E8F0;
  font-weight: 500;
}

/* ============================================
   JOURNEY TIMELINE STYLES
   ============================================ */
.journey-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.journey-stat-card {
  background: rgba(20,27,62,0.6);
  border: 1px solid rgba(74,144,226,0.2);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}
.journey-stat-card:hover {
  border-color: rgba(59,130,246,0.4);
  transform: translateY(-2px);
}
.journey-stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.journey-stat-label {
  color: #94A3B8;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Timeline */
.journey-timeline {
  position: relative;
  padding: 2rem 0;
}
.journey-timeline.is-empty::before {
  content: none;
}
.journey-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #10B981, #3B82F6, #F59E0B);
  transform: translateX(-50%);
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem 3rem;
  cursor: pointer;
}
.timeline-left { left: 0; text-align: right; }
.timeline-right { left: 50%; text-align: left; }

.timeline-dot {
  position: absolute;
  top: 1.75rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #0A0E27;
  z-index: 2;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.3);
}
.timeline-left .timeline-dot { right: -8px; }
.timeline-right .timeline-dot { left: -8px; }

.timeline-card {
  background: rgba(15,25,65,0.9);
  border: 1.5px solid rgba(96,165,250,0.2);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  text-align: left;
}
.timeline-card:hover {
  border-color: rgba(59,130,246,0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,130,246,0.1);
}

.timeline-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.milestone-num {
  background: rgba(59,130,246,0.15);
  color: #60A5FA;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}
.timeline-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.timeline-card p {
  font-size: 0.9rem;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.timeline-card-footer {
  color: #60A5FA;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Timeline Responsive */
@media (max-width: 768px) {
  .journey-timeline::before { left: 20px; }
  .timeline-item { width: 100%; left: 0 !important; padding: 1rem 1rem 1rem 50px; text-align: left; }
  .timeline-left .timeline-dot,
  .timeline-right .timeline-dot { left: 12px; right: auto; }
  .products-grid { grid-template-columns: 1fr; }
}
