:root {
  color-scheme: dark;
  --page-bg: #000;
  --panel-bg: #202121;
  --soft-bg: #0c0d0d;
  --text-main: #f6f6f6;
  --text-soft: #c7c7c7;
  --text-muted: #989b9b;
  --accent: #3fc3d7;
  --accent-dark: #061013;
  --rule: #3a3b3b;
  --shell: 1320px;
  --radius: 18px;
  --header-height: 92px;
  --body-font: "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--page-bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--page-bg);
  color: var(--text-soft);
  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

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

button {
  font: inherit;
}

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

h1,
h2,
h3 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.page-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand-link img {
  width: 184px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.header-text-link,
.language-switch,
.primary-action,
.hero-download,
.news-more a {
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.header-text-link {
  color: var(--text-main);
  font-size: 16px;
  font-weight: 600;
}

.header-text-link:hover,
.header-text-link:focus-visible {
  color: var(--accent);
}

.language-switch {
  min-width: 90px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.language-switch:hover,
.language-switch:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.primary-action,
.hero-download {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 25px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-dark);
  font-size: 16px;
  font-weight: 700;
}

.primary-action:hover,
.primary-action:focus-visible,
.hero-download:hover,
.hero-download:focus-visible {
  box-shadow: 0 10px 46px rgba(63, 195, 215, 0.35);
  transform: translateY(-2px);
}

.hero-section {
  padding: calc(var(--header-height) + 76px) 0 90px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}

.hero-copy {
  text-align: center;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 650px;
  margin: 0 auto 24px;
  font-size: clamp(42px, 5.2vw, 78px);
}

.hero-summary {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: clamp(17px, 1.5vw, 21px);
}

.hero-download {
  min-height: 56px;
  margin-top: 34px;
  padding-inline: 38px;
  font-size: 18px;
}

.hero-visual {
  order: 2;
}

.hero-visual img,
.feature-preview img {
  width: 100%;
  border-radius: var(--radius);
  background: #121313;
  object-fit: cover;
}

.quick-benefits {
  padding: 76px 0;
  background: var(--panel-bg);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 70px);
}

.benefit-card {
  text-align: center;
}

.line-icon {
  display: inline-flex;
  width: 80px;
  height: 80px;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.line-icon svg {
  width: 72px;
  height: 72px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card h2 {
  margin: 12px 0 12px;
  font-size: clamp(24px, 2.4vw, 30px);
}

.benefit-card p {
  max-width: 390px;
  margin: 0 auto;
  color: var(--text-soft);
}

.feature-section {
  padding: 112px 0 118px;
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 70px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 20px;
  font-size: clamp(38px, 4.5vw, 64px);
}

.section-heading > p:last-child {
  max-width: 780px;
  margin: 0 auto;
  color: var(--text-soft);
}

.feature-stage {
  display: grid;
  grid-template-columns: minmax(230px, 0.82fr) minmax(360px, 1.35fr) minmax(230px, 0.82fr);
  align-items: center;
  gap: clamp(24px, 3.2vw, 52px);
}

.feature-column {
  display: grid;
  gap: 54px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.feature-column-left .feature-item {
  flex-direction: row-reverse;
  text-align: right;
}

.feature-number {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.feature-item h3 {
  margin-bottom: 12px;
  font-size: clamp(23px, 2vw, 29px);
}

.feature-item p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 16px;
}

.feature-preview {
  margin-bottom: 0;
}

.news-section {
  padding: 94px 0 104px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--soft-bg);
}

.news-panel {
  max-width: 920px;
}

.compact-heading {
  margin-bottom: 45px;
}

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.news-link {
  color: var(--text-main);
  font-weight: 500;
  text-decoration: none;
}

.news-link:hover,
.news-link:focus-visible {
  color: var(--accent);
}

.news-date {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 14px;
}

.news-more {
  margin-top: 38px;
  text-align: center;
}

.news-more a {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  padding: 9px 24px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
}

.news-more a:hover,
.news-more a:focus-visible {
  background: var(--accent);
  color: var(--accent-dark);
}

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--page-bg);
}

.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  text-align: center;
}

.footer-inner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-inner a {
  color: var(--accent);
  font-size: 14px;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid rgba(63, 195, 215, 0.72);
  outline-offset: 4px;
}

@media (max-width: 1050px) {
  .feature-stage {
    grid-template-columns: 1fr 1.25fr;
  }

  .feature-preview {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .feature-column-left,
  .feature-column-right {
    grid-column: 1;
  }

  .feature-column-left .feature-item {
    flex-direction: row;
    text-align: left;
  }
}

@media (max-width: 800px) {
  :root {
    --header-height: 78px;
  }

  body {
    font-size: 17px;
  }

  .page-shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .header-inner {
    gap: 15px;
  }

  .brand-link img {
    width: 150px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-text-link {
    display: none;
  }

  .language-switch {
    min-width: 78px;
    padding-inline: 10px;
  }

  .primary-action {
    padding-inline: 17px;
    font-size: 14px;
  }

  .hero-section {
    padding: calc(var(--header-height) + 55px) 0 68px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .feature-section {
    padding: 84px 0 90px;
  }

  .section-heading {
    margin-bottom: 52px;
  }

  .feature-stage {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .feature-preview,
  .feature-column-left,
  .feature-column-right {
    grid-column: 1;
    grid-row: auto;
  }

  .feature-preview {
    order: 1;
  }

  .feature-column-left {
    order: 2;
  }

  .feature-column-right {
    order: 3;
  }

  .feature-column {
    gap: 38px;
  }

  .news-section {
    padding: 74px 0 84px;
  }
}

@media (max-width: 520px) {
  .brand-link img {
    width: 122px;
  }

  .language-switch {
    min-width: 66px;
    font-size: 13px;
  }

  .primary-action {
    min-height: 40px;
    padding-inline: 13px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-download {
    width: 100%;
  }

  .news-entry {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

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

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