:root {
  color-scheme: dark;
  --bg: #090d17;
  --bg-soft: #111625;
  --surface: rgba(19, 24, 37, 0.72);
  --surface-strong: rgba(25, 30, 46, 0.96);
  --surface-soft: rgba(25, 31, 48, 0.82);
  --border: rgba(134, 157, 255, 0.2);
  --border-strong: rgba(159, 88, 254, 0.28);
  --text: #eef2ff;
  --muted: #9da9cb;
  --muted-strong: #c1cae6;
  --primary: #5d94ff;
  --primary-strong: #3056d3;
  --secondary: #9f58fe;
  --highlight: #7cd7ff;
  --success: #8af0bf;
  --shadow: 0 20px 80px rgba(4, 8, 20, 0.55);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 999px;
  --container: min(1180px, calc(100vw - 40px));
  --font-sans: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#capabilities,
#workflow,
#scenarios,
#arch {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(93, 148, 255, 0.18), transparent 28%),
    radial-gradient(circle at 80% 12%, rgba(159, 88, 254, 0.18), transparent 30%),
    linear-gradient(180deg, #070b13 0%, #0c1120 34%, #101522 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent 88%);
  opacity: 0.34;
}

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

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

.page-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
}

.orb-a {
  width: 320px;
  height: 320px;
  top: 120px;
  left: -120px;
  background: rgba(93, 148, 255, 0.3);
}

.orb-b {
  width: 420px;
  height: 420px;
  right: -160px;
  top: 220px;
  background: rgba(159, 88, 254, 0.28);
}

.orb-c {
  width: 380px;
  height: 380px;
  right: -120px;
  top: 80px;
  background: rgba(124, 215, 255, 0.24);
}

.grid-glow {
  position: absolute;
  inset: auto auto 10% 8%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 215, 255, 0.18), transparent 70%);
  filter: blur(40px);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(22px);
  background: rgba(7, 11, 19, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner,
.footer-inner,
.brand-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner {
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(93, 148, 255, 0.2);
}

.brand span {
  font-size: 1.12rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted-strong);
}

.nav-links a {
  position: relative;
  font-size: 0.98rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

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

.button.primary {
  color: #f7f8ff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 16px 34px rgba(93, 148, 255, 0.24);
}

.button.secondary {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.button.ghost {
  color: var(--muted-strong);
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.button.small {
  min-height: 44px;
  padding-inline: 18px;
  font-size: 0.95rem;
}

.button.wide {
  width: 100%;
}

.hero {
  padding-top: 88px;
}

.hero-grid,
.highlight-panel,
.install-layout,
.download-grid-top {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--highlight);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(159, 88, 254, 0.18), rgba(93, 148, 255, 0.14));
  border: 1px solid rgba(159, 88, 254, 0.32);
  color: #c4aaff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: none;
  white-space: nowrap;
  box-shadow: 0 0 12px rgba(159, 88, 254, 0.15);
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: clamp(2.9rem, 7vw, 5.5rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.24rem;
}

p,
li,
span {
  line-height: 1.68;
}

.hero-lead,
.section-heading p,
.feature-card p,
.scenario-card p,
.workflow-card p,
.download-card p,
.metric-card p,
.install-panel p,
.side-note p,
.cta-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}

.hero-tags,
.check-grid,
.brand-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-tags li,
.check-grid span,
.brand-strip li,
.platform-pill {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.hero-stage {
  position: relative;
  min-height: 680px;
  padding: 56px 18px 24px;
}

.screen-shell,
.download-side-card,
.highlight-panel,
.highlight-aside .metric-card,
.cta-panel,
.install-panel,
.workflow-card,
.feature-card,
.scenario-card,
.download-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(25, 30, 46, 0.94), rgba(13, 17, 28, 0.9));
  box-shadow: var(--shadow);
}

.screen-shell {
  position: relative;
  margin-inline: auto;
  max-width: 780px;
  padding: 14px;
  border-radius: 36px;
  overflow: hidden;
}

.screen-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(93, 148, 255, 0.16), rgba(159, 88, 254, 0));
  pointer-events: none;
}

.float-card {
  position: absolute;
  max-width: 240px;
  padding: 18px 18px 16px;
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background: rgba(10, 13, 21, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(5, 8, 18, 0.48);
  animation: drift 8s ease-in-out infinite;
}

.float-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.float-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.float-card-top {
  top: 0;
  left: 0;
}

.float-card-right {
  top: 170px;
  right: 0;
  animation-delay: -1.6s;
}

.float-card-bottom {
  left: 54px;
  bottom: 0;
  animation-delay: -3s;
}

.brand-strip {
  position: relative;
  z-index: 1;
}

.brand-strip-inner {
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.brand-strip p {
  margin-bottom: 0;
  max-width: 420px;
  color: var(--muted-strong);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: 28px;
}

.feature-grid,
.scenario-grid,
.download-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

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

.feature-card,
.scenario-card,
.download-card,
.workflow-card,
.install-panel,
.cta-panel,
.highlight-panel,
.download-side-card {
  border-radius: var(--radius-xl);
}

.feature-card,
.scenario-card,
.download-card,
.workflow-card,
.install-panel,
.download-side-card {
  padding: 28px;
}

.feature-number,
.workflow-card span {
  display: inline-flex;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--highlight), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scenario-card ul,
.support-list,
.steps-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.scenario-card li,
.steps-list li,
.support-list div {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
}

.scenario-card {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.scenario-card:hover {
  transform: translateY(-4px);
  border-color: rgba(159, 88, 254, 0.28);
  box-shadow: 0 0 28px rgba(159, 88, 254, 0.09), 0 28px 80px rgba(0, 0, 0, 0.58);
}

.highlight-panel {
  padding: 38px;
  gap: 34px;
}

.highlight-aside {
  display: grid;
  gap: 18px;
}

.metric-card {
  padding: 22px;
  border-radius: 24px;
}

.metric-card.soft,
.soft-panel,
.support-card {
  background: linear-gradient(180deg, rgba(20, 26, 41, 0.92), rgba(12, 17, 29, 0.88));
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px;
  overflow: hidden;
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: auto -50px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 88, 254, 0.18), transparent 68%);
}

.cta-section .cta-panel {
  background: linear-gradient(135deg, rgba(28, 38, 68, 0.97), rgba(12, 16, 34, 0.97));
  border-color: rgba(93, 148, 255, 0.18);
  box-shadow: 0 0 60px rgba(93, 148, 255, 0.08), 0 40px 100px rgba(0, 0, 0, 0.54);
}

.download-grid-top {
  align-items: stretch;
}

.download-side-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mini-screen {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.mini-screen img {
  width: 100%;
  transform: scale(1.05);
  transform-origin: top center;
}

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

.download-card.featured {
  border-color: rgba(124, 215, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(31, 41, 67, 0.96), rgba(13, 18, 29, 0.92)),
    linear-gradient(135deg, rgba(93, 148, 255, 0.18), rgba(159, 88, 254, 0.18));
}

.install-layout {
  gap: 22px;
}

.steps-list {
  display: grid;
  gap: 20px;
}

.steps-list li {
  display: grid;
  gap: 6px;
  padding: 20px 0 0;
  margin-top: 0;
}

.steps-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.steps-list strong,
.support-list span,
.metric-card strong,
.side-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.support-list {
  display: grid;
  gap: 18px;
}

.support-list a {
  color: var(--highlight);
}

.site-footer {
  padding: 56px 0 0;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 2fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand-col .footer-brand {
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  max-width: 240px;
}

.footer-col-title {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-strong);
}

.footer-contact-list,
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}

.footer-contact-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact-label {
  font-size: 0.78rem;
  color: var(--muted);
  min-width: 60px;
  flex-shrink: 0;
}

.footer-contact-list a,
.footer-contact-list span:not(.footer-contact-label) {
  color: var(--muted-strong);
  transition: color 0.18s;
}

.footer-contact-list a:hover {
  color: var(--primary);
}

.footer-nav-list li { line-height: 1; }

.footer-nav-list a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.18s;
}

.footer-nav-list a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--muted);
  transition: color 0.18s;
}

.footer-bottom a:hover {
  color: var(--primary);
}

@media (max-width: 860px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.footer-brand {
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .highlight-panel,
  .install-layout,
  .download-grid-top {
    grid-template-columns: 1fr;
  }

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

  .hero-stage {
    min-height: 620px;
  }
}

@media (max-width: 860px) {
  .header-inner,
  .footer-inner,
  .brand-strip-inner,
  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .split-heading,
  .scenario-grid,
  .workflow-grid,
  .download-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero {
    padding-top: 54px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .hero-stage {
    min-height: 520px;
    padding: 30px 0 10px;
  }

  .float-card {
    position: relative;
    max-width: none;
    margin-bottom: 16px;
  }

  .float-card-top,
  .float-card-right,
  .float-card-bottom {
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 84px 0;
  }

  .container {
    width: min(calc(100vw - 28px), 1180px);
  }

  .header-inner {
    min-height: 76px;
  }

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

  .feature-card,
  .scenario-card,
  .download-card,
  .workflow-card,
  .install-panel,
  .download-side-card,
  .highlight-panel,
  .cta-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .button,
  .button.wide {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .screen-shell {
    border-radius: 26px;
    padding: 10px;
  }
}

/* ─── Device Frame & Chips ────────────────────────────────── */
.hero-visual {
  position: relative;
}

.device-frame {
  background: rgba(7, 11, 21, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top-color: rgba(93, 148, 255, 0.24);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(93, 148, 255, 0.07),
    0 0 60px rgba(93, 148, 255, 0.12),
    0 50px 150px rgba(0, 0, 0, 0.82);
}

.device-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.device-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.device-dot:first-child { background: rgba(255, 95, 86, 0.7); }
.device-dot:nth-child(2) { background: rgba(255, 189, 46, 0.7); }
.device-dot:nth-child(3) { background: rgba(39, 201, 63, 0.7); }

.device-urlbar {
  flex: 1;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.055);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.device-screen img {
  display: block;
  width: 100%;
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 40px;
  background: rgba(8, 12, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px);
  font-size: 0.84rem;
  color: var(--muted-strong);
  white-space: nowrap;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.38);
  z-index: 2;
}

.chip-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.chip-dot.blue { background: #5d94ff; box-shadow: 0 0 6px #5d94ff; animation: blink 1.8s ease-in-out infinite; }
.chip-dot.green { background: #52d992; }
.chip-dot.amber { background: #ffd43b; }

.chip-tl { top: -16px; left: -22px; }
.chip-tr { top: 26%; right: -14px; }
.chip-br { bottom: 20%; right: -14px; }

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ─── Stats Bar ───────────────────────────────────────────── */
.stats-bar {
  position: relative;
  z-index: 1;
  padding: 0;
}

.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-top-color: rgba(93, 148, 255, 0.22);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 27, 50, 0.84) 0%, rgba(10, 14, 28, 0.8) 100%);
  backdrop-filter: blur(24px);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(93, 148, 255, 0.14),
    0 20px 60px rgba(0, 0, 0, 0.32);
}

.stat-item {
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

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

.stat-value {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--primary) 30%, var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ─── Client Strip ────────────────────────────────────────── */
.client-strip {
  position: relative;
  z-index: 1;
  padding: 32px 0;
}

.client-strip-label {
  margin-bottom: 18px;
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: center;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 6px;
}

.client-logo {
  padding: 9px 18px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.88rem;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}

.client-logo:hover {
  border-color: rgba(93, 148, 255, 0.3);
  color: var(--muted-strong);
}

/* ─── Architecture Diagram ────────────────────────────────── */
.arch-section {
  position: relative;
}

.arch-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-top-color: rgba(93, 148, 255, 0.2);
  border-radius: var(--radius-xl);
  background: rgba(8, 11, 21, 0.9);
  padding: 36px 28px 28px;
  backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(93, 148, 255, 0.04),
    inset 0 1px 0 rgba(93, 148, 255, 0.1),
    0 32px 100px rgba(0, 0, 0, 0.52);
  /* fade-out right edge to hint scrollability */
  -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, black 90%, transparent 100%);
}

/* remove fade mask once content fits */
@media (min-width: 960px) {
  .arch-wrap {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.arch-svg {
  display: block;
  min-width: 700px;
  width: 100%;
}

/* scroll hint label below diagram on small screens */
.arch-scroll-hint {
  display: none;
  margin-top: 10px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

@media (max-width: 959px) {
  .arch-scroll-hint { display: block; }
}

.arch-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

@media (max-width: 860px) {
  .arch-note-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .arch-wrap {
    padding: 20px 14px 16px;
    border-radius: 20px;
  }
}

.arch-note {
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.arch-note strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.96rem;
  color: var(--muted-strong);
}

.arch-note p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* animated dashed lines inside arch SVG */
.flow-line {
  stroke-dasharray: 6, 4;
  animation: flowDash 2s linear infinite;
}

@keyframes flowDash {
  to { stroke-dashoffset: -20; }
}

/* ─── Feature Cards with Icons ────────────────────────────── */
.feature-card {
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 215, 255, 0.42), rgba(93, 148, 255, 0.42), transparent);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(93, 148, 255, 0.34);
  box-shadow:
    0 0 0 1px rgba(93, 148, 255, 0.06),
    0 0 32px rgba(93, 148, 255, 0.1),
    0 32px 90px rgba(0, 0, 0, 0.62);
}

.feature-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  padding: 9px;
  border-radius: 15px;
  background: rgba(93, 148, 255, 0.06);
  border: 1px solid rgba(93, 148, 255, 0.11);
  box-sizing: border-box;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

/* ─── Testimonials ────────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.testimonial-card {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(18, 24, 42, 0.94), rgba(10, 14, 24, 0.9));
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.38);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(93, 148, 255, 0.2);
  box-shadow: 0 0 26px rgba(93, 148, 255, 0.07), 0 26px 72px rgba(0, 0, 0, 0.52);
}

.testimonial-quote {
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--muted-strong);
  margin-bottom: 24px;
}

.testimonial-quote::before {
  content: '\201C';
  color: var(--primary);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 0;
  vertical-align: -0.56em;
  margin-right: 3px;
  opacity: 0.85;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ─── Responsive additions ────────────────────────────────── */
@media (max-width: 1100px) {
  .stats-bar-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-bar-inner .stat-item:nth-child(3) {
    border-right: 0;
  }

  .arch-note-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .chip-tl { top: -12px; left: -8px; }
  .chip-tr { top: 20%; right: -8px; }
  .chip-br { bottom: 16%; right: -8px; }
}

@media (max-width: 860px) {
  .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar-inner .stat-item:nth-child(2) {
    border-right: 0;
  }

  .arch-note-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .chip { font-size: 0.78rem; padding: 7px 11px; }
}

@media (max-width: 640px) {
  .stats-bar-inner {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item { padding: 18px 14px; }
  .stat-value { font-size: 1.6rem; }
}