:root {
  --primary: #2563eb;
  --primary-dark: #1e3a8a;
  --accent: #0ea5e9;
  --ink: #14213d;
  --text: #40516a;
  --muted: #708198;
  --line: #d7e2f0;
  --soft: #f2f7ff;
  --panel: #ffffff;
  --warning: #eef6ff;
  --shadow: 0 18px 46px rgba(37, 99, 235, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.72;
}

a {
  color: var(--primary-dark);
}

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

.skip-link {
  position: fixed;
  top: -90px;
  left: 16px;
  z-index: 30;
  padding: 10px 14px;
  color: #fff;
  background: var(--primary-dark);
  border-radius: 6px;
}

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

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  display: block;
  width: auto;
  max-height: 42px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.header-tools a {
  padding: 7px 14px;
  color: var(--text);
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.header-tools a:hover {
  color: var(--primary-dark);
  background: #fff;
}

.hero {
  padding: 84px 0;
  background:
    linear-gradient(120deg, #ffffff 0%, #eff6ff 48%, #e0f2fe 100%);
  border-bottom: 1px solid var(--line);
}

.hero-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 56px;
  align-items: center;
}

.label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 900;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.24;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(38px, 5.2vw, 64px);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.2vw, 42px);
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

p {
  margin: 0 0 1em;
}

.hero-main p {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.solid-btn,
.outline-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.solid-btn {
  color: #fff;
  background: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

.solid-btn:hover {
  color: #fff;
  background: var(--primary-dark);
}

.outline-btn {
  color: var(--primary-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.outline-btn:hover {
  border-color: var(--primary);
  background: var(--soft);
}

.outline-btn.light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.66);
}

.hero-side {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-side img {
  display: block;
  width: 100%;
  max-height: 410px;
  object-fit: contain;
}

.side-note {
  margin-top: 18px;
  padding: 16px;
  background: var(--warning);
  border: 1px solid #bfdbfe;
  border-radius: 8px;
}

.side-note strong {
  display: block;
  color: var(--primary-dark);
}

.side-note p {
  margin: 5px 0 0;
  color: #315172;
  font-size: 14px;
}

.stats-band {
  padding: 20px 0;
  background: var(--primary-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.stats-grid div {
  padding: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.stats-grid strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.stats-grid span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.section {
  padding: 86px 0;
}

.soft-section {
  background: var(--soft);
}

.heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.heading.left {
  margin: 0;
  text-align: left;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.module-grid article,
.visual-card,
.rule-list div,
.cards-3 article,
.process-grid article,
.review-grid article,
.news-list article,
.faq-list details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(37, 99, 235, 0.08);
}

.process-section {
  background: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.process-grid article {
  min-height: 210px;
  padding: 24px;
}

.process-grid span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  font-weight: 900;
}

.process-grid p {
  color: var(--muted);
}

.module-grid article {
  min-height: 260px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.module-grid p {
  color: var(--muted);
}

.module-grid a {
  margin-top: auto;
  text-decoration: none;
  font-weight: 800;
}

.feature-row {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
}

.visual-card {
  padding: 26px;
}

.visual-card img {
  display: block;
  width: 100%;
  max-height: 390px;
  object-fit: contain;
}

.feature-copy p {
  color: var(--muted);
}

.protection-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 52px;
  align-items: start;
}

.protection-layout p {
  color: var(--muted);
  font-size: 18px;
}

.rule-list {
  display: grid;
  gap: 14px;
}

.rule-list div {
  padding: 22px;
  border-left: 4px solid var(--primary);
}

.rule-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.rule-list span {
  color: var(--muted);
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cards-3 article {
  padding: 26px;
}

.cards-3 img {
  width: 100%;
  height: 190px;
  margin-bottom: 18px;
  object-fit: contain;
}

.cards-3 p {
  color: var(--muted);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.review-grid article {
  padding: 24px;
}

.review-grid p {
  color: var(--muted);
}

.review-grid strong {
  display: block;
  margin-top: 18px;
  color: var(--ink);
}

.news-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: start;
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-list article {
  padding: 24px;
}

.news-list span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
}

.news-list p {
  color: var(--muted);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list summary {
  padding: 20px 22px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--primary);
  font-size: 22px;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.download-section {
  padding: 68px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
}

.download-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.download-box h2,
.download-box p,
.download-box .label {
  color: #fff;
}

.download-box p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
}

.site-footer {
  color: rgba(255, 255, 255, 0.84);
  background: #162536;
}

.footer-inner {
  min-height: 170px;
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.footer-inner img {
  display: block;
  max-height: 40px;
  width: auto;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.footer-inner p {
  max-width: 600px;
  margin: 0;
}

.footer-inner span {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

@media (max-width: 1060px) {
  .hero-wrap,
  .feature-row,
  .protection-layout,
  .news-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .module-grid,
  .process-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1140px);
  }

  .header-inner {
    min-height: 64px;
  }

  .logo img {
    max-width: 128px;
  }

  .header-tools {
    display: none;
  }

  .hero,
  .section {
    padding: 58px 0;
  }

  h1 {
    font-size: 34px;
  }

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

  .button-row,
  .download-box,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .button-row a {
    width: 100%;
  }

  .stats-grid,
  .module-grid,
  .process-grid,
  .review-grid,
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .module-grid article,
  .process-grid article {
    min-height: 0;
  }

  .footer-inner span {
    white-space: normal;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 31px;
  }
}
