/* ============================================
   VPS PAGE - SHARED STYLES
   vpshc.vn
   ============================================ */

/* ---- HERO ---- */
.vps-hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.vps-hero .badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.vps-hero .badge-tag .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2ecc71;
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.4;transform:scale(1.5)}
}

/* ---- CPU CHIP CARD ---- */
.chip-card {
  background: #1e1b4b;
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.chip-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168,85,247,0.15) 0%, transparent 60%);
}
.chip-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}
.chip-number {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  font-family: monospace;
}
.chip-model {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: 4px;
}

/* ---- PRICING TABLE ---- */
.vps-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 14px 16px;
  white-space: nowrap;
}
.vps-table td {
  padding: 14px 16px;
  vertical-align: middle;
  font-size: 0.9rem;
}
.vps-table tbody tr:hover {
  background: #f8f9ff;
}
.vps-table .price-col {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0057b8;
  white-space: nowrap;
}
.vps-table .btn-order {
  padding: 6px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;
}
.vps-table .popular-row {
  background: #f0f6ff !important;
  border-left: 3px solid #0057b8;
}
.popular-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  vertical-align: middle;
  margin-left: 6px;
}

/* ---- SPECS ICON CARD (kept for compatibility) ---- */

/* ---- FEATURE CARD PRO ---- */
.fcp-card {
  background: #fff;
  border: 1px solid #eef2ff;
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.fcp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--fcp-accent, #a855f7), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.fcp-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  transform: translateY(-4px);
  border-color: #dde6ff;
}
.fcp-card:hover::before { opacity: 1; }
.fcp-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.fcp-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
  line-height: 1.4;
}
.fcp-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* ---- SPEC CARD - updated ---- */
.spec-card {
  background: #fff;
  border: 1px solid #eef2ff;
  border-radius: 16px;
  padding: 24px 18px;
  text-align: center;
  transition: all .3s;
}
.spec-card:hover {
  box-shadow: 0 10px 30px rgba(0,87,184,.1);
  transform: translateY(-4px);
  border-color: #c7d7f5;
}
.spec-card .spec-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.spec-card .spec-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
}
.spec-card .spec-lbl {
  font-size: 0.76rem;
  color: #94a3b8;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- OS SUPPORT BOX ---- */
.os-support-box {
  background: #fff;
  border: 1px solid #eef2ff;
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
}
.os-support-header {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.os-support-header i { color: #0057b8; font-size: 1.2rem; }
.os-badge {
  display: inline-block;
  background: #f0f4ff;
  color: #374151;
  font-weight: 500;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  transition: all .2s;
  cursor: default;
}
.os-badge:hover {
  background: #e0e8ff;
  border-color: #c7d4f0;
  color: #1e293b;
}

/* ---- OS SELECTOR (legacy) ---- */
.os-card {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all .25s;
}
.os-card:hover, .os-card.active {
  border-color: #0057b8;
  background: #f0f6ff;
}
.os-card img { height: 36px; object-fit: contain; margin-bottom: 8px; }
.os-card span { font-size: 0.8rem; font-weight: 600; color: #374151; display: block; }

/* ---- CTA GRADIENT ---- */
.vps-cta {
  background: linear-gradient(135deg, #0f172a 0%, #0057b8 50%, #0090e7 100%);
  border-radius: 20px;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}
.vps-cta::before {
  content:'';
  position: absolute;
  width:350px;height:350px;
  background: rgba(255,255,255,0.04);
  border-radius:50%;
  top:-100px;right:-100px;
}

/* ---- BREADCRUMB ---- */
.vps-breadcrumb {
  background: #f8faff;
  padding: 12px 0;
  border-bottom: 1px solid #eef2ff;
  font-size: 0.85rem;
}
.vps-breadcrumb a { color: #0057b8; text-decoration: none; }
.vps-breadcrumb a:hover { text-decoration: underline; }

/* ---- SECTION TAG ---- */
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0057b8;
  background: rgba(0,87,184,0.08);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

@media (max-width: 767px) {
  .vps-hero { padding: 100px 0 50px; }
  .vps-cta { padding: 40px 20px; }
  .vps-table { font-size: 0.82rem; }
  .vps-table td, .vps-table th { padding: 10px 10px; }
}
