/* ============================================================
   VPS PAGE STYLES — Zevivo
   Color scheme: #1a2830 / #222c30 dark, #FF4521 accent, #f7f9fa light
   ============================================================ */

/* ---- HERO ---- */
.vps-hero {
  background: linear-gradient(135deg, #1a2830 0%, #222c30 60%, #2c393e 100%);
  /* LAYOUT SYSTEM: padding-top = var(--hero-padding-top) from layout-system.css */
  /* TRANSITION: was 150px (magic number) — now token-driven */
  padding: var(--hero-padding-top, 175px) 0 70px;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}
.vps-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,69,33,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.vps-breadcrumb {
  margin-bottom: 16px;
}
.vps-breadcrumb .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}
.vps-breadcrumb .breadcrumb-item a {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  text-decoration: none;
}
.vps-breadcrumb .breadcrumb-item a:hover { color: #FF4521; }
.vps-breadcrumb .breadcrumb-item.active { color: rgba(255,255,255,0.4); font-size: 0.82rem; }
.vps-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }

.vps-tag {
  display: inline-block;
  background: rgba(255,69,33,0.15);
  border: 1px solid rgba(255,69,33,0.4);
  color: #FF4521;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.vps-hero-title {
  font-family: 'Catamaran', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 18px;
}
.vps-hero-title .text-accent { color: #FF4521; }

.vps-hero-desc {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 520px;
}

.vps-hero-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.vps-hero-features li {
  color: rgba(255,255,255,0.82);
  font-size: 0.93rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vps-hero-features li i {
  color: #FF4521;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.vps-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
/* .dark-outline-btn — defined in cta-system.css */

/* ---- HERO SERVER VISUAL ---- */
.vps-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.vps-server-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.vps-server-header {
  background: rgba(255,255,255,0.06);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.vps-server-dots { display: flex; gap: 6px; }
.dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.vps-server-title {
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.vps-server-body { padding: 20px 18px; }

.vps-metric-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.vps-metric {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 10px 12px;
  text-align: center;
}
.vps-metric-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.vps-metric-value {
  font-family: 'Catamaran', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}
.vps-metric-value.uptime { color: #28c840; }
.vps-metric-value.latency { color: #FF4521; }
.vps-metric-value.status { color: #28c840; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.85rem; }
.status-dot {
  width: 8px; height: 8px;
  background: #28c840;
  border-radius: 50%;
  animation: pulse-green 1.5s infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.vps-server-racks { margin-bottom: 18px; }
.rack-unit {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.rack-lights { display: flex; gap: 4px; }
.rack-light {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.rack-light.active { background: #FF4521; animation: blink 2s infinite; }
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.rack-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.rack-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF4521, #ff6b4a);
  border-radius: 3px;
  transition: width 2s ease;
}
.rack-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  width: 60px;
  text-align: right;
}

.vps-location-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 14px;
}
.vps-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
.vps-location i { color: #FF4521; font-size: 0.75rem; }

/* ---- STATS BAR ---- */
.market-stats-bar {
  background: #FF4521;
  padding: 28px 0;
}

/* ---- INTRO SECTION ---- */
.vps-intro-section {
  padding: var(--space-xxl) 0;
  background: #fff;
}
.vps-intro-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #FF4521;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.vps-section-title {
  font-family: 'Catamaran', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #1a2830;
  line-height: 1.15;
  margin-bottom: 18px;
}
.vps-section-title.white { color: #fff; }
.vps-section-sub {
  color: #5a6a72;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 14px;
}
.vps-section-sub.white { color: rgba(255,255,255,0.7); }

.vps-intro-desc {
  color: #4a5a62;
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.vps-intro-highlights { margin-top: 24px; }
.vps-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.vps-highlight-item i {
  width: 40px; height: 40px;
  background: rgba(255,69,33,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF4521;
  font-size: 1rem;
  flex-shrink: 0;
}
.vps-highlight-item div { display: flex; flex-direction: column; gap: 2px; }
.vps-highlight-item strong { color: #1a2830; font-size: 0.95rem; font-weight: 700; }
.vps-highlight-item span { color: #5a6a72; font-size: 0.87rem; }

/* Benefits Grid */
.vps-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---- VPS PLANS SECTION ---- */
.vps-plans-section {
  padding: var(--space-xxl) 0;
  background: #f7f9fa;
}

/* Plan Cards */
.vps-plan-card {
  background: #fff;
  border-radius: 16px;
  border: 2px solid #e8edf0;
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}
.vps-plan-card:hover {
  border-color: #FF4521;
  box-shadow: 0 12px 40px rgba(255,69,33,0.12);
  transform: translateY(-4px);
}
.vps-plan-card.vps-plan-featured {
  border-color: #FF4521;
  background: linear-gradient(180deg, #fff 0%, #fff9f8 100%);
  box-shadow: 0 12px 48px rgba(255,69,33,0.18);
  transform: translateY(-6px);
}
.vps-plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #FF4521;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 5px 18px;
  border-radius: 20px;
  text-transform: uppercase;
  white-space: nowrap;
}

.vps-plan-header { text-align: center; margin-bottom: 24px; }
.vps-plan-icon {
  width: 56px; height: 56px;
  background: rgba(255,69,33,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF4521;
  font-size: 1.4rem;
  margin: 0 auto 14px;
}
.vps-plan-featured .vps-plan-icon {
  background: #FF4521;
  color: #fff;
}
.vps-plan-name {
  font-family: 'Catamaran', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: #1a2830;
  margin-bottom: 8px;
}
.vps-plan-price { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.price-free {
  font-family: 'Catamaran', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #FF4521;
  line-height: 1;
}
.price-condition {
  font-size: 0.82rem;
  color: #5a6a72;
  background: #f0f4f6;
  padding: 3px 12px;
  border-radius: 20px;
}

.vps-plan-specs {
  background: #f7f9fa;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #e8edf0;
  font-size: 0.87rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-label { color: #5a6a72; display: flex; align-items: center; gap: 7px; }
.spec-label i { color: #FF4521; width: 14px; }
.spec-value { font-weight: 700; color: #1a2830; }

.vps-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}
.vps-plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #3a4a52;
  padding: 6px 0;
  border-bottom: 1px solid #f0f4f6;
}
.vps-plan-features li:last-child { border-bottom: none; }
.vps-plan-features li i.fa-check { color: #28a745; }
.vps-plan-features li i.fa-times { color: #ccc; }

.vps-plan-btn {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #f0f4f6;
  color: #1a2830;
  border: 2px solid #e0e8ec;
  transition: all 0.25s ease;
  text-decoration: none;
}
.vps-plan-btn:hover {
  background: #FF4521;
  color: #fff;
  border-color: #FF4521;
  text-decoration: none;
}
.vps-plan-btn.featured-btn {
  background: #FF4521;
  color: #fff;
  border-color: #FF4521;
}
.vps-plan-btn.featured-btn:hover {
  background: #e03a1a;
  border-color: #e03a1a;
}

/* Comparison Table */
.vps-compare-wrapper {
  margin-top: 50px;
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid #e8edf0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
.vps-compare-title {
  font-family: 'Catamaran', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a2830;
  margin-bottom: 24px;
  text-align: center;
}
.vps-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.vps-compare-table thead th {
  background: #1a2830;
  color: #fff;
  font-family: 'Catamaran', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 16px;
  text-align: center;
  border: none;
}
.vps-compare-table thead th:first-child {
  text-align: left;
  border-radius: 10px 0 0 0;
}
.vps-compare-table thead th:last-child { border-radius: 0 10px 0 0; }
.vps-compare-table thead th.featured-col {
  background: #FF4521;
}
.popular-tag {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}
.vps-compare-table tbody tr:nth-child(even) { background: #f7f9fa; }
.vps-compare-table tbody td {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: #3a4a52;
  border-bottom: 1px solid #e8edf0;
  text-align: center;
  vertical-align: middle;
}
.vps-compare-table tbody td:first-child { text-align: left; font-weight: 600; color: #1a2830; }
.vps-compare-table tbody td.featured-col {
  background: rgba(255,69,33,0.05);
  font-weight: 700;
  color: #1a2830;
}
.vps-compare-table .price-cell {
  font-family: 'Catamaran', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: #FF4521;
}
.vps-compare-table .text-success { color: #28a745 !important; }
.vps-compare-table .text-muted { color: #ccc !important; }

.vps-table-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: #7a8a92;
  text-align: center;
}
.vps-table-note i { color: #FF4521; margin-right: 6px; }

/* ---- CONNECT SECTION ---- */
.vps-connect-section {
  padding: var(--space-xxl) 0;
  background: linear-gradient(135deg, #1a2830 0%, #222c30 100%);
}

.vps-connect-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 28px 24px;
  height: 100%;
  transition: all 0.25s ease;
}
.vps-connect-card:hover {
  border-color: rgba(255,69,33,0.5);
  background: rgba(255,255,255,0.07);
}
.vps-connect-icon {
  width: 52px; height: 52px;
  background: rgba(255,69,33,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF4521;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.vps-connect-card h4 {
  font-family: 'Catamaran', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.vps-connect-steps {
  padding-left: 18px;
  margin: 0;
}
.vps-connect-steps li {
  color: rgba(255,255,255,0.72);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 8px;
}
.vps-connect-steps li strong { color: #fff; }

/* ---- REGISTER SECTION ---- */
.vps-register-section {
  padding: var(--space-xxl) 0;
  background: #fff;
}

.vps-form-card {
  background: #f7f9fa;
  border-radius: 16px;
  padding: 40px 36px;
  border: 1px solid #e8edf0;
}

.vps-input {
  background: #fff !important;
  border: 1.5px solid #dde4e8 !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-size: 0.92rem !important;
  color: #1a2830 !important;
  transition: border-color 0.2s ease !important;
}
.vps-input:focus {
  border-color: #FF4521 !important;
  box-shadow: 0 0 0 3px rgba(255,69,33,0.1) !important;
  outline: none !important;
}
.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a2830;
  margin-bottom: 6px;
}
.required { color: #FF4521; }

/* Plan Radio Select */
.vps-plan-select-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.vps-plan-radio { cursor: pointer; flex: 1; min-width: 100px; }
.vps-plan-radio input[type="radio"] { display: none; }
.plan-radio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 10px;
  border: 2px solid #dde4e8;
  border-radius: 10px;
  background: #fff;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}
.plan-radio-card.featured {
  border-color: #FF4521;
  background: rgba(255,69,33,0.04);
}
.plan-radio-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #FF4521;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}
.vps-plan-radio input:checked + .plan-radio-card {
  border-color: #FF4521;
  background: rgba(255,69,33,0.06);
}
.plan-radio-name {
  font-family: 'Catamaran', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #1a2830;
}
.plan-radio-req {
  font-size: 0.75rem;
  color: #7a8a92;
}

.vps-submit-btn {
  min-width: 220px;
  padding: 14px 32px !important;
  font-size: 0.9rem !important;
}

/* ---- FAQ SECTION ---- */
.vps-faq-section {
  padding: var(--space-xxl) 0;
  background: #f7f9fa;
}

.vps-faq-list { display: flex; flex-direction: column; gap: 12px; }
.vps-faq-item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8edf0;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.vps-faq-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }

.vps-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: 'Catamaran', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1a2830;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.2s ease;
}
.vps-faq-question:hover { color: #FF4521; }
.vps-faq-question.active { color: #FF4521; }
.vps-faq-icon {
  font-size: 0.8rem;
  color: #FF4521;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.vps-faq-question.active .vps-faq-icon { transform: rotate(180deg); }

.vps-faq-answer {
  display: none;
  padding: 0 24px 20px;
  border-top: 1px solid #f0f4f6;
}
.vps-faq-answer p {
  font-size: 0.92rem;
  color: #4a5a62;
  line-height: 1.75;
  margin: 14px 0 0;
}

/* ---- CTA SECTION ---- */
.vps-cta-section {
  padding: var(--space-xxl) 0;
  background: linear-gradient(135deg, #1a2830 0%, #222c30 100%);
  border-top: 3px solid #FF4521;
}
.vps-cta-title {
  font-family: 'Catamaran', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
}
.vps-cta-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 32px;
}
.vps-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .vps-hero { padding: 80px 0 60px; min-height: auto; }
  .vps-hero-title { font-size: 2.4rem; }
  .vps-benefits-grid { grid-template-columns: 1fr 1fr; }
  .vps-plan-card.vps-plan-featured { transform: none; }
  .vps-compare-wrapper { padding: 24px 16px; }
}

@media (max-width: 767px) {
  .vps-hero { padding: 70px 0 50px; }
  .vps-hero-title { font-size: 2rem; }
  .vps-hero-desc { font-size: 0.95rem; }
  .vps-hero-cta { flex-direction: column; }
  .vps-hero-cta .btn { width: 100%; text-align: center; }
  .vps-section-title { font-size: 1.8rem; }
  .vps-benefits-grid { grid-template-columns: 1fr; }
  .vps-plan-cards .col-lg-4 { margin-bottom: 20px; }
  .vps-plan-card.vps-plan-featured { transform: none; }
  .vps-metric-row { flex-wrap: wrap; }
  .vps-metric { min-width: calc(50% - 6px); }
  .vps-form-card { padding: 24px 18px; }
  .vps-plan-select-row { flex-direction: column; }
  .vps-plan-radio { min-width: 100%; }
  .vps-cta-title { font-size: 1.8rem; }
  .vps-cta-btns { flex-direction: column; align-items: center; }
  .vps-cta-btns .btn { width: 100%; max-width: 280px; text-align: center; }
  .vps-compare-wrapper { padding: 20px 12px; overflow-x: auto; }
  .vps-compare-table { min-width: 500px; }
}
