/* ==========================================================================
   《命运折叠》AI互动影游项目书 - 现代电影级样式表
   Design System: Neo-Noir Cinematic / High-Tech Evidence Lab
   ========================================================================== */

:root {
  --bg-dark: #08090C;
  --bg-card: rgba(18, 22, 31, 0.82);
  --bg-card-hover: rgba(26, 32, 45, 0.95);
  --bg-darker: #050608;
  
  --text-main: #EDEDF2;
  --text-muted: #9EA3B5;
  --text-dim: #64697B;
  
  --accent-red: #FF3344;
  --accent-red-glow: rgba(255, 51, 68, 0.28);
  --accent-amber: #FFB300;
  --accent-amber-glow: rgba(255, 179, 0, 0.22);
  --accent-cyan: #00E5FF;
  --accent-cyan-glow: rgba(0, 229, 255, 0.25);
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 255, 255, 0.22);
  
  --font-serif: "Noto Serif SC", "Cinzel", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Space Grotesk", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

body {
  font-family: var(--font-sans);
  background-color: transparent;
  color: var(--text-main);
  line-height: 1.68;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Atmosphere */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
}

.glow-red {
  top: -150px;
  left: 10%;
  background: radial-gradient(circle, var(--accent-red) 0%, transparent 70%);
}

.glow-amber {
  bottom: 20%;
  right: 5%;
  background: radial-gradient(circle, var(--accent-amber) 0%, transparent 70%);
}

/* ==========================================================================
   Global Frosted Poster Backdrop (电影级磨砂海报全局背景)
   ========================================================================== */
.site-backdrop-fixed {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.backdrop-poster-layer {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  background-image: url('../assets/images/hero-poster-master.png');
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(0.72) contrast(1.22) saturate(1.25);
  opacity: 0.88;
  transform: scale(1.04);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* 磨砂质感核心层：结合高斯模糊、微暗色阶与轻微沉浸渐变 */
.backdrop-frost-layer {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  background: radial-gradient(circle at 70% 32%, rgba(20, 24, 36, 0.35) 0%, rgba(8, 9, 12, 0.62) 50%, rgba(5, 6, 8, 0.86) 100%),
              linear-gradient(180deg, rgba(8, 9, 12, 0.18) 0%, rgba(8, 9, 12, 0.52) 100%);
}

.backdrop-vignette-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 35%, rgba(8, 9, 12, 0.65) 100%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: #FFFFFF;
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: #B2B7C8;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Section Common */
.section {
  position: relative;
  padding: 100px 0;
  z-index: 2;
}

.section-darker {
  background-color: rgba(5, 6, 8, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  margin-bottom: 56px;
  text-align: left;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 179, 0, 0.1);
  border: 1px solid rgba(255, 179, 0, 0.25);
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-family: var(--font-serif);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #FFFFFF 30%, #CFD4E2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.1rem;
  max-width: 780px;
  color: #9EA3B5;
  line-height: 1.7;
}

/* ==========================================================================
   Badges & Buttons
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.badge-accent {
  background: rgba(255, 51, 68, 0.15);
  color: #FF5A69;
  border: 1px solid rgba(255, 51, 68, 0.4);
}

.badge-outline {
  background: rgba(255, 255, 255, 0.04);
  color: #D2D6E3;
  border: 1px solid var(--border-light);
}

.badge-company {
  background: rgba(255, 179, 0, 0.12);
  color: #FFC033;
  border: 1px solid rgba(255, 179, 0, 0.35);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #FF3344 0%, #D81B2D 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px var(--accent-red-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(255, 51, 68, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #DCE0ED;
  border-color: var(--border-light);
}

.btn-outline:hover {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 9, 12, 0.75);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(8, 9, 12, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--accent-red);
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-size: 0.9rem;
  color: #9EA3B5;
  font-weight: 500;
}

.nav-links a:hover, .nav-links a.active {
  color: #FFFFFF;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFF;
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: brightness(0.66) contrast(1.18) saturate(1.15);
  transform: scale(1.02);
  animation: heroBreathing 24s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroBreathing {
  0% {
    transform: scale(1.02) translate(0, 0);
  }
  50% {
    transform: scale(1.06) translate(-1%, -0.8%);
  }
  100% {
    transform: scale(1.04) translate(0.8%, 0.5%);
  }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 66% 36%, rgba(8, 9, 12, 0.15) 0%, rgba(8, 9, 12, 0.72) 58%, rgba(8, 9, 12, 0.97) 100%),
              linear-gradient(to bottom, rgba(8, 9, 12, 0.45) 0%, transparent 22%, rgba(8, 9, 12, 0.65) 75%, rgba(8, 9, 12, 0.98) 100%);
}

.hero-content {
  position: relative;
  max-width: 980px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.05;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-subtitle {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 600;
  color: #B4B9CB;
  margin-top: 10px;
  letter-spacing: 3px;
}

.hero-subtitle .symbol {
  color: var(--accent-red);
  margin: 0 8px;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: #E2E6F2;
  margin-bottom: 40px;
  line-height: 1.45;
}

.highlight-red {
  color: #FF4D5D;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(255, 51, 68, 0.4);
}

.hero-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.spec-card {
  background: rgba(18, 22, 31, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: var(--transition);
}

.spec-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  background: rgba(26, 32, 45, 0.85);
}

.spec-num {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-amber);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.spec-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  display: block;
  margin-bottom: 4px;
}

.spec-desc {
  font-size: 0.8rem;
  color: #8C92A6;
  line-height: 1.4;
  display: block;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   01 / Concept Section
   ========================================================================== */
/* 1024 Update: Concept Summary Strip */
.concept-summary-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: rgba(18, 22, 31, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px 26px;
  margin-bottom: 32px;
}

.cs-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cs-num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-amber);
}

.cs-info strong {
  display: block;
  font-size: 0.92rem;
  color: #FFF;
}

.cs-info span {
  font-size: 0.8rem;
  color: #8E94A8;
}

.cs-divider {
  width: 1px;
  height: 36px;
  background: var(--border-light);
}

.cs-action-tag {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.cs-tag-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-red);
}

.cs-action-tag strong {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: var(--accent-amber);
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.concept-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.concept-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-active);
  background: var(--bg-card-hover);
}

.card-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #8C92A6;
  margin-bottom: 10px;
}

.card-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.card-status {
  font-size: 0.88rem;
  font-family: var(--font-mono);
  color: var(--accent-amber);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.card-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #B5BBCB;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-footer-tags span {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  color: #D0D4E4;
}

.concept-char-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.concept-avatar {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.card-glow-purple:hover {
  box-shadow: 0 10px 30px rgba(186, 104, 200, 0.35);
  border-color: rgba(186, 104, 200, 0.5);
}

.card-glow-red:hover {
  box-shadow: 0 10px 30px var(--accent-red-glow);
  border-color: rgba(255, 51, 68, 0.5);
}

.card-glow-amber:hover {
  box-shadow: 0 10px 30px var(--accent-amber-glow);
  border-color: rgba(255, 179, 0, 0.5);
}

.card-glow-blue:hover {
  box-shadow: 0 10px 30px var(--accent-cyan-glow);
  border-color: rgba(0, 229, 255, 0.5);
}

/* Product Form Box */
.product-form-box {
  background: linear-gradient(135deg, rgba(22, 28, 40, 0.9) 0%, rgba(14, 18, 26, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pf-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.pf-icon {
  font-size: 1.6rem;
}

.pf-header h4 {
  font-size: 1.25rem;
  color: #FFFFFF;
}

.pf-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.pf-step {
  flex: 1;
  min-width: 200px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.pf-step-num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-amber);
}

.pf-step-info strong {
  display: block;
  font-size: 0.95rem;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.pf-step-info span {
  font-size: 0.8rem;
  color: #8D93A6;
}

.pf-arrow {
  color: var(--accent-amber);
  font-size: 1.4rem;
  font-weight: bold;
}

/* ==========================================================================
   02 / Story Section
   ========================================================================== */
.story-acts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.act-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  transition: var(--transition);
}

.act-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
}

.act-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  margin-bottom: 12px;
}

.act-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.act-desc {
  font-size: 0.92rem;
  line-height: 1.68;
  color: #A6ACBF;
  margin-bottom: 20px;
}

.act-tag {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--accent-amber);
  padding: 4px 8px;
  background: rgba(255, 179, 0, 0.08);
  border-radius: var(--radius-sm);
  display: inline-block;
}

.proposition-quote-box {
  background: linear-gradient(135deg, rgba(30, 16, 20, 0.8) 0%, rgba(18, 22, 31, 0.8) 100%);
  border-left: 4px solid var(--accent-red);
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 36px 40px;
  position: relative;
}

.quote-symbol {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent-red);
  opacity: 0.4;
  position: absolute;
  top: 15px;
  left: 20px;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: #FFFFFF;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}

.quote-author {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--accent-amber);
  text-align: right;
}

/* ==========================================================================
   03 / Characters Section
   ========================================================================== */
.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.char-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.char-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.char-img-wrapper {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.char-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.1) brightness(0.92);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.char-card:hover .char-img {
  transform: scale(1.05);
}

.char-role-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(8, 9, 12, 0.85);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent-amber);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 179, 0, 0.3);
}

.char-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.char-name {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.char-identity {
  font-size: 0.88rem;
  color: var(--accent-red);
  font-weight: 600;
  margin-bottom: 8px;
}

.char-motto {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.86rem;
  color: #8F95A8;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.char-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.84rem;
  color: #B5BBCB;
}

.char-points strong {
  color: #E2E6F2;
}

.sub-characters-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.sub-char-pill {
  background: rgba(18, 22, 31, 0.6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: var(--transition);
}

.sub-char-pill:hover {
  background: rgba(26, 32, 45, 0.85);
  border-color: rgba(255, 255, 255, 0.2);
}

.sub-char-name {
  font-weight: 700;
  color: #FFFFFF;
  font-size: 0.95rem;
}

.sub-char-role {
  font-size: 0.8rem;
  color: #8C92A6;
}

/* ==========================================================================
   04 / Chapter Map Section
   ========================================================================== */
/* 1024 Update: Fate Flow Intersection Tracks */
.fate-flow-card {
  background: rgba(14, 18, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fate-flow-track {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.track-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.track-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

.badge-zhou {
  background: rgba(255, 179, 0, 0.15);
  color: #FFB300;
  border: 1px solid rgba(255, 179, 0, 0.3);
}

.badge-anran {
  background: rgba(0, 229, 255, 0.15);
  color: #00E5FF;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.badge-aming {
  background: rgba(255, 51, 68, 0.15);
  color: #FF5A69;
  border: 1px solid rgba(255, 51, 68, 0.3);
}

.track-chapters {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #8E94A8;
}

.track-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.t-step {
  font-size: 0.86rem;
  color: #D2D6E3;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.highlight-step {
  color: var(--accent-amber);
  border-color: var(--accent-amber);
  font-weight: 700;
  box-shadow: 0 0 10px var(--accent-amber-glow);
}

.highlight-step-cyan {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  font-weight: 700;
  box-shadow: 0 0 10px var(--accent-cyan-glow);
}

.highlight-step-red {
  color: var(--accent-red);
  border-color: var(--accent-red);
  font-weight: 700;
  box-shadow: 0 0 10px var(--accent-red-glow);
}

.t-arrow {
  color: #64697B;
  font-weight: bold;
}

.fate-lin-bridge {
  background: rgba(186, 104, 200, 0.1);
  border-left: 3px solid #BA68C8;
  padding: 12px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.bridge-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #CE93D8;
  white-space: nowrap;
}

.fate-lin-bridge p {
  font-size: 0.85rem;
  color: #E1BEE7;
  margin: 0;
}

.chapter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.ch-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: #A0A6B8;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.ch-tab:hover {
  color: #FFF;
  border-color: rgba(255, 255, 255, 0.2);
}

.ch-tab.active {
  background: var(--accent-red);
  color: #FFFFFF;
  border-color: var(--accent-red);
  box-shadow: 0 4px 14px var(--accent-red-glow);
}

.chapter-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.chapter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.chapter-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  background: var(--bg-card-hover);
}

.ch-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.ch-badge.zhou {
  background: rgba(255, 179, 0, 0.15);
  color: #FFB300;
  border: 1px solid rgba(255, 179, 0, 0.3);
}

.ch-badge.aming {
  background: rgba(255, 51, 68, 0.15);
  color: #FF5A69;
  border: 1px solid rgba(255, 51, 68, 0.3);
}

.ch-badge.anran {
  background: rgba(0, 229, 255, 0.15);
  color: #00E5FF;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.ch-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #FFF;
}

.ch-desc {
  font-size: 0.85rem;
  color: #9EA3B5;
  line-height: 1.6;
}

/* ==========================================================================
   05 / Perspectives Section
   ========================================================================== */
.perspectives-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.persp-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
}

.persp-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
}

.persp-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #8C92A6;
  display: block;
  margin-bottom: 6px;
}

.persp-head-with-avatar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.persp-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-amber);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.persp-aming .persp-avatar {
  border-color: var(--accent-red);
}

.persp-anran .persp-avatar {
  border-color: var(--accent-cyan);
}

.persp-head h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.persp-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--accent-amber);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.persp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.persp-list li {
  font-size: 0.9rem;
  color: #B5BBCB;
  line-height: 1.55;
  position: relative;
  padding-left: 18px;
}

.persp-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-red);
  font-size: 1.2rem;
  line-height: 1;
}

.persp-list strong {
  color: #FFF;
}

.lin-highlight-box {
  background: linear-gradient(135deg, rgba(20, 26, 38, 0.85) 0%, rgba(12, 16, 24, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.lin-avatar {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent-amber);
}

.lin-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lin-text h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: #FFF;
}

.lin-text p {
  font-size: 0.9rem;
  color: #A4AABF;
  line-height: 1.6;
}

/* ==========================================================================
   06 / Game System Section
   ========================================================================== */
.game-loop-grid {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.loop-step {
  flex: 1;
  min-width: 180px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}

.loop-step:hover {
  border-color: var(--accent-red);
  transform: translateY(-4px);
}

.loop-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 8px;
}

.loop-step h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.loop-step p {
  font-size: 0.82rem;
  color: #9EA3B5;
  line-height: 1.5;
}

.loop-connector {
  display: flex;
  align-items: center;
  color: var(--accent-amber);
  font-size: 1.4rem;
  font-weight: bold;
}

.state-machine-box {
  background: #0B0E14;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.sm-title {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}

.sm-visual-flow {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 16px;
}

.flow-node {
  flex: 1;
  min-width: 170px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition);
}

.flow-node:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--accent-amber);
  transform: translateY(-2px);
}

.fn-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.fn-title {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFF;
}

.fn-desc {
  font-size: 0.8rem;
  color: #9EA3B5;
  line-height: 1.45;
}

.flow-arrow {
  display: flex;
  align-items: center;
  color: var(--accent-amber);
  font-size: 1.3rem;
  font-weight: bold;
}

.sm-note {
  font-size: 0.84rem;
  color: #7E8599;
}

/* ==========================================================================
   07-08 / Interactive Prototype
   ========================================================================== */
.prototype-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.proto-scene-media {
  position: relative;
  background: #000;
  min-height: 420px;
}

.proto-scene-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.15) brightness(0.9);
}

.proto-hud-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.hud-tag {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hud-status {
  background: rgba(255, 51, 68, 0.85);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #FFF;
  font-weight: bold;
  animation: pulseHud 2s infinite ease-in-out;
}

@keyframes pulseHud {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.proto-interactive-panel {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(14, 18, 26, 0.92);
}

.proto-context {
  margin-bottom: 24px;
}

.context-role-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.context-char-mini {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-amber);
  box-shadow: 0 0 12px var(--accent-amber-glow);
  flex-shrink: 0;
}

.context-role-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #8C92A6;
  display: block;
}

.context-role {
  font-size: 0.95rem;
  color: var(--accent-amber);
  margin-top: 2px;
}

.context-situation {
  font-size: 0.95rem;
  color: #C0C6D8;
  line-height: 1.6;
}

.choice-buttons-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.choice-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  color: inherit;
  transition: var(--transition);
}

.choice-btn:hover {
  background: rgba(255, 51, 68, 0.12);
  border-color: var(--accent-red);
  transform: translateX(6px);
}

.choice-btn.selected {
  background: rgba(255, 51, 68, 0.2);
  border-color: var(--accent-red);
  box-shadow: 0 0 16px var(--accent-red-glow);
}

.choice-letter {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-amber);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-sm);
}

.choice-content strong {
  display: block;
  font-size: 1rem;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.choice-content span {
  font-size: 0.82rem;
  color: #8E94A8;
}

.choice-arrow {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--border-light);
  transition: var(--transition);
}

.choice-btn:hover .choice-arrow {
  color: var(--accent-red);
  transform: translateX(4px);
}

/* Result Box */
.proto-result-box {
  margin-top: 16px;
  animation: fadeInResult 0.4s ease-out;
}

@keyframes fadeInResult {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-header {
  margin-bottom: 16px;
}

.result-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: var(--accent-amber);
  color: #000;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 6px;
}

.result-title {
  font-size: 1.25rem;
  color: #FFF;
}

.result-steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.r-step {
  display: flex;
  gap: 12px;
  font-size: 0.86rem;
  color: #B5BBCB;
  line-height: 1.5;
}

.r-step-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-red);
  width: 20px;
  flex-shrink: 0;
}

.r-step-text strong {
  color: #FFFFFF;
}

.proto-action-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   09 / Evidence Reconstruction
   ========================================================================== */
.evidence-lab-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.ev-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-light);
}

.ev-feed {
  background: #090C11;
  padding: 24px;
}

.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.feed-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.feed-time {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #8E94A8;
}

.feed-screen {
  height: 280px;
  background: #040608;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}

.feed-screen-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.15) brightness(0.92);
  z-index: 1;
  transition: transform 0.6s ease;
}

.feed-screen:hover .feed-screen-bg {
  transform: scale(1.03);
}

.scanlines {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.35) 50%),
              linear-gradient(90deg, rgba(255,0,0,0.06), rgba(0,255,0,0.02), rgba(0,0,255,0.06));
  background-size: 100% 4px, 6px 100%;
  pointer-events: none;
  z-index: 2;
}

.feed-person-box {
  position: absolute;
  z-index: 3;
}

.feed-person-box.pos-cam1 {
  bottom: 15px;
  left: 54%;
  transform: translateX(-50%);
  width: 125px;
  height: 175px;
}

.feed-person-box.pos-cam7 {
  bottom: 25px;
  left: 58%;
  transform: translateX(-50%);
  width: 115px;
  height: 165px;
}

.target-box {
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(0, 229, 255, 0.85);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.35);
  animation: targetPulse 2.5s infinite ease-in-out;
}

@keyframes targetPulse {
  0%, 100% { border-color: rgba(0, 229, 255, 0.85); box-shadow: 0 0 16px rgba(0, 229, 255, 0.35); }
  50% { border-color: rgba(0, 229, 255, 0.45); box-shadow: 0 0 8px rgba(0, 229, 255, 0.15); }
}

.target-box.alert-target {
  border-color: var(--accent-red);
  box-shadow: 0 0 16px var(--accent-red-glow);
  animation: alertTargetPulse 2s infinite ease-in-out;
}

@keyframes alertTargetPulse {
  0%, 100% { border-color: rgba(255, 51, 68, 0.9); box-shadow: 0 0 16px var(--accent-red-glow); }
  50% { border-color: rgba(255, 51, 68, 0.45); box-shadow: 0 0 8px rgba(255, 51, 68, 0.2); }
}

.target-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: rgba(0, 0, 0, 0.88);
  color: #FFF;
  padding: 2px 6px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

.feed-location {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-size: 0.72rem;
  color: #C0C6D8;
  font-family: var(--font-mono);
  z-index: 4;
  background: rgba(4, 6, 8, 0.8);
  backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feed-desc {
  font-size: 0.88rem;
  color: #B5BBCB;
  line-height: 1.55;
}

.ev-tools-panel {
  padding: 30px;
  background: #0E131C;
  border-top: 1px solid var(--border-light);
}

.ev-tools-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.ev-tools-header h4 {
  font-size: 1.15rem;
  color: #FFF;
}

.ev-prompt {
  font-size: 0.8rem;
  color: var(--accent-amber);
  font-family: var(--font-mono);
}

.ev-buttons-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.ev-tool-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: #D2D8EB;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.ev-tool-btn:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--accent-cyan);
  color: #FFF;
}

.ev-tool-btn.active {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--accent-cyan);
  color: #FFF;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.25);
}

.tool-icon {
  font-size: 1.2rem;
}

.ev-clue-display {
  background: #06080C;
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 24px;
}

.clue-title-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--accent-cyan);
  font-size: 1.05rem;
}

.clue-detail {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #D2D8EB;
  margin-bottom: 16px;
}

.clue-conclusion {
  background: rgba(255, 51, 68, 0.1);
  border-left: 3px solid var(--accent-red);
  padding: 10px 14px;
  font-size: 0.9rem;
  color: #FF8591;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ==========================================================================
   10-11 / Branch Consequences & Matrix
   ========================================================================== */
.three-layers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.layer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.layer-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
}

.layer-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-amber);
  margin-bottom: 8px;
}

.layer-card h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.layer-slogan {
  font-size: 0.88rem;
  color: var(--accent-red);
  font-weight: 600;
  margin-bottom: 14px;
}

.layer-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #A9AFBF;
  margin-bottom: 20px;
  flex-grow: 1;
}

.layer-foot {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #798094;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.matrix-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.matrix-table th, .matrix-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
}

.matrix-table th {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-amber);
  background: rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
}

.matrix-table td {
  font-size: 0.9rem;
  color: #B5BBCB;
}

.tag-choice {
  font-family: var(--font-mono);
  font-weight: 700;
  background: rgba(255, 51, 68, 0.15);
  color: #FF5A69;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 51, 68, 0.3);
}

/* 1024 Update: Formula Badge in State Machine */
.sm-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.sm-formula-badge {
  background: rgba(255, 179, 0, 0.12);
  border: 1px solid rgba(255, 179, 0, 0.35);
  color: #FFC107;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   14-15 / Benchmarks & Differentiation (1024 Update)
   ========================================================================== */
.benchmarks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.benchmark-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.benchmark-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.bm-poster-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #000;
}

.bm-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.benchmark-card:hover .bm-poster {
  transform: scale(1.05);
}

.bm-year {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(8, 9, 12, 0.85);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-amber);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 179, 0, 0.3);
}

.bm-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bm-title {
  font-size: 1.35rem;
  margin-bottom: 4px;
  color: #FFF;
}

.bm-highlight {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.bm-takeaway {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #B5BBCB;
}

.diff-core-box {
  background: linear-gradient(135deg, rgba(20, 26, 38, 0.9) 0%, rgba(12, 16, 24, 0.95) 100%);
  border: 1px solid rgba(255, 179, 0, 0.3);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.diff-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--accent-amber);
  margin-bottom: 8px;
  display: inline-block;
}

.diff-header h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 8px;
}

.diff-header p {
  font-size: 0.95rem;
  color: #9EA3B5;
  margin-bottom: 24px;
}

.diff-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.diff-item {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 14px;
  transition: var(--transition);
}

.diff-item:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  background: rgba(0, 0, 0, 0.55);
}

.diff-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}

.diff-text strong {
  display: block;
  font-size: 0.98rem;
  color: #FFF;
  margin-bottom: 4px;
}

.diff-text span {
  font-size: 0.84rem;
  color: #9EA3B5;
  line-height: 1.5;
  display: block;
}

.highlight-ai-diff {
  border-color: rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.05);
}

.highlight-ai-diff:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 6px 20px var(--accent-cyan-glow);
}

/* ==========================================================================
   16 / Visual Identity & AI Pipeline
   ========================================================================== */
.visuals-trio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.vis-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}

.vis-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
}

.vis-img-wrapper {
  height: 220px;
  overflow: hidden;
}

.vis-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vis-card:hover .vis-img {
  transform: scale(1.05);
}

.vis-meta {
  padding: 22px;
}

.vis-meta h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: #FFF;
}

.vis-meta p {
  font-size: 0.86rem;
  color: #9EA3B5;
  line-height: 1.55;
}

.ai-pipeline-box {
  background: linear-gradient(135deg, rgba(20, 24, 34, 0.9) 0%, rgba(12, 14, 20, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.pipeline-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.pipeline-icon {
  font-size: 2.2rem;
}

.pipeline-header h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.pipeline-header p {
  font-size: 0.92rem;
  color: #A0A6B8;
}

.lock-rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.lock-rule {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}

.lock-rule:hover {
  border-color: var(--accent-amber);
  background: rgba(0, 0, 0, 0.55);
}

.rule-num {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-amber);
  display: block;
  margin-bottom: 4px;
}

.lock-rule h5 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #FFF;
}

.lock-rule p {
  font-size: 0.82rem;
  color: #9EA3B5;
  line-height: 1.5;
}

/* ==========================================================================
   13 / Roadmap & Delivery
   ========================================================================== */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.deliv-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  transition: var(--transition);
}

.deliv-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-amber);
}

.deliv-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.deliv-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-amber);
  margin-bottom: 8px;
}

.deliv-card h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #FFF;
}

.deliv-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #A9AFBF;
}

.deliv-card strong {
  color: #FFF;
}

.investment-contact-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 51, 68, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.invest-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.invest-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.32) contrast(1.2);
}

.invest-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 9, 12, 0.92) 0%, rgba(8, 9, 12, 0.7) 100%);
}

.invest-inner {
  position: relative;
  z-index: 1;
  padding: 56px 48px;
  max-width: 840px;
}

.company-brand {
  margin-bottom: 16px;
}

.co-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--accent-red);
}

.co-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-top: 4px;
}

.co-tagline {
  font-size: 1.15rem;
  color: #D2D8EB;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.contact-row {
  display: flex;
  font-size: 0.92rem;
}

.c-label {
  color: #8E94A8;
  width: 100px;
  flex-shrink: 0;
}

.c-val {
  color: #FFF;
  font-weight: 500;
}

.invest-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-light);
  padding: 40px 0;
  background: #050608;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left p {
  font-size: 0.88rem;
  color: #7A8094;
}

.footer-note {
  font-size: 0.78rem !important;
  color: #555A6B !important;
  margin-top: 4px;
}

.footer-right {
  display: flex;
  gap: 10px;
}

/* ==========================================================================
   Presentation Deck Mode Controls & Shortcut Floating Tip
   ========================================================================== */
.deck-controls {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(14, 18, 26, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-active);
  border-radius: 9999px;
  padding: 6px 14px;
  display: none;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

body.deck-mode-active .deck-controls {
  display: flex;
}

.deck-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.3rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.deck-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-amber);
}

.deck-exit {
  font-size: 0.95rem;
  color: var(--accent-red);
}

.deck-page-indicator {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-amber);
  font-weight: 700;
  padding: 0 4px;
}

.deck-key-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  font-size: 0.75rem;
  color: #8E94A8;
}

/* Keyboard Tag (<kbd>) */
kbd {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #E2E6F2;
  line-height: 1.4;
  vertical-align: middle;
}

/* Transparent Shortcut Floating Tip (Bottom-Right) */
.shortcut-tip-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(14, 18, 26, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  padding: 8px 16px 8px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.shortcut-tip-pill:hover {
  background: rgba(18, 24, 34, 0.92);
  border-color: rgba(255, 179, 0, 0.4);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

/* When Deck Mode Active: Hide the standalone tip pill to avoid duplication */
body.deck-mode-active .shortcut-tip-pill {
  display: none !important;
}

.tip-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.tip-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tip-title {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--accent-amber);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.tip-desc {
  font-size: 0.82rem;
  color: #D2D6E3;
}

.tip-close-btn {
  background: transparent;
  border: none;
  color: #7E8599;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.tip-close-btn:hover {
  color: #FFFFFF;
}

.shortcut-tip-pill.dismissed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

/* When Deck Mode Active */
body.deck-mode-active {
  overflow: hidden;
}

body.deck-mode-active .section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

/* ==========================================================================
   Responsive & Print Media Queries
   ========================================================================== */
@media (max-width: 992px) {
  .prototype-card {
    grid-template-columns: 1fr;
  }
  .ev-compare-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .site-header.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #08090C;
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
  }
}

@media (max-width: 768px) {
  .pf-arrow {
    display: none;
  }
  .loop-connector {
    display: none;
  }
  .invest-inner {
    padding: 36px 24px;
  }
  .section {
    padding: 60px 0;
  }
  .btn-lg {
    width: 100%;
  }
}

/* Print Optimization */
@media print {
  body {
    background: #FFFFFF !important;
    color: #111111 !important;
  }
  .noise-overlay, .ambient-glow, .site-header, .deck-controls, .hero-cta-group, .proto-action-bar, .ev-tools-panel, .choice-buttons-grid {
    display: none !important;
  }
  .section {
    padding: 30px 0 !important;
    page-break-inside: avoid;
  }
  .section-title {
    color: #000000 !important;
    -webkit-text-fill-color: initial !important;
  }
  .concept-card, .act-card, .char-card, .chapter-card, .prototype-card, .evidence-lab-card, .deliv-card {
    background: #F8F9FA !important;
    border: 1px solid #CCC !important;
    color: #111 !important;
    box-shadow: none !important;
  }
  p, span, td, th {
    color: #333333 !important;
  }
}
