:root {
  --ink: #07111f;
  --muted: #596579;
  --paper: #f4f7fb;
  --panel: #ffffff;
  --line: rgba(7, 17, 31, 0.12);
  --blue: #1769ff;
  --blue-2: #0d4fd6;
  --cyan: #23c7ff;
  --vk: #0077ff;
  --dark: #07111f;
  --yellow: #ffd45a;
  --shadow: 0 28px 80px rgba(7, 17, 31, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Montserrat, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.topbar {
  position: fixed;
  inset: 18px 24px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(7, 17, 31, 0.72);
  color: #fff;
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.brand,
.topbar nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-weight: 900;
  white-space: nowrap;
}

.brand span {
  display: grid;
  gap: 4px;
}

.brand strong {
  font-size: 14px;
  line-height: 1;
}

.brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.topbar nav {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
}

.topbar nav a:hover {
  color: #fff;
}

.topbar-cta {
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff;
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 13, 29, 0.96), rgba(7, 17, 31, 0.84) 46%, rgba(7, 17, 31, 0.5)),
    linear-gradient(180deg, rgba(7, 17, 31, 0.16), rgba(7, 17, 31, 0.84));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.62fr);
  gap: 44px;
  align-items: center;
  width: min(1200px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 118px 0 72px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--blue);
}

.descriptor {
  width: fit-content;
  margin: 0 0 18px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 800;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.56;
}

.hero-actions,
.final-actions,
.personal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.final-actions .btn {
  min-width: 150px;
}

.hero-actions {
  margin-bottom: 24px;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 16px 22px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -65%;
  width: 54%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  opacity: 0.75;
  animation: button-glint 3.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes button-glint {
  0% {
    left: -65%;
  }

  42%,
  100% {
    left: 120%;
  }
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  box-shadow: 0 20px 44px rgba(23, 105, 255, 0.32);
}

.btn-vk {
  background: #fff;
  color: var(--vk);
  box-shadow: 0 20px 44px rgba(0, 119, 255, 0.18);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.trust-row,
.ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span,
.ticker span {
  display: inline-flex;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.portal-preview {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.preview-top,
.preview-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-top p {
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-top strong {
  font-size: 24px;
  line-height: 1.12;
}

.preview-top span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #e9f8ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.preview-tabs span,
.preview-actions span {
  display: inline-flex;
  justify-content: center;
  padding: 10px 8px;
  border-radius: 10px;
  background: #eef5ff;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 900;
}

.preview-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.preview-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.preview-card div {
  padding: 18px;
}

.preview-price {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 20px;
  font-weight: 900;
}

.preview-card h2 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.12;
}

.preview-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.ticker {
  justify-content: center;
  padding: 18px 24px;
  background: var(--dark);
}

.section {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  max-width: 810px;
  margin-bottom: 34px;
}

.section-heading.center {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section h2,
.final-cta h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.personal-panel p,
.seller-panel p,
.catalog-grid span,
.feature-grid p,
.channel-card p,
details p,
.final-cta p {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.62;
}

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

.feature-grid article,
.channel-card,
.catalog-grid article,
.catalog-card,
details,
.personal-panel,
.seller-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 50px rgba(7, 17, 31, 0.08);
}

.feature-grid article {
  padding: 24px;
}

.feature-grid span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.feature-grid h3,
.channel-card h3,
.catalog-grid h3 {
  margin: 12px 0 10px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.12;
}

.channel-section {
  padding-top: 32px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.channel-card {
  display: grid;
  gap: 14px;
  min-height: 320px;
  padding: 32px;
  overflow: hidden;
  position: relative;
}

.channel-card::after {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(23, 105, 255, 0.12);
}

.channel-card.telegram {
  background: linear-gradient(135deg, #ffffff 0%, #edf8ff 100%);
}

.channel-card.vk {
  background: linear-gradient(135deg, #ffffff 0%, #eef5ff 100%);
}

.channel-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.vk .channel-icon {
  background: var(--vk);
}

.channel-card .btn {
  align-self: end;
  width: fit-content;
}

.mini-link {
  color: var(--blue);
  font-weight: 900;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.catalog-grid article,
.catalog-card {
  overflow: hidden;
}

.catalog-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.catalog-grid div {
  padding: 22px;
}

.catalog-grid p {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-card {
  display: block;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.catalog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 58px rgba(7, 17, 31, 0.12);
}

.personal-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
  gap: 28px;
  align-items: center;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(235, 245, 255, 0.96)),
    #fff;
}

.quiz-flow {
  display: grid;
  gap: 10px;
}

.quiz-flow span,
.tools-grid span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(23, 105, 255, 0.14);
  border-radius: 12px;
  background: #fff;
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 900;
}

.quiz-flow span {
  min-height: 72px;
  padding: 20px 22px;
  border-radius: 16px;
  font-size: 15px;
  box-shadow: 0 12px 30px rgba(7, 17, 31, 0.06);
}

.tools-grid span {
  min-height: 92px;
  padding: 22px 24px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
  font-size: 16px;
  line-height: 1.25;
  box-shadow: 0 14px 36px rgba(7, 17, 31, 0.07);
}

.personal-actions {
  grid-column: 1 / -1;
}

.seller-section {
  padding-top: 36px;
}

.seller-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.72fr);
  gap: 28px;
  align-items: center;
  padding: 44px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(135deg, rgba(4, 11, 20, 0.96), rgba(14, 74, 168, 0.94)),
    var(--dark);
  color: #fff;
}

.seller-panel::after {
  content: "";
  position: absolute;
  inset: -90px -70px auto auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.seller-content,
.seller-benefits {
  position: relative;
  z-index: 1;
}

.seller-content h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.03;
}

.seller-content p,
.seller-benefits p {
  color: rgba(255, 255, 255, 0.76);
}

.seller-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.seller-more-link {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.seller-benefits {
  display: grid;
  gap: 12px;
}

.seller-benefits article {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
}

.seller-benefits span {
  color: #82b8ff;
  font-size: 12px;
  font-weight: 900;
}

.seller-benefits h3 {
  margin: 8px 0 8px;
  font-size: 19px;
  font-weight: 900;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.seo-links-section {
  padding-top: 34px;
}

.seo-home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.seo-home-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 50px rgba(7, 17, 31, 0.08);
}

.seo-home-grid h3 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 900;
}

.seo-home-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(23, 105, 255, 0.14);
  border-radius: 11px;
  background: #fff;
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

details {
  padding: 22px;
}

summary {
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 12px 0 0;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto 64px;
  padding: 46px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(23, 105, 255, 0.96), rgba(7, 17, 31, 0.98)),
    var(--dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.final-cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 24px;
  color: rgba(255, 255, 255, 0.72);
  background: #040b14;
  font-size: 13px;
  font-weight: 700;
}

.footer a {
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 1020px) {
  .topbar nav {
    display: none;
  }

  .hero-content,
  .personal-panel,
  .seller-panel {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .seo-home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .topbar {
    inset: 10px;
    width: auto;
    min-height: 56px;
    max-height: 64px;
    padding: 8px 9px;
    border-radius: 14px;
    overflow: hidden;
  }

  .brand span {
    display: grid;
    gap: 6px;
    min-width: 0;
  }

  .brand img {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
  }

  .brand strong {
    font-size: 11px;
    line-height: 1.05;
  }

  .brand small {
    font-size: 8px;
    line-height: 1.05;
  }

  .topbar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    max-width: 132px;
    min-height: 40px;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
  }

  .hero-content,
  .section,
  .final-cta {
    width: min(100% - 28px, 1200px);
  }

  .hero-content {
    padding-top: 112px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions,
  .final-actions,
  .personal-actions,
  .seller-actions,
  .final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .channel-card .btn {
    width: 100%;
  }

  .feature-grid,
  .channel-grid,
  .catalog-grid,
  .tools-grid,
  .seo-home-grid,
  .faq-grid,
  .preview-tabs {
    grid-template-columns: 1fr;
  }

  .preview-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .section {
    padding: 60px 0;
  }

  .section-heading.inline {
    align-items: start;
    flex-direction: column;
  }

  .personal-panel,
  .seller-panel,
  .final-cta {
    padding: 28px;
  }

  .footer {
    flex-direction: column;
  }
}
