/* MPC Sample Project Converter — page-specific styles.
   Tokens, base, global header/footer, buttons and social icons live in
   global.css. This file only styles the converter's own sections. */

.accent { color: var(--orange); }

/* ---- hero ---- */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  max-width: var(--container); margin: 0 auto; padding: 64px 28px 48px;
}
.hero h1 { font-size: 40px; margin: 0 0 18px; }
.lead { font-size: 18px; color: var(--text); margin: 0 0 26px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.sub { color: var(--text-dim); font-size: 13px; margin-top: 18px; }
/* screenshots are transparent cut-outs — no frame, just a soft shadow */
.hero-shot img { filter: drop-shadow(0 16px 32px rgba(0,0,0,0.22)); }

/* ---- features ---- */
.features { max-width: 1080px; margin: 0 auto; padding: 40px 28px; }
.features h2, .how h2, .download h2 { font-size: 30px; text-align: center; margin: 0 0 40px; }
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  margin-bottom: 56px;
}
.feature.reverse .feature-text { order: 2; }
.feature.text-only { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.feature.text-only h3::before { display: none; }
.feature h3 { font-size: 23px; margin: 0 0 12px; color: var(--text); }
.feature h3::before {
  content: ""; display: inline-block; width: 10px; height: 22px; margin-right: 10px;
  background: var(--orange); border-radius: 2px; vertical-align: -4px;
}
.feature-text p { color: var(--text-dim); font-size: 16px; margin: 0; }
.feature-img img { filter: drop-shadow(0 10px 22px rgba(0,0,0,0.16)); }
img.zoomable { cursor: zoom-in; transition: transform 0.15s ease; }
img.zoomable:hover { transform: translateY(-2px); }

/* image zoom lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 4vh 4vw;
  background: rgba(10,10,12,0.88); cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 96vw; max-height: 92vh; border-radius: 6px; box-shadow: 0 16px 50px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute; top: 18px; right: 24px; font-size: 34px; line-height: 1;
  background: none; border: none; color: #fff; cursor: pointer; opacity: 0.8;
}
.lightbox-close:hover { opacity: 1; }

.feature-grid {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.feature-grid li {
  background: var(--panel); border: 1px solid var(--edge); border-radius: 8px;
  padding: 16px 18px; font-size: 14px; color: var(--text-dim);
}
.feature-grid b { color: var(--text); }

/* ---- how it works ---- */
.how { background: var(--bg-2); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); padding: 48px 28px; }
.how h2 { text-align: center; }
.how .steps { max-width: 560px; margin-left: auto; margin-right: auto; }
.steps { list-style: none; padding: 0; margin: 0 auto; display: grid; gap: 18px; max-width: 560px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; text-align: left; }
.steps span {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(var(--cyan), var(--cyan-dim)); color: #fff;
  font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.steps div { padding-top: 3px; }

/* ---- download ---- */
.download { max-width: 880px; margin: 0 auto; padding: 56px 28px; text-align: center; }
.download-sub { color: var(--text-dim); margin: -24px 0 6px; }
.download-license { color: var(--text-dim); font-size: 13px; margin: 0 0 22px; }
.download-license a { color: var(--cyan); }
.download-cards { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.dl-card {
  display: flex; flex-direction: column; gap: 6px; align-items: center;
  width: 240px; padding: 26px 20px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--edge-dark); color: var(--text);
}
.dl-card:hover { text-decoration: none; border-color: var(--cyan); box-shadow: 0 6px 18px rgba(0,0,0,0.12); }
.dl-card:hover .dl-cta { filter: brightness(1.08); }
.dl-os { font-size: 20px; font-weight: 800; }
.dl-meta { font-size: 13px; color: var(--text-dim); }
.dl-cta {
  margin-top: 10px; padding: 8px 18px; border-radius: 6px; font-weight: 700; font-size: 13px;
  background: linear-gradient(var(--orange), var(--orange-dim)); color: #fff;
}
.dl-note { font-size: 11px; line-height: 1.45; color: var(--text-dim); margin-top: 8px; }
.beta-cta { margin-top: 30px; color: var(--text-dim); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.beta-cta p { margin: 0; }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .hero, .feature { grid-template-columns: 1fr; }
  .feature.reverse .feature-text { order: 0; }
  .hero h1 { font-size: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- changelog ---------- */
.changelog { max-width: 880px; margin: 0 auto; padding: 48px 28px 64px; border-top: 1px solid var(--edge); }
.changelog h2 { text-align: center; margin-bottom: 28px; }
.cl-release { margin-bottom: 28px; }
.cl-release h3 { margin: 0 0 10px; font-size: 1.15rem; }
.cl-date { font-size: 0.8rem; font-weight: 600; color: var(--text-dim); margin-left: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.cl-list { list-style: none; margin: 0; padding: 0; }
.cl-list li { padding: 8px 0; border-bottom: 1px solid var(--edge); font-size: 0.95rem; line-height: 1.6; }
.cl-list li:last-child { border-bottom: none; }
.cl-label { display: inline-block; padding: 1px 9px; margin-right: 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; line-height: 1.5; text-transform: uppercase; letter-spacing: 0.04em; vertical-align: baseline; color: #fff; }
.cl-label--feature { background: #2da44e; }
.cl-label--change { background: #0969da; }
.cl-label--fix { background: var(--red); }

/* credits line above the changelog */
.page-credits {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px 32px;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}
