/* 疾控智慧化培训管理系统官网
   Design direction: 公共卫生培训指挥台
*/

:root {
  --brand-navy: #17324a;
  --brand-blue: #1769d2;
  --brand-cyan: #06a6c8;
  --brand-green: #1fcc7b;
  --blue-950: #0d253d;
  --blue-900: var(--brand-navy);
  --blue-800: #145fc0;
  --blue-700: var(--brand-blue);
  --blue-600: #2878dc;
  --cyan-500: var(--brand-cyan);
  --cyan-100: #e7fafd;
  --blue-100: #e8f1fb;
  --blue-050: #f2f7fc;
  --green-700: #0b8f5a;
  --green-600: var(--brand-green);
  --green-100: #e7fbf1;
  --accent-600: var(--brand-green);
  --accent-100: #e7fbf1;
  --ink: #17212b;
  --ink-soft: #334150;
  --muted: #667487;
  --line: #dbe5ef;
  --line-strong: #bdd0e4;
  --paper: #f4f7fb;
  --paper-cool: #f3f7fb;
  --surface: #ffffff;
  --danger: #c23b3b;
  --success: #168a5b;
  --warning: #0b8f5a;
  --shadow-xs: 0 1px 2px rgba(5, 43, 99, .08);
  --shadow-sm: 0 8px 24px rgba(5, 43, 99, .08);
  --shadow-md: 0 18px 48px rgba(5, 43, 99, .13);
  --radius: 8px;
  --radius-sm: 6px;
  --container: 1200px;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(6, 166, 200, .10), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(23, 105, 210, .10), transparent 26%),
    linear-gradient(90deg, rgba(23, 105, 210, .045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 105, 210, .035) 1px, transparent 1px),
    var(--paper);
  background-size: 56px 56px;
  font-family: "HarmonyOS Sans SC", "MiSans", "Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0%, rgba(6, 166, 200, .06) 42%, transparent 56%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .74), transparent 42%);
  background-size: 240% 100%, 100% 100%;
  animation: pageSweep 16s linear infinite;
}

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

[hidden] {
  display: none !important;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(31, 204, 123, .56);
  outline-offset: 3px;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(249, 252, 255, .88);
  border-bottom: 1px solid rgba(189, 208, 228, .8);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 160px;
}

.brand-logo {
  display: block;
  width: 160px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex: 1;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink-soft);
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--brand-green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-800);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-800);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.phone-link svg {
  width: 16px;
  height: 16px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--blue-800);
  transition: transform .18s var(--ease), opacity .18s var(--ease);
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 750;
  letter-spacing: 0;
  transition: transform .16s var(--ease), background .16s var(--ease), border .16s var(--ease), box-shadow .16s var(--ease), color .16s var(--ease);
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900) 72%);
  box-shadow: 0 10px 24px rgba(23, 105, 210, .24), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(23, 105, 210, .30);
}

.btn-secondary {
  color: var(--blue-800);
  background: #fff;
  border: 1px solid rgba(31, 204, 123, .55);
}

.btn-secondary:hover {
  background: var(--green-100);
}

.btn-ghost {
  color: var(--blue-800);
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
}

.btn-white {
  color: var(--blue-800);
  background: #fff;
}

.btn svg {
  width: 17px;
  height: 17px;
}

.section {
  padding: 84px 0;
}

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

.section-band {
  background: rgba(255, 255, 255, .65);
  border-top: 1px solid rgba(189, 208, 228, .55);
  border-bottom: 1px solid rgba(189, 208, 228, .55);
}

.section-dark {
  background:
    radial-gradient(circle at 16% 18%, rgba(31, 204, 123, .18), transparent 30%),
    linear-gradient(135deg, var(--blue-900), #051c3e 62%, #032a32);
  color: #fff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

h1,
h2,
h3,
.serif {
  font-family: "HarmonyOS Sans SC", "MiSans", "Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 42px;
  line-height: 1.16;
  font-weight: 760;
}

h2 {
  font-size: 32px;
  line-height: 1.22;
  font-weight: 780;
  color: var(--blue-900);
}

h3 {
  font-size: 25px;
  line-height: 1.22;
  color: var(--blue-900);
}

.section-head p,
.lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
}

.section-head > p {
  display: block;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 16px;
  padding: 4px 10px;
  color: var(--green-700);
  background: rgba(227, 245, 242, .82);
  border: 1px solid rgba(31, 204, 123, .24);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 850;
}

.hero {
  position: relative;
  min-height: calc(78vh - var(--nav-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(244, 247, 251, .98) 0%, rgba(244, 247, 251, .92) 42%, rgba(232, 241, 251, .78) 100%),
    radial-gradient(circle at 68% 18%, rgba(6, 166, 200, .16), transparent 25%),
    linear-gradient(90deg, rgba(23, 105, 210, .055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 105, 210, .04) 1px, transparent 1px);
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-position: center, 68% 18%, center, center;
  background-size: auto, auto, 72px 72px, 72px 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/public-health-command.png") no-repeat right center / auto 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .14) 35%, rgba(0, 0, 0, .72) 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .14) 35%, rgba(0, 0, 0, .72) 100%);
  opacity: .28;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--paper));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(400px, 1.06fr);
  gap: 38px;
  align-items: center;
  padding: 38px 0 66px;
}

.hero-copy {
  max-width: 640px;
}

.hero-copy h1 {
  color: var(--blue-950);
  font-size: 44px;
  text-wrap: balance;
}

.hero-copy .lead {
  max-width: 570px;
  margin-top: 18px;
  font-size: 16px;
  color: var(--ink-soft);
}

.hero-visual {
  position: relative;
  margin: 0;
  aspect-ratio: 1.32 / 1;
  min-height: 0;
  padding: 22px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 45%, rgba(6, 166, 200, .18), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, .36), rgba(232, 241, 251, .18));
  box-shadow: inset 0 0 0 1px rgba(6, 166, 200, .16);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-visual::before {
  inset: 28px;
  border: 1px solid rgba(6, 166, 200, .22);
  border-radius: 18px;
  animation: pulseFrame 3.6s ease-in-out infinite;
}

.hero-visual::after {
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: conic-gradient(from 120deg, transparent, rgba(6, 166, 200, .22), transparent 32%, rgba(31, 204, 123, .16), transparent 64%);
  filter: blur(1px);
  animation: slowRotate 18s linear infinite;
  opacity: .8;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 26px 42px rgba(5, 43, 99, .18));
  animation: floatPanel 7s var(--ease) infinite;
}

.hero-visual:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(6, 166, 200, .24), 0 22px 48px rgba(5, 43, 99, .10);
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-proof {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .64);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, .75);
  backdrop-filter: blur(14px);
}

.proof-item {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-num {
  display: block;
  color: var(--blue-800);
  font-family: "DIN Alternate", "JetBrains Mono", ui-monospace, monospace;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
}

.proof-label {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.hero-banner {
  position: relative;
  min-height: 500px;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 18px;
  border: 1px solid rgba(189, 208, 228, .82);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(242, 247, 252, .86)),
    linear-gradient(90deg, rgba(23, 105, 210, .04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 105, 210, .035) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, .82);
  overflow: hidden;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(6, 166, 200, .12) 48%, transparent 60%);
  background-size: 220% 100%;
  animation: heroScan 11s linear infinite;
  opacity: .72;
}

.banner-tabs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 6px;
  background: rgba(232, 241, 251, .76);
  border: 1px solid rgba(189, 208, 228, .72);
  border-radius: 10px;
}

.banner-tab {
  min-height: 40px;
  padding: 0 12px;
  color: var(--ink-soft);
  background: transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 850;
  transition: color .16s var(--ease), background .16s var(--ease), box-shadow .16s var(--ease), transform .16s var(--ease);
}

.banner-tab:hover {
  color: var(--blue-800);
  transform: translateY(-1px);
}

.banner-tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  box-shadow: 0 10px 20px rgba(23, 105, 210, .18);
}

.banner-stage {
  position: relative;
  z-index: 1;
  min-height: 0;
}

.banner-slide {
  position: absolute;
  inset: 0;
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 22px;
  padding: 32px 10px 10px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}

.banner-slide.active {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.banner-copy {
  max-width: 520px;
}

.banner-copy h2 {
  font-size: 31px;
  color: var(--blue-950);
}

.banner-copy p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.banner-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-self: end;
}

.metric-card {
  min-height: 154px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.metric-card:hover,
.flow-card:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 166, 200, .42);
  box-shadow: var(--shadow-sm);
}

.metric-card > span,
.flow-card > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: var(--radius);
}

.metric-card svg,
.flow-card svg {
  width: 21px;
  height: 21px;
}

.metric-card strong,
.flow-card strong {
  color: var(--blue-900);
  font-size: 16px;
}

.metric-card small,
.flow-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.phone-shell,
.ecosystem-phone {
  padding: 16px;
  border: 1px solid rgba(189, 208, 228, .92);
  border-radius: 18px;
  background:
    linear-gradient(180deg, #fff, #f4f8fc),
    var(--surface);
  box-shadow: 0 18px 38px rgba(5, 43, 99, .16);
}

.phone-top {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-600), var(--blue-700));
  border-radius: 11px;
  font-weight: 850;
}

.phone-task {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.phone-task + .phone-task {
  margin-top: 10px;
}

.phone-task.active {
  border-color: rgba(31, 204, 123, .36);
  background: linear-gradient(180deg, rgba(227, 245, 242, .78), #fff);
}

.phone-task b,
.phone-task span {
  display: block;
}

.phone-task b {
  color: var(--blue-900);
  font-size: 14px;
}

.phone-task span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.dashboard-frame {
  position: relative;
  background: #fff;
  border: 1px solid rgba(189, 208, 228, .95);
  border-radius: 12px;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(6, 166, 200, .10);
  overflow: hidden;
  transform-style: preserve-3d;
  animation: floatPanel 7s var(--ease) infinite;
  will-change: transform;
}

.dashboard-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 20%, rgba(6, 166, 200, .24), transparent 44%);
  transform: translateX(-120%);
  animation: frameSweep 5.5s linear infinite;
  opacity: .65;
}

.dashboard-top {
  position: relative;
  z-index: 2;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(90deg, var(--blue-900), var(--blue-700));
}

.dash-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.dash-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .14);
  animation: pulseDot 1.8s ease-in-out infinite;
}

.dashboard-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 156px 1fr;
  min-height: 420px;
}

.dash-side {
  padding: 18px 12px;
  background: linear-gradient(180deg, #064492, #07336d);
  color: rgba(255, 255, 255, .78);
}

.dash-side span {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  border-radius: 7px;
  font-size: 13px;
}

.dash-side span.active {
  color: #fff;
  background: rgba(255, 255, 255, .13);
}

.dash-main {
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(23, 105, 210, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 105, 210, .03) 1px, transparent 1px),
    linear-gradient(180deg, #fbfdff, #f4f8fc);
  background-size: 34px 34px, 34px 34px, auto;
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dash-kpi {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.dash-kpi:hover,
.panel:hover,
.mock-panel:hover,
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 166, 200, .42);
  box-shadow: 0 16px 42px rgba(5, 43, 99, .13);
}

.dash-kpi strong {
  display: block;
  color: var(--blue-900);
  font-family: "DIN Alternate", ui-monospace, monospace;
  font-size: 28px;
  line-height: 1;
}

.dash-kpi span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.task-panel {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 14px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-weight: 800;
  color: var(--blue-900);
}

.status-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #edf2f7;
  transition: transform .16s var(--ease), background .16s var(--ease);
}

.status-row:hover {
  transform: translateX(4px);
  background: rgba(6, 166, 200, .045);
}

.status-row:first-of-type {
  border-top: 0;
}

.status-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 8px;
}

.status-row strong {
  display: block;
  font-size: 14px;
}

.status-row small {
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 5px;
  color: var(--blue-800);
  background: var(--blue-100);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.tag.green {
  color: var(--green-700);
  background: var(--green-100);
}

.tag.accent {
  color: var(--green-700);
  background: var(--accent-100);
  border: 1px solid rgba(31, 204, 123, .18);
}

.chart {
  height: 168px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 9px;
  align-items: end;
  padding-top: 18px;
}

.bar {
  transform-origin: bottom;
  animation: barRise .75s var(--ease) both;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--green-600), var(--blue-700));
}

.bar:nth-child(2) { animation-delay: .06s; }
.bar:nth-child(3) { animation-delay: .12s; }
.bar:nth-child(4) { animation-delay: .18s; }
.bar:nth-child(5) { animation-delay: .24s; }
.bar:nth-child(6) { animation-delay: .30s; }
.bar:nth-child(7) { animation-delay: .36s; }
.bar:nth-child(8) { animation-delay: .42s; }

.flow-rail {
  position: absolute;
  left: 50%;
  bottom: -48px;
  width: min(960px, calc(100vw - 64px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
  border-radius: 12px;
  overflow: hidden;
  z-index: 2;
  backdrop-filter: blur(18px);
}

.flow-step {
  position: relative;
  padding: 16px 14px;
  text-align: center;
  border-right: 1px solid var(--line);
  transition: background .22s var(--ease), transform .22s var(--ease);
}

.flow-step::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan-500), var(--green-600));
  opacity: 0;
  transform: scaleX(.25);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}

.flow-step.is-active {
  background: linear-gradient(180deg, rgba(6, 166, 200, .12), rgba(23, 105, 210, .045));
  transform: translateY(-2px);
}

.flow-step.is-active::before {
  opacity: 1;
  transform: scaleX(1);
}

.flow-step:last-child {
  border-right: 0;
}

.flow-step b {
  display: block;
  color: var(--blue-800);
  font-size: 14px;
}

.flow-step small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.pain-grid,
.feature-grid,
.scenario-grid,
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-grid.three,
.scenario-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  padding: 24px;
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}

.card h3,
.card h4 {
  margin: 0;
  color: var(--blue-900);
}

.card h4 {
  font-size: 17px;
  line-height: 1.35;
}

.card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--blue-700);
  font-weight: 800;
  font-size: 14px;
}

.icon-box {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}

.card:hover .icon-box,
.resource-row:hover .icon-box,
.case-row:hover .icon-box {
  transform: translateY(-2px) scale(1.04);
  color: #fff;
  background: linear-gradient(135deg, var(--blue-700), var(--cyan-500));
}

.icon-box.green {
  color: var(--green-700);
  background: var(--green-100);
}

.icon-box.accent {
  color: var(--green-700);
  background: var(--accent-100);
}

.icon-box svg {
  width: 23px;
  height: 23px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
}

.mini-program-layout {
  grid-template-columns: minmax(0, .86fr) minmax(560px, 1.14fr);
  gap: 48px;
}

.mini-program-section .lead {
  max-width: 620px;
}

.ecosystem-panel {
  position: relative;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  grid-template-areas:
    "phone flow"
    "summary summary";
  gap: 16px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid rgba(189, 208, 228, .86);
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 18%, rgba(6, 166, 200, .14), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(244, 248, 252, .78));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.ecosystem-panel::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 292px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(6, 166, 200, .34), transparent);
  pointer-events: none;
}

.ecosystem-panel .ecosystem-phone {
  grid-area: phone;
  align-self: stretch;
}

.ecosystem-flow {
  grid-area: flow;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ecosystem-flow .flow-card:first-child {
  grid-column: 1 / -1;
}

.flow-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 132px;
  padding: 16px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.flow-card strong,
.flow-card small {
  display: block;
}

.ecosystem-summary {
  grid-area: summary;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(189, 208, 228, .66);
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
}

.ecosystem-summary div {
  padding: 2px 12px;
  border-left: 3px solid rgba(6, 166, 200, .42);
}

.ecosystem-summary strong,
.ecosystem-summary small {
  display: block;
}

.ecosystem-summary strong {
  color: var(--blue-900);
  font-size: 15px;
}

.ecosystem-summary small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.check-list {
  display: grid;
  gap: 15px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .28em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-100);
  border: 1px solid rgba(31, 204, 123, .35);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: .62em;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--green-700);
  border-bottom: 2px solid var(--green-700);
  transform: rotate(-45deg);
}

.capability-map {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 34px;
}

.lifecycle-nav {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  align-self: start;
  padding: 18px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-xs);
}

.lifecycle-nav h3 {
  margin-bottom: 18px;
  font-family: inherit;
  font-size: 16px;
}

.life-btn {
  width: 100%;
  min-height: 56px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  padding: 9px 10px;
  color: var(--ink-soft);
  background: transparent;
  border-radius: var(--radius);
  text-align: left;
  transition: background .18s var(--ease), transform .18s var(--ease), color .18s var(--ease);
}

.life-btn:hover {
  transform: translateX(3px);
  background: rgba(6, 166, 200, .08);
}

.life-btn span:first-child {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue-700);
  background: var(--blue-100);
  font-family: "DIN Alternate", ui-monospace, monospace;
  font-weight: 800;
}

.life-btn strong {
  display: block;
  font-size: 14px;
}

.life-btn small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.life-btn.active {
  color: var(--blue-900);
  background: linear-gradient(90deg, rgba(6, 166, 200, .16), rgba(23, 105, 210, .08));
}

.life-btn.active span:first-child {
  color: #fff;
  background: linear-gradient(135deg, var(--green-600), var(--blue-700));
  box-shadow: 0 0 0 4px rgba(6, 166, 200, .12);
}

.module-block {
  margin-bottom: 26px;
  padding: 34px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-xs);
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.module-block:hover {
  border-color: rgba(6, 166, 200, .32);
  box-shadow: var(--shadow-sm);
}

.module-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 34px;
  align-items: center;
}

.module-meta {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--blue-700);
  font-weight: 800;
  font-size: 14px;
}

.mock-panel {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.mock-top {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #fff;
  background: linear-gradient(90deg, var(--blue-900), var(--blue-700));
  font-size: 13px;
  font-weight: 800;
}

.mock-content {
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(23, 105, 210, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 105, 210, .03) 1px, transparent 1px),
    #fbfdff;
  background-size: 32px 32px, 32px 32px, auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.table th,
.table td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf2f7;
  text-align: left;
  font-size: 14px;
  vertical-align: top;
}

.table th {
  color: var(--ink-soft);
  background: #eef5fb;
  font-weight: 800;
}

.table td:first-child {
  color: var(--blue-900);
  font-weight: 760;
}

.table tbody tr {
  transition: background .16s var(--ease);
}

.table tbody tr:hover {
  background: rgba(6, 166, 200, .05);
}

.table tr:last-child td {
  border-bottom: 0;
}

.sticky-tabs {
  position: sticky;
  top: var(--nav-h);
  z-index: 80;
  background: rgba(249, 252, 255, .90);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.tabs-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-scroll::-webkit-scrollbar {
  display: none;
}

.tab-link,
.filter-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--ink-soft);
  background: transparent;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 800;
}

.tab-link.active,
.filter-btn.active {
  color: var(--blue-800);
  border-color: var(--brand-green);
}

.case-filter-tabs {
  gap: 10px;
  flex-wrap: wrap;
}

.case-filter-tabs .filter-btn {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-xs);
  transition: transform .16s var(--ease), color .16s var(--ease), background .16s var(--ease), border-color .16s var(--ease), box-shadow .16s var(--ease);
}

.case-filter-tabs .filter-btn:hover {
  color: var(--blue-800);
  border-color: rgba(6, 166, 200, .58);
  transform: translateY(-2px);
}

.case-filter-tabs .filter-btn.active {
  color: #fff;
  border-color: var(--blue-700);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  box-shadow: 0 10px 22px rgba(23, 105, 210, .18);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  background:
    linear-gradient(90deg, rgba(244, 247, 251, .98), rgba(244, 247, 251, .82)),
    radial-gradient(circle at 78% 10%, rgba(6, 166, 200, .16), transparent 26%);
  border-bottom: 1px solid rgba(189, 208, 228, .65);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../img/public-health-command.png") right center / auto 118% no-repeat;
  opacity: .42;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 48%, rgba(0, 0, 0, .08) 60%, rgba(0, 0, 0, .42) 76%, rgba(0, 0, 0, .88) 92%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 48%, rgba(0, 0, 0, .08) 60%, rgba(0, 0, 0, .42) 76%, rgba(0, 0, 0, .88) 92%, #000 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(244, 247, 251, .98) 0%, rgba(244, 247, 251, .96) 46%, rgba(244, 247, 251, .72) 62%, rgba(244, 247, 251, .28) 80%, transparent 100%),
    linear-gradient(90deg, rgba(23, 105, 210, .06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 105, 210, .04) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 760px;
  font-size: 40px;
  color: var(--blue-900);
  text-wrap: balance;
}

.page-hero p {
  max-width: 680px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 16px;
}

.solution-stack {
  display: grid;
  gap: 22px;
}

.solution-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 26px;
  padding: 28px;
  background: rgba(255, 255, 255, .84);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-xs);
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.solution-card:hover,
.resource-row:hover,
.case-row:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 166, 200, .36);
  box-shadow: var(--shadow-sm);
}

.solution-level {
  border-right: 1px solid var(--line);
  padding-right: 24px;
}

.solution-level strong {
  display: block;
  color: var(--blue-900);
  font-family: inherit;
  font-size: 24px;
}

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

.solution-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mini-title {
  margin-bottom: 8px;
  color: var(--green-700);
  font-weight: 850;
  font-size: 14px;
}

.bullet-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 15px;
}

.bullet-list li + li {
  margin-top: 6px;
}

.library-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
}

.filter-panel {
  align-self: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.search-box {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: #fff;
}

.filter-stack {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.filter-stack .filter-btn {
  justify-content: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.filter-stack .filter-btn.active {
  color: #fff;
  background: var(--blue-700);
  border-color: var(--blue-700);
}

.resource-list,
.case-list {
  display: grid;
  gap: 14px;
}

.resource-row,
.case-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, .84);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}

.resource-row h3,
.case-row h3 {
  margin: 0;
  font-family: inherit;
  font-size: 17px;
}

.resource-row p,
.case-row p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.row-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.case-row {
  grid-template-columns: 64px minmax(0, 1.1fr) minmax(180px, .8fr) minmax(220px, 1fr);
}

.case-row.filter-enter {
  animation: filterEnter .28s var(--ease) both;
}

.case-scope,
.case-result {
  color: var(--ink-soft);
  font-size: 14px;
}

.filter-result-line {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.empty-state {
  padding: 28px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, .78);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

.testimonial-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.quote {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-xs);
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.quote:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 166, 200, .32);
  box-shadow: var(--shadow-sm);
}

.quote p {
  color: var(--ink-soft);
  font-size: 17px;
}

.quote cite {
  display: block;
  margin-top: 18px;
  color: var(--blue-800);
  font-style: normal;
  font-weight: 800;
}

.about-panel {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--line-strong);
}

.timeline-item {
  position: relative;
  padding-left: 54px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--green-600);
}

.trial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  gap: 28px;
  align-items: start;
}

.form-card,
.delivery-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.form-grid > label.field {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}

.field label span,
.form-grid > label.field span {
  color: var(--danger);
}

.field input,
.field select,
.field textarea,
.form-card .form-grid > label input,
.form-card .form-grid > label select,
.form-card .form-grid > label textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border .16s var(--ease), box-shadow .16s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

.form-card .form-grid > label input,
.form-card .form-grid > label select,
.form-card .form-grid > label textarea {
  margin-top: 8px;
}

.field select,
.form-card .form-grid > label select {
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 52%,
    calc(100% - 13px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field textarea,
.form-card .form-grid > label textarea {
  min-height: 118px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.form-card .form-grid > label input:focus,
.form-card .form-grid > label select:focus,
.form-card .form-grid > label textarea:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(31, 204, 123, .12);
}

.field-error {
  min-height: 18px;
  color: var(--danger);
  font-size: 12px;
}

.delivery-steps {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.delivery-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
}

.delivery-step b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green-600);
  border-radius: 50%;
  font-family: "DIN Alternate", ui-monospace, monospace;
}

.delivery-step strong {
  display: block;
  color: var(--blue-900);
}

.delivery-step span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-inline: auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 22px;
  color: var(--blue-900);
  background: #fff;
  text-align: left;
  font-weight: 850;
}

.faq-q svg {
  width: 18px;
  height: 18px;
  transition: transform .18s var(--ease);
}

.faq-item.open .faq-q svg {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .22s var(--ease);
}

.faq-a div {
  padding: 0 22px 20px;
  color: var(--muted);
}

.cta {
  padding: 76px 0;
  background:
    linear-gradient(135deg, rgba(23, 105, 210, .95), rgba(0, 125, 115, .92)),
    var(--blue-800);
  color: #fff;
}

.cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta h2 {
  color: #fff;
}

.cta p {
  margin-top: 12px;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
}

.site-footer {
  padding: 56px 0 28px;
  color: rgba(255, 255, 255, .72);
  background: #06182f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 34px;
}

.footer-brand .brand {
  margin-top: 0;
}

.footer-brand .brand-logo-footer {
  width: 184px;
  opacity: .96;
}

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

.site-footer a {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
}

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

.footer-bottom .icp-link {
  display: inline;
  margin-top: 0;
  color: inherit;
  font-size: inherit;
}

.footer-bottom .icp-link:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 12px;
  align-items: center;
  width: min(420px, calc(100vw - 40px));
  padding: 16px;
  color: var(--ink);
  background: #fff;
  border-left: 5px solid var(--green-600);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green-600);
  border-radius: 50%;
}

.toast-close {
  color: var(--muted);
  background: transparent;
  font-size: 20px;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue-800);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  transform: translateY(-2px);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}

[data-reveal].visible {
  opacity: 1;
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes pageSweep {
  0% { background-position: 120% 0, center top; }
  100% { background-position: -120% 0, center top; }
}

@keyframes heroScan {
  0% { background-position: 0 0, 0 0, 120% 0; }
  100% { background-position: 0 0, 0 0, -120% 0; }
}

@keyframes frameSweep {
  0%, 38% { transform: translateX(-120%); }
  68%, 100% { transform: translateX(120%); }
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 255, 255, .14), 0 0 0 0 rgba(6, 166, 200, .0); }
  50% { box-shadow: 0 0 0 4px rgba(255, 255, 255, .18), 0 0 0 7px rgba(6, 166, 200, .20); }
}

@keyframes floatPanel {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@keyframes barRise {
  from { transform: scaleY(.08); opacity: .38; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes slowRotate {
  to { transform: rotate(360deg); }
}

@keyframes pulseFrame {
  0%, 100% { transform: scale(.985); opacity: .48; }
  50% { transform: scale(1); opacity: .82; }
}

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

@media (max-width: 1120px) {
  .brand {
    min-width: 148px;
  }

  .brand-logo {
    width: 148px;
  }

  .phone-link,
  .nav-actions .btn-secondary {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .dashboard-frame {
    max-width: 760px;
  }

  .hero-visual {
    aspect-ratio: 1.55 / 1;
  }

  .hero-banner {
    max-width: 760px;
  }

  .banner-slide {
    min-height: 430px;
  }

  .pain-grid,
  .feature-grid,
  .scenario-grid,
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-map,
  .library-layout,
  .trial-layout {
    grid-template-columns: 1fr;
  }

  .lifecycle-nav {
    position: static;
  }

  .solution-card,
  .module-layout,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .solution-level {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 18px;
  }
}

@media (max-width: 860px) {
  :root {
    --nav-h: 68px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .nav-toggle {
    display: inline-flex !important;
    flex-shrink: 0;
    position: fixed;
    right: 16px;
    left: auto;
    top: 12px;
    z-index: 1002;
  }

  .nav-shell {
    position: relative;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    max-width: calc(100% - 56px);
  }

  .nav-actions {
    margin-left: auto;
    flex-shrink: 0;
  }

  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: calc(var(--nav-h) + 10px);
    display: grid;
    gap: 4px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s var(--ease), transform .18s var(--ease);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 11px 12px;
    border-radius: 7px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a.active {
    background: var(--blue-100);
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .site-header.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .section {
    padding: 68px 0;
  }

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

  h2 {
    font-size: 27px;
  }

  h3 {
    font-size: 23px;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(244, 247, 251, .98), rgba(244, 247, 251, .94)),
      radial-gradient(circle at 70% 12%, rgba(6, 166, 200, .14), transparent 34%);
  }

  .hero::before {
    display: none;
  }

  .hero-grid {
    padding: 58px 0 84px;
    gap: 28px;
  }

  .hero-copy .lead {
    font-size: 16px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .dashboard-body {
    grid-template-columns: 1fr;
  }

  .dash-side {
    display: none;
  }

  .dash-kpis,
  .task-panel,
  .solution-columns,
  .testimonial-strip,
  .footer-grid,
  .ecosystem-panel,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-panel {
    grid-template-areas:
      "phone"
      "flow"
      "summary";
    padding: 16px;
  }

  .ecosystem-panel::before {
    display: none;
  }

  .ecosystem-flow {
    grid-template-columns: 1fr;
  }

  .ecosystem-flow .flow-card:first-child {
    grid-column: auto;
  }

  .banner-metrics {
    grid-template-columns: 1fr;
  }

  .banner-slide {
    min-height: auto;
  }

  .metric-card {
    min-height: auto;
  }

  .ecosystem-phone,
  .phone-shell {
    max-width: 320px;
  }

  .ecosystem-phone {
    justify-self: center;
    width: min(100%, 320px);
  }

  .flow-card {
    min-height: auto;
  }

  .flow-rail {
    position: static;
    width: auto;
    transform: none;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 16px;
  }

  .feature-grid.three,
  .scenario-grid.three,
  .pain-grid,
  .feature-grid,
  .scenario-grid,
  .adv-grid {
    grid-template-columns: 1fr;
  }

  .resource-row,
  .case-row {
    grid-template-columns: 46px 1fr;
  }

  .resource-row .row-actions,
  .case-scope,
  .case-result {
    grid-column: 2;
    justify-content: flex-start;
  }

  .cta-grid,
  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 540px) {
  h1,
  .hero-copy h1,
  .page-hero h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 21px;
  }

  .hero-visual {
    aspect-ratio: 1.38 / 1;
    padding: 12px;
  }

  .hero-banner {
    min-height: auto;
    padding: 14px;
  }

  .banner-tabs {
    grid-template-columns: 1fr;
  }

  .banner-slide {
    padding: 24px 2px 4px;
  }

  .banner-copy h2 {
    font-size: 24px;
  }

  .phone-shell,
  .ecosystem-phone {
    max-width: none;
  }

  .brand {
    min-width: 0;
    max-width: calc(100% - 56px);
  }

  .brand-logo {
    width: 138px;
    max-width: 100%;
  }

  .hero-actions,
  .cta-grid > div:last-child {
    display: grid;
  }

  .hero-actions .btn,
  .cta-grid .btn {
    width: 100%;
  }

  .module-block,
  .form-card,
  .delivery-card,
  .about-panel {
    padding: 22px;
  }

  .table th,
  .table td {
    padding: 11px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}
