* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #202635;
  background: #f6f8fc;
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #e8edf6;
  backdrop-filter: blur(12px);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: #142033;
  flex: 0 0 auto;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
}

.site-nav {
  display: none;
  width: 100%;
  padding: 12px 0 18px;
}

.site-nav a {
  display: block;
  padding: 10px 4px;
  color: #526070;
  font-size: 15px;
}

.site-nav a:hover {
  color: #2980FE;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  width: 42px;
  height: 42px;
  border: 1px solid #dbe3f0;
  border-radius: 14px;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle-label span {
  display: block;
  width: 18px;
  height: 2px;
  background: #253044;
  border-radius: 2px;
}

.nav-toggle:checked ~ .site-nav {
  display: block;
  position: absolute;
  left: 16px;
  right: 16px;
  top: 68px;
  width: auto;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid #e7edf7;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(36, 51, 87, 0.12);
}

.section {
  padding: 58px 0;
}

.section-soft {
  background: #eef4ff;
}

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

.section-title.align-left {
  margin-left: 0;
  text-align: left;
}

.eyebrow,
.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2980FE;
  background: #eef5ff;
  border: 1px solid #d9e8ff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
h3 {
  color: #141b2d;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(34px, 7vw, 62px);
  letter-spacing: -1.8px;
}

h2 {
  font-size: clamp(27px, 4vw, 42px);
  letter-spacing: -0.8px;
}

h3 {
  font-size: 20px;
}

p {
  margin: 12px 0 0;
  color: #5a6678;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #2980FE;
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(41, 128, 254, 0.28);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.download-btn:hover {
  background: #1768E8;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(23, 104, 232, 0.28);
}

.text-link {
  color: #2980FE;
  font-weight: 800;
}

.connection-workspace-hero {
  padding: 56px 0 44px;
  background: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
  color: #ffffff;
  border-bottom-left-radius: 34px;
  border-bottom-right-radius: 34px;
  overflow: hidden;
}

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

.hero-copy h1,
.hero-copy p {
  color: #ffffff;
}

.hero-copy p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

.hero-actions {
  margin-top: 24px;
}

.safety-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.safety-tags span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.hero-image-card {
  width: min(420px, 90%);
  padding: 18px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 34px 70px rgba(22, 25, 74, 0.28);
}

.hero-image-card img {
  border-radius: 26px;
}

.status-panel {
  position: absolute;
  left: 0;
  bottom: 24px;
  width: min(260px, 78%);
  padding: 18px;
  border-radius: 24px;
  background: #ffffff;
  color: #18213a;
  box-shadow: 0 20px 45px rgba(31, 39, 76, 0.22);
}

.status-panel strong {
  display: block;
  font-size: 18px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #edf1f7;
  color: #647084;
  font-size: 14px;
}

.status-row:last-child {
  border-bottom: 0;
}

.status-row span:last-child {
  color: #2980FE;
  font-weight: 800;
}

.float-badges {
  position: absolute;
  right: 0;
  top: 28px;
  display: grid;
  gap: 10px;
}

.float-badges span {
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #26324b;
  font-weight: 800;
  box-shadow: 0 16px 26px rgba(36, 41, 90, 0.16);
}

.quick-task-entries,
.card-grid,
.risk-grid,
.faq-grid,
.info-grid {
  display: grid;
  gap: 18px;
}

.quick-task-entries {
  margin-top: -24px;
  position: relative;
  z-index: 3;
}

.task-card,
.capability-card,
.info-card,
.risk-card,
.faq-item,
.step-card,
.notice-card,
.side-note {
  background: #ffffff;
  border: 1px solid #e5ebf5;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 14px 34px rgba(31, 47, 83, 0.06);
}

.task-card .tag,
.capability-card .tag {
  display: inline-block;
  color: #2980FE;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 12px;
}

.connection-capability-overview {
  display: grid;
  gap: 18px;
}

.capability-card.featured {
  background: linear-gradient(135deg, #ffffff, #eef5ff);
}

.capability-card .text-link,
.task-card .text-link,
.info-card .text-link,
.step-card .text-link,
.risk-card .text-link {
  display: inline-block;
  margin-top: 14px;
}

.feature-panel,
.security-panel,
.route-panel,
.device-panel,
.boundary-panel,
.checkup-panel {
  background: #ffffff;
  border: 1px solid #e6edf7;
  border-radius: 32px;
  padding: 24px;
  box-shadow: 0 18px 42px rgba(26, 43, 77, 0.08);
}

.split-grid,
.security-grid,
.route-grid,
.device-grid,
.boundary-grid,
.checkup-grid,
.page-grid,
.cta-grid {
  display: grid;
  gap: 26px;
  align-items: center;
}

.feature-list,
.clean-list,
.check-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.feature-list li,
.clean-list li,
.check-list li {
  position: relative;
  padding-left: 28px;
  color: #516074;
}

.feature-list li::before,
.clean-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2980FE;
  box-shadow: 0 0 0 5px #e5f0ff;
}

.product-shot {
  border-radius: 28px;
  background: #f4f7fc;
  border: 1px solid #e4ebf5;
  padding: 16px;
}

.product-shot img {
  border-radius: 22px;
}

.security-notes {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.security-notes div {
  padding: 18px;
  border-radius: 20px;
  background: #f6f9ff;
  border: 1px solid #e4edf9;
}

.line-status {
  display: grid;
  gap: 14px;
}

.line-status div {
  padding: 18px;
  border-radius: 20px;
  background: #f8fbff;
  border: 1px solid #e2ebf7;
}

.boundary-strip {
  display: grid;
  gap: 14px;
}

.boundary-strip div {
  border-left: 4px solid #2980FE;
  padding: 16px 18px;
  background: #f7faff;
  border-radius: 18px;
}

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

.step-card {
  position: relative;
  padding-left: 70px;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 24px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #2980FE;
  font-weight: 900;
}

.risk-card {
  border-top: 4px solid #2980FE;
}

.faq-item h3 {
  margin-bottom: 8px;
}

.cta-section {
  padding: 58px 0;
  background: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
  color: #ffffff;
  border-radius: 34px 34px 0 0;
}

.cta-section h2,
.cta-section p {
  color: #ffffff;
}

.cta-card {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.page-hero {
  padding: 54px 0 34px;
  background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
  border-bottom: 1px solid #e5ebf4;
}

.page-hero h1 {
  margin-top: 16px;
  max-width: 860px;
}

.page-hero p {
  max-width: 760px;
  font-size: 17px;
}

.content-panel {
  background: #ffffff;
  border: 1px solid #e5ebf5;
  border-radius: 30px;
  padding: 24px;
  box-shadow: 0 16px 38px rgba(31, 47, 83, 0.06);
}

.article-content h2 {
  margin-top: 28px;
  font-size: 28px;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content .download-wrap {
  margin-top: 28px;
}

.side-note {
  align-self: start;
}

.side-note h3 {
  margin-bottom: 10px;
}

.download-steps {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.download-steps div {
  padding: 18px;
  border-radius: 20px;
  background: #f7faff;
  border: 1px solid #e3ecf8;
}

.site-footer {
  background: #121928;
  color: #d7deea;
  padding: 44px 0 22px;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: #aeb9c9;
}

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

.footer-brand {
  color: #ffffff;
  font-weight: 900;
  font-size: 22px;
}

.site-footer h3 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 12px;
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

@media (min-width: 700px) {
  .quick-task-entries,
  .risk-grid,
  .faq-grid,
  .info-grid,
  .download-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

  .site-nav {
    display: flex;
    width: auto;
    padding: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
  }

  .site-nav a {
    padding: 8px 0;
  }

  .hero-grid {
    grid-template-columns: 1.03fr 0.97fr;
  }

  .connection-workspace-hero {
    padding: 78px 0 62px;
  }

  .quick-task-entries {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: -34px;
  }

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

  .capability-card.featured {
    grid-column: span 2;
    min-height: 230px;
  }

  .split-grid,
  .security-grid,
  .route-grid,
  .device-grid,
  .boundary-grid,
  .checkup-grid,
  .page-grid,
  .cta-grid {
    grid-template-columns: 1fr 1fr;
  }

  .security-notes,
  .boundary-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .info-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-grid {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .section {
    padding: 76px 0;
  }
}

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

  .hero-visual {
    min-height: 360px;
  }

  .status-panel {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: -12px;
    width: 100%;
  }

  .float-badges {
    position: relative;
    right: auto;
    top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-top: 12px;
  }

  .float-badges span {
    text-align: center;
    font-size: 13px;
    padding: 8px;
  }

  .download-btn {
    width: 100%;
  }

  .task-card,
  .capability-card,
  .info-card,
  .risk-card,
  .faq-item,
  .step-card,
  .notice-card,
  .content-panel,
  .side-note,
  .feature-panel,
  .security-panel,
  .route-panel,
  .device-panel,
  .boundary-panel,
  .checkup-panel {
    border-radius: 22px;
    padding: 20px;
  }

  .step-card {
    padding-left: 64px;
  }
}
