:root {
  --bg: #f7faff;
  --bg-soft: #eaf3ff;
  --ink: #111827;
  --muted: #667085;
  --blue: #2f6bff;
  --cyan: #19b9d2;
  --orange: #ff8a3d;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.88);
  --glass-line: rgba(255, 255, 255, 0.86);
  --line: rgba(47, 107, 255, 0.14);
  --shadow: rgba(47, 107, 255, 0.18);
  --shadow-soft: rgba(17, 24, 39, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "IBM Plex Sans", "Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

button {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  font-size: 68px;
  font-weight: 700;
}

h2 {
  font-size: 46px;
  font-weight: 700;
}

h3 {
  font-size: 22px;
  font-weight: 700;
}

h4 {
  font-size: 17px;
  font-weight: 700;
}

p {
  margin: 0;
}

::selection {
  color: #fff;
  background: var(--blue);
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 20%, rgba(47, 107, 255, 0.16), transparent 36%),
    radial-gradient(circle at 84% 10%, rgba(139, 124, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #f9fbff 0%, #f7faff 44%, #eef6ff 100%);
}

.aura {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(52px);
  opacity: 0.55;
  transform: translate3d(0, 0, 0);
  animation: drift 18s ease-in-out infinite alternate;
}

.aura-one {
  right: -120px;
  top: 60px;
  background: rgba(47, 107, 255, 0.22);
}

.aura-two {
  left: -180px;
  top: 420px;
  background: rgba(25, 185, 210, 0.18);
  animation-delay: -5s;
}

.aura-three {
  right: 18%;
  bottom: -220px;
  background: rgba(255, 138, 61, 0.1);
  animation-delay: -9s;
}

.grid-mist {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47, 107, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 107, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 72%, transparent);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(24px, 6vw, 72px);
  background: rgba(255, 255, 255, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 38px rgba(47, 107, 255, 0.06);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 42px rgba(17, 24, 39, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 13px;
  box-shadow: 0 14px 34px rgba(47, 107, 255, 0.25);
  font-weight: 800;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -18px;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.5), transparent 72%);
  transform: translateX(-36px) rotate(18deg);
  animation: shine 4.8s ease-in-out infinite;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-size: 16px;
  line-height: 1;
}

.brand-text small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  transition: color 160ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.nav-cta,
.btn,
.floating-cta,
.mobile-cta {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0 20px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-cta,
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 34px rgba(47, 107, 255, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(47, 107, 255, 0.16);
  backdrop-filter: blur(16px);
}

.nav-cta:hover,
.btn:hover,
.floating-cta:hover,
.mobile-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(47, 107, 255, 0.26);
}

.btn-secondary:hover {
  border-color: rgba(47, 107, 255, 0.38);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(47, 107, 255, 0.28);
  outline-offset: 3px;
}

.section-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: 52px;
  padding: calc(var(--header-h) + 70px) 0 86px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.hero-title {
  margin-top: 18px;
  color: #172033;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.18;
}

.hero-text {
  max-width: 660px;
  margin-top: 22px;
  color: #475467;
  font-size: 19px;
  line-height: 1.8;
}

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

.hero-visual {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 560px;
}

.console-card {
  position: relative;
  width: 100%;
  min-height: 560px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.46)),
    radial-gradient(circle at 72% 20%, rgba(47, 107, 255, 0.16), transparent 34%),
    radial-gradient(circle at 22% 78%, rgba(25, 185, 210, 0.14), transparent 34%);
  border: 1px solid var(--glass-line);
  border-radius: 32px;
  box-shadow: 0 30px 88px rgba(47, 107, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px);
}

.console-card::before {
  content: "";
  position: absolute;
  inset: 56px 0 0;
  background-image:
    linear-gradient(rgba(47, 107, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 107, 255, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, #000 22%, transparent 72%);
}

.console-top {
  position: relative;
  z-index: 2;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 22px;
  color: #667085;
  border-bottom: 1px solid rgba(47, 107, 255, 0.1);
  background: rgba(255, 255, 255, 0.48);
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cdd8ee;
}

.console-top span:first-child {
  background: #ff8a3d;
}

.console-top span:nth-child(2) {
  background: #19b9d2;
}

.console-top strong {
  margin-left: 8px;
  color: #475467;
  font-size: 13px;
}

.console-stage {
  position: relative;
  min-height: 504px;
}

.connection-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(47, 107, 255, 0.24);
  stroke-width: 1.6;
}

.connection-lines path {
  stroke-dasharray: 8 10;
  animation: dashFlow 9s linear infinite;
}

.chip {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 3px;
  min-width: 138px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 17px;
  box-shadow: 0 16px 38px rgba(47, 107, 255, 0.11);
  backdrop-filter: blur(18px);
  animation: float 5.5s ease-in-out infinite;
}

.chip span {
  font-weight: 800;
}

.chip small {
  color: var(--muted);
  font-size: 12px;
}

.chip-1 {
  left: 38px;
  top: 70px;
}

.chip-2 {
  left: 22px;
  top: 208px;
  animation-delay: -1.2s;
}

.chip-3 {
  left: 58px;
  bottom: 86px;
  animation-delay: -2.5s;
}

.chip-4 {
  right: 48px;
  top: 82px;
  animation-delay: -0.8s;
}

.chip-5 {
  right: 22px;
  top: 218px;
  animation-delay: -1.8s;
}

.chip-6 {
  right: 58px;
  bottom: 86px;
  animation-delay: -3s;
}

.ai-core {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 47%;
  width: 210px;
  min-height: 240px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  transform: translate(-50%, -50%);
  text-align: center;
}

.core-glow {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.18), rgba(25, 185, 210, 0.1), transparent 68%);
  filter: blur(2px);
  animation: pulse 4.8s ease-in-out infinite;
}

.core-crystal {
  position: relative;
  width: 136px;
  height: 136px;
  transform-style: preserve-3d;
  animation: coreFloat 5.8s ease-in-out infinite;
}

.facet {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(47, 107, 255, 0.22), rgba(25, 185, 210, 0.18));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 18px 44px rgba(47, 107, 255, 0.24);
  backdrop-filter: blur(12px);
}

.facet-a {
  transform: rotate(45deg) skew(-8deg, -8deg);
  border-radius: 26px 8px 26px 8px;
}

.facet-b {
  transform: rotate(-18deg) translate(22px, -12px) scale(0.68);
  border-radius: 18px 6px 18px 6px;
  opacity: 0.75;
}

.facet-c {
  transform: rotate(18deg) translate(-22px, 18px) scale(0.64);
  border-radius: 18px 6px 18px 6px;
  opacity: 0.72;
}

.ai-core strong {
  position: relative;
  z-index: 2;
  font-size: 22px;
}

.ai-core small {
  position: relative;
  z-index: 2;
  color: var(--muted);
  font-size: 12px;
}

.result-strip {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 6;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.result-strip span {
  padding: 8px 12px;
  color: #1d4ed8;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(47, 107, 255, 0.14);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.1);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  backdrop-filter: blur(14px);
}

.block {
  padding: 92px 0;
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 830px;
  margin-bottom: 34px;
}

.section-head.centered {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.soft-panel {
  position: relative;
  width: min(1320px, calc(100% - 32px));
  padding: 92px clamp(18px, 4vw, 48px);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 4%, rgba(47, 107, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(234, 243, 255, 0.86), rgba(255, 255, 255, 0.54));
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 36px;
  box-shadow: 0 30px 90px rgba(47, 107, 255, 0.1);
  backdrop-filter: blur(18px);
}

.capability-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.capability-group,
.glass-card,
.case-card,
.track,
.merge-core,
.about-panel,
.contact-card,
.lead-form {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: 0 22px 64px rgba(47, 107, 255, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px);
}

.capability-group {
  display: grid;
  align-content: start;
  gap: 20px;
  min-height: 540px;
  padding: 26px;
  border-radius: var(--radius-lg);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.capability-group:hover,
.glass-card:hover,
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 107, 255, 0.3);
  box-shadow: 0 28px 80px rgba(47, 107, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(47, 107, 255, 0.12);
}

.icon,
.case-index {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(47, 107, 255, 0.2);
  font-size: 13px;
  font-weight: 800;
}

.capability-items {
  display: grid;
  gap: 18px;
}

.capability-items section {
  padding: 18px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(47, 107, 255, 0.1);
  border-radius: 16px;
}

.capability-items p,
.glass-card p,
.case-card p,
.about-copy p,
.contact-copy p {
  margin-top: 10px;
  color: var(--muted);
}

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

.glass-card {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: var(--radius-md);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #2350bd;
  background: rgba(47, 107, 255, 0.08);
  border: 1px solid rgba(47, 107, 255, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.tags span:nth-child(2n) {
  color: #087f92;
  background: rgba(25, 185, 210, 0.08);
  border-color: rgba(25, 185, 210, 0.14);
}

.case-gallery {
  position: relative;
  width: min(1320px, calc(100% - 32px));
  padding: 96px clamp(18px, 4vw, 48px);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(25, 185, 210, 0.11), transparent 36%),
    radial-gradient(circle at 84% 14%, rgba(47, 107, 255, 0.13), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(234, 243, 255, 0.76));
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 38px;
  box-shadow: 0 32px 96px rgba(47, 107, 255, 0.12);
}

.case-gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47, 107, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 107, 255, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}

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

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

.case-card {
  grid-column: span 3;
  min-height: 292px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--radius-lg);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.case-feature {
  grid-column: span 2;
  min-height: 340px;
}

.case-card h3 {
  margin-top: 22px;
}

.dual-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.track {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: var(--radius-lg);
}

.track::before {
  content: "";
  position: absolute;
  top: 82px;
  bottom: 34px;
  left: 48px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), rgba(47, 107, 255, 0.08));
}

.track-people::before {
  background: linear-gradient(to bottom, var(--cyan), rgba(25, 185, 210, 0.08));
}

.track h3 {
  margin-bottom: 22px;
}

.track ol {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.track li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 12px 10px 0;
  color: #344054;
  font-weight: 700;
}

.track li span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(47, 107, 255, 0.18);
  font-size: 12px;
}

.track-people li span {
  background: linear-gradient(135deg, var(--cyan), #4fd4e4);
}

.merge-core {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 28px;
  text-align: center;
  border-radius: 32px;
}

.merge-core::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.2), rgba(25, 185, 210, 0.1), transparent 66%);
  animation: pulse 5s ease-in-out infinite;
}

.merge-orbit {
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(47, 107, 255, 0.22);
  border-radius: 50%;
  animation: spin 14s linear infinite;
}

.merge-orbit::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 22px rgba(255, 138, 61, 0.46);
}

.merge-core strong,
.merge-core small {
  position: relative;
  z-index: 2;
}

.merge-core strong {
  font-size: 24px;
  line-height: 1.28;
}

.merge-core small {
  color: var(--muted);
  font-weight: 700;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  gap: 38px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 36px;
}

.about-copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

.about-copy p {
  font-size: 18px;
}

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

.cred-wall span {
  display: grid;
  min-height: 112px;
  place-items: center;
  padding: 18px;
  color: #1d4ed8;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(47, 107, 255, 0.12);
  border-radius: 18px;
  font-weight: 800;
  text-align: center;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.6fr);
  gap: 34px;
  align-items: stretch;
  padding: 86px 0 112px;
}

.contact-copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

.contact-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.contact-card {
  display: grid;
  gap: 16px;
  padding: 26px;
  border-radius: 28px;
}

.phone {
  color: var(--blue);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.address {
  color: var(--muted);
}

.qr-placeholder {
  width: 154px;
  height: 154px;
  display: grid;
  place-items: center;
  justify-items: center;
  gap: 4px;
  color: var(--muted);
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.08) 50%, transparent 0) 0 0 / 16px 16px,
    linear-gradient(rgba(17, 24, 39, 0.08) 50%, transparent 0) 0 0 / 16px 16px,
    rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(47, 107, 255, 0.14);
  border-radius: 18px;
}

.qr-placeholder span {
  color: var(--blue);
  font-size: 28px;
  font-weight: 800;
}

.qr-placeholder small {
  background: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  padding: 4px 8px;
  font-weight: 700;
}

.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 40;
  min-height: 52px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 46px rgba(47, 107, 255, 0.28);
  animation: ctaBreath 3.6s ease-in-out infinite;
}

.mobile-cta {
  display: none;
}

.form-shell {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  justify-items: end;
  pointer-events: none;
  visibility: hidden;
}

.form-shell.is-open {
  pointer-events: auto;
  visibility: visible;
}

.form-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.32);
  opacity: 0;
  backdrop-filter: blur(6px);
  transition: opacity 200ms ease;
}

.form-shell.is-open .form-backdrop {
  opacity: 1;
}

.lead-form {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  height: 100%;
  display: grid;
  align-content: start;
  gap: 16px;
  overflow: auto;
  padding: 34px;
  border-radius: 28px 0 0 28px;
  transform: translateX(104%);
  transition: transform 220ms ease;
}

.form-shell.is-open .lead-form {
  transform: translateX(0);
}

.form-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 6px;
}

.form-head h2 {
  font-size: 30px;
}

.form-head p:not(.eyebrow) {
  margin-top: 8px;
  color: var(--muted);
}

.close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(47, 107, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(47, 107, 255, 0.14);
  border-radius: 13px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(47, 107, 255, 0.48);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.1);
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.form-result {
  min-height: 24px;
  color: #087f92;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(28px, -32px, 0) scale(1.08);
  }
}

@keyframes shine {
  0%,
  56% {
    transform: translateX(-52px) rotate(18deg);
  }
  76%,
  100% {
    transform: translateX(52px) rotate(18deg);
  }
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -140;
  }
}

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

@keyframes coreFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(3deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

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

@keyframes ctaBreath {
  0%,
  100% {
    box-shadow: 0 18px 46px rgba(47, 107, 255, 0.24);
  }
  50% {
    box-shadow: 0 18px 54px rgba(47, 107, 255, 0.42);
  }
}

@media (max-width: 1180px) {
  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 40px;
  }

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

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

  .hero-visual {
    min-height: 520px;
  }

  .capability-matrix {
    grid-template-columns: 1fr;
  }

  .capability-group {
    min-height: auto;
  }

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

  .dual-track {
    grid-template-columns: 1fr;
  }

  .merge-core {
    min-height: 220px;
    order: 3;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 66px;
  }

  .site-header {
    padding-inline: 18px;
  }

  .main-nav {
    display: none;
  }

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

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 46px);
  }

  .hero-visual {
    min-height: 480px;
  }

  .console-card {
    min-height: 480px;
  }

  .console-stage {
    min-height: 424px;
  }

  .chip {
    min-width: 120px;
    padding: 11px 12px;
  }

  .chip small {
    display: none;
  }

  .ai-core {
    width: 180px;
  }

  .core-crystal {
    width: 112px;
    height: 112px;
  }

  .result-strip {
    flex-wrap: wrap;
    justify-content: center;
    width: min(100% - 34px, 320px);
  }

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

  .case-card,
  .case-feature {
    grid-column: auto;
    min-height: auto;
  }

  .about-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 20px;
  }

  .brand-text small {
    display: none;
  }

  .section-shell,
  .hero {
    width: calc(100vw - 32px);
    max-width: 358px;
  }

  .soft-panel,
  .case-gallery {
    width: calc(100vw - 20px);
    max-width: 370px;
  }

  .nav-cta {
    display: none;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-text,
  .section-head p:not(.eyebrow),
  .about-copy p,
  .contact-copy p {
    font-size: 16px;
  }

  .block {
    padding: 72px 0;
  }

  .soft-panel,
  .case-gallery {
    width: min(calc(100% - 20px), 760px);
    padding: 70px 14px;
    border-radius: 28px;
  }

  .hero {
    width: min(calc(100% - 32px), 760px);
    overflow: hidden;
  }

  .hero-copy,
  .hero-text {
    max-width: 100%;
  }

  .hero-text {
    word-break: break-all;
  }

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

  .hero-visual {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-height: 430px;
  }

  .console-card {
    width: 100%;
    max-width: 100%;
    min-height: 430px;
    border-radius: 26px;
  }

  .console-stage {
    min-height: 374px;
  }

  .connection-lines {
    opacity: 0.8;
  }

  .chip {
    min-width: auto;
    max-width: 92px;
    padding: 9px 10px;
    border-radius: 14px;
  }

  .chip span {
    font-size: 12px;
  }

  .chip-1 {
    left: 14px;
    top: 54px;
  }

  .chip-2 {
    left: 10px;
    top: 166px;
  }

  .chip-3 {
    left: 22px;
    bottom: 88px;
  }

  .chip-4 {
    right: 10px;
    top: 62px;
  }

  .chip-5 {
    right: 8px;
    top: 174px;
  }

  .chip-6 {
    right: 12px;
    bottom: 88px;
  }

  .ai-core {
    top: 45%;
    width: 150px;
  }

  .ai-core strong {
    font-size: 18px;
  }

  .ai-core small {
    max-width: 130px;
  }

  .core-crystal {
    width: 92px;
    height: 92px;
  }

  .result-strip {
    bottom: 18px;
  }

  .result-strip span {
    min-height: 28px;
    padding: 0 9px;
    font-size: 12px;
  }

  .capability-group,
  .glass-card,
  .case-card,
  .track,
  .about-panel,
  .contact-card {
    border-radius: 20px;
    padding: 20px;
  }

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

  .cred-wall span {
    min-height: 86px;
  }

  .phone {
    font-size: 30px;
  }

  .floating-cta {
    display: none;
  }

  .mobile-cta {
    position: fixed;
    inset: auto 16px 16px;
    z-index: 40;
    display: block;
    width: calc(100% - 32px);
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 18px 46px rgba(47, 107, 255, 0.28);
  }

  .form-shell {
    align-items: end;
  }

  .lead-form {
    width: 100%;
    height: min(86vh, 720px);
    padding: 24px 18px 92px;
    border-radius: 24px 24px 0 0;
    transform: translateY(104%);
  }

  .form-shell.is-open .lead-form {
    transform: translateY(0);
  }
}

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

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