:root {
  --bg-dark: #0b1633;
  --bg-accent: #2250c8;
  --bg-light: #f3f5fa;
  --text-main: #1a2238;
  --text-soft: #5e677c;
  --gold: #f3ab1d;
  --gold-dark: #cf8906;
  --card: #ffffff;
  --line: #e4e8f2;
  --radius: 16px;
  --shadow: 0 14px 28px rgba(14, 24, 53, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Inter, Roboto, Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg-light);
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 22, 51, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #f0f4ff;
  letter-spacing: 0.4px;
}

.logo svg {
  width: 28px;
  height: 28px;
  fill: #8f68ff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #e4ebff;
  font-weight: 500;
  font-size: 14px;
}

.nav a {
  opacity: 0.92;
}

.nav a:hover {
  opacity: 1;
  color: #ffffff;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-main {
  background: linear-gradient(180deg, #ffbe36 0%, var(--gold) 100%);
  color: #10204a;
  box-shadow: 0 8px 20px rgba(243, 171, 29, 0.35);
}

.btn-main:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #ffc854 0%, var(--gold-dark) 100%);
}

.hero {
  background:
    linear-gradient(165deg, rgba(25, 65, 183, 0.95), rgba(24, 94, 219, 0.88)),
    url("banner.png")
      center/cover no-repeat;
  color: #f8fbff;
  padding: 68px 0 54px;
}

.hero-wrap {
  display: grid;
  gap: 28px;
}

.hero-title {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1.06;
  font-weight: 800;
  text-align: center;
  max-width: 980px;
  margin-inline: auto;
}

.hero-sub {
  margin: 0 auto;
  max-width: 780px;
  text-align: center;
  font-size: clamp(18px, 2vw, 28px);
  opacity: 0.96;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
}

.stat {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.stat strong {
  display: block;
  color: #ffcf54;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1;
}

.stat span {
  display: block;
  font-size: 13px;
  margin-top: 6px;
  opacity: 0.95;
}

.hero-cta {
  text-align: center;
}

.hero-card {
  width: min(760px, 100%);
  margin: 0 auto;
  border-radius: 16px;
  background:
    linear-gradient(102deg, rgba(10, 34, 102, 0.82), rgba(12, 76, 196, 0.3)),
    url("banner.png")
      center/cover no-repeat;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.16);
  min-height: 220px;
  display: grid;
  place-items: center;
}

.hero-card span {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: 2px;
}

.section {
  padding: 70px 0;
}

.section.soft {
  background: #f7f9fc;
}

.section-title {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 800;
  color: #162243;
}

.section-text {
  margin: 0 auto;
  max-width: 840px;
  text-align: center;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 17px;
}

.grid-3 {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 22px;
}

.feature svg {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
}

.feature div {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px;
}

.feature p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.offer {
  margin-top: 30px;
  border-radius: 20px;
  background: #fff;
  border: 2px solid #ecc84f;
  box-shadow: var(--shadow);
  padding: 26px;
}

.offer-big {
  margin: 0;
  text-align: center;
  color: #b98300;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
}

.offer-sub {
  margin: 0;
  text-align: center;
  color: #5a6277;
}

.offer p {
  margin: 16px auto 0;
  max-width: 880px;
  color: #2f3a57;
  line-height: 1.75;
}

.note {
  margin-top: 22px;
  border-left: 4px solid #3b68d4;
  background: #eef4ff;
  color: #273656;
  border-radius: 12px;
  padding: 16px 18px;
  line-height: 1.65;
}

.author-box {
  margin-top: 30px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
}

.author-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #e8edfb;
}

.author-box div {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px;
}

.author-box p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.seo-shell {
  margin-top: 34px;
  border-radius: 18px;
  border: 1px solid #dfe6f6;
  box-shadow: var(--shadow);
  background: #fff;
  padding: clamp(20px, 3vw, 42px);
}

.seo-content {
  color: #21283e;
}

.seo-content h1,
.seo-content h2,
.seo-content h3,
.seo-content h4 {
  color: #111d3e;
  line-height: 1.28;
  margin-top: 28px;
  margin-bottom: 12px;
}

.seo-content h1 {
  margin-top: 0;
  font-size: clamp(30px, 4vw, 50px);
}

.seo-content h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.seo-content h3 {
  font-size: clamp(22px, 2.4vw, 30px);
}

.seo-content h4 {
  font-size: clamp(19px, 2.1vw, 25px);
}

.seo-content p {
  margin: 0 0 16px;
  line-height: 1.78;
  font-size: 17px;
  color: #2f3957;
}

.seo-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  overflow: hidden;
  border-radius: 12px;
}

.seo-content th {
  background: #0f1c40;
  color: #f7f9ff;
  text-align: left;
  padding: 13px 14px;
  font-size: 15px;
}

.seo-content td {
  border: 1px solid #e2e7f5;
  padding: 12px 14px;
  color: #253052;
  background: #fff;
}

.score-block {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 38px);
}

.score {
  margin: 0;
  text-align: center;
  color: #2b62e6;
  font-weight: 900;
  font-size: clamp(54px, 7vw, 88px);
  line-height: 1;
}

.score-label {
  text-align: center;
  color: #5f6880;
  margin: 0 0 12px;
}

.score-block p {
  color: #343d57;
  line-height: 1.75;
}

.footer {
  background: #0c1737;
  color: #dde6ff;
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
}

.footer-col div {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: #f0f4ff;
}

.footer-col p,
.footer-col a {
  display: block;
  margin: 0 0 7px;
  color: #c4cde6;
  font-size: 15px;
  line-height: 1.65;
}

.mini-page {
  min-height: calc(100vh - 72px);
  padding: 70px 0;
}

.paper {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 36px);
}

.paper h1,
.paper h2,
.paper h3,
.paper p,
.paper ul {
  margin-top: 0;
  line-height: 1.75;
}

.paper h1,
.paper h2,
.paper h3 {
  color: #0e1a3d;
}

.paper p,
.paper li {
  color: #303a56;
}

@media (max-width: 980px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    min-height: 64px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 0;
  }

  .nav {
    width: 100%;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 52px;
  }

  .author-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .author-photo {
    margin-inline: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
