* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  background: var(--page-bg-vps);
}
a { color: var(--silver); text-decoration: none; }
a:hover { color: var(--text-strong); }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(8, 12, 18, 0.88);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; gap: 18px; min-height: 68px;
}
.brand img { height: 42px; width: auto; display: block; }
.nav { display: flex; gap: 16px; color: var(--silver); font-size: 0.95rem; }
.nav a:hover { color: var(--text-strong); }
.actions { margin-left: auto; display: flex; gap: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 16px; border-radius: 14px; font-weight: 750;
  border: 1px solid transparent; cursor: pointer;
}
.btn-orange { background: var(--orange); color: #1a1200; }
.btn-orange:hover { background: var(--orange-2); color: #1a1200; }
.btn-line { border-color: var(--line); color: var(--btn-line-fg); }
.btn-line:hover { border-color: var(--silver); color: var(--text-strong); }
.btn-block { width: 100%; }

.hero {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px;
  align-items: end; padding: 52px 0 28px;
}
.bar { width: 80px; height: 4px; border-radius: 2px; background: var(--orange); margin-bottom: 16px; }
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.08;
}
.hero .lead {
  margin: 0 0 18px; color: var(--silver); line-height: 1.55; max-width: 48ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.trust {
  display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--chip-bg); color: var(--silver); font-size: 0.9rem;
}
.trust strong { color: var(--text-strong); }
.hero-panel {
  border: 1px solid var(--line); border-radius: 24px; padding: 22px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 140, 0, 0.22), transparent 40%),
    linear-gradient(160deg, #152433, #0c141e);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}
.hero-panel h2 { margin: 0 0 8px; font-size: 1.2rem; }
.hero-panel p { margin: 0 0 14px; color: var(--silver); line-height: 1.45; font-size: 0.95rem; }
.apps {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.app-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--chip-bg); font-size: 0.88rem; font-weight: 650;
}
.app-chip img {
  width: 28px; height: 28px; flex-shrink: 0; object-fit: contain;
  padding: 5px; border-radius: 8px;
  background: #eef2f6; border: 1px solid rgba(255,255,255,.35);
}
.app-chip .txt { min-width: 0; }
.app-chip span { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 500; margin-top: 2px; }
.pay-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 14px; color: var(--silver); font-size: 0.88rem;
}
.pay-strip img {
  width: 26px; height: 26px; object-fit: contain;
  padding: 5px; border-radius: 8px;
  background: #eef2f6; border: 1px solid rgba(255,255,255,.35);
}

.crumb {
  margin: 18px 0 0; color: var(--muted); font-size: 0.88rem;
}
.crumb strong { color: var(--silver); font-weight: 650; }
.byol {
  margin: 14px 0 0; color: var(--accent-text, var(--orange-2)); font-size: 0.9rem; line-height: 1.45;
}
.desk-panel .desk-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.desk-panel .desk-head img {
  width: 36px; height: 36px; padding: 6px; border-radius: 10px;
  background: #eef2f6; border: 1px solid rgba(255,255,255,.35);
}
.desk-panel .desk-head strong { display: block; font-size: 1.05rem; }
.desk-panel .desk-head span { color: var(--muted); font-size: 0.85rem; }
.desk-specs {
  list-style: none; margin: 0 0 16px; padding: 0;
  border-top: 1px solid var(--line);
}
.desk-specs li {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  color: var(--silver); font-size: 0.9rem;
}
.desk-specs strong { color: var(--text-strong, #fff); font-weight: 650; text-align: right; }

.cross-linux {
  margin: 8px 0 10px; padding: 18px 20px; border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--chip-bg);
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  flex-wrap: wrap;
}
.cross-linux h2 { margin: 0 0 6px; font-size: 1.15rem; }
.cross-linux p { margin: 0; color: var(--silver); }
.cross-linux-cta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.cross-linux-cta strong { color: var(--accent-text, var(--orange-2)); font-size: 1.1rem; }

.feature-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.feature {
  border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  background: var(--panel);
}
.feature img {
  width: 32px; height: 32px; margin-bottom: 10px;
  padding: 5px; border-radius: 8px;
  background: #eef2f6; border: 1px solid rgba(255,255,255,.35);
}
.feature h3 { margin: 0 0 8px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--silver); line-height: 1.45; font-size: 0.92rem; }

.plans-rdp .plan .price span { white-space: nowrap; }

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.section { padding: 28px 0 8px; }
.section h2 {
  margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 680; letter-spacing: -0.02em;
}
.section .sub { margin: 0 0 22px; color: var(--muted); }

.loc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.loc-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .15s;
}
.loc-card:hover {
  border-color: rgba(255, 140, 0, 0.45);
  transform: translateY(-2px);
  color: inherit;
}
.loc-card.is-local {
  border-color: rgba(255, 140, 0, 0.35);
}
.loc-flag {
  flex: 0 0 28px;
  width: 28px;
  height: 20px;
  margin-top: 3px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
}
.loc-card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.loc-card strong {
  color: var(--text-strong);
  font-size: 0.95rem;
  font-weight: 650;
}
.loc-card span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}
@media (max-width: 720px) {
  .loc-grid { grid-template-columns: 1fr; }
}

.os-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.os-grid.os-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.os-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .15s;
}
.os-card:hover {
  border-color: rgba(255, 140, 0, 0.45);
  transform: translateY(-2px);
  color: inherit;
}
.os-card .os-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2f6;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.os-card .os-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}
.os-card strong {
  display: block;
  color: var(--text-strong);
  font-size: 0.98rem;
}
.os-card span {
  display: block;
  margin-top: 2px;
  color: var(--silver);
  font-size: 0.82rem;
  line-height: 1.35;
}
@media (max-width: 980px) {
  .os-grid { grid-template-columns: 1fr 1fr; }
  .os-grid.os-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .os-grid { grid-template-columns: 1fr; }
}

.plans {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.plan {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 20px; padding: 18px 16px 16px;
  background: var(--panel);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.plan.is-hot {
  border-color: rgba(255, 140, 0, 0.55);
  background: linear-gradient(180deg, rgba(255, 140, 0, 0.12), transparent 42%), var(--panel);
}
.plan .tag {
  display: inline-block; align-self: flex-start; margin-bottom: 10px;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(255, 140, 0, 0.16); color: var(--orange-2);
  font-size: 0.72rem; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase;
}
.plan .badge-off {
  display: inline-block; align-self: flex-start; margin-bottom: 10px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(61, 207, 142, 0.16); color: var(--ok);
  font-size: 0.75rem; font-weight: 750;
}
.plan h3 { margin: 0 0 6px; font-size: 1.15rem; }
.plan .blurb { margin: 0 0 14px; color: var(--silver); font-size: 0.9rem; min-height: 2.6em; }
.plan .price { margin: 0; font-size: 1.8rem; font-weight: 780; letter-spacing: -0.02em; }
.plan .price .was {
  display: inline-block; margin-right: 8px; font-size: 1.05rem; font-weight: 600;
  color: var(--muted); text-decoration: line-through;
}
.plan .price span { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.plan .commit { margin: 4px 0 0; color: var(--silver); font-size: 0.86rem; font-weight: 650; }
.plan .deal {
  margin: 10px 0 14px; color: var(--silver); font-size: 0.82rem; line-height: 1.45; min-height: 3.2em;
}
.plan .deal strong { color: var(--text-strong); font-weight: 700; }
.plan .annual {
  margin: 6px 0 14px; color: var(--ok); font-size: 0.84rem; font-weight: 650; min-height: 2.4em;
}
.plan ul {
  list-style: none; margin: 0 0 16px; padding: 0;
  border-top: 1px solid var(--line);
}
.plan li {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  color: var(--silver); font-size: 0.9rem;
}
.plan li strong { color: var(--text-strong); font-weight: 650; }
.plan .btn { margin-top: auto; }

.compare {
  overflow-x: auto; border: 1px solid var(--line); border-radius: 18px;
  background: rgba(18, 28, 40, 0.7);
}
.compare table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare th, .compare td {
  padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.compare th { color: var(--text-strong); font-weight: 700; background: rgba(0, 0, 0, 0.2); }
.compare td { color: var(--silver); }
.compare td strong { color: var(--text-strong); }

.cross {
  margin: 36px 0 10px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px;
}
.cross-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 22px;
  background: linear-gradient(120deg, #121c28, #182636);
}
.cross-card h3 { margin: 0 0 8px; font-size: 1.25rem; }
.cross-card p { margin: 0 0 14px; color: var(--silver); line-height: 1.5; }

.foot {
  margin-top: 40px; border-top: 1px solid var(--line);
  padding: 24px 0 40px; color: var(--muted); font-size: 0.88rem;
}
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 10px; }

@media (max-width: 980px) {
  .hero, .plans, .cross { grid-template-columns: 1fr; }
  .nav { display: none; }
  .plans { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .plans, .apps { grid-template-columns: 1fr; }
}
