/* Inlined from ./design-tokens.css + ./components.css to avoid @import waterfall. */

:root {
  --ds-color-bg-strong: #050a18;
  --ds-color-bg: #070f24;
  --ds-color-surface: #0d1731;
  --ds-color-surface-2: #111f3f;
  --ds-color-text: #f2f6ff;
  --ds-color-text-soft: #a9bbd8;
  --ds-color-text-muted: #8da1c3;
  --ds-color-primary: #2563ff;
  --ds-color-primary-strong: #1f56e2;
  --ds-color-secondary: #00c2ff;
  --ds-color-border: rgba(126, 154, 228, 0.28);
  --ds-color-border-soft: rgba(126, 154, 228, 0.18);
  --ds-shadow-soft: 0 10px 28px rgba(2, 7, 24, 0.34);
  --ds-shadow-strong: 0 20px 48px rgba(2, 8, 24, 0.46);
  --ds-radius-sm: 10px;
  --ds-radius-md: 14px;
  --ds-radius-lg: 18px;
  --ds-space-1: 8px;
  --ds-space-2: 16px;
  --ds-space-3: 24px;
  --ds-space-4: 32px;
  --ds-space-5: 48px;
  --ds-space-6: 64px;
  --ds-space-7: 88px;
  --ds-space-8: 112px;
  --ds-font-sans: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --ds-fs-h1: clamp(34px, 5.2vw, 58px);
  --ds-fs-h2: clamp(28px, 3.6vw, 42px);
  --ds-fs-h3: clamp(20px, 2.2vw, 30px);
  --ds-fs-body: clamp(15px, 1.1vw, 18px);
  --ds-lh-tight: 1.15;
  --ds-lh-head: 1.22;
  --ds-lh-body: 1.7;
  --ds-container-max: 1240px;
  --ds-container-pad: 24px;
}

@media (max-width: 959px) {
  :root {
    --ds-container-pad: 20px;
    --ds-space-7: 72px;
    --ds-space-8: 92px;
  }
}

@media (max-width: 599px) {
  :root {
    --ds-container-pad: 16px;
    --ds-space-7: 56px;
    --ds-space-8: 72px;
  }
}

/* Component primitives (design-system layer) */

.ds-container {
  width: min(var(--ds-container-max), calc(100% - 40px));
  margin-inline: auto;
}

.ds-section {
  padding-block: var(--ds-section-space-desktop);
}

.ds-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--ds-color-border);
  background: rgba(79, 107, 255, 0.12);
  color: #c8d7ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ds-title {
  font-family: var(--ds-font-heading);
  font-size: var(--ds-fs-h2);
  line-height: var(--ds-lh-heading);
  color: #ffffff;
  letter-spacing: -.02em;
}

.ds-text {
  font-size: var(--ds-fs-body);
  line-height: var(--ds-lh-body);
  color: var(--ds-color-text-soft);
}

.ds-card {
  border-radius: var(--ds-radius-xl);
  border: 1px solid var(--ds-color-border);
  background: var(--ds-color-surface);
  box-shadow: var(--ds-shadow-sm);
  backdrop-filter: blur(8px);
}

.ds-card-hover {
  transition:
    transform var(--ds-duration-base) var(--ds-ease-spring),
    box-shadow var(--ds-duration-base) var(--ds-ease-standard),
    border-color var(--ds-duration-fast) var(--ds-ease-standard);
}

.ds-card-hover:hover {
  transform: translateY(-6px);
  border-color: rgba(137, 161, 255, 0.48);
  box-shadow: var(--ds-shadow-lg), var(--ds-shadow-glow);
}

.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--ds-radius-md);
  border: 1px solid transparent;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--ds-duration-base) var(--ds-ease-standard);
}

.ds-btn-primary {
  background: var(--ds-cta);
  color: #fff;
  box-shadow: 0 12px 28px rgba(95, 93, 255, 0.34);
}

.ds-btn-primary:hover {
  background: var(--ds-cta-hover);
}

.ds-btn-ghost {
  border-color: var(--ds-color-border);
  background: rgba(10, 19, 48, 0.7);
  color: var(--ds-color-text);
}

.ds-btn-ghost:hover {
  border-color: #6f86ff;
  background: rgba(79, 107, 255, 0.16);
  color: #fff;
}

.ds-grid-2,
.ds-grid-3,
.ds-grid-4 {
  display: grid;
  gap: 20px;
}

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

@media (max-width: 959px) {
  .ds-section { padding-block: var(--ds-section-space-tablet); }
  .ds-grid-4,
  .ds-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 599px) {
  .ds-section { padding-block: var(--ds-section-space-mobile); }
  .ds-container { width: min(var(--ds-container-max), calc(100% - 32px)); }
  .ds-grid-2,
  .ds-grid-3,
  .ds-grid-4 { grid-template-columns: 1fr; gap: 12px; }
}

/* =====================================================
   Jianliao IM · 88app.im-inspired clean layout
   White + Blue accent · Professional SaaS style
   v2.0 — Enhanced animations, colors, H5 mobile
===================================================== */

/* ============== Reset ============== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: var(--ds-color-primary, #1677ff);
  --blue-hover: #6f86ff;
  --blue-light: #e8f4ff;
  --blue-lighter: #f0f7ff;
  --blue-dark: var(--ds-color-secondary, #0958d9);
  --blue-glow: rgba(79,107,255,.15);
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-hero: linear-gradient(180deg, #edf2fb 0%, #f0f4fa 40%, #fff 100%);
  --ink: #1a1a2e;
  --ink-soft: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --line-light: #f0f1f3;
  --green: var(--ds-color-success, #10b981);
  --orange: var(--ds-color-warning, #f59e0b);
  --red: var(--ds-color-danger, #ef4444);
  --radius: var(--ds-radius-md, 12px);
  --radius-lg: var(--ds-radius-lg, 16px);
  --radius-xl: var(--ds-radius-xl, 20px);
  --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: var(--ds-shadow-sm, 0 1px 3px rgba(0,0,0,.06));
  --shadow: 0 4px 24px rgba(0,0,0,.07);
  --shadow-md: var(--ds-shadow-md, 0 8px 32px rgba(0,0,0,.08));
  --shadow-lg: var(--ds-shadow-lg, 0 16px 48px rgba(0,0,0,.1));
  --shadow-blue: 0 8px 32px rgba(79,107,255,.22);
  --ease: var(--ds-ease-standard, cubic-bezier(.4, 0, .2, 1));
  --ease-spring: var(--ds-ease-spring, cubic-bezier(.34, 1.56, .64, 1));
  --ease-out: cubic-bezier(0, 0, .2, 1);
}

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ds-font-sans), -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open { overflow: hidden; }

a, button { -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.text-blue { color: var(--blue); }

/* ============== Layout ============== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 80px 0; }

/* ============== Section Headings ============== */
.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}

.head-line {
  width: 40px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-hover));
  border-radius: 2px;
  margin: 12px auto 16px;
}

.section-desc {
  color: var(--muted);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============== Header ============== */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line-light);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}

.header.scrolled {
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
  background: rgba(255,255,255,.95);
}

body.nav-open .header {
  z-index: 230;
}

.header-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 16px;
}

/* Static header for simple content pages (cases/blog) */
.header-static .nav {
  display: flex;
  margin-left: auto;
}

.header-static .nav-toggle,
.header-static .nav-close {
  display: none !important;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

.brand-icon { display: flex; }
.brand-icon img {
  display: block;
  border-radius: 6px;
}
.brand-im { color: var(--blue); margin-left: 2px; }

/* Nav */
.nav {
  display: none;
  margin-left: auto;
}

.nav-close {
  display: none;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background .2s var(--ease), color .2s var(--ease);
  position: relative;
}

.nav a:hover {
  color: var(--blue);
  background: var(--blue-light);
}

.nav a[aria-current="page"] {
  color: var(--blue-dark);
  background: var(--blue-light);
  font-weight: 700;
}

/* Nav Actions */
.nav-actions {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 10px;
}

/* Mobile Nav Toggle */
.nav-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background .2s;
}

.nav-toggle:active { background: var(--bg-soft); }

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: all .3s var(--ease);
}

/* Nav Mask (mobile) */
.nav-mask {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(8, 15, 32, .45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  touch-action: none;
  transition: opacity .2s ease;
  z-index: 220;
}
.nav-mask.show {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .2s ease;
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  transition: all .25s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background .2s;
}

.btn:active::after {
  background: rgba(0,0,0,.06);
}

.btn:active {
  transform: scale(.97);
}

.btn:focus-visible,
.nav a:focus-visible,
.modal-close:focus-visible,
.form-input:focus-visible {
  outline: 2px solid #7db8ff;
  outline-offset: 2px;
}

.btn-icon { font-size: 14px; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(22,119,255,.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-hover), var(--blue));
  box-shadow: var(--shadow-blue);
  transform: translateY(-2px);
}
.btn-primary:active {
  transform: translateY(0) scale(.97);
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-lighter);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.5);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 24px;
}

.btn-full { width: 100%; }

/* ============== Hero ============== */
.hero {
  background: var(--bg-hero);
  padding: 100px 0 80px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(22,119,255,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 24px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22,119,255,.15); }
  50% { box-shadow: 0 0 0 8px rgba(22,119,255,0); }
}

.badge-icon { font-size: 14px; }

h1 {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 540px;
}

/* Checkmarks */
.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.check-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.icon-check {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--green);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.icon-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.icon-x {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: #e2e8f0;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.icon-x::before,
.icon-x::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 5px;
  width: 2px;
  height: 10px;
  background: #94a3b8;
}
.icon-x::before { transform: rotate(45deg); }
.icon-x::after  { transform: rotate(-45deg); }
.pricing-features .icon-off {
  opacity: .5;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Test Account */
.hero-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  color: var(--muted);
  box-shadow: var(--shadow-xs);
  transition: box-shadow .3s var(--ease);
}

.hero-account:hover {
  box-shadow: var(--shadow-sm);
}

.hero-account strong {
  color: var(--ink);
}

.account-sep {
  color: var(--line);
  margin: 0 4px;
}

/* Hero Right - Platform Cards */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.platform-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-spring), box-shadow .3s var(--ease);
  opacity: 0;
  transform: translateY(16px);
}

.platform-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.platform-card span {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.platform-icon { display: flex; }

/* Console Card */
.console-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .35s var(--ease-spring), box-shadow .3s var(--ease);
}

.console-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.console-dots {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: #fafafa;
  border-bottom: 1px solid var(--line-light);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.console-body {
  padding: 28px 24px;
  text-align: center;
}

.console-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.console-desc {
  font-size: 14px;
  color: var(--muted);
}

/* ============== Stats Strip ============== */
.stats-strip {
  padding: 60px 0;
  border-bottom: 1px solid var(--line-light);
  background: var(--bg);
}

.stats-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.stats-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.stats-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.stats-right {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.stat-item {
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease-spring);
}

.stat-item.card-visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-value {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Stat animate - scale pop */
.stat-value.stat-animate {
  animation: statPop .6s var(--ease-spring) forwards;
}

@keyframes statPop {
  0% { transform: scale(.5); opacity: 0; }
  60% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

/* ============== Showcase (Video) ============== */
.showcase {
  background: var(--bg-soft);
}

.video-frame {
  max-width: 960px;
  margin: 0 auto;
  background: #1a1a2e;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.video-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,.15);
}

.frame-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #222;
}

.frame-filename {
  margin-left: 16px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-family: ui-monospace, "SF Mono", monospace;
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  color: rgba(255,255,255,.6);
}

.play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(22,119,255,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: all .35s var(--ease-spring);
  box-shadow: 0 0 0 0 rgba(22,119,255,.3);
  animation: playPulse 2s ease-in-out infinite;
}

@keyframes playPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22,119,255,.3); }
  50% { box-shadow: 0 0 0 16px rgba(22,119,255,0); }
}

.play-btn:hover {
  background: rgba(22,119,255,.7);
  transform: scale(1.1);
}

.video-placeholder p {
  font-size: 14px;
  color: rgba(255,255,255,.5);
}

/* ============== Section CTA Strip ============== */
.section-cta-strip {
  padding: 24px 0;
  background: transparent;
}

.section-cta-inner {
  border: 1px solid rgba(22, 119, 255, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(22, 119, 255, 0.08), rgba(14, 165, 233, 0.06));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
}

.section-cta-inner p {
  margin: 0;
  font-size: 14px;
  font-weight: 550;
  color: #0f2f64;
}

.section-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============== Product Gallery ============== */
.product-gallery {
  background: var(--bg);
}

.shot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.shot-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,250,255,.98));
  box-shadow: var(--shadow-sm);
  padding: 14px;
  opacity: 1;
  transform: none;
  transition: transform .35s var(--ease-spring), box-shadow .3s var(--ease), opacity .35s var(--ease);
}

.shot-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-gallery .shot-card {
  opacity: 1 !important;
  transform: none !important;
}

.shot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.shot-window {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.shot-window span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.shot-window span:nth-child(1) { background: #ff5f56; }
.shot-window span:nth-child(2) { background: #ffbd2e; }
.shot-window span:nth-child(3) { background: #27c93f; }

.shot-body {
  border-radius: 12px;
  border: 1px solid #dbe8ff;
  min-height: 180px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.shot-chat {
  background:
    linear-gradient(135deg, rgba(22,119,255,.2), rgba(14,165,233,.12)),
    repeating-linear-gradient(180deg, rgba(255,255,255,.7) 0, rgba(255,255,255,.7) 16px, rgba(232,242,255,.8) 16px, rgba(232,242,255,.8) 32px);
}

.shot-admin {
  background:
    linear-gradient(180deg, rgba(30,64,175,.18), rgba(59,130,246,.08)),
    linear-gradient(90deg, rgba(255,255,255,.8) 36%, rgba(219,234,254,.7) 36%, rgba(219,234,254,.7) 100%);
}

.shot-audit {
  background:
    radial-gradient(circle at 75% 30%, rgba(20,184,166,.25), transparent 48%),
    linear-gradient(180deg, rgba(15,23,42,.06), rgba(14,165,233,.12));
}

.shot-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.shot-card p {
  font-size: 14px;
  color: var(--muted);
}

.shot-image {
  width: 100%;
  display: block;
  aspect-ratio: 5 / 3;
  min-height: 180px;
  background: #eef4ff;
  border-radius: 12px;
  border: 1px solid #dbe8ff;
  margin-bottom: 12px;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease);
}

.shot-image:hover {
  transform: scale(1.01);
  border-color: #bcd6ff;
  box-shadow: 0 8px 20px rgba(22,119,255,.12);
}

.shot-image:focus-visible {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

/* ============== Subtabs ============== */
.subtabs-section {
  padding: 16px 0 24px;
  background: transparent;
}

.subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.subtab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s var(--ease);
}

.subtab:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--blue-lighter);
}

.subtab[aria-current="page"] {
  color: #fff;
  border-color: var(--blue);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

/* ============== Platform Demo ============== */
.platform-demo {
  background: var(--bg);
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.demo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease), border-color .3s;
  opacity: 0;
  transform: translateY(20px);
}

.demo-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}

.demo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}

.demo-card--highlight {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-sm);
}

.demo-card--highlight:hover {
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-md);
}

.demo-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform .3s var(--ease-spring);
}

.demo-card:hover .demo-icon {
  transform: scale(1.08);
}

.demo-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.demo-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.demo-credentials {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--blue-lighter);
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--blue);
}

.demo-credentials strong {
  color: var(--blue-dark);
}

/* ============== Features ============== */
.features {
  background: var(--bg-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease), border-color .3s;
  opacity: 0;
  transform: translateY(20px);
}

.feature-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: transform .35s var(--ease-spring);
}

.feature-card:hover .feature-icon {
  transform: scale(1.12) rotate(-3deg);
}

.feature-icon--blue { background: var(--blue-light); }
.feature-icon--green { background: #ecfdf5; }
.feature-icon--orange { background: #fffbeb; }
.feature-icon--red { background: #fef2f2; }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============== Architecture ============== */
.architecture {
  background: var(--bg);
}

.arch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.arch-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease);
  opacity: 0;
  transform: translateY(20px);
}

.arch-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}

.arch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.arch-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.arch-badge {
  font-size: 16px;
}

.arch-card h3:first-child { color: var(--blue); }

.arch-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.arch-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-soft);
}

.arch-list .icon-check {
  width: 18px;
  height: 18px;
}
.arch-list .icon-check::after {
  left: 5px;
  top: 3px;
  width: 5px;
  height: 9px;
}

/* ============== Scenarios ============== */
.scenarios {
  background: var(--bg-soft);
}

.scene-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.scene-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease), border-color .3s;
  opacity: 0;
  transform: translateY(20px);
}

.scene-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}

.scene-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}

.scene-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: inline-block;
  transition: transform .35s var(--ease-spring);
}

.scene-card:hover .scene-icon {
  transform: scale(1.15);
}

.scene-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.scene-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============== FAQ ============== */
.faq {
  background: var(--bg);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow .3s var(--ease), border-color .3s;
  opacity: 0;
  transform: translateY(12px);
}

.faq-item.card-visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item.open {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue-glow), var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: color .2s;
  min-height: 52px;
}

.faq-question:hover {
  color: var(--blue);
}

.faq-icon { font-size: 16px; flex-shrink: 0; }

.faq-arrow {
  margin-left: auto;
  display: flex;
  color: var(--muted);
  transition: transform .35s var(--ease-spring), color .2s;
  flex-shrink: 0;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 20px 16px 46px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============== CTA ============== */
.cta {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(22,119,255,.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
}

.cta h2 {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 28px;
  line-height: 1.4;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============== Footer ============== */
.footer {
  background: linear-gradient(180deg, #0b1220 0%, #0a1020 100%);
  padding: 24px 0;
  color: #cbd5e1;
}

.footer-inner {
  text-align: center;
}

.footer-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.footer-info [data-footer-contact],
.footer-info [data-copy-domain] {
  cursor: pointer;
  transition: color .2s var(--ease), opacity .2s var(--ease);
}

.footer-info [data-footer-contact]:hover,
.footer-info [data-copy-domain]:hover {
  color: #bfdbfe;
}

.footer-info [data-footer-contact]:focus-visible,
.footer-info [data-copy-domain]:focus-visible {
  outline: 2px solid rgba(191,219,254,.6);
  outline-offset: 2px;
  border-radius: 6px;
}

.footer-copy {
  font-size: 13px;
  color: #94a3b8;
}

.footer-action-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 8px);
  background: rgba(15,23,42,.92);
  color: #fff;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.4;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  z-index: 1200;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.footer-action-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============== Floating Buttons ============== */
.floating-btns {
  position: fixed;
  right: 20px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 260;
  pointer-events: none;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  transition: transform .3s var(--ease-spring), box-shadow .3s;
  pointer-events: auto;
}

.float-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}

.float-btn:active {
  transform: scale(.95);
}

.float-btn--green { background: linear-gradient(135deg, #25d366, #128c3c); }
.float-btn--yellow { background: linear-gradient(135deg, #f59e0b, #d97706); }
.float-btn--blue { background: linear-gradient(135deg, #0088cc, #006daa); }

/* ============== Modal System ============== */
#modalContainer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  pointer-events: auto;
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.modal.visible {
  opacity: 1;
}

.modal.visible .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal.closing {
  opacity: 0;
  transition: opacity .25s var(--ease);
}

.modal.closing .modal-content {
  transform: translateY(10px) scale(.97);
  opacity: 0;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 0;
}

.modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  margin-top: 60px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: 0 24px 64px rgba(0,0,0,.18);
  overflow: hidden;
  transform: translateY(20px) scale(.96);
  opacity: 0;
  transition: transform .35s var(--ease-spring), opacity .3s var(--ease);
}

/* Prevent header/nav toggle from surfacing above modal on mobile */
html.modal-open .header,
body.modal-open .header {
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

body.modal-open .nav-toggle,
body.modal-open .nav,
body.modal-open .nav-actions {
  visibility: hidden !important;
}

body.modal-open .floating-btns {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.modal-open .nav-mask {
  display: none !important;
}

html.modal-open,
body.modal-open {
  overflow: hidden !important;
}

.modal-header {
  padding: 28px;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.modal-subtitle {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 16px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
}

.modal-description {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.modal-close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s var(--ease);
}

.modal-close:hover {
  background: var(--bg-soft);
  border-color: var(--muted);
  transform: rotate(90deg);
}

.modal-body {
  padding: 28px;
  max-height: 60vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-form { display: grid; gap: 14px; }

.form-group {
  display: grid;
  gap: 6px;
  position: relative;
}

.form-group.focused .form-label {
  color: var(--blue);
}

.form-group.focused .form-input {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: color .2s;
}

.form-input {
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  transition: all .25s var(--ease);
}

.form-input:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.form-input.error {
  border-color: var(--red);
  background: #fef2f2;
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
  animation: inputShake .4s ease;
}

@keyframes inputShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}

.form-input::placeholder { color: #9ca3af; }

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

.form-success {
  padding: 16px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: var(--green);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  animation: successFade .4s var(--ease);
}

@keyframes successFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-doc-content p {
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.6;
}

.modal-doc-content ul {
  list-style: none;
  padding: 0;
}

.modal-doc-content li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.modal-doc-content strong {
  color: var(--ink);
}

/* ============== Section Reveal Animation ============== */
.js section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.js section.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .js section,
  .platform-card,
  .demo-card,
  .feature-card,
  .scene-card,
  .faq-item,
  .arch-card,
  .stat-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============== Pricing Page Styles ============== */
.pricing-hero {
  background: var(--bg-hero);
  text-align: center;
  padding: 100px 0 60px;
}

.pricing-hero h1 {
  font-size: 32px;
}

.pricing-checks {
  justify-content: center;
  margin-top: 8px;
}

.pricing-checks .check-item {
  background: rgba(255, 255, 255, .66);
  border: 1px solid rgba(148, 163, 184, .24);
  padding: 8px 12px;
  border-radius: 999px;
}

.pricing-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
}

.pricing { padding: 40px 0 80px; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: var(--shadow-xs);
  position: relative;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.pricing-card.highlight {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-sm);
}

.pricing-card.highlight:hover {
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-md);
}

.pricing-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-card--intl .badge {
  background: linear-gradient(135deg, #64748b, #475569);
}

.pricing-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-card--enterprise {
  background: linear-gradient(145deg, #0f1f3a, #1d3f67);
  color: #fff;
  border-color: transparent;
}

.pricing-card--enterprise .badge {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.pricing-card--flagship {
  background: linear-gradient(145deg, #1a0a2e, #2d1654);
  color: #fff;
  border: 2px solid #a855f7;
  box-shadow: 0 0 0 1px rgba(168, 85, 247, .2), var(--shadow-md);
}

.pricing-card--flagship h3,
.pricing-card--flagship .price {
  color: #fff;
}

.pricing-card--flagship .price-desc {
  color: rgba(255, 255, 255, .74);
}

.pricing-card--flagship .pricing-features {
  color: rgba(255, 255, 255, .9);
}

.badge--gold {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
}

.price--custom {
  font-size: 26px !important;
  letter-spacing: -.01em;
}

.pricing-ribbon {
  font-size: 13px;
  color: #f59e0b;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-card--enterprise h3,
.pricing-card--enterprise .price {
  color: #fff;
}

.pricing-card--enterprise .price-desc {
  color: rgba(255, 255, 255, .74);
}

.pricing-card--enterprise .pricing-features {
  color: rgba(255, 255, 255, .9);
}

.price-block {
  margin-bottom: 4px;
}
.price-original {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
  margin-right: 8px;
}
.price-discount-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #ef4444;
  border-radius: 4px;
  padding: 2px 7px;
  vertical-align: middle;
  letter-spacing: .02em;
}
.price-block .price {
  margin-top: 4px;
}

.pricing-compare-tip {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin: 0 auto 40px;
  max-width: 600px;
  line-height: 1.6;
}

.price {
  font-size: 36px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 8px;
}

.price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}

.price-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 24px;
  display: grid;
  gap: 10px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--ink-soft);
}

.full { width: 100%; }

.pricing-private {
  background: var(--bg-soft);
}

.ownership {
  background: var(--bg);
}

.private-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

.private-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}

.private-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.private-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.private-item p {
  font-size: 14px;
  color: var(--muted);
}

/* ============== Desktop (960px+) ============== */
@media (min-width: 960px) {
  section { padding: 100px 0; }

  /* Nav inline */
  .nav {
    display: flex;
    gap: 4px;
  }

  .nav-actions {
    display: flex;
    margin-left: 0;
  }

  .nav-toggle { display: none; }

  /* Hero */
  h1 { font-size: 46px; }

  .hero { padding: 120px 0 100px; }

  .hero-inner {
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
  }

  /* Stats */
  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .stats-right { justify-content: flex-end; gap: 48px; }

  /* Demo grid */
  .demo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .shot-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  /* Feature grid */
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  /* Architecture */
  .arch-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* Scene grid */
  .scene-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  /* FAQ */
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* CTA */
  .cta h2 { font-size: 28px; }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .private-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* ============== Tablet (600px - 959px) ============== */
@media (min-width: 600px) and (max-width: 959px) {
  .container { padding: 0 24px; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    padding: 80px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    z-index: 220;
    box-shadow: -4px 0 24px rgba(0,0,0,.1);
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: none;
  }

  .nav.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 10px;
  }

  .nav a:active { background: var(--blue-light); }

  .nav-close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    margin-left: auto;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .nav-close span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 1px;
  }

  .nav-close span:first-child { transform: rotate(45deg); }
  .nav-close span:last-child { transform: rotate(-45deg); }

  h1 { font-size: 36px; }

  section { padding: 64px 0; }

  .hero { padding: 80px 0 64px; }

  .hero-inner { gap: 40px; }

  .demo-grid { grid-template-columns: repeat(2, 1fr); }
  .shot-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .private-grid { grid-template-columns: repeat(2, 1fr); }

  .stats-right { gap: 40px; }

  .stat-value { font-size: 34px; }

  .platform-cards { gap: 12px; }
}

/* ============== Mobile (<600px) ============== */
@media (max-width: 599px) {
  .container { padding: 0 16px; }

  /* Keep mobile header always visible at top */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }

  body {
    padding-top: 56px;
  }

  /* Anchor offsets for fixed header */
  [id] { scroll-margin-top: 72px; }

  /* Mobile Nav Drawer */
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    padding: 80px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    z-index: 220;
    box-shadow: -4px 0 24px rgba(0,0,0,.1);
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: none;
  }

  .nav.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 10px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .nav a:active { background: var(--blue-light); }

  .nav-close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    margin-left: auto;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .nav-close span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 1px;
  }

  .nav-close span:first-child { transform: rotate(45deg); }
  .nav-close span:last-child { transform: rotate(-45deg); }

  /* Header */
  .header-inner { height: 56px; }

  /* Typography */
  h1 {
    font-size: 28px;
    letter-spacing: -.02em;
  }

  .section-head h2 { font-size: 24px; }

  .section-head { margin-bottom: 32px; }

  .section-desc { font-size: 14px; }

  /* Sections spacing */
  section { padding: 56px 0; }

  /* Hero */
  .hero {
    padding: 72px 0 56px;
  }

  .hero-inner { gap: 36px; }

  .hero-badge { font-size: 12px; padding: 5px 12px; margin-bottom: 16px; }

  .hero-desc {
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-checks {
    gap: 12px;
    margin-top: 16px;
  }

  .check-item { font-size: 14px; }

  .hero-actions {
    margin-top: 24px;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-actions .btn-lg {
    padding: 12px 24px;
    font-size: 15px;
    flex: 0 0 auto;
    min-width: 0;
  }

  .hero-account {
    font-size: 13px;
    padding: 8px 14px;
    gap: 6px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Platform cards mobile */
  .platform-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .platform-card {
    padding: 16px 8px;
    gap: 8px;
    border-radius: var(--radius);
  }

  .platform-card:nth-child(3) {
    grid-column: 1 / -1;
  }

  .platform-card span { font-size: 12px; }

  .platform-card svg { width: 28px; height: 28px; }

  /* Console card mobile */
  .console-body { padding: 20px 16px; }
  .console-title { font-size: 16px; }
  .console-desc { font-size: 13px; }

  /* Stats mobile */
  .stats-strip { padding: 40px 0; }

  .stats-inner { gap: 24px; }

  .stats-title { font-size: 20px; }

  .stats-right { gap: 20px; justify-content: space-between; }

  .stat-value { font-size: 28px; }
  .stat-label { font-size: 12px; }

  /* Video showcase mobile */
  .video-frame { border-radius: var(--radius); }
  .video-placeholder { min-height: 200px; }
  .play-btn { width: 56px; height: 56px; font-size: 20px; }

  /* Demo cards mobile */
  .demo-grid,
  .shot-grid,
  .feature-grid,
  .scene-grid,
  .faq-grid,
  .pricing-grid,
  .private-grid {
    grid-template-columns: 1fr;
  }

  .demo-grid { gap: 16px; }
  .shot-grid { gap: 12px; }

  .section-cta-strip { padding: 12px 0; }
  .section-cta-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
  }
  .section-cta-inner p {
    width: 100%;
    font-size: 13px;
    line-height: 1.55;
  }
  .section-cta-actions {
    width: 100%;
    flex-direction: column;
    gap: 6px;
  }
  .section-cta-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 42px;
    border-radius: 12px;
  }

  .demo-card { padding: 24px 20px; }

  .demo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 16px;
  }

  .demo-card h3 { font-size: 18px; }

  .shot-body {
    min-height: 140px;
  }

  .subtabs {
    justify-content: flex-start;
    gap: 8px;
  }

  .subtab {
    font-size: 13px;
    padding: 7px 12px;
  }

  /* Feature cards mobile */
  .feature-grid { gap: 12px; }

  .feature-card {
    padding: 24px 16px;
  }

  .feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin-bottom: 12px;
  }

  .feature-card h3 { font-size: 16px; }
  .feature-card p { font-size: 13px; }

  /* Architecture mobile */
  .arch-card { padding: 24px 20px; }
  .arch-card h3 { font-size: 16px; margin-bottom: 16px; }
  .arch-list li { font-size: 14px; gap: 8px; }
  .arch-list { gap: 12px; }

  /* Scenarios mobile */
  .scene-grid { gap: 10px; }

  .scene-card {
    padding: 20px 16px;
  }

  .scene-icon { font-size: 24px; margin-bottom: 8px; }
  .scene-card h3 { font-size: 14px; }
  .scene-card p { font-size: 13px; }

  /* FAQ mobile */
  .faq-grid { gap: 8px; }

  .faq-question {
    padding: 14px 16px;
    font-size: 14px;
    gap: 8px;
    min-height: 48px;
  }

  .faq-answer p {
    padding: 0 16px 14px 38px;
    font-size: 13px;
  }

  /* CTA mobile */
  .cta { padding: 48px 0; }
  .cta h2 { font-size: 20px; }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn-lg {
    width: 100%;
    max-width: 280px;
  }

  /* Footer mobile */
  .footer-info { gap: 16px; font-size: 13px; }

  /* Floating buttons mobile */
  .floating-btns {
    right: 12px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }

  body.has-scrolled .floating-btns {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  body.modal-open .floating-btns,
  body.nav-open .floating-btns {
    opacity: 0;
    pointer-events: none;
  }

  .float-btn {
    width: 44px;
    height: 44px;
  }

  /* Modal mobile */
  .modal { padding: 12px; align-items: flex-start; }

  .modal-content {
    margin-top: 16px;
    border-radius: var(--radius-lg);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
  }

  .modal-header { padding: 20px 16px; }
  .modal-title { font-size: 20px; }
  .modal-body { padding: 20px 16px; }
  .form-input { padding: 12px 14px; min-height: 44px; }

  /* Pricing mobile */
  .pricing-hero { padding: 80px 0 40px; }
  .pricing-hero h1 { font-size: 26px; }
  .pricing { padding: 24px 0 60px; }

  .pricing-card {
    padding: 28px 20px;
  }

  .price { font-size: 32px; }

  .private-grid { gap: 12px; }
  .private-item { padding: 16px; }
  .private-item h4 { font-size: 15px; }
  .private-item p { font-size: 13px; }
}

/* Touch devices: disable hover lift/shadows to reduce jank */
@media (hover: none) {
  .btn:hover,
  .platform-card:hover,
  .console-card:hover,
  .demo-card:hover,
  .feature-card:hover,
  .scene-card:hover,
  .pricing-card:hover {
    transform: none !important;
    box-shadow: inherit !important;
  }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Unified CTA layout for phone + tablet */
@media (max-width: 959px) {
  .section-cta-strip {
    padding: 12px 0;
  }

  .section-cta-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    padding: 14px;
    border-radius: 12px;
  }

  .section-cta-inner p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
  }

  .section-cta-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section-cta-actions .btn {
    width: 100%;
    min-height: 42px;
    justify-content: center;
    border-radius: 12px;
  }

  .section-cta-strip + section {
    padding-top: 44px;
  }
}

/* ============== Extra small (<375px) ============== */
@media (max-width: 374px) {
  h1 { font-size: 24px; }

  .section-head h2 { font-size: 22px; }

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

  .hero-actions .btn-lg {
    flex: none;
    width: 100%;
  }

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

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

  .platform-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .platform-card { padding: 12px 6px; }

  .stats-right { flex-direction: column; gap: 16px; }

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

/* ============== UI Polish v3 ============== */
:root {
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --line-strong: #dbe2ee;
  --hero-glow: rgba(22, 119, 255, 0.18);
  --teal-glow: rgba(16, 185, 129, 0.12);
}

body {
  font-family: "Manrope", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(900px 400px at -5% -10%, rgba(56, 189, 248, 0.11), transparent 65%),
    radial-gradient(760px 380px at 110% -20%, rgba(22, 119, 255, 0.12), transparent 70%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 18%, #f6f9ff 100%);
  min-height: 100vh;
}

h1,
.section-head h2,
.pricing-hero h1,
.cta h2 {
  font-family: "Space Grotesk", "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: -0.03em;
}

section {
  position: relative;
  isolation: isolate;
}

.header {
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(204, 217, 235, 0.65);
}

.header.scrolled {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.brand {
  letter-spacing: -0.01em;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), #31c4ff);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s var(--ease);
}

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

.btn {
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  transform: skewX(-20deg);
  transition: left .55s var(--ease);
}

.btn:hover::before {
  left: 150%;
}

.btn-primary {
  box-shadow: 0 10px 26px rgba(22, 119, 255, 0.28);
}

.hero {
  background:
    radial-gradient(540px 260px at 82% 0%, var(--hero-glow), transparent 72%),
    radial-gradient(580px 220px at 20% 10%, var(--teal-glow), transparent 74%),
    linear-gradient(180deg, #f0f7ff 0%, #f7fbff 42%, #ffffff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.22), transparent 82%);
}

.hero-badge {
  background: linear-gradient(120deg, rgba(22, 119, 255, 0.13), rgba(49, 196, 255, 0.14));
  border: 1px solid rgba(22, 119, 255, 0.2);
  color: #0657c8;
}

.hero-account {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-color: #dde8fa;
}

.stats-strip,
.features,
.scenarios,
.pricing-private {
  background:
    linear-gradient(180deg, rgba(240, 247, 255, 0.5), rgba(255, 255, 255, 0.9));
}

.section-head h2 {
  text-wrap: balance;
}

.head-line {
  width: 72px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9, #1677ff, #2563eb);
}

.platform-card,
.console-card,
.demo-card,
.feature-card,
.arch-card,
.scene-card,
.faq-item,
.pricing-card,
.private-item {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.98));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 10px 30px rgba(15, 23, 42, 0.06);
}

.platform-card:hover,
.console-card:hover,
.demo-card:hover,
.feature-card:hover,
.arch-card:hover,
.scene-card:hover,
.pricing-card:hover,
.private-item:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 16px 38px rgba(15, 23, 42, 0.12);
}

.demo-card--highlight,
.pricing-card.highlight {
  border-width: 1px;
  border-color: rgba(22, 119, 255, 0.45);
  box-shadow:
    0 0 0 1px rgba(22, 119, 255, 0.16),
    0 18px 40px rgba(22, 119, 255, 0.15);
}

.video-frame {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle at 20% -30%, rgba(49, 196, 255, 0.25), rgba(22, 22, 40, 0) 60%), #101827;
}

.video-placeholder {
  background: linear-gradient(180deg, rgba(16, 24, 39, 0.82), rgba(15, 23, 42, 0.94));
}

.play-btn {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.9), rgba(22, 119, 255, 0.85));
}

.faq-item.open {
  border-color: rgba(22, 119, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(22, 119, 255, 0.15), 0 8px 24px rgba(22, 119, 255, 0.12);
}

.cta {
  background:
    radial-gradient(700px 280px at 18% 120%, rgba(14, 165, 233, 0.24), transparent 65%),
    linear-gradient(130deg, #0f172a 0%, #102a43 52%, #083e77 100%);
}

.footer {
  background: linear-gradient(180deg, #0d1524 0%, #0b1220 100%);
}

@media (max-width: 959px) {
  .hero::after {
    background-size: 32px 32px;
  }
}

/* ============== Homepage SaaS Refresh (2026-03) ============== */
body.homepage-legacy-legacy {
  --primary-color: var(--ds-color-primary);
  --secondary-color: var(--ds-color-secondary);
  --background-color: var(--ds-color-bg);
  --card-color: var(--ds-color-surface);
  --text-color: var(--ds-color-text);
  --text-soft: var(--ds-color-text-soft);
  --cta-color: var(--ds-cta);
  --hover-color: #74a1ff;
  --line: var(--ds-color-border);
  --line-light: var(--ds-color-border-soft);
  --blue: var(--ds-color-primary);
  --blue-hover: #74a1ff;
  --blue-dark: #1fbfd8;
  --blue-light: rgba(76, 125, 255, 0.18);
  --blue-lighter: rgba(76, 125, 255, 0.12);
  --ink: var(--ds-color-text);
  --ink-soft: #b5c3e3;
  --muted: var(--ds-color-text-soft);
  --bg: var(--background-color);
  --bg-soft: #0a1330;
  --bg-hero: radial-gradient(1200px 500px at 15% -10%, rgba(79, 107, 255, 0.28), transparent 65%), radial-gradient(1000px 420px at 100% 5%, rgba(124, 77, 255, 0.24), transparent 64%), linear-gradient(180deg, #060b1f 0%, #070f28 100%);
}

body.homepage-legacy-legacy {
  background:
    radial-gradient(1000px 500px at -8% -12%, rgba(90, 118, 255, 0.22), transparent 66%),
    radial-gradient(1000px 540px at 108% -20%, rgba(124, 77, 255, 0.22), transparent 68%),
    linear-gradient(180deg, #050a1b 0%, #060c20 38%, #060a1b 100%);
  color: var(--text-color);
}

body.homepage-legacy-legacy .header {
  background: rgba(7, 13, 33, 0.82);
  border-bottom: 1px solid var(--line-light);
}

body.homepage-legacy-legacy .header.scrolled {
  box-shadow: 0 14px 40px rgba(2, 6, 20, 0.5);
}

body.homepage-legacy-legacy .brand,
body.homepage-legacy-legacy .nav a {
  color: var(--text-color);
}

body.homepage-legacy-legacy .nav a:hover,
body.homepage-legacy-legacy .nav a[aria-current="page"] {
  background: rgba(79, 107, 255, 0.16);
  color: #ffffff;
}

body.homepage-legacy-legacy section {
  padding: 96px 0;
}

body.homepage-legacy-legacy .hero {
  padding-top: 128px;
  background: var(--bg-hero);
}

body.homepage-legacy-legacy .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.34), transparent 82%);
  pointer-events: none;
}

body.homepage-legacy-legacy .hero-badge,
body.homepage-legacy-legacy .hero-account {
  background: rgba(13, 22, 50, 0.8);
  border: 1px solid var(--line);
  color: var(--text-soft);
}

body.homepage-legacy-legacy .hero-account strong,
body.homepage-legacy-legacy h1,
body.homepage-legacy-legacy .section-head h2,
body.homepage-legacy-legacy .scene-card h3,
body.homepage-legacy-legacy .demo-card h3,
body.homepage-legacy-legacy .feature-card h3,
body.homepage-legacy-legacy .arch-card h3,
body.homepage-legacy-legacy .shot-card h3 {
  color: #ffffff;
}

body.homepage-legacy-legacy .section-desc,
body.homepage-legacy-legacy .hero-desc,
body.homepage-legacy-legacy .scene-card p,
body.homepage-legacy-legacy .demo-card p,
body.homepage-legacy-legacy .feature-card p,
body.homepage-legacy-legacy .shot-card p,
body.homepage-legacy-legacy .arch-list li,
body.homepage-legacy-legacy .stat-label {
  color: var(--text-soft);
}

body.homepage-legacy-legacy .head-line {
  background: linear-gradient(90deg, #4f6bff, #7c4dff, #58d7ff);
}

body.homepage-legacy-legacy .btn-primary {
  background: var(--cta-color);
  box-shadow: 0 12px 28px rgba(95, 93, 255, 0.34);
}

body.homepage-legacy-legacy .btn-primary:hover {
  background: linear-gradient(135deg, #6d84ff 0%, #9f61ff 100%);
}

body.homepage-legacy-legacy .btn-outline {
  background: rgba(10, 19, 48, 0.7);
  border: 1px solid var(--line);
  color: var(--text-color);
}

body.homepage-legacy-legacy .btn-outline:hover {
  border-color: var(--hover-color);
  color: #ffffff;
  background: rgba(79, 107, 255, 0.16);
}

body.homepage-legacy-legacy .showcase,
body.homepage-legacy-legacy .platform-demo,
body.homepage-legacy-legacy .architecture,
body.homepage-legacy-legacy .comparison,
body.homepage-legacy-legacy .faq,
body.homepage-legacy-legacy .scenarios,
body.homepage-legacy-legacy .pricing-private {
  background: transparent;
}

body.homepage-legacy-legacy .video-frame,
body.homepage-legacy-legacy .feature-card,
body.homepage-legacy-legacy .demo-card,
body.homepage-legacy-legacy .shot-card,
body.homepage-legacy-legacy .arch-card,
body.homepage-legacy-legacy .comparison-card,
body.homepage-legacy-legacy .security-card,
body.homepage-legacy-legacy .scene-card,
body.homepage-legacy-legacy .private-item,
body.homepage-legacy-legacy .faq-item {
  background: var(--card-color);
  border: 1px solid var(--line);
  box-shadow: 0 20px 44px rgba(3, 8, 24, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

body.homepage-legacy-legacy .shot-grid,
body.homepage-legacy-legacy .feature-grid {
  margin-top: 28px;
}

body.homepage-legacy-legacy .demo-grid,
body.homepage-legacy-legacy .comparison-grid,
body.homepage-legacy-legacy .security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

body.homepage-legacy-legacy .comparison-card,
body.homepage-legacy-legacy .security-card {
  border-radius: 18px;
  padding: 28px 24px;
}

body.homepage-legacy-legacy .comparison-card h3,
body.homepage-legacy-legacy .security-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: #fff;
}

body.homepage-legacy-legacy .comparison-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

body.homepage-legacy-legacy .comparison-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 15px;
}

body.homepage-legacy-legacy .comparison-card--primary {
  border-color: rgba(102, 124, 255, 0.62);
  box-shadow: 0 0 0 1px rgba(102, 124, 255, 0.38), 0 24px 44px rgba(52, 59, 146, 0.35);
}

body.homepage-legacy-legacy .compare-meta {
  display: flex;
  justify-content: center;
  margin: -6px 0 18px;
}

body.homepage-legacy-legacy .compare-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(126, 151, 228, 0.3);
  background: rgba(10, 20, 49, 0.72);
  color: #b8c8ef;
  font-size: 12px;
  letter-spacing: 0.03em;
}

body.homepage-legacy-legacy .comparison-table-wrap {
  margin-top: 18px;
}

body.homepage-legacy-legacy .comparison-table {
  border-radius: 18px;
  border: 1px solid rgba(122, 147, 223, 0.25);
  overflow: hidden;
  background: rgba(9, 17, 43, 0.82);
}

body.homepage-legacy-legacy .comp-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid rgba(122, 147, 223, 0.18);
}

body.homepage-legacy-legacy .comp-row:first-child {
  border-top: 0;
}

body.homepage-legacy-legacy .comp-row span {
  color: #a8bae2;
  font-size: 13px;
}

body.homepage-legacy-legacy .comp-head {
  background: rgba(14, 25, 61, 0.95);
}

body.homepage-legacy-legacy .comp-head span {
  color: #e2ecff;
  font-weight: 700;
}

body.homepage-legacy-legacy .comp-strong {
  color: #7de3ff !important;
  font-weight: 700;
}

body.homepage-legacy-legacy .security-card p {
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 15px;
}

body.homepage-legacy-legacy .industry-highlight {
  border-radius: 20px;
  border: 1px solid rgba(122, 147, 223, 0.26);
  background:
    radial-gradient(500px 220px at 92% 0%, rgba(95, 86, 255, 0.24), transparent 62%),
    rgba(10, 19, 46, 0.78);
  padding: 24px 24px 20px;
  margin-bottom: 18px;
  box-shadow: 0 20px 40px rgba(2, 7, 24, 0.42);
}

body.homepage-legacy-legacy .industry-highlight-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

body.homepage-legacy-legacy .industry-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(147, 168, 240, 0.3);
  background: rgba(79, 107, 255, 0.16);
  color: #cfdbff;
  font-size: 12px;
  font-weight: 700;
}

body.homepage-legacy-legacy .industry-highlight h3 {
  font-size: 22px;
  line-height: 1.35;
  color: #f2f7ff;
}

body.homepage-legacy-legacy .industry-highlight p {
  color: #afc0e5;
  font-size: 15px;
  line-height: 1.75;
}

body.homepage-legacy-legacy .industry-points {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.homepage-legacy-legacy .industry-points span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(12, 25, 58, 0.86);
  border: 1px solid rgba(122, 147, 223, 0.24);
  color: #c7d6fb;
  font-size: 12px;
}

body.homepage-legacy-legacy .industry-cta-inline {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

body.homepage-legacy-legacy .security-badges {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.homepage-legacy-legacy .security-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(126, 151, 228, 0.28);
  background: rgba(79, 107, 255, 0.13);
  color: #c8d6f8;
  font-size: 12px;
  font-weight: 600;
}

body.homepage-legacy-legacy .security-progress {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

body.homepage-legacy-legacy .progress-item {
  display: grid;
  gap: 6px;
}

body.homepage-legacy-legacy .progress-item span {
  color: #b7c7eb;
  font-size: 12px;
}

body.homepage-legacy-legacy .progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(119, 142, 214, 0.22);
  overflow: hidden;
}

body.homepage-legacy-legacy .progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4f6bff, #58d8ff);
  box-shadow: 0 0 18px rgba(88, 216, 255, 0.45);
}

body.homepage-legacy-legacy .architecture-stats {
  margin-bottom: 26px;
  justify-content: flex-start;
}

body.homepage-legacy-legacy .stat-item {
  min-width: 120px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(10, 19, 48, 0.62);
  border: 1px solid var(--line);
}

body.homepage-legacy-legacy .stat-value {
  background: linear-gradient(135deg, #83a0ff, #61efff);
  -webkit-background-clip: text;
  background-clip: text;
}

body.homepage-legacy-legacy .faq-item {
  background: rgba(10, 19, 48, 0.66);
}

body.homepage-legacy-legacy .faq-question {
  color: #dce8ff;
}

body.homepage-legacy-legacy .faq-answer p {
  color: var(--text-soft);
}

body.homepage-legacy-legacy .cta {
  background:
    radial-gradient(900px 320px at 20% 120%, rgba(90, 118, 255, 0.34), transparent 66%),
    linear-gradient(125deg, #090f28 0%, #121b42 56%, #242760 100%);
}

body.homepage-legacy-legacy .footer {
  background: linear-gradient(180deg, #060c1f, #050916);
}

@media (min-width: 960px) {
  body.homepage-legacy-legacy #insights .private-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  body.homepage-legacy-legacy .comparison-grid,
  body.homepage-legacy-legacy .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 959px) {
  body.homepage-legacy-legacy section {
    padding: 72px 0;
  }
}

@media (max-width: 599px) {
  body.homepage-legacy-legacy .hero {
    padding-top: 88px;
  }

  body.homepage-legacy-legacy .comparison-card,
  body.homepage-legacy-legacy .security-card {
    padding: 22px 18px;
  }

  body.homepage-legacy-legacy .comparison-card h3,
  body.homepage-legacy-legacy .security-card h3 {
    font-size: 18px;
  }
}

/* ============== Homepage SaaS Refresh Plus (aggressive visual) ============== */
body.homepage-legacy-legacy .section-head {
  margin-bottom: 56px;
}

body.homepage-legacy-legacy .section-head::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(91, 115, 255, 0.14);
  border: 1px solid rgba(135, 156, 255, 0.38);
  color: #b6c5ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

body.homepage-legacy-legacy #capabilities .section-head::before { content: "Product Capabilities"; }
body.homepage-legacy-legacy #solutions .section-head::before { content: "Solutions"; }
body.homepage-legacy-legacy #architecture .section-head::before { content: "Architecture"; }
body.homepage-legacy-legacy #comparison .section-head::before { content: "Advantages"; }
body.homepage-legacy-legacy #security .section-head::before { content: "Security & Stability"; }
body.homepage-legacy-legacy #industries .section-head::before { content: "Industry Scenarios"; }
body.homepage-legacy-legacy #faq .section-head::before { content: "FAQ"; }
body.homepage-legacy-legacy #insights .section-head::before { content: "Resources"; }

body.homepage-legacy-legacy .showcase,
body.homepage-legacy-legacy .platform-demo,
body.homepage-legacy-legacy .architecture,
body.homepage-legacy-legacy .comparison,
body.homepage-legacy-legacy .faq,
body.homepage-legacy-legacy .scenarios,
body.homepage-legacy-legacy .pricing-private {
  position: relative;
}

body.homepage-legacy-legacy .showcase::before,
body.homepage-legacy-legacy .platform-demo::before,
body.homepage-legacy-legacy .architecture::before,
body.homepage-legacy-legacy .comparison::before,
body.homepage-legacy-legacy .faq::before,
body.homepage-legacy-legacy .scenarios::before,
body.homepage-legacy-legacy .pricing-private::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: min(1180px, calc(100% - 28px));
  height: calc(100% - 20px);
  transform: translateX(-50%);
  border-radius: 26px;
  border: 1px solid rgba(124, 145, 221, 0.12);
  background: linear-gradient(180deg, rgba(14, 24, 56, 0.28), rgba(9, 16, 40, 0.12));
  pointer-events: none;
}

body.homepage-legacy-legacy .showcase .container,
body.homepage-legacy-legacy .platform-demo .container,
body.homepage-legacy-legacy .architecture .container,
body.homepage-legacy-legacy .comparison .container,
body.homepage-legacy-legacy .faq .container,
body.homepage-legacy-legacy .scenarios .container,
body.homepage-legacy-legacy .pricing-private .container {
  position: relative;
  z-index: 1;
}

body.homepage-legacy-legacy .feature-card,
body.homepage-legacy-legacy .demo-card,
body.homepage-legacy-legacy .shot-card,
body.homepage-legacy-legacy .arch-card,
body.homepage-legacy-legacy .comparison-card,
body.homepage-legacy-legacy .security-card,
body.homepage-legacy-legacy .scene-card,
body.homepage-legacy-legacy .private-item,
body.homepage-legacy-legacy .faq-item {
  border-radius: 20px;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease), border-color .25s var(--ease);
}

body.homepage-legacy-legacy .feature-card:hover,
body.homepage-legacy-legacy .demo-card:hover,
body.homepage-legacy-legacy .shot-card:hover,
body.homepage-legacy-legacy .arch-card:hover,
body.homepage-legacy-legacy .comparison-card:hover,
body.homepage-legacy-legacy .security-card:hover,
body.homepage-legacy-legacy .scene-card:hover,
body.homepage-legacy-legacy .private-item:hover,
body.homepage-legacy-legacy .faq-item:hover {
  transform: translateY(-8px);
  border-color: rgba(137, 161, 255, 0.48);
  box-shadow: 0 24px 46px rgba(2, 7, 24, 0.46), 0 0 0 1px rgba(137, 161, 255, 0.16);
}

body.homepage-legacy-legacy .video-frame {
  border-radius: 24px;
  border: 1px solid rgba(112, 137, 255, 0.34);
  box-shadow: 0 30px 70px rgba(3, 8, 22, 0.55), 0 0 0 1px rgba(80, 108, 255, 0.18);
}

body.homepage-legacy-legacy .console-card {
  border-radius: 20px;
}

body.homepage-legacy-legacy .console-dots {
  background: rgba(8, 14, 34, 0.86);
}

body.homepage-legacy-legacy .console-body {
  text-align: left;
  padding: 22px 22px 20px;
}

body.homepage-legacy-legacy .console-title {
  font-size: 18px;
  color: #ffffff;
}

body.homepage-legacy-legacy .console-desc {
  color: #95aad8;
  margin-bottom: 14px;
}

body.homepage-legacy-legacy .hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

body.homepage-legacy-legacy .hero-metric {
  border-radius: 12px;
  border: 1px solid rgba(122, 147, 223, 0.25);
  background: rgba(7, 16, 40, 0.74);
  padding: 10px 10px 9px;
}

body.homepage-legacy-legacy .hero-metric-label {
  display: block;
  font-size: 11px;
  color: #91a6d7;
  margin-bottom: 4px;
}

body.homepage-legacy-legacy .hero-metric-value {
  display: block;
  font-size: 16px;
  line-height: 1.1;
  color: #f2f7ff;
  letter-spacing: -0.01em;
}

body.homepage-legacy-legacy .hero-stream {
  list-style: none;
  display: grid;
  gap: 8px;
  padding: 0;
}

body.homepage-legacy-legacy .hero-stream li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #a5b6de;
  line-height: 1.45;
}

body.homepage-legacy-legacy .stream-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(180deg, #5be2ff, #4f6bff);
  box-shadow: 0 0 0 0 rgba(91, 226, 255, 0.6);
  animation: streamPulse 2.2s ease-in-out infinite;
}

@keyframes streamPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91, 226, 255, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(91, 226, 255, 0); }
}

body.homepage-legacy-legacy .video-placeholder {
  min-height: 420px;
}

body.homepage-legacy-legacy .play-btn {
  width: 82px;
  height: 82px;
  box-shadow: 0 0 0 10px rgba(79, 107, 255, 0.12), 0 14px 30px rgba(70, 84, 245, 0.4);
}

body.homepage-legacy-legacy .hero-actions .btn-lg,
body.homepage-legacy-legacy .cta-actions .btn-lg {
  border-radius: 14px;
  min-width: 166px;
}

body.homepage-legacy-legacy .comparison-card ul li .icon-check,
body.homepage-legacy-legacy .arch-list .icon-check,
body.homepage-legacy-legacy .check-item .icon-check {
  background: linear-gradient(180deg, #50d7ff, #4f6bff);
}

body.homepage-legacy-legacy .demo-card--highlight,
body.homepage-legacy-legacy .comparison-card--primary {
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(116, 93, 255, 0.26), transparent 66%),
    radial-gradient(380px 220px at -10% 100%, rgba(80, 211, 255, 0.2), transparent 60%),
    rgba(12, 22, 52, 0.84);
}

body.homepage-legacy-legacy .cta h2 {
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -0.025em;
}

body.homepage-legacy-legacy .cta-sub {
  max-width: 760px;
  margin: 0 auto 16px;
  color: #c6d5f7;
  font-size: 15px;
}

body.homepage-legacy-legacy .cta-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

body.homepage-legacy-legacy .cta-trust span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(145, 164, 234, 0.28);
  background: rgba(12, 24, 56, 0.62);
  color: #d8e4ff;
  font-size: 12px;
}

body.homepage-legacy-legacy .cta-path {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

body.homepage-legacy-legacy .cta-step {
  border-radius: 12px;
  border: 1px solid rgba(140, 162, 233, 0.24);
  background: rgba(8, 17, 41, 0.66);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.homepage-legacy-legacy .cta-step b {
  color: #7de3ff;
  font-size: 12px;
}

body.homepage-legacy-legacy .cta-step span {
  color: #c8d7fa;
  font-size: 13px;
}

@media (min-width: 1200px) {
  body.homepage-legacy-legacy .comparison-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media (max-width: 959px) {
  body.homepage-legacy-legacy .section-head {
    margin-bottom: 42px;
  }

  body.homepage-legacy-legacy .showcase::before,
  body.homepage-legacy-legacy .platform-demo::before,
  body.homepage-legacy-legacy .architecture::before,
  body.homepage-legacy-legacy .comparison::before,
  body.homepage-legacy-legacy .faq::before,
  body.homepage-legacy-legacy .scenarios::before,
  body.homepage-legacy-legacy .pricing-private::before {
    border-radius: 18px;
  }

  body.homepage-legacy-legacy .video-placeholder {
    min-height: 260px;
  }

  body.homepage-legacy-legacy .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.homepage-legacy-legacy .comparison-table-wrap {
    overflow-x: auto;
  }

  body.homepage-legacy-legacy .comparison-table {
    min-width: 700px;
  }

  body.homepage-legacy-legacy .cta-path {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  body.homepage-legacy-legacy .section-head::before {
    font-size: 11px;
    padding: 5px 10px;
    margin-bottom: 12px;
  }

  body.homepage-legacy-legacy .feature-card:hover,
  body.homepage-legacy-legacy .demo-card:hover,
  body.homepage-legacy-legacy .shot-card:hover,
  body.homepage-legacy-legacy .arch-card:hover,
  body.homepage-legacy-legacy .comparison-card:hover,
  body.homepage-legacy-legacy .security-card:hover,
  body.homepage-legacy-legacy .scene-card:hover,
  body.homepage-legacy-legacy .private-item:hover,
  body.homepage-legacy-legacy .faq-item:hover {
    transform: none;
  }

  body.homepage-legacy-legacy .play-btn {
    width: 62px;
    height: 62px;
  }

  body.homepage-legacy-legacy .console-body {
    padding: 18px 16px 16px;
  }

  body.homepage-legacy-legacy .hero-metrics {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
  }

  body.homepage-legacy-legacy .hero-metric {
    padding: 9px 10px;
  }

  body.homepage-legacy-legacy .hero-metric-value {
    font-size: 15px;
  }

  body.homepage-legacy-legacy .hero-stream li {
    font-size: 12px;
  }

  body.homepage-legacy-legacy .industry-highlight {
    padding: 18px 16px 16px;
  }

  body.homepage-legacy-legacy .industry-highlight h3 {
    font-size: 18px;
  }

  body.homepage-legacy-legacy .industry-highlight p {
    font-size: 14px;
  }

  body.homepage-legacy-legacy .cta-sub {
    font-size: 14px;
    margin-bottom: 12px;
  }

  body.homepage-legacy-legacy .cta-trust {
    gap: 8px;
    margin-bottom: 14px;
  }

  body.homepage-legacy-legacy .cta-trust span {
    font-size: 11px;
    padding: 6px 10px;
  }

  body.homepage-legacy-legacy .cta-path {
    grid-template-columns: 1fr;
    margin-top: 14px;
  }
}

@media (max-width: 959px) {
  body.homepage-legacy-legacy .nav {
    background: rgba(8, 15, 36, 0.97);
    border-left: 1px solid rgba(118, 143, 223, 0.2);
  }

  body.homepage-legacy-legacy .nav a {
    color: #dce8ff;
  }

  body.homepage-legacy-legacy .nav-close {
    background: rgba(10, 19, 48, 0.8);
    border-color: rgba(118, 143, 223, 0.25);
  }

  body.homepage-legacy-legacy .nav-close span {
    background: #dce8ff;
  }
}

/* ============== Final Polish v2 ============== */
:root {
  --space-8: 8px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
}

h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.18;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.24;
}

.feature-card h3,
.demo-card h3,
.arch-card h3,
.scene-card h3,
.pricing-card h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.btn {
  min-height: 42px;
}

.btn-lg {
  min-height: 52px;
}

.modal-content,
.console-card,
.video-frame,
.pricing-card,
.feature-card,
.demo-card,
.scene-card,
.arch-card {
  border-radius: 20px;
}

.faq-item {
  border-radius: 14px;
}

/* Prevent hover animation on touch devices */
@media (hover: hover) and (pointer: fine) {
  .btn:hover,
  .float-btn:hover {
    transform: translateY(-2px);
  }

  .platform-card:hover,
  .console-card:hover,
  .demo-card:hover,
  .feature-card:hover,
  .arch-card:hover,
  .scene-card:hover,
  .pricing-card:hover,
  .private-item:hover {
    transform: translateY(-8px);
  }

  .demo-card:hover .demo-icon,
  .feature-card:hover .feature-icon,
  .scene-card:hover .scene-icon {
    transform: scale(1.08);
  }
}

@media (hover: none) {
  .btn:hover,
  .float-btn:hover,
  .platform-card:hover,
  .console-card:hover,
  .demo-card:hover,
  .feature-card:hover,
  .arch-card:hover,
  .scene-card:hover,
  .pricing-card:hover,
  .private-item:hover {
    transform: none;
  }
}

@media (max-width: 599px) {
  .header-inner {
    height: 56px;
  }

  .nav {
    padding: 80px var(--space-16) var(--space-16);
  }

  .nav a {
    padding: var(--space-16);
    border-radius: 12px;
  }

  .hero-actions .btn-lg {
    min-height: 48px;
    padding: 12px var(--space-16);
  }

  .faq-question {
    padding: var(--space-16);
    min-height: 48px;
  }

  .faq-answer p {
    padding: 0 var(--space-16) var(--space-16) 40px;
  }
}

/* ============== Final Polish v3 ============== */
.hero-left {
  max-width: 620px;
}

.hero-left h1,
.pricing-hero h1 {
  text-wrap: balance;
}

.hero-desc,
.pricing-hero .section-desc {
  max-width: 56ch;
}

.hero-actions,
.cta-actions {
  align-items: center;
}

.hero-actions .btn,
.cta-actions .btn {
  min-width: 156px;
}

.pricing-hero .container {
  max-width: 920px;
}

.pricing-hero .section-head {
  margin-bottom: 24px;
}

.pricing-checks {
  max-width: 820px;
  margin: 0 auto;
  justify-content: center;
}

.pricing-checks .check-item {
  min-height: 40px;
  padding: 8px 16px;
}

.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-features {
  margin-bottom: 24px;
}

.pricing-card .btn-full {
  margin-top: auto;
}

@media (max-width: 959px) {
  .hero-left {
    max-width: 100%;
  }

  .hero-desc,
  .pricing-hero .section-desc {
    max-width: 100%;
  }
}

@media (max-width: 599px) {
  .hero-actions .btn,
  .cta-actions .btn {
    min-width: 0;
    width: 100%;
  }

  .pricing-hero .section-head {
    margin-bottom: 16px;
  }

  .pricing-checks {
    gap: 8px;
  }

  .pricing-checks .check-item {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 599px) {
  .btn {
    border-radius: 10px;
  }

  .section-head h2 {
    letter-spacing: -0.02em;
  }

  .hero {
    background:
      radial-gradient(360px 180px at 80% 0%, rgba(22, 119, 255, 0.18), transparent 70%),
      linear-gradient(180deg, #f0f7ff 0%, #ffffff 70%);
  }
}

/* ============== Final Polish ============== */
:root {
  --motion-fast: 180ms;
  --motion-base: 260ms;
  --motion-slow: 360ms;
  --ease-standard: cubic-bezier(.22, .61, .36, 1);
  --ease-hover: cubic-bezier(.18, .82, .26, 1);
}

body {
  font-weight: 500;
}

h1 {
  font-weight: 800;
}

.section-head h2,
.cta h2,
.pricing-hero h1 {
  font-weight: 700;
}

.hero-desc,
.section-desc,
.feature-card p,
.scene-card p,
.demo-card p,
.arch-list li,
.price-desc,
.private-item p {
  line-height: 1.75;
}

.btn,
.nav-toggle,
.float-btn {
  transition:
    transform var(--motion-base) var(--ease-standard),
    box-shadow var(--motion-base) var(--ease-standard),
    border-color var(--motion-fast) var(--ease-standard),
    background var(--motion-fast) var(--ease-standard),
    color var(--motion-fast) var(--ease-standard);
}

.btn:hover,
.float-btn:hover {
  transform: translateY(-2px);
}

.btn:active,
.float-btn:active {
  transform: translateY(0) scale(.97);
}

.platform-card,
.console-card,
.demo-card,
.feature-card,
.arch-card,
.scene-card,
.faq-item,
.pricing-card,
.private-item {
  transition:
    transform var(--motion-slow) var(--ease-hover),
    box-shadow var(--motion-slow) var(--ease-hover),
    border-color var(--motion-fast) var(--ease-standard);
}

.platform-card:hover,
.console-card:hover,
.demo-card:hover,
.feature-card:hover,
.arch-card:hover,
.scene-card:hover,
.pricing-card:hover,
.private-item:hover {
  transform: translateY(-8px);
}

.demo-card:hover .demo-icon,
.feature-card:hover .feature-icon,
.scene-card:hover .scene-icon {
  transition: transform var(--motion-slow) var(--ease-hover);
}

@media (max-width: 599px) {
  /* 8pt grid rhythm */
  section {
    padding: 56px 0;
  }

  .container {
    padding: 0 16px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2 {
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 700;
  }

  .head-line {
    margin: 8px auto 16px;
  }

  .section-desc {
    font-size: 14px;
    line-height: 1.75;
  }

  .hero {
    padding: 72px 0 56px;
  }

  .hero-inner {
    gap: 32px;
  }

  .hero-actions {
    margin-top: 24px;
    gap: 8px;
  }

  .hero-checks {
    margin-top: 16px;
    gap: 8px 16px;
  }

  .platform-cards,
  .demo-grid,
  .feature-grid,
  .scene-grid,
  .private-grid,
  .faq-grid {
    gap: 16px;
  }

  .demo-card,
  .feature-card,
  .arch-card,
  .scene-card,
  .pricing-card,
  .private-item {
    padding: 24px 16px;
  }

  .stats-strip {
    padding: 40px 0;
  }

  .stats-inner {
    gap: 24px;
  }

  .cta {
    padding: 48px 0;
  }

  .cta h2 {
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 700;
  }

  .footer {
    padding: 24px 0;
  }

  .floating-btns {
    right: 16px;
    bottom: 24px;
    gap: 8px;
  }

  .platform-card:hover,
  .console-card:hover,
  .demo-card:hover,
  .feature-card:hover,
  .arch-card:hover,
  .scene-card:hover,
  .pricing-card:hover,
  .private-item:hover {
    transform: translateY(-4px);
  }
}

/* ============== Final Polish v4 ============== */
:root {
  --section-space-desktop: 104px;
  --section-space-mobile: 56px;
  --head-gap-desktop: 40px;
  --head-gap-mobile: 24px;
}

section {
  padding: var(--section-space-desktop) 0;
}

.section-head {
  margin-bottom: var(--head-gap-desktop);
}

.section-desc {
  max-width: 64ch;
}

/* calmer section rhythm around hero and pricing */
.hero {
  padding-top: 120px;
  padding-bottom: 96px;
}

.pricing-hero {
  padding-top: 112px;
  padding-bottom: 64px;
}

.pricing {
  padding-top: 48px;
}

/* reduce visual noise from perpetual pulses */
.hero-badge,
.play-btn {
  animation-duration: 3.2s;
  animation-timing-function: var(--ease-standard);
}

.stat-value.stat-animate {
  animation-duration: .5s;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover,
  .btn-outline:hover,
  .btn-outline-light:hover {
    transform: translateY(-1px);
  }

  .platform-card:hover,
  .console-card:hover,
  .demo-card:hover,
  .feature-card:hover,
  .arch-card:hover,
  .scene-card:hover,
  .pricing-card:hover,
  .private-item:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 959px) {
  section {
    padding: 88px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .hero {
    padding-top: 88px;
    padding-bottom: 72px;
  }

  .pricing-hero {
    padding-top: 88px;
    padding-bottom: 48px;
  }
}

@media (max-width: 599px) {
  section {
    padding: var(--section-space-mobile) 0;
  }

  .section-head {
    margin-bottom: var(--head-gap-mobile);
  }

  .hero {
    padding-top: 72px;
    padding-bottom: 56px;
  }

  .pricing-hero {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .pricing {
    padding-top: 24px;
    padding-bottom: 56px;
  }
}

/* ============== Enterprise Detail Polish v5 ============== */
:root {
  --content-max: 1160px;
  --section-space-desktop: 96px;
  --section-space-mobile: 56px;
  --head-gap-desktop: 36px;
  --head-gap-mobile: 24px;
  --radius-btn: 12px;
  --radius-card: 16px;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 18px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 8px 24px rgba(15, 23, 42, 0.08);
  --line-soft: rgba(148, 163, 184, 0.28);
}

.container {
  max-width: var(--content-max);
}

body {
  font-weight: 400;
  color: #1e293b;
}

h1 {
  font-size: clamp(34px, 4.2vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 750;
}

.section-head h2,
.pricing-hero h1,
.cta h2 {
  line-height: 1.24;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.section-head h2 {
  font-size: clamp(28px, 3vw, 36px);
}

.section-desc,
.hero-desc,
.feature-card p,
.scene-card p,
.demo-card p,
.pricing-sub,
.private-item p {
  font-size: 16px;
  line-height: 1.72;
  color: #64748b;
  max-width: 62ch;
}

section {
  padding: var(--section-space-desktop) 0;
}

.section-head {
  margin-bottom: var(--head-gap-desktop);
}

.head-line {
  width: 52px;
  height: 4px;
  margin: 12px auto 18px;
}

.btn {
  min-height: 44px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.btn-lg {
  min-height: 48px;
  border-radius: 14px;
}

.btn-primary {
  box-shadow: 0 6px 16px rgba(22, 119, 255, 0.2);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    box-shadow: 0 10px 22px rgba(22, 119, 255, 0.24);
  }

  .btn-outline:hover,
  .btn-outline-light:hover {
    border-color: #1d4ed8;
  }
}

.demo-card,
.feature-card,
.arch-card,
.scene-card,
.faq-item,
.pricing-card,
.private-item,
.shot-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  background: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .demo-card:hover,
  .feature-card:hover,
  .arch-card:hover,
  .scene-card:hover,
  .pricing-card:hover,
  .private-item:hover,
  .shot-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
  }
}

.section-cta-inner {
  border-color: rgba(37, 99, 235, 0.2);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.9), rgba(248, 251, 255, 0.9));
}

.section-cta-inner p {
  color: #1e3a8a;
  font-weight: 600;
  line-height: 1.6;
}

/* Fallback for browsers without backdrop-filter */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header {
    background: rgba(255, 255, 255, 0.98);
  }
}

@media (max-width: 959px) {
  section {
    padding: 80px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-desc,
  .hero-desc,
  .pricing-sub {
    font-size: 15px;
    line-height: 1.68;
  }
}

@media (max-width: 599px) {
  section {
    padding: var(--section-space-mobile) 0;
  }

  .section-head {
    margin-bottom: var(--head-gap-mobile);
  }

  h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .section-head h2,
  .cta h2,
  .pricing-hero h1 {
    font-size: 24px;
    line-height: 1.28;
  }

  .section-desc,
  .hero-desc,
  .feature-card p,
  .scene-card p,
  .demo-card p,
  .private-item p {
    font-size: 14px;
    line-height: 1.7;
  }

  .btn {
    min-height: 42px;
    font-size: 15px;
  }

  .btn-lg {
    min-height: 46px;
  }

  .demo-card,
  .feature-card,
  .arch-card,
  .scene-card,
  .pricing-card,
  .private-item,
  .shot-card {
    padding: 20px 14px;
  }
}

/* ============== Enterprise Detail Polish v5.1 ============== */
.btn {
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}

.btn-full {
  min-height: 44px;
}

.shot-card h3,
.demo-card h3,
.feature-card h3,
.arch-card h3,
.scene-card h3,
.pricing-card h3 {
  line-height: 1.34;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.shot-card h3,
.demo-card h3,
.feature-card h3,
.scene-card h3 {
  min-height: 2.68em;
}

@media (max-width: 959px) {
  .shot-card h3,
  .demo-card h3,
  .feature-card h3,
  .scene-card h3 {
    min-height: 2.5em;
  }
}

@media (max-width: 599px) {
  .btn-full {
    min-height: 42px;
  }

  .shot-card h3,
  .demo-card h3,
  .feature-card h3,
  .scene-card h3 {
    min-height: 0;
  }
}

/* Contact panel modal */
.contact-panel {
  display: grid;
  gap: 14px;
}

.contact-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.contact-item h4 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e1e6ef;
  background: #f3f6fb;
  border-radius: 14px;
  padding: 14px 16px;
}

.contact-link {
  text-decoration: none;
}

.contact-main {
  font-size: 22px;
  font-weight: 700;
  color: #1d4ed8;
  line-height: 1.25;
}

.contact-side {
  font-size: 14px;
  color: #6b7280;
  font-weight: 600;
  white-space: nowrap;
}

.contact-copy-btn {
  min-height: 40px;
  padding: 8px 18px;
}

.contact-panel-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 2px;
}

@media (max-width: 599px) {
  .modal.modal-contact-panel {
    padding: 10px;
    align-items: flex-start;
  }

  .modal.modal-contact-panel .modal-content {
    max-width: 100%;
    width: 100%;
    margin-top: 0;
    max-height: calc(100dvh - 20px);
    height: auto;
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2);
    display: flex;
    flex-direction: column;
  }

  .modal.modal-contact-panel .modal-header {
    padding: 18px 16px;
  }

  .modal.modal-contact-panel .modal-body {
    padding: 12px 12px 16px;
    max-height: calc(100dvh - 132px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .contact-item {
    border-radius: 14px;
    padding: 12px;
  }

  .contact-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .contact-row {
    border-radius: 12px;
    padding: 12px;
  }

  .contact-main {
    font-size: 18px;
  }

  .contact-side {
    font-size: 12px;
  }
}

/* Demo hub modal */
.modal-subtitle:empty,
.modal-description:empty {
  display: none;
}

.modal.modal-demo-hub .modal-content {
  max-width: 760px;
}

.modal.modal-demo-hub .modal-header {
  padding: 22px 26px;
}

.modal.modal-demo-hub .modal-body {
  padding: 18px 24px 24px;
}

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

.demo-hub-card {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid #d5dae3;
  border-radius: 18px;
  background: #fdfdff;
  padding: 18px 14px;
  min-height: 176px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  height: 100%;
}

.demo-hub-card:hover {
  transform: translateY(-2px);
  border-color: #c5d2e9;
  box-shadow: 0 10px 26px rgba(31, 50, 95, 0.12);
}

.demo-hub-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-logo {
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
}

.demo-logo--demo {
  background: #eef2fb;
  border: 1px solid #c5d2ea;
  color: #2a4aa5;
  font-size: 16px;
}

.demo-logo--apple {
  background: #1297ec;
  color: #fff;
}

.demo-logo--huawei {
  color: #e11d2e;
  font-size: 28px;
}

.demo-logo--qq {
  color: #2691f0;
}

.demo-logo--mi {
  background: #ff7f4a;
  color: #fff;
  font-size: 20px;
}

.demo-logo--vivo {
  background: #4b61f2;
  color: #fff;
  font-size: 16px;
}

.demo-logo--honor {
  background: #40c0dc;
  color: #fff;
  font-size: 16px;
}

.demo-hub-card h4 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.demo-hub-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 600;
}

@media (max-width: 599px) {
  .modal.modal-demo-hub {
    padding: 10px !important;
    align-items: flex-start !important;
    inset: 0;
  }

  .modal.modal-demo-hub .modal-content {
    max-width: 100%;
    width: 100%;
    max-height: calc(100dvh - 20px);
    height: auto;
    margin-top: 0 !important;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.2);
    display: flex;
    flex-direction: column;
    transform: none !important;
  }

  .modal.modal-demo-hub .modal-header {
    padding: 18px 18px 16px;
    border-bottom: 1px solid #e5e7eb;
  }

  .modal.modal-demo-hub .modal-title {
    font-size: 18px;
  }

  .modal.modal-demo-hub .modal-body {
    padding: 14px;
    max-height: calc(100dvh - 130px);
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .demo-hub-grid {
    gap: 12px;
  }

  .demo-hub-card {
    min-height: 150px;
    padding: 14px 10px;
    border-radius: 16px;
  }

  .demo-hub-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
  }

  .demo-hub-card h4 {
    font-size: 14px;
    margin-bottom: 2px;
  }

  .demo-hub-card p {
    font-size: 12px;
    line-height: 1.35;
  }
}

/* ============== Design Tokens v6 (Unified) ============== */
:root {
  --t-content-max: 1160px;
  --t-section-y-desktop: 96px;
  --t-section-y-mobile: 56px;
  --t-head-gap-desktop: 36px;
  --t-head-gap-mobile: 24px;

  --t-fs-h1: clamp(34px, 4vw, 44px);
  --t-fs-h2: clamp(28px, 3.1vw, 36px);
  --t-fs-h3: 20px;
  --t-fs-body: 16px;
  --t-fs-body-sm: 14px;

  --t-lh-h: 1.24;
  --t-lh-body: 1.72;
  --t-lh-body-sm: 1.68;

  --t-radius-btn: 12px;
  --t-radius-btn-lg: 14px;
  --t-radius-card: 16px;

  --t-line-soft: rgba(148, 163, 184, 0.28);
  --t-shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 18px rgba(15, 23, 42, 0.04);
  --t-shadow-card-hover: 0 8px 24px rgba(15, 23, 42, 0.08);
  --t-shadow-btn: 0 6px 16px rgba(22, 119, 255, 0.2);
  --t-shadow-btn-hover: 0 10px 22px rgba(22, 119, 255, 0.24);

  --t-motion-fast: 180ms;
  --t-motion-base: 240ms;
  --t-ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
}

.container {
  max-width: var(--t-content-max);
}

section {
  padding: var(--t-section-y-desktop) 0;
}

.section-head {
  margin-bottom: var(--t-head-gap-desktop);
}

h1 {
  font-size: var(--t-fs-h1);
  line-height: var(--t-lh-h);
  letter-spacing: -0.02em;
  font-weight: 750;
}

.section-head h2,
.pricing-hero h1,
.cta h2 {
  font-size: var(--t-fs-h2);
  line-height: var(--t-lh-h);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero-desc,
.section-desc,
.feature-card p,
.scene-card p,
.demo-card p,
.private-item p,
.pricing-sub {
  font-size: var(--t-fs-body);
  line-height: var(--t-lh-body);
  color: #64748b;
}

.btn {
  min-height: 44px;
  border-radius: var(--t-radius-btn);
  font-weight: 600;
  line-height: 1.2;
  transition:
    transform var(--t-motion-base) var(--t-ease-standard),
    box-shadow var(--t-motion-base) var(--t-ease-standard),
    border-color var(--t-motion-fast) var(--t-ease-standard),
    background var(--t-motion-fast) var(--t-ease-standard),
    color var(--t-motion-fast) var(--t-ease-standard);
}

.btn-lg {
  min-height: 48px;
  border-radius: var(--t-radius-btn-lg);
}

.btn-primary {
  box-shadow: var(--t-shadow-btn);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    box-shadow: var(--t-shadow-btn-hover);
    transform: translateY(-1px);
  }
}

.demo-card,
.feature-card,
.arch-card,
.scene-card,
.faq-item,
.pricing-card,
.private-item,
.shot-card {
  border-radius: var(--t-radius-card);
  border: 1px solid var(--t-line-soft);
  box-shadow: var(--t-shadow-card);
  background: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .demo-card:hover,
  .feature-card:hover,
  .arch-card:hover,
  .scene-card:hover,
  .pricing-card:hover,
  .private-item:hover,
  .shot-card:hover {
    box-shadow: var(--t-shadow-card-hover);
    transform: translateY(-4px);
  }
}

@media (max-width: 959px) {
  section {
    padding: 80px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .hero-desc,
  .section-desc,
  .pricing-sub {
    font-size: 15px;
    line-height: var(--t-lh-body-sm);
  }
}

@media (max-width: 599px) {
  section {
    padding: var(--t-section-y-mobile) 0;
  }

  .section-head {
    margin-bottom: var(--t-head-gap-mobile);
  }

  h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .section-head h2,
  .cta h2,
  .pricing-hero h1 {
    font-size: 24px;
    line-height: 1.28;
  }

  .hero-desc,
  .section-desc,
  .feature-card p,
  .scene-card p,
  .demo-card p,
  .private-item p {
    font-size: var(--t-fs-body-sm);
    line-height: 1.7;
  }

  .btn {
    min-height: 42px;
    font-size: 15px;
  }

  .btn-lg {
    min-height: 46px;
  }
}

/* ============== Uiverse-Inspired Micro Upgrade ============== */
:root {
  --ux-glow-blue: rgba(37, 99, 235, 0.22);
  --ux-glow-cyan: rgba(6, 182, 212, 0.16);
  --ux-card-line: rgba(148, 163, 184, 0.28);
  --ux-card-line-hover: rgba(59, 130, 246, 0.42);
}

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  opacity: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  transition: opacity .22s ease;
}

.btn-primary {
  background-image: linear-gradient(135deg, #3b82f6 0%, #2563eb 48%, #1d4ed8 100%);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -35%;
  width: 46%;
  height: 340%;
  transform: rotate(18deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .34), rgba(255, 255, 255, 0));
  transition: left .55s cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover::after {
    opacity: 1;
  }

  .btn-primary:hover::before {
    left: 105%;
  }
}

.btn:active {
  transform: translateY(0) scale(.985);
}

.demo-card,
.feature-card,
.pricing-card,
.shot-card,
.scene-card,
.private-item,
.arch-card {
  position: relative;
  overflow: hidden;
  border-color: var(--ux-card-line);
  transition:
    transform .28s cubic-bezier(.22,.61,.36,1),
    border-color .22s ease,
    box-shadow .28s cubic-bezier(.22,.61,.36,1);
}

.demo-card::before,
.feature-card::before,
.pricing-card::before,
.shot-card::before,
.scene-card::before,
.private-item::before,
.arch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(560px 120px at -15% -30%, rgba(255,255,255,.7), transparent 62%),
    radial-gradient(420px 120px at 120% -40%, rgba(59,130,246,.08), transparent 62%);
  opacity: .66;
}

@media (hover: hover) and (pointer: fine) {
  .demo-card:hover,
  .feature-card:hover,
  .pricing-card:hover,
  .shot-card:hover,
  .scene-card:hover,
  .private-item:hover,
  .arch-card:hover {
    border-color: var(--ux-card-line-hover);
    box-shadow:
      0 18px 42px rgba(15, 23, 42, 0.10),
      0 0 0 1px rgba(59, 130, 246, 0.08);
  }
}

.modal-content {
  border: 1px solid rgba(148, 163, 184, 0.26);
  box-shadow:
    0 24px 54px rgba(15, 23, 42, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.form-input,
.contact-row {
  transition:
    border-color .2s ease,
    background-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.form-input:focus,
.contact-link:focus-visible,
.contact-link:hover {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 3px var(--ux-glow-cyan);
  background: #fff;
}

.contact-link:hover .contact-main {
  color: #1d4ed8;
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .demo-card,
  .feature-card,
  .pricing-card,
  .shot-card,
  .scene-card,
  .private-item,
  .arch-card,
  .form-input,
  .contact-row {
    transition: none !important;
  }
}

/* ============== Micro Polish Round 2 ============== */
:root {
  --ux-nav-bg: rgba(255, 255, 255, 0.78);
  --ux-nav-line: rgba(148, 163, 184, 0.24);
  --ux-title: #0f172a;
  --ux-body: #5b667a;
}

/* Header clarity */
.header {
  background: var(--ux-nav-bg);
  border-bottom-color: var(--ux-nav-line);
}

.header.scrolled {
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.09);
}

.brand-name {
  letter-spacing: -0.012em;
}

.nav a {
  font-weight: 600;
  color: #1f2a44;
}

.nav a[aria-current="page"] {
  background: rgba(37, 99, 235, 0.10);
  color: #1d4ed8;
}

/* Typographic hierarchy */
h1,
.section-head h2,
.pricing-hero h1 {
  color: var(--ux-title);
  text-wrap: balance;
}

.hero-desc,
.section-desc,
.feature-card p,
.demo-card p,
.scene-card p,
.pricing-sub {
  color: var(--ux-body);
}

/* Section rhythm */
section {
  scroll-margin-top: 86px;
}

.section-head {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.head-line {
  width: 56px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6, #38bdf8);
}

/* CTA block alignment */
.section-cta-inner,
.cta-inner {
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.section-cta-actions,
.cta-actions {
  gap: 12px;
}

/* Modal close affordance */
.modal-close {
  border-color: rgba(148, 163, 184, 0.32);
  background: #f8fafc;
}

.modal-close:hover {
  background: #eff6ff;
  border-color: rgba(59, 130, 246, 0.34);
}

/* Mobile density and touch comfort */
@media (max-width: 599px) {
  .hero-actions,
  .section-cta-actions,
  .cta-actions {
    gap: 10px;
  }

  .section-cta-inner,
  .cta-inner {
    padding: 14px;
    border-radius: 16px;
  }

  .modal-close {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .demo-hub-card,
  .contact-item {
    border-radius: 14px;
  }
}

/* ============== Micro Polish Round 3 (Hero + Modals) ============== */
:root {
  --ux-btn-h: 46px;
  --ux-btn-h-lg: 50px;
  --ux-radius-card-2: 16px;
  --ux-radius-modal-2: 20px;
  --ux-line-2: rgba(148, 163, 184, 0.28);
  --ux-shadow-2: 0 14px 34px rgba(15, 23, 42, 0.10);
}

/* Hero first-screen consistency */
.hero-badge {
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
}

.hero-left h1 {
  max-width: 14ch;
  line-height: 1.16;
}

.hero-desc {
  max-width: 54ch;
}

.hero-actions .btn {
  min-height: var(--ux-btn-h-lg);
}

/* Unified card shell (homepage major modules) */
.demo-card,
.feature-card,
.shot-card,
.scene-card,
.pricing-card,
.arch-card,
.private-item {
  border-radius: var(--ux-radius-card-2);
  border: 1px solid var(--ux-line-2);
  box-shadow: var(--ux-shadow-2);
}

/* Contact modal + Demo modal alignment */
.modal.modal-contact-panel .modal-content,
.modal.modal-demo-hub .modal-content {
  border-radius: var(--ux-radius-modal-2);
  border: 1px solid var(--ux-line-2);
}

.modal.modal-contact-panel .modal-header,
.modal.modal-demo-hub .modal-header {
  min-height: 78px;
  align-items: center;
}

.modal.modal-contact-panel .modal-title,
.modal.modal-demo-hub .modal-title {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.modal.modal-contact-panel .modal-description,
.modal.modal-demo-hub .modal-description {
  margin-top: 6px;
}

.contact-item,
.demo-hub-card {
  border-radius: var(--ux-radius-card-2);
  border: 1px solid var(--ux-line-2);
}

.contact-row {
  min-height: var(--ux-btn-h);
}

.contact-copy-btn,
#contactCloseBtn {
  min-height: var(--ux-btn-h);
}

/* Mobile 8pt rhythm */
@media (max-width: 599px) {
  .hero {
    padding-top: 72px;
    padding-bottom: 56px;
  }

  .hero-left h1 {
    max-width: none;
    line-height: 1.18;
  }

  .hero-desc {
    margin-top: 16px;
  }

  .hero-actions .btn {
    min-height: 48px;
  }

  .modal.modal-contact-panel .modal-content,
  .modal.modal-demo-hub .modal-content {
    border-radius: 16px;
  }

  .modal.modal-contact-panel .modal-header,
  .modal.modal-demo-hub .modal-header {
    min-height: 64px;
    padding: 16px;
  }

  .modal.modal-contact-panel .modal-title,
  .modal.modal-demo-hub .modal-title {
    font-size: 24px;
  }

  .modal.modal-contact-panel .modal-body,
  .modal.modal-demo-hub .modal-body {
    padding: 16px;
  }

  .demo-hub-grid {
    gap: 8px;
  }

  .contact-panel {
    gap: 8px;
  }

  .contact-item,
  .demo-hub-card {
    border-radius: 12px;
  }
}

/* ============== Micro Polish Round 4 (Launch QA) ============== */
/* 1) Card internals: stabilize heights and button baselines */
.demo-card,
.pricing-card {
  display: flex;
  flex-direction: column;
}

.demo-card h3 {
  min-height: 2.6em;
}

.demo-card p {
  min-height: 4.8em;
}

.demo-card .btn,
.pricing-card .btn.full,
.pricing-card .btn.btn-full {
  margin-top: auto;
}

.pricing-card h3 {
  min-height: 2.6em;
}

.pricing-card .pricing-features {
  min-height: 9.5em;
}

/* 2) Feature/scenario text rhythm */
.feature-card,
.scene-card {
  display: flex;
  flex-direction: column;
}

.feature-card h3,
.scene-card h3 {
  min-height: 2.5em;
}

.feature-card p,
.scene-card p {
  min-height: 4.6em;
}

/* 3) CTA readability */
.section-cta-inner p,
.cta p {
  max-width: 62ch;
}

/* 4) Mobile launch polish */
@media (max-width: 599px) {
  .hero-actions .btn-lg {
    min-height: 48px;
    font-weight: 700;
  }

  .demo-card h3,
  .pricing-card h3,
  .feature-card h3,
  .scene-card h3 {
    min-height: 0;
  }

  .demo-card p,
  .feature-card p,
  .scene-card p {
    min-height: 0;
  }

  .pricing-card .pricing-features {
    min-height: 0;
  }

  .section-cta-actions .btn,
  .cta-actions .btn {
    min-height: 44px;
  }
}

/* ============== Bottom Theme Final (CTA + Footer) ============== */
.cta {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.cta h2,
.cta .section-head h2 {
  color: #eaf2ff;
  text-shadow: 0 2px 10px rgba(2, 6, 23, 0.35);
}

.cta p,
.cta .section-desc {
  color: rgba(219, 234, 254, 0.84);
}

.cta-inner,
.section-cta-inner {
  border: none;
  background: rgba(15, 23, 42, 0.08);
}

.footer {
  background: linear-gradient(180deg, #0b1220 0%, #0a1020 100%);
  color: #cbd5e1;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.footer .footer-info {
  color: #cbd5e1;
}

.footer .footer-copy {
  color: #94a3b8;
}

.footer .footer-info [data-footer-contact],
.footer .footer-info [data-copy-domain] {
  color: #dbeafe;
}

.footer .footer-info [data-footer-contact]:hover,
.footer .footer-info [data-copy-domain]:hover {
  color: #ffffff;
  opacity: 1;
}

/* ============== DS Apply: Pricing / Cases pages ============== */
body.pricing-page,
body.cases-page {
  background:
    radial-gradient(980px 460px at -8% -14%, rgba(90, 118, 255, 0.2), transparent 66%),
    radial-gradient(900px 460px at 110% -16%, rgba(124, 77, 255, 0.18), transparent 68%),
    linear-gradient(180deg, #050a1b 0%, #060d22 42%, #060a1b 100%);
  color: var(--ds-color-text);
  font-family: var(--ds-font-sans), -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body.pricing-page .header,
body.cases-page .header {
  background: rgba(7, 13, 33, 0.82);
  border-bottom: 1px solid var(--ds-color-border-soft);
}

body.pricing-page .header.scrolled,
body.cases-page .header.scrolled {
  box-shadow: 0 14px 40px rgba(2, 6, 20, 0.5);
}

body.pricing-page .brand,
body.pricing-page .nav a,
body.cases-page .brand,
body.cases-page .nav a {
  color: var(--ds-color-text);
}

body.pricing-page .nav a:hover,
body.pricing-page .nav a[aria-current="page"],
body.cases-page .nav a:hover,
body.cases-page .nav a[aria-current="page"] {
  background: rgba(79, 107, 255, 0.16);
  color: #fff;
}

body.pricing-page .pricing-hero,
body.cases-page .pricing-hero,
body.pricing-page .pricing,
body.cases-page .pricing,
body.pricing-page .pricing-private,
body.pricing-page .ownership {
  background: transparent;
}

body.pricing-page section,
body.cases-page section {
  padding: var(--ds-section-space-desktop) 0;
}

body.pricing-page .section-head,
body.cases-page .section-head {
  margin-bottom: 52px;
}

body.pricing-page .section-head h1,
body.pricing-page .section-head h2,
body.cases-page .section-head h1,
body.cases-page .section-head h2 {
  font-family: var(--ds-font-heading);
  color: #fff;
}

body.pricing-page .section-desc,
body.cases-page .section-desc,
body.pricing-page .price-desc,
body.cases-page .price-desc,
body.pricing-page .pricing-features li,
body.cases-page .pricing-features li,
body.pricing-page .private-item p,
body.cases-page .private-item p {
  color: var(--ds-color-text-soft);
}

body.pricing-page .head-line,
body.cases-page .head-line {
  width: 72px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4f6bff, #7c4dff, #58d7ff);
}

body.pricing-page .pricing-card,
body.pricing-page .private-item,
body.cases-page .pricing-card {
  border-radius: var(--ds-radius-xl);
  border: 1px solid var(--ds-color-border);
  background: var(--ds-color-surface);
  box-shadow: var(--ds-shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.pricing-page .pricing-card:hover,
body.pricing-page .private-item:hover,
body.cases-page .pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(137, 161, 255, 0.48);
  box-shadow: var(--ds-shadow-lg), var(--ds-shadow-glow);
}

body.pricing-page .pricing-card h3,
body.pricing-page .private-item h4,
body.cases-page .pricing-card h3 {
  color: #fff;
}

body.pricing-page .price {
  color: #cdd9ff;
}

body.pricing-page .pricing-card .badge {
  background: var(--ds-cta);
}

body.pricing-page .pricing-card.highlight,
body.pricing-page .pricing-card--enterprise {
  border-color: rgba(102, 124, 255, 0.56);
  box-shadow: 0 0 0 1px rgba(102, 124, 255, 0.28), var(--ds-shadow-md);
}

body.pricing-page .pricing-card--enterprise {
  background:
    radial-gradient(480px 240px at 100% 0%, rgba(116, 93, 255, 0.24), transparent 66%),
    rgba(12, 22, 52, 0.84);
}

body.pricing-page .btn-primary,
body.cases-page .btn-primary {
  background: var(--ds-cta);
  box-shadow: 0 12px 28px rgba(95, 93, 255, 0.34);
}

body.pricing-page .btn-primary:hover,
body.cases-page .btn-primary:hover {
  background: var(--ds-cta-hover);
}

body.pricing-page .btn-outline,
body.cases-page .btn-outline {
  background: rgba(10, 19, 48, 0.7);
  border: 1px solid var(--ds-color-border);
  color: var(--ds-color-text);
}

body.pricing-page .btn-outline:hover,
body.cases-page .btn-outline:hover {
  border-color: #6f86ff;
  background: rgba(79, 107, 255, 0.16);
  color: #fff;
}

body.pricing-page .cta {
  background:
    radial-gradient(900px 320px at 20% 120%, rgba(90, 118, 255, 0.34), transparent 66%),
    linear-gradient(125deg, #090f28 0%, #121b42 56%, #242760 100%);
}

body.pricing-page .cta h2 {
  color: #fff;
}

body.pricing-page .footer,
body.cases-page .footer {
  background: linear-gradient(180deg, #060c1f, #050916);
}

@media (max-width: 959px) {
  body.pricing-page section,
  body.cases-page section {
    padding: var(--ds-section-space-tablet) 0;
  }

  body.pricing-page .nav,
  body.cases-page .nav {
    background: rgba(8, 15, 36, 0.97);
    border-left: 1px solid rgba(118, 143, 223, 0.2);
  }

  body.pricing-page .nav-close,
  body.cases-page .nav-close {
    background: rgba(10, 19, 48, 0.8);
    border-color: rgba(118, 143, 223, 0.25);
  }

  body.pricing-page .nav-close span,
  body.cases-page .nav-close span {
    background: #dce8ff;
  }
}

@media (max-width: 599px) {
  body.pricing-page section,
  body.cases-page section {
    padding: var(--ds-section-space-mobile) 0;
  }

  body.pricing-page .section-head,
  body.cases-page .section-head {
    margin-bottom: 34px;
  }
}

/* ============== DS Apply: Blog / Case detail pages ============== */
body.blog-page,
body.case-detail-page {
  background:
    radial-gradient(980px 460px at -8% -14%, rgba(90, 118, 255, 0.2), transparent 66%),
    radial-gradient(900px 460px at 110% -16%, rgba(124, 77, 255, 0.18), transparent 68%),
    linear-gradient(180deg, #050a1b 0%, #060d22 42%, #060a1b 100%);
  color: var(--ds-color-text);
  font-family: var(--ds-font-sans), -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body.blog-page section,
body.case-detail-page section {
  padding: var(--ds-section-space-desktop) 0;
}

body.blog-page .pricing-hero,
body.case-detail-page .pricing-hero,
body.blog-page .pricing,
body.case-detail-page .pricing,
body.case-detail-page .pricing-private {
  background: transparent;
}

body.blog-page .section-head,
body.case-detail-page .section-head {
  margin-bottom: 48px;
}

body.blog-page .section-head h1,
body.blog-page .section-head h2,
body.case-detail-page .section-head h1,
body.case-detail-page .section-head h2,
body.case-detail-page .cta h2 {
  font-family: var(--ds-font-heading);
  color: #fff;
}

body.blog-page .section-desc,
body.case-detail-page .section-desc,
body.blog-page .price-desc,
body.case-detail-page .private-item p {
  color: var(--ds-color-text-soft);
}

body.blog-page .head-line,
body.case-detail-page .head-line {
  width: 72px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4f6bff, #7c4dff, #58d7ff);
}

body.blog-page .pricing-card,
body.case-detail-page .private-item {
  border-radius: var(--ds-radius-xl);
  border: 1px solid var(--ds-color-border);
  background: var(--ds-color-surface);
  box-shadow: var(--ds-shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform var(--ds-duration-base) var(--ds-ease-spring), box-shadow var(--ds-duration-base) var(--ds-ease-standard), border-color var(--ds-duration-fast) var(--ds-ease-standard);
}

body.blog-page .pricing-card:hover,
body.case-detail-page .private-item:hover {
  transform: translateY(-6px);
  border-color: rgba(137, 161, 255, 0.48);
  box-shadow: var(--ds-shadow-lg), var(--ds-shadow-glow);
}

body.blog-page .pricing-card h3,
body.case-detail-page .private-item h4 {
  color: #fff;
}

body.blog-page .btn-primary,
body.case-detail-page .btn-primary {
  background: var(--ds-cta);
  box-shadow: 0 12px 28px rgba(95, 93, 255, 0.34);
}

body.blog-page .btn-primary:hover,
body.case-detail-page .btn-primary:hover {
  background: var(--ds-cta-hover);
}

body.case-detail-page .private-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body.case-detail-page .private-item {
  padding: 22px;
  position: relative;
}

body.case-detail-page .private-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4f6bff, #58d7ff);
}

body.case-detail-page .cta {
  background:
    radial-gradient(900px 320px at 20% 120%, rgba(90, 118, 255, 0.34), transparent 66%),
    linear-gradient(125deg, #090f28 0%, #121b42 56%, #242760 100%);
}

body.case-detail-page .btn-outline-light {
  border-color: rgba(160, 178, 241, 0.4);
  color: #eaf0ff;
  background: rgba(12, 23, 54, 0.45);
}

body.case-detail-page .btn-outline-light:hover {
  background: rgba(79, 107, 255, 0.18);
}

body.blog-page .footer,
body.case-detail-page .footer {
  background: linear-gradient(180deg, #060c1f, #050916);
}

@media (max-width: 959px) {
  body.blog-page section,
  body.case-detail-page section {
    padding: var(--ds-section-space-tablet) 0;
  }

  body.case-detail-page .private-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 599px) {
  body.blog-page section,
  body.case-detail-page section {
    padding: var(--ds-section-space-mobile) 0;
  }

  body.blog-page .section-head,
  body.case-detail-page .section-head {
    margin-bottom: 34px;
  }

  body.case-detail-page .private-item {
    padding: 18px 16px;
  }
}

body.blog-page .header,
body.case-detail-page .header {
  background: rgba(7, 13, 33, 0.82);
  border-bottom: 1px solid var(--ds-color-border-soft);
}

body.blog-page .header.scrolled,
body.case-detail-page .header.scrolled {
  box-shadow: 0 14px 40px rgba(2, 6, 20, 0.5);
}

body.blog-page .brand,
body.blog-page .nav a,
body.case-detail-page .brand,
body.case-detail-page .nav a {
  color: var(--ds-color-text);
}

body.blog-page .nav a:hover,
body.blog-page .nav a[aria-current="page"],
body.case-detail-page .nav a:hover,
body.case-detail-page .nav a[aria-current="page"] {
  background: rgba(79, 107, 255, 0.16);
  color: #fff;
}

@media (max-width: 959px) {
  body.blog-page .nav,
  body.case-detail-page .nav {
    background: rgba(8, 15, 36, 0.97);
    border-left: 1px solid rgba(118, 143, 223, 0.2);
  }

  body.blog-page .nav-close,
  body.case-detail-page .nav-close {
    background: rgba(10, 19, 48, 0.8);
    border-color: rgba(118, 143, 223, 0.25);
  }

  body.blog-page .nav-close span,
  body.case-detail-page .nav-close span {
    background: #dce8ff;
  }
}

/* ============== DS Apply: Blog article detail pages ============== */
body.article-page {
  background:
    radial-gradient(980px 460px at -8% -14%, rgba(90, 118, 255, 0.2), transparent 66%),
    radial-gradient(900px 460px at 110% -16%, rgba(124, 77, 255, 0.18), transparent 68%),
    linear-gradient(180deg, #050a1b 0%, #060d22 42%, #060a1b 100%);
  color: var(--ds-color-text);
  font-family: var(--ds-font-sans), -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body.article-page .header {
  background: rgba(7, 13, 33, 0.82);
  border-bottom: 1px solid var(--ds-color-border-soft);
}

body.article-page .header.scrolled {
  box-shadow: 0 14px 40px rgba(2, 6, 20, 0.5);
}

body.article-page .brand,
body.article-page .nav a {
  color: var(--ds-color-text);
}

body.article-page .nav a:hover,
body.article-page .nav a[aria-current="page"] {
  background: rgba(79, 107, 255, 0.16);
  color: #fff;
}

body.article-page section {
  padding: var(--ds-section-space-desktop) 0;
}

body.article-page .pricing-hero,
body.article-page .pricing-private {
  background: transparent;
}

body.article-page .pricing-hero .container,
body.article-page .pricing-private .container {
  width: min(960px, calc(100% - 40px));
}

body.article-page .section-head {
  margin-bottom: 40px;
}

body.article-page .section-head h1 {
  font-family: var(--ds-font-heading);
  color: #fff;
  text-wrap: balance;
}

body.article-page .section-desc {
  color: var(--ds-color-text-soft);
}

body.article-page .head-line {
  width: 72px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4f6bff, #7c4dff, #58d7ff);
}

body.article-page .private-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body.article-page .private-item {
  border-radius: var(--ds-radius-xl);
  border: 1px solid var(--ds-color-border);
  background: var(--ds-color-surface);
  box-shadow: var(--ds-shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 22px;
  position: relative;
  transition: transform var(--ds-duration-base) var(--ds-ease-spring), box-shadow var(--ds-duration-base) var(--ds-ease-standard), border-color var(--ds-duration-fast) var(--ds-ease-standard);
}

body.article-page .private-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4f6bff, #58d7ff);
}

body.article-page .private-item:hover {
  transform: translateY(-6px);
  border-color: rgba(137, 161, 255, 0.48);
  box-shadow: var(--ds-shadow-lg), var(--ds-shadow-glow);
}

body.article-page .private-item h4 {
  color: #fff;
  margin-bottom: 8px;
}

body.article-page .private-item p {
  color: var(--ds-color-text-soft);
  line-height: 1.75;
}

body.article-page .footer {
  background: linear-gradient(180deg, #060c1f, #050916);
}

@media (max-width: 959px) {
  body.article-page section {
    padding: var(--ds-section-space-tablet) 0;
  }

  body.article-page .private-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.article-page .nav {
    background: rgba(8, 15, 36, 0.97);
    border-left: 1px solid rgba(118, 143, 223, 0.2);
  }

  body.article-page .nav-close {
    background: rgba(10, 19, 48, 0.8);
    border-color: rgba(118, 143, 223, 0.25);
  }

  body.article-page .nav-close span {
    background: #dce8ff;
  }
}

@media (max-width: 599px) {
  body.article-page section {
    padding: var(--ds-section-space-mobile) 0;
  }

  body.article-page .pricing-hero .container,
  body.article-page .pricing-private .container {
    width: min(960px, calc(100% - 32px));
  }

  body.article-page .section-head {
    margin-bottom: 32px;
  }

  body.article-page .private-item {
    padding: 18px 16px;
  }
}

/* ============== Color Tune v2 (blue + cyan, reduce purple) ============== */
body.homepage-legacy-legacy,
body.pricing-page,
body.cases-page,
body.blog-page,
body.case-detail-page,
body.article-page {
  background:
    radial-gradient(980px 460px at -8% -14%, rgba(76, 125, 255, 0.2), transparent 66%),
    radial-gradient(900px 460px at 110% -16%, rgba(34, 211, 238, 0.16), transparent 68%),
    linear-gradient(180deg, #050816 0%, #071025 42%, #050816 100%);
}

body.homepage-legacy-legacy .head-line,
body.pricing-page .head-line,
body.cases-page .head-line,
body.blog-page .head-line,
body.case-detail-page .head-line,
body.article-page .head-line {
  background: linear-gradient(90deg, #4c7dff, #22d3ee, #7dd3fc);
}

body.homepage-legacy-legacy .btn-primary,
body.pricing-page .btn-primary,
body.cases-page .btn-primary,
body.blog-page .btn-primary,
body.case-detail-page .btn-primary,
body.article-page .btn-primary {
  background: var(--ds-cta);
}

body.homepage-legacy-legacy .btn-primary:hover,
body.pricing-page .btn-primary:hover,
body.cases-page .btn-primary:hover,
body.blog-page .btn-primary:hover,
body.case-detail-page .btn-primary:hover,
body.article-page .btn-primary:hover {
  background: var(--ds-cta-hover);
}

body.homepage-legacy-legacy .comparison-card--primary,
body.homepage-legacy-legacy .demo-card--highlight,
body.pricing-page .pricing-card.highlight,
body.pricing-page .pricing-card--enterprise {
  border-color: rgba(76, 125, 255, 0.58);
  box-shadow: 0 0 0 1px rgba(76, 125, 255, 0.26), var(--ds-shadow-md);
}

body.homepage-legacy-legacy .comparison-card--primary,
body.homepage-legacy-legacy .demo-card--highlight,
body.pricing-page .pricing-card--enterprise {
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(76, 125, 255, 0.24), transparent 66%),
    radial-gradient(380px 220px at -10% 100%, rgba(34, 211, 238, 0.16), transparent 60%),
    rgba(11, 22, 50, 0.9);
}

body.homepage-legacy-legacy .cta,
body.pricing-page .cta,
body.case-detail-page .cta {
  background:
    radial-gradient(900px 320px at 20% 120%, rgba(76, 125, 255, 0.3), transparent 66%),
    linear-gradient(125deg, #081027 0%, #0f214a 56%, #0e3750 100%);
}

body.homepage-legacy-legacy .section-head::before {
  background: rgba(76, 125, 255, 0.16);
  border-color: rgba(125, 167, 255, 0.42);
  color: #c9d8ff;
}

body.homepage-legacy-legacy .stream-dot,
body.homepage-legacy-legacy .comparison-card ul li .icon-check,
body.homepage-legacy-legacy .arch-list .icon-check,
body.homepage-legacy-legacy .check-item .icon-check {
  background: linear-gradient(180deg, #22d3ee, #4c7dff);
}

body.homepage-legacy-legacy .progress-track i {
  background: linear-gradient(90deg, #4c7dff, #22d3ee);
}

body.homepage-legacy-legacy .security-badge,
body.homepage-legacy-legacy .industry-tag,
body.homepage-legacy-legacy .industry-points span,
body.homepage-legacy-legacy .compare-pill,
body.homepage-legacy-legacy .cta-trust span {
  border-color: rgba(108, 144, 226, 0.36);
  color: #c9d8ff;
}

/* SEO topic-link section polish */
#related-topics .private-item h4 a {
  color: #e8efff;
  text-decoration: none;
  transition: color .2s var(--ease);
}

#related-topics .private-item h4 a:hover {
  color: #7dd3fc;
}

/* CTA strip contrast fix on dark themed content pages */
body.pricing-page .section-cta-inner,
body.blog-page .section-cta-inner,
body.case-detail-page .section-cta-inner,
body.article-page .section-cta-inner {
  background: rgba(11, 22, 50, 0.82);
  border-color: var(--ds-color-border);
}

body.pricing-page .section-cta-inner p,
body.blog-page .section-cta-inner p,
body.case-detail-page .section-cta-inner p,
body.article-page .section-cta-inner p {
  color: var(--ds-color-text-soft);
}

/* =====================================================
   Detail Polish Layer (non-structural)
   Focus: typography rhythm, section-head alignment,
   button hierarchy, card weight, responsive density.
===================================================== */
:root {
  --ux-section-y: 84px;
  --ux-section-y-mobile: 56px;
  --ux-head-max: 760px;
  --ux-head-gap: 40px;
  --ux-title-lh: 1.28;
  --ux-text-lh: 1.72;
  --ux-btn-radius: 10px;
  --ux-card-radius: 14px;
  --ux-border-soft: rgba(148, 163, 184, 0.26);
  --ux-shadow-card: 0 8px 24px rgba(15, 23, 42, 0.08);
  --ux-shadow-card-hover: 0 14px 34px rgba(15, 23, 42, 0.12);
}

section {
  padding-block: var(--ux-section-y);
}

.section-head {
  max-width: var(--ux-head-max);
  margin-inline: auto;
  margin-bottom: var(--ux-head-gap);
  text-align: center;
}

.section-head h1,
.section-head h2 {
  line-height: var(--ux-title-lh);
  letter-spacing: -0.012em;
  text-wrap: balance;
  margin-bottom: 10px;
}

.section-head .head-line {
  margin: 14px auto 18px;
}

.section-desc {
  max-width: 68ch;
  margin-inline: auto;
  line-height: var(--ux-text-lh);
}

.section-head--left {
  text-align: left;
  margin-inline: 0;
}

.section-head--left .head-line {
  margin-left: 0;
}

.btn {
  border-radius: var(--ux-btn-radius);
  min-height: 40px;
  font-weight: 600;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.btn-lg {
  min-height: 46px;
  border-radius: calc(var(--ux-btn-radius) + 2px);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover,
  .btn-outline:hover,
  .btn-outline-light:hover {
    transform: translateY(-1px);
  }
}

.pricing-card,
.card,
.private-item,
.demo-card,
.feature-card,
.arch-card,
.scene-card,
.faq-item {
  border-color: var(--ux-border-soft);
  border-radius: var(--ux-card-radius);
  box-shadow: var(--ux-shadow-card);
}

@media (hover: hover) and (pointer: fine) {
  .pricing-card:hover,
  .card:hover,
  .private-item:hover,
  .demo-card:hover,
  .feature-card:hover,
  .arch-card:hover,
  .scene-card:hover,
  .faq-item:hover {
    box-shadow: var(--ux-shadow-card-hover);
  }
}

@media (max-width: 959px) {
  :root {
    --ux-section-y: 68px;
  }

  .section-head {
    margin-bottom: 34px;
  }
}

@media (max-width: 599px) {
  section {
    padding-block: var(--ux-section-y-mobile);
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head h1,
  .section-head h2 {
    line-height: 1.3;
    letter-spacing: -0.008em;
  }

  .section-desc {
    font-size: 15px;
    line-height: 1.66;
  }

  .btn,
  .btn-lg {
    width: 100%;
  }

  .hero-actions,
  .cta-actions,
  .section-cta-actions {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .pricing-card,
  .card,
  .private-item,
  .demo-card,
  .feature-card,
  .arch-card,
  .scene-card,
  .faq-item {
    transition: none !important;
    animation: none !important;
  }
}

/* =====================================================
   Pricing / Homepage Parity Patch (non-structural)
   Focus: nav parity, section-head alignment, visual rhythm.
===================================================== */
body.pricing-page {
  --pricing-primary: #3b82f6;
  --pricing-secondary: #22d3ee;
  --pricing-border: rgba(101, 146, 255, 0.28);
  --pricing-border-strong: rgba(122, 167, 255, 0.48);
  --pricing-text: #f3f7ff;
  --pricing-text-soft: #a9bfde;
  background:
    radial-gradient(920px 460px at -8% -8%, rgba(39, 102, 235, 0.2), transparent 70%),
    radial-gradient(920px 520px at 108% -16%, rgba(13, 148, 216, 0.16), transparent 74%),
    linear-gradient(180deg, #050b1a 0%, #071129 45%, #050a18 100%);
  color: var(--pricing-text);
}

body.pricing-page .header {
  background: rgba(7, 16, 36, 0.8);
  border-bottom: 1px solid var(--pricing-border);
  backdrop-filter: blur(14px) saturate(130%);
}

body.pricing-page .brand,
body.pricing-page .nav a {
  color: var(--pricing-text);
}

body.pricing-page .nav a:hover,
body.pricing-page .nav a[aria-current="page"] {
  color: #fff;
  background: rgba(59, 130, 246, 0.16);
}

body.pricing-page section {
  padding: 88px 0;
}

body.pricing-page .section-head {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 40px;
  padding-inline: clamp(8px, 1.4vw, 14px);
  text-align: center;
}

body.pricing-page .section-head h1,
body.pricing-page .section-head h2 {
  max-width: 16ch;
  margin-inline: auto;
  line-height: 1.28;
  letter-spacing: -0.012em;
}

body.pricing-page .section-desc {
  max-width: 66ch;
  margin-inline: auto;
  line-height: 1.72;
  color: var(--pricing-text-soft);
}

body.pricing-page .pricing-hero .section-head {
  margin-bottom: 26px;
}

body.pricing-page .head-line {
  width: 64px;
  height: 4px;
  margin: 14px auto 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, #3b82f6, #2563eb);
}

body.pricing-page .btn {
  min-height: 48px;
  min-width: 152px;
  border-radius: 12px;
  padding-inline: 24px;
  font-size: 15px;
}

body.pricing-page .btn-lg {
  min-height: 56px;
  min-width: 184px;
  padding-inline: 32px;
  font-size: 16px;
}

body.pricing-page .btn-primary {
  color: #fff;
  border-color: rgba(114, 169, 255, 0.2);
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #0891b2 100%);
  box-shadow: 0 14px 32px rgba(32, 110, 245, 0.36);
}

body.pricing-page .btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 55%, #06b6d4 100%);
}

body.pricing-page .btn-outline {
  color: var(--pricing-text);
  border-color: var(--pricing-border);
  background: rgba(11, 25, 51, 0.62);
}

body.pricing-page .btn-outline:hover {
  color: #fff;
  border-color: var(--pricing-border-strong);
  background: rgba(37, 99, 235, 0.16);
}

body.pricing-page .pricing-card,
body.pricing-page .private-item {
  border: 1px solid var(--pricing-border);
  background: rgba(16, 31, 61, 0.78);
  box-shadow: 0 20px 44px rgba(2, 8, 24, 0.34);
}

body.pricing-page .pricing-card:hover,
body.pricing-page .private-item:hover {
  border-color: rgba(122, 167, 255, 0.48);
  box-shadow: 0 20px 44px rgba(2, 8, 24, 0.42);
}

body.pricing-page .pricing-card.highlight,
body.pricing-page .pricing-card--enterprise {
  border-color: rgba(76, 125, 255, 0.58);
  box-shadow: 0 0 0 1px rgba(76, 125, 255, 0.26), 0 20px 44px rgba(2, 8, 24, 0.42);
}

body.pricing-page .cta {
  background:
    radial-gradient(900px 320px at 20% 120%, rgba(76, 125, 255, 0.3), transparent 66%),
    linear-gradient(125deg, #081027 0%, #0f214a 56%, #0e3750 100%);
}

@media (max-width: 959px) {
  body.pricing-page section {
    padding: 68px 0;
  }

  body.pricing-page .section-head {
    margin-bottom: 34px;
    padding-inline: 0;
  }
}

@media (max-width: 599px) {
  body.pricing-page section {
    padding: 56px 0;
  }

  body.pricing-page .section-head {
    margin-bottom: 28px;
  }

  body.pricing-page .section-head h1,
  body.pricing-page .section-head h2 {
    max-width: 100%;
    line-height: 1.3;
    letter-spacing: -0.008em;
  }

  body.pricing-page .section-desc {
    font-size: 15px;
    line-height: 1.66;
  }
}

/* Pricing detail pass v2: tighten visual parity with homepage */
body.pricing-page .pricing-hero {
  padding-top: 112px;
  padding-bottom: 88px;
  background:
    radial-gradient(760px 300px at 84% -2%, rgba(30, 83, 208, 0.3), transparent 72%),
    radial-gradient(800px 320px at 6% 12%, rgba(13, 148, 216, 0.17), transparent 78%),
    linear-gradient(180deg, #07112a 0%, #091833 44%, #070f24 100%);
}

body.pricing-page .pricing-hero .container {
  max-width: 980px;
}

body.pricing-page .pricing-checks {
  max-width: 860px;
  margin-inline: auto;
  gap: 10px 12px;
}

body.pricing-page .pricing-checks .check-item {
  border: 1px solid var(--pricing-border);
  background: rgba(12, 26, 54, 0.72);
  color: var(--pricing-text-soft);
  border-radius: 999px;
  padding: 8px 14px;
}

body.pricing-page .pricing-checks .icon-check {
  background: linear-gradient(180deg, #22d3ee, #4c7dff);
}

body.pricing-page .pricing-grid {
  gap: 24px;
  align-items: stretch;
}

body.pricing-page .pricing-card {
  padding: 30px 24px;
}

body.pricing-page .pricing-card h3 {
  font-weight: 700;
  line-height: 1.35;
}

body.pricing-page .pricing-features {
  gap: 11px;
}

body.pricing-page .private-grid {
  gap: 18px;
}

body.pricing-page .private-item h4 {
  line-height: 1.4;
}

body.pricing-page .section-cta-inner {
  border-color: rgba(101, 146, 255, 0.28);
  background: linear-gradient(135deg, rgba(18, 40, 82, 0.74), rgba(12, 33, 68, 0.68));
}

body.pricing-page .section-cta-actions .btn {
  min-width: 168px;
}

body.pricing-page .cta-actions {
  gap: 12px;
}

body.pricing-page .btn-outline-light {
  color: var(--pricing-text);
  border-color: var(--pricing-border);
  background: rgba(11, 25, 51, 0.62);
}

body.pricing-page .btn-outline-light:hover {
  color: #fff;
  border-color: var(--pricing-border-strong);
  background: rgba(37, 99, 235, 0.16);
}

body.pricing-page .footer .footer-info [data-footer-contact],
body.pricing-page .footer .footer-info [data-copy-domain] {
  color: #dbeafe;
}

@media (min-width: 960px) {
  body.pricing-page .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  body.pricing-page .pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.pricing-page .private-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 959px) {
  body.pricing-page .pricing-hero {
    padding-top: 88px;
    padding-bottom: 64px;
  }

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

  body.pricing-page .private-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  body.pricing-page .pricing-hero {
    padding-top: 76px;
    padding-bottom: 52px;
  }

  body.pricing-page .pricing-grid,
  body.pricing-page .private-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.pricing-page .pricing-card,
  body.pricing-page .private-item {
    padding: 22px 16px;
  }

  body.pricing-page .pricing-checks .check-item {
    width: 100%;
    justify-content: center;
  }
}

/* Subpage parity patch: cases/blog/article/detail align with homepage system */
body.cases-page,
body.blog-page,
body.case-detail-page,
body.article-page {
  --sub-border: rgba(101, 146, 255, 0.28);
  --sub-border-strong: rgba(122, 167, 255, 0.48);
  --sub-text: #f3f7ff;
  --sub-text-soft: #a9bfde;
  background:
    radial-gradient(920px 460px at -8% -8%, rgba(39, 102, 235, 0.2), transparent 70%),
    radial-gradient(920px 520px at 108% -16%, rgba(13, 148, 216, 0.16), transparent 74%),
    linear-gradient(180deg, #050b1a 0%, #071129 45%, #050a18 100%);
  color: var(--sub-text);
}

body.cases-page .header,
body.blog-page .header,
body.case-detail-page .header,
body.article-page .header {
  background: rgba(7, 16, 36, 0.8);
  border-bottom: 1px solid var(--sub-border);
  backdrop-filter: blur(14px) saturate(130%);
}

body.cases-page .brand,
body.cases-page .nav a,
body.blog-page .brand,
body.blog-page .nav a,
body.case-detail-page .brand,
body.case-detail-page .nav a,
body.article-page .brand,
body.article-page .nav a {
  color: var(--sub-text);
}

body.cases-page .nav a:hover,
body.cases-page .nav a[aria-current="page"],
body.blog-page .nav a:hover,
body.blog-page .nav a[aria-current="page"],
body.case-detail-page .nav a:hover,
body.case-detail-page .nav a[aria-current="page"],
body.article-page .nav a:hover,
body.article-page .nav a[aria-current="page"] {
  color: #fff;
  background: rgba(59, 130, 246, 0.16);
}

body.cases-page section,
body.blog-page section,
body.case-detail-page section,
body.article-page section {
  padding: 88px 0;
}

body.cases-page .section-head,
body.blog-page .section-head,
body.case-detail-page .section-head,
body.article-page .section-head {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 40px;
  text-align: center;
}

body.cases-page .section-head h1,
body.cases-page .section-head h2,
body.blog-page .section-head h1,
body.blog-page .section-head h2,
body.case-detail-page .section-head h1,
body.case-detail-page .section-head h2,
body.article-page .section-head h1,
body.article-page .section-head h2 {
  max-width: 16ch;
  margin-inline: auto;
  line-height: 1.28;
  letter-spacing: -0.012em;
}

body.cases-page .section-desc,
body.blog-page .section-desc,
body.case-detail-page .section-desc,
body.article-page .section-desc,
body.cases-page .price-desc,
body.blog-page .price-desc,
body.case-detail-page .price-desc,
body.article-page .price-desc,
body.cases-page .private-item p,
body.blog-page .private-item p,
body.case-detail-page .private-item p,
body.article-page .private-item p {
  color: var(--sub-text-soft);
  line-height: 1.72;
}

body.cases-page .head-line,
body.blog-page .head-line,
body.case-detail-page .head-line,
body.article-page .head-line {
  width: 64px;
  height: 4px;
  margin: 14px auto 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, #3b82f6, #2563eb);
}

body.cases-page .btn-primary,
body.blog-page .btn-primary,
body.case-detail-page .btn-primary,
body.article-page .btn-primary {
  color: #fff;
  border-color: rgba(114, 169, 255, 0.2);
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #0891b2 100%);
  box-shadow: 0 14px 32px rgba(32, 110, 245, 0.32);
}

body.cases-page .btn-primary:hover,
body.blog-page .btn-primary:hover,
body.case-detail-page .btn-primary:hover,
body.article-page .btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 55%, #06b6d4 100%);
}

body.cases-page .btn-outline,
body.blog-page .btn-outline,
body.case-detail-page .btn-outline,
body.article-page .btn-outline,
body.cases-page .btn-outline-light,
body.blog-page .btn-outline-light,
body.case-detail-page .btn-outline-light,
body.article-page .btn-outline-light {
  color: var(--sub-text);
  border-color: var(--sub-border);
  background: rgba(11, 25, 51, 0.62);
}

body.cases-page .btn-outline:hover,
body.blog-page .btn-outline:hover,
body.case-detail-page .btn-outline:hover,
body.article-page .btn-outline:hover,
body.cases-page .btn-outline-light:hover,
body.blog-page .btn-outline-light:hover,
body.case-detail-page .btn-outline-light:hover,
body.article-page .btn-outline-light:hover {
  color: #fff;
  border-color: var(--sub-border-strong);
  background: rgba(37, 99, 235, 0.16);
}

body.cases-page .pricing-card,
body.cases-page .private-item,
body.blog-page .pricing-card,
body.blog-page .private-item,
body.case-detail-page .pricing-card,
body.case-detail-page .private-item,
body.article-page .pricing-card,
body.article-page .private-item {
  border: 1px solid var(--sub-border);
  background: rgba(16, 31, 61, 0.78);
  box-shadow: 0 20px 44px rgba(2, 8, 24, 0.34);
}

body.cases-page .footer,
body.blog-page .footer,
body.case-detail-page .footer,
body.article-page .footer {
  background: linear-gradient(180deg, #060c1f, #050916);
}

body.cases-page .footer .footer-info [data-footer-contact],
body.cases-page .footer .footer-info [data-copy-domain],
body.blog-page .footer .footer-info [data-footer-contact],
body.blog-page .footer .footer-info [data-copy-domain],
body.case-detail-page .footer .footer-info [data-footer-contact],
body.case-detail-page .footer .footer-info [data-copy-domain],
body.article-page .footer .footer-info [data-footer-contact],
body.article-page .footer .footer-info [data-copy-domain] {
  color: #dbeafe;
}

@media (max-width: 959px) {
  body.cases-page section,
  body.blog-page section,
  body.case-detail-page section,
  body.article-page section {
    padding: 68px 0;
  }
}

@media (max-width: 599px) {
  body.cases-page section,
  body.blog-page section,
  body.case-detail-page section,
  body.article-page section {
    padding: 56px 0;
  }

  body.cases-page .section-head,
  body.blog-page .section-head,
  body.case-detail-page .section-head,
  body.article-page .section-head {
    margin-bottom: 28px;
  }

  body.cases-page .section-head h1,
  body.cases-page .section-head h2,
  body.blog-page .section-head h1,
  body.blog-page .section-head h2,
  body.case-detail-page .section-head h1,
  body.case-detail-page .section-head h2,
  body.article-page .section-head h1,
  body.article-page .section-head h2 {
    max-width: 100%;
    line-height: 1.3;
    letter-spacing: -0.008em;
  }
}

/* =====================================================
   Section Head Alignment Hardening
   Scope: homepage + subpages, non-structural correction.
===================================================== */
body.homepage .section-head,
body.pricing-page .section-head,
body.cases-page .section-head,
body.blog-page .section-head,
body.topics-page .section-head,
body.case-detail-page .section-head,
body.article-page .section-head {
  max-width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(6px, 1vw, 12px);
  padding-right: clamp(6px, 1vw, 12px);
  text-align: center;
}

body.homepage .section-head h1,
body.homepage .section-head h2,
body.pricing-page .section-head h1,
body.pricing-page .section-head h2,
body.cases-page .section-head h1,
body.cases-page .section-head h2,
body.blog-page .section-head h1,
body.blog-page .section-head h2,
body.topics-page .section-head h1,
body.topics-page .section-head h2,
body.case-detail-page .section-head h1,
body.case-detail-page .section-head h2,
body.article-page .section-head h1,
body.article-page .section-head h2 {
  margin-left: auto;
  margin-right: auto;
}

body.homepage .section-head .head-line,
body.pricing-page .section-head .head-line,
body.cases-page .section-head .head-line,
body.blog-page .section-head .head-line,
body.topics-page .section-head .head-line,
body.case-detail-page .section-head .head-line,
body.article-page .section-head .head-line {
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   Mobile Detail Hardening (Phase 3)
   Scope: no structural changes, only responsive quality.
===================================================== */
@media (max-width: 959px) {
  .nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
  }

  body.homepage .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.homepage .hero-right {
    width: 100%;
  }

  body.pricing-page .pricing-card .btn-full,
  body.cases-page .pricing-card .btn-full,
  body.blog-page .pricing-card .btn-full,
  body.topics-page .card .btn {
    min-height: 48px;
  }
}

@media (max-width: 599px) {
  body.homepage .hero {
    padding-top: 88px;
    padding-bottom: 56px;
  }

  body.homepage .hero-left h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.5vw, 38px);
    line-height: 1.18;
  }

  body.homepage .hero-desc {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.72;
  }

  body.homepage .hero-checks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.homepage .hero-actions {
    gap: 10px;
  }

  body.homepage .hero-actions .btn,
  body.pricing-page .cta .btn,
  body.cases-page .btn,
  body.blog-page .btn,
  body.topics-page .btn {
    width: 100%;
    min-height: 50px;
  }

  body.homepage .platform-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.homepage .console-card {
    padding: 14px;
  }

  body.pricing-page .price {
    font-size: 30px;
    line-height: 1.1;
  }

  body.pricing-page .pricing-features li,
  body.cases-page .pricing-features li,
  body.blog-page .pricing-features li {
    line-height: 1.62;
  }

  .floating-btns {
    bottom: max(20px, env(safe-area-inset-bottom));
  }

  .modal {
    padding: 10px;
  }

  .modal-content {
    width: min(100%, 560px);
    margin-top: max(8px, env(safe-area-inset-top));
    max-height: calc(100dvh - max(16px, env(safe-area-inset-top)) - max(16px, env(safe-area-inset-bottom)));
    border-radius: 14px;
  }

  .modal-header {
    padding: 16px 14px;
  }

  .modal-body {
    padding: 16px 14px;
  }

  #modalContainer .contact-row {
    align-items: flex-start;
    gap: 8px;
  }

  #modalContainer .contact-copy-btn,
  #modalContainer #contactCloseBtn {
    min-height: 44px;
  }
}

/* Mobile micro fix: hero account readability and card title rhythm */
@media (max-width: 599px) {
  body.homepage .hero-account {
    font-size: 12px;
    line-height: 1.5;
    flex-wrap: wrap;
    row-gap: 4px;
  }

  body.pricing-page .pricing-card h3,
  body.cases-page .pricing-card h3,
  body.blog-page .pricing-card h3 {
    font-size: 21px;
    line-height: 1.34;
  }
}

/* Header nav action consistency across pages */
body.homepage .header .nav-actions .btn,
body.pricing-page .header .nav-actions .btn,
body.cases-page .header .nav-actions .btn,
body.blog-page .header .nav-actions .btn,
body.case-detail-page .header .nav-actions .btn,
body.article-page .header .nav-actions .btn,
body.topics-page .header .nav-actions .btn {
  min-height: 44px;
  min-width: 150px;
  padding-inline: 21px;
  border-radius: 12px;
}

@media (max-width: 959px) {
  body.homepage .header .nav-actions .btn,
  body.pricing-page .header .nav-actions .btn,
  body.cases-page .header .nav-actions .btn,
  body.blog-page .header .nav-actions .btn,
  body.case-detail-page .header .nav-actions .btn,
  body.article-page .header .nav-actions .btn,
  body.topics-page .header .nav-actions .btn {
    min-width: 0;
    width: 100%;
  }
}

/* Enterprise-grade header/nav/button final polish */
body.homepage .header,
body.pricing-page .header,
body.cases-page .header,
body.blog-page .header,
body.case-detail-page .header,
body.article-page .header,
body.topics-page .header {
  backdrop-filter: saturate(130%) blur(10px);
  -webkit-backdrop-filter: saturate(130%) blur(10px);
}

body.homepage .header .nav a,
body.pricing-page .header .nav a,
body.cases-page .header .nav a,
body.blog-page .header .nav a,
body.case-detail-page .header .nav a,
body.article-page .header .nav a,
body.topics-page .header .nav a {
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 10px;
  letter-spacing: 0.008em;
  font-weight: 600;
}

body.homepage .header .nav a[aria-current="page"],
body.pricing-page .header .nav a[aria-current="page"],
body.cases-page .header .nav a[aria-current="page"],
body.blog-page .header .nav a[aria-current="page"],
body.case-detail-page .header .nav a[aria-current="page"],
body.article-page .header .nav a[aria-current="page"],
body.topics-page .header .nav a[aria-current="page"] {
  box-shadow:
    inset 0 0 0 1px rgba(125, 154, 216, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.05);
}

body.homepage .header .nav-actions .btn,
body.pricing-page .header .nav-actions .btn,
body.cases-page .header .nav-actions .btn,
body.blog-page .header .nav-actions .btn,
body.case-detail-page .header .nav-actions .btn,
body.article-page .header .nav-actions .btn,
body.topics-page .header .nav-actions .btn {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}

body.homepage .header .nav-actions .btn:hover,
body.pricing-page .header .nav-actions .btn:hover,
body.cases-page .header .nav-actions .btn:hover,
body.blog-page .header .nav-actions .btn:hover,
body.case-detail-page .header .nav-actions .btn:hover,
body.article-page .header .nav-actions .btn:hover,
body.topics-page .header .nav-actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
}

body.homepage .header .nav-actions .btn:active,
body.pricing-page .header .nav-actions .btn:active,
body.cases-page .header .nav-actions .btn:active,
body.blog-page .header .nav-actions .btn:active,
body.case-detail-page .header .nav-actions .btn:active,
body.article-page .header .nav-actions .btn:active,
body.topics-page .header .nav-actions .btn:active {
  transform: translateY(0);
}

@media (max-width: 959px) {
  body.homepage .header .nav a,
  body.pricing-page .header .nav a,
  body.cases-page .header .nav a,
  body.blog-page .header .nav a,
  body.case-detail-page .header .nav a,
  body.article-page .header .nav a,
  body.topics-page .header .nav a {
    min-height: 44px;
    border-radius: 12px;
  }
}

/* Homepage hero console simulation */
body.homepage .hero-sim-strip {
  margin: 12px 0 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
}

body.homepage .sim-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 6px;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(132, 154, 198, 0.28);
  background: linear-gradient(180deg, rgba(11, 23, 46, 0.64), rgba(8, 17, 34, 0.58));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 6px 14px rgba(2, 8, 22, 0.2);
  font-size: 12px;
  line-height: 1;
  color: #d6e6ff;
  white-space: nowrap;
}

body.homepage .sim-chip--metric {
  padding-inline: 8px;
}

body.homepage .sim-chip--status {
  padding-inline: 8px;
  font-size: 11px;
  letter-spacing: 0.02em;
}

body.homepage .sim-chip strong {
  display: inline-block;
  min-width: 58px;
  text-align: right;
  color: #f7fbff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  font-weight: 700;
}

body.homepage .sim-chip--status {
  border-color: rgba(110, 199, 150, 0.35);
  color: #d8fbe8;
}

body.homepage .sim-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.62);
  animation: consolePulse 1.8s ease-out infinite;
}

body.homepage .hero-trend {
  margin: 10px 0 12px;
  padding: 11px 12px 10px;
  border-radius: 12px;
  border: 1px solid rgba(132, 154, 198, 0.24);
  background: linear-gradient(180deg, rgba(8, 18, 36, 0.66), rgba(7, 16, 32, 0.58));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.homepage .trend-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  font-size: 12px;
  color: #b7c9e8;
}

body.homepage .trend-head span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

body.homepage .trend-head strong {
  color: #f0f6ff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

body.homepage .trend-chart {
  width: 100%;
  height: 56px;
  display: block;
}

body.homepage .trend-chart polyline {
  fill: none;
  stroke: #67a4ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(103, 164, 255, 0.45));
  transition: stroke .22s ease;
}

body.homepage .trend-foot {
  margin-top: 8px;
  font-size: 11px;
  color: #d8fbe8;
}

body.homepage .hero-metric-value {
  transition: color .28s ease, text-shadow .28s ease, transform .28s ease;
}

body.homepage .hero-metric-value.value-tick {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(124, 168, 255, 0.5);
  transform: translateY(-1px);
}

body.homepage .hero-metric-value.is-alert {
  color: #fecaca;
  text-shadow: 0 0 12px rgba(248, 113, 113, 0.55);
}

body.homepage .hero-stream li {
  justify-content: space-between;
  gap: 12px;
}

body.homepage .stream-text {
  flex: 1 1 auto;
  min-width: 0;
}

body.homepage .stream-time {
  flex: 0 0 auto;
  font-size: 12px;
  color: rgba(186, 205, 237, 0.9);
  font-variant-numeric: tabular-nums;
}

body.homepage .hero-wow-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 14px;
}

body.homepage .hero-wow-strip span {
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid rgba(132, 154, 198, 0.2);
  background: linear-gradient(180deg, rgba(9, 19, 38, 0.52), rgba(8, 17, 33, 0.46));
  color: #bfd0ed;
  font-size: 12px;
  line-height: 1.35;
}

body.homepage .hero-wow-strip strong {
  display: block;
  margin-top: 4px;
  color: #f3f8ff;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}


@keyframes consolePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}


@media (prefers-reduced-motion: reduce) {
  body.homepage .sim-led {
    animation: none;
  }
}

@media (max-width: 599px) {
  body.homepage .hero-sim-strip {
    grid-template-columns: 1fr;
    gap: 6px;
    margin: 8px 0 8px;
  }

  body.homepage .sim-chip {
    min-height: 30px;
    padding: 4px 7px;
    font-size: 11px;
    gap: 5px;
  }

  body.homepage .sim-chip strong {
    min-width: 50px;
    font-size: 12px;
  }

  body.homepage .hero-trend {
    margin: 8px 0 8px;
    padding: 8px 9px 8px;
  }

  body.homepage .trend-head {
    margin-bottom: 6px;
    font-size: 11px;
  }

  body.homepage .trend-chart {
    height: 46px;
  }

  body.homepage .trend-foot {
    margin-top: 6px;
    font-size: 10px;
  }

  body.homepage .hero-stream {
    gap: 6px;
  }

  body.homepage .hero-stream li {
    gap: 8px;
    font-size: 12px;
    line-height: 1.45;
  }

  body.homepage .stream-time {
    font-size: 11px;
  }
}
