/* VPS 主機頁面專用樣式 */
.theme-vps .hero-chip {
  background: rgba(0, 102, 255, 0.1);
  border-color: rgba(0, 102, 255, 0.28);
  color: #4da6ff;
}

.theme-vps .plan-banner {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.12), rgba(0, 212, 255, 0.08));
}

.theme-vps .defense-step.active {
  border-color: #4da6ff;
  box-shadow: 0 0 24px rgba(0, 102, 255, 0.15);
}

.theme-vps .defense-step.active .ds-icon {
  background: rgba(0, 102, 255, 0.2);
  border-color: #4da6ff;
}

.vps-arch {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.vps-arch-step {
  flex: 1;
  min-width: 150px;
  max-width: 210px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
}

.vps-arch-step:hover,
.vps-arch-step.active {
  border-color: #4da6ff;
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.12);
}

.vps-arch-step .va-num {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #0066ff, #00d4ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0 auto 12px;
}

.vps-arch-step .va-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.vps-arch-step h5 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.vps-arch-step p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.vps-arch-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4da6ff;
  font-size: 1.2rem;
  opacity: 0.6;
}

.vps-diagram {
  margin-top: 48px;
  padding: 32px;
  background: #020508;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-family: 'Consolas', monospace;
  font-size: 0.82rem;
  line-height: 2.2;
  color: var(--text-muted);
  overflow-x: auto;
}

.vps-diagram .vd-physical { color: var(--accent-purple); }
.vps-diagram .vd-hyper { color: #4da6ff; }
.vps-diagram .vd-vps { color: var(--accent-green); }
.vps-diagram .vd-user { color: var(--accent); }

.vps-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.vps-spec-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}

.vps-spec-card:hover {
  border-color: #4da6ff;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.1);
}

.vps-spec-card .vs-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.vps-spec-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.vps-spec-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.plan-cards.vps-two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .vps-specs-grid { grid-template-columns: 1fr 1fr; }
  .plan-cards.vps-two { grid-template-columns: 1fr; max-width: 480px; }
}

@media (max-width: 768px) {
  .vps-arch { flex-direction: column; align-items: center; }
  .vps-arch-step { max-width: 100%; width: 100%; }
  .vps-arch-arrow { transform: rotate(90deg); padding: 4px 0; }
  .vps-specs-grid { grid-template-columns: 1fr; }
}
