@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #000000;
  --panel: #1a1a1a;
  --border: rgba(255,255,255,0.06);
  --text: #ffffff;
  --text-dim: rgba(255,255,255,0.5);
  --accent: #33CC66;
  --accent-hover: #28B858;
  --danger: #e74c3c;
  --success: #33CC66;
  --radius: 12px;
  --radius-sm: 8px;
  --scenario-progress: 0;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: block;
  overflow-x: hidden;
}


.main { display: flex; height: calc(100vh - 80px); overflow: hidden; margin-top: 80px; }

.generator-anchor {
  height: 0;
  scroll-margin-top: 0;
}

.panel-left {
  width: 380px; flex-shrink: 0;
  border-right: 1px solid var(--border);
  overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 14px;
  scrollbar-width: none;
}
.panel-left::-webkit-scrollbar { display: none; }
.depth-preview-row {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: flex-start;
}
.depth-preview-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.depth-preview-col canvas {
  max-width: 100%;
  height: auto;
}
.depth-preview-col .label {
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 4px;
  text-align: center;
}
.panel-right {
  flex: 1; position: relative;
  background: #000000;
  overflow: hidden;
  cursor: default;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}
.preview-pane {
  position: relative;
  min-width: 0;
  min-height: 0;
  background: #000000;
  overflow: hidden;
}
.preview-pane-title {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 12;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(26,26,26,0.86);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
#live3DCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  transform-origin: center center;
}
#live3DCanvas:active {
  cursor: grabbing;
}
#nakedThreeContainer {
  position: absolute;
  inset: 0;
  display: none;
  cursor: grab;
}
#nakedThreeContainer:active { cursor: grabbing; }
body.naked-eye-active #nakedThreeContainer { display: block; }
body.naked-eye-active #live3DCanvas { display: none; }
.naked-preview-stack {
  position: absolute;
  inset: 44px 16px 16px;
  display: none;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
body.naked-eye-active .naked-preview-stack { display: grid; }
body.naked-eye-active #previewCanvas,
body.naked-eye-active #toolbar,
body.naked-eye-active #previewHint { display: none; }
.naked-preview-card {
  min-height: 0;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.naked-preview-card canvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.naked-preview-label {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dim);
  background: rgba(0,0,0,0.72);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 8px;
}

.section-title {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.5px;
  display: flex; align-items: center; gap: 6px;
}
.section-title .count { font-size: 11px; color: var(--accent); }

.row { display: flex; align-items: center; gap: 8px; }
.row-label { font-size: 12px; color: var(--text-dim); white-space: nowrap; min-width: 60px; }
.row-unit { font-size: 11px; color: var(--text-dim); margin-left: 4px; }

input[type="number"], select {
  background: #111111; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 6px 8px; color: var(--text);
  font-size: 13px; outline: none; width: 80px;
}
input[type="number"]:focus, select:focus { border-color: rgba(51,204,102,0.5); }
select { width: auto; }
input[type="range"] { accent-color: var(--accent); width: 100%; }

.pixel-info {
  font-size: 11px; color: var(--accent);
  margin-top: 2px;
}

.upload-zone {
  border: 2px dashed rgba(255,255,255,0.1); border-radius: 12px;
  padding: 20px; text-align: center; cursor: pointer;
  transition: all 0.2s; background: #111111;
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--accent); background: rgba(51,204,102,0.06);
}
.upload-zone .icon { font-size: 28px; margin-bottom: 4px; }
.upload-zone .text { font-size: 12px; color: var(--text-dim); }
.upload-zone .hint { font-size: 10px; color: rgba(255,255,255,0.2); margin-top: 2px; }

.slots { display: flex; flex-direction: column; gap: 6px; }
.slot {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; background: #111111;
  border-radius: 10px; border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer; transition: border-color 0.2s;
}
.slot:hover { border-color: rgba(255,255,255,0.15); }
.slot.selected { border-color: var(--accent); background: rgba(51,204,102,0.08); }
.slot .idx {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; flex-shrink: 0;
}
.slot.selected .idx { background: var(--accent); color: #fff; }
.slot .thumb { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; background: var(--border); flex-shrink: 0; }
.slot .info { flex: 1; min-width: 0; }
.slot .name { font-size: 11px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot .meta { font-size: 9px; color: var(--text-dim); }
.slot .remove {
  width: 24px; height: 24px; border: none; background: transparent;
  color: var(--text-dim); cursor: pointer; border-radius: 4px;
  font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.slot .remove:hover { background: var(--danger); color: #fff; }

.config { display: flex; flex-direction: column; gap: 8px; }

.btn {
  padding: 0 16px; border: none; border-radius: 12px;
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 4px;
  height: 44px;
}
.btn-primary { background: var(--accent); color: #fff; width: 100%; height: 52px; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.15); color: var(--text); width: 100%; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.toolbar {
  position: absolute; top: 12px; right: 12px;
  display: flex; gap: 6px; z-index: 10;
}
.toolbar button {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06); background: var(--panel);
  color: var(--text); cursor: pointer; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.toolbar button:hover { border-color: var(--accent); }
.toolbar .zoom-val { font-size: 11px; color: var(--text-dim); min-width: 40px; text-align: center; line-height: 32px; }

.preview-hint {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  font-size: 11px; color: var(--text-dim);
  background: var(--panel); padding: 4px 12px; border-radius: 10px;
  pointer-events: none;
}

.toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--panel); border: 1px solid rgba(255,255,255,0.06);
  padding: 8px 20px; border-radius: 12px; font-size: 12px;
  z-index: 1000; animation: toastIn 0.3s ease, toastOut 0.3s ease 1.7s forwards;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(10px); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(-50%) translateY(10px); } }
.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--danger); }

.mode-tabs {
  display: flex; gap: 0; border-radius: var(--radius-sm);
  background: #111111; overflow: hidden; border: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
  transform-origin: top center;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, border-color 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.mode-tab {
  flex: 1; padding: 8px 0; border: none; background: transparent;
  color: var(--text-dim); font-size: 12px; font-weight: 600; cursor: pointer;
  transition: all 0.2s; text-align: center;
}
.mode-tab.active { background: var(--accent); color: #fff; }
.mode-tab:not(.active):hover { color: var(--text); background: rgba(255,255,255,0.03); }


.video-preview-wrap { position: relative; display: none; margin-top: 4px; }
.video-preview { width: 100%; border-radius: 6px; background: #000; display: block; }
.video-remove-btn {
  position: absolute; top: 8px; right: 8px;
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.62);
  color: #fff; cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.video-remove-btn:hover { border-color: var(--danger); color: var(--danger); }
.video-info { font-size: 10px; color: var(--text-dim); margin-top: 2px; }
.extract-progress { font-size: 11px; color: var(--accent); text-align: center; margin-top: 4px; display: none; }
.ai-depth-progress { display: none; margin-top: 8px; padding: 10px; border: 1px solid rgba(51,204,102,0.14); border-radius: 8px; background: rgba(51,204,102,0.06); }
.ai-depth-progress-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.ai-depth-progress-text { font-size: 11px; color: var(--text-dim); line-height: 1.35; }
.ai-depth-progress-pct { font-size: 11px; color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.ai-depth-progress-track { height: 6px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,0.08); }
.ai-depth-progress-fill { width: 0%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #7CFF9E); transition: width 0.45s ease; }
.extract-btn-row { display: flex; gap: 6px; }
.extract-btn-row .btn { flex: 1; }


.dual-range-container {
  display: flex; align-items: center; gap: 6px; margin-top: 6px;
}
.time-input { width: 55px !important; font-size: 11px !important; padding: 4px 6px !important; }
.dual-range-track {
  flex: 1; height: 28px; position: relative;
  display: flex; align-items: center; cursor: pointer;
}
.dual-range-bar {
  width: 100%; height: 4px; background: var(--border);
  border-radius: 2px; position: absolute; top: 50%; transform: translateY(-50%);
}
.dual-range-fill {
  position: absolute; top: 50%; height: 4px; transform: translateY(-50%);
  background: var(--accent); border-radius: 2px; pointer-events: none;
}
.dual-range-thumb {
  position: absolute; top: 50%; width: 14px; height: 14px;
  background: #fff; border: 2px solid var(--accent);
  border-radius: 50%; transform: translate(-50%, -50%);
  cursor: grab; z-index: 2; transition: box-shadow 0.15s;
}
.dual-range-thumb:hover { box-shadow: 0 0 6px rgba(51, 204, 102, 0.5); }
.dual-range-thumb:active, .dual-range-thumb.dragging { cursor: grabbing; box-shadow: 0 0 10px rgba(51, 204, 102, 0.7); }
.video-time-labels {
  display: flex; justify-content: space-between;
  font-size: 9px; color: var(--text-dim); padding: 0 3px; margin-top: -2px;
}

/* --- LANDING STYLES --- */
html {
  scroll-behavior: smooth;
}

/* --- LANDING NAVIGATION --- */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-nav.landing-nav-scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 70px;
}
body.generator-active .landing-nav,
body.scenario-pinned .landing-nav {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}

.top-scenario-tabs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 30px rgba(0,0,0,0.5);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity 0.36s cubic-bezier(0.16, 1, 0.3, 1), transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}
body.generator-active .top-scenario-tabs {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.top-scenario-tab {
  border: none;
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.top-scenario-tab:last-child { border-right: none; }
.top-scenario-tab:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}
.top-scenario-tab.active {
  color: #fff;
  background: rgba(51,204,102,0.12);
  border-bottom: 3px solid var(--accent);
}
body.scenario-pinned .landing-hero .landing-hero-glow-orb { visibility: hidden; }

.landing-nav-logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-nav-logo img {
  height: 40px;
  width: auto;
  display: block;
}

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

.landing-nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  padding: 8px 0;
}

.landing-nav-link:hover {
  color: var(--text);
}

.landing-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-nav-link:hover::after {
  width: 100%;
}

.landing-nav-cta {
  background: var(--accent);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.landing-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
}

.landing-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.landing-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.landing-nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- LANDING LAYOUT PRIMITIVES --- */
.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.landing-section {
  padding: 120px 0;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.landing-section-header {
  text-align: center;
  margin-bottom: 80px;
}

.landing-section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-section-subtitle {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- LANDING HERO SECTION --- */
.landing-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--bg);
  padding-top: 72px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border);
}

/* Background Grid Pattern */
.landing-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  pointer-events: none;
}

/* Glowing Orbs */
.landing-hero-glow-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 204, 102, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

.landing-hero-glow-orb-1 {
  top: 10%;
  left: -100px;
}

.landing-hero-glow-orb-2 {
  bottom: 10%;
  right: -100px;
  background: radial-gradient(circle, rgba(68, 136, 255, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
}

.landing-scenarios {
  --scenario-progress: 0;
  width: min(1440px, calc(100vw - 64px));
  margin: clamp(36px, 6vh, 72px) auto 0;
  position: relative;
  z-index: 3;
}
.landing-scenarios-header {
  text-align: center;
  margin-bottom: 22px;
  max-height: 500px;
  overflow: hidden;
}
.landing-scenarios-title {
  font-size: 26px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0px;
  color: var(--text);
}
.landing-scenarios-subtitle {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-dim);
}
.landing-scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.landing-scenario-card {
  background: rgba(26,26,26,0.72);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: calc(14px * (1 - var(--scenario-progress)));
  padding: calc(8px * (1 - var(--scenario-progress)));
  color: var(--text);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  box-shadow: none;
}

.landing-scenario-card:hover {
  transform: translateY(-6px);
  border-color: rgba(51,204,102,0.42);
  box-shadow: 0 24px 50px rgba(0,0,0,0.36), 0 0 28px rgba(51,204,102,0.08);
  background: rgba(26,26,26,0.92);
}
.landing-scenario-preview {
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 9px;
  overflow: hidden;
  position: relative;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  flex: 1 1 auto;
  min-height: 0;
}

.landing-scenario-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.12) 0 1px, transparent 1px 4px);
  opacity: 0.45;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.landing-scenario-stage {
  width: 62%;
  height: 106%;
  position: relative;
  transform-style: preserve-3d;
  animation: scenarioTilt 3.4s ease-in-out infinite;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,0.32));
}
.landing-scenario-surface {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255,255,255,0.9);
}
.landing-scenario-surface::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 28%, rgba(255,255,255,0.22) 48%, transparent 68%);
  transform: translateX(-60%);
  animation: scenarioSheen 3.4s ease-in-out infinite;
  mix-blend-mode: overlay;
}
.landing-scenario-caption {
  padding: 12px 2px 2px;
}

.landing-scenario-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.1px;
  color: var(--text);
}
.landing-scenario-meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-dim);
}
.landing-scenario-desc {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.72);
}
.scenario-swap { background: linear-gradient(180deg, #f7a7c0, #f7d0db); }
.scenario-animation { background: linear-gradient(180deg, #daf36a, #eef7b1); }
.scenario-depth { background: linear-gradient(180deg, #ffc9a8, #ffe0cf); }
.scenario-swap .landing-scenario-stage { width: 46%; animation-delay: -0.8s; }
.scenario-animation .landing-scenario-stage { width: 54%; animation-delay: -1.4s; }
.scenario-depth .landing-scenario-stage { width: 52%; animation-delay: -0.3s; }
.scenario-swap .landing-scenario-surface {
  background: radial-gradient(circle at 50% 40%, #c28e59 0 12%, transparent 13%), radial-gradient(circle at 42% 36%, #1b130c 0 3%, transparent 4%), radial-gradient(circle at 58% 36%, #1b130c 0 3%, transparent 4%), radial-gradient(ellipse at 50% 72%, #cfaa76 0 28%, transparent 29%), linear-gradient(180deg, #f7f0df, #caa472);
}
.scenario-animation .landing-scenario-surface {
  background: radial-gradient(ellipse at 50% 28%, #5f5f5f 0 12%, transparent 13%), linear-gradient(90deg, #1a1a1a 0 18%, #777 18% 28%, #111 28% 40%, #999 40% 46%, #222 46% 100%);
  filter: grayscale(1);
}
.scenario-depth .landing-scenario-surface {
  background: radial-gradient(circle at 50% 22%, #b16d35 0 17%, transparent 18%), radial-gradient(ellipse at 50% 60%, #b9783b 0 27%, transparent 28%), radial-gradient(circle at 42% 19%, #22160d 0 2.8%, transparent 3.2%), radial-gradient(circle at 58% 19%, #22160d 0 2.8%, transparent 3.2%), linear-gradient(180deg, #f7c89d, #ae6630);
}
@keyframes scenarioTilt {
  0%, 100% { transform: perspective(900px) rotateY(-18deg) translateX(-10px); }
  50% { transform: perspective(900px) rotateY(18deg) translateX(10px); }
}
@keyframes scenarioSheen {
  0%, 100% { transform: translateX(-70%); opacity: 0.25; }
  50% { transform: translateX(70%); opacity: 0.65; }
}

/* Right Side: Hero Text */
.landing-hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.landing-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(51, 204, 102, 0.1);
  border: 1px solid rgba(51, 204, 102, 0.2);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.landing-hero-title {
  font-size: 73px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0px;
  margin-bottom: 24px;
}

.landing-hero-title span {
  display: block;
  background: linear-gradient(135deg, #ffffff 30%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-hero-title .landing-hero-highlight {
  background: linear-gradient(135deg, #33CC66 0%, #28B858 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-hero-subtitle {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 500px;
}

.landing-hero-actions {
  display: flex;
  gap: 16px;
  width: 100%;
}

.landing-btn-primary {
  background: var(--accent);
  color: #ffffff;
  height: 54px;
  padding: 0 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(51, 204, 102, 0.2);
}

.landing-btn-primary svg {
  transition: transform 0.3s ease;
}

.landing-btn-primary:hover svg {
  transform: translateX(4px);
}

.landing-btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  height: 54px;
  padding: 0 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-btn-secondary:hover {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

/* --- LANDING GALLERY SECTION --- */
.landing-gallery {
  background-color: var(--bg);
}

.landing-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.landing-gallery-card {
  background: var(--panel);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.landing-gallery-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
              0 0 30px rgba(51, 204, 102, 0.05);
}

.landing-gallery-card-image-area {
  aspect-ratio: 1;
  background: #111111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.landing-gallery-card-image-area video,
.landing-gallery-card-image-area img.landing-gallery-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* Subtle grid overlay in gallery card placeholders */
.landing-gallery-card-image-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.landing-gallery-card-info {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.landing-gallery-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.landing-gallery-card-print-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.landing-gallery-print-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}

.landing-gallery-footer {
  text-align: center;
}

.landing-gallery-footer-text {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.landing-gallery-cta {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-gallery-cta:hover {
  color: var(--accent-hover);
}

.landing-gallery-cta svg {
  transition: transform 0.3s ease;
}

.landing-gallery-cta:hover svg {
  transform: translateX(4px);
}

/* --- LANDING PRINT GUIDE SECTION --- */
.landing-print {
  background-color: #080808;
}

.landing-print-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 80px;
}

.landing-print-column {
  background: var(--panel);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.landing-print-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  opacity: 0.8;
}

.landing-print-column.landing-print-option-b::before {
  background: #4488ff;
}

.landing-print-column-badge {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.landing-print-column-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 4px;
}

.landing-print-column-tagline {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}

.landing-print-column.landing-print-option-b .landing-print-column-tagline {
  color: #4488ff;
}

.landing-print-column-desc {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 32px;
}

.landing-print-column-desc.landing-print-desc-tight {
  margin-bottom: 20px;
}

.landing-print-lpi-wrap {
  display: block;
  overflow: hidden;
}

.landing-print-lpi-detail-img {
  float: right;
  width: 220px;
  max-width: 40%;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin: 0 0 12px 20px;
}

.landing-print-materials-list {
  list-style: none;
  margin-bottom: 32px;
}

.landing-print-materials-list li {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-print-materials-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

.landing-print-column.landing-print-option-b .landing-print-materials-list li::before {
  color: #4488ff;
}

.landing-print-purchase-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
}

.landing-print-purchase-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text);
  height: 46px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-print-purchase-btn:hover {
  border-color: var(--accent);
  background: rgba(51, 204, 102, 0.05);
}

.landing-print-column.landing-print-option-b .landing-print-purchase-btn:hover {
  border-color: #4488ff;
  background: rgba(68, 136, 255, 0.05);
}

/* --- LANDING FOOTER --- */
.landing-footer {
  background-color: var(--bg);
  padding: 60px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.landing-footer-logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.landing-footer-logo img {
  height: 28px;
  width: auto;
  display: block;
}

.landing-footer-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 24px;
}

.landing-footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
}

/* --- ANIMATIONS --- */


@keyframes rotateCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateCCW {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  .landing-hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .landing-hero-text {
    align-items: center;
  }

  .landing-hero-title {
    font-size: 63px;
  }

  .landing-hero-actions {
    justify-content: center;
  }

  .landing-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .landing-scenario-grid {
    grid-template-columns: 1fr;
  }

  .landing-print-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .landing-nav {
    padding: 0 24px;
  }

  .landing-nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }

  .landing-nav-links.active {
    transform: translateX(0);
  }

  .landing-nav-toggle {
    display: flex;
  }

  .landing-container {
    padding: 0 24px;
  }

  .landing-section {
    padding: 80px 0;
  }

  .landing-section-title {
    font-size: 28px;
  }

  .landing-hero-title {
    font-size: 49px;
  }

  .landing-print-purchase-links {
    grid-template-columns: 1fr;
  }
}
.naked-eye-output-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.naked-eye-output-card {
  background: #111111;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
  min-width: 0;
}
.naked-eye-output-card canvas {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #000;
  border-radius: 4px;
}
.naked-eye-output-card .label {
  margin-top: 4px;
  font-size: 9px;
  color: var(--text-dim);
  text-align: center;
}
.naked-eye-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.naked-eye-upload-card {
  border: 2px dashed rgba(255,255,255,0.1);
  border-radius: 12px;
  background: #111111;
  padding: 14px 8px;
  min-height: 122px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}
.naked-eye-upload-card:hover {
  border-color: var(--accent);
  background: rgba(51,204,102,0.06);
}
.naked-eye-upload-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}
.naked-eye-upload-title {
  font-size: 12px;
  font-weight: 700;
}
.naked-eye-upload-hint {
  font-size: 10px;
  color: var(--text-dim);
}

/* Scenario Card Video Preview */
.landing-scenario-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  z-index: 2;
}
.landing-scenario-preview::after {
  z-index: 3; /* Ensure lenticular lines overlay is on top of the video */
}
