/* ===== Nav active state ===== */
.nav-active { color: var(--blue) !important; }

/* ===== Hosting hero illustration ===== */
.hosting-illustration {
  position: absolute;
  right: -10px;
  bottom: 0;
  width: 92%;
  height: 96%;
  z-index: 1;
}

/* ===== Billing toggle ===== */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 46px;
}
.toggle-label {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s ease;
}
.toggle-label.active { color: var(--text-dark); }
.save-badge {
  background: #dcfce7;
  color: #16a34a;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}
.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  border-radius: 20px;
  background: var(--border);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.toggle-switch.on { background: var(--blue); }
.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}
.toggle-switch.on .toggle-knob { transform: translateX(22px); }

/* ===== Hosting plan grid (4 cols) ===== */
.hosting-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* ===== Comparison table ===== */
.compare-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px 100px;
}
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}
.compare-table thead th {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--text-dark);
  padding: 16px 18px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.compare-table thead th.feature-col {
  text-align: left;
}
.compare-table tbody td {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
}
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table td.feature-col {
  text-align: left;
  font-weight: 600;
  color: var(--text-dark);
}
.compare-table .highlight-col {
  background: var(--blue-pale-2);
}
.compare-table thead th.highlight-col {
  color: var(--blue);
}
.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.dot-yes { background: var(--blue); }
.dot-no { background: var(--border); }

/* ===== Responsive overrides for this page ===== */
@media (max-width: 1024px) {
  .hosting-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .billing-toggle { flex-wrap: wrap; }
}
