:root {
  --gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
  --blue: #2980FE;
  --blue-dark: #1768E8;
  --text: #1f2937;
  --muted: #64748b;
  --light: #f5f8ff;
  --line: #e4eaf5;
  --card: #ffffff;
  --soft: #eef4ff;
  --shadow: 0 18px 50px rgba(37, 64, 125, .12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}
* { box-sizing: border-box; }
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(--text);
  background: #f7f9fd;
  line-height: 1.75;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 32px, 1160px); margin: 0 auto; }
.section { padding: 58px 0; }
.section-title { margin: 0 0 14px; font-size: clamp(1.7rem, 4vw, 2.65rem); line-height: 1.2; letter-spacing: -.03em; }
.section-lead { margin: 0 0 28px; color: var(--muted); max-width: 760px; }
.kicker, .category-badge, .mini-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue);
  font-weight: 700;
  font-size: .88rem;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-shell { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: #15203a; white-space: nowrap; }
.brand-logo { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; box-shadow: 0 8px 24px rgba(41,128,254,.16); }
.nav-toggle { display: none; }
.nav-toggle-label { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px; display: grid; place-content: center; gap: 5px; cursor: pointer; background: #fff; }
.nav-toggle-label span { display: block; width: 20px; height: 2px; background: #24324f; border-radius: 999px; }
.site-nav {
  display: none;
  position: absolute;
  left: 16px;
  right: 16px;
  top: 78px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.site-nav a { display: block; padding: 11px 12px; border-radius: 12px; color: #475569; font-weight: 650; }
.site-nav a:hover, .site-nav a.active { background: #eef5ff; color: var(--blue); }
.nav-toggle:checked ~ .site-nav { display: block; }
.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(41,128,254,.25);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.download-btn:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(23,104,232,.28); }
.connection-workspace-hero {
  margin: 18px auto 0;
  padding: 36px 0 46px;
  background: var(--gradient);
  color: #fff;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.connection-workspace-hero:before,
.connection-workspace-hero:after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  filter: blur(2px);
}
.connection-workspace-hero:before { width: 320px; height: 320px; right: -120px; top: -80px; }
.connection-workspace-hero:after { width: 220px; height: 220px; left: -110px; bottom: -80px; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 34px; align-items: center; }
.hero-copy h1 { font-size: clamp(2.25rem, 8vw, 4.6rem); line-height: 1.05; margin: 16px 0; letter-spacing: -.055em; }
.hero-copy p { font-size: 1.06rem; color: rgba(255,255,255,.88); margin: 0 0 22px; max-width: 690px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-tags span { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); padding: 8px 12px; border-radius: 999px; color: #fff; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 360px; }
.product-card {
  width: min(100%, 440px);
  padding: 18px;
  border-radius: 34px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 24px 60px rgba(20, 35, 78, .22);
}
.product-card img { border-radius: 26px; width: 100%; object-fit: cover; }
.status-panel, .floating-task {
  background: rgba(255,255,255,.94);
  color: #1f2937;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(18, 32, 72, .18);
}
.status-panel { position: absolute; right: 0; bottom: 14px; width: min(88%, 260px); padding: 18px; }
.status-panel h3 { margin: 0 0 12px; font-size: 1rem; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .92rem; color: #475569; border-top: 1px solid #e8eef8; padding-top: 10px; margin-top: 10px; }
.dot { width: 10px; height: 10px; background: #22c55e; border-radius: 50%; display: inline-block; margin-right: 6px; box-shadow: 0 0 0 6px rgba(34,197,94,.1); }
.floating-task { position: absolute; left: 0; top: 18px; padding: 14px 16px; font-weight: 800; color: var(--blue); }
.quick-task-entries, .risk-grid, .scenario-grid, .faq-grid, .card-grid { display: grid; gap: 16px; }
.quick-task-entries { grid-template-columns: 1fr; margin-top: -28px; position: relative; z-index: 2; }
.task-entry, .task-card, .capability-card, .info-card, .faq-item, .risk-card, .step-card, .article-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 34px rgba(32,58,116,.07);
}
.task-entry { padding: 22px; }
.task-entry h3, .task-card h3, .capability-card h3, .info-card h3, .risk-card h3, .step-card h3 { margin: 8px 0 8px; line-height: 1.28; }
.task-entry p, .task-card p, .capability-card p, .info-card p, .risk-card p, .step-card p, .faq-item p { color: var(--muted); margin: 0 0 14px; }
.text-link { color: var(--blue); font-weight: 800; }
.text-link:hover { color: var(--blue-dark); }
.connection-capability-overview { display: grid; gap: 16px; }
.capability-card { padding: 24px; position: relative; overflow: hidden; }
.capability-card.large { background: linear-gradient(145deg, #fff, #eff5ff); }
.capability-card.large:after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(41,128,254,.1); }
.feature-panel, .split-panel, .safe-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
}
.split-grid { display: grid; gap: 24px; align-items: center; }
.feature-list { display: grid; gap: 12px; padding: 0; margin: 20px 0; list-style: none; }
.feature-list li { display: flex; gap: 10px; color: #42526d; }
.feature-list li:before { content: ""; width: 9px; height: 9px; margin-top: 11px; border-radius: 50%; background: var(--blue); flex: 0 0 auto; }
.image-frame { background: linear-gradient(135deg, #eef4ff, #f8f3ff); border-radius: 30px; padding: 16px; }
.image-frame img { border-radius: 24px; }
.encrypted-tunnel-section { background: #fff; }
.safe-panel { display: grid; gap: 22px; }
.safe-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 15px 0; }
.safe-tags span { padding: 8px 12px; border-radius: 999px; background: #f0f6ff; color: var(--blue); font-weight: 700; }
.route-optimization-section, .usage-scenarios-section, .connection-checkup-section { background: #f1f6ff; }
.route-status { display: grid; gap: 14px; }
.route-status .bar { height: 10px; border-radius: 999px; background: #e8eef8; overflow: hidden; }
.route-status .bar span { display: block; height: 100%; border-radius: inherit; background: var(--gradient); }
.device-stack { display: grid; gap: 14px; }
.device-chip { padding: 16px; border-radius: 22px; background: #f7faff; border: 1px solid var(--line); }
.data-boundary-section .info-card, .usage-scenarios-section .info-card, .risk-card { padding: 22px; }
.process-steps { display: grid; gap: 16px; counter-reset: steps; }
.step-card { padding: 22px; position: relative; }
.step-num { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 14px; background: var(--blue); color: #fff; font-weight: 900; }
.risk-card { border-left: 4px solid var(--blue); }
.cta-section {
  padding: 58px 0;
  background: var(--gradient);
  color: #fff;
  text-align: center;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.cta-section p { color: rgba(255,255,255,.86); max-width: 680px; margin: 0 auto 24px; }
.page-hero {
  padding: 52px 0 34px;
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin: 16px 0 14px; font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1.15; letter-spacing: -.04em; }
.page-hero p { color: var(--muted); max-width: 760px; margin: 0; }
.article-layout { display: grid; gap: 22px; align-items: start; }
.article-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 24px; box-shadow: var(--shadow); }
.article-main h2 { margin-top: 0; }
.article-main p { color: #475569; }
.article-side { display: grid; gap: 16px; }
.note-box { background: #f4f8ff; border: 1px solid #dbeafe; border-radius: 22px; padding: 18px; color: #41506b; }
.checklist { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.checklist li { padding: 12px 14px; border-radius: 16px; background: #f7faff; border: 1px solid var(--line); }
.checklist li strong { color: #17233d; }
.download-zone { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.download-steps { display: grid; gap: 14px; margin: 24px 0; }
.download-steps .step-card { box-shadow: none; }
.faq-item { padding: 22px; }
.faq-item h2, .faq-item h3 { margin: 0 0 8px; font-size: 1.08rem; }
.site-footer { background: #16213a; color: #dbe5f4; padding: 46px 0 18px; }
.footer-grid { display: grid; gap: 26px; }
.footer-brand { font-size: 1.25rem; font-weight: 900; color: #fff; margin-bottom: 10px; }
.site-footer p { color: #b9c4d8; margin: 0; }
.site-footer h3 { color: #fff; margin: 0 0 12px; }
.site-footer a { display: block; color: #cbd5e1; margin: 8px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #aab7cc; font-size: .92rem; }
@media (min-width: 680px) {
  .quick-task-entries, .card-grid, .scenario-grid, .risk-grid, .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .nav-toggle-label { display: none; }
  .site-nav { display: flex; position: static; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; align-items: center; gap: 4px; }
  .site-nav a { padding: 9px 11px; font-size: .93rem; }
  .connection-workspace-hero { margin-top: 24px; padding: 68px 0; }
  .hero-grid { grid-template-columns: 1.03fr .97fr; }
  .hero-copy p { font-size: 1.16rem; }
  .quick-task-entries { grid-template-columns: repeat(4, 1fr); }
  .connection-capability-overview { grid-template-columns: repeat(4, 1fr); }
  .capability-card.large { grid-column: span 2; min-height: 230px; }
  .split-grid { grid-template-columns: 1fr 1fr; }
  .safe-panel { grid-template-columns: 1fr .86fr; align-items: center; }
  .data-boundary-section .card-grid { grid-template-columns: repeat(3, 1fr); }
  .usage-scenarios-section .scenario-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .risk-grid { grid-template-columns: repeat(4, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .article-main { padding: 36px; }
  .footer-grid { grid-template-columns: 1.35fr .7fr .7fr; }
}
@media (min-width: 1120px) {
  .site-nav a { padding: 10px 13px; }
  .product-card { width: 470px; }
  .hero-visual { min-height: 520px; }
}
@media (max-width: 420px) {
  .container { width: min(100% - 24px, 1160px); }
  .section { padding: 44px 0; }
  .connection-workspace-hero { border-radius: 0 0 26px 26px; }
  .status-panel, .floating-task { position: static; width: 100%; margin-top: 14px; }
  .hero-visual { min-height: auto; }
  .download-btn { width: 100%; }
}
