:root {
  color-scheme: dark;
  --bg: #061018;
  --bg-soft: #0a1721;
  --panel: rgba(9, 18, 27, 0.76);
  --panel-strong: rgba(10, 21, 32, 0.94);
  --line: rgba(157, 198, 226, 0.14);
  --line-strong: rgba(157, 198, 226, 0.26);
  --text: #ecf6fb;
  --muted: #93a8b8;
  --mint: #2bd5a3;
  --cyan: #46c3ff;
  --blue: #4891ff;
  --amber: #ffbe63;
  --violet: #8f7dff;
  --shadow: 0 32px 100px rgba(0, 0, 0, 0.42);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(43, 213, 163, 0.14), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(70, 195, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #07111a 0%, #061018 48%, #07141f 100%);
  color: var(--text);
  font-family: "Manrope", "Segoe UI Variable", "PingFang SC", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 92%);
  opacity: 0.22;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 20px auto 0;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 16, 24, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 34px;
  height: 34px;
}

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--text);
}

.ghost-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.ghost-button {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.primary-button {
  color: #041018;
  background: linear-gradient(135deg, #66f4c3 0%, #46c3ff 100%);
  box-shadow: 0 18px 40px rgba(70, 195, 255, 0.22);
}

.secondary-button {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.ghost-button:hover,
.primary-button:hover,
.secondary-button:hover,
.ghost-button:focus-visible,
.primary-button:focus-visible,
.secondary-button:focus-visible {
  transform: translateY(-1px);
}

main {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.opening-section,
.workflow-section,
.feature-section,
.editor-section,
.faq-section,
.download-section {
  position: relative;
  padding: 96px 0;
}

.opening-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding-top: 54px;
}

.eyebrow,
.panel-label {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-size: 0.72rem;
}

.opening-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.hero-title {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(3.4rem, 8vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-subtitle {
  margin: 18px 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--muted);
  line-height: 1.5;
  max-width: 520px;
}

.hero-features {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: rgba(147, 168, 184, 0.7);
  letter-spacing: 0.04em;
}

.opening-hero .primary-button {
  margin-top: 28px;
}

.opening-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
}

.orb-left {
  top: 60px;
  left: 50px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(43, 213, 163, 0.42), transparent 68%);
}

.orb-right {
  right: 0;
  bottom: 120px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(70, 195, 255, 0.38), transparent 70%);
}

.hero-card {
  position: relative;
  transform: none;
  transform-style: flat;
  background: linear-gradient(180deg, rgba(19, 35, 51, 0.78), rgba(6, 15, 22, 0.96));
  border: 1px solid rgba(161, 204, 232, 0.18);
  border-radius: 34px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.hero-editor-card {
  width: min(100%, 960px);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 33px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 20%);
  pointer-events: none;
}

.hero-card-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.hero-card-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.editor-window {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 12px;
}

.editor-sidebar,
.inspector-panel,
.editor-main {
  min-height: 620px;
}

/* ── New Editor Layout (matches real BKRec_Edit) ────────────── */

.editor-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 620px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.project-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 0;
}

.project-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-tag {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.64rem;
  color: var(--muted);
}

.project-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.project-chips {
  display: flex;
  gap: 6px;
}

.info-chip {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(43, 213, 163, 0.2);
  background: rgba(43, 213, 163, 0.07);
  color: var(--mint);
  font-size: 0.68rem;
  font-weight: 500;
}

.accent-chip {
  background: rgba(43, 213, 163, 0.14);
}

/* Preview Viewport */

.preview-viewport {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.preview-bg-layer {
  position: relative;
  flex: 1;
  min-height: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  padding: 24px;
  background: linear-gradient(135deg, #1a1c2e 0%, #0f1120 48%, #141628 100%);
}

.video-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(245, 249, 252, 0.96), rgba(230, 238, 244, 0.96));
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.25);
}

.webcam-pip {
  position: absolute;
  left: 32px;
  bottom: 32px;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(180deg, #1a2435, #0f1a28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  z-index: 3;
}

.webcam-pip-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(70, 195, 255, 0.2), transparent 50%);
}

.webcam-pip-face {
  position: absolute;
  inset: 12px 16px 10px;
  border-radius: 14px 14px 18px 18px;
  background:
    radial-gradient(circle at 50% 35%, #e9c7ad 0 10px, transparent 11px),
    radial-gradient(circle at 50% 78%, #163047 0 20px, transparent 21px),
    linear-gradient(180deg, #2f4f66 0 44%, #13293b 45% 100%);
}

.subtitle-overlay {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 7px 18px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.78rem;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Playback Pill */

.playback-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  max-width: 420px;
  width: 100%;
}

.pill-play-btn {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pill-play-icon {
  display: block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 9px solid rgba(255, 255, 255, 0.85);
  margin-left: 2px;
}

.pill-play-btn.is-playing .pill-play-icon {
  width: 9px;
  height: 10px;
  margin-left: 0;
  border: 0;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.85) 0 3px,
    transparent 3px 6px,
    rgba(255, 255, 255, 0.85) 6px 9px);
}

.pill-time,
.pill-duration {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
  min-width: 28px;
  flex-shrink: 0;
}

.pill-scrubber {
  position: relative;
  flex: 1;
  height: 18px;
  display: flex;
  align-items: center;
}

.pill-track {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.pill-progress {
  position: absolute;
  left: 0;
  height: 3px;
  width: 22%;
  border-radius: 999px;
  background: var(--mint);
}

.pill-thumb {
  position: absolute;
  left: 22%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.pill-chapter-mark {
  position: absolute;
  width: 1px;
  height: 7px;
  top: 6px;
  background: rgba(255, 255, 255, 0.18);
  display: block;
}

/* Timeline Panel */

.timeline-panel {
  min-height: 155px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #09090b;
  overflow: hidden;
  flex-shrink: 0;
}

.tl-toolbar {
  display: flex;
  gap: 3px;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tl-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 7px;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
  background: transparent;
  cursor: default;
  transition: background 150ms;
}

.tl-tool-btn.active {
  color: var(--mint);
  background: rgba(43, 213, 163, 0.1);
}

.tl-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
}

.time-ruler {
  display: flex;
  justify-content: space-between;
  padding: 3px 74px;
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.01);
}

.tl-tracks {
  position: relative;
  padding: 3px 0 6px;
}

.tl-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  height: 28px;
  padding: 0 10px;
}

.tl-label {
  font-size: 0.64rem;
  color: rgba(255, 255, 255, 0.35);
}

.tl-lane {
  position: relative;
  height: 18px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
}

.tl-block {
  position: absolute;
  top: 2px;
  height: 14px;
  border-radius: 5px;
  display: block;
}

.tl-teal { background: linear-gradient(90deg, rgba(43, 213, 163, 0.65), rgba(43, 213, 163, 0.88)); }
.tl-orange { background: linear-gradient(90deg, rgba(245, 158, 11, 0.55), rgba(245, 158, 11, 0.8)); }
.tl-blue { background: linear-gradient(90deg, rgba(59, 130, 246, 0.55), rgba(59, 130, 246, 0.8)); }
.tl-green { background: linear-gradient(90deg, rgba(34, 197, 94, 0.5), rgba(34, 197, 94, 0.75)); }
.tl-pink { background: linear-gradient(90deg, rgba(239, 68, 68, 0.45), rgba(239, 68, 68, 0.7)); }

.tl-cursor {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 22%;
  width: 2px;
  background: var(--mint);
  z-index: 2;
  pointer-events: none;
}

.tl-cursor::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -3px;
  width: 8px;
  height: 8px;
  background: var(--mint);
  transform: rotate(45deg);
  border-radius: 1px;
}

/* Settings Panel (Right) */

.editor-right {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  backdrop-filter: blur(18px);
  overflow-y: auto;
}

.sp-section {
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: background 200ms, border-color 200ms;
}

.sp-section.sp-open {
  border-color: rgba(43, 213, 163, 0.14);
  background: rgba(43, 213, 163, 0.04);
}

.sp-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  cursor: default;
}

.sp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sp-title {
  flex: 1;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.7);
}

.sp-chevron {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.25);
  transform: rotate(-90deg);
  transition: transform 200ms;
  line-height: 1;
}

.sp-chevron-open {
  transform: rotate(90deg);
}

.sp-body {
  padding: 0 10px 9px;
  display: grid;
  gap: 7px;
}

.sp-row {
  display: grid;
  grid-template-columns: 46px 1fr 26px;
  align-items: center;
  gap: 7px;
}

.sp-row > span:first-child {
  font-size: 0.64rem;
  color: rgba(255, 255, 255, 0.4);
}

.sp-slider {
  position: relative;
  height: 14px;
  display: flex;
  align-items: center;
}

.sp-slider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.sp-fill {
  position: absolute;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--mint);
}

.sp-knob {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.sp-val {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.editor-sidebar,
.inspector-panel,
.editor-main,
.feature-card,
.workflow-grid article,
.download-card,
.editor-explain-grid article {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.editor-sidebar,
.inspector-panel,
.editor-main,
.workflow-grid article,
.feature-card,
.download-card,
.editor-explain-grid article {
  border-radius: var(--radius-lg);
}

.editor-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 12px;
}

.sidebar-pill {
  padding: 12px 10px;
  border-radius: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.02);
}

.sidebar-pill.active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(43, 213, 163, 0.24), rgba(70, 195, 255, 0.2));
  box-shadow: inset 0 0 0 1px rgba(70, 195, 255, 0.22);
}

.editor-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  min-width: 0;
}

.editor-header,
.timeline-header,
.download-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.section-heading,
.feature-copy {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.editor-header h2,
.inspector-block h3,
.workflow-grid h3,
.feature-card h3,
.editor-explain-grid h3 {
  margin: 8px 0 0;
  font-size: 1.1rem;
}

.editor-tags,
.timeline-tools,
.export-pills,
.export-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.editor-tags span,
.timeline-tools span,
.export-pills span,
.export-rail span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #c5d5de;
  font-size: 0.8rem;
}

.editor-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(7, 15, 22, 0.8);
}

.preview-canvas {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #0d1d29 0%, #162938 42%, #0e1822 100%);
}

.preview-hud {
  position: absolute;
  z-index: 3;
  min-height: 28px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(6, 16, 24, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d5e8f0;
  font-size: 0.75rem;
  backdrop-filter: blur(8px);
}

.preview-hud.top-left {
  left: 16px;
  top: 16px;
}

.preview-hud.top-right {
  right: 16px;
  top: 16px;
}

.canvas-wallpaper {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(80, 255, 220, 0.18), transparent 28%),
    radial-gradient(circle at 75% 10%, rgba(73, 145, 255, 0.22), transparent 30%),
    linear-gradient(140deg, #0c2430, #1e2736 48%, #102334);
}

.app-frame {
  position: absolute;
  inset: 38px 52px 76px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: rgba(238, 246, 251, 0.92);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.app-topline {
  height: 34px;
  background: linear-gradient(180deg, #fcfdff 0%, #eef4f8 100%);
  border-bottom: 1px solid rgba(34, 51, 66, 0.08);
}

.app-body {
  display: grid;
  grid-template-columns: 68px 1fr 110px;
  gap: 14px;
  height: calc(100% - 34px);
  padding: 14px;
}

.app-panel {
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(233, 241, 247, 0.95), rgba(218, 231, 239, 0.95));
}

.app-panel-center {
  position: relative;
  padding: 18px;
}

.app-search {
  width: 56%;
  height: 16px;
  border-radius: 999px;
  background: rgba(180, 198, 210, 0.55);
}

.app-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.app-cards span {
  display: block;
  aspect-ratio: 1;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(84, 177, 255, 0.32), rgba(39, 214, 170, 0.28));
}

.tilt-sheen {
  position: absolute;
  inset: -10% -14% -22% auto;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: rotate(16deg);
  opacity: 0.22;
}

.focus-box {
  position: absolute;
  top: 92px;
  left: 48%;
  width: 180px;
  height: 110px;
  border: 2px solid rgba(43, 213, 163, 0.86);
  border-radius: 18px;
  transform: translateX(-50%);
  box-shadow: 0 0 0 12px rgba(43, 213, 163, 0.08);
  animation: drift-box 6s ease-in-out infinite;
}

.cursor-ring {
  position: absolute;
  top: 164px;
  left: 56%;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 5px solid rgba(73, 145, 255, 0.9);
  box-shadow: 0 0 0 14px rgba(73, 145, 255, 0.12);
  animation: pulse-ring 2.2s ease-in-out infinite;
}

.subtitle-card {
  position: absolute;
  right: 28px;
  bottom: 22px;
  width: 280px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(8, 16, 24, 0.72);
  backdrop-filter: blur(12px);
  z-index: 3;
}

.subtitle-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(43, 213, 163, 0.18);
  color: #8ff3ce;
  font-size: 0.78rem;
  font-weight: 700;
}

.subtitle-card p,
.feature-card p,
.workflow-grid p,
.editor-explain-grid p,
.download-card p,
.status-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.webcam-bubble {
  position: absolute;
  left: 26px;
  bottom: 24px;
  width: 118px;
  height: 118px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(11, 23, 33, 0.95), rgba(18, 34, 48, 0.95));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
  z-index: 3;
}

.chapter-strip {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(7, 16, 24, 0.58);
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

.chapter-chip {
  min-height: 28px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #b9cad5;
  font-size: 0.74rem;
}

.chapter-chip.active {
  color: #031118;
  background: linear-gradient(135deg, #66f4c3, #46c3ff);
}

.webcam-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(70, 195, 255, 0.22), transparent 46%);
}

.webcam-face {
  position: absolute;
  inset: 18px 22px 14px;
  border-radius: 20px 20px 24px 24px;
  background:
    radial-gradient(circle at 50% 35%, #e9c7ad 0 16px, transparent 17px),
    radial-gradient(circle at 50% 78%, #163047 0 32px, transparent 33px),
    radial-gradient(circle at 32% 38%, #11283d 0 8px, transparent 9px),
    radial-gradient(circle at 68% 38%, #11283d 0 8px, transparent 9px),
    linear-gradient(180deg, #2f4f66 0 44%, #13293b 45% 100%);
}

.control-rail {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
}

.transport-button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(43, 213, 163, 0.9), rgba(70, 195, 255, 0.88));
  cursor: pointer;
}

.play-icon {
  display: block;
  width: 0;
  height: 0;
  margin-left: 17px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #07111a;
}

.transport-button.is-playing .play-icon {
  width: 12px;
  height: 14px;
  margin-left: 16px;
  border: 0;
  background: linear-gradient(90deg, #07111a 0 4px, transparent 4px 8px, #07111a 8px 12px);
}

.scrubber {
  position: relative;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.scrubber-track,
.scrubber-progress {
  position: absolute;
  left: 0;
  top: 19px;
  height: 4px;
  border-radius: 999px;
}

.scrubber-track {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
}

.scrubber-progress {
  width: 22%;
  background: linear-gradient(90deg, var(--mint), var(--cyan));
}

.playhead {
  position: absolute;
  top: 9px;
  left: 22%;
  width: 16px;
  height: 24px;
  border-radius: 999px;
  background: #eef7fb;
  box-shadow: 0 0 0 6px rgba(238, 247, 251, 0.12);
}

.chapter {
  position: absolute;
  top: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #c5d5de;
  font-size: 0.72rem;
}

.chapter-a {
  left: 8%;
}

.chapter-b {
  left: 42%;
}

.chapter-c {
  left: 76%;
}

.timecode {
  color: #d6e5ed;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.timeline-zone {
  flex: 1;
  min-height: 190px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.timeline-tracks {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.track {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
}

.track-name {
  color: #c7d7e1;
  font-size: 0.88rem;
}

.segments {
  position: relative;
  display: flex;
  gap: 10px;
  min-height: 38px;
  padding: 7px 10px;
  border-radius: 14px;
  background: rgba(7, 14, 22, 0.72);
}

.segment {
  display: inline-block;
  height: 24px;
  border-radius: 9px;
}

.segment.long {
  width: 42%;
}

.segment.mid {
  width: 26%;
}

.segment.short {
  width: 16%;
}

.segment.mint {
  background: linear-gradient(90deg, rgba(43, 213, 163, 0.75), rgba(94, 242, 197, 0.92));
}

.segment.cyan {
  background: linear-gradient(90deg, rgba(70, 195, 255, 0.75), rgba(136, 230, 255, 0.92));
}

.segment.blue {
  background: linear-gradient(90deg, rgba(73, 145, 255, 0.74), rgba(116, 187, 255, 0.94));
}

.segment.slate {
  background: linear-gradient(90deg, rgba(134, 154, 171, 0.66), rgba(176, 194, 206, 0.88));
}

.segment.amber {
  background: linear-gradient(90deg, rgba(255, 190, 99, 0.72), rgba(255, 220, 143, 0.92));
}

.segment.violet {
  background: linear-gradient(90deg, rgba(143, 125, 255, 0.72), rgba(188, 180, 255, 0.92));
}

.inspector-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
}

.inspector-block {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.soft-block {
  background: linear-gradient(180deg, rgba(43, 213, 163, 0.07), rgba(70, 195, 255, 0.06));
}

.metric-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.metric-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.metric-list strong {
  color: var(--text);
}

.export-pills {
  margin-top: 14px;
}

.export-pills .active {
  color: #041018;
  background: linear-gradient(135deg, #66f4c3, #46c3ff);
}

.status-card {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(5, 14, 21, 0.4);
}

.status-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 8px rgba(43, 213, 163, 0.14);
}

.section-heading,
.feature-copy {
  margin-bottom: 28px;
}

.section-heading h2,
.feature-copy h2,
.download-card h2 {
  margin: 14px 0 0;
  max-width: 15ch;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 0.98;
}

.section-heading .eyebrow,
.feature-copy .eyebrow {
  margin: 0;
}

.workflow-grid,
.editor-explain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.workflow-grid article,
.editor-explain-grid article {
  padding: 24px;
}

.workflow-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: "Space Grotesk", sans-serif;
  color: #041018;
  background: linear-gradient(135deg, #66f4c3, #46c3ff);
}

.feature-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-demo-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: center;
  min-height: 340px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.feature-demo-copy h3 {
  margin: 8px 0 0;
  font-size: 1.5rem;
}

.feature-demo-copy p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.demo-surface {
  position: relative;
  min-height: 260px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(11, 24, 35, 0.98), rgba(8, 18, 27, 0.92));
}

.surface-window,
.tilt-window,
.subtitle-preview-box,
.chapter-progress,
.chapter-list {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.surface-window {
  position: relative;
  height: 100%;
  min-height: 220px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(245, 249, 251, 0.96), rgba(227, 236, 242, 0.96));
}

.surface-toolbar {
  height: 30px;
  background: linear-gradient(180deg, #fcfdff, #edf4f8);
  border-bottom: 1px solid rgba(40, 56, 68, 0.08);
}

.surface-grid {
  position: absolute;
  inset: 48px 20px 20px;
  border-radius: 16px;
  background:
    linear-gradient(rgba(65, 92, 118, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 92, 118, 0.1) 1px, transparent 1px),
    linear-gradient(135deg, rgba(73, 145, 255, 0.18), rgba(43, 213, 163, 0.12));
  background-size: 34px 34px, 34px 34px, auto;
}

.auto-camera-focus {
  position: absolute;
  left: 52%;
  top: 46%;
  width: 124px;
  height: 84px;
  border: 2px solid rgba(43, 213, 163, 0.88);
  border-radius: 18px;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 14px rgba(43, 213, 163, 0.12);
}

.auto-camera-cursor {
  position: absolute;
  left: 62%;
  top: 60%;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 5px solid rgba(73, 145, 255, 0.9);
  box-shadow: 0 0 0 14px rgba(73, 145, 255, 0.14);
}

.auto-camera-hud,
.tilt-metrics span,
.subtitle-speaker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d8e7ef;
  font-size: 0.76rem;
}

.auto-camera-hud {
  position: absolute;
  left: 18px;
  bottom: 18px;
}

.tilt-surface {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.tilt-stage {
  display: grid;
  place-items: center;
  min-height: 190px;
  perspective: 1200px;
}

.tilt-window {
  width: 88%;
  aspect-ratio: 1.35;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 39, 55, 0.96), rgba(11, 24, 35, 0.96));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  transform: rotateX(14deg) rotateY(-16deg) rotateZ(2deg);
}

.tilt-line {
  height: 16px;
  width: 48%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.tilt-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.tilt-blocks span {
  aspect-ratio: 0.9;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(143, 125, 255, 0.34), rgba(70, 195, 255, 0.18));
}

.tilt-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.subtitle-surface {
  display: grid;
  gap: 18px;
}

.subtitle-preview-box {
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(10, 21, 31, 0.96), rgba(8, 17, 25, 0.96));
}

.subtitle-lines {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.subtitle-lines span {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: #adc1cf;
  background: rgba(255, 255, 255, 0.04);
}

.subtitle-lines span.active {
  color: #031018;
  background: linear-gradient(135deg, rgba(102, 244, 195, 0.96), rgba(70, 195, 255, 0.94));
}

.subtitle-wave {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 54px;
}

.subtitle-wave i {
  display: block;
  width: 10px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(70, 195, 255, 0.9), rgba(43, 213, 163, 0.9));
}

.chapter-surface {
  display: grid;
  gap: 18px;
}

.chapter-progress {
  position: relative;
  height: 64px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.chapter-progress::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.chapter-progress-fill {
  position: absolute;
  left: 18px;
  top: 42px;
  height: 4px;
  width: 18%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber), #ffd991);
}

.chapter-marker {
  position: absolute;
  top: 14px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: #b9cad5;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.68rem;
  white-space: nowrap;
}

.chapter-marker.active {
  color: #07111a;
  background: linear-gradient(135deg, #ffcf84, #ffbe63);
}

.marker-one { left: 16%; }
.marker-two { left: 38%; }
.marker-three { left: 63%; }
.marker-four { left: 84%; }

.chapter-playhead {
  position: absolute;
  top: 34px;
  left: 18%;
  width: 12px;
  height: 20px;
  border-radius: 999px;
  background: #fff4dc;
  box-shadow: 0 0 0 5px rgba(255, 207, 132, 0.16);
}

.chapter-list {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.chapter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  color: #b3c4cf;
  background: rgba(255, 255, 255, 0.03);
}

.chapter-row.active {
  color: #eef7fb;
  background: rgba(255, 190, 99, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 190, 99, 0.24);
}

.chapter-row strong {
  min-width: 52px;
  color: #fff1d8;
}

/* ── A-roll Demo ────────────────────────────────── */

.aroll-surface {
  display: grid;
  gap: 16px;
}

.aroll-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.aroll-frame {
  position: relative;
  width: 42%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.aroll-screen {
  background: linear-gradient(180deg, rgba(240, 245, 250, 0.94), rgba(220, 230, 238, 0.94));
}

.aroll-bar {
  height: 18px;
  background: linear-gradient(180deg, #fcfdff, #edf4f8);
  border-bottom: 1px solid rgba(40, 56, 68, 0.06);
}

.aroll-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
}

.aroll-content span {
  display: block;
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(73, 145, 255, 0.25), rgba(43, 213, 163, 0.2));
}

.aroll-cam {
  background: linear-gradient(180deg, #1a2435, #0f1a28);
  display: flex;
  align-items: center;
  justify-content: center;
}

.aroll-face {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, #e9c7ad 0 12px, transparent 13px),
    linear-gradient(180deg, #2f4f66 0 50%, #13293b 51% 100%);
}

.aroll-tag {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.6rem;
  backdrop-filter: blur(4px);
}

.aroll-switch-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.aroll-switch-icon span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.aroll-switch-icon span:first-child {
  transform: rotate(30deg) translateX(2px);
}

.aroll-switch-icon span:last-child {
  transform: rotate(-30deg) translateX(2px);
}

.aroll-tl {
  position: relative;
  height: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.aroll-seg {
  position: absolute;
  top: 3px;
  height: 14px;
  border-radius: 5px;
  display: block;
}

.aroll-seg-screen {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.55), rgba(59, 130, 246, 0.8));
}

.aroll-seg-cam {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.55), rgba(34, 197, 94, 0.8));
}

/* ── Dual Orientation Demo ──────────────────────── */

.dual-surface {
  display: grid;
  place-items: center;
  min-height: 220px;
}

.dual-pair {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dual-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(240, 245, 250, 0.94), rgba(220, 230, 238, 0.94));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.dual-landscape {
  width: 160px;
  aspect-ratio: 16 / 9;
}

.dual-portrait {
  width: 80px;
  aspect-ratio: 9 / 16;
}

.dual-bar {
  height: 14px;
  background: linear-gradient(180deg, #fcfdff, #edf4f8);
  border-bottom: 1px solid rgba(40, 56, 68, 0.06);
}

.dual-body {
  height: calc(100% - 14px);
  background:
    linear-gradient(135deg, rgba(73, 145, 255, 0.15), rgba(43, 213, 163, 0.1)),
    linear-gradient(180deg, rgba(240, 245, 250, 0.6), rgba(220, 232, 240, 0.6));
}

.dual-label {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.6rem;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

/* ── Packaging Demo ─────────────────────────────── */

.packaging-surface {
  display: grid;
  gap: 14px;
}

.pkg-canvas {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1e2a3a, #16202e);
}

.pkg-video {
  position: relative;
  width: 80%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(245, 249, 252, 0.95), rgba(228, 236, 242, 0.95));
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.pkg-bar {
  height: 16px;
  background: linear-gradient(180deg, #fcfdff, #edf4f8);
  border-bottom: 1px solid rgba(40, 56, 68, 0.06);
}

.pkg-content {
  height: calc(100% - 16px);
  background:
    linear-gradient(rgba(65, 92, 118, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 92, 118, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, rgba(73, 145, 255, 0.12), rgba(43, 213, 163, 0.08));
  background-size: 20px 20px, 20px 20px, auto;
}

.pkg-params {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pkg-params span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.66rem;
}

/* ── JianYing Export Demo ───────────────────────── */

.jianying-surface {
  display: grid;
  gap: 18px;
  place-items: center;
  min-height: 200px;
}

.jy-flow {
  display: flex;
  align-items: center;
  gap: 18px;
}

.jy-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
}

.jy-icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.jy-bkrec .jy-icon-box {
  background: linear-gradient(135deg, rgba(43, 213, 163, 0.3), rgba(70, 195, 255, 0.25));
  color: var(--mint);
  border: 1px solid rgba(43, 213, 163, 0.2);
}

.jy-draft .jy-icon-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.25));
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.jy-arrow {
  display: flex;
  gap: 5px;
  align-items: center;
}

.jy-arrow span {
  display: block;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.jy-arrow span:last-child {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
}

.jy-tracks {
  display: grid;
  gap: 6px;
  width: 80%;
}

.jy-track {
  display: block;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.35), rgba(139, 92, 246, 0.55));
}

.download-card {
  padding: 28px;
}

.download-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.download-hint {
  max-width: 320px;
}

/* Workflow details list */
.workflow-details {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.workflow-details li {
  position: relative;
  padding-left: 16px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.workflow-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #66f4c3, #46c3ff);
}

/* FAQ section */
.faq-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: background 200ms ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 200ms ease, background 200ms ease;
}

.faq-item[open] summary::after {
  content: "\2212";
  background: rgba(102, 244, 195, 0.15);
  color: #66f4c3;
}

.faq-item summary:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.workflow-grid article,
.feature-demo-card,
.editor-explain-grid article,
.download-card,
.faq-item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 500ms ease, transform 500ms ease;
}

body.js-enhanced .workflow-grid article,
body.js-enhanced .feature-demo-card,
body.js-enhanced .editor-explain-grid article,
body.js-enhanced .download-card,
body.js-enhanced .faq-item {
  opacity: 0;
  transform: translateY(18px);
}

body.js-enhanced .workflow-grid .is-revealed,
body.js-enhanced .editor-explain-grid .is-revealed,
body.js-enhanced .is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift-box {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }

  50% {
    transform: translateX(-42%) translateY(-8px) scale(1.04);
  }
}

@keyframes pulse-ring {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.12);
    opacity: 0.7;
  }
}

@media (max-width: 1180px) {
  .hero-card {
    transform: none;
  }

  .editor-window {
    grid-template-columns: minmax(0, 1fr) 200px;
  }

  .editor-left,
  .editor-right {
    min-height: auto;
  }

  .feature-showcase-grid,
  .workflow-grid,
  .editor-explain-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .topbar {
    padding: 14px 16px;
    border-radius: 24px;
  }

  .topnav,
  .ghost-button {
    display: none;
  }

  .opening-section,
  .workflow-section,
  .feature-section,
  .editor-section,
  .faq-section,
  .download-section {
    padding: 72px 0;
  }

  .opening-stage {
    min-height: auto;
  }

  .editor-window {
    grid-template-columns: 1fr;
  }

  .editor-left,
  .editor-right {
    min-height: auto;
  }

  .project-bar {
    flex-wrap: wrap;
  }

  .project-chips {
    flex-wrap: wrap;
  }

  .playback-pill {
    max-width: 100%;
  }

  .download-card {
    flex-direction: column;
  }

  .feature-demo-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  main,
  .topbar {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .app-body {
    grid-template-columns: 40px 1fr 54px;
    gap: 10px;
    padding: 10px;
  }

  .preview-bg-layer {
    padding: 12px;
  }

  .tl-toolbar {
    flex-wrap: wrap;
  }
}