:root {
  --bg: #0b0f17;
  --bg-2: #0f1522;
  --panel: #121a2a;
  --panel-2: #18223a;
  --text: #e7ecf3;
  --muted: #9aa6b8;
  --line: rgba(255,255,255,.08);
  --accent: #29e0a4;
  --accent-2: #5ad6ff;
  --tg: #2aa3ef;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 80% -10%, rgba(41,224,164,.10), transparent 60%),
              radial-gradient(900px 600px at -10% 20%, rgba(90,214,255,.08), transparent 60%),
              var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip:focus {
  left: 12px; top: 12px;
  background: var(--accent);
  color: #06251a;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 100;
}

/* Header */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  background: rgba(11,15,23,.7);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .2px;
}
.brand__mark {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06251a;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(41,224,164,.25);
}
.brand__name { font-size: 18px; }

.nav__cta {
  font-size: 14px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.nav__cta:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.nav__cta:active { transform: translateY(1px); }

/* Hero */
.hero { padding: 56px 0 24px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(41,224,164,.08);
  border: 1px solid rgba(41,224,164,.25);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 18px;
  font-weight: 800;
}
.accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 56ch;
}

.cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta__hint { color: var(--muted); font-size: 14px; }
.cta__hint b { color: var(--text); font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
  user-select: none;
}
.btn--primary {
  color: #06251a;
  background: linear-gradient(135deg, var(--accent), #5ad6ff);
  box-shadow: 0 14px 36px rgba(41,224,164,.28);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 18px 44px rgba(41,224,164,.36); }
.btn--primary:active { transform: translateY(0); }
.btn--lg { padding: 16px 26px; font-size: 17px; border-radius: 14px; }

.bullets {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cdd4e0;
  font-size: 15px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(41,224,164,.15);
  flex: 0 0 auto;
}

/* Remote visual */
.hero__visual { display: flex; justify-content: center; }
.remote {
  width: min(320px, 80%);
  background: linear-gradient(180deg, #1a2540, #111a30);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px 18px 24px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.05);
  position: relative;
  isolation: isolate;
}
.remote::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 30px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(41,224,164,.5), rgba(90,214,255,.3), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.remote__screen {
  height: 56px;
  background: #0a1224;
  border-radius: 12px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
}
.remote__chip {
  position: absolute;
  top: 10px; left: 12px;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: blink 1.8s ease-in-out infinite;
}
.remote__wave {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60px 30px at 80% 50%, rgba(41,224,164,.35), transparent 60%);
  animation: wave 2.6s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: .35; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes wave {
  0% { transform: translateX(20%); opacity: .3; }
  50% { transform: translateX(-10%); opacity: .9; }
  100% { transform: translateX(20%); opacity: .3; }
}

.remote__power {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  background: radial-gradient(circle at 30% 30%, #2b3a64, #16203a);
  color: #ff7a7a;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 2px 6px rgba(255,255,255,.06), 0 6px 18px rgba(0,0,0,.4);
  cursor: default;
}

.remote__pad {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 6px;
  width: 170px;
  margin: 0 auto 14px;
  place-items: center;
}
.remote__pad button {
  width: 48px; height: 36px;
  background: #1d2a4a;
  border: 1px solid rgba(255,255,255,.06);
  color: #c8d2e6;
  border-radius: 10px;
  font-size: 12px;
  cursor: default;
}
.remote__pad button.ok {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06251a;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(41,224,164,.3);
}
.remote__pad > :nth-child(1) { grid-column: 2; }
.remote__pad > :nth-child(2) { grid-column: 1; grid-row: 2; }
.remote__pad > :nth-child(3) { grid-column: 2; grid-row: 2; }
.remote__pad > :nth-child(4) { grid-column: 3; grid-row: 2; }
.remote__pad > :nth-child(5) { grid-column: 2; grid-row: 3; }

.remote__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.remote__row button,
.remote__keys button {
  background: #18223a;
  border: 1px solid rgba(255,255,255,.06);
  color: #c8d2e6;
  border-radius: 10px;
  padding: 8px 0;
  font-size: 12px;
  cursor: default;
}
.remote__keys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 6px;
}

/* Sections */
.section { padding: 64px 0; }
.section--final { padding: 72px 0 88px; }
.h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 28px;
  letter-spacing: -.01em;
  font-weight: 800;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.15); }
.card__icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(41,224,164,.10);
  color: var(--accent);
  margin-bottom: 12px;
  border: 1px solid rgba(41,224,164,.25);
}
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Steps */
.section--steps { background: linear-gradient(180deg, transparent, rgba(255,255,255,.02), transparent); }
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: s;
}
.step {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  position: relative;
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06251a;
  font-weight: 800;
  margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  transition: transform .2s ease, color .2s ease;
}
.faq details[open] summary::after { content: "−"; color: var(--accent); }
.faq p { margin: 10px 0 4px; color: var(--muted); }

/* Final */
.final { text-align: center; }
.final__sub { color: var(--muted); margin: 0 0 22px; font-size: 17px; }
.final__bot {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .02em;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  color: var(--muted);
  font-size: 14px;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer a:hover { color: var(--text); }

.footer__legal {
  border-top: 1px solid var(--line);
  padding: 16px 0 24px;
  text-align: center;
}
.footer__legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  justify-content: center;
  font-size: 13px;
}
.footer__legal a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__legal a:hover { color: var(--accent-2); }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 36px 0 8px; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__visual { order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav__cta { display: none; }
  .section { padding: 48px 0; }
  .cards { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .cta { gap: 12px; }
  .cta__hint { width: 100%; text-align: center; }
}

/* Профили: MAX / APK / авторизация (как unipult.top) */
.btn--max {
  color: #fff !important;
  background: linear-gradient(135deg, #5b2cff, #00c6ff);
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(0, 140, 255, 0.28);
}
.btn--max:hover { transform: translateY(-1px); box-shadow: 0 16px 40px rgba(0, 140, 255, 0.38); }

.btn--download {
  color: #062018;
  background: linear-gradient(135deg, #5eead4, #14b8a6);
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(20, 184, 166, 0.3);
}
.btn--download:hover { transform: translateY(-1px); box-shadow: 0 16px 40px rgba(20, 184, 166, 0.4); }

.btn--auth {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
}
.btn--auth:hover { transform: translateY(-1px); }

.nav__cta--max {
  color: #fff;
  background: linear-gradient(135deg, #5b2cff, #00c6ff);
  border: 0;
  box-shadow: 0 8px 24px rgba(0, 140, 255, 0.22);
}
.nav__cta--download {
  color: #062018;
  background: linear-gradient(135deg, #5eead4, #14b8a6);
  border: 0;
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.25);
}
.nav__cta--telegram { border-color: rgba(42, 163, 239, 0.35); }

.cta__chrome {
  width: 100%;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.cta__chrome a { color: var(--accent-2); text-decoration: underline; }

.modal-phone {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 16px;
}
.modal-phone.active { display: flex; }
.modal-box--frame {
  background: #121a2a;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: min(96vw, 520px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  padding: 12px;
}
.modal-frame-close {
  align-self: flex-end;
  margin-bottom: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  font: inherit;
}
.modal-frame-wrap {
  flex: 1;
  min-height: min(70vh, 560px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b0f17;
}
.modal-frame-wrap iframe {
  display: block;
  width: 100%;
  height: min(70vh, 560px);
  border: 0;
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .remote__chip, .remote__wave { animation: none; }
  .btn, .card, .nav__cta { transition: none; }
}
