:root {
  --blue: #025bf8;
  --ink: #01101f;
  --muted: #4e5969;
  --shadow: 0 2px 12px rgb(0 0 0 / 10%);
  --gutter: clamp(20px, 4vw, 48px);
  color: #000;
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.45; }
body:has(.notice[open]) { overflow: hidden; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #2d83ff; outline-offset: 4px; }

.section-wrap { width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section-title { font-size: clamp(28px, 4vw, 48px); font-weight: 600; line-height: 1.45; text-align: center; }
.tint { background: linear-gradient(#fbfcfd, #f3f8fc); border-radius: 14px; }
.tile { background: #fff; box-shadow: var(--shadow); }

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  min-height: 60px;
  padding-inline: clamp(20px, 2vw, 30px);
}
.site-header--overlay { position: absolute; inset: 0 0 auto; }
.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { width: auto; height: 54px; }
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.35vw, 36px);
  margin-left: auto;
  margin-right: clamp(0px, 12vw, 190px);
  color: var(--muted);
}
.site-nav a { padding-block: 16px; white-space: nowrap; }
.site-nav a:hover { color: var(--blue); }
.site-nav [aria-current="page"] { color: var(--ink); }
.site-header--light .site-nav { color: #fff; }
.site-header--light .site-nav [aria-current="page"] { color: var(--ink); }
.menu-toggle { display: none; }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(264px, 100%);
  min-height: 66px;
  padding: 8px 16px;
  border: 1px solid var(--blue);
  border-radius: 44px;
  background: var(--blue);
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
}
.pill:hover { background: #246ff7; }
.pill--outline { background: #fff; color: var(--blue); }
.pill--outline:hover { background: #eff6ff; }
.pill--white { border-color: #fff; background: #fff; color: var(--blue); }
.pill--white:hover { background: #eff6ff; }

.home-hero {
  position: relative;
  height: 842px;
  padding: 82px var(--gutter) 0;
  background: #e6edf0 url("img/home-hero.jpg") center / cover no-repeat;
  text-align: center;
}
.home-hero h1 { color: var(--blue); font-size: clamp(36px, 5.1vw, 70px); font-weight: 600; }
.home-hero p { color: var(--muted); font-size: clamp(16px, 1.6vw, 24px); }
.home-hero__button { min-height: 61px; margin-top: 50px; }
.home-hero__platforms { position: absolute; inset: 522px 0 auto; width: min(calc(100% - 2 * clamp(20px, 6.3vw, 96px)), 1660px); margin-inline: auto; }

.scenarios { padding-top: 48px; padding-bottom: 100px; }
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 26px;
  margin-top: 138px;
}
.scenario {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 165px;
  border-radius: 5px;
  background-color: #44566c;
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 10px rgb(0 0 0 / 50%);
  color: #fff;
}
.scenario span { padding-inline: 20px; font-size: 48px; font-weight: 500; line-height: 1; }
.scenario h3 { padding: 21px 20px; border-radius: 0 0 5px 5px; background: rgb(0 0 0 / 30%); font-size: 16px; font-weight: 500; backdrop-filter: blur(6px); }
.scenario--commerce { grid-column: span 2; background-image: url("img/scenario-commerce.png"); }
.scenario--expansion { background-image: url("img/scenario-expansion.png"); }
.scenario--social { background-image: url("img/scenario-social.png"); }
.scenario--community { grid-column: span 2; background-image: url("img/scenario-community.png"); }
.scenario--analytics { grid-column: span 2; background-image: url("img/scenario-analytics.png"); }
.scenario-controls { display: none; }

.home-download { padding: 98px var(--gutter) 148px; text-align: center; }
.platform-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 816px; margin-top: 97px; }
.platform { display: grid; justify-items: center; align-content: start; gap: 17px; min-height: 125px; font-size: 13px; font-weight: 700; }
a.platform:hover { color: var(--blue); }

.advantages { min-height: 568px; margin-block: 48px; padding-bottom: 100px; background: url("img/advantages-background.png") center 80px / contain no-repeat; text-align: center; }
.advantage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 38px; margin-top: 98px; padding-right: 28px; }
.advantage-grid article { min-height: 300px; padding: 42px 20px 26px; }
.advantage-grid img { margin: 0 auto 28px; }
.advantage-grid h3 { margin-bottom: 14px; font-size: 18px; }
.advantage-grid p { color: var(--muted); font-size: 13px; }

.feedback { min-height: 529px; padding-bottom: 100px; }
.feedback-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 98px; }
.review { min-height: 211px; padding: 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.review figcaption { display: flex; align-items: center; gap: 0; color: var(--ink); font-weight: 500; }
.rating { display: block; color: #eca72b; letter-spacing: 2px; line-height: 1; }
.review blockquote { margin-top: 10px; }

.callout {
  min-height: 414px;
  padding: 100px var(--gutter);
  background: #025bf8 url("img/callout-background.png") left top / cover no-repeat;
  color: #fff;
  text-align: center;
}
.callout h2 { font-size: clamp(28px, 4.4vw, 60px); font-weight: 700; line-height: 1.4; }
.callout .pill { width: min(316px, 100%); margin-top: 64px; }

.site-footer { min-height: 478px; padding-top: 100px; background: var(--ink); color: #fff; text-align: center; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr) 3fr; }
.footer-grid h2 { margin-bottom: 30px; font-size: 18px; font-weight: 500; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; color: #8593a7; font-size: 18px; line-height: 2; }
.footer-qr { display: grid; grid-template-columns: 1fr 1fr; justify-items: center; }
.footer-qr img { margin-inline: auto; }
.footer-qr figcaption { margin-top: 8px; font-size: 18px; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.site-credentials { margin-top: 60px; padding: 20px 20px 24px; border-top: 1px solid rgb(255 255 255 / 10%); color: #8593a7; font-size: 14px; overflow-wrap: anywhere; }

.telegram-float {
  position: fixed;
  z-index: 6;
  top: min(300px, 38vh);
  right: 0;
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 102px;
  padding: 10px;
  border-radius: 4px 0 0 4px;
  background: #3c7def;
  color: #fff;
  font-size: 13px;
}
.telegram-float:hover { background: var(--blue); }
.back-top {
  position: fixed;
  z-index: 6;
  right: 40px;
  bottom: 100px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #f2f7fb;
  box-shadow: 0 1px 6px rgb(0 0 0 / 15%);
  color: #409eff;
  font-size: 22px;
  cursor: pointer;
}

.notice {
  position: fixed;
  inset: 15vh auto auto 50%;
  transform: translateX(-50%);
  width: min(50vw, 850px);
  min-height: 354px;
  max-height: 75vh;
  margin: 0;
  padding: 20px 20px 48px;
  border: 0;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 30%);
  color: #303133;
}
.notice::backdrop { background: rgb(0 0 0 / 50%); }
.notice h2 { font-size: 18px; font-weight: 400; }
.notice__close { position: absolute; top: 14px; right: 16px; border: none; background: transparent; color: #397ed7; font-size: 23px; cursor: pointer; }
.notice__copy { display: grid; gap: 20px; margin-top: 38px; color: #606266; font-size: 14px; overflow-wrap: anywhere; }
.notice__copy a { color: #0000ee; text-decoration: underline; }
.notice__warning { color: #f4163d; }
.notice__button { display: flex; width: 100px; min-height: 30px; margin: 86px auto 0; padding: 0 10px; border: none; box-shadow: 0 10px 20px rgb(2 91 248 / 25%); font-size: 14px; }
.notice__button:focus:not(:focus-visible) { outline: none; }

.download-main { padding-block: 100px; }
.download-main h1 { margin-bottom: 50px; font-size: 40px; font-weight: 500; text-align: center; }
.download-main h2 { margin-bottom: 20px; color: var(--ink); font-size: 28px; font-weight: 500; }
.download-card { width: calc((100% - 40px) / 3); min-width: min(340px, 100%); padding: 20px; }
.download-card__title { display: flex; align-items: center; gap: 10px; min-height: 42px; color: var(--muted); }
.download-card__title img { flex-shrink: 0; }
.download-card__title h3 { font-size: 18px; font-weight: 400; }
.download-card p { padding-block: 15px; font-size: 18px; font-weight: 500; }
.download-card__link { gap: 8px; width: 212px; min-height: 57px; font-size: 18px; }
.download-card__link[aria-disabled="true"] { background: #fff; cursor: default; }
.download-icon { position: relative; width: 13px; height: 13px; border-bottom: 1px solid currentColor; }
.download-icon::before { position: absolute; top: 0; left: 6px; height: 9px; border-left: 1px solid currentColor; content: ""; }
.download-icon::after { position: absolute; top: 3px; left: 3px; width: 7px; height: 7px; transform: rotate(45deg); border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; content: ""; }

.feature-hero { min-height: 600px; background-position: center; background-size: cover; color: #fff; }
.feature-hero h1 { font-size: clamp(34px, 4.85vw, 70px); font-weight: 600; line-height: 1.42; }
.product-hero { padding-block: 80px; background-color: #574e49; background-image: url("img/product-hero.png"); }
.feature-hero__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.feature-hero p { margin-top: 20px; font-size: 24px; }
.product-hero .pill { margin-top: 40px; }
.product-intro { margin-top: 40px; }
.product-row:nth-of-type(odd) { background: #f8fafb; }
.product-intro > .section-title { background: #f8fafb; }
.product-row__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; padding-block: 50px; }
.product-row--reverse .product-row__copy { grid-column: 2; grid-row: 1; }
.product-row--reverse img { grid-column: 1; grid-row: 1; }
.product-row__copy span { color: var(--blue); font-weight: 600; }
.product-row__copy span::before { margin-right: 5px; content: "▸"; }
.product-row__copy h3 { margin-top: 16px; font-size: clamp(26px, 4vw, 48px); }
.product-row__copy p { max-width: 520px; margin-top: 18px; color: var(--muted); font-size: 18px; line-height: 1.8; }
.product-features { padding: 25px 0 60px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 38px 30px; margin-top: 50px; }
.feature-grid h3 { margin-block: 8px; font-size: 18px; }
.feature-grid p { color: var(--muted); font-size: 14px; }

.pricing-main { padding-top: 32px; background: #fff url("img/pricing-background.png") center 32px / 100% auto no-repeat; }
.pricing { padding-bottom: 100px; text-align: center; }
.pricing-intro { color: var(--blue); font-size: 24px; font-weight: 600; }
.pricing-description { margin-top: 16px; color: var(--muted); }
.pricing .section-title { margin-top: 94px; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; margin-top: 90px; padding-right: 18px; text-align: left; }
.price-card { position: relative; min-height: 550px; padding: 30px; overflow: hidden; border-radius: 5px; }
.price-card--advanced, .price-card--professional { background: rgb(255 255 255 / 42%); }
.price-card--advanced::before, .price-card--professional::before { position: absolute; inset: 0 0 auto; height: 10px; background: var(--ink); content: ""; }
.price-card--advanced::before { background: linear-gradient(90deg, #28c8fc, var(--blue) 75%); }
.price-card h2 { font-size: 24px; }
.price-card__amount { margin-top: 20px; font-size: 32px; font-weight: 700; }
.price-card__description { margin-top: 12px; font-size: 14px; font-weight: 600; }
.price-card ul { display: grid; gap: 21px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 18px; }
.price-card li { display: flex; align-items: baseline; gap: 13px; }
.price-card li::before { display: inline-grid; width: 21px; height: 21px; flex-shrink: 0; place-items: center; border: 1px solid var(--blue); border-radius: 50%; color: var(--blue); font-size: 13px; content: "✓"; }
.price-card--advanced li::before { background: var(--blue); color: #fff; }
.price-card--professional li::before { border-color: var(--ink); background: var(--ink); color: #fff; }

.faq-main { min-height: 388px; padding-bottom: 50px; background: url("img/faq-background.png") right center / auto 180% no-repeat; }
.faq-layout { display: grid; grid-template-columns: 200px 1fr; }
.faq-topics { border-right: 1px solid #e6ebf0; }
.faq-topics button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 24px; border: none; background: transparent; color: #303133; text-align: left; font-size: 14px; cursor: pointer; }
.faq-topics button span { color: #8593a1; }
.faq-topics button:hover, .faq-topics button[aria-pressed="true"] { background: #ecf5ff; color: #2279c9; }
.faq-topics button[aria-pressed="true"] span { color: inherit; }
.faq-content { padding: 16px 28px 12px 20px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #606266; font-size: 14px; }
.breadcrumb span { color: #aeb8c3; }
.breadcrumb a:hover, .faq-panel a:hover { text-decoration: underline; }
.faq-panel { margin-top: 18px; }
.faq-panel h1 { color: var(--ink); font-size: 24px; }
.faq-panel p { margin-top: 8px; padding-left: 28px; color: var(--muted); font-size: 14px; line-height: 2; }
.faq-panel a { color: var(--blue); }

.contact-hero { padding-top: 100px; background-color: #555e68; background-image: url("img/contact-hero.png"); }
.contact-details { padding: 100px 0 60px; }
.partnership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 76px; }
.partnership-grid article { display: grid; grid-template-columns: 1fr 138px; align-items: center; gap: 16px; padding: 20px; }
.partnership-grid h3 { color: var(--ink); font-size: 28px; }
.partnership-grid p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.support-title { margin-top: 100px; }
.contact-options { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 70px; text-align: center; }
.contact-options img { margin-inline: auto; }
.contact-options figcaption { margin-top: 12px; font-size: 18px; }

@media (max-width: 1000px) {
  .site-nav { margin-right: 0; }
  .scenario-grid { gap: 30px 18px; }
  .advantage-grid { gap: 20px; padding-right: 0; }
  .price-grid { gap: 20px; padding-right: 0; }
  .price-card { padding: 24px; }
  .telegram-float { min-width: auto; padding: 8px; }
  .telegram-float img { width: 34px; }
}

@media (max-width: 760px) {
  .section-title, .callout h2, .home-hero h1 { text-wrap: balance; }
  .site-header { justify-content: space-between; }
  .site-header--overlay { background: rgb(255 255 255 / 86%); }
  .brand img { height: 46px; }
  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }
  .menu-toggle span { width: 22px; height: 2px; background: currentColor; box-shadow: 0 -7px currentColor, 0 7px currentColor; }
  .site-nav { position: absolute; inset: 60px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 20px 14px; background: #fff; box-shadow: var(--shadow); }
  .site-header--light .site-nav { color: var(--muted); }
  .menu-toggle[aria-expanded="true"] + .site-nav { display: flex; }
  .site-nav a { padding: 10px 0; }

  .pill { width: min(200px, 100%); min-height: 48px; font-size: 17px; }
  .home-hero { height: clamp(430px, 112vw, 650px); padding-top: 92px; }
  .home-hero h1 { font-size: clamp(26px, 7vw, 48px); }
  .home-hero h1 span, .scenarios h2 span { display: inline-block; }
  .home-hero p { margin-top: 10px; font-size: 15px; text-shadow: 0 0 8px #fff, 0 0 3px #fff; }
  .home-hero__button { margin-top: 23px; }
  .home-hero__platforms { inset: auto 0 12%; }
  .scenarios { padding-block: 38px 40px; }
  .scenario-grid { position: relative; display: flex; gap: 0; margin-top: 36px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .scenario { flex: 0 0 100%; min-height: 168px; box-shadow: none; scroll-snap-align: start; }
  .scenario span { font-size: 40px; }
  .scenario h3 { padding-block: 13px; }
  .scenario-controls { display: flex; justify-content: center; gap: 4px; margin-top: 11px; }
  .scenario-controls button { width: 26px; height: 26px; padding: 8px; border: 0; background: transparent; cursor: pointer; }
  .scenario-controls button::before { display: block; width: 10px; height: 6px; border-radius: 4px; background: #b9c8d9; content: ""; }
  .scenario-controls button[aria-pressed="true"]::before { background: var(--blue); }

  .home-download, .feedback { padding: 40px 0; }
  .platform-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 35px; }
  .platform { min-height: 100px; gap: 10px; }
  .platform img { width: 58px; }
  .advantages { min-height: auto; margin-block: 38px; padding-bottom: 20px; background-position: center; }
  .advantage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
  .advantage-grid article { min-height: 195px; padding: 20px 10px; }
  .advantage-grid img { width: 82px; margin-bottom: 12px; }
  .advantage-grid h3 { margin-bottom: 8px; }
  .feedback { min-height: auto; }
  .feedback-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 35px; }
  .review { min-height: 156px; }
  .review img { width: 64px; }
  .callout { min-height: auto; padding: 52px var(--gutter); }
  .callout .pill { width: min(200px, 100%); margin-top: 26px; }

  .site-footer { padding: 38px 16px 0; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 12px; }
  .footer-grid h2 { margin-bottom: 12px; font-size: 16px; }
  .footer-grid ul, .footer-qr figcaption { font-size: 14px; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-qr img { width: 98px; }
  .site-credentials { margin-top: 36px; }
  .telegram-float { top: auto; bottom: 16px; right: 12px; border-radius: 6px; }
  .telegram-float span { font-size: 11px; }
  .back-top { right: 16px; bottom: 90px; }
  .notice { width: calc(100% - 32px); min-height: 0; padding: 18px 18px 24px; }
  .notice__copy { margin-top: 26px; gap: 12px; }
  .notice__button { width: 100px; min-height: 34px; margin-top: 34px; font-size: 14px; }

  .download-main { padding-block: 52px 65px; }
  .download-main h1 { margin-bottom: 40px; font-size: 32px; }
  .download-main h2 { font-size: 24px; }
  .download-card { width: min(390px, 100%); }
  .download-card__title h3, .download-card p { font-size: 16px; }
  .download-card__link { width: min(212px, 100%); }

  .feature-hero { min-height: 420px; }
  .product-hero { padding: 88px 0 30px; }
  .feature-hero__inner, .product-row__inner { grid-template-columns: 1fr; gap: 24px; }
  .feature-hero__inner img { width: min(100%, 420px); }
  .feature-hero p { margin-top: 10px; font-size: 17px; }
  .product-hero .pill { margin-top: 20px; }
  .product-intro { margin-top: 30px; }
  .product-row__inner { padding-block: 30px; }
  .product-row--reverse .product-row__copy, .product-row--reverse img { grid-area: auto; }
  .product-row__copy h3 { margin-top: 9px; }
  .product-row__copy p { margin-top: 10px; font-size: 16px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; margin-top: 30px; }

  .pricing { padding-bottom: 52px; }
  .pricing-intro { font-size: 19px; }
  .pricing .section-title { margin-top: 42px; }
  .price-grid { grid-template-columns: 1fr; margin-top: 30px; }
  .price-card { min-height: auto; }
  .price-card ul { gap: 12px; font-size: 16px; }

  .faq-layout { grid-template-columns: 1fr; }
  .faq-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-right: 0; border-bottom: 1px solid #e6ebf0; }
  .faq-topics button { justify-content: center; gap: 5px; min-height: 46px; padding: 8px 2px; }
  .faq-content { padding: 16px 0; }
  .faq-panel p { padding-left: 0; }

  .contact-hero { padding: 70px 0; }
  .contact-hero .pill { margin-top: 20px; }
  .contact-details { padding: 45px 0; }
  .partnership-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .partnership-grid article { grid-template-columns: 1fr 80px; padding: 18px; }
  .partnership-grid h3 { font-size: 22px; }
  .support-title { margin-top: 55px; }
  .contact-options { margin-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
