:root {
  --navy: #0c172b;
  --navy-2: #122b62;
  --blue: #1d4fbf;
  --blue-2: #2f6cf6;
  --text: #526176;
  --title: #12213a;
  --muted: #8491a6;
  --line: #e8eef7;
  --light: #f2f6fb;
  --white: #fff;
  --green: #20d889;
  --shadow: 0 14px 38px rgba(18, 40, 92, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--title);
  background: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.8;
}

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

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 0 7%;
  color: #fff;
  background: linear-gradient(90deg, rgba(17, 39, 88, .92), rgba(8, 18, 39, .72));
}

.topbar.compact {
  position: relative;
  background: linear-gradient(90deg, #142e69, #0e1830);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.brand span {
  font-size: 21px;
  font-style: italic;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 13px;
  font-weight: 700;
}

.nav a {
  color: rgba(255, 255, 255, .76);
  transition: color .18s ease;
}

.nav a:hover,
.nav a.active {
  color: #fff;
}

.topbar small {
  margin-left: 22px;
  padding: 2px 8px;
  color: rgba(255, 255, 255, .75);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 4px;
  font-size: 11px;
}

.hero {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero::before {
  background: linear-gradient(90deg, rgba(18, 45, 102, .94), rgba(10, 22, 50, .72));
  z-index: 1;
}

.hero::after {
  z-index: 0;
}

.hero-home::after {
  background:
    linear-gradient(125deg, transparent 0 36%, rgba(255, 255, 255, .09) 36% 37%, transparent 38%),
    linear-gradient(65deg, transparent 0 48%, rgba(255, 255, 255, .06) 49% 50%, transparent 51%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 26px),
    linear-gradient(145deg, #0d1c3a, #253d74 48%, #061023);
  transform: scale(1.08) rotate(-3deg);
}

.hero-about::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .08) 0 20%, transparent 20% 100%),
    repeating-linear-gradient(90deg, transparent 0 98px, rgba(255, 255, 255, .08) 99px 103px),
    repeating-linear-gradient(0deg, transparent 0 62px, rgba(255, 255, 255, .06) 63px 66px),
    linear-gradient(120deg, #162f66, #091628 72%);
}

.hero-contact::after {
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, .15) 0 9%, transparent 10%),
    linear-gradient(135deg, rgba(255, 255, 255, .09) 0 18%, transparent 19%),
    linear-gradient(110deg, #172c62, #10172a 68%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 96px 20px 40px;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
}

.hero p {
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 21px;
  font-weight: 700;
}

.hero span {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.section {
  padding: 72px 7%;
}

.section-title {
  margin-bottom: 38px;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  color: #173f99;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
}

.section-title p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}

.business-card {
  overflow: hidden;
  min-height: 260px;
  background: var(--white);
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.business-card h3,
.business-card p {
  margin-left: 28px;
  margin-right: 28px;
}

.business-card h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 17px;
}

.business-card p {
  margin-top: 0;
  color: var(--text);
  font-size: 13px;
}

.card-visual {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  background: #f3f6fb;
}

.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-art {
  background: linear-gradient(135deg, #6779e6, #7551ad);
}

.app-art {
  background: linear-gradient(135deg, #08a99b, #2bd779);
}

.game-icon {
  position: relative;
  width: 48px;
  height: 29px;
  display: inline-block;
  background: #1d2638;
  border: 3px solid #070b12;
  border-radius: 18px 18px 13px 13px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08);
}

.game-icon::before,
.game-icon::after {
  content: "";
  position: absolute;
  top: 11px;
}

.game-icon::before {
  left: 9px;
  width: 13px;
  height: 3px;
  background: #70d16f;
  box-shadow: 5px 0 0 #70d16f;
}

.game-icon::after {
  right: 8px;
  width: 5px;
  height: 5px;
  background: #ffcc4a;
  border-radius: 50%;
  box-shadow: 8px -3px 0 #e86c73;
}

.app-icon {
  position: relative;
  width: 42px;
  height: 34px;
  display: inline-block;
  background: #fff;
  border: 4px solid #111827;
  border-radius: 50% 50% 48% 48%;
}

.app-icon::before {
  content: "";
  position: absolute;
  left: 6px;
  top: -13px;
  width: 18px;
  height: 18px;
  background: #1aba6f;
  border: 4px solid #111827;
  border-radius: 50%;
}

.app-icon::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: 3px;
  width: 18px;
  height: 18px;
  border-right: 4px solid #111827;
  border-bottom: 4px solid #111827;
  border-radius: 2px 0 12px 0;
  transform: rotate(-16deg);
}

.advantages,
.culture {
  background: var(--light);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 26px;
  max-width: 980px;
  margin: 0 auto;
}

.feature-grid article {
  min-height: 148px;
  padding: 32px 28px;
  text-align: center;
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(24, 47, 92, .05);
}

.feature-grid h3 {
  margin: 10px 0 8px;
  color: var(--title);
  font-size: 17px;
}

.feature-grid p,
.about-copy p,
.product-copy p,
.product-copy li {
  color: var(--text);
}

.feature-grid p {
  margin: 0;
  font-size: 13px;
}

.feature-dot,
.target-icon,
.spark-icon,
.diamond-icon {
  display: inline-block;
  width: 34px;
  height: 34px;
}

.feature-dot {
  border-radius: 50%;
}

.dot-gold {
  background: radial-gradient(circle at 50% 50%, #ffe19c 0 38%, #f7ad2b 40% 100%);
}

.dot-blue {
  background: linear-gradient(135deg, #ffe06f, #2d7cf6);
  transform: rotate(45deg);
  border-radius: 6px;
}

.dot-red {
  background: radial-gradient(circle, #fff 0 18%, #ff4d5e 19% 42%, #2c76ff 44% 100%);
  border-radius: 50%;
}

.about-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.about-copy p {
  margin: 0 auto 26px;
  max-width: 880px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.stats div {
  padding: 22px 12px;
  background: #f7faff;
  border-radius: 7px;
}

.stats strong {
  display: block;
  color: var(--blue-2);
  font-size: 30px;
  line-height: 1.1;
}

.stats span {
  color: var(--muted);
  font-size: 12px;
}

.target-icon {
  border: 5px solid #2c77ff;
  border-radius: 50%;
  background: radial-gradient(circle, #ff4d55 0 22%, #fff 24% 40%, transparent 42%);
}

.spark-icon {
  background: conic-gradient(#15223b, #f5d342, #22c26a, #15223b);
  clip-path: polygon(50% 0, 61% 31%, 95% 15%, 72% 45%, 100% 60%, 64% 63%, 68% 100%, 48% 70%, 18% 95%, 31% 59%, 0 47%, 35% 39%);
}

.diamond-icon {
  background: linear-gradient(135deg, #53e2ff, #2877ff);
  transform: rotate(45deg);
  border-radius: 7px;
}

.page-offset {
  background: #fff;
}

.products {
  padding-top: 46px;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(300px, .95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: 54px;
  max-width: 1120px;
  margin: 0 auto 74px;
}

.product-row:last-child {
  margin-bottom: 0;
}

.product-row.reverse .product-art {
  order: 2;
}

.product-art {
  position: relative;
  min-height: 308px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
}

.product-art::before {
  display: none;
}

.product-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.large {
  transform: scale(1.45);
}

.product-copy .tag {
  display: inline-block;
  margin-bottom: 13px;
  padding: 3px 12px;
  color: var(--blue-2);
  background: #edf3ff;
  border-radius: 999px;
  font-size: 12px;
}

.product-copy h1 {
  margin: 0 0 16px;
  color: var(--title);
  font-size: 30px;
  line-height: 1.25;
}

.product-copy p {
  margin: 0 0 18px;
}

.product-copy ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-copy li {
  position: relative;
  padding-left: 24px;
}

.product-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20c786;
}

.contact-wrap {
  min-height: 480px;
}

.contact-list {
  max-width: 420px;
  margin-left: 17%;
}

.contact-list h2 {
  margin: 0 0 24px;
  font-size: 24px;
}

.contact-list article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  margin-bottom: 24px;
  align-items: start;
}

.contact-list h3,
.contact-list p {
  margin: 0;
}

.contact-list h3 {
  color: var(--title);
  font-size: 15px;
}

.contact-list p {
  color: var(--text);
  font-size: 13px;
}

.pin,
.phone,
.mail,
.clock {
  position: relative;
  width: 34px;
  height: 34px;
  display: inline-block;
  background: #eef4ff;
  border-radius: 50%;
}

.pin::after,
.phone::after,
.mail::after,
.clock::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.pin::after {
  width: 9px;
  height: 9px;
  background: #e84a50;
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.phone::after {
  width: 14px;
  height: 14px;
  border-left: 4px solid #215fd3;
  border-bottom: 4px solid #215fd3;
  border-radius: 0 0 0 9px;
  transform: translate(-50%, -50%) rotate(-35deg);
}

.mail::after {
  width: 16px;
  height: 11px;
  border: 2px solid #d47a54;
  border-radius: 2px;
}

.clock::after {
  width: 14px;
  height: 14px;
  border: 2px solid #5d7fd3;
  border-radius: 50%;
  box-shadow: inset 4px 0 0 transparent;
}

.footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(130px, 1fr));
  gap: 48px;
  padding: 50px 7% 18px;
  color: #fff;
  background: #0b1426;
}

.footer h2,
.footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 16px;
}

.footer p,
.footer a {
  display: block;
  margin: 0 0 7px;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.copyright {
  grid-column: 1 / -1;
  margin-top: 22px;
  padding-top: 16px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

@media (max-width: 900px) {
  .topbar {
    position: relative;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 5%;
  }

  .brand {
    width: 100%;
  }

  .nav {
    gap: 18px;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 420px;
  }

  .business-grid,
  .feature-grid,
  .stats,
  .product-row,
  .footer {
    grid-template-columns: 1fr;
  }

  .product-row.reverse .product-art {
    order: 0;
  }

  .contact-list {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 54px 22px;
  }

  .brand {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 18px;
  }

  .product-art {
    min-height: 230px;
  }
}
