* {
  box-sizing: border-box;
}

:root {
  --primary: rgb(70,139,223);
  --primary-deep: #1f5fa8;
  --primary-soft: #eaf4ff;
  --ink: #142033;
  --muted: #627083;
  --line: rgba(70,139,223,0.16);
  --card: rgba(255,255,255,0.88);
  --bg: #f6fbff;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(33, 85, 145, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 38%, #f5f9ff 100%);
  line-height: 1.72;
  overflow-x: hidden;
}

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

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

.container {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

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

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

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #11345e;
}

.logo img,
.footer-logo img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(70,139,223,0.22);
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  place-content: center;
  gap: 5px;
  background: #fff;
}

.nav-toggle-label span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary-deep);
}

.site-nav {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 76px;
  display: none;
  flex-direction: column;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.nav-toggle:checked ~ .site-nav {
  display: flex;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 12px;
  color: #36516f;
  font-weight: 650;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--primary-deep);
  background: var(--primary-soft);
}

.section {
  padding: 64px 0;
}

.section-tight {
  padding: 40px 0;
}

.hero {
  position: relative;
  padding: 56px 0 70px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -120px -80px auto auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(70,139,223,0.28), transparent 66%);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  gap: 34px;
  align-items: center;
}

.eyebrow,
.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary-deep);
  background: rgba(255,255,255,0.78);
  font-size: 13px;
  font-weight: 750;
}

.hero h1,
.page-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 7vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.055em;
  color: #10243f;
}

.page-hero h1 {
  font-size: clamp(32px, 6vw, 54px);
}

.hero p,
.page-hero p,
.lead {
  color: #52657c;
  font-size: 17px;
  margin: 0 0 24px;
}

.hero-tags,
.soft-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 28px;
}

.hero-tags span,
.soft-tags span {
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #31506f;
  font-size: 13px;
  font-weight: 650;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #2f76c8);
  box-shadow: 0 14px 26px rgba(70,139,223,0.28);
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform .2s ease, box-shadow .2s ease;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(70,139,223,0.34);
}

.hero-visual {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(70,139,223,0.18);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(235,246,255,0.82));
  box-shadow: var(--shadow);
}

.app-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
  border-radius: 26px;
  background: radial-gradient(circle at 50% 10%, rgba(70,139,223,0.22), transparent 38%), #f7fbff;
  overflow: hidden;
}

.app-frame img {
  width: min(78%, 280px);
  filter: drop-shadow(0 24px 40px rgba(37,92,154,0.22));
}

.status-card,
.floating-label {
  position: absolute;
  z-index: 3;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(32,82,141,0.12);
  backdrop-filter: blur(10px);
}

.status-card {
  left: 12px;
  top: 24px;
  width: 188px;
  padding: 14px;
  border-radius: 18px;
}

.status-card strong {
  display: block;
  color: #173c66;
  font-size: 15px;
}

.status-card span {
  color: #607287;
  font-size: 12px;
}

.status-line {
  height: 8px;
  border-radius: 999px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--primary), #8dc4ff);
}

.floating-label {
  right: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #244b74;
  font-size: 12px;
  font-weight: 750;
}

.floating-label.one { top: 72px; }
.floating-label.two { bottom: 92px; }
.floating-label.three { bottom: 36px; right: 46px; }

.trust-strip {
  display: grid;
  gap: 12px;
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.trust-item {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(44,94,151,0.08);
}

.trust-item strong {
  display: block;
  color: #173b64;
  margin-bottom: 5px;
}

.trust-item span {
  color: var(--muted);
  font-size: 14px;
}

.section-title {
  margin: 0 auto 28px;
  max-width: 760px;
  text-align: center;
}

.section-title h2,
.content-block h2,
.security-copy h2,
.cta-section h2 {
  margin: 0 0 12px;
  color: #10243f;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.section-title p,
.content-block p,
.security-copy p,
.card p,
.guide-card p,
.faq-item p {
  margin: 0;
  color: var(--muted);
}

.category-grid,
.feature-grid,
.scenario-grid,
.guide-grid,
.faq-grid,
.article-grid {
  display: grid;
  gap: 16px;
}

.category-card,
.card,
.guide-card,
.faq-item,
.article-card,
.tip-box,
.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(47,92,145,0.08);
}

.category-card,
.card,
.guide-card,
.article-card {
  padding: 22px;
}

.category-card:hover,
.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(70,139,223,0.34);
}

.category-card,
.article-card {
  transition: transform .2s ease, border-color .2s ease;
}

.category-card h3,
.card h3,
.guide-card h3,
.article-card h3,
.step-card h3 {
  margin: 0 0 8px;
  color: #153a63;
  font-size: 20px;
}

.card-icon,
.category-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--primary-deep);
  background: var(--primary-soft);
  font-weight: 900;
  margin-bottom: 14px;
}

.split-layout,
.security-layout,
.page-two-col {
  display: grid;
  gap: 26px;
  align-items: center;
}

.content-block {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(145deg, #fff, #eef7ff);
  border: 1px solid var(--line);
}

.security-panel {
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(70,139,223,0.12), rgba(255,255,255,0.9));
  border: 1px solid var(--line);
}

.security-node {
  display: flex;
  gap: 12px;
  padding: 16px;
  margin: 12px 0;
  border-radius: 18px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(70,139,223,0.12);
}

.security-node b {
  color: #173b64;
}

.security-node span {
  color: var(--muted);
  font-size: 14px;
}

.steps {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 22px;
  overflow: hidden;
}

.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
}

.scenario-card {
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #ffffff, #f1f8ff);
  border: 1px solid var(--line);
}

.scenario-card h3 {
  margin: 0 0 8px;
  color: #173b64;
}

.cta-section {
  text-align: center;
  padding: 42px 22px;
  border-radius: 30px;
  background: radial-gradient(circle at 50% 0, rgba(70,139,223,0.20), transparent 42%), linear-gradient(135deg, #eef7ff, #ffffff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cta-section p {
  max-width: 720px;
  margin: 0 auto 24px;
  color: var(--muted);
}

.page-hero {
  padding: 54px 0 24px;
  background: radial-gradient(circle at 20% 0, rgba(70,139,223,0.18), transparent 36%);
}

.page-content {
  padding: 32px 0 70px;
}

.article-body {
  max-width: 850px;
  margin: 0 auto;
  padding: 26px;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 14px 32px rgba(47,92,145,0.08);
}

.article-body h2,
.article-body h3 {
  color: #153a63;
  margin-top: 28px;
}

.article-body p {
  color: #52657c;
}

.article-body ul,
.article-body ol {
  padding-left: 20px;
  color: #52657c;
}

.article-body li {
  margin: 8px 0;
}

.tip-box {
  padding: 18px;
  margin: 22px 0;
  background: linear-gradient(135deg, #eef7ff, #ffffff);
}

.tip-box strong {
  display: block;
  color: #173b64;
  margin-bottom: 6px;
}

.inline-cta {
  margin-top: 28px;
  text-align: center;
}

.faq-item {
  padding: 20px;
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #153a63;
}

.download-panel {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(145deg, #fff, #edf7ff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.download-panel .download-btn {
  margin: 8px 0 20px;
}

.site-footer {
  padding: 46px 0 22px;
  color: #506274;
  background: #f1f7ff;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: #173b64;
}

.site-footer a:not(.footer-logo) {
  display: block;
  margin: 8px 0;
  color: #506274;
}

.site-footer p {
  max-width: 420px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

@media (min-width: 640px) {
  .trust-strip,
  .category-grid,
  .feature-grid,
  .scenario-grid,
  .guide-grid,
  .faq-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 920px) {
  .nav-toggle-label {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .hero {
    padding: 82px 0 88px;
  }

  .hero-layout,
  .split-layout,
  .security-layout,
  .page-two-col {
    grid-template-columns: 1.02fr .98fr;
  }

  .trust-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .category-grid,
  .feature-grid,
  .scenario-grid,
  .guide-grid,
  .article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr .8fr .8fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .article-body {
    padding: 38px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero h1,
  .page-hero h1 {
    font-size: 32px;
  }

  .app-frame {
    min-height: 320px;
  }

  .floating-label.three {
    right: 12px;
  }

  .download-btn {
    width: 100%;
  }
}
