/* ═══════════════════════════════════════════════════════════════
   Integration pages — shared dark theme for Resolve, Lightroom, etc.
   ═══════════════════════════════════════════════════════════════ */

/* ── Dark page overrides ────────────────────────────────────── */
.int-page { background: #0d0d0f; color: #e8e6e2; }
.int-page .nav { background: rgba(13, 13, 15, 0.92); border-bottom-color: #1e1e22; }
.int-page .nav-logo, .int-page .nav-links a { color: #e8e6e2; }
.int-page .footer { background: #0d0d0f; border-top-color: #1e1e22; color: #555; }
.int-page .footer a { color: #888; }

/* ── Hero ───────────────────────────────────────────────────── */
.int-hero {
  padding: 160px 48px 80px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}
.int-hero img {
  margin: 0 auto;
  max-width: 600px;
  max-height: 600px;
}
.int-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #818cf8;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.int-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 auto 20px;
  max-width: 780px;
  color: #f5f3ee;
}
.int-hero h1 em { color: #818cf8; font-style: normal; }
.int-hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: #999;
  max-width: 620px;
  margin: 0 auto 48px;
}
.int-hero-screenshot {
  max-width: 520px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* ── Section label ──────────────────────────────────────────── */
.int-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #6366f1;
  margin-bottom: 12px;
}

/* ── Steps ──────────────────────────────────────────────────── */
.int-steps {
  padding: 100px 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.int-steps h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: #f5f3ee;
  margin: 0 0 48px;
}
.int-steps-grid {
  display: grid;
  gap: 24px;
}
.int-steps-grid--3 { grid-template-columns: repeat(3, 1fr); }
.int-steps-grid--4 { grid-template-columns: repeat(4, 1fr); }
.int-step {
  background: #141416;
  border: 1px solid #1e1e22;
  border-radius: 12px;
  padding: 28px 24px;
}
.int-step-num {
  font-size: 28px;
  font-weight: 700;
  color: #6366f1;
  margin-bottom: 14px;
  font-family: var(--mono);
}
.int-step h3 { font-size: 16px; font-weight: 600; margin: 0 0 8px; color: #e8e6e2; }
.int-step p { font-size: 13px; line-height: 1.6; color: #888; margin: 0; }

/* ── Features ───────────────────────────────────────────────── */
.int-features {
  padding: 80px 48px 100px;
  max-width: 1100px;
  margin: 0 auto;
}
.int-features h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: #f5f3ee;
  margin: 0 0 48px;
}
.int-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.int-feat {
  background: #141416;
  border: 1px solid #1e1e22;
  border-radius: 10px;
  padding: 24px 28px;
}
.int-feat h3 { font-size: 15px; font-weight: 600; margin: 0 0 8px; color: #e8e6e2; }
.int-feat p { font-size: 13px; line-height: 1.6; color: #777; margin: 0; }

/* ── Video demo placeholder ─────────────────────────────────── */
.int-demo {
  padding: 80px 48px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.int-demo h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: #f5f3ee;
  margin: 0 0 32px;
}
.int-demo-placeholder {
  background: #141416;
  border: 2px dashed #2a2a30;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 15px;
}
.int-demo-placeholder .play-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.15);
  border: 2px solid rgba(99, 102, 241, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  font-size: 22px;
  margin-bottom: 8px;
}

/* ── Screenshots ────────────────────────────────────────────── */
.int-screenshots {
  padding: 40px 48px 80px;
  max-width: 1100px;
  margin: 0 auto;
}
.int-screenshots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.int-screenshots figure { margin: 0; }
.int-screenshots img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.int-screenshots figcaption {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-top: 12px;
}

/* ── Install section ────────────────────────────────────────── */
.int-install {
  padding: 80px 48px 60px;
  max-width: 800px;
  margin: 0 auto;
}
.int-install h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: #f5f3ee;
  margin: 0 0 12px;
}
.int-install-sub {
  font-size: 15px;
  color: #888;
  margin: 0 0 36px;
  line-height: 1.7;
}
.int-install-tabs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.int-install-tab {
  background: #141416;
  border: 1px solid #1e1e22;
  border-radius: 10px;
  padding: 24px 28px;
}
.int-install-tab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.int-install-tab-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6366f1;
}
.int-install-code {
  background: #0a0a0c;
  border: 1px solid #2a2a30;
  border-radius: 8px;
  padding: 14px 18px;
  overflow-x: auto;
}
.int-install-code code {
  font-family: var(--mono);
  font-size: 13px;
  color: #a5b4fc;
  white-space: nowrap;
  user-select: all;
  cursor: text;
}
.int-install-hint {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  margin: 10px 0 0;
}
.int-install-alt {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #666;
}
.int-copy-btn {
  background: #1e1e22;
  border: 1px solid #2a2a30;
  color: #888;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-family: var(--sans);
  cursor: pointer;
  white-space: nowrap;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.int-copy-btn:hover { background: #2a2a30; color: #e8e6e2; border-color: #6366f1; }
.int-copy-btn.copied { background: rgba(99, 102, 241, 0.15); color: #818cf8; border-color: #6366f1; }

/* ── Numbered install steps (Lightroom style) ───────────────── */
.int-install-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.int-install-step {
  background: #141416;
  border: 1px solid #1e1e22;
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.int-install-step-num {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: #6366f1;
  flex-shrink: 0;
  line-height: 1.4;
}
.int-install-step h3 { font-size: 14px; font-weight: 600; margin: 0 0 4px; color: #e8e6e2; }
.int-install-step p { font-size: 13px; line-height: 1.6; color: #888; margin: 0; }
.int-install-step code {
  font-family: var(--mono);
  font-size: 12px;
  color: #a5b4fc;
  background: #0a0a0c;
  padding: 2px 6px;
  border-radius: 3px;
}

/* ── Requirements ───────────────────────────────────────────── */
.int-reqs {
  padding: 40px 48px 60px;
  max-width: 700px;
  margin: 0 auto;
}
.int-reqs h3 { font-size: 14px; font-weight: 600; color: #e8e6e2; margin: 0 0 14px; }
.int-reqs ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.int-reqs li {
  font-size: 13px;
  color: #888;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.int-reqs li span { color: #6366f1; font-weight: 700; }

/* ── CTA ────────────────────────────────────────────────────── */
.int-cta {
  padding: 80px 48px 120px;
  text-align: center;
}
.int-cta h2 {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: #f5f3ee;
  margin: 0 0 16px;
}
.int-cta p { color: #777; font-size: 16px; margin: 0 0 32px; }
.int-cta-btn {
  display: inline-block;
  background: #6366f1;
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms ease;
}
.int-cta-btn:hover { background: #818cf8; }

/* ── Cross-link ─────────────────────────────────────────────── */
.int-also {
  padding: 0 48px 80px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.int-also p { font-size: 14px; color: #666; line-height: 1.6; }
.int-also a { color: #818cf8; text-decoration: underline; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .int-hero { padding: 120px 24px 60px; }
  .int-steps, .int-features, .int-demo, .int-screenshots,
  .int-install, .int-reqs, .int-cta, .int-also { padding-left: 24px; padding-right: 24px; }
  .int-steps-grid--3, .int-steps-grid--4 { grid-template-columns: 1fr; }
  .int-features-grid { grid-template-columns: 1fr; }
  .int-screenshots-grid { grid-template-columns: 1fr; }
  .int-reqs ul { grid-template-columns: 1fr; }
}
