:root {
  --bg: #000000;
  --text: #ededed;
  --text-strong: #ffffff;
  --muted: #8a8a8a;
  --muted-2: #a0a0a0;
  --accent: #ffffff;
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-2: rgba(255, 255, 255, 0.12);
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-ui: cubic-bezier(.2, 0, 0, 1);
  --ease-island: cubic-bezier(.32, .72, 0, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Onest, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-transform: lowercase;
}
button, input { text-transform: inherit; }
::selection { background: rgba(255, 255, 255, 0.193); color: #fff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

*::-webkit-scrollbar { width: 10px; }
*::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.16); border-radius: 99px; border: 3px solid transparent; background-clip: content-box; }

@keyframes drop { from { opacity: 0; transform: translateY(-18px); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes driftA { 0%, 100% { transform: translate(0) scale(1); } 50% { transform: translate(38px, -26px) scale(1.12); } }
@keyframes driftB { 0%, 100% { transform: translate(0) scale(1); } 50% { transform: translate(-34px, 22px) scale(1.1); } }
@keyframes onlinePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45); } 70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } }
@keyframes tick { 0% { transform: scale(1); } 40% { transform: scale(1.16); color: #ffffff; } 100% { transform: scale(1); } }

#snow {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
#snow.is-ready { opacity: 1; }
.backdrop {
  position: absolute;
  inset: 0 0 auto 0;
  height: 900px;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255, 255, 255, 0.06), transparent 70%);
}

.header {
  position: sticky;
  display: flex;
  top: 16px;
  z-index: 20;
  max-width: 1232px;
  margin: 16px auto 0;
  padding: 0 24px;
  animation: drop .65s var(--ease-out) both;
}
.nav {
  display: flex;
  align-items: center;
  width: 100%;
  height: 60px;
  margin: 0 auto;
  padding: 9px 9px 9px 20px;
  border-radius: 18px;
  transition: width .6s var(--ease-island), height .6s var(--ease-island), padding .6s var(--ease-island), border-radius .6s var(--ease-island), box-shadow .4s ease;
  border: 1px solid var(--stroke-2);
  background: linear-gradient(rgba(28, 28, 28, 0.55), rgba(10, 10, 10, 0.45));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
}
.logo { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; color: #fff; }
.nav .logo {
  flex-shrink: 0;
  max-width: 140px;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width .6s var(--ease-island), opacity .3s ease, transform .6s var(--ease-island), margin .6s var(--ease-island);
}
.header.is-island .nav {
  width: var(--island-w, 100%);
  height: 52px;
  padding: 6px 6px 6px 8px;
  border-radius: 999px;
  background: linear-gradient(rgba(24, 24, 24, 0.86), rgba(8, 8, 8, 0.82));
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.header.is-island:not(.keep-logo) .nav .logo { max-width: 0; opacity: 0; transform: scale(.85); }
.header.is-island.keep-logo .nav { padding-left: 18px; }
.header.is-island .btn-soft { border-radius: 999px; }
.header.is-island .nav-link { border-radius: 999px; }
.nav-links { display: flex; flex-shrink: 0; gap: 4px; margin: 0 auto; }
.nav-link {
  padding: 9px 14px;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted-2);
  transition: color .18s var(--ease-ui), background .18s var(--ease-ui);
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--stroke-2);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .22s var(--ease-ui), background .22s var(--ease-ui), border-color .22s var(--ease-ui), box-shadow .22s var(--ease-ui);
}
.btn:active { transform: translateY(0) scale(.96); transition-duration: .09s; }
.btn .arrow { transition: transform .22s var(--ease-ui); }
.btn:hover .arrow { transform: translate(3px, -3px); }

.btn-soft {
  flex-shrink: 0;
  height: 40px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 14.5px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}
.btn-soft:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); }

.btn-glass {
  height: 53px;
  padding: 0 28px;
  border-radius: 13px;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.15));
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.22));
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38), inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.btn-ghost {
  height: 53px;
  padding: 0 28px;
  border-radius: 13px;
  font-size: 16px;
  color: #ededed;
  background: rgba(18, 18, 18, 0.55);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.275); }

.btn-buy {
  --mx: 50%;
  --my: 50%;
  height: 57px;
  padding: 0 32px;
  border-radius: 13px;
  font-size: 16px;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px) saturate(1.15);
}
.btn-buy::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(130px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05) 45%, transparent 72%);
  opacity: 0;
  transition: opacity .4s var(--ease-ui);
  pointer-events: none;
}
.btn-buy:hover::before { opacity: 1; transition-duration: .18s; }
.btn-buy:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.btn-buy > * { position: relative; }

main { max-width: 1232px; margin: 0 auto; padding: 0 24px; }

.hero {
  min-height: calc(100vh - 92px);
  min-height: calc(100svh - 92px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0 72px;
  text-align: center;
}
.rise { animation: rise .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * .09s + .15s); }
.hero-title {
  max-width: 900px;
  font-size: 72px;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.024em;
  color: var(--text-strong);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65), 0 2px 28px rgba(0, 0, 0, 0.55);
}
.hero-sub {
  max-width: 520px;
  margin-top: 24px;
  font-size: 22px;
  line-height: 1.5;
  color: #e6e6e6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 1px 14px rgba(0, 0, 0, 0.6);
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }

.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.stat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 20px;
  border-radius: 13px;
  border: 1px solid var(--stroke);
  background: rgba(12, 12, 12, 0.6);
  backdrop-filter: blur(10px);
  font-size: 18px;
  color: var(--muted-2);
}
.stat svg { color: var(--muted); }
.stat b { color: var(--text-strong); font-weight: 600; font-variant-numeric: tabular-nums; }
.tick { display: inline-block; animation: tick .45s var(--ease-out); }

.section { padding: 96px 0; }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 48px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 16px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.154);
  background: rgba(255, 255, 255, 0.055);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: lowercase;
  color: #e0e0e0;
}
.section-title {
  margin-top: 28px;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
}
.section-sub { max-width: 520px; margin-top: 18px; font-size: 17px; line-height: 1.55; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(132px, auto); gap: 14px; max-width: 1040px; margin: 0 auto; }
.feat-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.025);
  transition: opacity .55s var(--ease-out), transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s ease, background .35s ease;
}
.feat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
  background: radial-gradient(120% 95% at 15% 0%, color-mix(in srgb, var(--fac) 20%, transparent), transparent 60%);
}
.feat-card.is-visible:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--fac) 42%, rgba(255, 255, 255, 0.08)); background: rgba(255, 255, 255, 0.045); }
.feat-card:hover::after { opacity: 1; }
.feat-ico {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  color: var(--fac);
  background: color-mix(in srgb, var(--fac) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--fac) 28%, transparent);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}
.feat-card:hover .feat-ico { transform: scale(1.06); box-shadow: 0 0 0 5px color-mix(in srgb, var(--fac) 11%, transparent); }
.feat-t { position: relative; z-index: 1; margin: 16px 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: #f2f2f2; }
.feat-d { position: relative; z-index: 1; font-size: 14px; line-height: 1.6; color: var(--muted); }
.chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
  color: #d0d0d0;
  background: color-mix(in srgb, var(--fac) 12%, rgba(255, 255, 255, 0.02));
  border: 1px solid color-mix(in srgb, var(--fac) 26%, transparent);
}
.feat-card.is-featured {
  grid-column: span 2;
  grid-row: span 2;
  padding: 30px;
  background: radial-gradient(95% 75% at 88% 112%, color-mix(in srgb, var(--fac) 16%, transparent), transparent 60%), rgba(255, 255, 255, 0.03);
}
.is-featured .feat-ico { width: 58px; height: 58px; border-radius: 16px; }
.is-featured .feat-t { margin-top: auto; padding-top: 24px; font-size: 24px; }
.is-featured .feat-d { max-width: 38ch; font-size: 15px; line-height: 1.62; }
.feat-grid.is-single { grid-template-columns: 1fr; }
.feat-grid.is-single .feat-card.is-featured { grid-column: auto; grid-row: auto; min-height: 340px; }

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.plan-detail {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.121);
  background: radial-gradient(40% 40% at 85% 10%, rgba(255, 255, 255, 0.099), transparent 70%), linear-gradient(160deg, rgba(22, 22, 22, 0.92), rgba(6, 6, 6, 0.96));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.plan-head { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; text-transform: lowercase; color: #e0e0e0; }
.plan-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.066);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: lowercase;
  color: #ffffff;
}
.tag:empty { display: none; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 28px; font-size: 60px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: #ffffff; font-variant-numeric: tabular-nums; }
.rub { font-size: 22px; font-weight: 600; color: var(--muted); }
.plan-note { margin-top: 10px; font-size: 15px; color: var(--muted-2); }
.plan-perks { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 28px 0 32px; padding-top: 28px; border-top: 1px solid var(--stroke); }
.plan-perks li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #dedede; animation: rise .4s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 55ms); }
.plan-perks li::before {
  content: "";
  flex: 0 0 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.099) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
}
.plan-detail .btn-buy { width: 100%; }

.plan-list { display: flex; flex-direction: column; gap: 12px; }
.plan-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 74px;
  padding: 14px 20px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.025);
  text-align: left;
  cursor: pointer;
  transition: background .18s var(--ease-ui), border-color .18s var(--ease-ui), box-shadow .18s var(--ease-ui), transform .14s var(--ease-ui);
}
.plan-row:hover:not(.is-on) { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.193); }
.plan-row:active { transform: scale(.99); }
.plan-row.is-on { background: linear-gradient(90deg, rgba(255, 255, 255, 0.088), rgba(255, 255, 255, 0.033)); border-color: rgba(255, 255, 255, 0.33); box-shadow: 0 0 30px rgba(255, 255, 255, 0.083); }
.radio { position: relative; flex: 0 0 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.28); transition: border-color .18s var(--ease-ui); }
.radio::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .2s var(--ease-ui); }
.is-on .radio { border-color: var(--accent); }
.is-on .radio::after { transform: scale(1); }
.row-main { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.row-main b { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: #f2f2f2; }
.row-main small { font-size: 13px; color: var(--muted); }
.row-price { font-size: 17px; font-weight: 700; color: #f2f2f2; font-variant-numeric: tabular-nums; }
.is-on .row-price { color: #ffffff; }

.cta-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 74px 40px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.088);
  background:
    radial-gradient(50% 60% at 15% 0%, rgba(255, 255, 255, 0.077), transparent 70%),
    radial-gradient(40% 50% at 90% 100%, rgba(255, 255, 255, 0.066), transparent 70%),
    linear-gradient(150deg, rgba(22, 22, 22, 0.94), rgba(6, 6, 6, 0.97));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent);
  pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-title {
  max-width: 700px;
  margin-top: 28px;
  font-size: 50px;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, #ffffff, #9a9a9a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 255, 255, 0.225));
}
.steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.steps li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 13px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  font-size: 15px;
  color: #c8c8c8;
}
.steps li b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, 0.11); color: #ffffff; font-size: 13px; }
.ip { font-weight: 700; color: #fff; }
.online-line { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 14px; color: var(--muted); }
.online-line b { color: #fff; font-weight: 700; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ffffff; animation: onlinePulse 2s ease-out infinite; }

.footer { margin-top: 64px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; max-width: 1232px; margin: 0 auto; padding: 56px 24px 40px; }
.footer-brand p { margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { margin-bottom: 4px; font-size: 14px; font-weight: 600; color: #e6e6e6; }
.footer-col a { font-size: 14.5px; color: var(--muted); transition: color .18s var(--ease-ui); }
.footer-col a:hover { color: #d0d0d0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; max-width: 1232px; margin: 0 auto; padding: 24px 24px 36px; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 14px; color: #6a6a6a; }

@media (max-width: 900px) {
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-card.is-featured { grid-row: span 1; }
  .pricing { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  main, .header { padding: 0 16px; }
  .nav-links { display: none; }
  .nav { justify-content: space-between; padding-left: 18px; }
  .hero { min-height: 0; padding: 72px 0 56px; }
  .hero-title { font-size: 38px; }
  .hero-sub { font-size: 16px; margin-top: 18px; }
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; gap: 11px; margin-top: 28px; }
  .stats { flex-direction: column; align-items: stretch; width: 100%; }
  .stat { justify-content: center; font-size: 16px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 32px; }
  .cta-title { font-size: 30px; }
  .plan-price { font-size: 48px; }
  .plan-detail { padding: 30px 22px; }
  .cta-card { padding: 48px 22px; border-radius: 22px; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 40px 16px 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 20px 16px 32px; }
}

@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; gap: 12px; }
  .feat-card.is-featured { grid-column: span 1; padding: 22px; }
  .is-featured .feat-t { font-size: 21px; }
}

@media (max-width: 430px) {
  .hero-title { font-size: 32px; }
  .section-title { font-size: 28px; }
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift .9s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-2%, -1%); }
  100% { transform: translate(0, 0); }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), #fff);
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.hero-title .char { display: inline-block; white-space: pre; animation: charIn .8s var(--ease-out) both; animation-delay: calc(var(--c) * 45ms + .2s); }
@keyframes charIn { from { opacity: 0; transform: translateY(0.45em) rotateX(-70deg); filter: blur(8px); } }
.hero-title.is-shining {
  background: linear-gradient(100deg, #fff 0%, #fff 42%, #8a8a8a 50%, #fff 58%, #fff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 24px rgba(0, 0, 0, 0.55));
  animation: titleShine 5s ease-in-out infinite;
}
@keyframes titleShine { 0%, 55% { background-position: 120% 0; } 100% { background-position: -30% 0; } }


.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 255, 255, 0.08), transparent 60%);
  z-index: 0;
}
.tilt:hover::before { opacity: 1; }
.plan-detail > * { position: relative; z-index: 1; }

.magnetic { will-change: transform; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(16, 16, 16, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  transform: translate(-50%, 20px) scale(.96);
  transition: opacity .25s var(--ease-ui), transform .35s var(--ease-island);
  pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0) scale(1); }

@media (max-width: 768px) {
}

.feat-card, .plan-detail, .plan-row, .stat, .steps li, .cta-card {
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}
.feat-card { background-color: rgba(10, 10, 10, 0.78); }
.feat-card.is-featured { background-color: rgba(10, 10, 10, 0.8); }
.plan-row { background-color: rgba(10, 10, 10, 0.78); }
.plan-row:hover:not(.is-on) { background-color: rgba(18, 18, 18, 0.85); }

.ascii-art {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  line-height: 1.05;
  letter-spacing: 0;
  color: #e8e8e8;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  text-transform: none;
  white-space: pre;
  user-select: none;
  pointer-events: none;
}
.feat-card .card-art { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); z-index: 1; opacity: 0.9; }
.plan-detail .corner-art { position: absolute; top: 18px; right: 18px; z-index: 0; opacity: 0.45; }
.footer-art { margin-top: 20px; opacity: 0.5; }

@media (max-width: 768px) {
  .feat-card .card-art { top: 20px; right: 16px; transform: none; font-size: 6px !important; opacity: 0.6; }
  .plan-detail .corner-art { font-size: 7px !important; }
}

body.modal-open { overflow: hidden; }
.order-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .24s cubic-bezier(.3, 0, .2, 1);
}
.order-modal[hidden] { display: none; }
.order-modal.is-open { opacity: 1; }
.order-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 32px 28px 28px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(24, 24, 24, 0.97), rgba(8, 8, 8, 0.98));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(14px) scale(.97);
  transition: opacity .26s var(--ease-ui), transform .32s var(--ease-island);
}
.order-modal.is-open .order-card { opacity: 1; transform: none; }
.order-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-2);
  cursor: pointer;
  transition: background .16s var(--ease-ui), color .16s var(--ease-ui), transform .16s var(--ease-ui);
}
.order-close:hover { background: rgba(255, 255, 255, 0.1); color: #fff; transform: rotate(90deg); }
.order-title { margin-top: 18px; font-size: 26px; font-weight: 800; letter-spacing: -0.025em; color: #fff; }
.order-subtitle { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
#order-form > *, .order-done > * { animation: rise .4s var(--ease-out) backwards; }
#order-form > :nth-child(2) { animation-delay: 40ms; }
#order-form > :nth-child(3) { animation-delay: 70ms; }
#order-form > :nth-child(4) { animation-delay: 100ms; }
#order-form > :nth-child(5) { animation-delay: 130ms; }
#order-form > :nth-child(6) { animation-delay: 160ms; }
#order-form > :nth-child(7) { animation-delay: 190ms; }
.field { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.field[hidden] { display: none; }
.field-label { font-size: 13px; font-weight: 600; color: #d0d0d0; }
.field-label i { font-style: normal; font-weight: 500; color: var(--muted); }
.field-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  font-size: 15.5px;
  text-transform: none;
  outline: none;
  transition: border-color .16s var(--ease-ui), background .16s var(--ease-ui), box-shadow .16s var(--ease-ui);
}
.field-input::placeholder { color: #5a5a5a; }
.field-input:hover { border-color: rgba(255, 255, 255, 0.2); }
.field-input:focus { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.06); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06); }
.field-input.is-invalid { border-color: rgba(255, 255, 255, 0.85); animation: shake .32s ease; }
@keyframes shake { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
.field-error, .form-error { min-height: 0; font-size: 12.5px; color: #fff; opacity: .8; }
.field-error:empty, .form-error:empty { display: none; }
.form-error { margin-top: 16px; }
.qty { display: flex; gap: 8px; }
.qty-input { text-align: center; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background .16s var(--ease-ui), transform .1s var(--ease-ui);
}
.qty-btn:hover { background: rgba(255, 255, 255, 0.1); }
.qty-btn:active { transform: scale(.94); }
.promo-row { display: flex; gap: 8px; }
.promo-row .field-input { text-transform: uppercase; letter-spacing: .04em; }
.promo-apply { height: 48px; border-radius: 13px; }
.promo-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #fff; }
.promo-status:empty { display: none; }
.order-summary { display: flex; flex-direction: column; gap: 2px; margin-top: 22px; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.025); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 2px; font-size: 13.5px; color: var(--muted-2); }
.sum-row[hidden] { display: none; }
.sum-row span:last-child { font-weight: 600; color: #e6e6e6; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-total { margin-top: 4px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 15px; font-weight: 700; color: #fff; }
.sum-total span:last-child { font-size: 20px; font-weight: 800; color: #fff; }
.sum-total .is-updated { animation: tick .45s var(--ease-out); }
.order-submit {
  width: 100%;
  height: 52px;
  margin-top: 18px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #dcdcdc);
  color: #0a0a0a;
  font-size: 15.5px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 #fff, 0 12px 28px rgba(0, 0, 0, 0.5);
}
.order-submit:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, 0 16px 36px rgba(0, 0, 0, 0.6); }
.order-submit:disabled { opacity: .6; cursor: default; transform: none; }
.order-submit.is-loading span { opacity: .5; }
.order-done { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 12px 0 4px; }
.order-done[hidden], #order-form[hidden] { display: none; }
#order-done-text, #order-nickname, #order-nickname-error { text-transform: none; }
.order-done .btn { margin-top: 24px; }
.done-circle {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  animation: doneCircle .34s var(--ease-ui) both;
}
.done-circle::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5); animation: doneHalo .7s var(--ease-ui) .1s both; }
.done-circle path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: doneCheck .32s var(--ease-ui) .15s forwards; }
@keyframes doneCircle { from { opacity: 0; transform: scale(.55); } }
@keyframes doneHalo { from { opacity: .6; transform: scale(1); } to { opacity: 0; transform: scale(1.7); } }
@keyframes doneCheck { to { stroke-dashoffset: 0; } }
@media (max-width: 480px) {
  .order-card { padding: 28px 20px 22px; border-radius: 20px; }
  .order-title { font-size: 22px; }
}

.plan-old { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.plan-old[hidden] { display: none; }
.plan-old s { font-size: 18px; font-weight: 600; color: #6f6f6f; text-decoration-thickness: 2px; }
.discount-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; background: #fff; color: #000; font-size: 12.5px; font-weight: 800; animation: rise .4s var(--ease-out); }
.plan-old.is-markup .discount-tag { background: transparent; color: #fff; border: 1px solid #fff; }
.row-price s { margin-right: 6px; font-size: 13.5px; font-weight: 600; color: #6a6a6a; text-decoration-thickness: 1.5px; }

body.is-loading { overflow: hidden; }
body.is-loading .rise, body.is-loading .header, body.is-loading .hero-title { animation-play-state: paused; }
body.is-loading .hero-title { opacity: 0; }
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: #000;
  transition: opacity .5s var(--ease-out), visibility .5s;
}
.page-loader.is-done { opacity: 0; visibility: hidden; }
.loader-sticker { width: 168px; height: 168px; transition: transform .5s var(--ease-island); }
.page-loader.is-done .loader-sticker { transform: scale(.82); }
.loader-spinner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-top-color: #fff;
  animation: loaderSpin .75s linear infinite;
}
@keyframes loaderSpin { to { transform: rotate(360deg); } }

.order-confirm[hidden] { display: none; }
.order-confirm > * { animation: rise .4s var(--ease-out) backwards; }
.order-confirm > :nth-child(2) { animation-delay: 40ms; }
.order-confirm > :nth-child(4) { animation-delay: 90ms; }
.order-confirm > :nth-child(5) { animation-delay: 130ms; }
#confirm-nick { text-transform: none; }
.confirm-summary .sum-row { animation: rise .35s var(--ease-out) backwards; }
.confirm-summary .sum-row:nth-child(2) { animation-delay: 60ms; }
.confirm-summary .sum-row:nth-child(3) { animation-delay: 120ms; }
.confirm-summary .sum-row:nth-child(4) { animation-delay: 180ms; }
.confirm-note { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: #d6d6d6; }
.confirm-note:empty { display: none; }
.confirm-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 18px; }
.confirm-actions .order-submit { margin-top: 0; }
.confirm-actions .btn-soft { height: 52px; border-radius: 14px; padding: 0 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .loader-spinner { animation: loaderSpin 1.5s linear infinite !important; }
}
