/* GalleryShift site. Plain CSS, no build step. Colours match the app. */
@font-face {
  font-family: "Jakarta";
  src: url("fonts/PlusJakartaSans.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #0a0a0f;
  --surface: #15151d;
  --surface-high: #1f1f2a;
  --stroke: rgba(255, 255, 255, 0.09);
  --text: #f5f5f8;
  --dim: #a8a8b8;
  --faint: #7a7a8c;
  --keep: #2fd89a;
  --delete: #ff4d67;
  --accent: #8b7bff;
  --accent-alt: #ff6bb5;
  --gradient: linear-gradient(135deg, var(--accent), var(--accent-alt));
  --wrap: 1120px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

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

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0; font-weight: 800; }
h1 { font-size: clamp(2.5rem, 7vw, 4.3rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.lead { color: var(--dim); font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 34rem; }
.grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------------------------------------------------------- header */
.site-header { position: relative; z-index: 2; padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.nav { display: flex; gap: 6px; flex-wrap: nowrap; justify-content: flex-end; }
.nav a { text-decoration: none; color: var(--dim); font-weight: 600; font-size: 0.95rem; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: var(--text); background: var(--surface); }
@media (max-width: 560px) { .nav a.optional { display: none; } }
@media (max-width: 420px) {
  .nav { gap: 0; }
  .nav a { padding: 8px 9px; font-size: 0.9rem; }
  .brand { font-size: 1rem; gap: 10px; }
  .brand img { width: 34px; height: 34px; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: 36px 0 70px; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
}
.hero::before { width: 760px; height: 760px; left: -280px; top: -360px; background: radial-gradient(closest-side, rgba(139, 123, 255, 0.34), transparent); }
.hero::after { width: 720px; height: 720px; right: -300px; top: 120px; background: radial-gradient(closest-side, rgba(255, 107, 181, 0.22), transparent); }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
.hero-copy > * + * { margin-top: 22px; }
.hero-copy h1 { margin-top: 14px; }
@media (min-width: 920px) {
  .hero { padding: 56px 0 110px; }
  .hero .wrap { grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
}

.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 18px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 12px 30px rgba(139, 123, 255, 0.35); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-quiet { background: var(--surface-high); color: var(--text); border-color: var(--stroke); }
.btn-quiet:hover { background: #2a2a37; }
.soon {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 22px; border-radius: 18px; font-weight: 700;
  border: 1px dashed rgba(255, 255, 255, 0.22); color: var(--dim);
}
.soon i { width: 9px; height: 9px; border-radius: 50%; background: var(--keep); box-shadow: 0 0 0 5px rgba(47, 216, 154, 0.18); }

.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: center; color: #e6e6ee; font-weight: 600; }
.ticks i { flex: none; width: 10px; height: 10px; border-radius: 50%; }

/* phones */
.phone {
  position: relative; border-radius: 13% / 6%; overflow: hidden;
  background: #1a1a22; padding: 2.6%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 40px 80px rgba(0, 0, 0, 0.6);
}
.phone img { border-radius: 11% / 5%; width: 100%; }
.stage { position: relative; width: min(74vw, 330px); margin: 0 auto; }
.stage .phone { position: relative; z-index: 2; }
.stage .side { position: absolute; top: 7%; width: 84%; z-index: 1; opacity: 0.92; }
.stage .side.left { left: -46%; transform: rotate(-8deg); }
.stage .side.right { right: -46%; transform: rotate(8deg); }
/* The side phones need room: below this width they would cover the text. */
@media (max-width: 1099px) { .stage .side { display: none; } }
@media (min-width: 920px) { .stage { width: 280px; } }

/* -------------------------------------------------------------- sections */
section { padding: 72px 0; position: relative; }
.section-head { max-width: 40rem; margin-bottom: 40px; }
.section-head > * + * { margin-top: 14px; }
.section-head p { color: var(--dim); }

.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--stroke); border-radius: 26px; padding: 26px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px;
  font-weight: 800; background: var(--surface-high); margin-bottom: 18px;
}
.step.keep::before { color: var(--keep); background: rgba(47, 216, 154, 0.13); }
.step.del::before { color: var(--delete); background: rgba(255, 77, 103, 0.13); }
.step.free::before { color: var(--accent); background: rgba(139, 123, 255, 0.15); }
.step p { color: var(--dim); margin-top: 10px; }

.features { display: grid; gap: 16px; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--surface); border: 1px solid var(--stroke); border-radius: 26px; padding: 26px; }
.feature .icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(139, 123, 255, 0.15); color: var(--accent);
}
.feature .icon svg { width: 24px; height: 24px; }
.feature p { color: var(--dim); margin-top: 10px; }
.tag { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 99px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; background: var(--surface-high); color: var(--dim); vertical-align: 2px; }

/* screenshots strip */
.shots { display: flex; gap: 18px; overflow-x: auto; padding: 6px 22px 26px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #33334a transparent; }
.shots figure { flex: none; width: min(62vw, 250px); margin: 0; scroll-snap-align: center; }
.shots figcaption { text-align: center; color: var(--dim); font-weight: 600; font-size: 0.95rem; margin-top: 14px; }
@media (min-width: 1164px) { .shots { padding-left: calc((100vw - var(--wrap)) / 2 + 22px); padding-right: calc((100vw - var(--wrap)) / 2 + 22px); } }

/* privacy band */
.band { background: var(--surface); border: 1px solid var(--stroke); border-radius: 34px; padding: clamp(28px, 5vw, 54px); position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; bottom: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 216, 154, 0.16), transparent); pointer-events: none; }
.band > * { position: relative; z-index: 1; }
.band h2 { max-width: 22ch; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.facts li { display: flex; gap: 12px; align-items: flex-start; color: #e6e6ee; }
.facts svg { flex: none; width: 22px; height: 22px; color: var(--keep); margin-top: 3px; }
.band .more { margin-top: 28px; }
.text-link { color: var(--accent); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 800px; }
.faq details { background: var(--surface); border: 1px solid var(--stroke); border-radius: 20px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 600; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--dim); padding: 0 0 18px; }

/* footer */
.site-footer { border-top: 1px solid var(--stroke); padding: 34px 0 48px; color: var(--faint); font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: var(--dim); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--text); }

/* ----------------------------------------------- text pages (privacy, support) */
.doc { padding: 26px 0 80px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2rem, 5.5vw, 3rem); }
.doc .updated { color: var(--faint); margin-top: 12px; font-weight: 600; }
.doc .summary { background: var(--surface); border: 1px solid var(--stroke); border-left: 4px solid var(--keep); border-radius: 18px; padding: 20px 22px; margin: 30px 0; color: #e6e6ee; }
.doc h2 { font-size: 1.45rem; margin: 44px 0 14px; }
.doc p, .doc li { color: #cfcfdb; }
.doc p + p, .doc ul + p { margin-top: 14px; }
.doc ul { padding-left: 1.2rem; margin: 12px 0 0; display: grid; gap: 8px; }
.doc a { color: var(--accent); font-weight: 600; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--stroke); color: #cfcfdb; }
.doc th { color: var(--text); font-weight: 700; }
.doc code { background: var(--surface-high); padding: 2px 6px; border-radius: 6px; font-size: 0.88em; }
.table-scroll { overflow-x: auto; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
