/* ─── PURCHASE ──────────────────────────────────────────────────────── */

.license-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
  text-align: left;
}

.purchase-label { flex: 1; }

.purchase-label-title {
  font-size: 15px;
  font-weight: 650;
  color: var(--text);
}

.purchase-label-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

/* ─── HERO ─────────────────────────────────────────────────────────── */

.hero {
  padding-bottom: 64px;
}

h1 { font-size: clamp(48px, 7vw, 80px); }

.clss-platform-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.clss-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* ─── HERO SCREENSHOT ──────────────────────────────────────────────── */

.clss-hero-screenshot {
  padding: 0 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.clss-hero-screenshot .screenshot-frame {
  box-shadow:
    0 0 0 1px rgba(74, 144, 226, 0.15),
    0 40px 120px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(74, 144, 226, 0.08);
}

.clss-hero-screenshot .screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ─── FEATURES GRID ────────────────────────────────────────────────── */

#features {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.clss-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.clss-feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid rgba(var(--accent-rgb), 0.5);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.2s, background 0.2s;
}

.clss-feature-card:hover {
  border-top-color: var(--accent);
  background: var(--surface2);
}

.clss-feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 14px;
}

.clss-feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.clss-feature-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── SPLIT VISUAL (generic) ───────────────────────────────────────── */

.clss-split-visual {
  min-width: 0;
}

.clss-split-visual .screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ─── SHOWCASE CARDS ───────────────────────────────────────────────── */

.showcase {
  padding: 64px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.showcase-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.showcase-header { padding: 48px 56px 40px; }
.showcase-body   { padding: 0 24px 24px; }

.showcase-header .section-desc { margin-bottom: 0; }

.showcase-details {
  padding: 24px 56px 48px;
}

/* ─── LIVE TIMELINE ────────────────────────────────────────────────── */

.clss-timeline-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.clss-timeline-feature h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.clss-timeline-feature p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── INSPECTOR ────────────────────────────────────────────────────── */

.clss-inspector-showcase {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 16px;
  align-items: start;
}

.clss-inspector-controls h3 {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 16px;
}

.clss-inspector-controls .split-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 640px;
}

.clss-inspector-controls ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clss-inspector-controls li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* retime.png is a wide, short strip — show at native size */
.clss-inspector-visual {
  margin: 28px 0 0;
  padding: 0;
  overflow: hidden;
  max-width: 978px;
  width: fit-content;
}

.clss-inspector-visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* ─── METADATA FIELD CUSTOMIZATION ─────────────────────────────────── */

.clss-fields-controls {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 16px;
  align-items: start;
}

.clss-fields-controls h3 {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 16px;
}

.clss-fields-controls .split-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 640px;
}

/* change_field.png and presets.png are small UI popups — show at native size, stacked */
.clss-fields-visuals {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 0;
}

.clss-fields-visuals .screenshot-frame {
  padding: 0;
  overflow: hidden;
  max-width: 314px;
  width: 100%;
}

.clss-fields-visuals img {
  display: block;
  width: 100%;
  height: auto;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 11px;
  font-family: inherit;
  color: var(--text);
  min-width: 20px;
}

/* ─── NAVIGATION ───────────────────────────────────────────────────── */

/* similar_clips.png is ~668×628 (near-square) — size the frame to its real aspect ratio so the full image shows with no letterboxing */
.clss-nav-visual {
  min-width: 0;
  width: 100%;
}

.clss-nav-visual .screenshot-frame {
  aspect-ratio: 668 / 628;
  height: auto;
}

.clss-nav-visual .screenshot-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#navigation.split {
  align-items: end;
  grid-template-columns: 1fr 1fr;
}

.clss-nav-groups {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.clss-nav-group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
}

.clss-nav-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}

.clss-nav-group p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ─── PLAYHEADS ────────────────────────────────────────────────────── */

#playheads {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.clss-playhead-header {
  max-width: 560px;
}

.clss-playhead-header p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.clss-playhead-header ul {
  list-style: none;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clss-playhead-header li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
}

.clss-playhead-header li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* playheads.png is small - render at native size */
.clss-playhead-showcase {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clss-playhead-frame {
  padding: 0;
  overflow: hidden;
  display: inline-block;
}

.clss-playhead-frame img {
  display: block;
  width: 442px;
  height: 93px;
}

.clss-playhead-streamdeck-frame img {
  height: auto;
}

/* ─── INDEX ────────────────────────────────────────────────────────── */

.clss-index-table-showcase .screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* index-filter.png is narrow/tall — constrained right column */
.clss-index-split {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

.clss-index-split h3 {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 16px;
}

.clss-index-split .split-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.clss-index-filter-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clss-index-filter-visual .screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.clss-scripts-note {
  font-size: 13px;
  color: var(--subtle);
  line-height: 1.6;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.clss-scripts-note a {
  color: var(--accent);
  text-decoration: none;
}

.clss-scripts-note a:hover { text-decoration: underline; }

/* ─── MARKERS ──────────────────────────────────────────────────────── */

#markers {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.clss-markers-header {
  max-width: 680px;
  margin-bottom: 40px;
}

.clss-markers-header p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

/* markers.png (wide) left, detail text + batch callout right */
.clss-markers-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.clss-markers-main .screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.clss-markers-detail ul {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clss-markers-detail li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
}

.clss-markers-detail li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* callout with inline batch.png dialog preview */
.clss-callout {
  background: rgba(var(--accent-rgb), 0.06);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 12px;
  padding: 20px;
}

.clss-callout-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.clss-callout-body {
  flex: 1;
  min-width: 0;
}

.clss-callout-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.clss-callout p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.clss-callout a {
  color: var(--accent);
  text-decoration: none;
}

.clss-callout a:hover { text-decoration: underline; }

/* batch.png (~420×490) as a compact dialog thumbnail */
.clss-callout-preview {
  flex-shrink: 0;
  width: 120px;
}

.clss-callout-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* ─── MARKER IMPORT/EXPORT ─────────────────────────────────────────── */

#marker-io {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.clss-markerio-header {
  max-width: 680px;
}

.clss-markerio-header p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

#import-markers .split-text h3,
#export-markers .split-text h3 {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 16px;
}

#import-markers code,
#export-markers code {
  font-size: 0.9em;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 4px;
}

/* importmarkers.png is tall/portrait (527×839) — cap its width so it doesn't tower over the text column */
.clss-markerio-visual {
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
}

.clss-markerio-visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* exportmarkers.png (585×294) and html.png (694×422) are both short/landscape — stack them
   and widen the pair so their combined height roughly matches the import screenshot above */
.clss-markerio-export-visuals {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
}

.clss-markerio-export-visuals .screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ─── STREAM DECK ──────────────────────────────────────────────────── */

.clss-streamdeck-layouts {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clss-streamdeck-layouts-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.clss-streamdeck-layouts img {
  display: block;
  max-width: 240px;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* ─── RESPONSIVE ───────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .clss-features-grid { grid-template-columns: 1fr 1fr; }

  .clss-timeline-features { grid-template-columns: 1fr; }

  .clss-inspector-showcase { grid-template-columns: 1fr; }
  .clss-fields-controls { grid-template-columns: 1fr; }
  .clss-fields-visuals { flex-direction: row; flex-wrap: wrap; }
  .clss-fields-visuals .screenshot-frame { max-width: 280px; }

  .showcase-header { padding: 40px 32px 32px; }
  .showcase-details { padding: 24px 32px 40px; }

  #navigation.split {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  #navigation.split > * { direction: ltr; }
  .clss-nav-visual {
    max-width: 100%;
    order: -1;
  }

  #playheads {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .clss-playhead-header { max-width: 100%; }

  .clss-index-split { grid-template-columns: 1fr; }
  .clss-index-filter-visual { max-width: 280px; }

  .clss-markers-layout { grid-template-columns: 1fr; }

}

@media (max-width: 640px) {
  .clss-hero-screenshot { padding: 0 16px 48px; }
  #features { padding: 48px 20px; }
  #playheads { padding: 48px 20px; }
  #markers { padding: 48px 20px; }
  #marker-io { padding: 48px 20px; gap: 48px; }
  .clss-features-grid { grid-template-columns: 1fr; }
  .showcase { padding: 48px 16px; }
  .showcase-header { padding: 28px 20px 24px; }
  .showcase-body { padding: 0 20px 20px; }
  .showcase-details { padding: 20px 20px 32px; }
  .clss-callout-inner { flex-direction: column; }
  .clss-callout-preview { width: 100%; max-width: 180px; }
  h1 { font-size: clamp(36px, 9vw, 52px); }
}
