/* ==========================================================================
   巅峰科技 / ACME — Luminous Obsidian Architecture & Scroll-Orbital Light (v12)
   - Strict Pure-Chinese (巅峰科技) / Pure-English (ACME) Language Separation
   - Strengthened Machined-Glass Top Specular Catchlight on All Dark Cards
   - Brightened 220x220 Transparent-Alpha 3D Hardware Squircle Icons
   - Borderless 2/3 Right-Bleeding Interactive 3D Dotted Globe (/leadgen)
   - Enterprise AI Solutions Topology & Live Agent Sandbox (/custom)
   ========================================================================== */

@font-face {
  font-family: "InterVariable";
  src: url("/static/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "MiSans";
  src: url("/static/fonts/MiSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "MiSans";
  src: url("/static/fonts/MiSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "MiSans";
  src: url("/static/fonts/MiSans-Semibold.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
}

:root {
  --bg: #030407;
  --surface: rgba(11, 12, 17, 0.78);
  --surface-solid: #0a0b10;
  --surface-code: rgba(10, 11, 16, 0.84);
  --line: rgba(255, 255, 255, 0.10);
  --line-slate: rgba(214, 235, 253, 0.18);

  --ink: #ffffff;
  --ink-2: #e2e6ef;
  --muted: #a6aebc;
  --muted-2: #767f8e;

  --violet: #8b5cf6;
  --violet-soft: #a78bfa;
  --sky: #38bdf8;
  --orange: #ff7a3d;
  --emerald: #34d399;

  --font-serif: "InterVariable", "MiSans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", system-ui, -apple-system, sans-serif;
  --font-sans: "InterVariable", "MiSans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "MiSans", "PingFang SC", "Microsoft YaHei UI", monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max-w: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
}
main, footer { position: relative; z-index: 2; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.72); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 300;
  padding: 10px 18px; border-radius: 999px;
  background: #ffffff; color: #000000; font-weight: 600; font-size: 0.84rem;
}
.skip-link:focus { top: 14px; }

.wrap { width: min(var(--max-w), calc(100% - 48px)); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }

/* ==========================================================================
   SCROLL-ORBITAL SOFT AMBIENT LIGHT LAYER (Orbits page content on scroll!)
   Illuminates the entire site with gentle sculptural violet, sky & warm light
   so content is crystal-clear and alive rather than flat dark!
   ========================================================================== */
#acme-ambient-orbit {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(85% 65% at 50% 0%, rgba(255, 255, 255, 0.045), transparent 72%),
    #030407;
}
.acme-orb {
  position: absolute;
  top: 0; left: 0;
  border-radius: 50%;
  will-change: transform;
  pointer-events: none;
  mix-blend-mode: screen;
}
.acme-orb-1 {
  width: min(860px, 72vw);
  height: min(860px, 72vw);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, rgba(99, 102, 241, 0.09) 38%, transparent 70%);
  filter: blur(56px);
}
.acme-orb-2 {
  width: min(780px, 68vw);
  height: min(780px, 68vw);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(59, 130, 246, 0.07) 40%, transparent 70%);
  filter: blur(60px);
}
.acme-orb-3 {
  width: min(680px, 60vw);
  height: min(680px, 60vw);
  background: radial-gradient(circle, rgba(255, 232, 212, 0.11) 0%, rgba(255, 122, 61, 0.07) 36%, transparent 68%);
  filter: blur(64px);
}

/* Strict Pure-Language Bilingual Separation */
html[data-lang="zh"] .only-en { display: none !important; }
html[data-lang="en"] .only-zh { display: none !important; }

/* ==========================================================================
   HEADER + BILINGUAL 中/EN SWITCHER
   ========================================================================== */
.zd-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(3, 4, 7, 0.56);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease;
}
.zd-header.scrolled {
  background: rgba(3, 4, 7, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.09);
}
.zd-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
}

.zd-brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.zd-brand-logo { width: 34px; height: 34px; border-radius: 0; object-fit: contain; filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.14)); }
.zd-brand-cn { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.02em; color: #ffffff; }
.zd-brand-en { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--muted); }

.zd-nav { display: flex; align-items: center; gap: 22px; }
.zd-nav a { font-size: 0.86rem; font-weight: 450; color: var(--muted); white-space: nowrap; transition: color 180ms ease; padding: 6px 0; }
.zd-nav a:hover, .zd-nav a.active { color: #ffffff; }

.zd-header-actions { display: flex; align-items: center; gap: 14px; }
.zd-ghost-link { background: none; border: 0; padding: 6px 2px; font-size: 0.86rem; font-weight: 450; color: var(--muted); transition: color 180ms ease; }
.zd-ghost-link:hover { color: #ffffff; }

/* Sleek Bilingual 中 / EN Pill Switcher */
.acme-lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.acme-lang-btn {
  padding: 4px 9px;
  border-radius: 7px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease;
}
.acme-lang-btn.active {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.zd-mobile-toggle {
  display: none;
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff; font-size: 1rem;
  align-items: center; justify-content: center;
}

@media (max-width: 1020px) {
  .zd-nav {
    display: none;
    position: absolute; top: 66px; left: 0; right: 0;
    background: rgba(5, 6, 10, 0.97); backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 20px 18px;
  }
  .zd-nav.open { display: flex; }
  .zd-nav a { padding: 11px 10px; border-radius: 8px; }
  .zd-nav a.active { background: rgba(255, 255, 255, 0.07); }
  .zd-mobile-toggle { display: inline-flex; }
  .hide-mobile { display: none !important; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 13px;
  font-size: 0.89rem; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 220ms ease, transform 160ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 35px; padding: 0 15px; border-radius: 10px; font-size: 0.83rem; }

.btn-rs-glass, .btn-glass {
  background: linear-gradient(104deg, rgba(255, 255, 255, 0.08) 5%, rgba(240, 244, 255, 0.16) 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
@media (hover: hover) {
  .btn-rs-glass:hover, .btn-glass:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 32px -12px rgba(255, 255, 255, 0.30);
  }
}

.btn-white {
  background: rgba(255, 255, 255, 0.95); color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.95); font-weight: 600;
}
@media (hover: hover) { .btn-white:hover { background: #ffffff; } }

.btn-rs-text {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 0 8px;
  background: none; border: 0; font-size: 0.89rem; font-weight: 500;
  color: var(--ink-2); opacity: 0.78; transition: opacity 180ms ease, color 180ms ease;
}
.btn-rs-text:hover { opacity: 1; color: #ffffff; }
.zd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* ==========================================================================
   UNIFIED CLEAN SANS TYPOGRAPHY & CRISP BRAND ACCENTS
   ========================================================================== */
.rs-serif-hero {
  margin: 0 0 24px;
  font-family: var(--font-sans);
  font-size: clamp(2.25rem, 3.65vw, 3.85rem);
  font-weight: 560;
  line-height: 1.11;
  letter-spacing: -0.036em;
  color: #ffffff;
}
html[data-lang="zh"] .rs-serif-hero {
  font-size: clamp(2.15rem, 3.45vw, 3.65rem);
  line-height: 1.16;
}
.rs-hero-line {
  display: block;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .rs-hero-line { white-space: normal; }
}
.rs-serif-close {
  margin: 0 auto 30px;
  font-family: var(--font-sans);
  font-size: clamp(2.55rem, 4.9vw, 4.45rem);
  font-weight: 560;
  line-height: 1.10;
  letter-spacing: -0.036em;
  text-align: center;
  color: #ffffff;
}
.rs-h2 {
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-size: clamp(2.05rem, 3.65vw, 3.35rem);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.036em;
  color: #ffffff;
}
.rs-accent-violet { color: #a78bfa; }
.rs-accent-blue { color: #38bdf8; }
.rs-accent-orange { color: #ff7a3d; }
.rs-lead { margin: 0 0 32px; font-size: 1.02rem; line-height: 1.74; color: var(--muted); max-width: 50ch; }
.rs-lead-center { margin: 0 auto 30px; font-size: 1.02rem; line-height: 1.74; color: var(--muted); max-width: 58ch; text-align: center; }

/* ==========================================================================
   SECTION 1: HERO (Transparent Over Orbiting Light!)
   ========================================================================== */
.rs-hero {
  position: relative;
  min-height: calc(100svh - 66px);
  display: flex; align-items: center;
  padding: 56px 0 80px;
  background: transparent;
  overflow: hidden;
}
.rs-hero::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 58% at 86% 6%, rgba(255, 255, 255, 0.085) 0%, transparent 72%),
    linear-gradient(195deg, transparent 62%, rgba(255, 255, 255, 0.045) 69%, transparent 79%);
}
.rs-hero::after {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0;
  width: clamp(92px, 11vw, 172px);
  z-index: 4; pointer-events: none;
  background: linear-gradient(90deg, rgba(3, 4, 7, 0) 0%, rgba(3, 4, 7, 0.52) 56%, rgba(3, 4, 7, 0.96) 100%);
}
.rs-hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(26px, 4vw, 52px); align-items: center;
}

/* Monumental Fixed Right-1/3-Clipped Interactive 5-Service Hero Console */
.acme-hero-stage {
  --hc-accent: #38bdf8;
  --hc-glow: rgba(56, 189, 248, 0.24);
  --hc-tint: rgba(56, 189, 248, 0.13);
  position: relative;
  min-width: 0;
  width: 100%;
  padding: 10px 0;
}
.acme-hero-stage[data-svc-active="relay"] {
  --hc-accent: #a78bfa;
  --hc-glow: rgba(139, 92, 246, 0.28);
  --hc-tint: rgba(139, 92, 246, 0.14);
}
.acme-hero-stage[data-svc-active="recharge"] {
  --hc-accent: #f59e0b;
  --hc-glow: rgba(245, 158, 11, 0.24);
  --hc-tint: rgba(245, 158, 11, 0.13);
}
.acme-hero-stage[data-svc-active="video"] {
  --hc-accent: #ff7a3d;
  --hc-glow: rgba(255, 122, 61, 0.26);
  --hc-tint: rgba(255, 122, 61, 0.14);
}
.acme-hero-stage[data-svc-active="custom"] {
  --hc-accent: #2dd4bf;
  --hc-glow: rgba(45, 212, 191, 0.24);
  --hc-tint: rgba(45, 212, 191, 0.13);
}

/* Pure Subtle Gradient Line Grid Behind Console (Clean, Zero Clutter) */
.acme-hc-grid-bg {
  position: absolute;
  top: -88px; left: -92px;
  width: calc(clamp(860px, 68vw, 1020px) + 180px);
  height: calc(100% + 176px);
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.065) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(62% 58% at 38% 52%, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.45) 54%, transparent 100%);
  mask-image: radial-gradient(62% 58% at 38% 52%, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.45) 54%, transparent 100%);
}
.acme-hc-grid-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(48% 48% at 34% 50%, var(--hc-tint), transparent 76%);
  transition: background 360ms ease;
}

.acme-hero-console {
  position: relative;
  z-index: 2;
  width: clamp(860px, 68vw, 1020px);
  min-height: 492px;
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(16, 18, 28, 0.92), rgba(7, 9, 15, 0.96));
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    0 44px 104px -32px rgba(0, 0, 0, 0.94),
    0 0 84px -28px var(--hc-glow);
  transition: box-shadow 360ms var(--ease);
}
.acme-hero-console:hover {
  border-color: rgba(255, 255, 255, 0.20);
}
.acme-hero-console[data-svc-active="relay"] {
  --hc-accent: #a78bfa;
  --hc-glow: rgba(139, 92, 246, 0.26);
  --hc-tint: rgba(139, 92, 246, 0.14);
}
.acme-hero-console[data-svc-active="recharge"] {
  --hc-accent: #f59e0b;
  --hc-glow: rgba(245, 158, 11, 0.22);
  --hc-tint: rgba(245, 158, 11, 0.13);
}
.acme-hero-console[data-svc-active="video"] {
  --hc-accent: #ff7a3d;
  --hc-glow: rgba(255, 122, 61, 0.25);
  --hc-tint: rgba(255, 122, 61, 0.14);
}
.acme-hero-console[data-svc-active="custom"] {
  --hc-accent: #2dd4bf;
  --hc-glow: rgba(45, 212, 191, 0.22);
  --hc-tint: rgba(45, 212, 191, 0.13);
}
.acme-hc-shimmer {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: linear-gradient(108deg, transparent 36%, rgba(255, 255, 255, 0.085) 48%, rgba(255, 255, 255, 0.02) 54%, transparent 64%);
  transform: translateX(-110%);
  opacity: 0;
}
.acme-hc-shimmer.play {
  animation: acmeHcSweep 720ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes acmeHcSweep {
  0% { transform: translateX(-85%); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateX(95%); opacity: 0; }
}
.acme-hero-console::before {
  content: ""; position: absolute; top: 0; left: 26%; transform: translateX(-50%);
  width: 360px; height: 1.5px; z-index: 6; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(214, 232, 255, 0.55) 24%, rgba(255, 255, 255, 0.96) 50%, rgba(214, 232, 255, 0.55) 76%, transparent 100%);
  box-shadow: 0 0 18px 1px rgba(255, 255, 255, 0.34);
}
.acme-hero-console::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 140px; pointer-events: none; z-index: 0;
  background: radial-gradient(48% 100% at 32% 0%, var(--hc-tint), transparent 82%);
  transition: background 320ms ease;
}

.acme-hc-bar {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 28px;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.acme-hc-bar-left {
  display: inline-flex; align-items: center; gap: 10px;
}
.acme-hc-brand {
  font-size: 0.80rem; font-weight: 500; color: var(--ink-2); letter-spacing: -0.01em;
}
.acme-hc-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.74rem; font-weight: 500; color: #ffffff;
}
.acme-hc-pill i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--hc-accent);
  box-shadow: 0 0 10px var(--hc-accent);
}

.acme-hc-body {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 224px minmax(0, 1fr);
  min-height: 444px;
}
.acme-hc-rail {
  display: flex; flex-direction: column; gap: 5px;
  padding: 14px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.012);
}
.acme-hc-nav {
  position: relative;
  display: flex; align-items: center; gap: 11px;
  width: 100%; padding: 10px 11px; border-radius: 12px;
  border: 1px solid transparent; background: transparent;
  text-align: left; color: var(--muted);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.acme-hc-nav:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-2);
}
.acme-hc-nav.active {
  background: linear-gradient(90deg, var(--hc-tint), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.acme-hc-nav.active::before {
  content: ""; position: absolute; left: -1px; top: 22%; bottom: 22%;
  width: 2.5px; border-radius: 999px; background: var(--hc-accent);
  box-shadow: 0 0 10px var(--hc-accent);
}
.acme-hc-ico {
  width: 32px; height: 32px; border-radius: 9px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--muted);
  transition: all 180ms ease;
}
.acme-hc-ico svg { width: 15px; height: 15px; }
.acme-hc-nav.active .acme-hc-ico {
  background: var(--hc-tint);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--hc-accent);
}
.acme-hc-nav-copy {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.acme-hc-nav-copy strong {
  font-size: 0.85rem; font-weight: 560; color: inherit; line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.acme-hc-nav-copy span {
  font-size: 0.72rem; color: var(--muted-2); line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.acme-hc-nav.active .acme-hc-nav-copy span { color: var(--muted); }
.acme-hc-prog {
  position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px;
  border-radius: 999px; overflow: hidden; opacity: 0; pointer-events: none;
  background: rgba(255, 255, 255, 0.06);
  transition: opacity 180ms ease;
}
.acme-hc-nav.active .acme-hc-prog { opacity: 1; }
.acme-hc-prog i {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, transparent, var(--hc-accent));
  transform-origin: left center;
  transform: scaleX(0);
}
.acme-hc-nav.active.auto-run .acme-hc-prog i {
  animation: acmeRailProg 7s linear forwards;
}
.acme-hero-stage.is-paused .acme-hc-nav.active.auto-run .acme-hc-prog i {
  animation-play-state: paused;
}
@keyframes acmeRailProg {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.acme-hc-main {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: 22px 24px 20px;
  min-width: 0;
}
.acme-hc-head {
  max-width: 472px;
}
.acme-hc-title {
  margin: 0 0 7px;
  font-size: 1.22rem; font-weight: 560; letter-spacing: -0.025em;
  color: #ffffff; line-height: 1.25;
}
.acme-hc-desc {
  margin: 0 0 14px;
  font-size: 0.84rem; line-height: 1.62; color: var(--muted);
}
.acme-hc-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
}
.acme-hc-actions button.zd-link-muted {
  background: transparent;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}

.acme-hc-cards {
  display: grid; grid-template-columns: repeat(3, 224px); gap: 14px;
}
.acme-hc-card {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  padding: 15px 15px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.026);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 220ms var(--ease), border-color 200ms ease, background 220ms ease, box-shadow 220ms ease;
}
.acme-hc-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.045);
}
.acme-hc-card.is-focus {
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(160deg, var(--hc-tint), rgba(255, 255, 255, 0.024) 68%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 32px -16px var(--hc-glow);
}
.acme-hc-card.is-entering {
  animation: acmeCardIn 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.acme-hc-card.is-entering:nth-child(2) { animation-delay: 55ms; }
.acme-hc-card.is-entering:nth-child(3) { animation-delay: 110ms; }
@keyframes acmeCardIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.acme-hc-card-top {
  display: flex; align-items: center; margin-bottom: 10px;
}
.acme-hc-card-badge {
  font-size: 0.69rem; font-weight: 500; padding: 2px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--hc-accent);
  white-space: nowrap;
}
.acme-hc-card h3 {
  margin: 0 0 4px; font-size: 0.90rem; font-weight: 560; color: #ffffff; line-height: 1.3;
}
.acme-hc-card-sub {
  font-size: 0.72rem; color: var(--ink-2); opacity: 0.72; margin-bottom: 6px;
}
.acme-hc-card p {
  margin: 0; font-size: 0.77rem; line-height: 1.56; color: var(--muted);
}

.acme-hc-foot {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.acme-hc-metric {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: 0.74rem; color: var(--muted);
}
.acme-hc-metric strong { color: #ffffff; font-weight: 550; }
.acme-hc-metric i { width: 5px; height: 5px; border-radius: 50%; background: var(--hc-accent); opacity: 0.85; }

@media (max-width: 1060px) {
  .rs-hero { min-height: auto; padding: 44px 0 56px; }
  .rs-hero::after { display: none; }
  .rs-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .acme-hero-stage { padding: 0; }
  .acme-hc-aura-canvas { display: none; }
  .acme-hc-sat { position: static; margin-bottom: 12px; animation: none; width: fit-content; max-width: 100%; }
  .acme-hc-sat--bot { margin-top: 12px; margin-bottom: 0; flex-wrap: wrap; }
  .acme-hero-console { width: 100%; min-height: auto; }
  .acme-hc-body { grid-template-columns: 1fr; min-height: auto; }
  .acme-hc-rail {
    flex-direction: row; overflow-x: auto; gap: 6px;
    border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .acme-hc-nav { width: auto; flex: 0 0 auto; padding: 8px 12px; }
  .acme-hc-nav.active::before { left: 16%; right: 16%; top: auto; bottom: -1px; width: auto; height: 2px; }
  .acme-hc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .acme-hc-foot { flex-wrap: wrap; gap: 12px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .acme-hc-border-beam, .acme-hc-nav.active.auto-run .acme-hc-prog i { animation: none !important; }
}
@media (max-width: 720px) {
  .acme-hc-cards { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SECTION 2: ECOSYSTEM STRIP (Monumental 4x3 Flagship Scale)
   ========================================================================== */
.rs-logo-strip { padding: 64px 0 96px; text-align: center; background: transparent; }
.rs-logo-caption { margin: 0 auto 48px; max-width: 56ch; font-size: 1.06rem; color: var(--ink-2); opacity: 0.84; }
.rs-logo-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px 28px; max-width: 1080px; margin-inline: auto; align-items: center;
}
.rs-logo-item {
  display: inline-flex; align-items: center; justify-content: center; gap: 13px;
  color: var(--ink-2); font-size: 1.16rem; font-weight: 500; letter-spacing: -0.015em; opacity: 0.82;
  transition: opacity 200ms ease, color 200ms ease, transform 200ms var(--ease);
}
.rs-logo-item img { width: 32px; height: 32px; object-fit: contain; filter: grayscale(1) brightness(1.45); transition: filter 200ms ease; }
.rs-logo-item:hover { opacity: 1; color: #ffffff; transform: translateY(-2px); }
.rs-logo-item:hover img { filter: grayscale(0) brightness(1.15); }
@media (max-width: 900px) { .rs-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 18px; } .rs-logo-item { font-size: 1.04rem; } .rs-logo-item img { width: 28px; height: 28px; } }
@media (max-width: 540px) { .rs-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; } .rs-logo-item { font-size: 0.96rem; } .rs-logo-item img { width: 25px; height: 25px; } }

/* ==========================================================================
   SECTIONS & ENLARGED 220x220 TRANSPARENT 3D OBSIDIAN SQUIRCLE ICONS
   ========================================================================== */
.rs-section {
  position: relative;
  padding: clamp(82px, 10vw, 134px) 0;
  background: transparent;
}
.rs-center-head { text-align: center; margin-bottom: 44px; }
.rs-left-head { text-align: left; max-width: 600px; margin-bottom: 48px; }

/* Enlarged 220x220 Transparent 3D Squircle Stage — zero dark box cutout! */
.rs-icon3d-wrap {
  width: 220px;
  height: 220px;
  margin: 0 auto 22px;
  background: transparent;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.55));
}
.rs-icon3d-wrap canvas {
  width: 220px;
  height: 220px;
  display: block;
  background: transparent;
}
.rs-icon3d-wrap--sub {
  width: 210px;
  height: 210px;
  margin: 0;
}
.rs-icon3d-wrap--sub canvas {
  width: 210px;
  height: 210px;
}
@media (max-width: 640px) {
  .rs-icon3d-wrap, .rs-icon3d-wrap canvas,
  .rs-icon3d-wrap--sub, .rs-icon3d-wrap--sub canvas { width: 176px; height: 176px; }
}

/* ==========================================================================
   SECTION 3: 10-SDK ROW + LINE-NUMBERED TABBED CODE
   ========================================================================== */
.rs-sdk-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 auto 30px; max-width: 980px; }
.rs-sdk-tile {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: none; border: 0; padding: 0; width: 74px;
  color: var(--muted); font-size: 0.75rem; font-weight: 500; transition: color 180ms ease;
}
.rs-sdk-box {
  width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center;
  background: rgba(12, 14, 20, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--ink-2);
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 200ms ease, transform 180ms var(--ease);
}
.rs-sdk-box img { width: 22px; height: 22px; opacity: 0.84; transition: opacity 180ms ease; }
.rs-sdk-tile:hover .rs-sdk-box { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.08); color: #ffffff; transform: translateY(-2px); }
.rs-sdk-tile:hover, .rs-sdk-tile.active { color: #ffffff; }
.rs-sdk-tile.active .rs-sdk-box {
  background: radial-gradient(75% 75% at 50% 100%, rgba(139, 92, 246, 0.24), rgba(255, 255, 255, 0.06));
  border-color: rgba(167, 139, 250, 0.56);
  color: #e9d5ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 28px -12px rgba(139, 92, 246, 0.62);
}
.rs-sdk-tile.active .rs-sdk-box img { opacity: 1; }

.rs-code-window {
  position: relative; max-width: 960px; margin: 0 auto; border-radius: 18px;
  background: var(--surface-code); backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14); overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 32px 72px -32px rgba(0, 0, 0, 0.85);
}
.rs-code-window::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(440px, 68%); height: 1.5px; z-index: 6; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(214, 232, 255, 0.55) 24%, rgba(255, 255, 255, 0.96) 50%, rgba(214, 232, 255, 0.55) 76%, transparent 100%);
  box-shadow: 0 0 18px 1px rgba(255, 255, 255, 0.36);
}
.rs-code-window::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 96px; pointer-events: none; z-index: 1;
  background: radial-gradient(52% 100% at 50% 0%, rgba(255, 255, 255, 0.14), rgba(167, 139, 250, 0.06) 46%, transparent 100%);
}
.rs-code-tabs-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02); overflow-x: auto;
}
.rs-code-tabs { display: flex; align-items: center; gap: 4px; }
.rs-code-tab {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 9px;
  border: 1px solid transparent; background: transparent; color: var(--muted);
  font-size: 0.79rem; font-weight: 500; white-space: nowrap; transition: all 180ms ease;
}
.rs-code-tab:hover { color: #ffffff; }
.rs-code-tab.active { color: #ffffff; background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.14); }
.rs-code-tab i { width: 6px; height: 6px; border-radius: 50%; background: var(--violet-soft); opacity: 0.45; }
.rs-code-tab.active i { opacity: 1; }

.rs-icon-copy {
  width: 34px; height: 34px; border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04);
  color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all 180ms ease;
}
.rs-icon-copy:hover { color: #ffffff; border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.09); }
.rs-icon-copy.copied { color: var(--emerald); border-color: rgba(52, 211, 153, 0.44); }

.rs-code-body {
  display: grid; grid-template-columns: 46px minmax(0, 1fr);
  padding: 20px 22px 22px 0; font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.82; overflow-x: auto;
}
.rs-code-nums { text-align: right; padding-right: 16px; color: rgba(255, 255, 255, 0.28); user-select: none; white-space: pre; }
.rs-code-pre { margin: 0; color: #eef1f7; white-space: pre; }
.rs-code-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 20px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02); font-size: 0.84rem; color: var(--muted);
}
.rs-code-foot code { font-family: var(--font-mono); font-size: 0.81rem; color: #ffffff; }

.tok-v { color: #d8b4fe; }
.tok-b { color: #7dd3fc; }
.tok-o { color: #fdba74; }
.tok-g { color: #6ee7b7; }
.tok-m { color: #7a8394; }

/* ==========================================================================
   SECTION 4: TRUE FADING-BORDER 2-COLUMN BENTO CARDS (Translucent Over Light)
   ========================================================================== */
.rs-bento-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.rs-bento-card {
  position: relative; border-radius: 24px;
  background: linear-gradient(180deg, rgba(14, 16, 24, 0.72) 0%, rgba(6, 7, 12, 0.42) 65%, rgba(3, 4, 7, 0.0) 100%);
  backdrop-filter: blur(14px);
  padding: 36px 32px 18px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  isolation: isolate;
}
.rs-bento-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 24px; padding: 1px;
  background: linear-gradient(180deg, rgba(232, 244, 255, 0.42) 0%, rgba(214, 235, 253, 0.15) 42%, rgba(214, 235, 253, 0) 78%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 1;
}
.rs-bento-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 180px; border-radius: 24px 24px 0 0;
  background:
    linear-gradient(90deg, transparent 14%, rgba(214, 232, 255, 0.58) 32%, rgba(255, 255, 255, 0.96) 50%, rgba(214, 232, 255, 0.58) 68%, transparent 86%) top center / 100% 1.5px no-repeat,
    radial-gradient(56% 72px at 50% 0%, rgba(255, 255, 255, 0.16), rgba(167, 139, 250, 0.08) 46%, transparent 100%);
  pointer-events: none; z-index: 2;
}
.rs-bento-visual { position: relative; z-index: 2; min-height: 240px; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-top: 8px; }

.rs-cmd-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  max-width: 410px; width: 100%; margin: 0 auto; padding: 7px 8px 7px 10px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 40px -20px rgba(0, 0, 0, 0.85);
}
.rs-cmd-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rs-badge-green {
  font-size: 0.72rem; font-weight: 500; padding: 4px 9px; border-radius: 7px;
  color: #6ee7b7; background: rgba(16, 185, 129, 0.18); border: 1px solid rgba(52, 211, 153, 0.28); white-space: nowrap;
}
.rs-cmd-select { background: transparent; border: 0; color: #f4f6fb; font-family: var(--font-mono); font-size: 0.80rem; outline: none; cursor: pointer; }
.rs-cmd-select option { background: #0c0e14; color: #ffffff; }
.rs-cmd-run {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.08); color: #ffffff;
  font-size: 0.78rem; font-weight: 500; white-space: nowrap; transition: background-color 180ms ease, color 180ms ease;
}
.rs-cmd-run:hover { background: rgba(255, 255, 255, 0.94); color: #000000; }

.rs-http-stream {
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--font-mono); font-size: 0.79rem; line-height: 1.5; color: #dde2ec; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 22%, rgba(0, 0, 0, 0.70) 58%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 22%, rgba(0, 0, 0, 0.70) 58%, transparent 100%);
}
.rs-http-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-http-line em { font-style: normal; color: #9ea6b5; }

.rs-timeline {
  position: relative; display: flex; flex-direction: column; gap: 24px; padding: 4px 6px;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
}
.rs-timeline::before {
  content: ""; position: absolute; left: 23px; top: 28px; bottom: 0; width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 100%);
}
.rs-tl-item { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; align-items: start; }
.rs-tl-node {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: #0e1018; border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--violet-soft); box-shadow: 0 0 22px -6px rgba(139, 92, 246, 0.58); z-index: 2;
}
.rs-tl-node--green { color: var(--emerald); box-shadow: 0 0 22px -6px rgba(52, 211, 153, 0.52); }
.rs-tl-head { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; }
.rs-tl-badge { font-size: 0.72rem; font-weight: 500; padding: 3px 9px; border-radius: 6px; color: #d8b4fe; background: rgba(139, 92, 246, 0.22); }
.rs-tl-badge--green { color: #6ee7b7; background: rgba(16, 185, 129, 0.19); }
.rs-tl-time { font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); }
.rs-tl-sentence { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 0.81rem; color: var(--muted); margin-bottom: 6px; }
.rs-tl-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 7px;
  background: rgba(255, 255, 255, 0.075); border: 1px solid rgba(255, 255, 255, 0.11);
  color: #f1f5f9; font-family: var(--font-mono); font-size: 0.75rem;
}
.rs-tl-chip img { width: 13px; height: 13px; }

.rs-bento-copy { position: relative; z-index: 2; padding-top: 4px; }
.rs-bento-ico { color: #ffffff; margin-bottom: 14px; opacity: 0.90; }
.rs-bento-copy h3 { margin: 0 0 8px; font-size: 1.24rem; font-weight: 500; letter-spacing: -0.025em; color: #ffffff; }
.rs-bento-copy p { margin: 0 0 18px; font-size: 0.92rem; line-height: 1.70; color: var(--muted); max-width: 44ch; }
.rs-bento-links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.zd-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 0.89rem; font-weight: 500; color: #ffffff; }
.zd-link-arrow svg { transition: transform 180ms var(--ease); }
.zd-link-arrow:hover svg { transform: translateX(4px); }
.zd-link-muted { font-size: 0.85rem; color: var(--muted); transition: color 180ms ease; }
.zd-link-muted:hover { color: #ffffff; }
@media (max-width: 860px) { .rs-bento-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   SECTION 5: DARK SPLIT IDE + LIVE PREVIEW / 1-CLICK REAL UI TOGGLE
   ========================================================================== */
.rs-ide-window, .rs-browser-frame {
  position: relative; border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(9, 10, 15, 0.84); backdrop-filter: blur(18px);
  overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 40px 90px -34px rgba(0, 0, 0, 0.92);
}
.rs-ide-window::before, .rs-browser-frame::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(460px, 68%); height: 1.5px; z-index: 6; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(214, 232, 255, 0.56) 24%, rgba(255, 255, 255, 0.96) 50%, rgba(214, 232, 255, 0.56) 76%, transparent 100%);
  box-shadow: 0 0 18px 1px rgba(255, 255, 255, 0.36);
}
.rs-ide-window::after, .rs-browser-frame::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 92px; z-index: 1; pointer-events: none;
  background: radial-gradient(50% 100% at 50% 0%, rgba(255, 255, 255, 0.13), rgba(56, 189, 248, 0.06) 46%, transparent 100%);
}
.rs-ide-chrome, .rs-browser-chrome {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.rs-code-meta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted); }
.rs-code-dot-group { display: inline-flex; gap: 6px; }
.rs-code-dot-group i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); display: block; }
.rs-mac-dots { display: inline-flex; align-items: center; gap: 7px; }
.rs-mac-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; opacity: 0.85; }
.rs-mac-dots i:nth-child(1) { background: #ff5f56; }
.rs-mac-dots i:nth-child(2) { background: #ffbd2e; }
.rs-mac-dots i:nth-child(3) { background: #27c93f; }

.rs-ide-mode-group { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.10); }
.rs-ide-mode-btn { padding: 5px 12px; border-radius: 7px; border: 0; background: transparent; color: var(--muted); font-size: 0.78rem; font-weight: 500; transition: all 180ms ease; }
.rs-ide-mode-btn.active { background: rgba(255, 255, 255, 0.14); color: #ffffff; }

.rs-ide-split { display: grid; grid-template-columns: 215px minmax(0, 1.02fr) minmax(0, 0.98fr); min-height: 460px; }
.rs-ide-split.hidden { display: none; }
.rs-ide-files { border-right: 1px solid rgba(255, 255, 255, 0.08); padding: 16px 10px; display: flex; flex-direction: column; gap: 4px; background: rgba(5, 6, 10, 0.7); }
.rs-file-btn {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; padding: 8px 10px;
  border-radius: 8px; border: 0; background: transparent; color: var(--muted); font-family: var(--font-mono); font-size: 0.76rem; white-space: nowrap;
  transition: all 160ms ease;
}
.rs-file-btn span.ext { font-size: 0.64rem; font-weight: 700; padding: 1px 4px; border-radius: 4px; background: rgba(56, 189, 248, 0.16); color: #7dd3fc; }
.rs-file-btn:hover { color: #ffffff; background: rgba(255, 255, 255, 0.04); }
.rs-file-btn.active { color: #7dd3fc; background: rgba(56, 189, 248, 0.11); }

.rs-ide-code-pane {
  border-right: 1px solid rgba(255, 255, 255, 0.08); padding: 18px 16px 18px 0; background: rgba(4, 5, 9, 0.75);
  overflow-x: auto; display: grid; grid-template-columns: 40px minmax(0, 1fr); font-family: var(--font-mono); font-size: 0.79rem; line-height: 1.78;
}
.rs-ide-preview-pane {
  position: relative; padding: 36px 32px;
  background: radial-gradient(60% 45% at 50% 0%, rgba(56, 189, 248, 0.18), transparent 72%), rgba(5, 6, 10, 0.65);
  display: flex; flex-direction: column; justify-content: center;
}
.rs-prev-orb {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 22px;
  background: radial-gradient(circle at 38% 36%, #e0f2fe 0%, #38bdf8 34%, #6366f1 72%, #1e1b4b 100%);
  box-shadow: 0 0 40px -4px rgba(56, 189, 248, 0.62); position: relative;
}
.rs-prev-orb::after { content: ""; position: absolute; inset: 18px; border-radius: 50%; background: rgba(255, 255, 255, 0.88); }
.rs-prev-card-title { margin: 0 0 18px; text-align: center; font-size: 1.32rem; font-weight: 500; letter-spacing: -0.025em; color: #ffffff; }
.rs-prev-body { font-size: 0.88rem; line-height: 1.74; color: var(--ink-2); margin: 0 0 14px; }
.rs-prev-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }
.rs-prev-meta span { font-family: var(--font-mono); font-size: 0.72rem; padding: 4px 9px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.11); color: #e2e8f0; }
.rs-prev-cta { display: inline-flex; align-items: center; justify-content: center; margin: 4px auto 0; padding: 9px 20px; border-radius: 9px; background: #0ea5e9; color: #ffffff; font-size: 0.84rem; font-weight: 600; }

.rs-ide-real { display: none; }
.rs-ide-real.active { display: block; }
.rs-ide-real-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: rgba(8, 9, 14, 0.88); }
.rs-browser-viewport { position: relative; aspect-ratio: 1280 / 600; background: #090a0f; overflow: hidden; }
.rs-browser-viewport img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity 360ms var(--ease); }
.rs-browser-viewport img.active { opacity: 1; z-index: 2; }

@media (max-width: 960px) {
  .rs-ide-split { grid-template-columns: 1fr; }
  .rs-ide-files { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .rs-file-btn { width: auto; }
  .rs-ide-code-pane { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
}

.zd-tray { position: relative; display: inline-flex; align-items: center; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.10); }
.zd-tray-slider { position: absolute; top: 3px; bottom: 3px; left: 0; border-radius: 7px; background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.16); transition: transform 300ms var(--ease), width 300ms var(--ease); }
.zd-tray-btn { position: relative; z-index: 2; background: none; border: 0; padding: 5px 12px; font-size: 0.78rem; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color 180ms ease; }
.zd-tray-btn.active { color: #ffffff; }

/* ==========================================================================
   SECTION 6: NEXT-GEN 3-TIER SPRING-PHYSICS SPATIAL TOPOLOGY (.acme-topo)
   Zero AI stacked list cards — open architectural blueprint canvas + physics!
   ========================================================================== */
.acme-topo-wrap {
  position: relative;
  border-radius: 24px;
  background:
    radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(180deg, rgba(13, 15, 23, 0.78) 0%, rgba(6, 7, 12, 0.56) 100%);
  backdrop-filter: blur(18px);
  padding: clamp(28px, 3.6vw, 44px) clamp(22px, 3vw, 40px) 22px;
  overflow: hidden;
  isolation: isolate;
}
.acme-topo-wrap::before {
  content: ""; position: absolute; inset: 0; border-radius: 24px; padding: 1px;
  background: linear-gradient(180deg, rgba(232, 244, 255, 0.42) 0%, rgba(214, 235, 253, 0.14) 55%, rgba(214, 235, 253, 0.03) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 3;
}
.acme-topo-wrap::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 160px; pointer-events: none; z-index: 2;
  background:
    linear-gradient(90deg, transparent 16%, rgba(214, 232, 255, 0.56) 34%, rgba(255, 255, 255, 0.96) 50%, rgba(214, 232, 255, 0.56) 66%, transparent 84%) top center / 100% 1.5px no-repeat,
    radial-gradient(52% 84px at 50% 0%, rgba(255, 255, 255, 0.16), rgba(167, 139, 250, 0.08) 46%, transparent 100%);
}

.acme-topo-stage {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(175px, 210px) minmax(190px, 230px) minmax(210px, 255px);
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 8px 26px;
}
.acme-topo-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}

.acme-topo-col {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 18px;
}
.acme-topo-col--in { gap: 46px; }
.acme-topo-col--center { align-items: center; }

/* Sleek Compact Figma/Linear Glass Node Chips with Port Sockets */
.acme-node {
  position: relative;
  display: flex; align-items: center; gap: 11px;
  padding: 12px 15px;
  border-radius: 14px;
  background: rgba(14, 16, 24, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 34px -18px rgba(0, 0, 0, 0.9);
  cursor: grab; user-select: none; touch-action: none;
  transition: border-color 200ms ease, background-color 200ms ease, box-shadow 220ms ease;
}
.acme-node:active, .acme-node.dragging { cursor: grabbing; border-color: rgba(167, 139, 250, 0.65); }
.acme-node:hover, .acme-node.active {
  border-color: rgba(56, 189, 248, 0.56);
  background: rgba(20, 25, 38, 0.90);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 28px -8px rgba(56, 189, 248, 0.36);
}
.acme-node-ico {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.07); color: #ffffff; flex-shrink: 0;
}
.acme-node-ico img { width: 16px; height: 16px; }
.acme-node strong { display: block; font-size: 0.84rem; font-weight: 500; color: #ffffff; line-height: 1.3; }
.acme-node span { display: block; font-family: var(--font-mono); font-size: 0.67rem; color: var(--muted); letter-spacing: 0.04em; }

/* Precision Port Socket Dots on Node Edges */
.acme-port {
  position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: #1a1f2e; border: 1.5px solid rgba(255, 255, 255, 0.42);
  top: 50%; transform: translateY(-50%);
}
.acme-port--r { right: -4px; }
.acme-port--l { left: -4px; }
.acme-node.active .acme-port { background: #38bdf8; border-color: #ffffff; box-shadow: 0 0 10px #38bdf8; }

/* Center Floating ACME Core Sculptural Hub */
.acme-core-hub {
  position: relative;
  width: 196px;
  padding: 20px 18px;
  border-radius: 20px;
  text-align: center;
  background:
    radial-gradient(80% 75% at 50% 0%, rgba(139, 92, 246, 0.24), transparent 72%),
    rgba(13, 15, 24, 0.92);
  border: 1px solid rgba(167, 139, 250, 0.40);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 46px -12px rgba(139, 92, 246, 0.48),
    0 24px 50px -20px rgba(0, 0, 0, 0.95);
  cursor: grab; user-select: none; touch-action: none;
}
.acme-core-hub:active { cursor: grabbing; }
.acme-core-orb {
  width: 48px; height: 48px; margin: 0 auto 12px;
  display: grid; place-items: center;
  background: transparent;
  border: 0;
}
.acme-core-orb img { width: 44px; height: 44px; border-radius: 0; object-fit: contain; filter: drop-shadow(0 0 18px rgba(167, 139, 250, 0.42)); }
.acme-core-hub strong { display: block; font-size: 0.94rem; font-weight: 600; color: #ffffff; letter-spacing: -0.01em; }
.acme-core-hub span { display: block; margin-top: 3px; font-family: var(--font-mono); font-size: 0.67rem; color: #c4b5fd; letter-spacing: 0.08em; }
.acme-core-live {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(52, 211, 153, 0.13); border: 1px solid rgba(52, 211, 153, 0.28);
  font-family: var(--font-mono); font-size: 0.65rem; color: #6ee7b7;
}
.acme-core-live i { width: 5px; height: 5px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }

.acme-topo-bar {
  position: relative; z-index: 2;
  margin-top: 10px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 0.83rem; color: var(--ink-2);
}
.acme-topo-bar code {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em;
}

@media (max-width: 820px) {
  .acme-topo-stage { grid-template-columns: 1fr; gap: 28px; }
  .acme-topo-col--in { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .acme-port { display: none; }
}

/* ==========================================================================
   SECTION 7: TOP-LIT 300px SPOTLIGHT + 3x2 ENGINEERING PRINCIPLES GRID
   ========================================================================== */
.rs-spotlight-section {
  position: relative; padding: clamp(96px, 11.5vw, 144px) 0;
  background: transparent; overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.rs-spotlight-section::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(460px, 72%); height: 1.5px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(214, 232, 255, 0.62) 25%, rgba(255, 255, 255, 0.96) 50%, rgba(214, 232, 255, 0.62) 75%, transparent);
  box-shadow: 0 0 22px 1px rgba(255, 255, 255, 0.34);
}
.rs-spotlight-section::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(1040px, 100%); height: 380px; pointer-events: none; z-index: 1;
  background: radial-gradient(52% 100% at 50% 0%, rgba(255, 255, 255, 0.14), rgba(167, 139, 250, 0.05) 45%, transparent 74%);
}
.zd-mag-host { position: relative; overflow: hidden; }
.zd-mag-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; opacity: 0.45; }
.zd-mag-content { position: relative; z-index: 3; }

.rs-grid-3x2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 46px 38px; }
.rs-grid-item { display: flex; flex-direction: column; gap: 10px; }
.rs-grid-item svg { width: 20px; height: 20px; color: #ffffff; opacity: 0.90; margin-bottom: 4px; }
.rs-grid-item h3 { margin: 0; font-size: 1.04rem; font-weight: 500; letter-spacing: -0.02em; color: #ffffff; }
.rs-grid-item p { margin: 0; font-size: 0.92rem; line-height: 1.70; color: var(--muted); }
@media (max-width: 900px) { .rs-grid-3x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rs-grid-3x2 { grid-template-columns: 1fr; gap: 32px; } }

/* ==========================================================================
   SECTION 8: CLOSING CTA + TALL HORIZON-OCCLUDED ACME WATERMARK
   ========================================================================== */
.rs-closing { position: relative; padding: clamp(104px, 13vw, 164px) 0 0; background: transparent; text-align: center; overflow: hidden; }
.rs-closing-cta { position: relative; z-index: 3; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; }
.rs-watermark-stage {
  position: relative;
  margin-top: clamp(56px, 7vw, 96px);
  padding: 20px 16px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
}
.rs-watermark-word {
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(5.2rem, 19.2vw, 19rem);
  letter-spacing: 0.03em;
  line-height: 1.02;
  white-space: nowrap;
  transform: translateY(25%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.09) 62%, rgba(255, 255, 255, 0.02) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-lang="en"] .rs-watermark-word {
  font-size: clamp(4.8rem, 15.6vw, 16.2rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.rs-watermark-horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  z-index: 2;
  background: linear-gradient(180deg, rgba(3, 4, 7, 0) 0%, rgba(3, 4, 7, 0.56) 65%, rgba(3, 4, 7, 0.96) 100%);
}
.rs-watermark-horizon::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 84%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
}

/* Crisp Legibility for Dark-Stroke Brand SVGs */
img[src*="openai.svg"],
img[src*="cursor.svg"],
img[src*="grok.svg"],
img[src*="midjourney.svg"],
img[src*="langchain.svg"] { filter: invert(1) brightness(1.18) !important; }

/* ==========================================================================
   SUBPAGE SHARED COMPONENTS
   ========================================================================== */
.zd-sub-hero {
  position: relative; padding: clamp(68px, 8.5vw, 112px) 0 clamp(50px, 6vw, 76px);
  background: transparent; border-bottom: 1px solid rgba(255, 255, 255, 0.08); overflow: hidden;
}
.zd-sub-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 44px; align-items: center; }
@media (max-width: 820px) { .zd-sub-hero-grid { grid-template-columns: 1fr; gap: 20px; } }
.zd-placard { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-soft); margin-bottom: 14px; }

/* Leadgen 5-Step Chapters + Borderless Giant 2/3 Right-Bleeding Interactive 3D Globe */
.acme-globe-section {
  position: relative;
  min-height: 790px;
  padding: clamp(92px, 11vw, 138px) 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.acme-globe-section::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(460px, 72%); height: 1.5px; z-index: 4; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(214, 232, 255, 0.62) 25%, rgba(255, 255, 255, 0.96) 50%, rgba(214, 232, 255, 0.62) 75%, transparent);
  box-shadow: 0 0 22px 1px rgba(255, 255, 255, 0.34);
}
.acme-globe-bleed {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
  overflow: hidden;
}
.acme-globe-inner {
  position: relative;
  z-index: 3;
  pointer-events: none;
}
.acme-globe-left {
  max-width: 515px;
  pointer-events: auto;
}
.zd-chapter-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.zd-chapter-item { border-bottom: 1px solid var(--line); }
.zd-chapter-btn { width: 100%; background: none; border: 0; padding: 20px 0; text-align: left; }
.zd-chapter-row { display: flex; align-items: baseline; gap: 14px; }
.zd-chapter-num { font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted-2); }
.zd-chapter-item.active .zd-chapter-num { color: var(--violet-soft); }
.zd-chapter-title { font-size: 1.05rem; font-weight: 500; color: var(--muted); transition: color 180ms ease; }
.zd-chapter-item.active .zd-chapter-title { color: #ffffff; }
.zd-chapter-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--ease); }
.zd-chapter-item.active .zd-chapter-body { grid-template-rows: 1fr; }
.zd-chapter-body-in { overflow: hidden; }
.zd-chapter-body-in p { margin: 0 0 18px 34px; font-size: 0.93rem; line-height: 1.72; color: var(--muted); }
.acme-globe-hint {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px; font-size: 0.80rem; color: var(--muted);
}
.acme-globe-hint i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--violet-soft);
  box-shadow: 0 0 10px var(--violet-soft);
}
@media (max-width: 880px) {
  .acme-globe-section { min-height: auto; padding-bottom: 0; }
  .acme-globe-left { max-width: none; padding-bottom: 24px; }
  .acme-globe-bleed { position: relative; height: 420px; inset: auto; width: 100%; }
}

/* AI Relay Subpage */
.zd-endpoint-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.zd-cmd-chip { display: inline-flex; align-items: center; gap: 12px; padding: 5px 6px 5px 16px; border-radius: 13px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-slate); }
.zd-cmd-chip code { font-family: var(--font-mono); font-size: 0.84rem; color: #ffffff; }
.zd-router-stage {
  border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(8, 9, 14, 0.84); backdrop-filter: blur(18px);
  overflow: hidden; position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 32px 72px -32px rgba(0, 0, 0, 0.86);
}
.zd-router-stage::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(440px, 68%); height: 1.5px; z-index: 6; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(214, 232, 255, 0.56) 24%, rgba(255, 255, 255, 0.96) 50%, rgba(214, 232, 255, 0.56) 76%, transparent);
  box-shadow: 0 0 18px 1px rgba(255, 255, 255, 0.34);
}
.zd-router-stage::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 86px; z-index: 1; pointer-events: none;
  background: radial-gradient(50% 100% at 50% 0%, rgba(255, 255, 255, 0.13), rgba(167, 139, 250, 0.06) 46%, transparent 100%);
}
.zd-router-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.zd-router-body { display: grid; grid-template-columns: minmax(0, 1.12fr) 96px minmax(0, 0.88fr); align-items: stretch; }
.zd-router-code-pane { padding: 24px; background: rgba(4, 5, 9, 0.75); border-right: 1px solid var(--line); }
.zd-router-code { margin: 0; font-family: var(--font-mono); font-size: 0.84rem; line-height: 1.82; color: #eef1f7; overflow-x: auto; }
.zd-router-elbows { display: grid; place-items: center; }
.zd-router-elbows svg { width: 100%; height: 224px; overflow: visible; }
.zd-elbow-base { fill: none; stroke: rgba(255, 255, 255, 0.13); stroke-width: 1.3; }
.zd-elbow-active { fill: none; stroke: url(#routerGrad); stroke-width: 2.2; stroke-dasharray: 220; stroke-dashoffset: 220; opacity: 0; transition: stroke-dashoffset 460ms var(--ease), opacity 220ms ease; }
.zd-elbow-active.on { stroke-dashoffset: 0; opacity: 1; }
.zd-elbow-dot { fill: var(--sky); opacity: 0; transition: opacity 220ms ease; }
.zd-elbow-dot.on { opacity: 1; }
.zd-router-models { padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.zd-model-list { display: flex; flex-direction: column; gap: 8px; }
.zd-model-opt { text-align: left; padding: 11px 14px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, 0.10); background: rgba(255, 255, 255, 0.03); transition: all 180ms ease; }
.zd-model-opt strong { display: block; font-family: var(--font-mono); font-size: 0.84rem; color: #ffffff; }
.zd-model-opt span { display: block; font-size: 0.75rem; color: var(--muted); }
.zd-model-opt.active { border-color: rgba(167, 139, 250, 0.50); background: rgba(139, 92, 246, 0.13); }
.zd-router-resp { padding: 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.10); background: rgba(4, 5, 9, 0.78); }
.zd-resp-meta { display: flex; justify-content: space-between; gap: 8px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--emerald); margin-bottom: 6px; }
.zd-resp-text { font-size: 0.84rem; line-height: 1.62; color: var(--ink-2); min-height: 2.8em; }
@media (max-width: 920px) { .zd-router-body { grid-template-columns: 1fr; } .zd-router-code-pane { border-right: 0; border-bottom: 1px solid var(--line); } .zd-router-elbows { display: none; } }

.zd-eco-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line-slate); border-radius: 18px; overflow: hidden; }
.zd-eco-cell { display: flex; align-items: center; gap: 13px; padding: 19px 18px; background: rgba(8, 9, 14, 0.82); transition: background-color 180ms ease; }
.zd-eco-cell:hover { background: rgba(22, 24, 34, 0.92); }
.zd-eco-cell.hidden { display: none; }
.zd-eco-cell img { width: 22px; height: 22px; flex-shrink: 0; }
.zd-eco-cell strong { display: block; font-size: 0.89rem; font-weight: 500; color: #ffffff; }
.zd-eco-cell span { display: block; font-size: 0.76rem; color: var(--muted); }
@media (max-width: 920px) { .zd-eco-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .zd-eco-grid { grid-template-columns: 1fr; } }

/* Recharge Ledger */
.zd-ledger-wrap { position: relative; border-top: 1px solid var(--line); }
.zd-ledger-glide { position: absolute; left: 0; right: 0; top: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.06); pointer-events: none; opacity: 0; z-index: 0; transition: transform 240ms var(--ease), height 240ms var(--ease), opacity 180ms ease; }
.zd-ledger-row { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(210px, 1.05fr) minmax(0, 1.55fr) auto auto; gap: 20px; align-items: center; padding: 22px 16px; border-bottom: 1px solid var(--line); }
.zd-ledger-row.hidden { display: none; }
.zd-ledger-brand { display: flex; align-items: center; gap: 13px; }
.zd-ledger-brand img { width: 24px; height: 24px; flex-shrink: 0; }
.zd-ledger-brand strong { display: block; font-size: 0.96rem; font-weight: 500; color: #ffffff; }
.zd-ledger-brand span { display: block; font-size: 0.77rem; color: var(--muted); }
.zd-ledger-desc { margin: 0; font-size: 0.89rem; color: var(--muted); line-height: 1.64; }
.zd-ledger-meta { font-family: var(--font-mono); font-size: 0.76rem; color: var(--violet-soft); white-space: nowrap; }
@media (max-width: 900px) { .zd-ledger-row { grid-template-columns: 1fr; gap: 10px; padding: 20px 8px; } }

/* Custom Subpage Ruler + Enterprise AI Agent Live Sandbox */
.zd-ruler-box {
  position: relative; overflow: hidden;
  border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(9, 10, 15, 0.84); backdrop-filter: blur(16px); padding: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 28px 64px -30px rgba(0, 0, 0, 0.85);
}
.zd-ruler-box::before, .acme-sandbox::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(440px, 68%); height: 1.5px; z-index: 6; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(214, 232, 255, 0.56) 24%, rgba(255, 255, 255, 0.96) 50%, rgba(214, 232, 255, 0.56) 76%, transparent);
  box-shadow: 0 0 18px 1px rgba(255, 255, 255, 0.34);
}
.zd-ruler-box::after, .acme-sandbox::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 84px; z-index: 1; pointer-events: none;
  background: radial-gradient(50% 100% at 50% 0%, rgba(255, 255, 255, 0.13), rgba(56, 189, 248, 0.06) 46%, transparent 100%);
}
.zd-ruler-head { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.zd-ruler-head h3 { margin: 0; font-size: 1.06rem; font-weight: 500; color: #ffffff; }
.zd-ruler-detail { font-size: 0.93rem; color: var(--ink-2); }
.zd-ruler-track { position: relative; z-index: 2; border-top: 1px solid var(--line-slate); padding-top: 18px; }
.zd-ruler-needle { position: absolute; top: -1px; left: 0; width: 25%; height: 2px; background: linear-gradient(90deg, var(--sky), var(--violet), var(--orange)); transition: transform 320ms var(--ease); }
.zd-ruler-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.zd-ruler-btn { background: none; border: 0; padding: 8px 4px; text-align: left; }
.zd-ruler-btn .r-idx { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted-2); margin-bottom: 4px; }
.zd-ruler-btn .r-name { display: block; font-size: 0.90rem; font-weight: 500; color: var(--muted); transition: color 180ms ease; }
.zd-ruler-btn.active .r-idx { color: var(--sky); }
.zd-ruler-btn.active .r-name { color: #ffffff; }
@media (max-width: 720px) { .zd-ruler-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .zd-ruler-needle { display: none; } }

/* Interactive Enterprise AI Solutions Live Sandbox (/custom) */
.acme-sandbox {
  position: relative; overflow: hidden;
  border-radius: 22px; border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(9, 10, 16, 0.86); backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 36px 80px -32px rgba(0, 0, 0, 0.90);
}
.acme-sb-head {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.acme-sb-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.acme-sb-tab {
  padding: 7px 14px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09); background: rgba(255, 255, 255, 0.03);
  color: var(--muted); font-size: 0.82rem; font-weight: 500; transition: all 180ms ease;
}
.acme-sb-tab:hover { color: #ffffff; border-color: rgba(255, 255, 255, 0.22); }
.acme-sb-tab.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.24), rgba(56, 189, 248, 0.16));
  border-color: rgba(167, 139, 250, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.acme-sb-body {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 0;
}
.acme-sb-left {
  padding: 24px 26px; border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; flex-direction: column; gap: 16px;
}
.acme-sb-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; color: var(--violet-soft); }
.acme-sb-prompt {
  padding: 15px 17px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.92rem; line-height: 1.66; color: #ffffff;
}
.acme-sb-trace { display: flex; flex-direction: column; gap: 10px; }
.acme-sb-step {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 13px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.82rem; color: var(--ink-2);
  transition: border-color 220ms ease, background-color 220ms ease;
}
.acme-sb-step.done { border-color: rgba(56, 189, 248, 0.30); background: rgba(56, 189, 248, 0.06); }
.acme-sb-step-tag {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--emerald); white-space: nowrap;
}
.acme-sb-right {
  padding: 24px 26px;
  background: radial-gradient(65% 50% at 50% 0%, rgba(139, 92, 246, 0.12), transparent 72%), rgba(4, 5, 10, 0.56);
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.acme-sb-out-title { margin: 0 0 8px; font-size: 1.05rem; font-weight: 500; color: #ffffff; }
.acme-sb-out-text { margin: 0; font-size: 0.90rem; line-height: 1.76; color: var(--ink-2); min-height: 5.2em; }
.acme-sb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.acme-sb-chips span {
  padding: 4px 10px; border-radius: 7px; font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.11); color: #e2e8f0;
}
@media (max-width: 860px) {
  .acme-sb-body { grid-template-columns: 1fr; }
  .acme-sb-left { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
}

/* ==========================================================================
   AI VIDEO GENERATION — INFLUENCER & SHORT DRAMA STUDIO UI
   ========================================================================== */
.acme-vid-panel {
  display: flex; flex-direction: column; gap: 14px;
  padding: 18px; border-radius: 16px;
  background: rgba(6, 7, 13, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.acme-vid-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
}
.acme-vid-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.acme-vid-pill {
  padding: 5px 11px; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.10); background: rgba(255, 255, 255, 0.03);
  color: var(--muted); font-size: 0.76rem; font-weight: 500; transition: all 180ms ease;
}
.acme-vid-pill:hover { color: #ffffff; border-color: rgba(255, 255, 255, 0.24); }
.acme-vid-pill.active {
  color: #ffffff;
  background: rgba(255, 122, 61, 0.16);
  border-color: rgba(255, 122, 61, 0.52);
}
.acme-vid-pill--v.active {
  background: rgba(139, 92, 246, 0.20);
  border-color: rgba(167, 139, 250, 0.54);
}
.acme-vid-screen {
  position: relative; overflow: hidden; border-radius: 12px;
  padding: 16px; min-height: 128px;
  background:
    radial-gradient(75% 75% at 80% 15%, rgba(255, 122, 61, 0.18), transparent 64%),
    radial-gradient(70% 70% at 15% 90%, rgba(139, 92, 246, 0.18), transparent 64%),
    #07080f;
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
}
.acme-vid-screen--drama {
  background:
    radial-gradient(75% 75% at 20% 15%, rgba(139, 92, 246, 0.22), transparent 64%),
    radial-gradient(70% 70% at 85% 90%, rgba(56, 189, 248, 0.16), transparent 64%),
    #07080f;
}
.acme-vid-badge-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.acme-vid-rec {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.70rem; color: #fdba74;
}
.acme-vid-rec i { width: 6px; height: 6px; border-radius: 50%; background: #ff7a3d; box-shadow: 0 0 10px #ff7a3d; }
.acme-vid-rec--v { color: #d8b4fe; }
.acme-vid-rec--v i { background: #a78bfa; box-shadow: 0 0 10px #a78bfa; }
.acme-vid-spec { font-size: 0.84rem; line-height: 1.62; color: var(--ink-2); margin: 0; }
.acme-vid-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.acme-vid-tags span {
  font-size: 0.72rem; padding: 3px 8px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.10); color: #e2e8f0;
}

.acme-vid-tracks {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
}
.acme-vid-shot {
  padding: 9px 10px; border-radius: 9px; text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.09); background: rgba(255, 255, 255, 0.03);
  transition: all 180ms ease;
}
.acme-vid-shot strong { display: block; font-size: 0.75rem; font-weight: 500; color: #ffffff; }
.acme-vid-shot span { display: block; font-size: 0.69rem; color: var(--muted); margin-top: 2px; }
.acme-vid-shot.active {
  border-color: rgba(167, 139, 250, 0.56);
  background: rgba(139, 92, 246, 0.16);
}
@media (max-width: 540px) { .acme-vid-tracks { grid-template-columns: 1fr; } }

/* Subpage /video Feature Checklist + Interactive Director Viewfinder */
.acme-vid-checklist {
  list-style: none; margin: 18px 0 24px; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.acme-vid-checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.89rem; line-height: 1.60; color: var(--ink-2);
}
.acme-vid-checklist li svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; margin-top: 4px; }
.acme-vid-checklist--v li svg { color: var(--violet-soft); }

.acme-dir-frame {
  position: relative; border-radius: 14px; overflow: hidden;
  padding: 20px; min-height: 196px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(65% 65% at 78% 18%, rgba(255, 122, 61, 0.20), transparent 64%),
    radial-gradient(65% 65% at 22% 84%, rgba(139, 92, 246, 0.20), transparent 64%),
    #06070d;
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
}
.acme-dir-corners {
  position: absolute; inset: 10px; pointer-events: none;
  border: 1px dashed rgba(255, 255, 255, 0.11); border-radius: 8px;
}
.acme-dir-hud {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted);
}
.acme-dir-title { position: relative; z-index: 2; margin: 0 0 6px; font-size: 1.08rem; font-weight: 500; color: #ffffff; }
.acme-dir-desc { position: relative; z-index: 2; margin: 0; font-size: 0.89rem; line-height: 1.70; color: var(--ink-2); }

/* ==========================================================================
   FOOTER, DRAWER & MODAL
   ========================================================================== */
.zd-footer { background: rgba(3, 4, 7, 0.90); padding: 46px 0 46px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.zd-footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, minmax(0, 1fr)); gap: 36px; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.zd-footer h4 { margin: 0 0 14px; font-size: 0.85rem; font-weight: 500; color: #ffffff; }
.zd-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.zd-footer li, .zd-footer li a { font-size: 0.86rem; color: var(--muted); transition: color 180ms ease; }
.zd-footer li a:hover { color: #ffffff; }
.zd-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 0.79rem; color: var(--muted-2); }
@media (max-width: 820px) { .zd-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .zd-footer-grid { grid-template-columns: 1fr; } }

.zd-drawer-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(8px); display: flex; justify-content: flex-end; opacity: 0; pointer-events: none; transition: opacity 220ms ease; }
.zd-drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.zd-drawer { width: min(440px, 100%); height: 100%; background: #090a0f; border-left: 1px solid rgba(255, 255, 255, 0.14); padding: 28px 26px; overflow-y: auto; transform: translateX(100%); transition: transform 300ms var(--ease); }
.zd-drawer-backdrop.open .zd-drawer { transform: translateX(0); }
.zd-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.zd-drawer-head h3 { margin: 0 0 4px; font-size: 1.15rem; font-weight: 500; color: #ffffff; }
.zd-close-x { width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05); color: var(--ink-2); }
.zd-close-x:hover { color: #ffffff; background: rgba(255, 255, 255, 0.12); }

.zd-form { display: flex; flex-direction: column; gap: 15px; }
.zd-field label { display: block; font-size: 0.81rem; color: var(--muted); margin-bottom: 6px; }
.zd-field input, .zd-field select, .zd-field textarea { width: 100%; min-height: 44px; padding: 10px 13px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, 0.14); background: #030407; color: #ffffff; font-size: 0.92rem; }
.zd-field textarea { min-height: 86px; resize: vertical; }
.zd-field input:focus, .zd-field select:focus, .zd-field textarea:focus { outline: none; border-color: rgba(167, 139, 250, 0.75); }
.zd-hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.zd-form-status { font-size: 0.84rem; min-height: 1.2em; }
.zd-form-status.ok { color: var(--emerald); }
.zd-form-status.err { color: #fca5a5; }
.zd-qr-card { margin-top: 22px; padding: 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.10); background: rgba(255, 255, 255, 0.03); display: flex; align-items: center; gap: 14px; }
.zd-qr-card img { width: 88px; height: 88px; border-radius: 10px; background: #ffffff; padding: 4px; flex-shrink: 0; }

.zd-modal-backdrop { position: fixed; inset: 0; z-index: 210; background: rgba(0, 0, 0, 0.74); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 200ms ease; }
.zd-modal-backdrop.open { opacity: 1; pointer-events: auto; }
.zd-modal { width: min(460px, 100%); border-radius: 18px; background: #0b0c12; border: 1px solid rgba(255, 255, 255, 0.15); padding: 26px; }
.zd-modal h3 { margin: 0 0 10px; font-size: 1.1rem; font-weight: 500; color: #ffffff; }
.zd-modal p { margin: 0 0 22px; font-size: 0.91rem; color: var(--muted); line-height: 1.72; }

.js-ready [data-stagger] { opacity: 0; transform: translateY(14px); animation: rsFadeUp 620ms var(--ease) forwards; }
.js-ready [data-stagger="1"] { animation-delay: 40ms; }
.js-ready [data-stagger="2"] { animation-delay: 110ms; }
.js-ready [data-stagger="3"] { animation-delay: 180ms; }
.js-ready [data-stagger="4"] { animation-delay: 250ms; }
@keyframes rsFadeUp { to { opacity: 1; transform: none; } }

.js-ready [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 620ms var(--ease), transform 620ms var(--ease); }
.js-ready [data-reveal].in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js-ready [data-stagger], .js-ready [data-reveal] { opacity: 1 !important; transform: none !important; animation: none !important; }
}
