/*
 * 德毅数智官网视觉优化层
 * 仅覆盖视觉表现，不改变页面结构、内容与交互逻辑。
 */

:root {
  --primary-bg: #080c1c;
  --secondary-bg: #0e1530;
  --card-bg: #121b38;
  --card-border: rgba(255, 255, 255, 0.08);
  --accent: #20b4ff;
  --accent-dim: rgba(32, 180, 255, 0.12);
  --tone-blue: #20b4ff;
  --tone-teal: #55dec6;
  --tone-violet: #a99bff;
  --tone-warm: #f6b86b;
  --text-primary: #f7f9fc;
  --text-secondary: #a7b1c3;
  --text-muted: #758197;
  --surface-elevated: #172342;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.24);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.32);
  --glow: 0 8px 24px rgba(32, 180, 255, 0.18);
}

html {
  background: var(--primary-bg);
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 12% -8%, rgba(32, 180, 255, 0.08), transparent 32rem),
    var(--primary-bg);
  color: var(--text-primary);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  color: #04101b;
  background: rgba(32, 180, 255, 0.82);
}

.container {
  max-width: 1240px;
  padding-right: 36px;
  padding-left: 36px;
}

/* Header and navigation */
header,
header.site-header {
  min-height: 76px;
  padding: 12px 36px;
  margin-right: -36px;
  margin-left: -36px;
  background: rgba(8, 12, 28, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.075);
  box-shadow: 0 10px 30px rgba(3, 7, 18, 0.14);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

header > a,
header.site-header > a {
  gap: 16px !important;
}

header img.logo,
header.site-header img.logo {
  height: 46px;
  filter: brightness(1.06);
}

header img.logo:hover,
header.site-header img.logo:hover {
  transform: none;
}

.company-title .name {
  margin-bottom: 1px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.company-title .tagline {
  color: var(--text-muted);
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

nav.site-nav,
header nav {
  gap: 2px;
}

nav.site-nav a,
header nav a {
  position: relative;
  padding: 9px 13px;
  border-radius: 9px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 550;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

nav.site-nav a:hover,
nav.site-nav a.active,
header nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
}

nav.site-nav a.active::after {
  position: absolute;
  right: 13px;
  bottom: 3px;
  left: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  content: "";
}

.nav-cta {
  min-height: 38px;
  padding: 8px 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: var(--accent);
  box-shadow: 0 8px 22px rgba(32, 180, 255, 0.16);
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: #48c1ff !important;
  box-shadow: 0 10px 28px rgba(32, 180, 255, 0.22);
}

/* Typography */
h1,
.page-header h1,
.product-hero h1 {
  color: var(--text-primary);
  font-weight: 780;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 690px;
  font-size: clamp(42px, 4.3vw, 54px);
  line-height: 1.13;
}

.page-header h1 {
  font-size: clamp(38px, 4vw, 46px);
}

h2 {
  color: var(--text-primary);
  font-size: clamp(28px, 3vw, 32px);
  font-weight: 740;
  letter-spacing: -0.025em;
}

h2::after {
  width: 40px;
  height: 2px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--accent), rgba(32, 180, 255, 0.35));
}

h3,
h4,
.service-item h3,
.card h3,
.card h4 {
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.accent-word,
.accent-text {
  color: var(--accent);
}

.eyebrow,
.page-header .eyebrow {
  margin-bottom: 18px;
  padding: 6px 13px;
  border-color: rgba(32, 180, 255, 0.22);
  border-radius: 999px;
  background: rgba(32, 180, 255, 0.085);
  color: #68ceff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

p.lead,
.page-header p.lead,
.section-intro {
  color: var(--text-secondary);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 42px;
  font-size: 15.5px;
  line-height: 1.75;
}

/* Buttons */
.cta,
.cta-secondary {
  min-height: 46px;
  padding: 11px 26px;
  border-radius: 10px;
  line-height: 1.45;
  transition: transform 180ms ease, background-color 180ms ease,
    border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.cta {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: var(--accent);
  color: #05111d;
  box-shadow: 0 10px 26px rgba(32, 180, 255, 0.18);
}

.cta:hover {
  transform: translateY(-1px);
  background: #49c2ff;
  box-shadow: 0 13px 30px rgba(32, 180, 255, 0.23);
}

.cta-secondary {
  border-color: rgba(32, 180, 255, 0.46);
  background: rgba(32, 180, 255, 0.025);
  color: #78d3ff;
}

.cta-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(32, 180, 255, 0.75);
  background: rgba(32, 180, 255, 0.09);
}

/* Shared surfaces */
.content-section,
.services-detail,
.usecases,
.cooperation,
.case-carousel-section,
.founder,
#contact,
.founder-section,
.onboard-section {
  border-color: rgba(255, 255, 255, 0.075);
  border-radius: 20px;
  background: var(--secondary-bg);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.card,
.service-item,
ul.use-list li,
.service-detail,
.feature-card,
.usecase-card,
.price-card,
.stat-card,
.value-card,
.faq-item-full,
.onboard-step {
  border-color: var(--card-border);
  border-radius: 14px;
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
}

.card:hover,
.service-item:hover,
ul.use-list li:hover,
.service-detail:hover,
.feature-card:hover,
.usecase-card:hover,
.price-card:hover,
.stat-card:hover,
.value-card:hover,
.faq-item-full:hover,
.onboard-step:hover {
  transform: translateY(-2px);
  border-color: rgba(32, 180, 255, 0.25);
  box-shadow: var(--shadow-md);
}

.card::before,
ul.use-list li::before {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(32, 180, 255, 0.85), transparent);
}

.icon-wrap,
.value-card .icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(32, 180, 255, 0.16);
  border-radius: 12px;
  background: rgba(32, 180, 255, 0.07);
  color: var(--accent);
}

.icon-wrap svg {
  width: 25px;
  height: 25px;
}

.card:hover .icon-wrap svg,
.service-item:hover .icon-wrap svg {
  animation: none;
  filter: none;
  transform: translateY(-1px);
}

/* Homepage */
.hero {
  gap: 64px;
  min-height: 610px;
  padding: 92px 0 76px;
}

.hero::before {
  background:
    linear-gradient(rgba(32, 180, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 180, 255, 0.016) 1px, transparent 1px);
  background-size: 72px 72px;
  animation-duration: 36s;
}

.hero-left p.lead {
  max-width: 650px;
  margin-bottom: 18px;
  font-size: 16px;
}

.hero-left .cta {
  margin-top: 10px;
}

.services-box {
  flex-basis: 360px;
  padding: 30px;
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(32, 180, 255, 0.075), transparent 44%),
    var(--card-bg);
  box-shadow: var(--shadow-md);
}

.services-box h3 {
  color: var(--text-primary);
}

.services-box ul {
  color: var(--text-secondary);
  line-height: 1.95;
}

.products-section {
  border-color: rgba(32, 180, 255, 0.15);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 12%, rgba(32, 180, 255, 0.1), transparent 28rem),
    var(--secondary-bg);
  box-shadow: var(--shadow-md);
}

.product-card,
.product-mock-dashboard {
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

.product-badge,
.case-card .case-tag {
  border-color: rgba(32, 180, 255, 0.2);
  background: rgba(32, 180, 255, 0.075);
  color: #68ceff;
}

.mock-card,
.mock-line-chart {
  border-color: rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.035);
}

.stats {
  gap: 0;
  margin: 80px 0;
  padding: 38px 0;
  border-color: rgba(255, 255, 255, 0.075);
}

.stat-item {
  padding: 4px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.075);
}

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

.stat-number {
  color: #6ed1ff;
  font-size: 40px;
  letter-spacing: -0.04em;
  text-shadow: none;
}

.advantages,
.services-detail,
.usecases,
.cooperation,
.case-carousel-section,
.founder-section,
#contact {
  margin-top: 88px;
}

.services-detail,
.usecases,
.cooperation,
#contact {
  padding: 52px;
}

.case-card {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(18, 27, 56, 0.96);
  box-shadow: var(--shadow-md);
}

.case-card.active {
  border-color: rgba(32, 180, 255, 0.23);
  box-shadow: var(--shadow-lg);
}

.carousel-track {
  height: 610px;
}

.case-img {
  height: 250px;
  background: #0b1229;
}

.case-img img {
  object-fit: contain;
  object-position: center;
  background: #0b1229;
}

.case-img img.case-cover-image {
  object-fit: cover;
}

/* Success-case product visuals: code-native, responsive and animation-ready. */
.case-img img {
  z-index: 0;
}

.case-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  color: #f5f8ff;
  font-size: 11px;
  background:
    radial-gradient(circle at 78% 26%, rgba(var(--case-rgb), 0.18), transparent 32%),
    radial-gradient(circle at 24% 80%, rgba(var(--case-rgb), 0.09), transparent 31%),
    linear-gradient(145deg, #0b1229 0%, #111a38 58%, #0a1128 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  isolation: isolate;
}

.case-visual.gallery-active {
  opacity: 1;
}

.case-visual::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  -webkit-mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.82), transparent 82%);
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.82), transparent 82%);
}

.case-visual::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 18%, rgba(var(--case-rgb), 0.055) 45%, transparent 70%);
  content: "";
}

.case-visual > * {
  position: absolute;
}

.visual-kicker {
  top: 7%;
  left: 5%;
  z-index: 2;
  padding: 5px 10px;
  border: 1px solid rgba(var(--case-rgb), 0.28);
  border-radius: 999px;
  color: var(--case-tone);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(var(--case-rgb), 0.08);
  box-shadow: 0 0 20px rgba(var(--case-rgb), 0.08);
}

.visual-stat {
  right: 5%;
  bottom: 8%;
  z-index: 3;
  display: flex;
  min-width: 94px;
  padding: 8px 11px;
  border: 1px solid rgba(var(--case-rgb), 0.22);
  border-radius: 9px;
  flex-direction: column;
  background: rgba(9, 16, 39, 0.78);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}

.visual-stat strong {
  color: var(--case-tone);
  font-size: 17px;
  line-height: 1;
}

.visual-stat span {
  margin-top: 5px;
  color: rgba(225, 232, 248, 0.65);
  font-size: 8px;
}

/* 01 — Multi-agent business orchestration */
.agent-orbit {
  top: 52%;
  left: 49%;
  z-index: 2;
  width: 29%;
  max-width: 116px;
  aspect-ratio: 1;
  border: 1px solid rgba(var(--case-rgb), 0.23);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.agent-orbit::before,
.agent-orbit::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 230%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--case-rgb), 0.28), transparent);
  content: "";
  transform: translate(-50%, -50%);
}

.agent-orbit::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.agent-orbit i {
  position: absolute;
  border: 1px solid rgba(var(--case-rgb), 0.35);
  border-radius: 50%;
}

.agent-orbit i:first-child {
  inset: 12%;
  border-top-color: var(--case-tone);
  border-right-color: transparent;
}

.agent-orbit i:nth-child(2) {
  inset: 28%;
  border-bottom-color: var(--case-tone);
  box-shadow: 0 0 18px rgba(var(--case-rgb), 0.22);
}

.agent-orbit > span {
  position: absolute;
  inset: 38%;
  display: grid;
  border-radius: 50%;
  place-items: center;
  color: #081020;
  font-size: 8px;
  font-weight: 800;
  background: var(--case-tone);
  box-shadow: 0 0 24px rgba(var(--case-rgb), 0.55);
}

.visual-node {
  z-index: 2;
  min-width: 44px;
  padding: 6px 8px;
  border: 1px solid rgba(var(--case-rgb), 0.25);
  border-radius: 7px;
  color: rgba(239, 245, 255, 0.78);
  text-align: center;
  background: rgba(17, 27, 57, 0.88);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.visual-agent .node-1 { top: 31%; left: 13%; }
.visual-agent .node-2 { top: 30%; right: 13%; }
.visual-agent .node-3 { top: 59%; left: 8%; }
.visual-agent .node-4 { top: 57%; right: 8%; }
.visual-agent .node-5 { bottom: 14%; left: 25%; }
.visual-agent .node-6 { right: 26%; bottom: 14%; }
.visual-agent .node-7 { top: 14%; left: 44%; }
.visual-agent .visual-stat { right: 3.5%; bottom: 5%; }

/* 02 — GMV anomaly attribution */
.attr-metric {
  top: 28%;
  left: 6%;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.attr-metric span {
  color: rgba(224, 233, 248, 0.58);
  font-size: 9px;
}

.attr-metric strong {
  margin-top: 3px;
  font-size: clamp(19px, 5vw, 25px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.attr-metric em {
  margin-top: 5px;
  color: #ff7f8b;
  font-size: 9px;
  font-style: normal;
}

.attr-bars {
  bottom: 19%;
  left: 6%;
  z-index: 2;
  display: flex;
  width: 34%;
  height: 21%;
  align-items: end;
  gap: 5px;
}

.attr-bars i,
.bi-bars i,
.medical-bars i {
  display: block;
  flex: 1;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, var(--case-tone), rgba(var(--case-rgb), 0.28));
  transform-origin: bottom;
}

.attr-bars i:nth-child(1) { height: 42%; }
.attr-bars i:nth-child(2) { height: 67%; }
.attr-bars i:nth-child(3) { height: 48%; }
.attr-bars i:nth-child(4) { height: 88%; }
.attr-bars i:nth-child(5) { height: 59%; }
.attr-bars i:nth-child(6) { height: 76%; }

.attr-tree {
  top: 27%;
  right: 5%;
  z-index: 2;
  display: grid;
  width: 40%;
  height: 36%;
  padding-top: 27px;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.attr-tree::before {
  position: absolute;
  top: 21px;
  left: 12%;
  width: 76%;
  height: 28px;
  border-top: 1px solid rgba(var(--case-rgb), 0.35);
  border-right: 1px solid rgba(var(--case-rgb), 0.22);
  border-left: 1px solid rgba(var(--case-rgb), 0.22);
  content: "";
}

.attr-tree strong {
  position: absolute;
  top: 0;
  left: 50%;
  padding: 5px 10px;
  border: 1px solid rgba(var(--case-rgb), 0.3);
  border-radius: 6px;
  color: var(--case-tone);
  font-size: 9px;
  background: #111c39;
  transform: translateX(-50%);
}

.attr-tree span {
  z-index: 1;
  display: grid;
  height: 34px;
  border: 1px solid rgba(var(--case-rgb), 0.2);
  border-radius: 6px;
  place-items: center;
  color: rgba(235, 240, 252, 0.76);
  background: rgba(var(--case-rgb), 0.07);
}

.visual-attribution .visual-stat { right: 5%; bottom: 7%; }

/* 03 — Floor plan to interior render */
.floor-plan {
  top: 30%;
  left: 7%;
  z-index: 2;
  width: 29%;
  height: 46%;
  border: 2px solid rgba(var(--case-rgb), 0.58);
  border-radius: 4px;
  background: rgba(12, 19, 43, 0.72);
}

.floor-plan::before,
.floor-plan::after,
.floor-plan i {
  position: absolute;
  border: 1px solid rgba(var(--case-rgb), 0.38);
  content: "";
}

.floor-plan::before { inset: 12% 48% 47% 9%; }
.floor-plan::after { inset: 54% 48% 10% 9%; }
.floor-plan i:nth-child(1) { inset: 12% 9% 58% 56%; }
.floor-plan i:nth-child(2) { inset: 47% 9% 10% 56%; }
.floor-plan i:nth-child(3) { top: 49%; left: 31%; width: 17%; border-bottom: 0; }
.floor-plan i:nth-child(4) { top: 38%; left: 55%; height: 15%; border-right: 0; }

.floor-plan > span {
  position: absolute;
  right: 7%;
  bottom: 6%;
  padding: 3px 6px;
  border-radius: 4px;
  color: var(--case-tone);
  font-size: 7px;
  background: rgba(var(--case-rgb), 0.1);
}

.render-arrow {
  top: 44%;
  left: 42%;
  z-index: 2;
  width: 12%;
  height: 34px;
}

.render-arrow::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--case-rgb), 0.18), var(--case-tone));
  content: "";
}

.render-arrow::after {
  position: absolute;
  top: calc(50% - 4px);
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--case-tone);
  border-right: 1px solid var(--case-tone);
  content: "";
  transform: rotate(45deg);
}

.render-arrow i {
  position: absolute;
  top: calc(50% - 3px);
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--case-tone);
  box-shadow: 0 0 12px rgba(var(--case-rgb), 0.8);
}

.render-arrow span {
  position: absolute;
  top: -2px;
  left: 50%;
  color: rgba(232, 239, 255, 0.7);
  font-size: 8px;
  transform: translateX(-50%);
}

.room-preview {
  top: 25%;
  right: 7%;
  z-index: 2;
  width: 36%;
  height: 52%;
  overflow: hidden;
  border: 1px solid rgba(var(--case-rgb), 0.38);
  border-radius: 7px;
  background:
    linear-gradient(150deg, transparent 0 58%, rgba(var(--case-rgb), 0.14) 59% 100%),
    linear-gradient(90deg, #17213e 0 48%, #101a35 49% 100%);
  box-shadow: inset 0 0 26px rgba(var(--case-rgb), 0.08);
}

.room-preview::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 35%;
  background: linear-gradient(165deg, #26304b 0 49%, #1c2644 50% 100%);
  content: "";
}

.room-preview .window {
  position: absolute;
  top: 12%;
  left: 12%;
  width: 30%;
  height: 31%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(var(--case-rgb), 0.38), rgba(var(--case-rgb), 0.06));
}

.room-preview .sofa {
  position: absolute;
  right: 12%;
  bottom: 21%;
  width: 52%;
  height: 23%;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, rgba(var(--case-rgb), 0.75), rgba(var(--case-rgb), 0.3));
}

.room-preview .table {
  position: absolute;
  bottom: 13%;
  left: 14%;
  width: 28%;
  height: 9%;
  border-radius: 50%;
  background: rgba(244, 238, 228, 0.55);
}

.room-preview .lamp {
  position: absolute;
  top: 16%;
  right: 9%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff3b6;
  box-shadow: 0 0 22px rgba(255, 235, 142, 0.55);
}

.visual-render .visual-stat { right: 7%; bottom: 6%; }

/* 04 — Store catchment map and opportunity scan */
.store-map {
  top: 25%;
  left: 6%;
  z-index: 2;
  width: 61%;
  height: 58%;
  overflow: hidden;
  border: 1px solid rgba(var(--case-rgb), 0.25);
  border-radius: 8px;
  background:
    linear-gradient(30deg, transparent 48%, rgba(var(--case-rgb), 0.1) 49% 51%, transparent 52%),
    linear-gradient(120deg, transparent 47%, rgba(var(--case-rgb), 0.08) 48% 50%, transparent 51%),
    rgba(13, 22, 44, 0.86);
}

.store-map .road-a,
.store-map .road-b {
  position: absolute;
  top: 47%;
  left: -10%;
  width: 120%;
  height: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  transform: rotate(-10deg);
}

.store-map .road-b {
  transform: rotate(32deg);
}

.store-map .pin {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(9, 16, 37, 0.9);
  border-radius: 50% 50% 50% 0;
  background: var(--case-tone);
  box-shadow: 0 0 14px rgba(var(--case-rgb), 0.5);
  transform: rotate(-45deg);
}

.store-map .p1 { top: 20%; left: 22%; }
.store-map .p2 { top: 58%; left: 34%; }
.store-map .p3 { top: 31%; left: 66%; }
.store-map .p4 { top: 66%; left: 78%; }

.store-map .map-scan {
  position: absolute;
  top: 48%;
  left: 54%;
  width: 20px;
  height: 20px;
  border: 1px solid var(--case-tone);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.store-scores {
  top: 27%;
  right: 6%;
  z-index: 2;
  display: grid;
  width: 23%;
  gap: 7px;
}

.store-scores > span {
  display: grid;
  padding: 8px 9px;
  border: 1px solid rgba(var(--case-rgb), 0.2);
  border-radius: 7px;
  color: rgba(229, 235, 248, 0.62);
  font-size: 7px;
  background: rgba(15, 25, 52, 0.84);
  grid-template-columns: 6px 1fr auto;
  align-items: center;
  gap: 4px;
}

.store-scores i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--case-tone);
}

.store-scores strong {
  color: #fff;
  font-size: 14px;
}

.visual-store .visual-stat { right: 6%; bottom: 7%; }

/* 05 — Conversational BI */
.bi-chat {
  top: 27%;
  left: 6%;
  z-index: 2;
  display: flex;
  width: 40%;
  height: 48%;
  padding: 12px 10px;
  border: 1px solid rgba(var(--case-rgb), 0.2);
  border-radius: 8px;
  flex-direction: column;
  gap: 9px;
  background: rgba(13, 22, 46, 0.82);
}

.bi-chat::before {
  color: rgba(220, 230, 248, 0.47);
  font-size: 7px;
  content: "AI DATA COPILOT";
  letter-spacing: 0.12em;
}

.bi-chat span {
  max-width: 90%;
  padding: 7px 9px;
  border-radius: 7px 7px 2px 7px;
  color: rgba(242, 247, 255, 0.83);
  font-size: 8px;
  background: rgba(var(--case-rgb), 0.14);
  align-self: flex-end;
}

.bi-chat span:last-child {
  border-radius: 7px 7px 7px 2px;
  color: var(--case-tone);
  background: rgba(255, 255, 255, 0.05);
  align-self: flex-start;
}

.bi-dashboard {
  top: 25%;
  right: 6%;
  z-index: 2;
  width: 42%;
  height: 52%;
  padding: 10px 11px;
  border: 1px solid rgba(var(--case-rgb), 0.23);
  border-radius: 8px;
  background: rgba(13, 22, 46, 0.88);
}

.bi-dashboard strong {
  color: rgba(231, 238, 252, 0.7);
  font-size: 8px;
}

.bi-dashboard em {
  position: absolute;
  right: 9px;
  bottom: 7px;
  color: var(--case-tone);
  font-size: 7px;
  font-style: normal;
}

.bi-bars {
  position: absolute;
  inset: 29% 9% 24%;
  display: flex;
  align-items: end;
  gap: 5px;
}

.bi-bars i:nth-child(1) { height: 48%; }
.bi-bars i:nth-child(2) { height: 70%; }
.bi-bars i:nth-child(3) { height: 56%; }
.bi-bars i:nth-child(4) { height: 88%; }
.bi-bars i:nth-child(5) { height: 78%; }

.visual-bi .visual-stat { right: 6%; bottom: 5%; }

/* 06 — DRG / DIP operating cockpit */
.medical-mark {
  top: 39%;
  left: 10%;
  z-index: 2;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(var(--case-rgb), 0.28);
  border-radius: 15px;
  background: rgba(var(--case-rgb), 0.07);
  box-shadow: 0 0 28px rgba(var(--case-rgb), 0.12);
}

.medical-mark i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 8px;
  border-radius: 2px;
  background: var(--case-tone);
  transform: translate(-50%, -50%);
}

.medical-mark i:last-child {
  transform: translate(-50%, -50%) rotate(90deg);
}

.medical-ring {
  top: 36%;
  left: 29%;
  z-index: 2;
  display: grid;
  width: 63px;
  height: 63px;
  border-radius: 50%;
  background: conic-gradient(var(--case-tone) 0 78%, rgba(255, 255, 255, 0.08) 78% 100%);
  place-content: center;
  text-align: center;
}

.medical-ring::before {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #101a37;
  content: "";
}

.medical-ring strong,
.medical-ring span {
  position: relative;
  z-index: 1;
}

.medical-ring strong { color: #fff; font-size: 14px; line-height: 1; }
.medical-ring span { margin-top: 3px; color: rgba(225, 232, 248, 0.5); font-size: 7px; }

.medical-bars {
  top: 31%;
  right: 7%;
  z-index: 2;
  display: flex;
  width: 42%;
  height: 29%;
  padding: 10px;
  border: 1px solid rgba(var(--case-rgb), 0.2);
  border-radius: 7px;
  align-items: end;
  gap: 5px;
  background: rgba(13, 22, 46, 0.75);
}

.medical-bars i:nth-child(1) { height: 43%; }
.medical-bars i:nth-child(2) { height: 71%; }
.medical-bars i:nth-child(3) { height: 59%; }
.medical-bars i:nth-child(4) { height: 84%; }
.medical-bars i:nth-child(5) { height: 66%; }
.medical-bars i:nth-child(6) { height: 91%; }

.medical-metrics {
  right: 7%;
  bottom: 17%;
  z-index: 2;
  display: flex;
  width: 42%;
  gap: 6px;
}

.medical-metrics span {
  flex: 1;
  padding: 7px;
  border: 1px solid rgba(var(--case-rgb), 0.18);
  border-radius: 6px;
  color: rgba(225, 232, 248, 0.52);
  font-size: 7px;
  background: rgba(13, 22, 46, 0.78);
}

.medical-metrics strong {
  display: block;
  margin-top: 3px;
  color: var(--case-tone);
  font-size: 13px;
}

/* 07 — Global content pipeline */
.global-orbit {
  top: 31%;
  left: 7%;
  z-index: 2;
  width: 20%;
  aspect-ratio: 1;
  border: 1px solid rgba(var(--case-rgb), 0.45);
  border-radius: 50%;
  box-shadow: inset 0 0 24px rgba(var(--case-rgb), 0.1), 0 0 26px rgba(var(--case-rgb), 0.09);
}

.global-orbit::before,
.global-orbit::after {
  position: absolute;
  inset: 18% 3%;
  border: 1px solid rgba(var(--case-rgb), 0.3);
  border-radius: 50%;
  content: "";
}

.global-orbit::after {
  inset: 3% 31%;
}

.global-orbit i {
  position: absolute;
  top: 50%;
  left: -8%;
  width: 116%;
  height: 1px;
  background: rgba(var(--case-rgb), 0.32);
}

.global-orbit i:nth-child(2) {
  transform: rotate(28deg);
}

.global-orbit span {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--case-tone);
  font-size: 9px;
  font-weight: 800;
  transform: translate(-50%, -50%);
}

.global-pipeline {
  top: 39%;
  right: 5%;
  z-index: 2;
  display: flex;
  width: 65%;
  justify-content: space-between;
  align-items: center;
}

.global-pipeline::before {
  position: absolute;
  top: 50%;
  right: 6%;
  left: 6%;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--case-rgb), 0.18), var(--case-tone), rgba(var(--case-rgb), 0.18));
  content: "";
}

.global-pipeline span {
  display: grid;
  width: 42px;
  height: 34px;
  border: 1px solid rgba(var(--case-rgb), 0.28);
  border-radius: 7px;
  place-items: center;
  color: rgba(237, 242, 253, 0.74);
  font-size: 7px;
  background: #111a38;
}

.global-pipeline b {
  position: absolute;
  top: calc(50% - 3px);
  left: 5%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--case-tone);
  box-shadow: 0 0 12px rgba(var(--case-rgb), 0.9);
}

.visual-global .visual-stat { right: 5%; bottom: 9%; }

/* 08 — OpenClaw enterprise hub */
.claw-hub {
  top: 54%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(var(--case-rgb), 0.5);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--case-rgb), 0.3), rgba(var(--case-rgb), 0.06) 65%);
  box-shadow: 0 0 36px rgba(var(--case-rgb), 0.18);
  place-items: center;
  transform: translate(-50%, -50%);
}

.claw-hub::before,
.claw-hub::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 360%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--case-rgb), 0.34), transparent);
  content: "";
  transform: translate(-50%, -50%);
}

.claw-hub::after {
  width: 190%;
  transform: translate(-50%, -50%) rotate(90deg);
}

.claw-hub i {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(var(--case-rgb), 0.3);
  border-top-color: var(--case-tone);
  border-radius: 50%;
}

.claw-hub i:nth-child(2) {
  inset: 25%;
  border-top-color: transparent;
  border-bottom-color: var(--case-tone);
}

.claw-hub strong {
  color: #f7f9ff;
  font-size: 10px;
  line-height: 1.05;
  text-align: center;
}

.claw-node {
  z-index: 2;
  display: grid;
  min-width: 58px;
  padding: 7px 9px;
  border: 1px solid rgba(var(--case-rgb), 0.26);
  border-radius: 7px;
  place-items: center;
  color: rgba(235, 241, 253, 0.74);
  background: rgba(17, 27, 57, 0.9);
}

.visual-claw .c1 { top: 49%; left: 8%; }
.visual-claw .c2 { top: 49%; right: 8%; }
.visual-claw .c3 { top: 16%; left: 43%; }
.visual-claw .c4 { bottom: 14%; left: 43%; }
.visual-claw .visual-stat { top: 6%; right: 4%; bottom: auto; }

/* Motion only runs on the visible visual of the focused carousel card. */
.case-card.active .visual-agent.gallery-active .agent-orbit i:first-child,
.case-card.active .visual-claw.gallery-active .claw-hub i:first-child {
  animation: caseVisualSpin 8s linear infinite;
}

.case-card.active .visual-agent.gallery-active .agent-orbit i:nth-child(2),
.case-card.active .visual-claw.gallery-active .claw-hub i:nth-child(2) {
  animation: caseVisualSpinReverse 5s linear infinite;
}

.case-card.active .visual-agent.gallery-active .visual-node,
.case-card.active .visual-claw.gallery-active .claw-node {
  animation: caseVisualNodeGlow 2.8s ease-in-out infinite;
}

.case-card.active .visual-agent.gallery-active .node-2,
.case-card.active .visual-claw.gallery-active .c2 { animation-delay: -0.45s; }
.case-card.active .visual-agent.gallery-active .node-3,
.case-card.active .visual-claw.gallery-active .c3 { animation-delay: -0.9s; }
.case-card.active .visual-agent.gallery-active .node-4,
.case-card.active .visual-claw.gallery-active .c4 { animation-delay: -1.35s; }
.case-card.active .visual-agent.gallery-active .node-5 { animation-delay: -1.8s; }
.case-card.active .visual-agent.gallery-active .node-6 { animation-delay: -2.25s; }
.case-card.active .visual-agent.gallery-active .node-7 { animation-delay: -2.7s; }

.case-card.active .visual-attribution.gallery-active .attr-bars i,
.case-card.active .visual-bi.gallery-active .bi-bars i,
.case-card.active .visual-medical.gallery-active .medical-bars i {
  animation: caseVisualBar 2.3s ease-in-out infinite alternate;
}

.case-card.active .case-visual.gallery-active .attr-bars i:nth-child(2),
.case-card.active .case-visual.gallery-active .bi-bars i:nth-child(2),
.case-card.active .case-visual.gallery-active .medical-bars i:nth-child(2) { animation-delay: -0.7s; }
.case-card.active .case-visual.gallery-active .attr-bars i:nth-child(3),
.case-card.active .case-visual.gallery-active .bi-bars i:nth-child(3),
.case-card.active .case-visual.gallery-active .medical-bars i:nth-child(3) { animation-delay: -1.1s; }
.case-card.active .case-visual.gallery-active .attr-bars i:nth-child(4),
.case-card.active .case-visual.gallery-active .bi-bars i:nth-child(4),
.case-card.active .case-visual.gallery-active .medical-bars i:nth-child(4) { animation-delay: -1.6s; }
.case-card.active .case-visual.gallery-active .attr-bars i:nth-child(5),
.case-card.active .case-visual.gallery-active .bi-bars i:nth-child(5),
.case-card.active .case-visual.gallery-active .medical-bars i:nth-child(5) { animation-delay: -0.35s; }
.case-card.active .case-visual.gallery-active .attr-bars i:nth-child(6),
.case-card.active .case-visual.gallery-active .medical-bars i:nth-child(6) { animation-delay: -1.9s; }

.case-card.active .visual-render.gallery-active .render-arrow i {
  animation: caseVisualArrow 1.8s ease-in-out infinite;
}

.case-card.active .visual-render.gallery-active .room-preview .lamp {
  animation: caseVisualLamp 2.2s ease-in-out infinite;
}

.case-card.active .visual-store.gallery-active .map-scan {
  animation: caseVisualScan 2.7s ease-out infinite;
}

.case-card.active .visual-store.gallery-active .pin {
  animation: caseVisualPin 2s ease-in-out infinite;
}

.case-card.active .visual-store.gallery-active .p2 { animation-delay: -0.5s; }
.case-card.active .visual-store.gallery-active .p3 { animation-delay: -1s; }
.case-card.active .visual-store.gallery-active .p4 { animation-delay: -1.5s; }

.case-card.active .visual-bi.gallery-active .bi-chat span:last-child {
  animation: caseVisualReply 2.6s ease-in-out infinite;
}

.case-card.active .visual-medical.gallery-active .medical-ring {
  animation: caseVisualBreathe 2.5s ease-in-out infinite;
}

.case-card.active .visual-global.gallery-active .global-orbit {
  animation: caseVisualFloat 3.2s ease-in-out infinite;
}

.case-card.active .visual-global.gallery-active .global-pipeline b {
  animation: caseVisualFlow 3s linear infinite;
}

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

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

@keyframes caseVisualNodeGlow {
  0%, 100% { border-color: rgba(var(--case-rgb), 0.2); background: rgba(17, 27, 57, 0.88); }
  50% { border-color: rgba(var(--case-rgb), 0.62); background: rgba(var(--case-rgb), 0.14); }
}

@keyframes caseVisualBar {
  0% { opacity: 0.6; transform: scaleY(0.72); }
  100% { opacity: 1; transform: scaleY(1); }
}

@keyframes caseVisualArrow {
  0% { opacity: 0; transform: translateX(0); }
  40%, 70% { opacity: 1; }
  100% { opacity: 0; transform: translateX(46px); }
}

@keyframes caseVisualLamp {
  50% { opacity: 0.72; box-shadow: 0 0 12px rgba(255, 235, 142, 0.35); }
}

@keyframes caseVisualScan {
  0% { opacity: 0.8; transform: translate(-50%, -50%) scale(0.35); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(6); }
}

@keyframes caseVisualPin {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -4px; }
}

@keyframes caseVisualReply {
  0%, 14% { opacity: 0.32; transform: translateY(4px); }
  35%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes caseVisualBreathe {
  50% { filter: brightness(1.16); transform: scale(1.035); }
}

@keyframes caseVisualFloat {
  50% { transform: translateY(-5px); }
}

@keyframes caseVisualFlow {
  0% { left: 5%; opacity: 0; }
  8%, 92% { opacity: 1; }
  100% { left: 94%; opacity: 0; }
}

.case-card:nth-child(1) {
  --case-tone: var(--tone-blue);
  --case-rgb: 32, 180, 255;
}

.case-card:nth-child(2) {
  --case-tone: var(--tone-teal);
  --case-rgb: 85, 222, 198;
}

.case-card:nth-child(3) {
  --case-tone: var(--tone-violet);
  --case-rgb: 169, 155, 255;
}

.case-card:nth-child(4) {
  --case-tone: var(--tone-warm);
  --case-rgb: 246, 184, 107;
}

.case-card:nth-child(5) {
  --case-tone: #2dcde8;
  --case-rgb: 45, 205, 232;
}

.case-card:nth-child(6) {
  --case-tone: #7089ff;
  --case-rgb: 112, 137, 255;
}

.case-card:nth-child(7) {
  --case-tone: #c47eff;
  --case-rgb: 196, 126, 255;
}

.case-card:nth-child(8) {
  --case-tone: #759bff;
  --case-rgb: 117, 155, 255;
}

.case-card.active {
  border-color: rgba(var(--case-rgb), 0.32);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34), 0 0 34px rgba(var(--case-rgb), 0.08);
}

.case-card .case-tag {
  border-color: rgba(var(--case-rgb), 0.2);
  background: rgba(var(--case-rgb), 0.075);
  color: var(--case-tone);
}

.case-card .block-label {
  color: var(--case-tone);
}

.case-card .gallery-dots-inner span.active {
  background: var(--case-tone);
}

.case-card.active .case-cover-image {
  filter: saturate(1.04) brightness(1.02);
}

.case-img::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 66%, rgba(8, 12, 28, 0.5));
  content: "";
  pointer-events: none;
}

.gallery-dots-inner {
  z-index: 2;
}

.carousel-btn {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(18, 27, 56, 0.88);
  box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(32, 180, 255, 0.18);
}

.founder img,
.founder-img {
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

/* Shared inner-page header */
.breadcrumb {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.page-header {
  padding: 72px 0 50px;
}

.page-header p.lead {
  max-width: 730px;
  font-size: 16px;
}

/* Services page */
.service-detail {
  margin-top: 24px;
  padding: 36px 40px;
  border-left: 1px solid var(--card-border);
}

.service-detail::before {
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(32, 180, 255, 0.15));
}

.service-icon {
  width: 68px;
  height: 68px;
  border-color: rgba(32, 180, 255, 0.2);
  border-radius: 14px;
  background: rgba(32, 180, 255, 0.075);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-body .service-tag {
  padding: 4px 10px;
  border-color: rgba(32, 180, 255, 0.18);
  background: rgba(32, 180, 255, 0.065);
  color: #68ceff;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.service-section-title,
.founder-section-title {
  color: #77d3ff;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.feature-list li::before {
  width: 6px;
  height: 6px;
  background: var(--accent);
  box-shadow: none;
}

.scene-tag {
  padding: 6px 12px;
  border-color: rgba(255, 255, 255, 0.085);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-secondary);
}

.services-cta,
.about-cta,
.faq-cta,
.geo-cta {
  border-color: rgba(32, 180, 255, 0.16);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(32, 180, 255, 0.12), transparent 24rem),
    var(--secondary-bg);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
}

/* GEO product page */
.product-hero {
  border-color: rgba(32, 180, 255, 0.17);
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 10%, rgba(32, 180, 255, 0.12), transparent 25rem),
    var(--secondary-bg);
  box-shadow: var(--shadow-md);
}

.product-hero h1 {
  font-size: clamp(34px, 3.5vw, 46px);
  line-height: 1.16;
}

.product-hero-visual::before {
  opacity: 0.55;
}

.product-dashboard,
.product-mock-dashboard-large {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(8, 12, 28, 0.78);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.features-section,
.compare-section,
.usecases-section,
.pricing-section,
.onboard-section {
  margin-top: 88px;
}

.feature-card,
.usecase-card,
.price-card,
.onboard-step {
  box-shadow: none;
}

.compare-table {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
}

.compare-table thead {
  background: rgba(255, 255, 255, 0.035);
}

.compare-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.018);
}

.compare-table tbody tr:hover {
  background: rgba(32, 180, 255, 0.035);
}

.pricing-banner {
  border-color: rgba(255, 147, 80, 0.28);
  background: linear-gradient(135deg, rgba(255, 147, 80, 0.14), rgba(255, 147, 80, 0.07));
  color: #ffd2b5;
}

.price-card.featured {
  border-color: rgba(32, 180, 255, 0.48);
  background: linear-gradient(155deg, rgba(32, 180, 255, 0.09), var(--card-bg) 48%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26), 0 0 0 1px rgba(32, 180, 255, 0.07);
}

.discount-pill,
.price-card .featured-badge {
  box-shadow: none;
}

.onboard-step .step-num,
.step-num {
  box-shadow: 0 9px 24px rgba(32, 180, 255, 0.18);
}

/* About page */
.vision-card {
  border-color: rgba(32, 180, 255, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(32, 180, 255, 0.07), transparent 46%),
    var(--secondary-bg);
}

.stats-grid {
  gap: 0;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.stat-card {
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

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

.stat-card:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.018);
  box-shadow: none;
}

.stat-card .num {
  color: #6ed1ff;
}

.founder-title {
  color: #74d2ff;
}

/* FAQ page */
.faq-list {
  gap: 16px;
}

.faq-item-full {
  padding: 30px 34px;
}

.faq-item-full::before {
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(32, 180, 255, 0.14));
}

.faq-q-line {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom-style: solid;
  border-bottom-color: rgba(255, 255, 255, 0.075);
}

.faq-q-num,
.faq-a-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 13px;
}

.faq-q-num {
  background: rgba(32, 180, 255, 0.12);
  color: #78d3ff;
  box-shadow: none;
}

.faq-a-icon {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-muted);
}

.faq-q-content {
  padding-top: 5px;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.faq-a-content {
  max-width: 920px;
  padding-top: 4px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.85;
}

.faq-tag {
  padding: 7px 13px;
  border-color: rgba(32, 180, 255, 0.15);
  border-radius: 999px;
  background: rgba(32, 180, 255, 0.055);
  color: #83d7ff;
  font-size: 12.5px;
}

.faq-callout-full,
.free-highlight {
  border-color: rgba(32, 180, 255, 0.17);
  background: rgba(32, 180, 255, 0.055);
}

.flow-step-card {
  border-color: rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.025);
}

.flow-step-card:hover {
  transform: translateY(-1px);
  border-color: rgba(32, 180, 255, 0.2);
  background: rgba(32, 180, 255, 0.05);
}

.flow-step-card .num {
  background: rgba(32, 180, 255, 0.13);
  color: #7dd5ff;
}

/* Visual rhythm and restrained supporting colors */
.advantages,
.features-section,
.compare-section,
.usecases-section,
.pricing-section {
  position: relative;
}

.services-detail {
  background:
    radial-gradient(circle at 92% 8%, rgba(169, 155, 255, 0.075), transparent 25rem),
    var(--secondary-bg);
}

.usecases {
  background:
    radial-gradient(circle at 8% 12%, rgba(85, 222, 198, 0.065), transparent 23rem),
    var(--secondary-bg);
}

.cooperation {
  background:
    radial-gradient(circle at 92% 0%, rgba(246, 184, 107, 0.055), transparent 22rem),
    var(--secondary-bg);
}

.case-carousel-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 30%),
    #0b1229;
}

.founder,
.founder-section {
  background:
    radial-gradient(circle at 5% 0%, rgba(246, 184, 107, 0.04), transparent 24rem),
    #10172d;
}

/* Homepage ability cards: one visual family, four color roles */
.advantage-cards .card:nth-child(1),
.service-grid .service-item:nth-child(1),
.values-grid .value-card:nth-child(1) {
  --local-tone: var(--tone-blue);
  --local-tone-rgb: 32, 180, 255;
}

.advantage-cards .card:nth-child(2),
.service-grid .service-item:nth-child(2),
.values-grid .value-card:nth-child(2) {
  --local-tone: var(--tone-teal);
  --local-tone-rgb: 85, 222, 198;
}

.advantage-cards .card:nth-child(3),
.service-grid .service-item:nth-child(3),
.values-grid .value-card:nth-child(3) {
  --local-tone: var(--tone-violet);
  --local-tone-rgb: 169, 155, 255;
}

.advantage-cards .card:nth-child(4),
.service-grid .service-item:nth-child(4) {
  --local-tone: var(--tone-warm);
  --local-tone-rgb: 246, 184, 107;
}

.advantage-cards .card,
.service-grid .service-item,
.values-grid .value-card {
  background:
    linear-gradient(145deg, rgba(var(--local-tone-rgb), 0.045), transparent 42%),
    var(--card-bg);
}

.advantage-cards .card::before {
  background: linear-gradient(90deg, transparent, var(--local-tone), transparent);
}

.advantage-cards .icon-wrap,
.service-grid .icon-wrap,
.values-grid .icon {
  border-color: rgba(var(--local-tone-rgb), 0.17);
  background: rgba(var(--local-tone-rgb), 0.07);
  color: var(--local-tone);
}

.service-grid .service-item {
  border-top: 2px solid rgba(var(--local-tone-rgb), 0.48);
}

/* Homepage scenario cards: visually group the six scenarios */
ul.use-list li:nth-child(3n + 1) {
  --accent: var(--tone-blue);
}

ul.use-list li:nth-child(3n + 2) {
  --accent: var(--tone-violet);
}

ul.use-list li:nth-child(3n) {
  --accent: var(--tone-teal);
}

ul.use-list li {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 38%),
    rgba(18, 27, 56, 0.9);
}

ul.use-list li:nth-child(3n + 2) .chart-box {
  filter: saturate(0.92) hue-rotate(28deg);
}

ul.use-list li:nth-child(3n) .chart-box {
  filter: saturate(0.9) hue-rotate(-28deg);
}

/* Services page: identify the four existing service blocks */
main > .service-detail:nth-of-type(1) {
  --service-tone: var(--tone-blue);
  --service-tone-rgb: 32, 180, 255;
}

main > .service-detail:nth-of-type(2) {
  --service-tone: var(--tone-teal);
  --service-tone-rgb: 85, 222, 198;
}

main > .service-detail:nth-of-type(3) {
  --service-tone: var(--tone-violet);
  --service-tone-rgb: 169, 155, 255;
}

main > .service-detail:nth-of-type(4) {
  --service-tone: var(--tone-warm);
  --service-tone-rgb: 246, 184, 107;
}

main > .service-detail {
  background:
    linear-gradient(145deg, rgba(var(--service-tone-rgb), 0.045), transparent 38%),
    var(--card-bg);
}

main > .service-detail::before {
  background: linear-gradient(180deg, var(--service-tone), rgba(var(--service-tone-rgb), 0.12));
}

main > .service-detail .service-icon {
  border-color: rgba(var(--service-tone-rgb), 0.21);
  background: rgba(var(--service-tone-rgb), 0.075);
  color: var(--service-tone);
}

main > .service-detail .service-tag,
main > .service-detail .service-section-title {
  border-color: rgba(var(--service-tone-rgb), 0.18);
  background: rgba(var(--service-tone-rgb), 0.06);
  color: var(--service-tone);
}

main > .service-detail .service-section-title {
  background: transparent;
}

main > .service-detail .feature-list li::before {
  background: var(--service-tone);
}

/* GEO product page: product/data visual language */
.features-section {
  padding: 54px 48px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  background:
    radial-gradient(circle at 8% 0%, rgba(169, 155, 255, 0.07), transparent 26rem),
    var(--secondary-bg);
}

.features-grid .feature-card:nth-child(1) {
  --feature-tone: var(--tone-blue);
  --feature-tone-rgb: 32, 180, 255;
}

.features-grid .feature-card:nth-child(2) {
  --feature-tone: var(--tone-violet);
  --feature-tone-rgb: 169, 155, 255;
}

.features-grid .feature-card:nth-child(3) {
  --feature-tone: var(--tone-teal);
  --feature-tone-rgb: 85, 222, 198;
}

.features-grid .feature-card:nth-child(4) {
  --feature-tone: #86a8ff;
  --feature-tone-rgb: 134, 168, 255;
}

.features-grid .feature-card {
  background:
    linear-gradient(145deg, rgba(var(--feature-tone-rgb), 0.045), transparent 42%),
    var(--card-bg);
}

.features-grid .feature-card::before {
  width: 2px;
  background: linear-gradient(180deg, var(--feature-tone), rgba(var(--feature-tone-rgb), 0.12));
}

.features-grid .feature-num {
  background: rgba(var(--feature-tone-rgb), 0.12);
  color: var(--feature-tone);
  box-shadow: none;
}

.features-grid .feature-card p strong {
  color: var(--feature-tone);
}

.compare-section {
  padding: 54px 48px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 4%, rgba(85, 222, 198, 0.055), transparent 24rem),
    #0b1229;
}

.compare-table thead th.us {
  background: rgba(85, 222, 198, 0.105);
  color: #81ead6;
}

.compare-table td.us strong {
  color: var(--tone-teal);
}

.usecase-grid .usecase-card:nth-child(1) {
  border-top: 2px solid rgba(32, 180, 255, 0.48);
}

.usecase-grid .usecase-card:nth-child(2) {
  border-top: 2px solid rgba(169, 155, 255, 0.48);
}

.usecase-grid .usecase-card:nth-child(3) {
  border-top: 2px solid rgba(85, 222, 198, 0.48);
}

.usecase-grid .usecase-card:nth-child(4) {
  border-top: 2px solid rgba(246, 184, 107, 0.48);
}

.pricing-section {
  padding: 54px 48px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 184, 107, 0.05), transparent 24rem),
    var(--secondary-bg);
}

.price-card:not(.featured) {
  background: rgba(18, 27, 56, 0.72);
}

.price-card.featured {
  transform: translateY(-6px);
}

.price-card.featured:hover {
  transform: translateY(-8px);
}

.onboard-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(85, 222, 198, 0.06), transparent 22rem),
    #0b1229;
}

.onboard-step:nth-child(1) .step-num {
  background: var(--tone-blue);
}

.onboard-step:nth-child(2) .step-num {
  background: var(--tone-violet);
}

.onboard-step:nth-child(3) .step-num {
  background: var(--tone-teal);
}

/* About page: warmer, more human proof section */
.vision-card {
  background:
    radial-gradient(circle at 50% -30%, rgba(169, 155, 255, 0.1), transparent 24rem),
    var(--secondary-bg);
}

.values-grid .value-card:nth-child(3) {
  --local-tone: var(--tone-warm);
  --local-tone-rgb: 246, 184, 107;
}

.founder-content p strong {
  color: #e6eaf1;
}

/* FAQ page: subtle alternation for long-form reading */
.faq-item-full:nth-child(3n + 1) {
  --faq-tone: var(--tone-blue);
  --faq-tone-rgb: 32, 180, 255;
}

.faq-item-full:nth-child(3n + 2) {
  --faq-tone: var(--tone-teal);
  --faq-tone-rgb: 85, 222, 198;
}

.faq-item-full:nth-child(3n) {
  --faq-tone: var(--tone-violet);
  --faq-tone-rgb: 169, 155, 255;
}

.faq-item-full:nth-child(even) {
  background: #101a35;
}

.faq-item-full::before {
  background: linear-gradient(180deg, var(--faq-tone), rgba(var(--faq-tone-rgb), 0.1));
}

.faq-item-full .faq-q-num {
  background: rgba(var(--faq-tone-rgb), 0.105);
  color: var(--faq-tone);
}

.faq-item-full .faq-tag {
  border-color: rgba(var(--faq-tone-rgb), 0.14);
  background: rgba(var(--faq-tone-rgb), 0.045);
  color: var(--faq-tone);
}

/* Footer and floating consultation */
footer,
footer.site-footer {
  margin-top: 82px;
  border-top-color: rgba(255, 255, 255, 0.075);
  color: var(--text-muted);
}

footer a,
footer.site-footer a {
  color: var(--text-muted);
}

.floating-bot {
  width: 56px;
  height: 56px;
  background: var(--accent);
  box-shadow: 0 12px 30px rgba(32, 180, 255, 0.22);
}

.floating-bot:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(32, 180, 255, 0.28);
}

.bot-pulse {
  animation-duration: 2.8s;
}

/* Responsive refinements */
@media (max-width: 900px) {
  .container {
    padding-right: 24px;
    padding-left: 24px;
  }

  header,
  header.site-header {
    min-height: 70px;
    margin-right: -24px;
    margin-left: -24px;
    padding: 11px 24px;
  }

  header img.logo,
  header.site-header img.logo {
    height: 44px;
  }

  .hero {
    gap: 42px;
    min-height: auto;
    padding: 68px 0 56px;
  }

  .hero h1 {
    font-size: clamp(38px, 6vw, 46px);
  }

  .services-box {
    flex-basis: 330px;
  }

  .services-detail,
  .usecases,
  .cooperation,
  #contact,
  .founder-section,
  .features-section,
  .compare-section,
  .pricing-section {
    padding: 36px;
  }

  .advantages,
  .services-detail,
  .usecases,
  .cooperation,
  .case-carousel-section,
  .founder-section,
  #contact,
  .features-section,
  .compare-section,
  .usecases-section,
  .pricing-section,
  .onboard-section {
    margin-top: 68px;
  }

  .stats-grid .stat-card:nth-child(2) {
    border-right: 0;
  }

  .carousel-track {
    height: 660px;
  }

  .case-img {
    height: 215px;
  }

  .case-visual {
    font-size: 10px;
  }

  .visual-node,
  .claw-node {
    min-width: 38px;
    padding: 5px 6px;
  }

  .global-pipeline span {
    width: 36px;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 14px 16px;
  }

  header,
  header.site-header {
    min-height: 66px;
    margin-right: -16px;
    margin-left: -16px;
    padding: 10px 16px;
  }

  header > a,
  header.site-header > a {
    gap: 11px !important;
  }

  header img.logo,
  header.site-header img.logo {
    height: 40px;
  }

  .company-title .name {
    font-size: 13px;
  }

  .company-title .tagline {
    font-size: 10.5px;
  }

  .hero {
    padding: 50px 0 44px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.16;
  }

  .page-header {
    padding: 48px 0 30px;
  }

  .page-header h1 {
    font-size: 30px;
  }

  .page-header p.lead,
  .section-intro,
  .hero-left p.lead {
    font-size: 15px;
  }

  .cta,
  .cta-secondary {
    min-height: 44px;
    padding: 10px 20px;
  }

  .services-box,
  .services-detail,
  .usecases,
  .cooperation,
  #contact,
  .founder-section,
  .vision-card,
  .services-cta,
  .about-cta,
  .faq-cta,
  .geo-cta,
  .onboard-section,
  .features-section,
  .compare-section,
  .pricing-section {
    padding: 24px 20px;
  }

  .advantages,
  .services-detail,
  .usecases,
  .cooperation,
  .case-carousel-section,
  .founder-section,
  #contact,
  .features-section,
  .compare-section,
  .usecases-section,
  .pricing-section,
  .onboard-section {
    margin-top: 54px;
  }

  .stats {
    gap: 24px 0;
    margin: 58px 0;
  }

  .stat-item {
    padding: 4px 12px;
  }

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

  .stat-number {
    font-size: 32px;
  }

  .service-detail,
  .faq-item-full {
    padding: 24px 20px;
  }

  .faq-q-line,
  .faq-a-line {
    gap: 12px;
  }

  .faq-q-num,
  .faq-a-icon {
    width: 34px;
    height: 34px;
  }

  .faq-q-content {
    padding-top: 3px;
    font-size: 17px;
  }

  .stats-grid {
    gap: 0;
  }

  .stat-card {
    padding: 22px 10px;
  }

  .stat-card:nth-child(2) {
    border-right: 0;
  }

  .stat-card:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  }

  .price-card.featured,
  .price-card.featured:hover {
    transform: none;
  }

  .carousel-track {
    height: 650px;
  }

  .case-img {
    height: 175px;
  }

  .case-visual {
    font-size: 9px;
  }

  .visual-kicker {
    top: 5%;
    left: 4%;
    padding: 3px 6px;
    font-size: 7px;
  }

  .visual-stat {
    min-width: 72px;
    padding: 5px 7px;
  }

  .visual-stat strong {
    font-size: 13px;
  }

  .visual-stat span {
    margin-top: 3px;
    font-size: 6px;
  }

  .visual-node,
  .claw-node {
    min-width: 31px;
    padding: 4px 5px;
    font-size: 7px;
  }

  .agent-orbit {
    width: 26%;
  }

  .visual-agent .node-7 {
    top: 12%;
  }

  .attr-tree span,
  .global-pipeline span {
    font-size: 6px;
  }

  .attr-tree {
    width: 42%;
  }

  .room-preview {
    right: 5%;
    width: 38%;
  }

  .store-scores {
    right: 4%;
    width: 25%;
  }

  .store-scores > span {
    padding: 5px;
    grid-template-columns: 4px 1fr auto;
  }

  .store-scores strong {
    font-size: 10px;
  }

  .bi-chat,
  .bi-dashboard {
    padding: 8px;
  }

  .medical-mark {
    width: 42px;
    height: 42px;
  }

  .medical-mark i {
    width: 22px;
    height: 6px;
  }

  .medical-ring {
    width: 49px;
    height: 49px;
  }

  .global-pipeline {
    width: 67%;
  }

  .global-pipeline span {
    width: 29px;
    height: 27px;
  }

  .claw-hub {
    width: 62px;
    height: 62px;
  }

  .visual-claw .c3,
  .visual-claw .c4 {
    left: 42%;
  }

  .floating-bot {
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
