/* TGSDORK 3D Scroll-Scrubbed & Bilingual Landing Page */

.landing-body {
  background: var(--bg-canvas);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

.lp-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Language Switcher */
.lp-header {
  position: relative;
  z-index: 40;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.lp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
}

.lp-brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

.lp-nav-links a {
  text-decoration: none;
  color: var(--ink-secondary);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.lp-nav-links a:hover {
  color: #ffffff;
}

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

.lp-lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lp-lang-btn {
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lp-lang-btn.active {
  background: #ffffff;
  color: #06070a;
}

/* Top Scroll-Scrubbed Progress Bar */
.lp-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.lp-scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sky-vivid), var(--pink-vivid));
}

/* Crisp Mouse Spotlight Overlay (Zero 3D Blur) */
[data-spotlight] {
  position: relative;
  overflow: hidden;
}

.lp-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  opacity: var(--glare-opacity, 0);
  background: radial-gradient(
    520px circle at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(56, 189, 248, 0.07),
    transparent 65%
  );
  transition: opacity 0.25s ease;
}

/* Hero & Crisp 3D Wireframe Canvas */
.lp-hero {
  position: relative;
  padding: 64px 0 56px;
  overflow: hidden;
}

.lp-3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.lp-grid-mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 65% 60% at 50% 40%, #000 25%, transparent 100%);
}

.lp-hero-center {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  background: rgba(21, 24, 32, 0.85);
  border: 1px solid var(--border-strong);
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 22px;
}

.lp-logo-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lp-logo-circle img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.lp-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky-vivid);
  box-shadow: 0 0 10px var(--sky-vivid);
  animation: lpPulseDot 2s ease-in-out infinite;
}

@keyframes lpPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.82); }
}

.lp-hero-title {
  font-size: clamp(2.15rem, 4.4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 16px;
  text-wrap: balance;
}

.lp-text-gradient {
  background: linear-gradient(95deg, #ffffff 0%, var(--sky-ink) 50%, var(--pink-ink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-hero-sub {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-secondary);
  max-width: 56ch;
  margin-bottom: 28px;
}

@property --beam-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes lpBeamSpin {
  to { --beam-angle: 360deg; }
}

.lp-launcher {
  position: relative;
  width: min(580px, 100%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(21, 24, 32, 0.92);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
  color: var(--ink-muted);
  box-shadow: 0 18px 45px -18px rgba(0, 0, 0, 0.8);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.lp-launcher::after,
.lp-compare-card.featured-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.25px;
  background: conic-gradient(
    from var(--beam-angle),
    transparent 0%,
    transparent 68%,
    var(--sky-vivid) 84%,
    var(--pink-vivid) 96%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: lpBeamSpin 5.5s linear infinite;
}

.lp-launcher:focus-within {
  border-color: var(--sky-vivid);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.14), 0 18px 45px -18px rgba(0, 0, 0, 0.9);
  transform: translateY(-1px);
}

.lp-launcher input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 13.5px;
  padding: 6px 0;
  min-height: 28px;
  outline: none;
}

.lp-topic-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.lp-chip-label {
  font-size: 12px;
  color: var(--ink-muted);
}

.lp-topic-chip {
  border: 1px solid var(--border);
  background: rgba(21, 24, 32, 0.7);
  color: var(--ink-secondary);
  font-family: inherit;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lp-topic-chip:hover {
  border-color: var(--sky-vivid);
  color: #ffffff;
  background: rgba(56, 189, 248, 0.1);
  transform: translateY(-1px);
}

/* Eyebrow & Section Headers */
.lp-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--sky-ink);
  margin-bottom: 6px;
}

.lp-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.lp-section-head h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #ffffff;
  max-width: 36ch;
}

.lp-section-sub {
  font-size: 13px;
  color: var(--ink-muted);
  max-width: 40ch;
}

/* Interactive Pipeline Section */
.lp-pipeline-section {
  padding: 12px 0 64px;
}

.lp-pipeline-shell {
  background: var(--bg-shell);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(290px, 0.92fr) minmax(0, 1.25fr);
  gap: 18px;
  box-shadow: 0 28px 65px -28px rgba(0, 0, 0, 0.9);
}

.lp-pipeline-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.lp-step-card {
  text-align: left;
  background: var(--bg-rail);
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 15px 16px;
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.lp-step-card:hover {
  background: var(--surface);
  transform: translateX(3px);
}

.lp-step-card.active {
  background: var(--surface);
  border-color: rgba(56, 189, 248, 0.35);
}

.lp-step-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  min-width: 0;
}

.lp-step-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 7px;
  border-radius: 6px;
  flex-shrink: 0;
}

.lp-step-card.active .lp-step-num {
  background: var(--sky-vivid);
  color: #06070a;
}

.lp-step-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  flex: 1;
  min-width: 0;
}

.lp-step-badge {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.lp-step-badge.sky {
  background: var(--sky-soft);
  color: var(--sky-ink);
}

.lp-step-badge.pink {
  background: var(--pink-soft);
  color: var(--pink-ink);
}

.lp-step-badge.white {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.lp-step-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.lp-step-desc code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--sky-ink);
}

.lp-step-progress {
  margin-top: 10px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.lp-step-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sky-vivid), var(--pink-vivid));
  border-radius: 999px;
}

.lp-step-card.active .lp-step-bar {
  width: 100%;
  transition: width 5.2s linear;
}

.lp-pipeline-shell.paused .lp-step-card.active .lp-step-bar {
  width: 100%;
  transition: width 0.25s ease;
}

/* Right Stage */
.lp-pipeline-stage {
  background: var(--bg-rail);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.lp-stage-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
  min-width: 0;
}

.lp-chrome-dots {
  display: inline-flex;
  gap: 6px;
}

.lp-chrome-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

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

.lp-chrome-url {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-secondary);
  background: var(--surface);
  padding: 4px 12px;
  border-radius: 999px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-chrome-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--sky-ink);
  background: var(--sky-soft);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.lp-step-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: lpPaneEnter 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-step-pane[hidden] {
  display: none !important;
}

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

/* Step 1: Dork Terminal & Sources */
.lp-term-box {
  background: #07080c;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.lp-term-line {
  display: flex;
  gap: 8px;
  color: #ffffff;
  margin-bottom: 8px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.lp-term-prompt {
  color: var(--pink-vivid);
  font-weight: 700;
}

.lp-dork-query {
  background: rgba(56, 189, 248, 0.08);
  border-left: 2px solid var(--sky-vivid);
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--sky-ink);
  font-size: 11.5px;
  word-break: break-word;
  min-height: 34px;
}

.lp-type-caret {
  display: inline-block;
  width: 6px;
  height: 13px;
  margin-left: 3px;
  vertical-align: -2px;
  background: var(--sky-vivid);
  animation: lpCaretBlink 0.9s steps(2, start) infinite;
}

@keyframes lpCaretBlink {
  to { opacity: 0; }
}

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

.lp-source-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-step-pane.active .lp-source-item,
.lp-step-pane.active .lp-export-item {
  animation: lpStaggerIn 0.36s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.lp-step-pane.active .lp-source-item:nth-child(1),
.lp-step-pane.active .lp-export-item:nth-child(1) { animation-delay: 0.06s; }
.lp-step-pane.active .lp-source-item:nth-child(2),
.lp-step-pane.active .lp-export-item:nth-child(2) { animation-delay: 0.15s; }
.lp-step-pane.active .lp-source-item:nth-child(3),
.lp-step-pane.active .lp-export-item:nth-child(3) { animation-delay: 0.24s; }

.lp-source-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.lp-source-item:hover {
  transform: translateX(3px);
  border-color: var(--border-strong);
}

.lp-pdf-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--surface-subtle);
  color: #ffffff;
  white-space: nowrap;
}

.lp-source-meta {
  flex: 1;
  min-width: 0;
}

.lp-source-meta strong {
  display: block;
  font-size: 12.5px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-source-meta span {
  font-size: 11.5px;
  color: var(--ink-muted);
}

/* Step 2: XML Verified Sources */
.lp-xml-card {
  background: #07080c;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}

.lp-xml-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.lp-xml-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--sky-ink);
}

.lp-xml-code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: #e2e8f0;
  white-space: pre-wrap;
  word-break: break-word;
}

.lp-guard-banner {
  background: var(--surface);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 14px;
  padding: 13px 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--sky-vivid);
}

.lp-guard-banner strong {
  display: block;
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 2px;
}

.lp-guard-banner p {
  font-size: 12px;
  color: var(--ink-secondary);
}

/* Step 3: Audit & Paraphrase */
.lp-audit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lp-audit-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}

.lp-audit-lbl {
  font-size: 11.5px;
  color: var(--ink-muted);
}

.lp-audit-score {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 6px 0 8px;
}

.lp-audit-score strong {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.lp-audit-score span {
  font-size: 12px;
  color: var(--ink-secondary);
}

.lp-audit-meter {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  margin-bottom: 10px;
}

.lp-audit-meter span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sky-vivid), #38bdf8);
}

.lp-audit-meter.pink span {
  background: linear-gradient(90deg, var(--pink-vivid), var(--sky-vivid));
}

.lp-step-pane.active .lp-audit-meter span {
  width: var(--meter-target, 80%);
  transition: width 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
}

.lp-diff-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-diff-row {
  font-size: 12px;
  line-height: 1.55;
  padding: 8px 10px;
  border-radius: 9px;
}

.lp-diff-row.before {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-muted);
}

@keyframes lpHighlightSweep {
  from { background-size: 0% 100%; }
  to { background-size: 100% 100%; }
}

.lp-diff-row.after {
  background-color: rgba(56, 189, 248, 0.04);
  background-image: linear-gradient(90deg, rgba(56, 189, 248, 0.14), rgba(255, 46, 147, 0.08));
  background-repeat: no-repeat;
  border-left: 2px solid var(--sky-vivid);
  color: #ffffff;
}

.lp-step-pane.active .lp-diff-row.after {
  animation: lpHighlightSweep 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.lp-diff-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 3px;
  color: var(--sky-ink);
}

/* Step 4: Export Cards */
.lp-export-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-export-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.lp-export-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.lp-export-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-export-icon.sky {
  background: var(--sky-soft);
  color: var(--sky-ink);
}

.lp-export-icon.pink {
  background: var(--pink-soft);
  color: var(--pink-ink);
}

.lp-export-icon.white {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.lp-export-info {
  flex: 1;
  min-width: 0;
}

.lp-export-info strong {
  display: block;
  font-size: 13.5px;
  color: #ffffff;
  margin-bottom: 2px;
  overflow-wrap: anywhere;
}

.lp-export-info span {
  font-size: 12px;
  color: var(--ink-muted);
}

/* Output Sample Section */
.lp-sample-section {
  padding: 10px 0 64px;
}

.lp-sample-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.lp-sample-head h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.lp-sample-head p {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 3px;
}

.lp-sample-tabs {
  display: inline-flex;
  background: var(--surface);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lp-sample-tab {
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.lp-sample-tab.active {
  background: #ffffff;
  color: #090a0e;
  font-weight: 600;
}

.lp-sample-pane {
  animation: lpPaneEnter 0.28s ease;
}

.sample-paper-sheet {
  position: relative;
  background: var(--bg-shell);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 32px 36px;
  max-width: 880px;
  margin: 0 auto;
}

.paper-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 11.5px;
  color: var(--ink-muted);
}

.paper-badge {
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--surface-subtle);
  color: var(--sky-ink);
  font-weight: 600;
}

.paper-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 8px;
  text-align: center;
}

.paper-author {
  font-size: 12.5px;
  color: var(--ink-muted);
  text-align: center;
  margin-bottom: 22px;
}

.paper-abstract {
  background: var(--surface);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 22px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.paper-abstract strong {
  display: block;
  font-size: 12px;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.paper-keywords {
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-muted);
}

.paper-keywords strong {
  display: inline;
  margin-right: 4px;
}

.paper-body-snippet {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  font-family: var(--font-serif);
  font-size: 14.5px;
  line-height: 1.75;
  color: #e2e8f0;
}

.paper-body-snippet h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

/* Sample PPTX Deck */
.sample-slide-card {
  position: relative;
  background: var(--bg-shell);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 28px 32px;
  max-width: 880px;
  margin: 0 auto;
}

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

.slide-num-pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface-subtle);
  color: var(--pink-ink);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
}

.slide-theme-lbl {
  font-size: 11.5px;
  color: var(--ink-muted);
}

.slide-title {
  font-size: 21px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.slide-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.slide-points li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.slide-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky-vivid);
}

.slide-speaker-notes {
  background: var(--surface);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.speaker-notes-tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sky-ink);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

/* 3D Comparison Section (Replaces Old Modules) */
.lp-compare-section {
  padding: 10px 0 72px;
}

.lp-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.lp-compare-card {
  position: relative;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lp-compare-card.muted-card {
  background: var(--bg-shell);
  border: 1px solid var(--border);
}

.lp-compare-card.featured-card {
  background: linear-gradient(160deg, rgba(21, 24, 32, 0.96) 0%, rgba(11, 13, 18, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow:
    0 28px 60px -26px rgba(0, 0, 0, 0.9),
    0 0 40px -18px rgba(56, 189, 248, 0.22);
}

.lp-cmp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lp-cmp-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lp-cmp-tag.sky {
  color: var(--sky-ink);
}

.lp-cmp-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}

.lp-cmp-status.bad {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-muted);
}

.lp-cmp-status.good {
  background: var(--sky-soft);
  color: var(--sky-ink);
}

.lp-compare-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

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

.lp-cmp-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.lp-compare-card.featured-card .lp-cmp-list li {
  color: #e2e8f0;
}

.lp-cmp-list code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--sky-ink);
}

.cmp-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.cmp-icon.cross {
  background: rgba(255, 46, 147, 0.14);
  color: var(--pink-ink);
}

.cmp-icon.check {
  background: var(--sky-soft);
  color: var(--sky-vivid);
}

.lp-cmp-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* Footer */
.lp-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

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

.lp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.lp-footer-links a {
  text-decoration: none;
  font-size: 13px;
  color: var(--ink-muted);
}

.lp-footer-links a:hover {
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .lp-live-dot,
  .lp-step-pane,
  .lp-sample-pane,
  .lp-type-caret,
  .lp-launcher::after,
  .lp-compare-card.featured-card::before,
  .lp-step-pane.active .lp-source-item,
  .lp-step-pane.active .lp-export-item,
  .lp-step-pane.active .lp-diff-row.after {
    animation: none !important;
  }
}

@media (max-width: 920px) {
  .lp-pipeline-shell,
  .lp-compare-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .lp-container {
    padding: 0 16px;
  }

  .lp-nav-links {
    display: none;
  }

  .lp-pipeline-shell {
    padding: 12px;
    border-radius: 20px;
    gap: 14px;
  }

  .lp-step-card {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .lp-step-card:hover {
    transform: none;
  }

  .lp-step-badge {
    font-size: 10px;
    padding: 2px 7px;
  }

  .lp-pipeline-stage {
    padding: 12px;
    border-radius: 16px;
  }

  .lp-chrome-pill {
    display: none;
  }

  .lp-source-item {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
  }

  .lp-source-meta {
    flex: 1 1 100%;
    order: 2;
  }

  .lp-source-meta strong {
    white-space: normal;
    line-height: 1.4;
    margin-bottom: 2px;
  }

  .lp-source-item .mini-pill {
    margin-left: auto;
  }

  .lp-export-item {
    padding: 12px;
    gap: 10px;
  }

  .lp-export-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 10px;
  }

  .lp-audit-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sample-paper-sheet,
  .sample-slide-card,
  .lp-compare-card {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .lp-launcher {
    flex-direction: column;
    border-radius: 18px;
    padding: 10px;
    align-items: stretch;
  }

  .lp-launcher .btn-pill {
    width: 100%;
  }
}
