/* ---------- Variables ---------- */
:root {
  --bg:        #07070f;
  --bg-2:      #0a0a14;
  --bg-3:      #10101e;
  --card:      #11111f;
  --card-2:    #15152a;
  --line:      #1d1d33;
  --text:      #e8e8f3;
  --text-2:    #a8a8c0;
  --text-3:    #6d6d85;
  --accent:    #6366f1;
  --accent-2:  #818cf8;
  --accent-3:  #a5b4fc;
  --rose:      #e11d48;
  --rose-2:    #f43f5e;
  --warn:      #facc15;
  --radius:    14px;
  --max:       1180px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

a { color: var(--accent-3); text-decoration: none; }
a:hover { color: #ffffff; }

img, picture { max-width: 100%; height: auto; display: block; }

kbd {
  background: #1a1a30;
  border: 1px solid #2a2a45;
  border-bottom-width: 2px;
  padding: 2px 7px;
  border-radius: 5px;
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 0.82em;
  color: #d6d6ee;
}

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

.grad {
  background: linear-gradient(120deg, #a5b4fc 0%, #6366f1 50%, #e11d48 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: all .18s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-lg  { padding: 14px 28px; font-size: 16px; }
.btn-sm  { padding: 8px 16px;  font-size: 14px; }

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  box-shadow: 0 8px 32px rgba(99,102,241,.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #7c7ff7, #6366f1);
  transform: translateY(-1px);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--accent-3);
  border-color: #2c2c4a;
}
.btn-ghost:hover {
  background: #14142a;
  border-color: var(--accent);
  color: #fff;
}

.btn-donate {
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #fff;
  box-shadow: 0 8px 32px rgba(225,29,72,.35);
}
.btn-donate:hover {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  transform: translateY(-1px);
  color: #fff;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,7,15,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  letter-spacing: 0.3px;
}
.brand img { border-radius: 7px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover { color: #fff; }
.nav-links .btn { color: #fff; }

@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 20% 10%, rgba(99,102,241,.18), transparent 60%),
    radial-gradient(50% 50% at 90% 30%, rgba(225,29,72,.12), transparent 60%),
    linear-gradient(180deg, #07070f 0%, #0a0a14 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  margin: 14px 0 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-3);
  background: rgba(99,102,241,.10);
  border: 1px solid rgba(99,102,241,.30);
  padding: 6px 12px;
  border-radius: 999px;
}
.lead {
  font-size: 18px;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 28px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.footnote { color: var(--text-3); font-size: 13px; }

.hero-art {
  position: relative;
}
.hero-art img {
  filter: drop-shadow(0 30px 60px rgba(99,102,241,.25));
}
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { order: -1; max-width: 480px; margin: 0 auto; }
}

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}
.section-alt { background: var(--bg-2); }
.section-title {
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 8px;
  letter-spacing: -0.3px;
  font-weight: 700;
}
.section-sub {
  color: var(--text-2);
  font-size: 17px;
  margin: 0 auto 44px;
  max-width: 640px;
}
.section-title, .section-sub { text-align: center; }

/* ---------- Grids ---------- */
.grid {
  display: grid;
  gap: 18px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 920px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover {
  border-color: #2a2a48;
  transform: translateY(-2px);
}
.card-ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.30);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.card.warning .card-ico {
  background: rgba(250,204,21,.10);
  border-color: rgba(250,204,21,.35);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: #fff;
  font-weight: 600;
}
.card p {
  color: var(--text-2);
  font-size: 14.5px;
  margin: 0 0 8px;
}
.card p.small {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* ---------- Showcase ---------- */
.showcase-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
.showcase-app,
.showcase-shot {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s ease, transform .15s ease;
  width: 100%;
}
.showcase-app {
  max-width: 620px;
}
.showcase-app:hover,
.showcase-shot:hover {
  border-color: #2a2a48;
  transform: translateY(-2px);
}
.showcase-app img,
.showcase-shot img {
  width: 100%;
  height: auto;
  display: block;
  background: #07070f;
}
.zoomable img { cursor: zoom-in; }
.showcase-app figcaption,
.showcase-shot figcaption {
  padding: 14px 18px;
  color: var(--text-2);
  font-size: 14px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.showcase-app strong { color: #fff; font-weight: 600; }

.showcase-pair {
  display: grid;
  gap: 18px;
  width: 100%;
}
.showcase-shot { position: relative; }
.shot-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(7,7,15,.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(99,102,241,.35);
  color: var(--accent-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 4, 10, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .18s ease;
  cursor: zoom-out;
}
.lightbox.open { opacity: 1; }
.lightbox img {
  max-width: min(96vw, 1800px);
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 40px 120px rgba(0,0,0,.7);
  transform: scale(.96);
  transition: transform .18s ease;
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(7,7,15,.7);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover { background: rgba(99,102,241,.35); }

@media (max-width: 640px) {
  .showcase-app { max-width: 100%; }
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.steps li {
  display: flex;
  gap: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #4338ca);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}
.steps h3 { margin: 0 0 6px; color: #fff; font-size: 17px; }
.steps p  { margin: 0; color: var(--text-2); font-size: 14.5px; }

/* ---------- CTA section ---------- */
.section-cta {
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(99,102,241,.20), transparent 60%),
    var(--bg-2);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-cta h2 { font-size: clamp(28px, 3vw, 38px); margin: 0 0 8px; }
.section-cta p  { color: var(--text-2); margin: 0; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Version tag ---------- */
.version-tag {
  display: inline-block;
  font-size: 0.45em;
  vertical-align: middle;
  margin-left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.30);
  color: var(--accent-3);
  font-weight: 600;
  letter-spacing: 1px;
  font-family: "JetBrains Mono", "Consolas", monospace;
}

/* ---------- Disclaimer ---------- */
.section-disclaimer {
  background: var(--bg-2);
  padding: 56px 0;
}
.disclaimer-box {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: linear-gradient(180deg, #1a160a, #15110a);
  border: 1px solid #4a3a0a;
  border-radius: var(--radius);
  padding: 26px 28px;
}
.disclaimer-ico {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(250,204,21,.10);
  border: 1px solid rgba(250,204,21,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.disclaimer-box h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--warn);
  font-weight: 700;
}
.disclaimer-box p {
  color: var(--text-2);
  font-size: 14.5px;
  margin: 0 0 10px;
  line-height: 1.65;
}
.disclaimer-box p:last-child { margin-bottom: 0; }
.disclaimer-box strong { color: #f8e6a0; }

@media (max-width: 640px) {
  .disclaimer-box { flex-direction: column; gap: 12px; padding: 22px; }
}

/* ---------- Donate ---------- */
.donate-inner {
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
}
.donate-logo {
  margin: 0 auto 18px;
  border-radius: 28px;
  filter: drop-shadow(0 16px 36px rgba(225,29,72,.30));
}
.donate-placeholder {
  color: var(--text-3);
  font-size: 14px;
  margin: 18px 0 24px;
}
.donate-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.paypal-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding: 24px 20px;
  background: linear-gradient(180deg, #11111f, #15152a);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}
.paypal-wrap #paypal-container-ZXKFFGA7W6Y5E {
  width: 100%;
  min-width: 220px;
  text-align: center;
}
.paypal-wrap #paypal-container-ZXKFFGA7W6Y5E iframe {
  margin: 0 auto;
  max-width: 100%;
}
.donate-note { text-align: center; }
.donate-note {
  margin: 0;
  color: var(--text-3);
  font-size: 12.5px;
  letter-spacing: 0.3px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
}
.footer-brand img { border-radius: 6px; }
.footer-copy { color: var(--text-3); font-size: 13px; margin: 0; line-height: 1.6; }
.footer-small { color: #50506a; font-size: 12px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--text-2); font-size: 13.5px; }

/* ---------- Misc ---------- */
::selection { background: rgba(99,102,241,.40); color: #fff; }

/* ---------- Large screens (2K / 4K / ultrawide) ---------- */
/* Keeps the 1920×1080 view identical, scales up on bigger displays. */
@media (min-width: 1921px) {
  :root { --max: 1360px; }
  html, body { font-size: 17px; }
  .lead { font-size: 19px; }
  .section { padding: 104px 0; }
  .hero { padding: 96px 0 72px; }
  .section-sub { font-size: 18px; }
  .card p { font-size: 15.5px; }
}
@media (min-width: 2400px) {
  :root { --max: 1520px; }
  html, body { font-size: 18px; }
  .lead { font-size: 20px; }
  .section { padding: 120px 0; }
  .hero { padding: 112px 0 88px; }
  .section-sub { font-size: 19px; }
  .card p { font-size: 16px; }
  .showcase-app { max-width: 760px; }
}
@media (min-width: 3000px) {
  :root { --max: 1720px; }
  html, body { font-size: 19px; }
  .lead { font-size: 21px; }
  .showcase-app { max-width: 860px; }
}
