:root {
  --bg: #0a0a0a;
  --bg2: #0f0f10;
  --surface: #131314;
  --surface2: #1a1a1c;
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .14);
  --text: #fafafa;
  --muted: #a1a1a6;
  --soft: #6b6b70;
  --accent: #7c7ff7;
  --green: #4ade80;
  --red: #f87171;
  --amber: #fbbf24;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --r: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; }
.i {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }

/* Header */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.hdr .wrap {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo {
  width: 22px;
  height: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.logo span { background: var(--text); border-radius: 50%; }
.logo span:nth-child(4) { border-radius: 3px; background: var(--accent); }

.nav {
  display: flex;
  gap: 3px;
  margin: 0 auto;
  align-items: center;
  flex-shrink: 0;
}
.nav a {
  padding: 6px 9px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  transition: .15s;
}
.nav a:hover { color: var(--text); }
.nav a.on { color: var(--text); background: var(--surface2); }

.hdr-r {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Elegant Hover & Click Language Dropdown (Zero Native Markers) */
.lang {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  white-space: nowrap !important;
  transition: .15s;
  user-select: none;
}
.lang-btn:hover,
.lang.open .lang-btn {
  color: var(--text);
  background: var(--surface2);
}
.lang-btn .i {
  flex-shrink: 0;
}
.lang-btn span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
.lang-menu {
  position: absolute;
  right: 0;
  top: 42px;
  background: var(--surface);
  border: 1px solid var(--line2);
  border-radius: 10px;
  padding: 6px;
  min-width: 150px;
  box-shadow: 0 12px 32px rgba(0,0,0,.6);
  z-index: 100;
  display: none;
  flex-direction: column;
  gap: 2px;
}
.lang.open .lang-menu,
.lang:hover .lang-menu,
.lang:focus-within .lang-menu {
  display: flex;
}
.lang-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap !important;
  transition: .15s;
}
.lang-menu a:hover { background: var(--surface2); color: var(--text); }
.lang-menu a.on { color: var(--text); background: var(--surface2); font-weight: 600; }
.lang-menu small { font-family: var(--mono); font-size: 11px; color: var(--soft); }

/* Mobile Hamburger Navigation Button */
.burger-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--line2);
  background: var(--surface);
  color: var(--text);
  flex-shrink: 0;
  transition: .15s;
}
.burger-btn:hover { background: var(--surface2); }
.mnav {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--line);
  background: rgba(10,10,10,.98);
}
.mnav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 500;
}
.mnav a.on { color: var(--text); }
.hdr.open .mnav {
  display: flex;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 13.5px;
  transition: .15s;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
}
.btn-w { background: var(--text); color: #0a0a0a; }
.btn-w:hover { background: #e5e5e5; }
.btn-g { border: 1px solid var(--line2); background: var(--surface); color: var(--text); }
.btn-g:hover { background: var(--surface2); }
.btn-t { color: var(--text); }
.btn-t:hover .i { transform: translateX(3px); }
.btn-lg { height: 50px; padding: 0 22px; font-size: 15px; border-radius: 11px; }

/* Typography */
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.1; font-weight: 600; }
.h1 { font-size: clamp(38px, 6vw, 70px); }
.h2 { font-size: clamp(28px, 4vw, 48px); }
.h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.25; }
.lead { font-size: 16.5px; color: var(--muted); max-width: 660px; margin-top: 16px; }
.eyebrow { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; color: var(--soft); text-transform: uppercase; margin-bottom: 14px; display: block; }
.sec { padding: 90px 0; }
.sec-t { max-width: 720px; margin-bottom: 40px; }
.crumb { font-size: 13px; color: var(--soft); display: flex; gap: 8px; margin-bottom: 28px; }
.crumb a:hover { color: var(--text); }

/* Hero */
.hero { padding: 70px 0 0; position: relative; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--muted); font-size: 14.5px; }
.checks span { display: flex; align-items: center; gap: 8px; }
.checks .i { color: var(--green); }
.bbar {
  margin-top: 32px;
  max-width: 660px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line2);
  background: linear-gradient(var(--surface), var(--bg2));
  border-radius: 999px;
  padding: 8px 10px 8px 20px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .02);
}
.bbar .nb { display: flex; gap: 12px; color: var(--soft); }
.bbar .url { flex: 1; display: flex; align-items: center; gap: 12px; background: #0b0b0c; border-radius: 999px; padding: 6px 10px; min-width: 0; overflow: hidden; }
.pchip { display: flex; align-items: center; gap: 8px; background: var(--surface2); padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.fpv { font-family: var(--mono); font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.fpv b { color: var(--text); font-weight: 500; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 30px; }
.meta { margin-top: 16px; font-size: 12.5px; color: var(--soft); }
.stat { margin-top: 10px; font-size: 14px; color: var(--muted); }
.stat b { color: var(--text); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.badge { display: flex; align-items: center; gap: 7px; border: 1px solid var(--line2); border-radius: 8px; padding: 7px 11px; font-size: 12px; font-weight: 500; }

/* Ring visualization */
.ring { position: relative; height: 380px; margin-top: 40px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.ring::before { content: ""; position: absolute; left: 50%; top: 130px; width: 1300px; height: 650px; transform: translateX(-50%); border: 1px solid var(--line); border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 127, 247, .08), transparent); }
.ring-c { position: absolute; left: 50%; top: 30px; transform: translateX(-50%); text-align: center; z-index: 2; }
.ring-c b { font-size: 16px; font-weight: 600; }
.ring-c p { color: var(--muted); font-size: 13px; margin: 4px 0 10px; }
.ring-c span { border: 1px solid var(--line2); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-family: var(--mono); color: var(--muted); }
.ring-track { position: absolute; left: 50%; top: 150px; }
.pcard { position: absolute; width: 230px; background: linear-gradient(#1b1b1d, #111112); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px 14px; font-family: var(--mono); }
.pcard .tb { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.pcard .tb i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.pcard .tb em { font-style: normal; margin-left: 8px; flex: 1; }
.pcard .os { display: flex; justify-content: space-between; align-items: center; font-family: Inter; font-weight: 600; font-size: 18px; margin-bottom: 8px; }
.pcard .os small { font-family: var(--mono); font-size: 11px; font-weight: 500; border: 1px solid var(--line2); border-radius: 6px; padding: 2px 6px; }
.pcard dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: 11.5px; }
.pcard dt { color: var(--soft); } .pcard dd { text-align: right; color: var(--text); }

/* Marquee */
.marq { border-block: 1px solid var(--line); overflow: hidden; padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marq-t { display: flex; gap: 44px; width: max-content; animation: mq 45s linear infinite; }
.marq-t span { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.marq-t span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
@keyframes mq { to { transform: translateX(-50%); } }

/* Cards & Grid */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat { padding: 26px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.feat .ic { width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line2); display: grid; place-items: center; margin-bottom: 8px; color: var(--accent); }
.feat p { color: var(--muted); font-size: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* Comparison Acc */
.acc { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; font-size: 12.5px; margin-bottom: 8px; }
.acc span { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: var(--bg2); }
.acc .mono { color: var(--muted); font-size: 11.5px; }
.verdict { margin-top: 16px; padding: 14px; border-radius: 10px; font-size: 13.5px; }
.v-ok { background: rgba(74, 222, 128, .07); color: var(--green); border: 1px solid rgba(74, 222, 128, .2); }

/* Plans & Segment */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { padding: 24px; display: flex; flex-direction: column; }
.plan.hl { border-color: var(--line2); background: linear-gradient(180deg, #1c1c22, var(--surface)); }
.plan h3 { font-size: 16px; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.plan .pr { font-size: 38px; font-weight: 600; letter-spacing: -.04em; margin: 16px 0 2px; }
.plan .pr small { font-size: 13.5px; color: var(--soft); font-weight: 500; }
.plan .bill { font-size: 12px; color: var(--soft); margin-bottom: 18px; }
.plan p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 16px 0 24px; font-size: 13px; color: var(--muted); }
.plan li { display: flex; gap: 8px; align-items: center; }
.plan li .i { color: var(--green); width: 14px; height: 14px; }
.plan .btn { margin-top: auto; }
.tagx { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; border: 1px solid var(--line2); border-radius: 5px; padding: 2px 6px; color: var(--muted); }
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 10px; padding: 3px; gap: 2px; background: var(--surface); }
.seg a, .seg button { padding: 7px 13px; border-radius: 7px; font-size: 13px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; transition: .15s; }
.seg a:hover, .seg button:hover { color: var(--text); }
.seg a.on, .seg button.on { background: var(--text); color: #0a0a0a; font-weight: 600; }
.seg a em, .seg button em { font-style: normal; font-size: 10.5px; color: var(--green); }
.free { padding: 22px 26px; display: flex; gap: 24px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.free ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; color: var(--muted); font-size: 13.5px; flex: 1; }
.free li { display: flex; gap: 7px; align-items: center; }
.free li .i { color: var(--green); }

/* Tables */
.tw { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 760px; }
th { color: var(--soft); font-weight: 500; text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 12px; }
td { padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(255, 255, 255, .02); }
.ctable td, .ctable th { text-align: center; }
.ctable td:first-child, .ctable th:first-child { text-align: left; color: var(--muted); font-weight: 500; }
.ctable .grp td { color: var(--text); font-weight: 600; background: var(--bg2); text-align: left; padding: 9px 14px; }

/* Pure CSS Accordion FAQ using <details><summary> */
.faq { border-top: 1px solid var(--line); }
details.qa { border-bottom: 1px solid var(--line); }
details.qa summary {
  list-style: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  text-align: left;
  font-size: 16.5px;
  font-weight: 500;
  cursor: pointer;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--soft); width: 22px; }
details.qa summary .arrow-ic { margin-left: auto; transition: transform .25s ease; color: var(--muted); }
details.qa[open] summary .arrow-ic { transform: rotate(90deg); color: var(--text); }
details.qa .qa-content { padding: 0 0 20px 40px; color: var(--muted); max-width: 760px; font-size: 14.5px; line-height: 1.6; }

/* Alerts / Flash Messages */
.alert { padding: 12px 16px; border-radius: 9px; margin-bottom: 18px; font-size: 13.5px; display: flex; align-items: center; gap: 10px; }
.alert-success { background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .25); color: var(--green); }
.alert-error { background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .25); color: var(--red); }
.alert-info { background: rgba(124, 127, 247, .1); border: 1px solid rgba(124, 127, 247, .25); color: var(--accent); }

/* Auth & Forms */
.auth { min-height: calc(100vh - 64px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-l { padding: 64px 32px; display: flex; align-items: center; justify-content: center; }
.auth-f { width: 100%; max-width: 380px; }
.auth-f h1 { font-size: 30px; margin-bottom: 8px; }
.auth-f > p { color: var(--muted); margin-bottom: 24px; font-size: 14px; }
.fld { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.fld label { font-size: 13px; font-weight: 500; }
.fld input, .fld select {
  height: 44px;
  border-radius: 9px;
  border: 1px solid var(--line2);
  background: var(--surface);
  color: var(--text);
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  outline: 0;
}
.fld input:focus, .fld select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 127, 247, .15);
}
.fld small { color: var(--soft); font-size: 12px; }
.auth-f .btn { width: 100%; height: 46px; margin-top: 6px; }
.auth-f .alt { text-align: center; margin-top: 20px; font-size: 13px; color: var(--muted); }
.auth-f .alt a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.auth-r { border-left: 1px solid var(--line); background: radial-gradient(500px 400px at 70% 30%, rgba(124, 127, 247, .12), transparent), var(--bg2); padding: 64px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.auth-r .pcard { position: relative; width: 290px; }
.hwid { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); border: 1px dashed var(--line2); border-radius: 10px; padding: 12px 14px; max-width: 370px; }

/* Dashboard */
.dboard-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.badge-status { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 5px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.badge-active { background: rgba(74, 222, 128, .15); color: var(--green); border: 1px solid rgba(74, 222, 128, .3); }
.badge-pending { background: rgba(251, 191, 36, .15); color: var(--amber); border: 1px solid rgba(251, 191, 36, .3); }
.badge-stopped { background: rgba(248, 113, 113, .15); color: var(--red); border: 1px solid rgba(248, 113, 113, .3); }

/* Dashboard Navigation Tabs */
.d-nav { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; padding-bottom: 2px; }
.d-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 8px 8px 0 0; font-size: 13.5px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; transition: .15s; white-space: nowrap; }
.d-tab:hover { color: var(--text); background: rgba(255, 255, 255, .03); }
.d-tab.active { color: var(--text); border-bottom-color: var(--accent); background: rgba(124, 127, 247, .06); }

/* Metrics Grid */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.stat-card .lbl { font-size: 12px; color: var(--soft); text-transform: uppercase; letter-spacing: .06em; font-family: var(--mono); margin-bottom: 6px; display: flex; align-items: center; justify-content: space-between; }
.stat-card .val { font-size: 24px; font-weight: 700; color: var(--text); font-family: var(--mono); }
.stat-card .sub { font-size: 12px; color: var(--muted); margin-top: 4px; display: flex; align-items: center; gap: 6px; }

/* Server Control Card */
.srv-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin-bottom: 18px; transition: border-color .15s; }
.srv-card:hover { border-color: var(--line2); }
.srv-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.srv-info h3 { font-size: 17px; font-weight: 600; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.srv-meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.srv-meta span { display: inline-flex; align-items: center; gap: 6px; }

.srv-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.bar-wrap .b-head { display: flex; justify-content: space-between; font-size: 12px; font-family: var(--mono); color: var(--muted); margin-bottom: 6px; }
.progress { height: 6px; background: var(--surface2); border-radius: 3px; overflow: hidden; position: relative; }
.progress-fill { height: 100%; background: var(--accent); border-radius: 3px; }
.progress-fill.green { background: var(--green); }
.progress-fill.amber { background: var(--amber); }

.srv-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 7px; display: inline-flex; align-items: center; gap: 6px; }

/* Datafex-Style Configurator */
.config-wrap { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }
.cfg-sec { margin-bottom: 24px; }
.cfg-sec h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.cfg-sec h4 small { color: var(--muted); font-weight: 400; font-size: 12px; }

/* Radio Spec Pickers */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.spec-box { position: relative; display: block; cursor: pointer; }
.spec-box input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.spec-box .box-body {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 12px 14px;
  text-align: center;
  transition: all .15s;
}
.spec-box .box-body b { display: block; font-size: 15px; color: var(--text); margin-bottom: 2px; }
.spec-box .box-body span { font-size: 12px; color: var(--muted); }
.spec-box .box-body .price-tag { font-family: var(--mono); font-size: 11px; color: var(--accent); margin-top: 4px; display: block; }
.spec-box:hover .box-body { border-color: var(--line2); background: var(--surface2); }
.spec-box input[type="radio"]:checked + .box-body {
  border-color: var(--accent);
  background: rgba(124, 127, 247, .09);
  box-shadow: 0 0 0 2px rgba(124, 127, 247, .25);
}

/* Exact Datafex-Style CPU Selector Grid */
.cpu-box-sec {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}
.cpu-sec-head { margin-bottom: 18px; }
.cpu-sec-head h3 { font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.cpu-sec-head p { font-size: 13px; color: var(--muted); }

.cpu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cpu-card {
  position: relative;
  display: block;
  cursor: pointer;
}
.cpu-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cpu-card-inner {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b0b0d;
  border-radius: 14px;
  padding: 24px 18px 20px;
  text-align: center;
  position: relative;
  transition: all .15s ease-in-out;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.cpu-card:hover .cpu-card-inner {
  border-color: rgba(255, 255, 255, 0.18);
  background: #111114;
}
.cpu-card input[type="radio"]:checked + .cpu-card-inner {
  border: 1.5px solid #a855f7;
  background: rgba(168, 85, 247, 0.06);
  box-shadow: 0 0 0 1px #a855f7, 0 0 24px rgba(168, 85, 247, 0.15);
}

/* Badges top right */
.cpu-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: .02em;
}
.cpu-badge.perf {
  background: #a855f7;
  color: #ffffff;
}
.cpu-badge.dc {
  background: rgba(255, 255, 255, 0.1);
  color: #d4d4d8;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cpu-brand-logo {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #fff;
}
.cpu-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}
.cpu-clock {
  font-size: 12px;
  color: #a1a1aa;
  font-family: var(--mono);
  margin-bottom: 8px;
}
.cpu-ram-tag {
  font-size: 11px;
  font-weight: 600;
  color: #c084fc;
  margin-bottom: 12px;
  letter-spacing: .03em;
}
.cpu-status {
  font-size: 12px;
  font-weight: 500;
  color: #22c55e;
}

@media (max-width: 900px) {
  .cpu-grid { grid-template-columns: 1fr; }
}

/* Sticky Order Summary */
.cfg-summary { position: sticky; top: 84px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.cfg-summary h3 { font-size: 16px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.cfg-item { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 10px; color: var(--muted); }
.cfg-item b { color: var(--text); }
.cfg-total { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; display: flex; justify-content: space-between; align-items: baseline; }
.cfg-total .price { font-size: 28px; font-weight: 700; color: var(--text); font-family: var(--mono); }
.cfg-total .term { font-size: 12px; color: var(--muted); }

@media (max-width: 900px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .config-wrap { grid-template-columns: 1fr; }
  .arch-grid { grid-template-columns: 1fr; }
  .srv-bars { grid-template-columns: 1fr; }
}

/* Footer */
.ftr { border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 13.5px; }
.ftr-g { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.ftr-g p { color: var(--muted); margin: 14px 0 18px; max-width: 280px; }
.ftr-g h5 { font-size: 12px; font-family: var(--mono); letter-spacing: .1em; color: var(--soft); font-weight: 500; margin-bottom: 14px; }
.ftr-g ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.ftr-g li a { color: var(--muted); } .ftr-g li a:hover { color: var(--text); }
.ftr-b { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--soft); font-size: 12px; gap: 16px; flex-wrap: wrap; }
.status { display: flex; align-items: center; gap: 8px; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(74, 222, 128, .15); }

/* CTA */
.cta { text-align: center; padding: 100px 0; border-top: 1px solid var(--line); background: radial-gradient(600px 300px at 50% 100%, rgba(124, 127, 247, .12), transparent); }
.cta .lead { margin: 14px auto 30px; }

/* Scroll Reveal Animations */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s cubic-bezier(.16, 1, .3, 1), transform .65s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}
.rv.in {
  opacity: 1;
  transform: translateY(0);
}

/* Mouse Card Spotlight Effect */
.pcard, .card, .cpu-card-inner, .stat-card, .srv-card {
  position: relative;
  overflow: hidden;
}
.pcard::before, .card::before, .cpu-card-inner::before, .stat-card::before, .srv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(450px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(124, 127, 247, .08), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 1;
}
.pcard:hover::before, .card:hover::before, .cpu-card-inner:hover::before, .stat-card:hover::before, .srv-card:hover::before {
  opacity: 1;
}

/* Card Hover Elevation */
.pcard, .srv-card, .cpu-card-inner {
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, .5), 0 0 20px -5px rgba(124, 127, 247, .15);
}

/* Responsive */
@media (max-width: 980px) {
  .nav, .hdr-r .btn-g { display: none !important; }
  .burger-btn { display: inline-flex !important; }
}
@media (max-width: 1000px) {
  .grid3, .grid4, .plans { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .ftr-g { grid-template-columns: 1fr 1fr 1fr; }
  .ftr-g > div:first-child { grid-column: 1 / -1; }
  .auth { grid-template-columns: 1fr; }
  .auth-r { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .grid2, .grid3, .grid4, .plans { grid-template-columns: 1fr; }
  .sec { padding: 64px 0; }
  .ftr-g { grid-template-columns: 1fr 1fr; }
  .ring { height: 320px; }
  .auth-l { padding: 40px 16px; }
  .hdr-r .btn-w { display: none; }
}

