@font-face {
  font-family: "Haiwang Inter";
  src: url("/assets/inter.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300 900;
}

:root {
  --blue: #0878f7;
  --blue-dark: #0759bd;
  --ink: #10233f;
  --muted: #5d6b7f;
  --line: #dce6f2;
  --surface: #f5f9fd;
  --white: #ffffff;
  --green: #0e9f6e;
  --shadow: 0 18px 54px rgba(23, 69, 128, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Haiwang Inter", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

body.modal-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  left: 14px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  top: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(220, 230, 242, 0.82);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  font-size: 21px;
  font-weight: 800;
  color: #14558f;
}

.brand img {
  width: 150px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  color: #34445b;
  font-size: 14px;
}

.main-nav a {
  padding: 10px 0;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue);
}

.header-cta,
.final-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  font-weight: 750;
  line-height: 1.2;
  box-shadow: 0 8px 22px rgba(8, 120, 247, 0.22);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.header-cta:hover,
.header-cta:focus-visible,
.final-cta-button:hover,
.final-cta-button:focus-visible,
.hero-cta:hover,
.hero-cta:focus-visible {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(8, 120, 247, 0.28);
}

.hero {
  overflow: hidden;
  min-height: 760px;
  background: #f2f8ff;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(1240px, calc(100% - 40px));
  min-height: 760px;
  margin: 0 auto;
  padding-top: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: #0d2a50;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 span {
  display: inline-block;
  margin-top: 10px;
  color: #31516f;
  font-size: 0.56em;
  font-weight: 650;
}

.hero-description {
  max-width: 740px;
  margin: 22px auto 28px;
  color: var(--muted);
  font-size: 17px;
}

.hero-cta {
  display: inline-flex;
  min-width: 292px;
  min-height: 78px;
  padding: 13px 34px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(8, 120, 247, 0.28);
  line-height: 1.15;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.hero-cta span {
  font-size: 15px;
  font-weight: 600;
  opacity: 0.88;
}

.hero-cta strong {
  margin-top: 5px;
  font-size: 24px;
  font-weight: 850;
}

.hero-note {
  margin: 13px 0 0;
  color: #718096;
  font-size: 13px;
}

.product-stage {
  width: min(1120px, 100%);
  margin: 54px auto -108px;
  padding: 11px;
  border: 1px solid #d1e2f6;
  border-radius: 8px 8px 0 0;
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-stage img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 4px 4px 0 0;
}

.section {
  padding: 112px 0;
}

.intro {
  padding-top: 132px;
}

.intro-inner > h2,
.advantages-copy > h2,
.final-cta h2 {
  margin: 0;
  color: #102d52;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

.intro-inner > .section-kicker,
.intro-inner > h2,
.intro-inner > .section-lead {
  text-align: center;
}

.section-lead {
  max-width: 880px;
  margin: 20px auto 0;
  color: var(--muted);
}

.feature-band {
  margin-top: 76px;
  padding: 58px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-number,
.advantage-item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: #eaf4ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.feature-copy h3 {
  margin: 20px 0 15px;
  font-size: 30px;
  line-height: 1.28;
  letter-spacing: 0;
}

.feature-copy p,
.advantage-item p,
.final-cta p,
.footer-brand p {
  margin: 0;
  color: var(--muted);
}

.feature-visual {
  margin: 0;
}

.feature-visual img {
  width: min(100%, 650px);
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.advantages {
  background: var(--surface);
}

.advantages-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 70px;
}

.advantages-visual {
  margin: 0;
}

.advantages-visual img {
  width: min(100%, 540px);
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 18px 42px rgba(20, 56, 96, 0.1);
}

.advantages-copy > h2 {
  margin-bottom: 36px;
}

.advantage-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.advantage-item h3 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: 0;
}

.final-cta {
  background: #0b2c52;
  color: var(--white);
}

.final-cta-inner {
  min-height: 280px;
  padding: 62px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.final-cta h2 {
  color: var(--white);
}

.final-cta p:not(.section-kicker) {
  margin-top: 13px;
  color: #bfd0e2;
}

.final-cta-button {
  min-width: 190px;
  min-height: 58px;
  flex: 0 0 auto;
  font-size: 18px;
}

.site-footer {
  padding: 54px 0 28px;
  background: #071f3b;
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
}

.footer-brand img {
  width: 138px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 600px;
  margin-top: 18px;
  color: #aabed2;
  font-size: 14px;
}

.copyright {
  margin: 0;
  color: #91a7bc;
  font-size: 13px;
  white-space: nowrap;
}

.trial-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.trial-modal[hidden] {
  display: none;
}

.trial-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.trial-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(5, 24, 47, 0.7);
  cursor: pointer;
}

.trial-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 34px 38px 32px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(5, 24, 47, 0.28);
  text-align: center;
  transform: translateY(12px);
  transition: transform 180ms ease;
}

.trial-modal.open .trial-dialog {
  transform: translateY(0);
}

.trial-close {
  position: absolute;
  top: 13px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #596a80;
  font: 32px/1 Arial, sans-serif;
  cursor: pointer;
}

.trial-close:hover,
.trial-close:focus-visible {
  color: var(--blue);
}

.trial-dialog h2 {
  margin: 0;
  color: #102d52;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: 0;
}

.trial-dialog-lead {
  max-width: 560px;
  margin: 12px auto 24px;
  color: var(--muted);
}

.qr-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.qr-option {
  min-width: 0;
  padding: 24px 28px 0;
}

.qr-option + .qr-option {
  border-left: 1px solid var(--line);
}

.qr-option img {
  width: 220px;
  height: 220px;
  margin: 12px auto;
  object-fit: contain;
}

.qr-option > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.qr-name {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.whatsapp-name {
  color: #138a55;
}

.telegram-name {
  color: #167ac6;
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 76px;
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .main-nav {
    display: none;
  }

  .brand img {
    width: 120px;
  }

  .brand {
    gap: 11px;
    font-size: 18px;
  }

  .header-cta {
    min-width: 108px;
    min-height: 42px;
    padding: 9px 16px;
  }

  .hero,
  .hero-inner {
    min-height: 690px;
  }

  .hero-inner {
    padding-top: 55px;
  }

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

  .hero-description {
    font-size: 15px;
  }

  .hero-cta {
    min-width: 260px;
    min-height: 72px;
  }

  .product-stage {
    width: 100%;
    max-width: 100%;
    margin-top: 46px;
    padding: 7px;
  }

  .section {
    padding: 78px 0;
  }

  .intro {
    padding-top: 90px;
  }

  .feature-band,
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .feature-band {
    margin-top: 54px;
  }

  .advantages-visual {
    order: 2;
  }

  .advantages-copy {
    order: 1;
  }

  .advantages-visual img {
    width: min(100%, 520px);
  }

  .final-cta-inner,
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 30px;
  }

  .final-cta-button {
    width: min(100%, 260px);
  }

  .copyright {
    white-space: normal;
  }

  .trial-dialog {
    padding: 32px 24px 28px;
  }

  .qr-option {
    padding-inline: 18px;
  }

  .qr-option img {
    width: min(190px, 100%);
    height: auto;
    aspect-ratio: 1;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .hero-inner {
    width: min(100% - 28px, 1180px);
  }

  .hero,
  .hero-inner {
    min-height: 650px;
  }

  .hero-inner {
    padding-top: 43px;
  }

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

  .hero h1 span {
    font-size: 0.5em;
  }

  .hero-description {
    margin-top: 18px;
    line-height: 1.7;
  }

  .hero-cta {
    width: 100%;
    min-width: 0;
    max-width: 290px;
  }

  .product-stage {
    width: 100%;
    margin-top: 40px;
    transform: none;
  }

  .intro-inner > h2,
  .advantages-copy > h2,
  .final-cta h2 {
    font-size: 30px;
  }

  .feature-copy h3 {
    font-size: 25px;
  }

  .feature-band {
    padding: 44px 0;
  }

  .advantage-item {
    gap: 13px;
  }

  .brand {
    gap: 8px;
    font-size: 16px;
  }

  .brand img {
    width: 108px;
  }

  .header-cta {
    min-width: 96px;
    padding-inline: 13px;
  }

  .trial-modal {
    padding: 12px;
  }

  .trial-dialog {
    max-height: calc(100vh - 24px);
    padding: 30px 18px 22px;
  }

  .trial-dialog h2 {
    padding-inline: 20px;
    font-size: 25px;
  }

  .qr-options {
    grid-template-columns: 1fr;
  }

  .qr-option {
    padding: 20px 0 0;
  }

  .qr-option + .qr-option {
    margin-top: 20px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .qr-option img {
    width: 190px;
    height: 190px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
