:root {
  --color-bg: #ecfdf5;
  --color-primary: #059669;
  --color-primary-dark: #047857;
  --color-primary-light: #34d399;
  --color-text-primary: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;
  --color-border: #0000000f;
  --color-border-light: #00000008;
  --color-danger: #dc2626;
  --radius-md: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--color-text-primary);
  background: var(--color-bg);
}
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.public-layout {
  background: var(--color-bg);
  flex-direction: column;
  min-height: 100vh;
  display: flex;
}
.public-main { flex: 1; }

/* ===== Nav ===== */
.public-nav {
  z-index: 100;
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  background: #06281fcc;
  border-bottom: 1px solid #ffffff2e;
  align-items: center;
  height: 68px;
  display: flex;
  position: sticky;
  top: 0;
  box-shadow: inset 0 1px #ffffff29, 0 8px 28px #0f172a0a;
}
.public-nav .container {
  justify-content: space-between;
  align-items: center;
  display: flex;
  height: 100%;
  position: relative;
}
.nav-brand { align-items: center; gap: 10px; display: flex; }
.nav-brand img { height: 28px; width: auto; display: block; }
.brand-text {
  color: #f8fafc;
  letter-spacing: -.3px;
  text-shadow: 0 1px 16px #064e3b6b;
  font-size: 19px;
  font-weight: 700;
}
.nav-links { align-items: center; gap: 2px; display: flex; }
.nav-link {
  color: #f8fafcd6;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
}
.nav-link:hover { color: #fff; background: #ecfdf51a; }
.nav-link.active { color: #fff; background: #ecfdf524; font-weight: 600; }
.nav-green { color: #10b981 !important; }
.nav-green:hover { background: #10b9811a; color: #34d399 !important; }
.nav-green.active { background: #10b98126; color: #34d399 !important; font-weight: 600; }
.nav-red { color: #ef4444 !important; }
.nav-red:hover { background: #ef44441a; color: #f87171 !important; }
.nav-cta {
  background: var(--color-primary);
  margin-left: 6px;
  padding: 8px 20px;
  font-weight: 600;
  color: #fff !important;
  border-radius: 8px;
}
.nav-cta:hover { background: var(--color-primary-dark) !important; color: #fff !important; }
.nav-toggle {
  cursor: pointer; background: 0 0; border: none;
  flex-direction: column; justify-content: center; gap: 5px; padding: 8px; display: none;
}
.nav-toggle span {
  background: #ecfdf5; border-radius: 2px; width: 22px; height: 2px; display: block; transition: all .3s;
}
.nav-toggle.open span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero ===== */
.hero {
  text-align: center;
  color: #ecfdf5;
  background:
    radial-gradient(circle at 18% 20%, #34d3992e, #0000 32%),
    radial-gradient(circle at 82% 26%, #14b8a629, #0000 34%),
    linear-gradient(135deg, #06281f 0%, #0b3f31 42%, #071c18 100%);
  min-height: calc(100dvh - 68px);
  margin-top: -68px;
  padding: 124px 0 54px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  background: linear-gradient(180deg, transparent, var(--color-bg));
  pointer-events: none;
  height: 120px;
  position: absolute;
  bottom: 0; left: 0; right: 0;
}
.hero-bg { pointer-events: none; position: absolute; inset: 0; }
.hero-grid-flow {
  opacity: .34;
  background-image: linear-gradient(#a7f3d01f 1px, #0000 1px), linear-gradient(90deg, #a7f3d01f 1px, #0000 1px);
  background-size: 54px 54px;
  animation: 18s linear infinite grid-drift;
  position: absolute; inset: -10%;
}
.hero-grid-flow::after {
  content: "";
  background: linear-gradient(110deg, #0000 0%, #34d3991c 42%, #0000 58%), radial-gradient(circle, #0000 0%, #06281fad 78%);
  animation: 7s ease-in-out infinite band-sweep;
  position: absolute; inset: 0;
}
.hero-scan-line {
  background: linear-gradient(90deg, #0000, #a7f3d0c7, #0000);
  width: 44%; height: 1px;
  animation: 6.5s ease-in-out infinite scan-pass;
  position: absolute; top: 8%; left: -20%;
  transform: rotate(-18deg);
  box-shadow: 0 0 18px #34d39959;
}
.hero-orbit {
  border: 1px solid #a7f3d01f; border-radius: 50%; position: absolute;
}
.hero-orbit::before, .hero-orbit::after {
  content: ""; background: #a7f3d0; border-radius: 50%; width: 5px; height: 5px;
  position: absolute; box-shadow: 0 0 16px #a7f3d0e6;
}
.hero-orbit-1 { width: 560px; height: 560px; animation: 8s ease-in-out infinite orbit-breathe; top: 8%; right: 8%; }
.hero-orbit-1::before { top: 13%; left: 20%; }
.hero-orbit-1::after { bottom: 24%; right: 11%; }
.hero-orbit-2 { width: 360px; height: 360px; animation: 10s ease-in-out infinite reverse orbit-breathe; bottom: 0; left: 8%; }
.hero-orbit-2::before { top: 16%; right: 20%; }
.hero-orbit-2::after { bottom: 18%; left: 24%; }
.hero-light-band {
  filter: blur(1px);
  background: linear-gradient(120deg, #0000 28%, #10b98121, #0000 66%);
  animation: 9s ease-in-out infinite light-band;
  position: absolute; inset: 8% -18%; transform: rotate(-8deg);
}
.hero-shape { filter: blur(110px); opacity: .22; border-radius: 50%; position: absolute; }
.hero-shape-1 { background: #10b981; width: 520px; height: 520px; top: -220px; right: -80px; }
.hero-shape-2 { background: #14b8a6; width: 420px; height: 420px; bottom: -170px; left: -90px; }

.hero-shell {
  z-index: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: calc(100dvh - 178px);
  padding-top: 22px;
  display: flex;
  position: relative;
}
.hero-visual {
  z-index: 1;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 280px;
  display: flex;
  position: relative;
}
.hero-logo-stage {
  aspect-ratio: 1;
  pointer-events: none;
  justify-content: center;
  align-items: center;
  width: min(1120px, 138vw);
  display: flex;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.hero-logo-stage::before {
  content: "";
  background: radial-gradient(circle, #ecfdf52e, #10b9810f 48%, #0000 70%);
  border: 1px solid #bbf7d02e;
  border-radius: 50%;
  position: absolute; inset: 18%;
}
.hero-logo-stage::after {
  content: "";
  border: 1px solid #a7f3d029;
  border-radius: 50%;
  position: absolute; inset: 7%;
  box-shadow: 0 0 0 110px #a7f3d006, 0 0 0 230px #a7f3d004, 0 0 0 360px #a7f3d003;
}
.logo-ring {
  border: 1px solid #a7f3d033;
  border-radius: 50%;
  position: absolute;
}
.logo-ring.ring-a { inset: 24%; animation: 28s linear infinite ring-spin; border-style: dashed; }
.logo-ring.ring-b { inset: 12%; animation: 40s linear infinite reverse ring-spin; opacity: .6; }
.radar-sweep {
  mix-blend-mode: screen;
  opacity: .78;
  background: conic-gradient(#34d39957 0deg, #34d3991f 26deg, #0000 64deg 360deg);
  border-radius: 50%;
  animation: 4.8s linear infinite radar-spin;
  position: absolute; inset: 0;
}
.radar-sweep::after {
  content: "";
  transform-origin: 0;
  background: linear-gradient(90deg, #a7f3d0e6, #0000);
  width: 49%; height: 1px;
  position: absolute; top: 50%; left: 50%;
  box-shadow: 0 0 16px #34d39999;
}
.radar-dot {
  z-index: 2; border-radius: 50%; width: 8px; height: 8px;
  animation: 2.6s ease-in-out infinite radar-dot-pulse;
  position: absolute; transform: translate(-50%, -50%);
}
.radar-dot.dot-green { background: #34d399; box-shadow: 0 0 12px #34d399cc; }
.radar-dot.dot-red { background: #f87171; box-shadow: 0 0 12px #f87171aa; }
.dot-1{animation-delay:.1s;top:35%;left:24%}
.dot-2{animation-delay:.55s;top:27%;left:76%}
.dot-3{animation-delay:1.15s;top:80%;left:66%}
.dot-6{animation-delay:.35s;top:48%;left:15%}
.dot-7{animation-delay:.95s;top:18%;left:39%}
.dot-8{animation-delay:1.65s;top:14%;left:55%}
.dot-9{animation-delay:2.05s;top:86%;left:48%}
.dot-10{animation-delay:1.25s;top:42%;left:91%}
.dot-11{animation-delay:2.35s;top:58%;left:11%}
.dot-12{animation-delay:1.85s;top:21%;left:31%}
.dot-13{animation-delay:2.7s;top:18%;left:72%}
.dot-14{animation-delay:.25s;top:70%;left:73%}
.dot-15{animation-delay:1.55s;top:76%;left:42%}
.dot-16{animation-delay:2.95s;top:67%;left:88%}
.dot-20{animation-delay:.42s;top:40%;left:8%}
.dot-21{animation-delay:1.72s;top:66%;left:13%}
.dot-22{animation-delay:2.42s;top:52%;left:20%}
.dot-23{animation-delay:.88s;top:82%;left:27%}
.dot-24{animation-delay:2.2s;top:12%;left:33%}
.dot-25{animation-delay:.18s;top:63%;left:37%}
.dot-26{animation-delay:1.32s;top:24%;left:45%}
.dot-27{animation-delay:2.82s;top:70%;left:52%}
.dot-28{animation-delay:.68s;top:33%;left:59%}
.dot-29{animation-delay:1.98s;top:58%;left:61%}
.dot-30{animation-delay:2.58s;top:43%;left:69%}
.dot-31{animation-delay:1.18s;top:78%;left:78%}
.dot-32{animation-delay:80ms;top:22%;left:82%}
.dot-33{animation-delay:1.48s;top:49%;left:86%}
.dot-34{animation-delay:2.28s;top:73%;left:92%}
.dot-35{animation-delay:.78s;top:8%;left:50%}

.hero-copy {
  z-index: 3;
  width: 100%;
  max-width: 780px;
  min-height: 328px;
  position: relative;
}
.hero-slider { min-height: 292px; position: relative; }
.hero-slide {
  opacity: 0; pointer-events: none;
  transition: opacity .55s, transform .55s;
  position: absolute; inset: 0;
  transform: translateY(18px);
}
.hero-slide.active { opacity: 1; pointer-events: auto; transform: none; }
.hero-logo {
  filter: drop-shadow(0 32px 44px #00000040);
  width: min(270px, 34vw);
  height: auto;
  animation: 5.6s ease-in-out infinite logo-float;
  display: block;
  margin: 0 auto 18px;
  position: relative;
  z-index: 2;
}
.hero-badge {
  color: #bbf7d0;
  letter-spacing: .08em;
  background: #ecfdf517;
  border: 1px solid #bbf7d02e;
  border-radius: 9999px;
  margin-bottom: 18px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
}
.hero h1 {
  color: #f8fafc;
  max-width: 680px;
  margin: 0 auto 18px;
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 800;
  line-height: 1.05;
}
.hero-sub {
  color: #ecfdf5bd;
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 17px;
  line-height: 1.85;
}
.hero-controls {
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  display: flex;
}
.hero-arrow, .hero-dot {
  cursor: pointer; border: none; transition: all .2s;
}
.hero-arrow {
  color: #ecfdf5; background: #ecfdf51a; border: 1px solid #ecfdf51f;
  border-radius: 50%; width: 34px; height: 34px; font-size: 22px; line-height: 1;
}
.hero-arrow:hover { background: #ecfdf52e; }
.hero-dot {
  background: #ecfdf53d; border-radius: 999px; width: 24px; height: 4px; padding: 0;
}
.hero-dot.active {
  background: linear-gradient(90deg, #34d399 0%, #a7f3d0 48%, #f8fafc 100%);
  width: 42px; box-shadow: 0 0 14px #34d39961;
}

/* ===== Query ===== */
.query-section {
  z-index: 2;
  background: radial-gradient(circle at 50% 0%, #0596691a, transparent 42%), var(--color-bg);
  padding: 40px 0 32px;
  position: relative;
}
.hero-query { max-width: 760px; margin: 0 auto; }
.query-card {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  text-align: left;
  background: #ffffffe0;
  border: 1px solid #ffffff75;
  border-radius: 16px;
  max-width: 580px;
  margin: 0 auto;
  padding: 24px 26px;
  box-shadow: 0 24px 54px #0000002e;
}
.query-header {
  color: var(--color-text-primary);
  align-items: center; gap: 8px; margin-bottom: 16px;
  font-size: 16px; font-weight: 600; display: flex;
}
.query-form { align-items: flex-start; gap: 12px; display: flex; }
.query-inputs { flex-direction: column; flex: 1; gap: 8px; display: flex; }
.q-input {
  border: 1px solid var(--color-border);
  background: #fff9;
  border-radius: 10px;
  outline: none;
  width: 100%;
  padding: 11px 16px;
  font-size: 14px;
  transition: all .2s;
}
.q-input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px #0596691a; }
.q-btn {
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  height: 78px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 600;
  transition: all .2s;
  display: flex;
}
.q-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px #0596693d;
}
.query-note {
  color: var(--color-text-muted);
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

/* ===== Stats ===== */
.stats-strip {
  background: #0596690a;
  border-top: 1px solid #0596690f;
  border-bottom: 1px solid #0596690f;
  padding: 32px 0;
}
.stats-strip-grid {
  text-align: center;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  display: grid;
}
.strip-num {
  color: var(--color-primary);
  letter-spacing: -1px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
}
.strip-label {
  color: var(--color-text-muted);
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  margin-top: 6px;
}
.strip-extra {
  color: var(--color-primary);
  opacity: .7;
  font-size: 11px;
  font-weight: 500;
}

/* ===== Sections ===== */
.section { padding: 64px 0; }
.section-alt { background: #00000005; }
.section-title {
  color: var(--color-text-primary);
  text-align: center;
  letter-spacing: -.5px;
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 700;
}
.section-desc {
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 15px;
  line-height: 1.7;
}

.steps-grid {
  perspective: 1200px;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
}
.step-card {
  min-height: 314px;
  animation: .72s cubic-bezier(.16,1,.3,1) both step-drop;
  animation-delay: calc(var(--step-index) * .11s);
  position: relative;
}
.scan-card {
  text-align: left;
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  background: linear-gradient(145deg, #ffffffb8, #d1fae561), radial-gradient(circle at 20% 0, #34d39933, #0000 38%);
  border: 1px solid #10b9812e;
  border-radius: 14px;
  padding: 28px 22px 24px;
  transition: transform .32s cubic-bezier(.16,1,.3,1), border-color .32s, box-shadow .32s;
  overflow: hidden;
  box-shadow: inset 0 1px #ffffff94, 0 14px 34px #064e3b14;
  position: relative;
}
.scan-card::before {
  content: "";
  opacity: .35;
  background-image: linear-gradient(#0596690f 1px, #0000 1px), linear-gradient(90deg, #0596690f 1px, #0000 1px);
  background-size: 28px 28px;
  transition: opacity .28s, transform .28s;
  position: absolute; inset: 0;
}
.scan-card::after {
  content: "";
  opacity: 0;
  background: linear-gradient(105deg, #0000, #ecfdf575, #0000);
  width: 54%; height: 100%;
  position: absolute; top: 0; left: -75%;
  transform: skew(-16deg);
}
.scan-card:hover {
  border-color: #10b9816b;
  transform: translateY(-8px) scale(1.015);
  box-shadow: inset 0 1px #ffffffb3, 0 22px 46px #064e3b24;
}
.scan-card:hover::before { opacity: .72; transform: translateY(-6px); }
.scan-card:hover::after { opacity: 1; animation: .95s cubic-bezier(.16,1,.3,1) scan-shine; }
.step-number {
  color: #0596691f;
  letter-spacing: -2px;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  position: absolute;
  top: 14px; right: 18px;
}
.step-icon {
  z-index: 1;
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  width: 56px; height: 56px;
  margin-bottom: 14px;
  transition: transform .28s, box-shadow .28s;
  display: inline-flex;
  position: relative;
  box-shadow: 0 10px 24px #05966929;
}
.step-icon svg { width: 26px; height: 26px; }
.scan-card:hover .step-icon {
  transform: rotate(-4deg) scale(1.08);
  box-shadow: 0 14px 30px #05966938;
}
.scan-tag {
  z-index: 1;
  color: var(--color-primary-dark);
  letter-spacing: .04em;
  background: #05966914;
  border: 1px solid #0596691f;
  border-radius: 999px;
  margin-bottom: 12px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  position: relative;
}
.step-card h3 {
  z-index: 1;
  position: relative;
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--color-text-primary);
}
.step-card > p, .scan-card > p {
  z-index: 1;
  position: relative;
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.7;
}
.scan-detail {
  z-index: 1;
  opacity: .72;
  border-top: 1px solid #0596691a;
  margin-top: 14px;
  padding-top: 12px;
  transition: opacity .28s, transform .28s;
  position: relative;
  transform: translateY(4px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.scan-detail strong { font-size: 13px; color: var(--color-text-primary); }
.scan-detail span { font-size: 12px; color: var(--color-text-muted); line-height: 1.5; }
.scan-card:hover .scan-detail { opacity: 1; transform: none; }
.scan-meter {
  z-index: 1;
  background: #0596691a;
  border-radius: 999px;
  height: 4px;
  margin-top: 16px;
  position: relative;
  overflow: hidden;
}
.scan-meter span {
  display: block;
  height: 100%;
  width: 62%;
  background: linear-gradient(90deg, #059669, #34d399);
  border-radius: 999px;
}
.map-pin {
  z-index: 2;
  background: #ecfdf5;
  border-radius: 50%;
  width: 10px; height: 10px;
  animation: 2.6s ease-in-out infinite node-breathe;
  display: block;
  position: absolute;
  top: 14px; left: 18px;
  box-shadow: 0 0 0 8px #34d3992e, 0 0 24px #34d399f2;
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
}
.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  display: grid;
}
.detect-grid { perspective: 1100px; }
.service-card {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  background: #ffffffbf;
  border: 1px solid #fff3;
  padding: 24px;
  transition: all .3s;
  box-shadow: 0 4px 16px #00000008;
  position: relative;
}
.detect-card {
  color: #ecfdf5;
  background: linear-gradient(145deg, #064e3beb, #059669ad), radial-gradient(circle at 22% 0, #a7f3d03d, #0000 42%);
  border: 1px solid #a7f3d02e;
  min-height: 236px;
  overflow: hidden;
  box-shadow: inset 0 1px #ffffff1f, 0 14px 34px #064e3b1f;
}
.detect-card::before {
  content: "";
  opacity: .44;
  background-image: linear-gradient(#ecfdf50e 1px, #0000 1px), linear-gradient(90deg, #ecfdf50e 1px, #0000 1px);
  background-size: 26px 26px;
  transition: transform .35s, opacity .35s;
  position: absolute; inset: 0;
}
.detect-card::after {
  content: "";
  opacity: 0;
  background: linear-gradient(105deg, #0000, #bbf7d057, #0000);
  width: 52%; height: 100%;
  position: absolute; top: 0; left: -70%;
  transform: skew(-14deg);
}
.detect-card:hover {
  border-color: #bbf7d06b;
  transform: translateY(-9px) rotateX(4deg);
  box-shadow: inset 0 1px #ffffff2e, 0 24px 48px #064e3b33;
}
.detect-card:hover::before { opacity: .72; transform: translateY(-8px); }
.detect-card:hover::after { opacity: 1; animation: .95s cubic-bezier(.16,1,.3,1) scan-shine; }
.card-icon {
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  width: 44px; height: 44px;
  margin-bottom: 16px;
  display: flex;
  position: relative;
  z-index: 1;
  color: #fff;
  transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s;
}
.card-icon svg { width: 22px; height: 22px; }
.detect-card .card-icon {
  border: 1px solid #ecfdf52e;
  box-shadow: 0 10px 28px #0000001f;
  background: #ecfdf524 !important;
}
.detect-card:hover .card-icon { transform: translateY(-2px) scale(1.08); }
.detect-card h3, .detect-card p, .detect-trace { z-index: 1; position: relative; }
.detect-card h3 { color: #f8fafc; margin: 0 0 10px; font-size: 18px; }
.detect-card p { color: #ecfdf5b8; margin: 0; font-size: 13px; line-height: 1.7; }
.detect-trace {
  margin-top: 18px; height: 2px; background: #ecfdf51a; border-radius: 999px; overflow: hidden;
}
.detect-trace span {
  display: block; height: 100%; width: 40%;
  background: linear-gradient(90deg, transparent, #a7f3d0, transparent);
  transform: translateX(-105%);
}
.detect-card:hover .detect-trace span { animation: 1.1s ease-in-out both trace-run; }

.why-card {
  background: linear-gradient(145deg, #ffffffc7, #ecfdf594), radial-gradient(circle at 86% 8%, #34d3992b, #0000 34%);
  border: 1px solid #0596691f;
  min-height: 246px;
  padding-top: 28px;
  overflow: hidden;
  box-shadow: inset 0 1px #ffffffb8, 0 12px 30px #064e3b0f;
}
.why-card h3 { margin: 0 0 10px; font-size: 20px; position: relative; z-index: 1; }
.why-card p {
  margin: 0; color: var(--color-text-secondary); font-size: 14px; line-height: 1.7;
  position: relative; z-index: 1;
}
.why-mark {
  color: var(--color-primary-dark);
  letter-spacing: .05em;
  opacity: .68;
  background: #05966914;
  border: 1px solid #0596691f;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 800;
  position: absolute;
  top: 24px; right: 22px;
}
.why-card:hover .why-mark { opacity: 1; }
.why-card:hover { transform: translateY(-6px); box-shadow: inset 0 1px #ffffffb8, 0 18px 36px #064e3b18; }

/* ===== Footer ===== */
.public-footer {
  color: #94a3b8;
  background: #0f172a;
  margin-top: auto;
  padding: 48px 0 0;
}
.footer-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 36px;
  display: grid;
}
.footer-col { flex-direction: column; gap: 8px; display: flex; }
.footer-col h4 { color: #f1f5f9; margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.footer-col a { color: #64748b; font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--color-primary-light); }
.footer-bottom {
  color: #475569;
  border-top: 1px solid #ffffff0f;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  font-size: 13px;
  display: flex;
}
.footer-icp { color: #64748b; font-size: 13px; }
.footer-icp:hover { color: var(--color-primary-light); }

/* ===== Inner pages ===== */
.page-shell { padding: 40px 0 64px; }
.page-card {
  background: #ffffffe0;
  border: 1px solid #ffffff75;
  border-radius: 16px;
  max-width: 760px;
  margin: 0 auto;
  padding: 28px;
  box-shadow: 0 18px 40px #064e3b14;
}
.page-card h2 { margin: 0 0 8px; }
.page-card .muted { color: var(--color-text-muted); font-size: 14px; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-primary); color: #fff; border: none; border-radius: 10px;
  height: 42px; padding: 0 18px; font-weight: 600; cursor: pointer;
}
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-sm {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px;
  border-radius: 8px; background: var(--color-primary); color: #fff; font-size: 13px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: block; font-size: 13px; color: var(--color-text-muted); margin-bottom: 6px; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; height: 40px; border: 1px solid var(--color-border); border-radius: 8px;
  padding: 0 12px; background: #fff;
}
.form-grid textarea { height: 96px; padding: 10px 12px; resize: vertical; }
.table-wrap { overflow: auto; margin-top: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 10px 8px; border-bottom: 1px solid var(--color-border); text-align: left; white-space: nowrap; }
th { color: var(--color-text-muted); font-weight: 600; background: #05966908; }
.tag-ok { color: var(--color-primary); font-weight: 600; }
.tag-bad { color: var(--color-danger); font-weight: 600; }
.alert {
  padding: 10px 12px; border-radius: 8px; background: #fff7ed; color: #9a3412;
  border: 1px solid #fed7aa; margin-bottom: 12px;
}
.inspect-badge {
  border-radius: 9999px; padding: 4px 20px; font-size: 14px; font-weight: 600; display: inline-block;
}
.inspect-badge.normal { color: #059669; background: #d1fae5; }
.inspect-badge.suspicious { color: #d97706; background: #fef3c7; }
.inspect-badge.abnormal { color: #dc2626; background: #fee2e2; }
.img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.img-item {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #fff;
}
.img-item img { width: 100%; height: 120px; object-fit: cover; display: block; }

@keyframes grid-drift { 0% { background-position: 0 0, 0 0; } to { background-position: 108px 54px, 108px 54px; } }
@keyframes band-sweep { 0%, to { opacity: .45; transform: translate(-10%); } 50% { opacity: .72; transform: translate(12%); } }
@keyframes scan-pass {
  0% { opacity: 0; transform: translate(0,0) rotate(-18deg); }
  18% { opacity: 1; }
  70% { opacity: 1; }
  to { opacity: 0; transform: translate(330%, 58vh) rotate(-18deg); }
}
@keyframes orbit-breathe { 0%, to { opacity: .52; transform: scale(1); } 50% { opacity: .82; transform: scale(1.06); } }
@keyframes light-band { 0%, to { opacity: .28; transform: translate(-4%) rotate(-8deg); } 50% { opacity: .48; transform: translate(5%) rotate(-8deg); } }
@keyframes logo-float { 0%, to { transform: translateY(-6px); } 50% { transform: translateY(8px); } }
@keyframes ring-spin { 0% { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes radar-spin { 0% { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes radar-dot-pulse {
  0%, to { opacity: .58; transform: translate(-50%, -50%) scale(.86); }
  45% { opacity: 1; transform: translate(-50%, -50%) scale(1.18); }
}
@keyframes node-breathe { 0%, to { opacity: .72; transform: scale(.88); } 50% { opacity: 1; transform: scale(1.16); } }
@keyframes step-drop {
  0% { opacity: 0; transform: translateY(-34px) rotateX(-8deg); }
  to { opacity: 1; transform: none; }
}
@keyframes scan-shine { 0% { left: -75%; } to { left: 125%; } }
@keyframes trace-run { 0% { transform: translate(-105%); } to { transform: translate(245%); } }

@media (max-width: 960px) {
  .steps-grid, .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .stats-strip-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .hero h1 { font-size: clamp(32px, 8vw, 48px); }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    background: #fffffff2;
    flex-direction: column;
    padding: 12px;
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links .nav-link, .nav-links .nav-green, .nav-links .nav-red {
    color: var(--color-text-primary) !important;
  }
  .nav-links .nav-cta { margin-left: 0; color: #fff !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { text-align: center; flex-direction: column; gap: 8px; }
  .query-form { flex-direction: column; }
  .q-btn { height: 46px; width: 100%; justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .steps-grid, .card-grid-4, .card-grid-3 { grid-template-columns: 1fr; }
  .brand-text { font-size: 15px; }
}
