:root {
  color: #122033;
  background: #f5f7f8;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --green: #149467;
  --green-deep: #0b6f55;
  --mint: #e7f6ef;
  --line: #d9e4e8;
  --ink: #101828;
  --muted: #637083;
  --orange: #e77218;
  --pointer-x: 50vw;
  --pointer-y: 50vh;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

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

button {
  cursor: pointer;
}

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

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(238, 246, 244, 0.84)),
    #f5f7f8;
}

.site-shell::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle 420px at var(--pointer-x) var(--pointer-y), rgba(96, 240, 197, 0.07), transparent 68%),
    radial-gradient(circle 520px at 74% 18%, rgba(76, 134, 255, 0.04), transparent 70%);
  opacity: 0.58;
}

.site-shell > * {
  position: relative;
  z-index: 1;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  background: rgba(4, 15, 23, 0.72);
  backdrop-filter: blur(16px);
  animation: topbar-in 0.7s var(--ease-out) both;
}

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

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.brand:hover img {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.brand strong,
.footer strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
}

.brand small,
.footer span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.footer strong {
  font-size: 20px;
}

.footer span {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.5;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  content: "";
  background: #60f0c5;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s var(--ease-out);
}

.nav-links a:hover {
  color: #fff;
}

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

.ghost-button,
.primary-button,
.secondary-button,
.mini-button,
.submit-button,
.chat-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  transition:
    transform 0.24s var(--ease-out),
    box-shadow 0.24s var(--ease-out),
    background 0.24s var(--ease-out),
    border-color 0.24s var(--ease-out);
}

.ghost-button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.ghost-button:hover,
.primary-button:hover,
.secondary-button:hover,
.mini-button:hover,
.submit-button:not(:disabled):hover,
.chat-form button:not(:disabled):hover {
  transform: translateY(-1px);
}

.ghost-button:active,
.primary-button:active,
.secondary-button:active,
.mini-button:active,
.submit-button:not(:disabled):active,
.chat-form button:not(:disabled):active {
  transform: translateY(0) scale(0.98);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(900px, 100vh, 1040px);
  padding: 120px clamp(22px, 6vw, 96px) 128px;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 72px 0 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, transparent 0%, rgba(3, 13, 22, 0.28) 34%, rgba(3, 13, 22, 0.5) 50%, rgba(3, 13, 22, 0.22) 100%),
    radial-gradient(circle at 58% 40%, rgba(96, 240, 197, 0.05), transparent 34%);
}

.hero-bg {
  position: absolute;
  inset: -22px;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 12, 20, 0.82), rgba(4, 12, 20, 0.28)),
    url("/assets/hero-command-center.png") center / cover no-repeat;
  filter: saturate(1.06) brightness(0.84) contrast(1.05);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-bg::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.12));
  animation: grid-glide 18s linear infinite;
}

.hero-bg::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  content: "";
  background: linear-gradient(180deg, rgba(245, 247, 248, 0), #f5f7f8 88%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(760px, 100%);
}

.hero-visual {
  position: absolute;
  z-index: 2;
  top: 108px;
  right: clamp(24px, 4.6vw, 88px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(48vw, 860px);
  min-width: 560px;
  min-height: 640px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(96, 240, 197, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(7, 27, 39, 0.86), rgba(5, 18, 29, 0.72)),
    rgba(4, 15, 23, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 34px 90px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(10px);
}

.hero-visual.interactive-card::before {
  background:
    radial-gradient(circle 320px at var(--card-x, 58%) var(--card-y, 44%), rgba(96, 240, 197, 0.1), transparent 72%),
    linear-gradient(130deg, rgba(96, 240, 197, 0.07), transparent 40%, rgba(76, 134, 255, 0.08));
}

.hero-visual.interactive-card::after {
  background: linear-gradient(125deg, transparent 12%, rgba(96, 240, 197, 0.12) 46%, transparent 72%);
  opacity: 0.08;
  transform: translateX(-30%);
}

.hero-visual.interactive-card:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 240, 197, 0.32);
  background:
    linear-gradient(135deg, rgba(7, 27, 39, 0.9), rgba(5, 18, 29, 0.76)),
    rgba(4, 15, 23, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 38px 96px rgba(0, 0, 0, 0.3);
}

.hero-visual.interactive-card:hover::after {
  animation: none;
  opacity: 0.1;
}

.visual-toolbar,
.visual-card,
.route-map,
.signal-stack {
  position: relative;
  z-index: 1;
}

.visual-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
}

.visual-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #60f0c5;
  box-shadow: 0 0 0 0 rgba(96, 240, 197, 0.62);
  animation: live-pulse 1.8s ease-in-out infinite;
}

.visual-toolbar strong {
  font-size: 13px;
  letter-spacing: 0;
}

.visual-toolbar em {
  margin-left: auto;
  color: #60f0c5;
  font-size: 11px;
  font-style: normal;
  font-weight: 1000;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  margin-top: 0;
}

.visual-card {
  min-height: 128px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(5, 20, 31, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  animation: visual-float 5.8s ease-in-out infinite;
}

.print-card {
  animation-delay: -1.2s;
}

.ledger-card {
  grid-column: 1 / -1;
  min-height: 102px;
  animation-delay: -2.4s;
}

.visual-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a9ffe6;
  font-size: 13px;
  font-weight: 900;
}

.visual-card strong {
  display: block;
  margin-top: 16px;
  color: #fff;
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: 0;
}

.visual-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.status-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.status-rail i,
.print-lines i {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.status-rail i::after,
.print-lines i::after {
  display: block;
  width: 48%;
  height: 100%;
  content: "";
  border-radius: inherit;
  background: linear-gradient(90deg, #60f0c5, #4c86ff);
  animation: stream-slide 2.2s var(--ease-out) infinite;
}

.status-rail i:nth-child(2)::after,
.print-lines i:nth-child(2)::after {
  animation-delay: 0.34s;
}

.status-rail i:nth-child(3)::after,
.print-lines i:nth-child(3)::after {
  animation-delay: 0.68s;
}

.print-lines {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.print-lines i:nth-child(1) {
  width: 92%;
}

.print-lines i:nth-child(2) {
  width: 72%;
}

.print-lines i:nth-child(3) {
  width: 84%;
}

.route-map {
  position: relative;
  flex: 1;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(96, 240, 197, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 72% 45%, rgba(242, 164, 59, 0.12), transparent 30%),
    radial-gradient(circle at 28% 58%, rgba(76, 134, 255, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 42px rgba(0, 0, 0, 0.12);
}

.route-map-header {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: auto;
  bottom: auto;
  left: 18px;
  min-width: 240px;
  height: 78px;
  padding: 0;
  pointer-events: none;
}

.route-map-header strong {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: 0;
}

.route-map-header p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.route-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.route-shadow {
  fill: none;
  stroke: rgba(96, 240, 197, 0.12);
  stroke-linecap: round;
  stroke-width: 18;
}

.route-line {
  fill: none;
  stroke: url("#routeGradient");
  stroke-dasharray: 840;
  stroke-dashoffset: 840;
  stroke-linecap: round;
  stroke-width: 5;
  filter: drop-shadow(0 0 18px rgba(96, 240, 197, 0.5));
  animation: route-draw 4.8s var(--ease-out) infinite;
}

.route-dot {
  fill: #60f0c5;
  stroke: rgba(220, 255, 246, 0.7);
  stroke-width: 2;
  filter: drop-shadow(0 0 14px rgba(96, 240, 197, 0.72));
  animation: route-dot-twinkle 2.2s ease-in-out infinite;
}

.dot-b {
  animation-delay: 0.42s;
}

.dot-c {
  animation-delay: 0.84s;
}

.route-truck {
  pointer-events: none;
  filter:
    drop-shadow(0 0 10px rgba(96, 240, 197, 0.8))
    drop-shadow(0 10px 18px rgba(0, 0, 0, 0.24));
}

.route-truck-icon rect,
.route-truck-icon path {
  fill: rgba(5, 20, 31, 0.92);
  stroke: #dffff5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.route-truck-icon circle {
  fill: #60f0c5;
  stroke: rgba(5, 20, 31, 0.92);
  stroke-width: 1.8;
}

.signal-stack {
  position: absolute;
  right: 28px;
  top: 78px;
  display: grid;
  gap: 12px;
  width: 34%;
}

.signal-stack span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(96, 240, 197, 0.78), transparent);
  opacity: 0;
  transform: translateX(-18px);
  animation: signal-sweep 2.4s ease-in-out infinite;
  animation-delay: var(--delay);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #a9ffe6;
  font-size: 14px;
  font-weight: 900;
}

.eyebrow.dark {
  color: var(--green);
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 9vw, 132px);
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 0.95;
  color: transparent;
  background: linear-gradient(180deg, #fff 0%, #dcfff2 66%, #83f1d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.28));
}

.hero-copy {
  width: min(690px, 100%);
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.primary-button {
  min-height: 50px;
  padding: 0 22px;
  color: #06251c;
  background: #60f0c5;
  box-shadow: 0 18px 46px rgba(36, 225, 176, 0.24);
}

.primary-button:hover {
  box-shadow:
    0 22px 58px rgba(36, 225, 176, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.secondary-button {
  min-height: 50px;
  padding: 0 22px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(820px, 100%);
  margin-top: 70px;
}

.hero-metrics div {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  transition:
    transform 0.32s var(--ease-out),
    border-color 0.32s var(--ease-out),
    background 0.32s var(--ease-out);
}

.hero-metrics div::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 12%, rgba(255, 255, 255, 0.22) 46%, transparent 70%);
  transform: translateX(-120%);
}

.hero-metrics div:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 240, 197, 0.5);
  background: rgba(255, 255, 255, 0.13);
}

.hero-metrics div:hover::after {
  animation: sheen 0.85s var(--ease-out);
}

.hero-metrics strong {
  display: block;
  color: #fff;
  font-size: 26px;
  font-weight: 1000;
}

.hero-metrics span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.45;
}

.section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-heading {
  width: min(760px, 100%);
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section h3 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 21px;
}

.section p {
  color: var(--muted);
  line-height: 1.75;
}

.promise-grid,
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.promise-grid article,
.module-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 196px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(18, 32, 51, 0.06);
  transition:
    transform 0.36s var(--ease-out),
    box-shadow 0.36s var(--ease-out),
    border-color 0.36s var(--ease-out),
    background 0.36s var(--ease-out);
}

.interactive-card::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background: radial-gradient(circle 220px at var(--card-x, 50%) var(--card-y, 40%), rgba(30, 196, 149, 0.16), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.interactive-card::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background: linear-gradient(125deg, transparent 8%, rgba(255, 255, 255, 0.64) 42%, transparent 64%);
  transform: translateX(-130%);
  opacity: 0.55;
  pointer-events: none;
}

.interactive-card > * {
  position: relative;
  z-index: 1;
}

.interactive-card:hover {
  transform: translateY(-7px);
  border-color: rgba(20, 148, 103, 0.32);
  background: linear-gradient(180deg, #fff, #fbfffd);
  box-shadow: 0 26px 70px rgba(18, 32, 51, 0.13);
}

.interactive-card:hover::before {
  opacity: 1;
}

.interactive-card:hover::after {
  animation: sheen 0.95s var(--ease-out);
}

.promise-grid svg,
.module-card svg {
  color: var(--green);
}

.mini-button {
  flex: none;
  min-height: 42px;
  padding: 0 16px;
  color: var(--green);
  border: 1px solid #bfe6d6;
  background: #fff;
}

.mini-button:hover {
  border-color: rgba(20, 148, 103, 0.36);
  box-shadow: 0 14px 32px rgba(18, 32, 51, 0.08);
}

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

.workflow {
  width: min(1220px, calc(100% - 44px));
}

.workflow-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 34px;
  padding: 34px;
  border: 1px solid #bfd9d5;
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(236, 249, 244, 0.94)),
    #fff;
  box-shadow: 0 20px 54px rgba(18, 32, 51, 0.08);
}

.workflow-panel::after {
  opacity: 0.38;
}

.flow-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 12px 16px;
  border: 1px solid #d8e9e4;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 900;
  transition:
    transform 0.28s var(--ease-out),
    box-shadow 0.28s var(--ease-out),
    border-color 0.28s var(--ease-out);
}

.flow-list li:hover {
  transform: translateX(6px);
  border-color: rgba(20, 148, 103, 0.28);
  box-shadow: 0 12px 28px rgba(18, 32, 51, 0.08);
}

.flow-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--green);
  background: var(--mint);
  font-size: 12px;
}

.trial {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(520px, 1fr);
  gap: 40px;
  align-items: start;
}

.trial-copy {
  position: sticky;
  top: 104px;
}

.trial-form {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(18, 32, 51, 0.08);
}

label {
  display: grid;
  gap: 8px;
  color: #526273;
  font-size: 14px;
  font-weight: 800;
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d7e1e6;
  border-radius: 8px;
  color: var(--ink);
  background: #f8fbfa;
  outline: none;
  padding: 0 14px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

textarea {
  padding-top: 12px;
  resize: vertical;
}

.hp-field,
[hidden] {
  display: none !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(20, 148, 103, 0.12);
}

.submit-button,
.chat-form button {
  min-height: 50px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 18px 40px rgba(20, 148, 103, 0.18);
}

.submit-button:disabled,
.chat-form button:disabled {
  cursor: not-allowed;
  color: #9eb0ac;
  background: #dcebe6;
  box-shadow: none;
}

.form-ok,
.form-error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.form-ok {
  color: #08744f;
  background: #e5f8ef;
}

.form-error {
  color: #b42318;
  background: #ffe8e6;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 28px clamp(22px, 6vw, 96px) 16px;
  color: #fff;
  background: #07141f;
}

.footer-contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(22px, 6vw, 96px) 22px;
  color: #fff;
  background: #07141f;
  text-align: center;
}

.footer-contacts section {
  min-width: 0;
  padding: 16px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-contacts h2 {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  font-weight: 900;
}

.footer-contacts a {
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  line-height: 1.55;
  transition: color 0.2s ease;
}

.footer-contacts a:hover {
  color: #60f0c5;
}

.icp-footer {
  padding: 0 clamp(22px, 6vw, 96px) 24px;
  color: rgba(255, 255, 255, 0.58);
  background: #07141f;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

.icp-footer a {
  color: inherit;
  transition: color 0.2s ease;
}

.icp-footer a:hover {
  color: rgba(255, 255, 255, 0.82);
}

.chat-fab {
  position: fixed;
  z-index: 26;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 22px 50px rgba(20, 148, 103, 0.3);
  font-weight: 900;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.chat-fab::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(96, 240, 197, 0.34);
  border-radius: inherit;
  content: "";
  animation: soft-pulse 2.6s ease-in-out infinite;
}

.chat-fab:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 26px 64px rgba(20, 148, 103, 0.38);
}

.chat-panel {
  position: fixed;
  z-index: 40;
  right: 22px;
  bottom: 88px;
  width: min(420px, calc(100vw - 44px));
  overflow: hidden;
  border: 1px solid #d9e6e7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(11, 31, 48, 0.24);
  transform: translateY(24px) scale(0.96);
  transform-origin: right bottom;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.32s var(--ease-out),
    transform 0.32s var(--ease-out);
}

.chat-panel.open {
  transform: translateY(0);
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  color: #fff;
  background: #07141f;
}

.chat-header strong,
.chat-header span {
  display: block;
}

.chat-header span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.chat-header button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.chat-body {
  padding: 18px;
}

.agent-message {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  color: #244338;
  background: #e8f6ef;
  line-height: 1.6;
}

.chat-form {
  display: grid;
  gap: 12px;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
}

.scrim.open {
  display: block;
}

.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  filter: blur(7px);
  transition:
    opacity 0.78s var(--ease-out) var(--reveal-delay, 0ms),
    transform 0.78s var(--ease-out) var(--reveal-delay, 0ms),
    filter 0.78s var(--ease-out) var(--reveal-delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@keyframes topbar-in {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.06) translate3d(-14px, -8px, 0);
  }
}

@keyframes grid-glide {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 156px 78px, 156px 78px;
  }
}

@keyframes sheen {
  from {
    transform: translateX(-130%);
  }
  to {
    transform: translateX(130%);
  }
}

@keyframes soft-pulse {
  0%,
  100% {
    opacity: 0.16;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.78;
    transform: scale(1.08);
  }
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(96, 240, 197, 0.62);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(96, 240, 197, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(96, 240, 197, 0);
  }
}

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

@keyframes stream-slide {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  22%,
  76% {
    opacity: 1;
  }
  100% {
    transform: translateX(220%);
    opacity: 0;
  }
}

@keyframes route-draw {
  0% {
    stroke-dashoffset: 840;
    opacity: 0.35;
  }
  48% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  78% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -840;
    opacity: 0.38;
  }
}

@keyframes route-dot-twinkle {
  0%,
  100% {
    opacity: 0.42;
    stroke-opacity: 0.26;
    filter: drop-shadow(0 0 5px rgba(96, 240, 197, 0.28));
  }
  50% {
    opacity: 1;
    stroke-opacity: 0.95;
    filter:
      drop-shadow(0 0 10px rgba(96, 240, 197, 0.86))
      drop-shadow(0 0 22px rgba(96, 240, 197, 0.46));
  }
}

@keyframes signal-sweep {
  0% {
    opacity: 0;
    transform: translateX(-28px) scaleX(0.8);
  }
  35% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateX(28px) scaleX(1.08);
  }
}

@media (max-width: 1180px) {
  .hero {
    display: block;
  }

  .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    width: min(100%, 820px);
    min-width: 0;
    height: auto;
    min-height: 620px;
    margin-top: 42px;
  }
}

@media (max-width: 900px) {
  .topbar {
    height: 64px;
  }

  .nav-links {
    display: none;
  }

  .topbar .ghost-button {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 100px;
  }

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

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

  .ledger-card {
    grid-column: auto;
  }

  .route-map {
    position: relative;
    height: 220px;
    min-height: 220px;
  }

  .signal-stack {
    display: none;
  }

  .hero-metrics,
  .promise-grid,
  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-panel,
  .trial {
    grid-template-columns: 1fr;
  }

  .trial-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .hero-metrics,
  .promise-grid,
  .module-grid,
  .trial-form {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(100% - 32px, 1180px);
    padding: 52px 0;
  }

  .section-heading.split {
    align-items: start;
    flex-direction: column;
  }

  .workflow-panel,
  .trial-form {
    padding: 20px;
  }

  .chat-panel {
    right: 12px;
    bottom: 82px;
    width: calc(100vw - 24px);
  }

  .footer {
    align-items: start;
    flex-direction: column;
  }

  .footer-contacts {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: left;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
