:root {
  --ink: #07132b;
  --muted: #58657d;
  --line: #dbe5f3;
  --brand: #07166f;
  --brand-2: #0b73db;
  --cyan: #37c9ff;
  --soft: #f5f8fd;
  --white: #ffffff;
  --alert: #ffb545;
  --shadow: 0 24px 70px rgba(7, 22, 111, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: var(--white);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 10px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(219, 229, 243, 0.7);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #f7fbff;
  box-shadow: 0 0 0 8px rgba(11, 115, 219, 0.08), 0 14px 34px rgba(7, 22, 111, 0.1);
  animation: brandBreath 3.8s ease-in-out infinite;
}

.brand img {
  width: 54px;
  height: auto;
}

.site-footer img {
  width: 96px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.site-nav a,
.site-nav button {
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  color: #1c2a44;
  background: transparent;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav button:hover {
  background: #edf5ff;
  color: var(--brand);
}

.nav-disabled {
  color: #8b96a8 !important;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 26px rgba(11, 115, 219, 0.28);
}

.button.secondary {
  color: var(--brand);
  border-color: #b9d8ff;
  background: rgba(255, 255, 255, 0.86);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--brand);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 42px;
  min-height: calc(100vh - 96px);
  padding: clamp(46px, 7vw, 92px) clamp(18px, 5vw, 80px) 54px;
  overflow: hidden;
  background: #f3f8ff;
}

.hero::before {
  content: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-2);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  color: var(--brand);
  font-size: clamp(46px, 7vw, 88px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-lead {
  max-width: 640px;
  color: #20314f;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 26px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points span {
  padding: 10px 14px;
  border: 1px solid #cfe3ff;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--brand);
  font-weight: 700;
}

.hero-visual {
  align-self: center;
  display: grid;
  justify-items: center;
  padding-bottom: 78px;
}

.hero-carousel {
  position: relative;
  width: min(390px, 100%);
  aspect-ratio: 9 / 16;
  border: 8px solid rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(7, 22, 111, 0.22);
  background: #dbeaff;
  -webkit-box-reflect: below 14px linear-gradient(transparent 58%, rgba(255, 255, 255, 0.3));
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 680ms ease, transform 2200ms ease;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-dots {
  position: absolute;
  right: 22px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: calc(100% - 64px);
}

.hero-dots button {
  width: 30px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
}

.hero-dots button.active {
  background: var(--cyan);
}

.section {
  padding: clamp(58px, 8vw, 100px) clamp(18px, 5vw, 80px);
  scroll-margin-top: 96px;
}

.section-title {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-title p:last-child {
  color: var(--muted);
  font-size: 17px;
}

.workflow {
  background: var(--soft);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.flow-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(7, 19, 43, 0.06);
}

.flow-grid article {
  padding: 22px;
}

.flow-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--brand-2);
  font-size: 28px;
  font-weight: 900;
}

.flow-grid p,
.product-card p,
.about p,
.case-copy p {
  color: var(--muted);
}

.products {
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.product-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #c8dcf5;
  border-radius: 6px;
  color: var(--brand);
  background: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.filter.active {
  color: var(--white);
  background: var(--brand);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(142px, 180px) minmax(0, 1fr);
  gap: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 42px rgba(7, 19, 43, 0.07);
}

.product-card[hidden] {
  display: none;
}

.product-card:target,
.product-card:focus-visible,
.resource-card:target,
.resource-card:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 6px;
  box-shadow: 0 24px 60px rgba(11, 115, 219, 0.22);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed #b9d8ff;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.product-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  background: #eef5ff;
}

.tag {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--brand-2) !important;
  background: #eaf5ff;
  font-size: 13px;
  font-weight: 800;
}

.product-card ul {
  padding-left: 18px;
  color: #243653;
}

.product-card a {
  color: var(--brand-2);
  font-weight: 800;
}

.solutions {
  position: relative;
  display: grid;
  align-content: start;
  min-height: calc(100vh - 96px);
  padding-top: 0;
  padding-bottom: clamp(28px, 4vh, 42px);
  background:
    radial-gradient(circle at 18% 34%, rgba(55, 201, 255, 0.22), transparent 30%),
    linear-gradient(145deg, #123f97 0%, #0b327d 48%, #061f57 100%);
  color: var(--white);
  overflow: hidden;
}

.solutions::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 32%),
    radial-gradient(circle at 72% 18%, rgba(55, 201, 255, 0.2), transparent 30%);
  pointer-events: none;
}

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

.solutions .eyebrow,
.solutions .section-title p:last-child {
  color: #d4f4ff;
}

.solutions .section-title {
  margin-top: 0;
  margin-bottom: clamp(10px, 1.5vh, 16px);
}

.solution-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 1fr);
  gap: 18px;
  height: clamp(450px, calc(100vh - 170px), 650px);
  margin: 0;
  transition: filter 320ms ease;
}

.solution-stage,
.solution-script {
  border: 1px solid rgba(155, 192, 255, 0.34);
  border-radius: 6px;
  background: rgba(27, 73, 151, 0.42);
  box-shadow: 0 24px 80px rgba(2, 9, 36, 0.22);
}

.solution-stage {
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  contain: paint;
  transform: translateZ(0);
}

.stage-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    radial-gradient(circle at 48% 48%, rgba(55, 201, 255, 0.2), transparent 34%);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
  opacity: 0.86;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.stage-node {
  position: absolute;
  display: grid;
  place-items: center;
  gap: 3px;
  width: 104px;
  height: 104px;
  padding: 14px;
  border: 1px solid rgba(100, 160, 255, 0.4);
  border-radius: 50%;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 20%, rgba(55, 201, 255, 0.36), transparent 22%),
    linear-gradient(180deg, rgba(7, 28, 76, 0.94), rgba(6, 24, 67, 0.8));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 34px rgba(2, 9, 36, 0.2);
  backdrop-filter: none;
  text-align: center;
  transition: border-color 180ms ease, background 180ms ease;
  z-index: 2;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.stage-node::after {
  content: "";
  position: absolute;
  right: 17px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.stage-node span,
.stage-card span,
.scenario-kicker {
  color: #bfefff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.stage-node strong {
  font-size: 15px;
  line-height: 1.2;
}

.node-site {
  left: 7%;
  top: 8%;
}

.node-device {
  left: 38%;
  top: 24%;
  animation-delay: 0.4s;
}

.node-cloud {
  right: 9%;
  top: 9%;
  animation-delay: 0.8s;
}

.node-response {
  right: 12%;
  top: 48%;
  animation-delay: 1.2s;
}

.signal {
  position: absolute;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(55, 201, 255, 0.92), transparent);
  box-shadow: 0 0 8px rgba(55, 201, 255, 0.72);
  opacity: 0.58;
  pointer-events: none;
}

.signal-a {
  left: 20%;
  top: 31%;
  width: 31%;
  transform: rotate(20deg);
}

.signal-b {
  left: 50%;
  top: 39%;
  width: 36%;
  transform: rotate(-22deg);
  animation-delay: 0.55s;
}

.signal-c {
  left: 55%;
  top: 59%;
  width: 30%;
  transform: rotate(36deg);
  animation-delay: 1.1s;
}

.stage-card {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 12%;
  min-height: 118px;
  padding: 22px 24px 22px min(46%, 390px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.9));
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(3, 15, 45, 0.28);
  transition: transform 320ms ease, box-shadow 320ms ease;
  z-index: 1;
}

.stage-card h3 {
  margin: 4px 0 8px;
  color: var(--brand);
  font-size: clamp(26px, 2.8vw, 36px);
}

.stage-card p {
  max-width: 720px;
  margin-bottom: 0;
  color: #40506a;
}

.solution-showcase[data-active-scenario="cold"] .stage-card,
.solution-showcase[data-active-scenario="water"] .stage-card,
.solution-showcase[data-active-scenario="farm"] .stage-card {
  box-shadow: 0 18px 54px rgba(55, 201, 255, 0.22);
}

.alert-stack {
  position: absolute;
  right: 8%;
  top: 38%;
  display: grid;
  grid-template-columns: repeat(2, 68px);
  gap: 10px;
  z-index: 2;
}

.alert-stack span {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: #06214c;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 900;
}

.alert-stack span:nth-child(2) {
  animation-delay: 0.35s;
}

.alert-stack span:nth-child(3) {
  animation-delay: 0.7s;
}

.alert-stack span:nth-child(4) {
  animation-delay: 1.05s;
}

.solution-pin-board {
  position: absolute;
  left: 6%;
  top: 17%;
  z-index: 3;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: min(320px, 40%);
  height: auto;
  contain: layout paint;
}

.solution-pin-viewport {
  position: relative;
  aspect-ratio: 9 / 16;
  height: auto;
  min-height: 0;
  perspective: 1000px;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.solution-pin {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: rgba(7, 28, 76, 0.58);
  box-shadow: 0 26px 70px rgba(2, 9, 36, 0.32);
  backdrop-filter: none;
  opacity: 0;
  transform: translate3d(18px, 8px, 0) rotateY(-7deg) scale(0.965);
  transition: opacity 220ms ease, transform 260ms ease;
  pointer-events: none;
  backface-visibility: hidden;
  will-change: opacity, transform;
}

.solution-pin::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #fff 0 18%, var(--cyan) 20% 100%);
  box-shadow: 0 0 22px rgba(55, 201, 255, 0.85);
  transform: translateX(-50%);
}

.solution-pin.active {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateY(0) scale(1);
  pointer-events: auto;
}

.solution-pin img {
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.pin-nav {
  display: grid;
  place-items: center;
  width: 34px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--white);
  background: rgba(3, 15, 45, 0.52);
  font-size: 30px;
  cursor: pointer;
  backdrop-filter: none;
  transition: background 180ms ease;
}

.pin-nav:hover {
  background: rgba(55, 201, 255, 0.28);
}

.solution-pin-rail {
  grid-column: 1 / -1;
  display: flex;
  gap: 6px;
  max-width: 100%;
  min-height: 54px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(3, 15, 45, 0.46);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: auto;
}

.solution-pin-rail::-webkit-scrollbar {
  display: none;
}

.pin-thumb {
  flex: 0 0 auto;
  width: 30px;
  height: 44px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 160ms ease, border-color 160ms ease;
}

.pin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pin-thumb.active,
.pin-thumb:hover {
  border-color: var(--cyan);
  opacity: 1;
}

.solution-script {
  display: grid;
  align-content: start;
  gap: 12px;
  height: 100%;
  padding: 16px;
  overflow: hidden;
}

.scenario-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.scenario-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid rgba(198, 220, 255, 0.3);
  border-radius: 6px;
  color: #d9efff;
  background: rgba(255, 255, 255, 0.13);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.scenario-tab span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.scenario-tab strong {
  font-size: 14px;
  line-height: 1.1;
}

.scenario-tab.active {
  color: var(--brand);
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(3, 15, 45, 0.16);
}

.scenario-copy {
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(50, 117, 215, 0.24);
  border-radius: 6px;
  background: rgba(9, 38, 91, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.scenario-copy h3 {
  margin-bottom: 8px;
  font-size: clamp(24px, 2vw, 32px);
}

.scenario-copy p,
.scenario-copy li {
  color: #deedff;
}

.scenario-copy ul {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding-left: 18px;
}

.solution-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.solution-timeline article {
  position: relative;
  padding: 14px 14px 14px 16px;
  border: 1px solid rgba(198, 220, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  min-height: 92px;
}

.solution-timeline article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: rgba(255, 255, 255, 0.24);
}

.solution-timeline article.active {
  background: rgba(255, 255, 255, 0.18);
}

.solution-timeline article.active::before {
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.solution-timeline span {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-weight: 900;
}

.solution-timeline p {
  margin: 0;
  font-size: 14px;
  color: #d8eaff;
}

@keyframes brandBreath {
  0%,
  100% {
    box-shadow: 0 0 0 7px rgba(11, 115, 219, 0.06), 0 14px 34px rgba(7, 22, 111, 0.1);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(11, 115, 219, 0.12), 0 16px 38px rgba(7, 22, 111, 0.13);
  }
}

@keyframes signalSweep {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0.1;
  }
  35% {
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0 0 100%);
    opacity: 0.2;
  }
}

@keyframes nodePulse {
  0%,
  100% {
    transform: scale(0.78);
    opacity: 0.65;
  }
  50% {
    transform: scale(1.22);
    opacity: 1;
  }
}

@keyframes alertFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.case-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 30px;
  padding: clamp(52px, 7vw, 86px) clamp(18px, 5vw, 80px);
  background:
    linear-gradient(180deg, #eef5ff, #e7f0fb),
    radial-gradient(circle at 12% 0, rgba(55, 201, 255, 0.16), transparent 32%);
  scroll-margin-top: 96px;
}

.case-copy {
  max-width: 840px;
}

.case-metrics {
  display: grid;
  gap: 14px;
  align-content: center;
}

.case-metrics div {
  padding: 24px;
  border-left: 5px solid var(--brand-2);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(7, 19, 43, 0.08);
}

.case-metrics strong {
  display: block;
  color: var(--brand);
  font-size: 30px;
}

.case-metrics span {
  color: var(--muted);
}

.partner-wall {
  display: grid;
  min-height: 100%;
  margin-top: 0;
  padding: 14px;
  border: 1px solid #d5e2f3;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 38px rgba(7, 19, 43, 0.06);
}

.partner-artwork {
  display: grid;
  place-items: center;
  margin: 0;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid #c8dcf5;
  border-radius: 8px;
  background: #061634;
  box-shadow: 0 18px 46px rgba(7, 19, 43, 0.12);
}

.partner-artwork img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #061634;
}

.floating-contact {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 40;
}

.floating-main {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 18px 42px rgba(11, 115, 219, 0.38);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
}

.resource-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.resource-card {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eaf1fb;
  box-shadow: 0 14px 36px rgba(7, 19, 43, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.resource-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 22, 111, 0.08) 0%, transparent 34%),
    linear-gradient(0deg, rgba(4, 12, 42, 0.92) 0%, rgba(7, 22, 111, 0.78) 34%, rgba(7, 22, 111, 0) 68%);
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(7, 19, 43, 0.16);
}

.resource-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease;
}

.resource-card:hover img {
  transform: scale(1.04);
}

.resource-card span,
.resource-card strong {
  position: absolute;
  left: 16px;
  right: 16px;
  z-index: 2;
}

.resource-card span {
  bottom: 74px;
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  color: #d9efff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 900;
}

.resource-card strong {
  bottom: 16px;
  color: var(--white);
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.28;
  letter-spacing: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.consult {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  padding: clamp(58px, 8vw, 100px) clamp(18px, 5vw, 80px);
  color: var(--white);
  background: linear-gradient(135deg, #07132b, #092f83 58%, #0b73db);
  scroll-margin-top: 96px;
}

.consult-copy p {
  color: #d7e8ff;
}

.service-note {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.consult-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: #21304a;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c9d7ea;
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
  background: #fbfdff;
}

textarea {
  resize: vertical;
}

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

.summary {
  display: none;
  grid-column: 1 / -1;
  white-space: pre-wrap;
  padding: 16px;
  border: 1px solid #b9d8ff;
  border-radius: 6px;
  background: #f3f8ff;
  color: #14213b;
}

.summary.show {
  display: block;
}

.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  gap: 34px;
  align-items: stretch;
}

.site-footer {
  display: block;
  padding: 18px clamp(18px, 5vw, 80px);
  border-top: 1px solid var(--line);
  background: #f8fbff;
  color: var(--muted);
}

.site-footer a {
  color: var(--brand);
  font-weight: 800;
}

.footer-record {
  margin: 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}

.site-footer .footer-record a {
  color: #8d98aa;
  font-weight: 500;
}

.record-mobile {
  display: none;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  max-width: min(420px, calc(100vw - 36px));
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(7, 19, 43, 0.92);
  box-shadow: 0 14px 38px rgba(7, 19, 43, 0.28);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: block;
    grid-column: 3;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .hero,
  .consult,
  .case-band,
  .about-grid {
    grid-template-columns: 1fr;
  }

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

  .product-grid,
  .solution-showcase {
    grid-template-columns: 1fr;
  }

  .solutions {
    min-height: auto;
  }

  .solution-showcase {
    height: auto;
  }

  .solution-script {
    height: auto;
    overflow: visible;
  }

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

  .partner-artwork img {
    max-height: 360px;
  }

  .solution-stage {
    min-height: 620px;
    height: auto;
  }

  .solution-pin-board {
    top: 12%;
    width: min(320px, 48%);
  }

  .scenario-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 10px 14px;
    gap: 10px;
  }

  .brand {
    width: 66px;
    height: 66px;
  }

  .brand img {
    width: 47px;
  }

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

  .hero-visual {
    padding-bottom: 44px;
  }

  .hero::before {
    content: none;
  }

  .hero-carousel {
    width: min(330px, 88vw);
    clip-path: none;
    -webkit-box-reflect: below 10px linear-gradient(transparent 62%, rgba(255, 255, 255, 0.26));
  }

  .hero-dots {
    right: 18px;
    bottom: 18px;
    max-width: calc(100% - 36px);
  }

  .hero-dots button {
    width: 18px;
  }

  .flow-grid,
  .product-card,
  .consult-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-record {
    margin-top: 0;
    font-size: 12px;
  }

  .record-desktop {
    display: none;
  }

  .record-mobile {
    display: grid;
    gap: 2px;
    justify-items: center;
  }

  .resource-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .partner-wall {
    padding: 18px;
  }

  .partner-artwork img {
    max-height: 220px;
  }

  .floating-contact {
    right: 14px;
    bottom: 14px;
    max-width: calc(100vw - 28px);
  }

  .floating-main {
    width: 56px;
    height: 56px;
  }

  .resource-card span {
    bottom: 72px;
    font-size: 12px;
  }

  .resource-card strong {
    left: 12px;
    right: 12px;
    bottom: 14px;
    font-size: 16px;
  }

  .product-card img {
    width: min(260px, 100%);
    justify-self: center;
  }

  .solutions {
    padding-left: 14px;
    padding-right: 14px;
  }

  .solutions .section-title {
    margin-bottom: 12px;
  }

  .solution-showcase {
    display: block;
  }

  .solution-stage {
    display: grid;
    place-items: center;
    min-height: auto;
    padding: 14px 0 16px;
  }

  .solution-pin-board {
    position: relative;
    left: auto;
    top: auto;
    width: min(320px, 92vw);
    height: auto;
  }

  .stage-node,
  .signal,
  .stage-card,
  .alert-stack {
    display: none;
  }

  .solution-script {
    display: none;
  }

  .case-metrics strong {
    font-size: 24px;
  }

  h1 {
    font-size: 44px;
  }
}

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