@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

[hidden]{display:none!important}
*{box-sizing:border-box;margin:0;padding:0}

:root {
  /* Cloodix Dark & Electric Lime Palette */
  --bg: #060709;
  --surface: #0f1117;
  --surface-hover: #151821;
  --tonal: #181c26;
  --tonal-light: #202634;
  
  --primary: #d2e82d;
  --primary-d: #b8cc1f;
  --pc: rgba(210, 232, 45, 0.15);
  --pc-strong: rgba(210, 232, 45, 0.28);
  
  --ink: #f5f6fa;
  --muted: #8b93a4;
  --dim: #555e70;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(210, 232, 45, 0.35);
  
  --ok: #d2e82d;
  --err: #ff4d5e;

  --r-xl: 30px;
  --r-l: 22px;
  --r-m: 14px;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background-color: var(--bg);
}

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .disp {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 12px; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.sec {
  padding: 88px 0;
}

.sec-head {
  margin-bottom: 36px;
  max-width: 680px;
}

.sec-head h2 {
  font-size: clamp(28px, 4.2vw, 42px);
  margin-bottom: 12px;
}

.sec-head p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

/* ------------------------------------------------------------
   Buttons (with Magnetic & Ripple FX)
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border: 0;
  cursor: pointer;
  font: 700 15px 'Manrope', sans-serif;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.97);
}

.btn-p {
  background: var(--primary);
  color: #070900;
}

.btn-p:hover {
  background: #e2f73b;
  box-shadow: 0 10px 28px -8px rgba(210, 232, 45, 0.6);
}

.btn-p:disabled {
  background: #464d18;
  color: #8c9454;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-t {
  background: var(--pc);
  color: var(--primary);
}

.btn-t:hover {
  background: var(--pc-strong);
}

.btn-g {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-g:hover {
  background: var(--tonal);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 14px;
}

/* ------------------------------------------------------------
   Card & 3D Tilt System (ref signature)
   ------------------------------------------------------------ */
.card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.4s;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--cx, 50%) var(--cy, 50%), rgba(210, 232, 45, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
}

.card:hover {
  border-color: rgba(210, 232, 45, 0.35);
  box-shadow: 0 18px 42px -20px rgba(0, 0, 0, 0.7);
}

.card:hover::before {
  opacity: 1;
}

.card > * {
  position: relative;
}

.note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

/* ------------------------------------------------------------
   Background Glowing Orbs
   ------------------------------------------------------------ */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg i {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  background: radial-gradient(circle, var(--c) 0%, transparent 68%);
  opacity: 0.5;
}

.bg i:nth-child(1) {
  --c: rgba(210, 232, 45, 0.09);
  width: 75vmax;
  height: 75vmax;
  top: -25vmax;
  left: -20vmax;
  animation: d1 26s ease-in-out infinite alternate;
}

.bg i:nth-child(2) {
  --c: rgba(210, 232, 45, 0.06);
  width: 60vmax;
  height: 60vmax;
  top: 35vh;
  right: -25vmax;
  animation: d2 32s ease-in-out infinite alternate;
}

.bg i:nth-child(3) {
  --c: rgba(255, 255, 255, 0.03);
  width: 50vmax;
  height: 50vmax;
  bottom: -20vmax;
  left: 20vw;
  animation: d3 38s ease-in-out infinite alternate;
}

@keyframes d1 { to { transform: translate(14vw, 10vh); } }
@keyframes d2 { to { transform: translate(-14vw, 12vh); } }
@keyframes d3 { to { transform: translate(10vw, -12vh); } }

/* ------------------------------------------------------------
   Header / Navigation
   ------------------------------------------------------------ */
.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 7, 9, 0.85);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}

.hdr-in {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 800 18px 'Unbounded', sans-serif;
  letter-spacing: -0.02em;
  margin-right: auto;
}

.brand-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--primary);
  background: var(--pc);
  border: 1px solid rgba(210, 232, 45, 0.3);
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 2px;
}

.nav {
  display: flex;
  gap: 6px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}

.nav a:hover {
  background: var(--tonal);
  color: var(--ink);
}

/* User-requested Header Button: "Хранилище подписок" */
.btn-storage {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  transition: all 0.2s;
}

.btn-storage:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--pc);
  box-shadow: 0 0 16px rgba(210, 232, 45, 0.25);
}

.storage-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  background: rgba(210, 232, 45, 0.15);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--tonal);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
  flex-shrink: 0;
}

.beta-strip {
  background: var(--tonal);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 8px 20px;
  border-bottom: 1px solid var(--line);
}

/* ------------------------------------------------------------
   HERO SECTION (Screen 1 Focus)
   ------------------------------------------------------------ */
.hero-sec {
  padding: 60px 0 30px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pc);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(34px, 4.8vw, 54px);
  margin-bottom: 20px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.lead strong {
  color: var(--ink);
}

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

.facts {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-top: 36px;
  font-weight: 600;
  font-size: 14px;
}

.facts li::before {
  content: "✓ ";
  color: var(--primary);
  font-weight: 800;
}

/* Interactive Demo Card in Hero */
.card.demo {
  background: rgba(15, 17, 23, 0.7);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(210, 232, 45, 0.2);
}

.demo-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.demo-head b {
  font-size: 15px;
  color: var(--ink);
}

.st {
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  background: var(--tonal);
  padding: 5px 12px;
  border-radius: 999px;
}

.st.ok {
  color: #070900;
  background: var(--primary);
}

.bar {
  height: 8px;
  border-radius: 999px;
  background: var(--tonal);
  overflow: hidden;
  margin: 16px 0 18px;
}

.bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #b8cc1f, var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.steps {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--muted);
  font-size: 14px;
}

.steps li.on, .steps li.done {
  color: var(--ink);
}

.steps li.done::before {
  content: "✓ ";
  color: var(--primary);
  font-weight: 800;
}

.steps li.on::before {
  content: "… ";
  color: var(--primary);
  font-weight: 800;
}

.sum {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 20px;
}

.sum div {
  background: var(--surface);
  padding: 10px 14px;
}

.sum dt {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}

.sum dd {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
}

/* ------------------------------------------------------------
   Running Marquee Ticker
   ------------------------------------------------------------ */
.marq {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(15, 17, 23, 0.4);
  padding: 16px 0;
  margin: 40px 0;
}

.marq-in {
  display: flex;
  width: max-content;
  animation: marq 36s linear infinite;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

.marq-in span {
  padding: 0 24px;
}

.marq-in strong {
  color: var(--primary);
}

@keyframes marq {
  to { transform: translateX(-50%); }
}

/* ------------------------------------------------------------
   Features Grid (Screen 2 Focus)
   ------------------------------------------------------------ */
.feat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feat h3 {
  font-size: 18px;
  margin: 16px 0 8px;
}

.feat p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.ico {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--tonal);
  display: grid;
  place-items: center;
}

.ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.uses {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
  align-items: center;
}

.uses span {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

/* ------------------------------------------------------------
   Locations / 32 Nodes Grid (Screen 3 Focus)
   ------------------------------------------------------------ */
.loc-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.loc-btn {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.loc-btn.on, .loc-btn:hover {
  background: var(--pc);
  border-color: var(--primary);
  color: var(--primary);
}

.locs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}

.loc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 14px 18px;
  cursor: pointer;
  font: 600 14px 'Manrope', sans-serif;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.loc:hover {
  transform: translateY(-2px);
  border-color: rgba(210, 232, 45, 0.4);
}

.loc[aria-pressed=true] {
  border-color: var(--primary);
  background: var(--tonal);
  box-shadow: 0 0 16px rgba(210, 232, 45, 0.15);
}

.loc-name {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.loc em {
  font-size: 18px;
  font-style: normal;
}

.loc-ping {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
}

/* ------------------------------------------------------------
   Tariff Configurator & Calculator (Screen 4 Focus)
   ------------------------------------------------------------ */
.conf {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.srow {
  margin-bottom: 24px;
}

.slabel {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 15px;
}

.slabel b {
  font-family: 'Unbounded', sans-serif;
  font-size: 16px;
  color: var(--primary);
}

input[type=range] {
  width: 100%;
  accent-color: var(--primary);
  height: 28px;
  cursor: pointer;
}

.plan-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.plan-pick-btn {
  padding: 12px 14px;
  background: var(--tonal);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.plan-pick-btn:hover {
  border-color: rgba(210, 232, 45, 0.4);
}

.plan-pick-btn.on {
  border-color: var(--primary);
  background: var(--pc);
}

.plan-pick-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.plan-pick-sub {
  font-size: 11px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
}

.tier {
  font-weight: 800;
  color: var(--primary);
  font-size: 14px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 6px 0 18px;
}

.price strong {
  font: 800 clamp(38px, 5.2vw, 52px) 'Unbounded', sans-serif;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-weight: 600;
  font-size: 16px;
}

.specs {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.spec {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
}

.spec .track {
  height: 8px;
  background: var(--tonal);
  border-radius: 999px;
  overflow: hidden;
}

.spec .track i {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: 999px;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: left;
}

.toggle {
  background: var(--tonal);
  color: var(--primary);
  border: 0;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 16px;
  min-height: 44px;
}

.tbl-wrap {
  overflow-x: auto;
  margin-top: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 480px;
}

th, td {
  padding: 12px 16px;
  text-align: right;
  border-bottom: 1px solid var(--line);
}

th:first-child, td:first-child { text-align: left; }
th { color: var(--muted); font-size: 12px; font-family: 'JetBrains Mono', monospace; }
tbody tr { cursor: pointer; transition: background 0.15s; }
tbody tr:hover, tbody tr.sel { background: var(--tonal); }

/* ------------------------------------------------------------
   Payment Cards (Screen 5 Focus)
   ------------------------------------------------------------ */
.pay {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pay h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.pay p {
  color: var(--muted);
  font-size: 15px;
}

/* ------------------------------------------------------------
   FAQ & 3D Interactive Server Stage (Screen 6 Focus)
   ------------------------------------------------------------ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}

.faq {
  display: grid;
  gap: 12px;
}

.q {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  transition: border-color 0.3s, box-shadow 0.4s, background 0.3s;
}

.q::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 3px;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.q.open {
  border-color: rgba(210, 232, 45, 0.45);
  box-shadow: 0 14px 36px -22px rgba(210, 232, 45, 0.2);
}

.q.open::before {
  transform: scaleY(1);
}

.q-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  background: none;
  border: 0;
  padding: 18px 24px;
  font: 700 16px 'Manrope', sans-serif;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.q-ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tonal);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s, color 0.3s;
}

.q.open .q-ico {
  transform: rotate(135deg);
  background: var(--primary);
  color: #070900;
}

.q-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.q.open .q-a {
  grid-template-rows: 1fr;
}

.q-a > div {
  overflow: hidden;
  min-height: 0;
}

.q-a p {
  padding: 0 24px 22px;
  color: var(--muted);
  opacity: 0;
  translate: 0 -8px;
  transition: opacity 0.35s ease, translate 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  line-height: 1.6;
}

.q.open .q-a p {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.12s;
}

/* 3D Server Stage (Pure CSS 3D from ref) */
.stage {
  --s: clamp(160px, 26vw, 270px);
  --w: var(--s);
  --h: calc(var(--s) * 0.2);
  --d: calc(var(--s) * 0.72);
  position: relative;
  height: calc(var(--s) * 1.9);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.stage.grab { cursor: grabbing; }

.stage::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(210, 232, 45, 0.18), transparent);
  pointer-events: none;
}

.scene {
  position: absolute;
  inset: 0;
  perspective: calc(var(--s) * 5);
  transform-style: preserve-3d;
}

.float {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: bob 5s ease-in-out infinite alternate;
}

@keyframes bob {
  from { transform: translateY(calc(var(--s) * -0.035)); }
  to { transform: translateY(calc(var(--s) * 0.035)); }
}

.rig {
  --k: 1.3;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transform: rotateX(-16deg) rotateY(-28deg);
}

.rig.explode { --k: 1.95; }

.slab {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--w);
  height: var(--h);
  margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2);
  transform-style: preserve-3d;
  transform: translateY(calc((var(--i) - 1.5) * var(--h) * var(--k)));
  transition: transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.f {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  border-radius: 3px;
}

.front, .back {
  width: var(--w);
  height: var(--h);
  margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2);
}

.front {
  transform: translateZ(calc(var(--d) / 2));
  background: linear-gradient(180deg, #1c202a, #13161e);
  display: flex;
  align-items: center;
  gap: calc(var(--h) * 0.2);
  padding: 0 calc(var(--h) * 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: background 0.4s, box-shadow 0.4s;
}

.back {
  transform: rotateY(180deg) translateZ(calc(var(--d) / 2));
  background: #11141b;
}

.left, .right {
  width: var(--d);
  height: var(--h);
  margin: calc(var(--h) / -2) 0 0 calc(var(--d) / -2);
  background: linear-gradient(90deg, #161922, #0d0f14);
}

.right { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); }
.left { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); }

.top, .bottom {
  width: var(--w);
  height: var(--d);
  margin: calc(var(--d) / -2) 0 0 calc(var(--w) / -2);
}

.top {
  transform: rotateX(90deg) translateZ(calc(var(--h) / 2));
  background: linear-gradient(180deg, #242936, #161922);
}

.bottom {
  transform: rotateX(-90deg) translateZ(calc(var(--h) / 2));
  background: #090b0e;
}

.led {
  width: calc(var(--h) * 0.2);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #555e70;
  animation: blink 2.4s ease-in-out infinite;
}

.led:nth-child(2) { animation-delay: 0.5s; }
.led:nth-child(3) { animation-delay: 1.1s; }

@keyframes blink {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; background: var(--primary); }
}

.vent {
  margin-left: auto;
  width: 42%;
  height: 48%;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, #293040 0 2px, transparent 2px 7px);
  opacity: 0.8;
}

.slab.lit .front {
  background: linear-gradient(180deg, #262c14, #1b1e0f);
  box-shadow: inset 0 0 0 2px var(--primary);
}

.slab.lit .led {
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: none;
  opacity: 1;
}

.shadow {
  position: absolute;
  left: 50%;
  bottom: 5%;
  width: calc(var(--s) * 0.9);
  height: calc(var(--s) * 0.2);
  margin-left: calc(var(--s) * -0.45);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(210, 232, 45, 0.2), transparent);
  animation: sh 5s ease-in-out infinite alternate;
}

@keyframes sh {
  from { transform: scale(0.86); opacity: 0.5; }
  to { transform: scale(1.05); opacity: 1; }
}

/* ------------------------------------------------------------
   CTA Banner (Screen 7 Focus)
   ------------------------------------------------------------ */
.cta {
  background: linear-gradient(135deg, #181d11 0%, #0d0f14 100%);
  border: 1px solid rgba(210, 232, 45, 0.4);
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
}

.cta h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  max-width: 560px;
}

.cta p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 16px;
}

.cta .btn-p {
  background: var(--primary);
  color: #070900;
  padding: 16px 36px;
  font-size: 16px;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
  font-size: 15px;
  color: var(--muted);
}

.foot {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}

.foot a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.foot a:hover {
  color: var(--primary);
}

.foot ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.foot h4 {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.legal {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
}

/* ------------------------------------------------------------
   Animation & Post-FX (ref fidelity)
   ------------------------------------------------------------ */
#grain {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 60;
  pointer-events: none;
  opacity: 0.055;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: currentColor;
  pointer-events: none;
  transform: scale(0);
  animation: rip 0.6s ease-out forwards;
}

@keyframes rip {
  from { transform: scale(0); opacity: 0.35; }
  to { transform: scale(1); opacity: 0; }
}

/* Word Reveal & Gradient Sheen */
.w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  animation: wIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--i) * 70ms + 120ms);
}

@keyframes wIn { to { opacity: 1; transform: none; } }

.grad {
  background: linear-gradient(90deg, #d2e82d, #f1fc6f, #b8cc1f, #d2e82d);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 6s linear infinite;
}

@keyframes sheen { to { background-position: -250% 0; } }

/* ------------------------------------------------------------
   Card Tilt & Parallax (ref motion.js support)
   ------------------------------------------------------------ */
.loc.tilt, .faq > .q.tilt, .cta.tilt {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s, background 0.2s, box-shadow 0.4s;
}

.tilt.hot { will-change: transform; }
.tilt.press {
  transition: transform 0.12s ease-out, border-color 0.2s, box-shadow 0.2s;
  box-shadow: inset 0 10px 30px -12px rgba(0, 0, 0, 0.5);
}

.card > *:not(.btn):not(.tbl-wrap), .cta > div, .faq > .q .q-t, .loc > em {
  translate: calc(var(--nx, 0) * 4px) calc(var(--ny, 0) * 4px);
  transition: translate 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card .ico, .card h3, .card .price strong, .card .st, .loc > em, .cta h2 {
  translate: calc(var(--nx, 0) * 9px) calc(var(--ny, 0) * 9px);
  transition: translate 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ------------------------------------------------------------
   Responsive Styles
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  .hero, .conf { grid-template-columns: 1fr; }
  .feat, .pay { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .stage { order: -1; --s: clamp(140px, 44vw, 210px); height: calc(var(--s) * 1.55); }
}

@media (max-width: 680px) {
  .burger { display: grid; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    display: none;
    background: var(--bg);
    padding: 14px 24px 24px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .header-actions { display: none; }
  .hero { padding: 32px 0 36px; gap: 32px; grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .row .btn { width: 100%; }
  .facts { grid-template-columns: 1fr; }
  .sec { padding: 56px 0; }
  .card { padding: 22px; border-radius: var(--r-l); }
  .feat, .pay { grid-template-columns: 1fr; }
  .conf { gap: 24px; }
  .plan-picker-grid { grid-template-columns: repeat(2, 1fr); }
  .cta { padding: 32px 24px; border-radius: 24px; }
  .cta .btn { width: 100%; }
  .foot { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .bg i { animation: none; }
  .w { opacity: 1; transform: none; animation: none; }
  .grad, .marq-in, .float, .shadow, .led { animation: none; }
  .card, .loc.tilt, .faq > .q.tilt, .cta.tilt { transform: none; }
  .card > *, .cta > div, .loc > em { translate: none !important; }
}
