/* Binder product site. Palette matches the app (src/styles/app.css). */
:root {
  --bg: #120c1f;
  --bg-2: #1b1430;
  --panel: #231a3b;
  --panel-2: #2c2149;
  --line: #3d3062;
  --text: #f1eadb;
  --muted: #a99cc2;
  --gold: #f2c35b;
  --gold-2: #c8902c;
  --accent: #6b8cff;
  --radius: 12px;
  --max: 1120px;
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(ellipse at top, #2b1d4d 0%, var(--bg) 55%) no-repeat, var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  color: var(--gold);
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 1em;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.85rem;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(18, 12, 31, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
}

.site-header nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
  align-items: center;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-header nav a:hover {
  color: var(--text);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease;
}

.btn:hover {
  background: #382a5c;
}

.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  background: linear-gradient(180deg, #f6d27a, var(--gold-2));
  color: #2a1a05;
  border-color: #ffe39a;
}

.btn.primary:hover {
  background: linear-gradient(180deg, #ffe08f, #d89c33);
}

.btn.small {
  padding: 8px 14px;
  font-size: 0.9rem;
}

.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.btn .sub {
  font-weight: 400;
  opacity: 0.8;
}

/* ---- Hero ---- */
.hero {
  padding: 72px 0 40px;
  text-align: center;
}

.hero .eyebrow {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hero p.lead {
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: 1.15rem;
  color: var(--muted);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.other-platforms {
  margin-top: 14px;
}

.other-platforms a {
  margin: 0 6px;
}

.shot {
  margin: 48px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(242, 195, 91, 0.08);
  background: var(--bg-2);
}

.shot .bar {
  display: flex;
  gap: 6px;
  padding: 9px 12px;
  background: #1a1230;
  border-bottom: 1px solid var(--line);
}

.shot .bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3d3062;
}

/* ---- Sections ---- */
section {
  padding: 64px 0;
}

section.alt {
  background: rgba(35, 26, 59, 0.45);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 36px;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card .icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.card p:last-child {
  margin-bottom: 0;
}

.paid {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #2a1a05;
  background: var(--gold);
  vertical-align: middle;
}

/* ---- Steps ---- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.steps .card {
  position: relative;
  padding-top: 52px;
}

.steps .card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 16px;
  left: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #2a1a05;
  background: var(--gold);
}

/* ---- Gallery ---- */
.gallery {
  display: grid;
  gap: 22px;
}

.gallery figure {
  margin: 0;
}

.gallery figcaption {
  margin-top: 10px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .gallery figure:first-child {
    grid-column: 1 / -1;
  }
}

/* ---- Pricing ---- */
.pricing {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 820px;
  margin: 0 auto;
}

.plan {
  display: flex;
  flex-direction: column;
}

.plan.featured {
  border-color: var(--gold-2);
  box-shadow: 0 0 0 1px rgba(242, 195, 91, 0.25), 0 20px 50px rgba(0, 0, 0, 0.35);
}

.price {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 4px 0 2px;
}

.price small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  flex: 1;
}

.plan li {
  padding: 6px 0 6px 26px;
  position: relative;
}

.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---- FAQ ---- */
.faq {
  max-width: 780px;
  margin: 0 auto;
}

.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 20px;
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style-position: outside;
}

.faq details p {
  color: var(--muted);
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  justify-content: space-between;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--text);
}

.disclaimer {
  flex-basis: 100%;
  font-size: 0.8rem;
  opacity: 0.85;
}

/* ---- Legal pages ---- */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 20px 72px;
}

.prose h1 {
  font-size: 2.2rem;
}

.prose h2 {
  font-size: 1.3rem;
  margin-top: 1.8em;
}

.prose li {
  margin-bottom: 0.4em;
}

@media (max-width: 640px) {
  .site-header nav a:not(.btn) {
    display: none;
  }
  .hero {
    padding-top: 48px;
  }
  section {
    padding: 48px 0;
  }
  .btn {
    width: 100%;
  }
  .site-header .btn {
    width: auto;
  }
}

@media (max-width: 640px) {
  .hero h1 br {
    display: none;
  }
}

/* ---- Thank-you page ---- */
.license-key {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  margin-bottom: 12px;
  background: var(--panel);
  border: 1px solid var(--gold-2);
  border-radius: var(--radius);
}

.license-key code {
  flex: 1;
  font-size: 1.1rem;
  word-break: break-all;
  color: var(--gold);
}

.error-box {
  background: rgba(226, 87, 76, 0.12);
  border: 1px solid rgba(226, 87, 76, 0.5);
  border-radius: var(--radius);
  padding: 12px 16px;
}
