/* MPC Sample Project Converter — landing page.
   Matches the app's look: dark display header, cream body, cyan + orange accents. */
:root {
  --bg: #ecebe6;
  --bg-2: #e3e1da;
  --panel: #f4f3ef;
  --edge: #c4c2ba;
  --edge-dark: #a6a49c;
  --display: #161616;
  --display-2: #232323;
  --text: #2a2a28;
  --text-dim: #5f6061;
  --cyan: #1ec8e6;
  --cyan-dim: #15a6c0;
  --orange: #ff7a00;
  --orange-dim: #e86a00;
  --red: #e30613;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan-dim); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; }
.accent { color: var(--orange); }

/* ---- header ---- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(var(--display-2), var(--display));
  border-bottom: 2px solid #000;
}
/* inner wrapper keeps logo + nav on the same max width as the page content */
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 22px;
  max-width: 1180px; margin: 0 auto; padding: 14px 28px;
}
.brand img { height: 75px; }
.brand:hover { text-decoration: none; }
/* slim Padbangers strip above the header, slightly darker than the header */
.topstrip {
  display: flex; align-items: center; justify-content: center;
  background: #0c0c0c; padding: 5px 0; border-bottom: 1px solid #000;
}
.topstrip img { height: 26px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: #d8dde3; font-size: 14px; font-weight: 600; }
.nav a:hover { color: #fff; text-decoration: none; }
.pill {
  display: inline-flex; align-items: center; line-height: 1;
  border-radius: 6px; padding: 9px 16px; font-weight: 700; font-size: 13px;
  color: #fff !important; background: linear-gradient(var(--cyan), var(--cyan-dim));
}
.pill:hover { filter: brightness(1.08); text-decoration: none; }
.pill.dl-btn { background: linear-gradient(var(--cyan), var(--cyan-dim)); color: #fff !important; }

/* ---- hero ---- */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  max-width: 1180px; 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; }
.btn {
  display: inline-block; border-radius: 6px; padding: 13px 28px; font-weight: 700;
  font-size: 15px; cursor: pointer; border: 1px solid transparent;
}
.btn.primary { background: linear-gradient(var(--cyan), var(--cyan-dim)); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--edge-dark); }
.btn.ghost:hover { background: var(--bg-2); text-decoration: none; }
.sub { color: var(--text-dim); font-size: 13px; margin-top: 18px; }
/* all screenshots are cut-outs (transparent) — no frame, no panel, 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; }
/* a feature with no screenshot: single centred column */
.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-compat {
  display: inline-block; margin: 0 0 26px; padding: 8px 16px; border-radius: 6px;
  font-size: 14px; color: var(--text);
  background: rgba(255,122,0,0.12); border: 1px solid rgba(255,122,0,0.45);
}
.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-card.disabled { opacity: 0.75; cursor: default; pointer-events: none; }
.dl-card.disabled:hover { border-color: var(--edge-dark); box-shadow: none; }
.dl-card.disabled .dl-cta { background: #b6b4ad; }
.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; }

/* ---- footer (matches the home page) ---- */
.site-footer {
  background: linear-gradient(var(--display-2), var(--display)); color: #cfcec9;
  text-align: center; padding: 28px; font-size: 13px;
}
.site-footer a { color: var(--cyan); }
.site-footer__links {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 14px;
}
.site-footer__social {
  display: flex; gap: 14px; justify-content: center; margin-bottom: 16px;
}
.social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; color: #d8dde3;
  transition: color 0.18s ease, transform 0.18s ease;
}
.social:hover { color: #fff; transform: translateY(-1px); text-decoration: none; }
.social svg { width: 28px; height: 28px; display: block; }
.disclaimer {
  color: #8b8c8d; font-size: 11px; max-width: 640px;
  margin: 0 auto 12px; text-align: center;
}
.copyright { color: #8b8c8d; display: block; }

/* ---- 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; }
  /* keep the menu visible: stack brand + nav and let the nav wrap */
  .topbar__inner { flex-wrap: wrap; justify-content: center; gap: 12px 18px; }
  .brand img { height: 56px; }
  .nav { flex-wrap: wrap; justify-content: center; gap: 14px 18px; }
}
