/* ============================================================
   100 Gbit/s Cloud VPS page styles
   ============================================================ */

/* Base section padding (was missing — caused inconsistent gutters) */
.hf-section { padding: 80px 0; }
@media (max-width: 800px) { .hf-section { padding: 56px 0; } }

/* ===== HERO ===== */
.vps2-hero {
  padding-top: 88px;
  padding-bottom: 64px;
  background:
    radial-gradient(circle at 15% 0%, color-mix(in oklab, var(--accent) 10%, transparent) 0%, transparent 50%),
    radial-gradient(circle at 95% 50%, color-mix(in oklab, var(--accent) 6%, transparent) 0%, transparent 55%);
  border-bottom: 1px solid var(--line);
}
.vps2-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) { .vps2-hero__grid { grid-template-columns: 1fr; gap: 40px; } }

.vps2-hero__title {
  display: flex; flex-direction: column; gap: 4px;
  margin: 18px 0 18px;
}
.vps2-hero__big {
  font-size: clamp(72px, 10vw, 132px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--accent);
  display: inline-flex; align-items: baseline; gap: 4px;
  font-family: var(--font-mono);
}
.vps2-hero__unit {
  font-size: 0.32em;
  color: var(--fg-1);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.vps2-hero__sub {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg-0);
  line-height: 1.05;
}
.vps2-hero__lede {
  font-size: 16px;
  max-width: 540px;
  color: var(--fg-1);
  line-height: 1.55;
}
.vps2-hero__lede b { color: var(--fg-0); font-weight: 600; }

.vps2-hero__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0;
  margin: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.vps2-hero__metric {
  padding: 16px 14px 16px 0;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.vps2-hero__metric:last-child { border-right: 0; padding-right: 0; }
.vps2-hero__metric-v {
  font-size: 22px; font-weight: 600; color: var(--fg-0);
  display: inline-flex; align-items: baseline; gap: 4px;
  white-space: nowrap;
}
.vps2-hero__metric-u { font-size: 12px; color: var(--fg-2); font-weight: 500; }
.vps2-hero__metric-l {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--fg-3); margin-top: 2px;
}
@media (max-width: 640px) {
  .vps2-hero__metrics { grid-template-columns: repeat(2, 1fr); }
  .vps2-hero__metric { padding: 14px 12px; border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); }
  .vps2-hero__metric:nth-child(2n) { border-right: 0 !important; }
  .vps2-hero__metric:nth-last-child(-n+2) { border-bottom: 0; }
}

.vps2-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Throughput viz (right side of hero) ===== */
.vps2-viz { padding: 22px; background: linear-gradient(180deg, var(--bg-2), var(--bg-1)); border: 1px solid var(--line-2); }
.vps2-viz__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 8px; flex-wrap: wrap; white-space: nowrap; }
.vps2-viz__head .eyebrow, .vps2-viz__head .mono { white-space: nowrap; }

.vps2-viz__bar {
  display: flex; height: 22px; width: 100%;
  background: var(--bg-3);
  border-radius: 4px; overflow: hidden;
  border: 1px solid var(--line);
}
.vps2-viz__seg { transition: width 220ms ease; height: 100%; }
.vps2-viz__headroom { background: transparent; height: 100%; }

.vps2-viz__readout { margin: 14px 0 18px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.vps2-viz__big {
  font-size: 44px; font-weight: 600; color: var(--fg-0);
  display: inline-flex; align-items: baseline; gap: 6px;
}
.vps2-viz__big-u { font-size: 14px; color: var(--fg-2); font-weight: 500; }
.vps2-viz__sub { font-size: 12px; color: var(--fg-2); margin-top: 2px; }

.vps2-viz__legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.vps2-viz__leg { display: grid; grid-template-columns: 12px 1fr auto; gap: 8px; align-items: center; font-size: 12px; min-width: 0; }
.vps2-viz__leg-sw { width: 10px; height: 10px; border-radius: 2px; }
.vps2-viz__leg-l { color: var(--fg-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vps2-viz__leg-v { color: var(--fg-0); font-size: 11px; }

/* ===== PILLARS ===== */
.vps2-pillars { padding-top: 56px; padding-bottom: 56px; }
.vps2-pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 980px) { .vps2-pillars__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .vps2-pillars__grid { grid-template-columns: 1fr; } }
.vps2-pillars__item {
  background: var(--bg-2);
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.vps2-pillars__ic {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--bg-3);
  border-radius: var(--radius);
  margin-bottom: 14px;
  color: var(--accent);
}
.vps2-pillars__title { font-size: 22px; font-weight: 600; color: var(--fg-0); letter-spacing: -0.01em; }
.vps2-pillars__sub { font-size: 13px; color: var(--fg-2); margin-bottom: 8px; }
.vps2-pillars__item p { font-size: 13px; line-height: 1.55; margin: 0; }

/* ===== TOOLBAR ===== */
.hf-vps-toolbar { position: sticky; top: 64px; z-index: 30; background: color-mix(in oklab, var(--bg-1) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.hf-vps-toolbar__row { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 16px 0; flex-wrap: wrap; }
.vps2-toolbar__h { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin: 4px 0 0; }

/* ===== PLANS — wide horizontal rows ===== */
.vps2-plans { display: flex; flex-direction: column; gap: 10px; }
.vps2-plans__empty { padding: 32px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }
.vps2-plans__note { font-size: 13px; margin-top: 24px; }

.vps2-plan {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(180px, 1fr)
    minmax(0, 2.4fr)
    minmax(0, 1fr)
    auto
    minmax(140px, auto);
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 120ms ease, transform 120ms ease;
}
.vps2-plan:hover { border-color: var(--line-2); transform: translateY(-1px); }
.vps2-plan.is-guaranteed {
  border-color: color-mix(in oklab, var(--accent) 35%, var(--line));
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 4%, var(--bg-2)) 0%, var(--bg-2) 60%);
}
.vps2-plan__badge { position: absolute; top: -10px; left: 24px; }

@media (max-width: 1100px) {
  .vps2-plan {
    grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr) auto;
    grid-template-rows: auto auto;
  }
  .vps2-plan__use, .vps2-plan__locs { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .vps2-plan { grid-template-columns: 1fr; }
  .vps2-plan__price { border-top: 1px solid var(--line); padding-top: 14px; }
}

.vps2-plan__id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.vps2-plan__icon { color: var(--accent); flex-shrink: 0; }
.vps2-plan__id-text { min-width: 0; }
.vps2-plan__name { font-size: 22px; font-weight: 600; color: var(--fg-0); letter-spacing: -0.01em; line-height: 1.1; }
.vps2-plan__role { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-3); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.vps2-plan__specs {
  display: grid;
  grid-template-columns: 70px 70px 100px minmax(0, 1.5fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
}
@media (max-width: 1100px) { .vps2-plan__specs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .vps2-plan__specs { grid-template-columns: 1fr; } }

.vps2-plan__spec { min-width: 0; }
.vps2-plan__spec.is-wide { padding-left: 14px; border-left: 1px solid var(--line); }
.vps2-plan__spec-head { display: flex; align-items: center; gap: 6px; color: var(--fg-3); margin-bottom: 4px; }
.vps2-plan__spec-l { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.vps2-plan__spec-v { font-size: 17px; font-weight: 600; color: var(--fg-0); white-space: nowrap; }
.vps2-plan__spec-u { font-size: 12px; color: var(--fg-2); font-weight: 400; }

.vps2-plan__bw-shared { font-size: 17px; font-weight: 600; color: var(--fg-0); }
.vps2-plan__bw-tag { font-size: 11px; display: block; margin-top: 2px; font-family: var(--font-mono); }

.vps2-plan__guarantee {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 6px;
  padding: 4px 8px;
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  color: var(--accent);
  border-radius: 4px;
  font-size: 11px; font-weight: 600;
  white-space: nowrap;
}

.vps2-plan__use { font-size: 12px; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.vps2-plan__locs { display: flex; gap: 4px; }

.vps2-plan__price { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; min-width: 140px; }
.vps2-plan__price-row { display: flex; align-items: baseline; gap: 2px; }
.vps2-plan__amount { font-size: 32px; font-weight: 600; color: var(--fg-0); }
.vps2-plan__per { font-size: 13px; color: var(--fg-2); }
.vps2-plan__cta { white-space: nowrap; }

/* ===== GUARANTEED ===== */
.vps2-guar { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vps2-guar__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
@media (max-width: 980px) { .vps2-guar__inner { grid-template-columns: 1fr; gap: 32px; } }
.vps2-guar__copy h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 8px 0 16px; letter-spacing: -0.01em; font-weight: 600; }
.vps2-guar__copy p { font-size: 15px; line-height: 1.6; max-width: 460px; margin: 0 0 14px; }

.vps2-guar__chart { display: flex; flex-direction: column; gap: 14px; }
.vps2-guar__row { display: grid; grid-template-columns: 60px minmax(0, 1fr) 100px; gap: 16px; align-items: center; }
.vps2-guar__plan { font-size: 14px; font-weight: 600; }
.vps2-guar__track { display: flex; height: 14px; background: var(--bg-3); border-radius: 4px; overflow: hidden; border: 1px solid var(--line); }
.vps2-guar__bar { height: 100%; }
.vps2-guar__shared { height: 100%; background: repeating-linear-gradient(45deg, var(--bg-3) 0 6px, color-mix(in oklab, var(--fg-3) 25%, var(--bg-3)) 6px 12px); }
.vps2-guar__num { font-size: 13px; color: var(--fg-1); text-align: right; white-space: nowrap; }

.vps2-guar__legend { display: flex; gap: 18px; margin-top: 6px; font-size: 12px; color: var(--fg-2); flex-wrap: wrap; }
.vps2-guar__legend > span { display: inline-flex; align-items: center; gap: 6px; }
.vps2-guar__leg-sw { width: 12px; height: 12px; border-radius: 2px; display: inline-block; }
.vps2-guar__leg-shared { background: repeating-linear-gradient(45deg, var(--bg-3) 0 4px, color-mix(in oklab, var(--fg-3) 25%, var(--bg-3)) 4px 8px); }

/* ===== COMPARE ===== */
.vps2-cmp { padding-top: 64px; padding-bottom: 64px; }

/* Reuse .hf-vps-table from previous version (already in vps.css? we replaced — keep) */
.hf-vps-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.hf-vps-table__row { display: grid; grid-template-columns: 1.4fr 1.6fr 1.2fr 1.2fr; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); align-items: center; font-size: 13px; }
.hf-vps-table__row:last-child { border-bottom: 0; }
.hf-vps-table__row--head { background: var(--bg-3); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-3); }
.hf-vps-table__label { font-weight: 500; color: var(--fg-1); }
.hf-vps-table__us { color: var(--fg-0); font-weight: 500; }
.hf-vps-table__row--head .hf-vps-table__us { color: var(--accent); }
@media (max-width: 880px) {
  .hf-vps-table__row { grid-template-columns: 1fr; gap: 4px; padding: 12px 16px; }
  .hf-vps-table__row--head { display: none; }
}

/* Section head shared */
.hf-section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.hf-section__head h2 { margin-top: 8px; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.01em; font-weight: 600; }
.hf-section__sub { max-width: 380px; font-size: 14px; }

/* ===== CTA ===== */
.hf-vps-cta { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%); border-top: 1px solid var(--line); }
.hf-vps-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}
.hf-vps-cta__inner > div:first-child { min-width: 0; }
.hf-vps-cta h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin: 8px 0 10px;
  letter-spacing: -0.01em;
  font-weight: 600;
  line-height: 1.1;
  text-wrap: balance;
  max-width: 18ch;
}
.hf-vps-cta__inner p { margin: 0; max-width: 48ch; }
.hf-vps-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }
@media (max-width: 1100px) {
  .hf-vps-cta__inner { grid-template-columns: 1fr; gap: 28px; }
  .hf-vps-cta h2 { max-width: 100%; }
}
