/* Generated by node resource/kkce/scripts/build-css.cjs. Edit the source files below. */

/* Source: css/styles.css */
:root {
  --navy: #3559ee;
  --navy-2: #eef2ff;
  --blue: #3154ed;
  --blue-dark: #2444d6;
  --cyan: #48bce9;
  --mint: #75dfcc;
  --ink: #19366f;
  --muted: #6379a4;
  --line: #d9e0f5;
  --surface: #f4f6ff;
  --white: #ffffff;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 122px;
  color: var(--ink);
  border-bottom: 1px solid #e6ebf4;
  background: rgba(251,252,255,.94);
  backdrop-filter: blur(18px);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.98); border-color: #dfe6f2; box-shadow: 0 12px 30px rgba(24,52,107,.08); }
.brand-bar { height: 68px; border-bottom: 1px solid #edf0f6; }
.brand-row { height: 100%; display: flex; align-items: center; }
.nav-bar { height: 54px; background: rgba(255,255,255,.68); }
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.site-header .brand { margin: 0; flex: 0 0 auto; }
.kkce-symbol { position: relative; display: inline-block; width: 34px; height: 34px; overflow: visible; border: 1.5px solid #36b8d8; border-radius: 50%; }
.kkce-symbol::before, .kkce-symbol::after { content: ""; position: absolute; left: 4px; right: 4px; top: 14px; height: 5px; border-top: 1px solid #4d76ef; border-bottom: 1px solid #76dfcc; border-radius: 50%; transform: rotate(55deg); }
.kkce-symbol::after { transform: rotate(-55deg); border-color: #76dfcc #4d76ef; }
.kkce-symbol i { position: absolute; z-index: 1; display: block; width: 6px; height: 6px; background: #3154ed; border: 1.5px solid #fff; border-radius: 50%; }
.kkce-symbol i:nth-child(1) { left: 13px; top: -4px; }
.kkce-symbol i:nth-child(2) { right: -4px; top: 13px; background: #48bce9; }
.kkce-symbol i:nth-child(3) { left: 4px; bottom: -2px; background: #75dfcc; }
.kkce-word { color: #18366f; font-size: 20px; font-weight: 800; letter-spacing: .8px; }
.desktop-nav { display: flex; align-items: center; justify-content: flex-start; flex: 1 1 auto; min-width: 0; gap: 1px; }
.desktop-nav a { display: inline-flex; align-items: center; gap: 5px; position: relative; height: 36px; padding: 0 8px; color: #56637b; border-radius: 6px; font-size: 12px; font-weight: 500; white-space: nowrap; transition: color .2s ease, background .2s ease; }
.desktop-nav a::after { content: ""; position: absolute; right: 10px; bottom: -9px; left: 10px; height: 2px; background: var(--blue); border-radius: 2px 2px 0 0; transform: scaleX(0); transition: transform .2s ease; }
.desktop-nav a:hover { color: #2449c9; background: #f1f4fb; }
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { transform: scaleX(1); }
.desktop-nav a.is-active { color: var(--blue); background: #edf2ff; font-weight: 700; }
.desktop-nav a.is-active:hover { background: #e8efff; }
.nav-glyph { position: relative; display: inline-block; width: 14px; height: 14px; color: #8792a6; }
.desktop-nav a:hover .nav-glyph, .desktop-nav a.is-active .nav-glyph { color: var(--blue); }
.nav-glyph::before { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; line-height: 1; }
.glyph-home::before { content: "⌂"; }
.glyph-ping::before { content: "⌁"; font-weight: 700; }
.glyph-speed::before { content: "▣"; font-size: 11px; }
.glyph-tcping::before { content: "⌁"; font-weight: 700; }
.glyph-route::before, .glyph-dns::before { content: "●"; font-size: 10px; }
.glyph-batch::before { content: "☷"; font-size: 15px; }
.glyph-tools::before { content: "▪▪"; font-size: 11px; letter-spacing: 1px; }
.glyph-monitor::before { content: "◉"; font-size: 11px; }
.glyph-support::before { content: "♟"; font-size: 12px; }
.nav-chevron { margin-left: 1px; color: #7f899a; font-size: 13px; line-height: 1; transform: translateY(-1px); }
.header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; height: 42px; margin-left: auto; padding: 0; white-space: nowrap; }
.action-icon, .login-arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.settings-link, .login-link { display: inline-flex; align-items: center; justify-content: center; height: 38px; border-radius: 6px; font-size: 12px; transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.settings-link { gap: 6px; padding: 0 7px; color: #56647b; border: 1px solid transparent; background: transparent; }
.settings-icon-shell { display: grid; width: 16px; height: 16px; place-items: center; color: #61718e; transition: color .2s ease, transform .2s ease; }
.settings-icon-shell .action-icon { width: 15px; height: 15px; }
.settings-link:hover { color: #2449c9; background: #f1f4fb; }
.settings-link:hover .settings-icon-shell { color: var(--blue); transform: rotate(14deg); }
.action-divider { width: 1px; height: 22px; background: #d9e1ef; }
.login-link { gap: 7px; min-width: 126px; padding: 0 10px; color: #fff; background: var(--blue); border: 1px solid var(--blue); box-shadow: 0 4px 10px rgba(49,84,237,.18); }
.login-link:hover { color: #fff; background: var(--blue-dark); border-color: var(--blue-dark); box-shadow: 0 8px 18px rgba(49,84,237,.25); transform: translateY(-1px); }
.account-avatar { display: grid; width: 16px; height: 16px; flex: 0 0 16px; place-items: center; color: #fff; }
.account-avatar .action-icon { width: 16px; height: 16px; }
.account-copy { display: flex; align-items: center; line-height: 1; text-align: left; }
.account-copy strong { color: #fff; font-size: 12px; font-weight: 600; }
.login-arrow-shell { display: grid; width: 10px; height: 16px; place-items: center; }
.login-arrow { width: 10px; height: 10px; transition: transform .2s ease; }
.login-link:hover .login-arrow { transform: translateX(2px); }
.settings-link:focus-visible, .login-link:focus-visible { outline: 2px solid #7a94ff; outline-offset: 2px; }
.menu-button, .mobile-nav { display: none; }

.hero {
  position: relative;
  height: clamp(420px, 58svh, 540px);
  min-height: 420px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}
#network-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .48; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(34,64,210,.08); pointer-events: none; }
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .14;
  background-image: linear-gradient(rgba(255,255,255,.45) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.45) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 62%);
}
.hero-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-top: 56px; padding-bottom: 48px; }
.hero-copy { max-width: 760px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: #e1e8ff; font-size: 13px; font-weight: 500; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 6px rgba(98,223,178,.12); animation: live 2s ease infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 10px rgba(98,223,178,0); } }
.hero h1 { margin: 0; color: var(--white); font-size: 58px; line-height: 1.14; letter-spacing: 0; font-weight: 700; }
.hero-lead { max-width: 700px; margin: 24px 0 0; color: #e9eeff; font-size: 18px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 22px; border-radius: 5px; font-size: 14px; font-weight: 600; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--white); color: var(--blue); box-shadow: 0 10px 24px rgba(25,45,146,.18); }
.button-primary:hover { background: #eef1ff; box-shadow: 0 14px 28px rgba(25,45,146,.24); }
.text-link { color: #f1f4ff; font-size: 14px; font-weight: 500; }
.text-link:hover { color: var(--white); }
.text-link span { margin-left: 7px; color: var(--mint); }
.section { padding: 108px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 58px; }
.section-label { margin: 0 0 14px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: 1.8px; }
.section-heading h2, .scenario h2 { margin: 0; color: var(--ink); font-size: 38px; line-height: 1.25; letter-spacing: 0; }
.section-heading > p { max-width: 460px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }

.advantages { background: var(--white); }
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.advantage-item { position: relative; min-width: 0; padding: 38px 26px 42px; border-right: 1px solid var(--line); }
.advantage-item:first-child { padding-left: 0; }
.advantage-item:last-child { padding-right: 0; border-right: 0; }
.advantage-item::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 2px; background: var(--blue); transition: right .3s ease; }
.advantage-item:hover::after { right: 0; }
.advantage-icon { position: relative; width: 38px; height: 38px; margin-bottom: 42px; color: var(--blue); }
.nodes-icon { border: 1.5px solid currentColor; border-radius: 50%; }
.nodes-icon::before, .nodes-icon::after { content: ""; position: absolute; inset: 8px -4px; border: 1px solid currentColor; border-radius: 50%; transform: rotate(55deg); }
.nodes-icon::after { transform: rotate(-55deg); }
.nodes-icon span { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); z-index: 1; }
.nodes-icon span:nth-child(1) { top: -3px; left: 15px; }.nodes-icon span:nth-child(2) { right: -4px; top: 21px; }.nodes-icon span:nth-child(3) { left: 1px; bottom: 1px; }
.pulse-icon::before { content: ""; position: absolute; inset: 1px; border: 1.5px solid currentColor; border-radius: 50%; }
.pulse-icon::after { content: ""; position: absolute; inset: -5px; border: 1px solid rgba(20,103,232,.22); border-radius: 50%; }
.pulse-icon span { position: absolute; z-index: 1; top: 18px; left: 5px; width: 29px; height: 10px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: skewY(-35deg); }
.bell-icon { border: 1.5px solid currentColor; border-radius: 18px 18px 8px 8px; border-bottom: 0; width: 31px; height: 31px; margin-left: 3px; }
.bell-icon::before { content: ""; position: absolute; left: -5px; right: -5px; bottom: 0; height: 1.5px; background: currentColor; }
.bell-icon::after { content: ""; position: absolute; width: 7px; height: 4px; left: 11px; bottom: -6px; border-radius: 0 0 8px 8px; background: var(--cyan); }
.chart-icon { display: flex; align-items: end; gap: 5px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; padding: 0 0 4px 5px; }
.chart-icon span { width: 6px; background: currentColor; }.chart-icon span:nth-child(1){height:12px}.chart-icon span:nth-child(2){height:23px;background:var(--cyan)}.chart-icon span:nth-child(3){height:31px}
.item-index { position: absolute; top: 41px; right: 24px; color: #aebdca; font-size: 11px; font-weight: 600; }
.advantage-item h3 { min-height: 50px; margin: 0 0 15px; font-size: 18px; line-height: 1.5; }
.advantage-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.95; }

.products { padding-bottom: 24px; background: var(--surface); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { display: flex; flex-direction: column; min-height: 352px; padding: 27px 28px; border: 1px solid #e0e8f1; border-radius: 8px; background: var(--white); box-shadow: 0 5px 20px rgba(18,35,59,.035); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-5px); border-color: #a8c9f4; box-shadow: 0 18px 40px rgba(18,74,145,.10); }
.product-top { display: flex; align-items: center; justify-content: space-between; min-height: 25px; margin-bottom: 27px; }
.product-top::before { content: ""; width: 5px; height: 10px; margin-left: 2px; background: var(--blue); box-shadow: 10px 0 0 #7aaaf0, 20px 0 0 var(--cyan); }
.product-tag { padding: 5px 8px; color: #6576a1; background: #f0f3ff; border-radius: 4px; font-size: 10px; }
.product-card h3 { margin: 0 0 13px; font-size: 21px; }
.product-card > p { margin: 0 0 25px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.product-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.product-meta > span { color: #8a98a9; font-size: 11px; }
.product-meta strong { color: #6c7b8d; font-size: 11px; font-weight: 400; }
.product-meta b { color: var(--ink); font-size: 16px; }
.detail-link { display: flex; min-height: 40px; align-items: center; justify-content: space-between; margin-top: 20px; padding: 0 12px; color: var(--blue); background: #f1f3ff; border: 1px solid #d7defd; border-radius: 5px; font-size: 13px; font-weight: 600; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.detail-link span { font-size: 17px; transition: transform .2s ease; }
.detail-link:hover { color: var(--white); background: var(--blue); border-color: var(--blue); }
.detail-link:hover span { transform: translateX(4px); }

.scenario-intro { display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: 54px; min-height: 112px; margin-top: 28px; padding: 22px 0; border-top: 1px solid #d6e1ed; scroll-margin-top: 90px; }
.scenario-intro-title { display: flex; align-items: center; gap: 18px; }
.scenario-intro-title .section-label { margin-bottom: 7px; }
.scenario-intro-title h3 { margin: 0; color: var(--ink); font-size: 22px; line-height: 1.4; }
.scenario-intro > p { margin: 0; padding-left: 54px; color: var(--muted); border-left: 1px solid #d6e1ed; font-size: 13px; line-height: 1.95; }
.scenario-intro-mark { position: relative; flex: 0 0 46px; width: 46px; height: 46px; border: 1px solid #b6d1f5; border-radius: 50%; }
.scenario-intro-mark::before, .scenario-intro-mark::after { content: ""; position: absolute; left: 8px; right: 8px; top: 22px; height: 1px; background: #b6d1f5; transform: rotate(34deg); }
.scenario-intro-mark::after { transform: rotate(-34deg); }
.scenario-intro-mark i { position: absolute; z-index: 1; width: 7px; height: 7px; background: var(--blue); border: 2px solid var(--surface); border-radius: 50%; }
.scenario-intro-mark i:nth-child(1) { left: 5px; top: 19px; }
.scenario-intro-mark i:nth-child(2) { right: 5px; top: 9px; background: var(--cyan); }
.scenario-intro-mark i:nth-child(3) { right: 8px; bottom: 7px; background: var(--mint); }

.scenario { position: relative; overflow: hidden; padding: 92px 0 82px; color: var(--ink); background: var(--navy-2); }
#scenario-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .2; }
.scenario-inner { position: relative; z-index: 1; }
.section-label.light { color: var(--blue); }
.scenario h2 { color: #29439c; font-size: 36px; }
.scenario-heading { display: flex; align-items: end; justify-content: space-between; gap: 52px; }
.scenario-heading > p { max-width: 470px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.button-light { color: var(--navy); background: var(--white); }
.button-light:hover { background: #eaf2f8; }
.flow-diagram { position: relative; height: 430px; margin-top: 54px; border-top: 1px solid rgba(49,84,237,.15); border-bottom: 1px solid rgba(49,84,237,.15); }
.flow-connectors { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow-connectors .flow-path { fill: none; stroke: rgba(49,84,237,.66); stroke-width: 2; stroke-dasharray: 7 6; vector-effect: non-scaling-stroke; animation: flow-dash 1.8s linear infinite; }
.flow-connectors marker path { fill: #28a8d2; }
.flow-connectors text { fill: #668aa7; font-size: 10px; text-anchor: middle; letter-spacing: 0; }
.flow-node { position: absolute; display: grid; width: 150px; min-height: 150px; place-items: center; align-content: center; padding: 18px 12px 15px; color: var(--ink); background: rgba(255,255,255,.92); border: 1px solid rgba(49,84,237,.23); border-radius: 8px; box-shadow: 0 16px 32px rgba(49,84,237,.08); transform: translate(-50%, -50%); }
.flow-node::before { content: ""; position: absolute; inset: -1px auto -1px -1px; width: 2px; background: var(--blue); border-radius: 8px 0 0 8px; }
.flow-node strong { margin-top: 12px; font-size: 14px; line-height: 1.4; text-align: center; }
.flow-node small { margin-top: 6px; color: #64839e; font-size: 10px; line-height: 1.5; text-align: center; }
.flow-step { position: absolute; top: 10px; right: 11px; color: #82a4bf; font-size: 9px; }
.node-targets { left: 10%; top: 50%; }
.node-probes { left: 30%; top: 50%; }
.node-center { left: 51%; top: 50%; border-color: rgba(49,84,237,.42); background: #f5f7ff; box-shadow: 0 20px 44px rgba(49,84,237,.1); }
.node-center::before { background: var(--cyan); }
.node-console { left: 74%; top: 24%; }
.node-alerts { left: 74%; top: 76%; }
.node-operator { left: 93%; top: 50%; }
.node-alerts::before { background: var(--cyan); }
.node-operator::before { background: var(--cyan); }
.flow-node-icon { position: relative; display: block; width: 44px; height: 40px; color: #5bc6f2; }
.icon-targets { border: 1px solid currentColor; border-radius: 4px; }
.icon-targets::after { content: ""; position: absolute; left: 5px; right: 5px; top: 8px; height: 1px; background: currentColor; opacity: .5; }
.icon-targets i { position: absolute; bottom: 8px; width: 6px; background: currentColor; border-radius: 1px; }
.icon-targets i:nth-child(1) { left: 7px; height: 9px; }.icon-targets i:nth-child(2) { left: 18px; height: 15px; background: var(--mint); }.icon-targets i:nth-child(3) { right: 7px; height: 20px; }
.icon-probes { border: 1px solid currentColor; border-radius: 50%; }
.icon-probes::before, .icon-probes::after { content: ""; position: absolute; border: 1px solid currentColor; border-radius: 50%; }
.icon-probes::before { inset: 7px; }.icon-probes::after { inset: 14px; background: var(--mint); border-color: var(--mint); }
.icon-probes i { position: absolute; left: 21px; top: -4px; width: 1px; height: 48px; background: currentColor; transform: rotate(45deg); opacity: .5; }
.icon-center::before { content: ""; position: absolute; left: 3px; right: 3px; bottom: 5px; height: 23px; border: 1px solid currentColor; border-radius: 14px 14px 5px 5px; }
.icon-center::after { content: ""; position: absolute; width: 19px; height: 19px; left: 12px; top: 0; border: 1px solid currentColor; border-radius: 50%; background: #f5f7ff; }
.icon-center i { position: absolute; z-index: 1; left: 20px; bottom: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }
.icon-console { border: 1px solid currentColor; border-radius: 3px; }
.icon-console::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -5px; height: 5px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.icon-console i { position: absolute; left: 7px; height: 2px; background: currentColor; }.icon-console i:nth-child(1){top:10px;width:20px}.icon-console i:nth-child(2){top:17px;width:29px;background:var(--mint)}.icon-console i:nth-child(3){top:24px;width:15px}
.icon-alerts { width: 36px; margin-left: 4px; border: 1px solid currentColor; border-bottom: 0; border-radius: 18px 18px 6px 6px; }
.icon-alerts::before { content: ""; position: absolute; left: -5px; right: -5px; bottom: 1px; height: 1px; background: currentColor; }
.icon-alerts::after { content: ""; position: absolute; left: 14px; bottom: -5px; width: 8px; height: 4px; border-radius: 0 0 6px 6px; background: var(--mint); }
.icon-operator::before { content: ""; position: absolute; left: 13px; top: 1px; width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; }
.icon-operator::after { content: ""; position: absolute; left: 5px; bottom: 0; width: 34px; height: 16px; border: 1px solid currentColor; border-radius: 18px 18px 4px 4px; }
.icon-operator i { position: absolute; z-index: 1; right: 2px; bottom: 2px; width: 8px; height: 8px; background: var(--mint); border: 2px solid var(--white); border-radius: 50%; }
@keyframes flow-dash { to { stroke-dashoffset: -26; } }

.site-footer { color: #6679a0; background: #edf1ff; border-top: 1px solid #dce3fa; }
.footer-main { display: flex; align-items: center; justify-content: space-between; padding-top: 50px; padding-bottom: 45px; }
.footer-brand { color: var(--ink); }
.footer-main p { margin: 15px 0 0; font-size: 12px; }
.footer-links { display: flex; gap: 30px; font-size: 12px; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid #d8e0f7; color: #7584aa; font-size: 10px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 28px; max-width: calc(100% - 32px); padding: 13px 18px; color: var(--white); background: #1473cf; border: 1px solid #69bce9; border-radius: 6px; box-shadow: 0 16px 40px rgba(30,112,174,.20); font-size: 13px; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast strong { color: var(--mint); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1200px) and (min-width: 981px) {
  .nav-wrap { gap: 7px; }
  .desktop-nav { gap: 0; }
  .desktop-nav a { gap: 3px; padding: 0 5px; font-size: 11px; }
  .desktop-nav a::after { right: 7px; left: 7px; }
  .header-actions { gap: 8px; }
  .settings-link { padding-right: 7px; padding-left: 4px; }
  .login-link { padding-right: 4px; padding-left: 4px; }
}

@media (max-width: 980px) {
  .site-header { height: 76px; }
  .brand-bar { height: 76px; border-bottom: 0; }
  .nav-bar, .desktop-nav, .header-actions { display: none; }
  .site-header .brand { margin-left: 0; margin-right: 0; }
  .kkce-word { font-size: 22px; }
  .menu-button { display: grid; gap: 5px; margin-left: auto; padding: 10px 0 10px 14px; border: 0; background: transparent; }
  .menu-button span { width: 22px; height: 1px; background: var(--blue); transition: .2s ease; }
  .menu-button.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button.active span:nth-child(2) { opacity: 0; }
  .menu-button.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .mobile-nav { display: grid; position: absolute; left: 0; right: 0; top: 76px; max-height: calc(100svh - 76px); padding: 14px 24px 20px; gap: 0; overflow-y: auto; background: rgba(251,252,255,.98); border-top: 1px solid #e1e8f2; box-shadow: 0 16px 28px rgba(35,61,111,.1); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .2s ease; }
  .mobile-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-nav a { padding: 13px 10px; color: #536078; border-bottom: 1px solid #e5ebf3; font-size: 14px; }
  .mobile-nav a.is-active { color: var(--blue); background: #eaf0ff; border-radius: 6px; font-weight: 700; }
  .mobile-nav-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6px; margin-top: 16px; padding: 6px; background: #f3f6fc; border: 1px solid #dfe6f1; border-radius: 9px; }
  .mobile-nav .mobile-settings-link, .mobile-nav .mobile-login-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 12px; border: 1px solid transparent; border-radius: 6px; font-size: 13px; font-weight: 600; transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
  .mobile-nav .mobile-settings-link { color: #4d5a70; background: #fff; border-color: #dfe6f1; box-shadow: 0 2px 6px rgba(38,63,112,.05); }
  .mobile-nav .mobile-settings-link:hover { color: var(--blue); border-color: #cbd7fb; }
  .mobile-nav .mobile-login-link { color: #fff; background: var(--blue); border-color: var(--blue); box-shadow: 0 6px 14px rgba(49,84,237,.18); }
  .mobile-nav .mobile-login-link:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
  .mobile-nav .mobile-settings-link:focus-visible, .mobile-nav .mobile-login-link:focus-visible { outline: 2px solid #7a94ff; outline-offset: 2px; }
  .hero { height: auto; min-height: 500px; }
  .hero-inner { grid-template-columns: 1fr 380px; gap: 36px; padding-top: 56px; padding-bottom: 56px; }
  .hero h1 { font-size: 48px; }
  .hero-lead { font-size: 16px; }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-item:nth-child(2) { border-right: 0; }
  .advantage-item:first-child, .advantage-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .advantage-item:nth-child(3) { padding-left: 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .scenario-intro { grid-template-columns: 250px 1fr; gap: 34px; }
  .scenario-intro > p { padding-left: 34px; }
}

@media (max-width: 800px) {
  .scenario-heading { display: block; }
  .scenario-heading > p { margin-top: 18px; }
  .flow-diagram { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "targets targets" "probes probes" "center center" "console alerts" "operator operator"; gap: 32px 12px; height: auto; padding: 34px 0; }
  .flow-connectors { display: none; }
  .flow-node { position: relative; left: auto; top: auto; width: 100%; min-height: 142px; transform: none; }
  .flow-node:not(.node-operator)::after { content: "↓"; position: absolute; left: 50%; bottom: -27px; color: var(--mint); font-size: 16px; transform: translateX(-50%); }
  .node-targets { grid-area: targets; }
  .node-probes { grid-area: probes; }
  .node-center { grid-area: center; }
  .node-console { grid-area: console; }
  .node-alerts { grid-area: alerts; }
  .node-operator { grid-area: operator; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 32px, var(--container)); }
  .site-header { height: 62px; }
  .brand-bar { height: 62px; }
  .mobile-nav { top: 62px; }
  .hero { min-height: 460px; }
  .hero-inner { display: block; padding-top: 50px; padding-bottom: 44px; }
  .hero-copy { max-width: 560px; }
  .hero h1 { font-size: 40px; }
  .hero-lead { margin-top: 19px; font-size: 15px; line-height: 1.75; }
  .hero-actions { margin-top: 27px; }
  .hero-grid { mask-image: none; }
  .section { padding: 78px 0; }
  .section-heading { display: block; margin-bottom: 40px; }
  .section-heading h2, .scenario h2 { font-size: 30px; }
  .section-heading > p { margin-top: 18px; }
  .advantage-grid { grid-template-columns: 1fr; }
  .advantage-item, .advantage-item:first-child, .advantage-item:nth-child(3) { padding: 30px 0 34px; border-right: 0; border-bottom: 1px solid var(--line); }
  .advantage-item:last-child { border-bottom: 0; }
  .advantage-icon { margin-bottom: 28px; }
  .item-index { right: 2px; top: 34px; }
  .advantage-item h3 { min-height: auto; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 330px; }
  .products { padding-bottom: 28px; }
  .scenario-intro { display: block; margin-top: 28px; padding: 26px 0 4px; }
  .scenario-intro > p { margin-top: 20px; padding: 18px 0 0; border-top: 1px solid #d6e1ed; border-left: 0; }
  .scenario { padding: 76px 0; }
  .flow-diagram { margin-top: 38px; }
  .footer-main { display: block; }
  .footer-links { margin-top: 30px; flex-wrap: wrap; }
  .footer-bottom { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 覆盖 Bootstrap 的 .container 强制限制为 1200px */
.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  max-width: 1200px !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Source: css/allTools.css */
/** {*/
        /*    margin: 0;*/
        /*    padding: 0;*/
        /*    box-sizing: border-box;*/
        /*}*/

        body {
            /*font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;*/
            /* background: #f0f2f5; */
            color: #333;
            line-height: 1.6;
        }

        /* 顶部导航 */
        .header {
            background: #fff;
            box-shadow: 0 1px 3px rgba(0,0,0,0.08);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 24px;
            font-weight: 800;
            color: #1a1a1a;
            text-decoration: none;
        }

        .logo svg {
            width: 40px;
            height: 40px;
        }

        .nav-menu {
            display: flex;
            gap: 28px;
            list-style: none;
        }

        .nav-menu a {
            text-decoration: none;
            color: #666;
            font-size: 14px;
            transition: color 0.2s;
        }

        .nav-menu a:hover, .nav-menu a.active {
            color: #1890ff;
        }

        /* 主容器 */
        .main-container {
            max-width: 1200px;
            margin: 20px auto;
        }

        /* ===== Hero / Banner（参照 allTools-kkce 设计） ===== */
        .hero {
            position: relative;
            height: 400px;
            min-height: 400px;
            overflow: hidden;
            color: #ffffff;
            background: #3559ee;
            margin-top: 10px;
        }

        .hero #particle-canvas {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            opacity: .55;
        }

        .hero::after {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(34, 64, 210, .08);
            pointer-events: none;
        }

        .hero-grid {
            position: absolute;
            inset: 0;
            opacity: .14;
            background-image:
                linear-gradient(rgba(255, 255, 255, .45) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, .45) 1px, transparent 1px);
            background-size: 64px 64px;
            -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 62%);
            mask-image: linear-gradient(90deg, #000 0%, transparent 62%);
            pointer-events: none;
        }

        .hero-glow {
            position: absolute;
            right: -10%;
            top: -30%;
            width: 70%;
            height: 140%;
            background: radial-gradient(circle at 70% 40%, rgba(117, 223, 204, .18), transparent 55%);
            pointer-events: none;
        }

        .hero .container {
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: 1200px;
            height: 100%;
            margin: 0 auto;
            padding: 0 20px;
        }

        .hero-inner {
            display: flex;
            align-items: center;
            height: 100%;
            padding-top: 20px;
            padding-bottom: 20px;
        }

        .hero-copy {
            max-width: 760px;
            animation: fadeUp .8s ease both;
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin: 0 0 20px;
            padding: 6px 12px 6px 10px;
            border-radius: 999px;
            background: rgba(255, 255, 255, .10);
            color: #e1e8ff;
            font-size: 13px;
            font-weight: 500;
            backdrop-filter: blur(4px);
        }

        .live-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #75dfcc;
            box-shadow: 0 0 0 6px rgba(98, 223, 178, .12);
            animation: live 2s ease infinite;
        }

        .hero h1 {
            margin: 0;
            color: #ffffff;
            font-size: 40px;
            line-height: 1.12;
            letter-spacing: -0.5px;
            font-weight: 700;
            animation: fadeUp .8s ease .1s both;
        }

        .hero-lead {
            max-width: 680px;
            margin: 22px 0 0;
            color: #e9eeff;
            font-size: 15px;
            line-height: 1.8;
            animation: fadeUp .8s ease .2s both;
        }

        .hero-actions {
            display: flex;
            align-items: center;
            gap: 24px;
            margin-top: 36px;
            animation: fadeUp .8s ease .4s both;
        }

        .hero .button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            min-height: 46px;
            padding: 0 24px;
            border-radius: 5px;
            font-size: 14px;
            font-weight: 600;
            transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
        }

        .hero .button:hover { transform: translateY(-2px); }

        .hero .button-primary {
            background: #ffffff;
            color: #3154ed;
            box-shadow: 0 10px 24px rgba(25, 45, 146, .18);
        }

        .hero .button-primary:hover {
            background: #eef1ff;
            box-shadow: 0 14px 28px rgba(25, 45, 146, .24);
        }

        @keyframes live {
            50% { box-shadow: 0 0 0 10px rgba(98, 223, 178, 0); }
        }

        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(18px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 1100px) {
            .hero h1 { font-size: 44px; }
        }

        @media (max-width: 900px) {
            .hero { height: 460px; min-height: 460px; }
            .hero h1 { font-size: 36px; }
            .hero-lead { font-size: 15px; }
            .tools-grid { grid-template-columns: repeat(2, 1fr); }
        }

        /* 工具分类 */
        .tools-section {
            margin: 20px 0;
            padding: 0 20px;
        }

        .tools-section:first-of-type {
            margin-top: 30px;
        }

        .section-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 22px;
        }

        .section-icon {
            display: grid;
            place-items: center;
            width: 36px;
            height: 36px;
            border-radius: 8px;
            flex: 0 0 36px;
            background: #3154ed;
            color: #fff;
        }

        .section-icon svg {
            width: 22px;
            height: 22px;
            fill: #fff;
        }

        .section-icon svg.stroke-icon {
            fill: none;
            stroke: #fff;
            stroke-width: 4;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .section-title {
            font-size: 18px;
            font-weight: 600;
            margin: 0 0 4px;
        }

        .section-subtitle {
            color: #5f6b7d;
            font-size: 13px;
            margin: 0;
        }

        /* 工具网格 */
        .tools-grid {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 16px;
        }

        .tool-card {
            display: block;
            position: relative;
            min-width: 0;
            overflow: visible;
            min-height: 80px;
            box-sizing: border-box;
            padding: 19px 16px 12px;
            border: 1px solid #e4e8f0;
            border-radius: 8px;
            background: #fff;
            color: inherit;
            box-shadow: 0 2px 8px rgba(18, 35, 59, .04);
            transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
        }

        .tool-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 24px rgba(18, 35, 59, .08);
            border-color: #d7defd;
        }

        .tool-card h3 {
            margin: 0 0 6px;
            font-size: 15px;
            line-height: 1.4;
            color: #1a2233;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .tool-card p {
            margin: 0;
            font-size: 11px;
            color: #5f6b7d;
            line-height: 1.6;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .tool-card .catalog-item-icon {
            display: block;
            object-fit: contain;
            margin-bottom: 8px;
        }

/* Source: shared/css/responsive.css */
/* Keep the PC layout; desktop-view.js fits it to smaller screens. */
:root {
  --kkce-desktop-gutter: 16px;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Bound the PC canvas on phones; hidden menus must not enlarge the page when zooming.
   clip preserves the page's vertical scrolling, sticky headings and native pinch panning. */
html.kkce-desktop-fit body {
  overflow-x: clip;
}

.index-header .nav-item-hover.dropdown.is-open .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (hover: none), (pointer: coarse) {
  .index-header .nav-item-hover.dropdown:not(.is-open) .mega-panel {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
