:root {
  --bg: #070a0f;
  --bg-soft: #0d141d;
  --panel: #111a24;
  --panel-2: #16202c;
  --text: #eef3f9;
  --muted: #9aa8ba;
  --line: rgba(150, 180, 220, 0.16);
  --blue: #4a86ff;
  --blue-text: #ffffff;
  --gold: #ffcf5c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 700px at 80% -10%, rgba(74, 134, 255, 0.22), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(255, 207, 92, 0.08), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(16px, 5vw, 64px);
  background: rgba(7, 10, 15, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--gold);
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) clamp(16px, 5vw, 40px);
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(120, 170, 255, 0.32);
  border-radius: 999px;
  color: #9fc2ff;
  font-size: 13px;
}

h1 {
  margin: 22px 0 18px;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h1 span {
  color: var(--gold);
}

.lead {
  max-width: 560px;
  margin: 0 0 28px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: var(--blue-text);
}

.btn-primary:hover {
  filter: brightness(1.1);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(200, 220, 255, 0.22);
}

.btn-ghost:hover {
  border-color: rgba(200, 220, 255, 0.45);
}

.btn-text {
  background: transparent;
  color: var(--muted);
  height: 40px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 380px;
  height: 760px;
  border-radius: 46px;
  border: 10px solid #1b2530;
  background: #0f141a;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 118px;
  height: 22px;
  border-radius: 999px;
  background: #05080c;
  z-index: 3;
}

.phone-glow {
  position: absolute;
  inset: -40px -20px;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(74, 134, 255, 0.3), transparent);
  filter: blur(28px);
}

.shop {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 44px 16px 16px;
  background: #101418;
}

.shop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.shop-title {
  font-size: 22px;
  font-weight: 700;
}

.shop-sub {
  margin-top: 2px;
  font-size: 13px;
  color: #8b94a1;
}

.avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, #4a86ff, #8a5cff);
  font-weight: 700;
  font-size: 15px;
}

.catalog {
  display: grid;
  gap: 12px;
  overflow-y: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.shop-card {
  background: #1a2027;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.shop-card h4 {
  margin: 0;
  font-size: 16px;
}

.shop-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #8b94a1;
}

.shop-card .price {
  font-size: 14px;
  font-weight: 600;
}

.shop-card .buy {
  margin-top: 2px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: #2e7cf6;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.shop-card .buy:hover {
  filter: brightness(1.08);
}

.demo-note {
  margin-top: auto;
  padding-top: 12px;
  text-align: center;
  font-size: 12px;
  color: #67707d;
}

.features,
.steps,
.cta {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(16px, 5vw, 40px);
}

h2 {
  margin: 0 0 26px;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.02em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.feature {
  padding: 22px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

code {
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(130, 170, 255, 0.12);
  border: 1px solid rgba(130, 170, 255, 0.18);
  font-size: 0.92em;
}

.step-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.step-list li > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(74, 134, 255, 0.15);
  border: 1px solid rgba(74, 134, 255, 0.35);
  color: #9fc2ff;
  font-weight: 700;
}

.step-list h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.step-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.cta {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cta-copy {
  max-width: 560px;
}

.cta-copy p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.cta-thumb {
  width: min(340px, 80vw);
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.footer {
  padding: 28px 16px 40px;
  text-align: center;
  color: #67707d;
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: end center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 10, 0.66);
  backdrop-filter: blur(4px);
}

.sheet {
  position: relative;
  width: min(420px, 100%);
  margin: 0 12px 12px;
  padding: 14px 22px 22px;
  border-radius: 22px;
  background: #151b23;
  border: 1px solid rgba(160, 190, 230, 0.14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: rise 0.18s ease-out;
}

@keyframes rise {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
}

.sheet-grip {
  width: 42px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

.sheet-price {
  color: var(--gold);
  font-weight: 600;
}

.sheet-title {
  margin: 10px 0 8px;
  font-size: 20px;
}

.sheet-text {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.sheet-btn {
  width: 100%;
}

.sheet .btn-text {
  width: 100%;
  margin-top: 6px;
}

.sheet-fine {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  color: #67707d;
}

.paid .sheet-title {
  color: #6ee7a8;
}

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

  .hero-phone {
    order: 2;
  }

  .phone {
    width: min(340px, calc(100vw - 56px));
    height: 680px;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 22px;
  }

  h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 15.5px;
  }

  .actions .btn {
    flex: 1 1 auto;
  }
}
