/* ═══════════════════════════════════════════════
   COMPONENTI INTERATTIVI - GDSCHOOL
   ═══════════════════════════════════════════════ */

/* TABS INTERATTIVE */
.tabs-container {
  margin: 2rem 0;
}

.tabs-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(0, 200, 255, 0.1);
  padding-bottom: 1rem;
}

.tab-btn {
  background: transparent;
  border: 2px solid rgba(0, 200, 255, 0.2);
  color: var(--muted);
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.tab-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.tab-btn.active {
  background: var(--cyan);
  color: var(--ink);
  border-color: var(--cyan);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* PROGRESS TRACKER */
.progress-timeline {
  max-width: 700px;
  margin: 3rem auto;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-dot {
  width: 40px;
  height: 40px;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.3s;
}

.timeline-item.completed .timeline-dot {
  background: var(--green);
  border-color: var(--green);
  color: var(--ink);
}

.timeline-item.current .timeline-dot {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.5);
}

.timeline-content {
  flex: 1;
  padding: 1rem;
  background: var(--card);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.timeline-content h3 {
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.timeline-content p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* STATS COUNTER */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.stat-card:hover {
  border-color: rgba(0, 200, 255, 0.3);
  transform: translateY(-3px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .tabs-nav {
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}
