/**
 * MPR extension landing — scoped so Bootstrap / site styles stay intact.
 * Parent wrapper: .mpr-ext-landing
 */
.mpr-ext-landing {
  --mpr-ext-orange: #ea580c;
  --mpr-ext-orange-soft: #fff7ed;
  --mpr-ext-dark: #0f172a;
  --mpr-ext-dark-2: #1e293b;
  --mpr-ext-dark-3: #334155;
  --mpr-ext-muted: #94a3b8;
  --mpr-ext-border: rgba(255, 255, 255, 0.08);
  --mpr-ext-green: #16a34a;
  --mpr-ext-amber: #d97706;
  --mpr-ext-red: #dc2626;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #e2e8f0;
}

.mpr-ext-landing h1,
.mpr-ext-landing h2,
.mpr-ext-landing h3,
.mpr-ext-landing h4 {
  font-family: Syne, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mpr-ext-landing * {
  box-sizing: border-box;
}

.mpr-ext-hero-wrap {
  background: linear-gradient(180deg, #0f0f0f 0%, #1a1a2e 50%, #0f172a 100%);
  color: #e8e8e8;
  padding: 48px 20px 72px;
}

.mpr-ext-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.mpr-ext-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(234, 88, 12, 0.12);
  border: 1px solid rgba(234, 88, 12, 0.35);
  color: #fb923c;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mpr-ext-hero-wrap h1.mpr-ext-hero-title {
  font-size: clamp(32px, 5.5vw, 58px);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.12;
  color: #fff;
  margin: 0 0 16px;
}

/* Orange highlight: intel / risk cue — reads sharper than all-white ultra-bold Syne */
.mpr-ext-hero-title-accent {
  font-style: normal;
  color: var(--mpr-ext-orange);
  font-weight: 800;
}

.mpr-ext-hero-wrap h1 em {
  font-style: normal;
  color: var(--mpr-ext-orange);
}

.mpr-ext-hero-warn {
  margin-right: 0.2em;
  font-size: 0.92em;
}

.mpr-ext-hero-primary-slot {
  margin: 0 auto 14px;
}

.mpr-ext-hero-power {
  font-size: clamp(15px, 2.2vw, 17px);
  font-weight: 600;
  color: #fbbf24;
  max-width: 520px;
  margin: 0 auto 18px;
  line-height: 1.45;
}

.mpr-ext-hero-trust {
  font-size: clamp(14px, 2vw, 16px);
  color: #cbd5e1;
  max-width: 460px;
  margin: 0 auto 22px;
  font-weight: 600;
  line-height: 1.45;
}

.mpr-ext-hero-trust-icon {
  margin-right: 0.3em;
}

.mpr-ext-hero-sub {
  font-size: clamp(16px, 2.5vw, 18px);
  color: #9ca3af;
  max-width: 560px;
  margin: 0 auto 28px;
  font-weight: 400;
  line-height: 1.65;
}

.mpr-ext-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.mpr-ext-hero-actions--primary {
  margin: 0 auto 12px;
  gap: 14px;
}

/* Secondary “proof path” — blog, for readers who want context before installing */
.mpr-ext-hero-blog-bridge {
  margin: 0 auto 20px;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.45;
}

.mpr-ext-hero-blog-link {
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-weight: 500;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.mpr-ext-hero-blog-link:hover {
  color: #fcd34d !important;
  border-bottom-color: rgba(252, 211, 77, 0.55);
}

/* Full-bleed hero under global header (avoid “white band” from theme) */
body.mpr-browser-extension-page .mpr-ext-landing {
  margin: 0;
  padding: 0;
  max-width: none;
}

body.mpr-browser-extension-page .mpr-ext-hero-wrap {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}

body[data-theme="light"] .mpr-browser-extension-page .mpr-ext-hero-wrap,
body[data-theme="dark"] .mpr-browser-extension-page .mpr-ext-hero-wrap {
  background: linear-gradient(180deg, #0a0a0a 0%, #151528 45%, #0f172a 100%);
  color: #e8e8e8;
}

/* Browser chrome traffic lights (Claude-style) */
.mpr-ext-chrome-dot:nth-child(1) {
  background: #ff5f57;
}

.mpr-ext-chrome-dot:nth-child(2) {
  background: #febc2e;
}

.mpr-ext-chrome-dot:nth-child(3) {
  background: #28c840;
}

.mpr-ext-hero-visual {
  margin-top: clamp(40px, 6vw, 56px);
  text-align: center;
}

.mpr-ext-hero-visual img {
  max-width: min(760px, 100%);
  height: auto;
  border-radius: 16px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mpr-ext-hero-visual figcaption {
  font-size: 12px;
  color: #64748b;
  margin-top: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mpr-ext-btn-primary {
  background: var(--mpr-ext-orange);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  display: inline-block;
}

.mpr-ext-btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #fff !important;
}

.mpr-ext-btn-ghost {
  background: transparent;
  color: #9ca3af !important;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  display: inline-block;
}

.mpr-ext-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff !important;
}

.mpr-ext-hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: #64748b;
}

/* Browser mockup */
.mpr-ext-badge-demo {
  margin: 56px auto 0;
  max-width: 700px;
  position: relative;
}

.mpr-ext-browser-chrome {
  background: var(--mpr-ext-dark-3);
  border-radius: 12px 12px 0 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: none;
}

.mpr-ext-chrome-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.mpr-ext-chrome-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  height: 22px;
  margin-left: 8px;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.mpr-ext-chrome-url {
  font-size: 11px;
  color: #64748b;
}

.mpr-ext-browser-content {
  background: var(--mpr-ext-dark-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 28px 24px 100px;
  position: relative;
  min-height: 200px;
}

.mpr-ext-mock-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  text-align: left;
}

.mpr-ext-fake-listing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: left;
}

.mpr-ext-fake-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mpr-ext-fake-lbl {
  font-size: 11px;
  color: #64748b;
}

.mpr-ext-fake-val {
  font-size: 13px;
  color: #94a3b8;
}

.mpr-ext-fake-phone {
  color: #60a5fa;
}

.mpr-ext-mpr-tooltip-demo {
  position: absolute;
  bottom: 72px;
  right: 20px;
  background: #1e293b;
  color: #f1f5f9;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.85;
  max-width: 240px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--mpr-ext-green);
}

.mpr-ext-mpr-tooltip-demo a {
  color: #facc15;
  text-decoration: none;
  font-weight: 700;
}

.mpr-ext-mpr-badge-demo {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  padding: 11px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 4px 24px rgba(22, 163, 74, 0.5),
    0 0 28px rgba(34, 197, 94, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mpr-ext-mpr-badge-demo:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px rgba(22, 163, 74, 0.55),
    0 0 36px rgba(34, 197, 94, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Light sections — aligns with typical MPR inner pages */
.mpr-ext-section {
  padding: 64px 20px;
  max-width: 1000px;
  margin: 0 auto;
  scroll-margin-top: 88px;
}

.mpr-ext-section--light {
  background: #f1f5f9;
  color: #334155;
  max-width: none;
}

.mpr-ext-section--light .mpr-ext-section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.mpr-ext-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mpr-ext-orange);
  margin-bottom: 10px;
}

.mpr-ext-section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px;
}

.mpr-ext-section-body {
  font-size: 17px;
  color: #64748b;
  max-width: 620px;
  line-height: 1.75;
  margin: 0;
}

.mpr-ext-section-body + .mpr-ext-section-body {
  margin-top: 14px;
}

.mpr-ext-problem-accent {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px;
  max-width: 620px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.mpr-ext-divider {
  max-width: 1000px;
  margin: 0 auto;
  border: none;
  border-top: 1px solid #e2e8f0;
}

.mpr-ext-signals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 36px;
  border: 1px solid #e2e8f0;
}

.mpr-ext-signal-card {
  background: #fff;
  padding: 24px 20px;
  transition: background 0.15s;
}

.mpr-ext-signal-card:hover {
  background: #f8fafc;
}

.mpr-ext-signal-icon {
  font-size: 22px;
  margin-bottom: 10px;
}

.mpr-ext-signal-title {
  font-family: Syne, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.mpr-ext-signal-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* Steps */
.mpr-ext-steps {
  margin-top: 36px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.mpr-ext-step {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 24px 26px;
  border-bottom: 1px solid #f1f5f9;
}

.mpr-ext-step:last-child {
  border-bottom: none;
}

.mpr-ext-step:hover {
  background: #f8fafc;
}

.mpr-ext-step-num {
  font-family: Syne, sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--mpr-ext-orange);
  min-width: 32px;
  line-height: 1;
}

.mpr-ext-step-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
}

.mpr-ext-step-content p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.55;
}

.mpr-ext-example-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 28px;
  margin-top: 36px;
}

.mpr-ext-example-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 16px;
}

.mpr-ext-example-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}

.mpr-ext-example-row:last-child {
  border-bottom: none;
}

.mpr-ext-ex-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mpr-ext-dot-green {
  background: var(--mpr-ext-green);
}

.mpr-ext-dot-amber {
  background: var(--mpr-ext-amber);
}

.mpr-ext-dot-blue {
  background: #3b82f6;
}

.mpr-ext-dot-red {
  background: var(--mpr-ext-red);
}

.mpr-ext-ex-text {
  color: #64748b;
}

.mpr-ext-ex-val {
  color: #0f172a;
  font-weight: 600;
  margin-left: auto;
}

/* Install block — bootstrap-friendly */
.mpr-ext-install-wrap {
  background: #fff;
  padding: 48px 20px 64px;
  scroll-margin-top: 88px;
}

.mpr-ext-install-inner {
  max-width: 760px;
  margin: 0 auto;
}

.mpr-ext-cta-band {
  padding: 56px 20px;
  text-align: center;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
}

.mpr-ext-cta-band h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}

.mpr-ext-cta-band p {
  font-size: 17px;
  color: #94a3b8;
  margin: 0 0 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.mpr-ext-cta-links {
  margin-top: 20px;
  font-size: 14px;
}

.mpr-ext-cta-links a {
  color: #fcd34d;
  margin: 0 10px;
}

@media (max-width: 600px) {
  .mpr-ext-fake-listing {
    grid-template-columns: 1fr;
  }

  .mpr-ext-hero-wrap {
    padding: 36px 16px 56px;
  }

  .mpr-ext-section {
    padding: 48px 16px;
  }
}
