* { box-sizing: border-box; }

:root {
  color-scheme: dark;
  --base: #0c1010;
  --surface: rgba(18, 24, 22, 0.72);
  --surface-strong: rgba(21, 28, 25, 0.88);
  --text: #f3f5ef;
  --soft: #a8b5ae;
  --muted: #829089;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #b3f98a;
  --accent-strong: #c9ffad;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --grid-size: 52px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  scrollbar-gutter: stable;
  background: var(--base);
}

/* Slim Custom Scrollbar Across the Entire Site */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--base);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(179, 249, 138, 0.46);
}

::-webkit-scrollbar-thumb:active {
  background: rgba(179, 249, 138, 0.66);
}

@supports not selector(::-webkit-scrollbar) {
  html {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) var(--base);
  }
}

html.lenis,
html.lenis body {
  height: auto;
}

html.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch] {
  overscroll-behavior: contain;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--base);
  color: var(--text);
  font: 16px/1.7 Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

main {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

body.page-home main {
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }

.wrap { width: min(1160px, calc(100% - 72px)); margin-inline: auto; }

.skip {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 50;
  padding: 6px 14px;
  border-radius: 8px;
  background: #18251a;
  border: 1px solid rgba(179, 249, 138, 0.35);
  color: var(--text);
  font-size: 13px;
  transform: translateY(-150%);
  transition: transform .2s var(--ease);
}
.skip:focus { transform: none; }

/* ==========================================================================
   Top Navigation Bar — Dynamic Progressive Blur Veil + Frosted Glass Pill
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  padding: 14px 24px 0;
  background: transparent;
  /* Pure constant optical glass & unified fixed positioning across all pages => zero shift or flash on navigation */
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -24px 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 16, 16, 0.42) 0%,
    rgba(12, 16, 16, 0.16) 52%,
    rgba(12, 16, 16, 0) 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.88) 36%, rgba(0, 0, 0, 0.28) 74%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.88) 36%, rgba(0, 0, 0, 0.28) 74%, transparent 100%);
}

.nav-shell {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
  height: 62px;
  margin-inline: auto;
  padding: 0 10px 0 14px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px;
  border-radius: 999px;
  background-color: rgba(16, 23, 20, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.26),
    0 14px 36px rgba(0, 0, 0, 0.34),
    0 2px 8px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.nav-shell::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 44%;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.32) 35%, rgba(179, 249, 138, 0.45) 50%, rgba(255, 255, 255, 0.32) 65%, transparent 100%);
  pointer-events: none;
  opacity: .85;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 3px 10px 3px 2px;
  border-radius: 999px;
  min-width: 0;
  transition: opacity .18s var(--ease);
}

@media (hover: hover) {
  .brand:hover {
    opacity: .92;
  }
}

.brand-logo {
  width: 40px;
  height: 40px;
  flex: none;
  display: block;
  object-fit: contain;
  border: 0;
  background: transparent;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  line-height: 1.15;
}

.brand-title {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #f6f8f4;
  white-space: nowrap;
}

.brand-title b {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(235, 242, 237, 0.68);
}

.brand-sub {
  font-size: 11px;
  font-weight: 450;
  letter-spacing: 0.02em;
  color: rgba(169, 184, 176, 0.78);
  white-space: nowrap;
}

.nav-track {
  position: relative;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 2px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(232, 240, 236, 0.58);
  white-space: nowrap;
  transition: color .18s var(--ease);
}

@media (hover: hover) {
  .nav-link:not([aria-current="page"]):hover {
    color: rgba(255, 255, 255, 0.92);
  }
}

.nav-link[aria-current="page"] {
  color: #ffffff;
  font-weight: 600;
}

.nav-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #c6ffa5 0%, #a5f577 100%);
  color: #0e1a0d;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 4px 16px rgba(179, 249, 138, 0.22),
    0 1px 3px rgba(0, 0, 0, 0.3);
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}

.nav-cta-icon {
  width: 14px;
  height: 14px;
  flex: none;
}

@media (hover: hover) {
  .nav-cta:hover {
    filter: brightness(1.06);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.72),
      0 6px 22px rgba(179, 249, 138, 0.36),
      0 2px 6px rgba(0, 0, 0, 0.34);
  }
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}

.nav-toggle svg { width: 18px; height: 18px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-drawer {
  width: min(1160px, 100%);
  margin: 10px auto 0;
  padding: 10px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 24, 22, 0.94) 0%, rgba(11, 15, 14, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 20px 44px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.mobile-drawer[hidden] { display: none; }

.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-radius: 13px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--soft);
  transition: background-color .16s var(--ease), color .16s var(--ease);
}

.mobile-drawer nav a[aria-current="page"] {
  background: rgba(179, 249, 138, 0.14);
  color: #e9ffdc;
  font-weight: 600;
}

.mobile-cta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(180deg, #c6ffa5 0%, #a5f577 100%);
  color: #0e1a0d;
  font-size: 14px;
  font-weight: 650;
}

/* ==========================================================================
   01. Hero Section — Codex T-Shape Stack (Copy + CTA + Prominent Workbench)
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  /* Keep overflow visible vertically so the Hero screenshot's bottom drop shadow diffuses naturally without clipping */
  overflow-x: clip;
  isolation: isolate;
}

.hm-hero-backdrop {
  position: absolute;
  inset: 0 0 auto 0;
  height: min(100%, 980px);
  pointer-events: none;
  z-index: -1;
}

.aurora-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: .84;
}

.aurora-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.aurora-container.is-fallback {
  background:
    radial-gradient(ellipse 46% 52% at 48% 6%, rgba(124, 255, 103, 0.52) 0%, rgba(124, 255, 103, 0) 72%),
    radial-gradient(ellipse 56% 58% at 18% 4%, rgba(82, 39, 255, 0.65) 0%, rgba(82, 39, 255, 0) 76%),
    radial-gradient(ellipse 56% 58% at 82% 4%, rgba(82, 39, 255, 0.65) 0%, rgba(82, 39, 255, 0) 76%);
}

.hm-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 0.5px 0.5px, rgba(255, 255, 255, 0.28) 1px, transparent 1.35px),
    linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  background-position: center top;
  mask-image: radial-gradient(ellipse 84% 72% at 50% 36%, #000 24%, rgba(0, 0, 0, 0.52) 60%, transparent 94%);
  -webkit-mask-image: radial-gradient(ellipse 84% 72% at 50% 36%, #000 24%, rgba(0, 0, 0, 0.52) 60%, transparent 94%);
}

.hm-hero-grid-glow {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 0.5px 0.5px, rgba(214, 255, 192, 0.58) 1.2px, transparent 1.6px),
    linear-gradient(to right, rgba(179, 249, 138, 0.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(179, 249, 138, 0.22) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  background-position: center top;
  opacity: var(--grid-glow, 0.72);
  mask-image: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 28%), #000 0%, rgba(0, 0, 0, 0.42) 44%, transparent 78%);
  -webkit-mask-image: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 28%), #000 0%, rgba(0, 0, 0, 0.42) 44%, transparent 78%);
  transition: opacity .35s var(--ease);
}

.hm-hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 62% at 50% 100%, var(--base) 0%, rgba(12, 16, 16, 0.42) 48%, transparent 78%),
    linear-gradient(180deg, rgba(12, 16, 16, 0.22) 0%, rgba(12, 16, 16, 0) 20%, rgba(12, 16, 16, 0.35) 74%, var(--base) 100%);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 118px 0 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
  padding: 8px 0 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.085);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 8px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.015em;
  font-variant-numeric: tabular-nums;
  color: rgba(242, 248, 243, 0.94);
}

.release-pill-icon {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--accent);
}

h1 {
  font-size: clamp(42px, 4.7vw, 64px);
  line-height: 1.13;
  letter-spacing: -.048em;
  font-weight: 700;
}

h1 em { font-style: normal; color: var(--accent); }

.lead {
  max-width: 36em;
  margin: 18px auto 26px;
  font-size: clamp(16px, 1.2vw, 18px);
  color: #bcc8c0;
  line-height: 1.72;
  text-wrap: balance;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  gap: 9px;
  padding: 0 22px;
  min-height: 46px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}

.btn-pill {
  border-radius: 999px;
  padding-inline: 24px;
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13.5px;
  border-radius: 10px;
}

.btn-icon {
  width: 15px;
  height: 15px;
  flex: none;
}

.primary {
  background: var(--accent);
  color: #132112;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 6px 20px rgba(179, 249, 138, 0.2);
}

.secondary {
  background: rgba(24, 31, 28, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #eef3ee;
  backdrop-filter: blur(10px);
}

@media (hover: hover) {
  .primary:hover {
    background: var(--accent-strong);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.72),
      0 8px 26px rgba(179, 249, 138, 0.34);
  }
  .secondary:hover {
    background: rgba(38, 49, 44, 0.9);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
  }
}

.meta {
  margin-top: 14px;
  font-size: 12.5px;
  color: #9ba8a0;
}

.meta span { padding-inline: 4px; opacity: .6; }

/* Hero Workbench Full Image (Rounded Corners + Unclipped Diffuse Shadow) */
.hero-showcase {
  width: 100%;
  margin: clamp(38px, 4.4vw, 52px) 0 0;
}

.hero-showcase-img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 14px;
  box-shadow:
    0 34px 92px rgba(0, 0, 0, 0.78),
    0 14px 36px rgba(0, 0, 0, 0.56);
}

/* ==========================================================================
   02. Homepage Codex Rhythm — Generous Section Spacing & Alternating 3:7 Rows
   ========================================================================== */
.home-section {
  padding-top: clamp(104px, 11vw, 152px);
}

.home-section-head {
  max-width: 680px;
  margin: 0 auto clamp(52px, 5.8vw, 76px);
  text-align: center;
}

.home-section-head h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.038em;
  font-weight: 700;
  color: var(--text);
}

.home-section-head p {
  margin-top: 14px;
  font-size: clamp(15.5px, 1.15vw, 17.5px);
  line-height: 1.7;
  color: var(--soft);
  text-wrap: balance;
}

.feature-rows {
  display: flex;
  flex-direction: column;
  gap: clamp(84px, 9.5vw, 128px);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(270px, 0.39fr) minmax(0, 0.61fr);
  gap: clamp(36px, 5.5vw, 72px);
  align-items: center;
}

.feature-row--reverse {
  grid-template-columns: minmax(0, 0.61fr) minmax(270px, 0.39fr);
}

.feature-row--reverse .feature-media {
  order: -1;
}

.feature-copy {
  min-width: 0;
}

.feature-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.feature-copy h3 {
  font-size: clamp(24px, 2.4vw, 31px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 680;
  margin-bottom: 14px;
  color: var(--text);
}

.feature-copy p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--soft);
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-tags li {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: #c7d3cc;
}

/* Unframed Complete Feature Media (Zero Outer Box / Rounded Rectangle) */
.feature-media {
  min-width: 0;
  margin: 0;
}

.feature-img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 14px;
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.68),
    0 10px 28px rgba(0, 0, 0, 0.48);
}

.media-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.media-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.media-item {
  margin: 0;
  min-width: 0;
}

.media-item img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 12px;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.6),
    0 8px 22px rgba(0, 0, 0, 0.42);
}

.media-item figcaption {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.media-item figcaption.is-accent {
  color: #c7f0af;
}

/* ==========================================================================
   03. User Testimonials — Strictly 3 Columns × 2 Rows (6 Cards)
   ========================================================================== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.review-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-radius: 18px;
  background: rgba(20, 27, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color .22s var(--ease), background-color .22s var(--ease);
}

@media (hover: hover) {
  .review-card:hover {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(24, 32, 28, 0.86);
  }
}

.review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  margin-bottom: 20px;
  background: #f2f4f2;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.38);
  user-select: none;
}

.review-quote {
  font-size: 15px;
  line-height: 1.78;
  color: #e6ede8;
  margin-bottom: 24px;
}

.review-author {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}

.review-author strong {
  font-weight: 600;
  color: #cdd8d2;
}

/* ==========================================================================
   04. Bottom CTA Banner (Codex Closing Band)
   ========================================================================== */
.bottom-cta {
  position: relative;
  margin-top: clamp(104px, 11vw, 148px);
  padding: clamp(76px, 8.5vw, 112px) 0;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bottom-cta-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(124, 255, 103, 0.14) 0%, rgba(82, 39, 255, 0.11) 46%, transparent 78%);
}

.bottom-cta-inner {
  position: relative;
  z-index: 1;
}

.bottom-cta-inner h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.038em;
  font-weight: 700;
  margin-bottom: 12px;
}

.bottom-cta-inner p {
  max-width: 34em;
  margin: 0 auto 28px;
  font-size: clamp(15.5px, 1.15vw, 17px);
  color: var(--soft);
}

/* ==========================================================================
   Scroll-Triggered Staggered Preload / Reveal Choreography (Zero First-Paint Flash)
   ========================================================================== */
:root {
  --reveal-ease: cubic-bezier(.16, 1, .3, 1);
}

/* Smooth Frame-0 CSS Entrance for Above-the-Fold Content (Never Flashes 1 -> 0 -> 1) */
@keyframes mainSoftEnter {
  from {
    opacity: 0.58;
    transform: translate3d(0, 6px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  body.page-inner .inner-page,
  body.page-home .hero-inner {
    animation: mainSoftEnter .26s var(--ease) both;
  }
}

/* Only Off-Screen Below-the-Fold Blocks Get .is-armed (Zero Flash on Visible Screen-1 Content) */
.reveal-up.is-armed:not(.feature-row) {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.984);
  filter: blur(6px);
  transition:
    opacity .76s var(--reveal-ease) var(--reveal-delay, 0ms),
    transform .76s var(--reveal-ease) var(--reveal-delay, 0ms),
    filter .76s var(--reveal-ease) var(--reveal-delay, 0ms),
    border-color .22s var(--ease),
    background-color .22s var(--ease);
}

.reveal-up.is-armed:not(.feature-row).is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0px);
}

.reveal-up.is-armed:not(.feature-row).is-settled {
  filter: none;
  transform: none;
  --reveal-delay: 0ms;
}

/* Section Head & Bottom CTA Internal Micro-Stagger */
.home-section-head.is-armed > p,
.bottom-cta-inner.is-armed > p {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity .7s var(--reveal-ease) 95ms, transform .7s var(--reveal-ease) 95ms;
}

.bottom-cta-inner.is-armed > .actions {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity .72s var(--reveal-ease) 180ms, transform .72s var(--reveal-ease) 180ms;
}

.home-section-head.is-armed.is-visible > p,
.bottom-cta-inner.is-armed.is-visible > p,
.bottom-cta-inner.is-armed.is-visible > .actions {
  opacity: 1;
  transform: none;
}

/* Feature Rows — Independent Copy + Optical Image Preload Choreography */
.feature-row.is-armed .feature-kicker,
.feature-row.is-armed .feature-copy h3,
.feature-row.is-armed .feature-copy p,
.feature-row.is-armed .feature-tags {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  filter: blur(4px);
  transition:
    opacity .74s var(--reveal-ease),
    transform .74s var(--reveal-ease),
    filter .74s var(--reveal-ease);
}

.feature-row.is-armed .feature-img,
.feature-row.is-armed .media-item {
  opacity: 0;
  transform: translate3d(0, 32px, 0) scale(0.972);
  filter: blur(10px);
  transition:
    opacity .88s var(--reveal-ease),
    transform .88s var(--reveal-ease),
    filter .88s var(--reveal-ease);
}

.feature-row.is-armed.is-visible .feature-kicker {
  opacity: 1;
  transform: none;
  filter: blur(0px);
  transition-delay: 20ms;
}

.feature-row.is-armed.is-visible .feature-copy h3 {
  opacity: 1;
  transform: none;
  filter: blur(0px);
  transition-delay: 95ms;
}

.feature-row.is-armed.is-visible .feature-copy p {
  opacity: 1;
  transform: none;
  filter: blur(0px);
  transition-delay: 170ms;
}

.feature-row.is-armed.is-visible .feature-tags {
  opacity: 1;
  transform: none;
  filter: blur(0px);
  transition-delay: 240ms;
}

.feature-row.is-armed.is-visible .feature-img {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0px);
  transition-delay: 120ms;
}

.feature-row.is-armed.is-visible .media-item {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0px);
}

.feature-row.is-armed.is-visible .media-pair:nth-child(1) .media-item:nth-child(1) { transition-delay: 90ms; }
.feature-row.is-armed.is-visible .media-pair:nth-child(1) .media-item:nth-child(2) { transition-delay: 195ms; }
.feature-row.is-armed.is-visible .media-pair:nth-child(2) .media-item:nth-child(1) { transition-delay: 280ms; }
.feature-row.is-armed.is-visible .media-pair:nth-child(2) .media-item:nth-child(2) { transition-delay: 385ms; }

.feature-row.is-armed.is-settled .feature-kicker,
.feature-row.is-armed.is-settled .feature-copy h3,
.feature-row.is-armed.is-settled .feature-copy p,
.feature-row.is-armed.is-settled .feature-tags,
.feature-row.is-armed.is-settled .feature-img,
.feature-row.is-armed.is-settled .media-item {
  filter: none;
  transform: none;
}

/* ==========================================================================
   Inner Pages — Cohesive Atmospheric Header, Glass Cards & FAQ
   ========================================================================== */
.page-ambient {
  position: fixed;
  inset: 0 0 auto 0;
  height: 460px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.page-ambient-glow {
  position: absolute;
  inset: -60px 0 0;
  background:
    radial-gradient(ellipse 48% 58% at 50% 0%, rgba(124, 255, 103, 0.18) 0%, rgba(124, 255, 103, 0) 70%),
    radial-gradient(ellipse 46% 52% at 18% 0%, rgba(82, 39, 255, 0.24) 0%, rgba(82, 39, 255, 0) 72%),
    radial-gradient(ellipse 46% 52% at 82% 0%, rgba(56, 132, 255, 0.18) 0%, rgba(56, 132, 255, 0) 72%);
}

.page-ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 0.5px 0.5px, rgba(255, 255, 255, 0.2) 1px, transparent 1.3px),
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  background-position: center top;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
}

.inner-page {
  padding: calc(76px + clamp(54px, 7vw, 84px)) 0 0;
}

.page-head {
  max-width: none;
  margin-bottom: 42px;
}

.page-head h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.page-head .lead {
  margin: 16px 0 0;
  max-width: none;
  font-size: 16px;
  color: var(--soft);
  text-wrap: nowrap;
  white-space: nowrap;
}

.release-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 40px;
  align-items: center;
  padding: 30px 34px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(25, 38, 29, 0.82) 0%, rgba(16, 21, 19, 0.84) 100%);
  border: 1px solid rgba(179, 249, 138, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 44px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(179, 249, 138, 0.14);
  border: 1px solid rgba(179, 249, 138, 0.28);
  color: #e2ffd0;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(179, 249, 138, 0.8);
}

.status-note {
  font-size: 12.5px;
  color: var(--muted);
}

.release-main h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin-bottom: 8px;
}

.release-main p {
  max-width: 44em;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--soft);
}

.release-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.release-hint {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.section-block {
  margin-top: 56px;
}

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

.section-head h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.section-head p {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--muted);
}

.card-grid,
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-card,
.step-card {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 26px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(22, 29, 26, 0.72) 0%, rgba(14, 19, 17, 0.76) 100%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color .22s var(--ease), background-color .22s var(--ease);
}

@media (hover: hover) {
  .info-card:hover,
  .step-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: linear-gradient(180deg, rgba(26, 34, 30, 0.82) 0%, rgba(16, 22, 20, 0.84) 100%);
  }
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.card-index {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.card-tag {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  color: var(--soft);
}

.info-card h3,
.step-card h2 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.35;
  margin-bottom: 10px;
}

.info-card p,
.step-card p {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--soft);
  text-wrap: pretty;
}

.step-action {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ui-path {
  display: inline-block;
  padding: 1px 7px;
  margin-inline: 1px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e6efe8;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  vertical-align: baseline;
}

.textlink {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(179, 249, 138, 0.45);
  transition: color .18s var(--ease), text-decoration-color .18s var(--ease);
}

/* ==================== Interactive Visual Guide Flow (guide.html) ==================== */
.guide-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
}

.guide-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 36px;
  padding: 32px 34px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(21, 28, 25, 0.72) 0%, rgba(13, 18, 16, 0.8) 100%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 50px rgba(0, 0, 0, 0.28);
  transition: border-color .24s var(--ease);
}
.guide-stage:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.guide-step-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.guide-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.guide-badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 11.5px;
  color: var(--soft);
}
.guide-badge.is-recommend {
  background: rgba(179, 249, 138, 0.12);
  border-color: rgba(179, 249, 138, 0.28);
  color: #dcffc8;
}

.guide-copy h2 {
  font-size: clamp(22px, 2.4vw, 27px);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin: 0 0 12px;
}
.guide-desc {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--soft);
  text-wrap: pretty;
  margin: 0 0 18px;
}
.guide-desc strong {
  color: #eef5ee;
  font-weight: 600;
}

.guide-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.guide-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--soft);
  text-wrap: pretty;
}
.guide-points li i {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(179, 249, 138, 0.14);
  border: 1px solid rgba(179, 249, 138, 0.26);
  color: var(--accent);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.guide-points li strong {
  color: #edf4ed;
  font-weight: 600;
}

.guide-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* Shared Interactive Mini Window Mockup */
.g-window {
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(16, 21, 19, 0.96) 0%, rgba(11, 15, 14, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.g-win-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}
.g-win-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.g-win-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}
.g-win-path {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.g-win-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(179, 249, 138, 0.11);
  border: 1px solid rgba(179, 249, 138, 0.24);
  color: #dcffc8;
  font-size: 11px;
  font-weight: 600;
}
.g-win-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.g-win-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
  font-size: 12px;
  color: var(--muted);
}
.g-win-foot b {
  color: #e6efe8;
  font-weight: 600;
}
.g-foot-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(179, 249, 138, 0.7);
}

/* Scene 01: Desktop Folder (Miaokee.exe + 运行环境 Folder Peek) */
.g-files-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 26px 22px;
}
.g-file-tile {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: transform .28s cubic-bezier(0.22, 1, 0.36, 1), border-color .22s ease, background .22s ease, box-shadow .24s ease;
}
.g-file-tile:hover,
.g-file-tile.is-active {
  transform: translateY(-3px);
  border-color: rgba(179, 249, 138, 0.34);
  background: rgba(179, 249, 138, 0.06);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
}
.g-file-tile strong {
  font-size: 13.5px;
  font-weight: 600;
  color: #f0f5f0;
  margin-top: 6px;
}
.g-file-tile small {
  font-size: 11.5px;
  color: var(--muted);
}
.g-app-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0c0e0e;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform .3s cubic-bezier(0.22, 1, 0.36, 1);
}
.g-app-icon-wrap img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: block;
}
.g-file-tile:hover .g-app-icon-wrap,
.g-file-tile.is-active .g-app-icon-wrap {
  transform: scale(1.05);
}

/* Layered 3D Folder with Motion Peek */
.g-folder-icon {
  position: relative;
  width: 66px;
  height: 56px;
  margin-top: 4px;
  display: block;
}
.g-folder-back {
  position: absolute;
  inset: 4px 0 0 0;
  border-radius: 9px;
  background: linear-gradient(180deg, #2d4c39 0%, #1d3226 100%);
  border: 1px solid rgba(179, 249, 138, 0.25);
}
.g-folder-back::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 28px;
  height: 10px;
  border-radius: 6px 6px 0 0;
  background: #2d4c39;
  border: 1px solid rgba(179, 249, 138, 0.25);
  border-bottom: 0;
}
.g-folder-sheet {
  position: absolute;
  left: 7px;
  right: 7px;
  height: 22px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .36s cubic-bezier(0.22, 1, 0.36, 1);
}
.g-folder-sheet.s1 {
  top: 10px;
  background: #e9f8e4;
  color: #162615;
  transform: translateY(0) rotate(-2deg);
}
.g-folder-sheet.s2 {
  top: 14px;
  background: #b3f98a;
  color: #132112;
  transform: translateY(0) rotate(2deg);
}
.g-folder-front {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 39px;
  border-radius: 8px 8px 9px 9px;
  background: linear-gradient(180deg, #3c6b4d 0%, #24402f 100%);
  border: 1px solid rgba(179, 249, 138, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 6px 14px rgba(0, 0, 0, 0.35);
  transform-origin: bottom center;
  transition: transform .36s cubic-bezier(0.22, 1, 0.36, 1);
}
.g-file-tile:hover .g-folder-sheet.s1,
.g-file-tile.is-active .g-folder-sheet.s1 {
  transform: translateY(-13px) rotate(-4deg);
}
.g-file-tile:hover .g-folder-sheet.s2,
.g-file-tile.is-active .g-folder-sheet.s2 {
  transform: translateY(-7px) rotate(3deg);
}
.g-file-tile:hover .g-folder-front,
.g-file-tile.is-active .g-folder-front {
  transform: perspective(180px) rotateX(-16deg);
}

/* Traveling Light-Dot Bridge */
.g-link-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 72px;
}
.g-link-track {
  position: relative;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(179, 249, 138, 0.35) 0 5px, transparent 5px 10px);
  overflow: hidden;
}
.g-link-pulse {
  position: absolute;
  top: -1px;
  left: -24px;
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: g-pulse-travel 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes g-pulse-travel {
  0% { transform: translateX(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(96px); opacity: 0; }
}
.g-link-label {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

/* Scene 02: Segmented Setup Demo (Model Download -> Engine Start) */
.g-seg-tabs {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  gap: 2px;
}
.g-seg-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.g-seg-btn.is-active {
  background: rgba(179, 249, 138, 0.18);
  color: #e6ffd6;
}
.g-setup-viewport {
  padding: 20px;
  display: grid;
  align-items: center;
}
.g-setup-pane {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(5px);
  transition: opacity .24s ease, transform .28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear .24s;
}
.g-setup-pane.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity .24s ease, transform .28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}
.g-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.g-pane-head strong {
  font-size: 14px;
  color: #f0f5f0;
}
.g-mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}
.g-mini-pill.is-lime,
.g-mini-pill.is-online {
  background: rgba(179, 249, 138, 0.13);
  border: 1px solid rgba(179, 249, 138, 0.28);
  color: #dcffc8;
}
.g-mini-pill.is-online i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.g-model-list {
  display: grid;
  gap: 12px;
}
.g-model-row {
  padding: 11px 13px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.g-model-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #e6efe8;
  margin-bottom: 8px;
}
.g-model-state {
  font-style: normal;
  font-size: 11.5px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.g-bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.g-bar i {
  display: block;
  height: 100%;
  width: var(--target, 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, #68c973, var(--accent));
}
.g-bar.is-anim i {
  animation: g-bar-fill 2.6s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
}
@keyframes g-bar-fill {
  0% { width: 42%; }
  100% { width: 96%; }
}

.g-engine-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 16px;
  border-radius: 13px;
  background: rgba(179, 249, 138, 0.06);
  border: 1px solid rgba(179, 249, 138, 0.22);
}
.g-engine-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(179, 249, 138, 0.16);
  color: var(--accent);
  box-shadow: 0 0 0 6px rgba(179, 249, 138, 0.07);
  animation: g-ring-breathe 2.4s ease-in-out infinite;
}
.g-engine-ring svg { width: 22px; height: 22px; }
@keyframes g-ring-breathe {
  0%, 100% { box-shadow: 0 0 0 4px rgba(179, 249, 138, 0.08); }
  50% { box-shadow: 0 0 0 10px rgba(179, 249, 138, 0.02); }
}
.g-engine-copy strong {
  display: block;
  font-size: 14.5px;
  color: #f0f5f0;
}
.g-engine-copy small {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--soft);
}

/* Scene 03: Prompt -> Image Blur-to-Sharp Reveal */
.g-replay-btn {
  appearance: none;
  border: 1px solid rgba(179, 249, 138, 0.3);
  background: rgba(179, 249, 138, 0.12);
  color: #dcffc8;
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s ease, transform .12s ease;
}
.g-replay-btn:hover { background: rgba(179, 249, 138, 0.22); }
.g-replay-btn:active { transform: scale(0.96); }
.g-create-stage {
  padding: 16px;
  display: grid;
  gap: 12px;
}
.g-prompt-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px 9px 14px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.g-prompt-text {
  font-size: 12.5px;
  color: #e4ede6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g-gen-tag {
  flex: none;
  padding: 4px 12px;
  border-radius: 8px;
  background: var(--accent);
  color: #132112;
  font-size: 11.5px;
  font-weight: 700;
}
.g-canvas-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0d1210;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.g-canvas-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter .75s cubic-bezier(0.22, 1, 0.36, 1), transform .75s cubic-bezier(0.22, 1, 0.36, 1), opacity .5s ease;
}
.g-canvas-frame.is-generating img {
  filter: blur(18px) saturate(1.15);
  transform: scale(1.06);
  opacity: 0.72;
}
.g-canvas-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(179, 249, 138, 0.18) 50%, transparent 75%);
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}
.g-canvas-frame.is-generating .g-canvas-shimmer {
  opacity: 1;
  animation: g-shimmer-sweep 1s linear infinite;
}
@keyframes g-shimmer-sweep {
  to { transform: translateX(100%); }
}
.g-canvas-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(12, 16, 15, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  color: #edf5ed;
  font-size: 11.5px;
  font-weight: 500;
  transition: opacity .3s ease, transform .3s cubic-bezier(0.22, 1, 0.36, 1);
}
.g-canvas-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.g-canvas-frame.is-generating .g-canvas-badge {
  opacity: 0;
  transform: translateY(6px);
}

@media (max-width: 960px) {
  .guide-stage {
    grid-template-columns: 1fr;
    padding: 24px 22px;
    gap: 24px;
  }
}
@media (max-width: 560px) {
  .g-files-stage {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .g-link-bridge {
    flex-direction: row;
    justify-content: center;
  }
  .g-link-track { width: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .g-link-pulse, .g-bar.is-anim i, .g-engine-ring, .g-canvas-shimmer { animation: none !important; }
}

.textlink:hover {
  color: var(--accent-strong);
  text-decoration-color: var(--accent-strong);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(21, 27, 25, 0.72) 0%, rgba(14, 19, 17, 0.76) 100%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color .2s var(--ease);
}

.faq-item[open] {
  border-color: rgba(179, 249, 138, 0.22);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-chevron {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--soft);
  transition: transform .22s var(--ease), color .2s var(--ease);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-item p {
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--soft);
}

/* ==========================================================================
   05. Minimal Single-Row Footer (Aligned with Miaokee Workbench Home)
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(9, 13, 12, 0.9);
  backdrop-filter: blur(12px);
}

.footer-minimal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 20px 0 26px;
}

.footer-minimal-left {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.footer-minimal-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-logo {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

.footer-minimal-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(244, 246, 249, 0.92);
  letter-spacing: -0.01em;
}

.footer-minimal-slogan {
  font-size: 12.5px;
  color: var(--muted);
}

.footer-minimal-sep {
  color: rgba(255, 255, 255, 0.22);
  font-size: 12px;
  user-select: none;
}

.footer-minimal-nav {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-minimal-nav a {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  transition: color 150ms ease;
}

@media (hover: hover) {
  .footer-minimal-nav a:hover {
    color: #ffffff;
  }
}

/* ==========================================================================
   Floating Back-to-Top Button (Bottom-Right + Scroll Progress Ring)
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: clamp(18px, 2.4vw, 30px);
  bottom: 80px;
  z-index: 28;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(16, 23, 20, 0.72);
  color: #e6efe8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 30px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  pointer-events: none;
  transition:
    opacity .26s var(--ease),
    transform .26s var(--ease),
    background-color .2s var(--ease),
    color .2s var(--ease),
    box-shadow .2s var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.btt-ring {
  position: absolute;
  inset: 0;
  width: 44px;
  height: 44px;
  transform: rotate(-90deg);
  pointer-events: none;
}

.btt-ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1.5;
}

.btt-ring-progress {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-dasharray: 125.66;
  stroke-dashoffset: var(--btt-offset, 125.66);
  transition: stroke-dashoffset .12s linear;
}

.btt-arrow {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  transition: transform .2s var(--ease);
}

@media (hover: hover) {
  .back-to-top:hover {
    background: rgba(23, 34, 28, 0.88);
    color: var(--accent-strong);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 14px 34px rgba(0, 0, 0, 0.56),
      0 0 20px rgba(179, 249, 138, 0.18);
  }
  .back-to-top:hover .btt-arrow {
    transform: translateY(-2px);
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .feature-row,
  .feature-row--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature-row--reverse .feature-media {
    order: 0;
  }
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card-grid,
  .step-grid { grid-template-columns: 1fr; }
  .release-card { grid-template-columns: 1fr; padding: 24px; }
  .release-side { align-items: flex-start; }
}

@media (max-width: 820px) {
  .brand-sub { display: none; }
  .nav-track { gap: 18px; padding-right: 16px; }
  .page-head .lead {
    white-space: normal;
    text-wrap: pretty;
  }
}

@media (max-width: 760px) {
  :root { --grid-size: 40px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { padding: 12px 14px 0; }
  .nav-shell {
    height: 56px;
    padding: 0 8px 0 12px;
    grid-template-columns: 1fr auto;
  }
  .nav-track { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { height: 36px; padding: 0 13px; font-size: 13px; }
  .brand-logo { width: 34px; height: 34px; }
  .hero-inner { padding-top: 96px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(36px, 8.6vw, 52px); }
  .hero .lead { margin: 16px 0 22px; }
  .inner-page { padding: calc(68px + 40px) 0 0; }
}

@media (max-width: 640px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
  .media-pair {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .brand-title { font-size: 15px; }
  .brand-title b { font-size: 13px; }
  .nav-cta { display: none; }
  .btn { font-size: 14px; padding-inline: 18px; }
  .meta { font-size: 11.5px; margin-top: 12px; }
  .footer-minimal { padding: 18px 0 22px; }
}

/* ==========================================================================
   Interactive Live Micro-Stage Gallery & Compare Modal (Homepage #features)
   ========================================================================== */
.ws-cap-section {
  --ws-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ws-spring-soft: cubic-bezier(0.34, 1.32, 0.64, 1);
}

.ws-cap-section .home-section-head {
  margin-bottom: 40px;
}

.ws-cap-section .home-section-head p {
  max-width: none;
  text-wrap: balance;
}

/* 3x3 Concentric Nested Radius Card Grid */
.ws-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ws-cap-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.032);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 14px 36px rgba(0, 0, 0, 0.26);
  user-select: none;
  transition:
    background 240ms var(--ws-ease-out),
    box-shadow 240ms var(--ws-ease-out),
    transform 260ms var(--ws-ease-out),
    opacity 240ms var(--ws-ease-out);
}

.ws-cap-card[hidden] { display: none !important; }

.ws-cap-card.is-entering {
  animation: ws-card-enter 320ms var(--ws-ease-out) both;
  animation-delay: var(--enter-delay, 0ms);
}

.ws-cap-card:hover {
  background: rgba(255, 255, 255, 0.052);
  box-shadow: inset 0 0 0 1px rgba(179, 250, 125, 0.22), 0 20px 44px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

/* Inner Live Micro-Stage: 20px outer - 8px padding = 12px inner radius */
.ws-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: #121417;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  isolation: isolate;
}

.ws-stage img {
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.ws-stage-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ws-outfit-result .ws-stage-fill {
  object-position: center 26%;
}

.ws-stage[data-stage="restore"] .ws-stage-fill {
  object-position: center center;
}

.ws-stage[data-stage="edit"] { cursor: ew-resize; }
.ws-stage[data-stage="restore"] { cursor: crosshair; }

.ws-stage-pill {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(14, 16, 19, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 12px rgba(0, 0, 0, 0.35);
  color: rgba(245, 246, 250, 0.92);
  font-size: 11px;
  letter-spacing: -0.01em;
  pointer-events: none;
}

.ws-cap-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 8px 6px;
  min-width: 0;
}

.ws-cap-texts {
  min-width: 0;
  flex: 1 1 auto;
}

.ws-cap-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f5f6f8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ws-cap-sub {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: rgba(210, 216, 224, 0.66);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ws-cap-tag {
  flex: none;
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: rgba(226, 232, 240, 0.72);
  font-size: 11px;
  white-space: nowrap;
}

.ws-cap-tag.is-instant {
  color: var(--accent);
  background: rgba(179, 250, 125, 0.1);
  box-shadow: inset 0 0 0 1px rgba(179, 250, 125, 0.22);
}

/* Stage 01: Character IP Turnaround */
.ws-char-img {
  object-position: center 18%;
  transition: transform 420ms var(--ws-ease-out);
}
.ws-cap-card:hover .ws-char-img { transform: scale(1.03); }
.ws-char-views {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  display: flex;
  gap: 5px;
  pointer-events: none;
}
.ws-char-badge {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(15, 16, 20, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  color: rgba(242, 244, 248, 0.85);
  font-size: 10px;
  font-weight: 500;
}
.ws-cap-card.is-inview .ws-char-badge {
  animation: ws-char-badge-pulse 4.2s ease-in-out infinite;
  animation-delay: calc(var(--view-i, 0) * 1.4s);
}

/* Stage 02: MOSS Spatial Layout Boxes */
.ws-moss-boxes {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.ws-moss-box {
  position: absolute;
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 7px;
  border: 1.5px dashed rgba(179, 250, 125, 0.78);
  background: rgba(179, 250, 125, 0.07);
  color: #f4f5f8;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
}
.ws-moss-box i {
  font-style: normal;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(15, 16, 20, 0.84);
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
}
.ws-moss-box.is-b1 { left: 41%; top: 24%; width: 19%; height: 53%; }
.ws-moss-box.is-b2 { left: 60%; top: 6%; width: 35%; height: 40%; border-color: rgba(125, 211, 252, 0.78); background: rgba(125, 211, 252, 0.06); }
.ws-moss-box.is-b2 i { color: #7dd3fc; }
.ws-moss-box.is-b3 { left: 5%; top: 10%; width: 33%; height: 34%; border-color: rgba(216, 180, 254, 0.76); background: rgba(216, 180, 254, 0.06); }
.ws-moss-box.is-b3 i { color: #d8b4fe; }
.ws-cap-card.is-inview .ws-moss-box { animation: ws-moss-box-glow 4.5s ease-in-out infinite; }
.ws-cap-card.is-inview .ws-moss-box.is-b2 { animation-delay: 1.5s; }
.ws-cap-card.is-inview .ws-moss-box.is-b3 { animation-delay: 3.0s; }

/* Stage 03: Smart Edit Split Curtain */
.ws-edit-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--split, 48%)) 0 0);
}
.ws-edit-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 48%);
  width: 1.5px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
  z-index: 5;
  pointer-events: none;
}
.ws-edit-line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

/* Stage 04: Local Repaint Brush Mask Sweep */
.ws-repaint-after {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.ws-repaint-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}
.ws-repaint-stroke {
  fill: none;
  stroke: rgba(255, 255, 255, 0.48);
  stroke-width: 44;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  filter: blur(2px);
}
.ws-repaint-cursor {
  position: absolute;
  left: 64%;
  top: 62%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  z-index: 5;
  pointer-events: none;
}
.ws-cap-card.is-inview .ws-repaint-stroke { animation: ws-brush-stroke 5.2s var(--ws-ease-out) infinite; }
.ws-cap-card.is-inview .ws-repaint-cursor { animation: ws-brush-cursor 5.2s var(--ws-ease-out) infinite; }
.ws-cap-card.is-inview .ws-repaint-after { animation: ws-brush-reveal 5.2s var(--ws-ease-out) infinite; }

/* Stage 05: Commercial Retouch Sheen Sweep */
.ws-retouch-before {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}
.ws-retouch-sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  z-index: 4;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 224, 150, 0.92) 50%, rgba(255, 255, 255, 0.15));
  box-shadow: 0 0 14px rgba(255, 210, 120, 0.65);
  pointer-events: none;
}
.ws-cap-card.is-inview .ws-retouch-before { animation: ws-retouch-wipe 5.2s ease-in-out infinite; }
.ws-cap-card.is-inview .ws-retouch-sweep { animation: ws-retouch-line 5.2s ease-in-out infinite; }

/* Stage 06: Restore Optical Glass Lens */
.ws-lens-sharp {
  position: absolute;
  inset: 0;
  clip-path: circle(52px at var(--lx, 52%) var(--ly, 42%));
  z-index: 3;
  pointer-events: none;
}
.ws-lens-ring {
  position: absolute;
  left: var(--lx, 52%);
  top: var(--ly, 42%);
  width: 104px;
  height: 104px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    inset 0 1.5px 2px rgba(255, 255, 255, 0.72),
    inset 0 -1px 3px rgba(255, 255, 255, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.28),
    0 14px 32px rgba(0, 0, 0, 0.58);
  z-index: 5;
  pointer-events: none;
}
.ws-lens-badge {
  position: absolute;
  left: 50%;
  bottom: -9px;
  transform: translateX(-50%);
  padding: 1.5px 7px;
  border-radius: 999px;
  background: #ffffff;
  color: #0e1012;
  font-size: 9.5px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

/* Stage 07: Magnetic Dual-Card Merge (Outfit) */
.ws-outfit-stage {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), transparent 70%), #131418;
}
.ws-outfit-pair {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}
.ws-outfit-mini {
  width: 86px;
  height: 108px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 28px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.ws-outfit-mini img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}
.ws-outfit-mini.is-left { transform: translateX(-8px) rotate(-6deg); }
.ws-outfit-mini.is-right { transform: translateX(8px) rotate(6deg); }
.ws-outfit-plus {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.ws-outfit-result {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0;
}
.ws-cap-card.is-inview .ws-outfit-mini.is-left { animation: ws-merge-left 5.6s var(--ws-spring-soft) infinite; }
.ws-cap-card.is-inview .ws-outfit-mini.is-right { animation: ws-merge-right 5.6s var(--ws-spring-soft) infinite; }
.ws-cap-card.is-inview .ws-outfit-plus { animation: ws-merge-plus 5.6s var(--ws-ease-out) infinite; }
.ws-cap-card.is-inview .ws-outfit-result { animation: ws-merge-result 5.6s var(--ws-ease-out) infinite; }

/* Stage 08: Breathing Outpaint Frame */
.ws-outpaint-frame {
  position: absolute;
  inset: 14% 29%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  box-shadow: 0 0 0 400px rgba(9, 10, 12, 0.76);
  z-index: 4;
  pointer-events: none;
}
.ws-outpaint-corner {
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: #ffffff;
  border-style: solid;
}
.ws-outpaint-corner.tl { top: -2px; left: -2px; border-width: 2.5px 0 0 2.5px; border-top-left-radius: 3px; }
.ws-outpaint-corner.tr { top: -2px; right: -2px; border-width: 2.5px 2.5px 0 0; border-top-right-radius: 3px; }
.ws-outpaint-corner.bl { bottom: -2px; left: -2px; border-width: 0 0 2.5px 2.5px; border-bottom-left-radius: 3px; }
.ws-outpaint-corner.br { bottom: -2px; right: -2px; border-width: 0 2.5px 2.5px 0; border-bottom-right-radius: 3px; }
.ws-cap-card.is-inview .ws-outpaint-frame { animation: ws-outpaint-breathe 5.4s var(--ws-ease-out) infinite; }

/* Stage 09: Instant Cutout Lift */
.ws-cutout-stage {
  background-color: #141519;
  background-image:
    linear-gradient(45deg, #1d1f26 25%, transparent 25%),
    linear-gradient(-45deg, #1d1f26 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #1d1f26 75%),
    linear-gradient(-45deg, transparent 75%, #1d1f26 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
}
.ws-cutout-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.ws-cutout-subject {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.65));
}
.ws-cap-card.is-inview .ws-cutout-bg { animation: ws-cutout-bg-fade 4.8s var(--ws-ease-out) infinite; }
.ws-cap-card.is-inview .ws-cutout-subject { animation: ws-cutout-lift 4.8s var(--ws-ease-out) infinite; }

/* 3-Column Local Advantage Strip */
.ws-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.ws-pillar {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.ws-pillar-icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(179, 250, 125, 0.1);
  border: 1px solid rgba(179, 250, 125, 0.22);
  color: var(--accent);
}

.ws-pillar-icon svg {
  width: 18px;
  height: 18px;
}

.ws-pillar h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: #f4f5f8;
}

.ws-pillar p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(210, 216, 224, 0.68);
  text-wrap: pretty;
}

@keyframes ws-card-enter {
  from { opacity: 0; transform: translate3d(0, 10px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes ws-char-badge-pulse {
  0%, 100% { border-color: rgba(255, 255, 255, 0.14); color: rgba(242, 244, 248, 0.78); transform: translateY(0); }
  18%, 32% { border-color: var(--accent); color: #ffffff; background: rgba(20, 26, 18, 0.88); transform: translateY(-1px); }
}
@keyframes ws-moss-box-glow {
  0%, 100% { opacity: 0.62; }
  20%, 36% { opacity: 1; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 0 14px rgba(255, 255, 255, 0.08); }
}
@keyframes ws-brush-stroke {
  0%, 8% { stroke-dashoffset: 220; opacity: 0; }
  14% { opacity: 1; }
  36% { stroke-dashoffset: 0; opacity: 1; }
  48%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes ws-brush-cursor {
  0%, 8% { opacity: 0; left: 70%; top: 76%; transform: translate(-50%, -50%) scale(0.75); }
  14% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  36% { opacity: 1; left: 74%; top: 26%; transform: translate(-50%, -50%) scale(1); }
  46%, 100% { opacity: 0; left: 74%; top: 26%; transform: translate(-50%, -50%) scale(0.8); }
}
@keyframes ws-brush-reveal {
  0%, 34% { opacity: 0; }
  46%, 86% { opacity: 1; }
  96%, 100% { opacity: 0; }
}
@keyframes ws-retouch-wipe {
  0%, 12% { clip-path: inset(0 78% 0 0); }
  45%, 58% { clip-path: inset(0 18% 0 0); }
  88%, 100% { clip-path: inset(0 78% 0 0); }
}
@keyframes ws-retouch-line {
  0%, 12% { left: 22%; }
  45%, 58% { left: 82%; }
  88%, 100% { left: 22%; }
}
@keyframes ws-merge-left {
  0%, 20% { transform: translateX(-8px) rotate(-6deg) scale(1); opacity: 1; }
  36% { transform: translateX(46px) rotate(0deg) scale(0.92); opacity: 1; }
  44%, 82% { transform: translateX(46px) rotate(0deg) scale(0.88); opacity: 0; }
  92%, 100% { transform: translateX(-8px) rotate(-6deg) scale(1); opacity: 1; }
}
@keyframes ws-merge-right {
  0%, 20% { transform: translateX(8px) rotate(6deg) scale(1); opacity: 1; }
  36% { transform: translateX(-46px) rotate(0deg) scale(0.92); opacity: 1; }
  44%, 82% { transform: translateX(-46px) rotate(0deg) scale(0.88); opacity: 0; }
  92%, 100% { transform: translateX(8px) rotate(6deg) scale(1); opacity: 1; }
}
@keyframes ws-merge-plus {
  0%, 20% { opacity: 1; transform: scale(1); }
  32%, 84% { opacity: 0; transform: scale(0.5); }
  92%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes ws-merge-result {
  0%, 32% { opacity: 0; transform: scale(1.03); }
  42%, 82% { opacity: 1; transform: scale(1); }
  92%, 100% { opacity: 0; transform: scale(1.02); }
}
@keyframes ws-outpaint-breathe {
  0%, 18% { inset: 14% 29%; }
  46%, 78% { inset: 7% 6%; }
  94%, 100% { inset: 14% 29%; }
}
@keyframes ws-cutout-bg-fade {
  0%, 16% { opacity: 1; }
  36%, 78% { opacity: 0; }
  92%, 100% { opacity: 1; }
}
@keyframes ws-cutout-lift {
  0%, 16% { transform: translateY(0) scale(1); }
  38%, 78% { transform: translateY(-6px) scale(1.035); }
  92%, 100% { transform: translateY(0) scale(1); }
}

@media (max-width: 1040px) {
  .ws-cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws-pillars { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .ws-cap-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Runtime Cloud-Drive Download Modal (Gaussian Blur Backdrop + Spring Motion)
   ========================================================================== */
.rt-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 8, 10, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.rt-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.rt-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 105;
  width: min(460px, calc(100vw - 32px));
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: 22px 22px 20px;
  border-radius: 22px;
  background: rgba(18, 22, 23, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 12px)) scale(0.95);
  transition: opacity 150ms ease, transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rt-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.rt-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.rt-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 680;
  letter-spacing: -0.02em;
  color: #f4f7f5;
}

.rt-modal-sub {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(206, 218, 212, 0.72);
}

.rt-modal-close {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(235, 242, 238, 0.8);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}

.rt-modal-close:hover {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

.rt-modal-close:active {
  transform: scale(0.94);
}

.rt-modal-close svg {
  width: 15px;
  height: 15px;
}

.rt-modal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.rt-drive-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #eef4f0;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.rt-drive-item:hover {
  background: rgba(179, 250, 125, 0.09);
  border-color: rgba(179, 250, 125, 0.34);
}

.rt-drive-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.rt-drive-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #f4f7f5;
}

.rt-drive-note {
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(235, 198, 130, 0.86);
}

.rt-drive-arrow {
  flex: none;
  width: 16px;
  height: 16px;
  color: rgba(210, 224, 216, 0.56);
  transition: color 160ms ease;
}

.rt-drive-item:hover .rt-drive-arrow {
  color: var(--accent);
}

.guide-disk-warn {
  margin: 14px 0 0;
  padding: 10px 13px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border-radius: 12px;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.34);
  color: #fca5a5;
  font-size: 13px;
  line-height: 1.6;
  text-wrap: pretty;
}

.guide-disk-warn svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: #f87171;
}

.guide-disk-warn strong {
  color: #fecaca;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
