/* ─── 3D Tier Visualization ─── */
.tier-3d-container {
  width: 100%;
  height: 400px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
}

.tier-3d-canvas {
  width: 100%;
  height: 100%;
}


/* ─── Timeline (Implementation) ─── */
.timeline {
  position: relative;
  padding: 2rem 0;
  margin-top: 3rem;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
}

.timeline-dot {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  z-index: 1;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.timeline-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--brand-gradient);
  transform: scale(0);
  transition: transform 0.5s var(--ease-out-expo);
  z-index: -1;
}

.timeline-item:hover .timeline-dot::before {
  transform: scale(1);
}

.timeline-item:hover .timeline-dot {
  border-color: var(--accent-5);
  box-shadow: 0 0 30px rgba(58, 180, 233, 0.4), 0 0 60px rgba(42, 235, 235, 0.15);
  transform: scale(1.1);
}

.timeline-content {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  flex: 1;
  transition: all var(--transition-med);
}

.timeline-item:hover .timeline-content {
  border-color: var(--glass-border-hover);
}

.timeline-content h4 {
  margin-bottom: 0.5rem;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.timeline-content p {
  font-size: 0.9rem;
}

/* Timeline travel dot */
.timeline-travel-dot {
  position: absolute;
  left: 22px;
  top: 15px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-5);
  z-index: 2;
  transform: translateY(-50%);
  opacity: 0.5;
  transition: top 0.5s var(--ease-out-expo), opacity 0.3s ease;
  box-shadow: 0 0 20px var(--accent-5), 0 0 40px rgba(42, 235, 235, 0.3);
}

[dir="rtl"] .timeline-travel-dot { left: auto; right: 22px; }
.timeline-travel-dot.active {
  opacity: 1;
}

/* ─── Tier Detail Page ─── */
.tier-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 2rem);
  position: relative;
}

.tier-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tier-hero-info {
  z-index: 2;
}

.tier-number-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-3);
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
}

.tier-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all var(--transition-med);
}

.detail-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--glow-sm);
}

.detail-card h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--accent-4);
}

.detail-card ul {
  list-style: none;
}

.detail-card li {
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.detail-card li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-3);
}

/* Hardware Table */
.hardware-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.hardware-table th,
.hardware-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.9rem;
}

.hardware-table th {
  color: var(--accent-4);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hardware-table td {
  color: var(--text-secondary);
}

.hardware-table tr:hover td {
  background: rgba(58, 180, 233, 0.03);
}

.optional-badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  background: rgba(255, 152, 0, 0.1);
  color: #FFB74D;
  border: 1px solid rgba(255, 152, 0, 0.2);
}
