* {
  box-sizing: border-box;
}

:root {
  --primary: #2980FE;
  --primary-dark: #1768E8;
  --text: #1f2937;
  --muted: #64748b;
  --light: #f6f8fc;
  --line: #e5eaf2;
  --card: #ffffff;
  --gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
  --shadow: 0 18px 45px rgba(43, 74, 135, .12);
  --radius: 28px;
}

html {
  scroll-behavior: smooth;
}

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

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

img {
  max-width: 100%;
  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, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #111827;
  letter-spacing: .02em;
}

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

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

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.nav-toggle span {
  height: 2px;
  width: 100%;
  background: #1f2937;
  border-radius: 99px;
}

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

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

.site-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #475569;
  font-size: 15px;
}

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

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

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

.section {
  padding: 64px 0;
}

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

.section-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -.04em;
}

.section-desc {
  margin: 0;
  color: var(--muted);
  max-width: 780px;
}

.connection-workspace-hero {
  background: var(--gradient);
  color: #fff;
  padding: 56px 0 38px;
  position: relative;
  overflow: hidden;
}

.connection-workspace-hero::before,
.connection-workspace-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  filter: blur(6px);
}

.connection-workspace-hero::before {
  width: 240px;
  height: 240px;
  top: -90px;
  right: -60px;
}

.connection-workspace-hero::after {
  width: 160px;
  height: 160px;
  bottom: -60px;
  left: 12%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 9vw, 64px);
  line-height: 1.05;
  letter-spacing: -.06em;
}

.hero-copy p {
  margin: 0 0 24px;
  color: rgba(255,255,255,.88);
  font-size: 17px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-tags span,
.status-pill,
.category-badge,
.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.24);
}

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

.hero-device {
  width: min(390px, 92%);
  padding: 14px;
  border-radius: 32px;
  background: rgba(255,255,255,.17);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 25px 60px rgba(17, 24, 39, .18);
}

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

.status-panel {
  width: min(320px, 86%);
  background: rgba(255,255,255,.94);
  color: var(--text);
  border-radius: 26px;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .18);
}

.hero-status {
  position: absolute;
  left: 0;
  bottom: 8px;
}

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

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: #475569;
  font-size: 14px;
}

.status-row b {
  color: #111827;
}

.status-pill {
  background: #eaf3ff;
  color: var(--primary);
  margin-bottom: 8px;
}

.float-card {
  position: absolute;
  right: 0;
  top: 34px;
  width: 170px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  color: #334155;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .16);
}

.float-card span {
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
}

.float-card p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

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

.quick-task-grid {
  display: grid;
  gap: 14px;
}

.task-card,
.capability-card,
.info-card,
.faq-item,
.risk-card,
.step-card,
.scenario-card,
.page-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}

.task-card .mini-label,
.capability-card .mini-label {
  background: #edf5ff;
  color: var(--primary);
}

.task-card h2,
.capability-card h2,
.info-card h3,
.risk-card h3,
.step-card h3,
.scenario-card h3,
.page-card h2 {
  margin: 12px 0 8px;
  line-height: 1.25;
}

.task-card p,
.capability-card p,
.info-card p,
.risk-card p,
.step-card p,
.scenario-card p,
.page-card p {
  color: var(--muted);
  margin: 0 0 12px;
}

.text-link {
  color: var(--primary);
  font-weight: 800;
}

.connection-capability-overview {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.capability-card.featured {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.split-panel,
.secure-panel,
.route-panel,
.device-panel,
.boundary-panel,
.checkup-panel,
.page-panel,
.download-panel,
.about-panel {
  display: grid;
  gap: 28px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.panel-image {
  padding: 12px;
  border-radius: 28px;
  background: linear-gradient(180deg, #f6f9ff 0%, #eef3ff 100%);
  border: 1px solid var(--line);
}

.panel-image img {
  border-radius: 22px;
  margin: 0 auto;
}

.bullet-list,
.clean-list {
  padding: 0;
  margin: 18px 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.bullet-list li,
.clean-list li {
  position: relative;
  padding-left: 24px;
  color: #475569;
}

.bullet-list li::before,
.clean-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 99px;
  position: absolute;
  left: 0;
  top: .72em;
}

.secure-grid,
.boundary-grid,
.usage-grid,
.risk-grid,
.faq-grid,
.page-grid,
.route-status-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.secure-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.route-panel {
  background: #f8fbff;
}

.route-status {
  border-radius: 24px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.route-status .bar {
  height: 9px;
  border-radius: 99px;
  background: linear-gradient(90deg, #2980FE 0%, #9fbfff 65%, #e5eaf2 65%);
  margin: 10px 0;
}

.device-strip {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.device-chip {
  padding: 15px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid var(--line);
  font-weight: 800;
}

.process-steps {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.step-number {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: #eaf3ff;
  color: var(--primary);
  font-weight: 900;
}

.risk-card {
  border-left: 4px solid var(--primary);
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.cta-section {
  background: var(--gradient);
  color: #fff;
  text-align: center;
  border-radius: 34px;
  padding: 46px 24px;
  overflow: hidden;
  position: relative;
}

.cta-section p {
  color: rgba(255,255,255,.86);
  max-width: 680px;
  margin: 0 auto 22px;
}

.page-hero {
  padding: 56px 0 28px;
  background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
}

.page-layout {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

.category-badge {
  background: #eaf3ff;
  color: var(--primary);
  margin-bottom: 14px;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 7vw, 54px);
  line-height: 1.15;
  letter-spacing: -.05em;
}

.page-hero p {
  color: var(--muted);
  margin: 0 0 20px;
}

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

.side-panel h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.side-panel img {
  border-radius: 20px;
  margin: 14px 0;
}

.download-panel {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

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

.download-steps li {
  list-style: none;
  text-align: left;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
}

.download-steps li::before {
  counter-increment: item;
  content: counter(item);
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: #eaf3ff;
  color: var(--primary);
  font-weight: 900;
  margin-right: 10px;
}

.site-footer {
  background: #101827;
  color: #d8e0ee;
  padding-top: 48px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.site-footer h2 {
  color: #fff;
  font-size: 16px;
  margin: 0 0 12px;
}

.site-footer a {
  display: block;
  color: #cbd5e1;
  margin: 7px 0;
}

.site-footer p {
  margin: 0;
  color: #aebbd0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 34px;
  padding: 18px 0;
  color: #aebbd0;
  font-size: 14px;
}

@media (min-width: 680px) {
  .quick-task-grid,
  .secure-grid,
  .boundary-grid,
  .usage-grid,
  .risk-grid,
  .faq-grid,
  .page-grid,
  .route-status-grid,
  .process-steps,
  .download-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

  .site-nav a {
    font-size: 14px;
    white-space: nowrap;
  }

  .hero-grid,
  .split-panel,
  .route-panel,
  .device-panel,
  .checkup-panel,
  .page-layout,
  .about-panel {
    grid-template-columns: 1.05fr .95fr;
  }

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

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

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

  .capability-card {
    grid-column: span 2;
  }

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

  .secure-panel {
    grid-template-columns: 1.2fr .8fr;
  }

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

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

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

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

  .section {
    padding: 84px 0;
  }

  .split-panel,
  .secure-panel,
  .route-panel,
  .device-panel,
  .boundary-panel,
  .checkup-panel,
  .page-panel,
  .download-panel,
  .about-panel {
    padding: 34px;
  }
}

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

  .section {
    padding: 52px 0;
  }

  .hero-status {
    position: relative;
    width: 100%;
    margin-top: 14px;
  }

  .float-card {
    position: relative;
    width: 100%;
    margin-top: 14px;
  }

  .download-btn {
    width: 100%;
    min-height: 52px;
  }

  .task-card,
  .capability-card,
  .info-card,
  .faq-item,
  .risk-card,
  .step-card,
  .scenario-card,
  .page-card {
    padding: 18px;
  }
}
