/* VideoNarraCue — components.css */

/* ── Section header ─────────────────────────────────────────── */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-sec);
  line-height: 1.75;
  max-width: 580px;
}
.section-header { margin-bottom: var(--space-lg); }
.section-header.center .section-sub { margin-inline: auto; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.btn-ghost { background: var(--surface-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface-3); color: var(--text); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: 0.875rem; }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: border-color var(--transition), transform var(--transition);
}
.card:hover { border-color: rgba(79, 142, 247, 0.25); transform: translateY(-2px); }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 0.9rem; color: var(--text-sec); line-height: 1.65; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.875rem; font-weight: 600; }

/* ── Feature blocks ─────────────────────────────────────────── */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.feature-block.reverse .feature-block-visual { order: -1; }
.feature-block-text h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 16px; }
.feature-block-text p { color: var(--text-sec); margin-bottom: 20px; line-height: 1.75; }
.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-sec);
}
.feature-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .feature-block, .feature-block.reverse { grid-template-columns: 1fr; }
  .feature-block.reverse .feature-block-visual { order: 0; }
}

/* ── Screenshot frame ───────────────────────────────────────── */
.screenshot-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  line-height: 0;
}
.screenshot-frame.portrait { aspect-ratio: 9/19.5; }
.screenshot-frame.landscape { aspect-ratio: 16/10; }
.screenshot-frame img { width: 100%; height: 100%; object-fit: cover; }
.screenshot-frame.no-image {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
}
.screenshot-frame.no-image::after {
  content: attr(data-label);
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: monospace;
  padding: 24px;
  text-align: center;
}

/* ── Testimonials ───────────────────────────────────────────── */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}
.testimonial-stars { color: #ffc107; font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-quote { font-size: 0.95rem; color: var(--text-sec); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testimonial-author { font-size: 0.85rem; font-weight: 600; }
.testimonial-role { font-size: 0.8rem; color: var(--text-dim); }

/* ── FAQ accordion ──────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-btn::after { content: '+'; font-size: 1.2rem; color: var(--accent); flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-btn::after { transform: rotate(45deg); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-body { max-height: 400px; }
.faq-body p {
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--text-sec);
  line-height: 1.7;
}

/* ── Forms ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text-sec); }
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-textarea { min-height: 140px; resize: vertical; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: var(--space-md);
}
.breadcrumb a { color: var(--text-sec); }
.breadcrumb span::before { content: '/'; margin-right: 8px; color: var(--text-dim); }

/* ── Changelog ──────────────────────────────────────────────── */
.changelog-item {
  border-left: 2px solid var(--accent-dim);
  padding-left: 24px;
  margin-bottom: 32px;
}
.changelog-version { font-size: 1.1rem; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.changelog-date { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 12px; }
.changelog-intro { color: var(--text-sec); font-size: 0.92rem; line-height: 1.6; margin-bottom: 20px; }
.changelog-section { font-size: 1rem; font-weight: 700; color: var(--text); margin: 24px 0 10px; }
.changelog-item ul { list-style: disc; padding-left: 1.25rem; color: var(--text-sec); font-size: 0.9rem; }
.changelog-item li { margin-bottom: 8px; line-height: 1.5; }
.changelog-item li .badge { margin-left: 6px; vertical-align: middle; }
.changelog-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin-bottom: 4px;
}
@media (max-width: 640px) {
  .changelog-columns { grid-template-columns: 1fr; }
}
.changelog-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.changelog-col-free .changelog-col-title { color: #6ee7b7; }
.changelog-col-pro .changelog-col-title { color: var(--accent); }
.changelog-col ul { list-style: disc; padding-left: 1.15rem; margin: 0; }
.changelog-col li { margin-bottom: 7px; line-height: 1.45; font-size: 0.88rem; color: var(--text-sec); }
.changelog-col li em { color: var(--text-dim); font-size: 0.82em; font-style: normal; }
.changelog-empty { color: var(--text-dim); list-style: none; margin-left: -1.15rem; }
.badge-pack { background: rgba(167, 139, 250, 0.15); color: #c4b5fd; }

/* ── Blog ───────────────────────────────────────────────────── */
.blog-card { display: block; text-decoration: none; color: inherit; }
.blog-card .card { height: 100%; }
.blog-meta { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 8px; }
.blog-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--accent-dim);
  color: var(--accent);
  margin-bottom: 12px;
}

/* ── Hero (home) ──────────────────────────────────────────── */
.hero {
  padding: calc(var(--nav-h) + var(--space-lg)) 0 var(--space-2xl);
  background: radial-gradient(ellipse 90% 70% at 50% -20%, var(--accent-dim), transparent 70%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero-sub { font-size: 1.15rem; color: var(--text-sec); line-height: 1.75; margin-bottom: 28px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; font-size: 0.85rem; color: var(--text-dim); }
.hero-visual { display: flex; justify-content: center; }
.hero-phone {
  width: min(280px, 100%);
  border-radius: 32px;
  overflow: hidden;
  border: 3px solid var(--surface-3);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub, .hero-actions, .hero-trust { margin-inline: auto; justify-content: center; }
}

/* ── Screenshot strip (legacy — prefer showcase layout) ───── */
.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  max-width: 900px;
  margin: 0 auto;
}
.screenshot-strip .screenshot-frame { box-shadow: var(--shadow); }
@media (max-width: 768px) {
  .screenshot-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ── Screenshot gallery (spacious showcase) ──────────────── */
.screenshot-gallery-wrap { display: flex; flex-direction: column; gap: var(--space-xl); }
.screenshot-gallery-block {
  scroll-margin-top: calc(var(--nav-h) + 16px);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}
.screenshot-gallery-block:last-child { border-bottom: none; padding-bottom: 0; }
.screenshot-gallery-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}
.screenshot-gallery-head h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.screenshot-gallery-summary {
  font-size: 0.95rem;
  color: var(--text-sec);
  line-height: 1.65;
  max-width: 640px;
  margin: 0;
}
.screenshot-gallery-count {
  font-size: 0.8rem;
  color: var(--text-dim);
  white-space: nowrap;
  padding-top: 6px;
}

.screenshot-showcase-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
.screenshot-showcase {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-md);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.screenshot-showcase--reverse .screenshot-showcase-visual { order: 2; }
.screenshot-showcase--reverse .screenshot-showcase-copy { order: 1; }
.screenshot-showcase-visual {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  text-align: center;
  transition: transform var(--transition);
}
.screenshot-showcase-visual:hover { transform: translateY(-3px); }
.screenshot-showcase-visual .screenshot-frame {
  box-shadow: var(--shadow);
  margin: 0 auto;
}
.screenshot-showcase-zoom {
  display: block;
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.screenshot-showcase-copy h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.screenshot-showcase-copy p {
  font-size: 0.92rem;
  color: var(--text-sec);
  line-height: 1.75;
  margin: 0;
  max-width: 52ch;
}

/* Legacy dense grid (unused on home) */
.screenshot-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--space-sm);
}
.screenshot-gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
  aspect-ratio: 9/19.5;
  cursor: zoom-in;
  transition: transform var(--transition), border-color var(--transition);
}
.screenshot-gallery-item:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 142, 247, 0.35);
}
.screenshot-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .screenshot-showcase,
  .screenshot-showcase--reverse {
    grid-template-columns: 1fr;
  }
  .screenshot-showcase--reverse .screenshot-showcase-visual,
  .screenshot-showcase--reverse .screenshot-showcase-copy {
    order: unset;
  }
  .screenshot-showcase-copy { text-align: center; }
  .screenshot-showcase-copy p { margin-inline: auto; }
}


/* ── Carousel (hero / feature) ──────────────────────────── */
.screenshot-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}
.screenshot-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.screenshot-carousel img.active { opacity: 1; z-index: 1; }
.screenshot-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.screenshot-carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
}
.screenshot-carousel-dot.active { background: var(--accent); }

/* ── Lightbox ───────────────────────────────────────────── */
.screenshot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.screenshot-lightbox.open { opacity: 1; visibility: visible; }
.screenshot-lightbox img {
  max-width: min(420px, 100%);
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.screenshot-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}
.screenshot-lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-sec);
  font-size: 0.85rem;
  text-align: center;
  max-width: min(560px, 90%);
  line-height: 1.6;
  padding: 12px 16px;
  background: rgba(10, 10, 15, 0.85);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.screenshot-lightbox-caption strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.screenshot-lightbox-caption span { color: var(--text-sec); }

.screenshot-category-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: var(--space-xl);
  padding: var(--space-md);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.screenshot-category-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-sec);
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--surface-2);
  text-decoration: none;
  transition: all var(--transition);
}
.screenshot-category-nav a:hover {
  color: var(--text);
  background: var(--accent-dim);
}

.screenshot-gallery-error {
  text-align: center;
  color: var(--text-sec);
  padding: var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  line-height: 1.7;
}
.screenshot-gallery-error code {
  display: block;
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text);
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}
.subnav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-sec);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
}
.subnav a:hover, .subnav a.active { color: var(--text); background: var(--surface-2); }

/* ── Permission table ─────────────────────────────────────── */
.perm-table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 0.9rem; }
.perm-table th, .perm-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.perm-table th { color: var(--text-dim); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.perm-table td { color: var(--text-sec); }

/* ── Badge ────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-pro { background: var(--gradient); color: #fff; }
.badge-free { background: var(--surface-3); color: var(--text-sec); }
.badge-soon { background: rgba(255, 149, 0, 0.15); color: #ff9500; }

/* ── Feature guide (detailed explanations) ──────────────── */
.feature-guide-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.feature-guide-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-sec);
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--surface-2);
  text-decoration: none;
  transition: all var(--transition);
}
.feature-guide-nav a:hover { color: var(--text); background: var(--accent-dim); }

.feature-guide {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.feature-guide-header {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}
.feature-guide-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 14px;
}
.feature-guide-header h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.feature-guide-badges { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.feature-guide-lead {
  color: var(--text-sec);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 640px;
}
.feature-guide-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.feature-guide-detail dt {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}
.feature-guide-detail dd {
  font-size: 0.9rem;
  color: var(--text-sec);
  line-height: 1.7;
  margin: 0;
}
.feature-guide-detail dd ul,
.feature-guide-detail dd ol {
  margin-top: 8px;
  padding-left: 1.2rem;
}
.feature-guide-detail dd li { margin-bottom: 6px; }
.feature-guide-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: var(--space-lg) 0 var(--space-md);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) {
  .feature-guide-details { grid-template-columns: 1fr; }
  .feature-guide-header { flex-direction: column; }
}

/* ── Callout banner ─────────────────────────────────────── */
.callout {
  padding: var(--space-md);
  background: var(--accent-dim);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-sec);
}
.callout a { color: var(--accent); font-weight: 600; }
.callout strong { color: var(--text); }
