/* ClipMiner website - colours from the app's dark theme (clipminer/assets/theme.json) */
:root {
  --bg: #121016;
  --card: #1C1A22;
  --raised: #24212C;
  --border: #2E2A38;
  --purple: #7C3AED;
  --purple-hover: #6D28D9;
  --purple-light: #A78BFA;
  --text: #ECEAF2;
  --muted: #C9C4D6;
  --dim: #9A95A8;
  --green: #16A34A;
  --green-light: #4ADE80;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(900px 500px at 50% -120px, rgba(124, 58, 237, 0.28), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--purple-light); }
a:hover { color: #C4B5FD; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--raised); color: var(--text); }

/* Buttons */
.btn {
  display: inline-block; background: var(--purple); color: #fff; text-decoration: none;
  font-weight: 600; padding: 13px 24px; border-radius: 10px; border: 0; font-size: 17px; cursor: pointer;
}
.btn:hover { background: var(--purple-hover); color: #fff; }
.btn.secondary { background: var(--raised); color: var(--text); }
.btn.secondary:hover { background: #332E3E; }
.btn.green { background: var(--green); }
.btn.green:hover { background: #15803D; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

/* Hero */
.hero { text-align: center; padding: 48px 0 32px; }
.hero img.logo { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 12px 48px rgba(124, 58, 237, 0.45); }
.hero h1 { font-size: clamp(32px, 5.5vw, 54px); line-height: 1.15; margin: 22px 0 14px; letter-spacing: -0.5px; }
.hero h1 span { color: var(--purple-light); }
.hero p.lead { color: var(--muted); font-size: 20px; max-width: 680px; margin: 0 auto 28px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .small { color: var(--dim); font-size: 14px; margin-top: 14px; }

/* Sections */
section { padding: 40px 0; }
h2 { font-size: clamp(26px, 3.6vw, 34px); margin: 0 0 10px; text-align: center; }
.section-lead { color: var(--muted); text-align: center; max-width: 640px; margin: 0 auto 30px; }
.kicker { color: var(--purple-light); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; text-align: center; margin-bottom: 6px; }

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

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.steps .num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--purple); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 10px;
}
.steps h3, .features h3 { margin: 0 0 6px; font-size: 19px; }
.steps p, .features p { margin: 0; color: var(--muted); font-size: 16px; }

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

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
@media (max-width: 720px) { .shots { grid-template-columns: 1fr; } }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45); }
.shots figcaption { color: var(--dim); font-size: 15px; text-align: center; margin-top: 10px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan h3 { margin: 0 0 4px; color: var(--muted); font-size: 17px; font-weight: 600; }
.plan .price { font-size: 38px; font-weight: 700; margin: 4px 0; }
.plan .price small { font-size: 18px; color: var(--muted); font-weight: 500; }
.plan ul { padding-left: 20px; color: var(--muted); margin: 12px 0 20px; flex: 1; }
.plan ul li { margin: 4px 0; }
.plan.best { border: 2px solid var(--green); }
.badge { display: inline-block; align-self: flex-start; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.8px; padding: 4px 10px; border-radius: 7px; margin-bottom: 10px; }
.save { color: var(--green-light); font-weight: 600; }
.fine { color: var(--dim); font-size: 14px; text-align: center; margin-top: 16px; }

/* Plain pages (download, contact, policies) */
.page { max-width: 760px; margin: 0 auto; padding: 28px 20px 40px; }
.page h1 { font-size: clamp(30px, 4.5vw, 42px); margin: 10px 0 6px; }
.page h2 { text-align: left; font-size: 23px; margin: 32px 0 8px; }
.page p, .page li { color: var(--muted); }
.page strong { color: var(--text); }
.updated { color: var(--dim); font-size: 14px; }
.draft {
  background: rgba(124, 58, 237, 0.12); border: 1px solid rgba(167, 139, 250, 0.45);
  border-radius: 10px; padding: 12px 16px; color: var(--muted); font-size: 15px; margin: 16px 0;
}
.email-big { font-size: 22px; font-weight: 600; word-break: break-all; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 26px 0 36px; color: var(--dim); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--dim); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 28px; }
  .hero p.lead { font-size: 18px; }
  .nav a { padding: 7px 9px; }
}
