/* Blockprint marketing site – shared stylesheet */
:root {
  --bg: #0a1022;
  --bg-2: #0e1730;
  --card: rgba(255, 255, 255, .045);
  --card-2: rgba(255, 255, 255, .07);
  --line: rgba(160, 200, 255, .12);
  --text: #f1f4ff;
  --muted: #aab4cf;
  --teal: #37e2b6;
  --teal-2: #16b98f;
  --gold: #ffcb4f;
  --pink: #ff86bd;
  --violet: #9b8cff;
  --radius: 22px;
  --wrap: 1140px;
  --font: "Nunito", ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 600px at 12% -5%, rgba(55, 226, 182, .20), transparent 60%),
    radial-gradient(700px 520px at 95% 8%, rgba(255, 134, 189, .14), transparent 60%),
    radial-gradient(800px 600px at 50% 105%, rgba(255, 203, 79, .10), transparent 60%),
    linear-gradient(rgba(120, 200, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 200, 255, .045) 1px, transparent 1px),
    linear-gradient(180deg, #0b1226 0%, #0a1022 40%, #0c1328 100%);
  background-size: auto, auto, auto, 44px 44px, 44px 44px, auto;
  background-attachment: fixed, fixed, fixed, fixed, fixed, fixed;
  color: var(--text);
  font: 17px/1.6 var(--font);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #7ff3d4; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #111; padding: 8px 14px; border-radius: 10px; z-index: 100; font-weight: 800; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(10, 16, 34, .72);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 900; font-size: 20px; letter-spacing: -.01em; margin-right: auto; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 14px rgba(55, 226, 182, .25); }
.brand:hover { color: var(--text); }
.nav { display: none; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--card-2); }
@media (min-width: 820px) { .nav { display: flex; } }

.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); }
.lang a { font-size: 13px; font-weight: 800; color: var(--muted); text-decoration: none; padding: 5px 10px; border-radius: 999px; line-height: 1; }
.lang a[aria-current="true"] { background: var(--teal); color: #05261d; }
.lang a:not([aria-current="true"]):hover { color: var(--text); }

.header-cta { display: none; }
@media (min-width: 520px) {
  .header-cta { display: inline-flex; align-items: center; gap: 6px; background: var(--text); color: #0a1022; font-weight: 800; font-size: 14px; padding: 8px 14px; border-radius: 999px; text-decoration: none; }
  .header-cta:hover { color: #0a1022; background: #fff; }
}

/* ---------- Buttons / badges ---------- */
.appstore {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .45); border-radius: 14px;
  padding: 9px 20px 9px 16px; min-height: 58px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.appstore:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(55, 226, 182, .25); }
.appstore svg { width: 30px; height: 30px; flex: none; }
.appstore span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore small { font-size: 12px; font-weight: 600; letter-spacing: .01em; }
.appstore b { font-size: 22px; font-weight: 700; letter-spacing: -.01em; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(55, 226, 182, .14); color: var(--teal);
  border: 1px solid rgba(55, 226, 182, .35);
  font-weight: 900; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 48px 0 40px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 64px; }
  .hero .wrap { grid-template-columns: 1.1fr .9fr; gap: 48px; }
}
.hero-copy { text-align: center; }
@media (min-width: 900px) { .hero-copy { text-align: left; } }
.hero-icon {
  width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 20px;
  box-shadow: 0 18px 40px rgba(55, 226, 182, .28), 0 0 0 1px rgba(255, 255, 255, .08);
}
@media (min-width: 900px) { .hero-icon { margin-left: 0; } }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.02em; margin: 0; }
.hero h1 { font-size: clamp(34px, 8.6vw, 58px); font-weight: 900; margin: 16px 0 16px; }
.grad { background: linear-gradient(92deg, var(--teal) 0%, #7cf0d0 40%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); max-width: 34em; margin: 0 auto 26px; }
@media (min-width: 900px) { .hero p.lead { margin-left: 0; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; justify-content: center; }
@media (min-width: 900px) { .hero-cta { justify-content: flex-start; } }
.trial-note { font-size: 14px; color: var(--muted); font-weight: 700; }
.trial-note strong { color: var(--gold); }
.stats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 28px 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .stats { justify-content: flex-start; } }
.stats li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px 14px; font-size: 14px; color: var(--muted); font-weight: 700; }
.stats b { color: var(--text); font-weight: 900; }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; min-height: 520px; }
.hero-visual::before {
  content: ""; position: absolute; inset: 8% 6%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(55, 226, 182, .35), rgba(155, 140, 255, .15) 60%, transparent);
  filter: blur(30px);
}
.phone {
  position: relative; width: min(270px, 70vw); aspect-ratio: 930 / 2080;
  border-radius: 44px; padding: 10px;
  background: linear-gradient(145deg, #2a3150, #12172a 60%, #262d48);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55), inset 0 0 0 1.5px rgba(255, 255, 255, .14);
  transform: rotate(-3deg);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 35px; background: #0a0d17; }
.phone::after { /* dynamic island */
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 32%; height: 22px; border-radius: 999px; background: #000;
}
.float {
  position: absolute; z-index: 2; width: clamp(96px, 28vw, 170px); filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .5));
  animation: bob 6s ease-in-out infinite;
}
.float.f1 { left: max(0px, calc(50% - 250px)); top: 6%; }
.float.f2 { right: max(0px, calc(50% - 250px)); top: 38%; animation-delay: -2s; }
.float.f3 { left: max(0px, calc(50% - 230px)); bottom: 2%; animation-delay: -4s; width: clamp(100px, 26vw, 150px); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }

/* ---------- Sections ---------- */
section { padding: 56px 0; }
@media (min-width: 900px) { section { padding: 80px 0; } }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.section-head h2 { font-size: clamp(30px, 5vw, 44px); font-weight: 900; margin: 12px 0 12px; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }
.eyebrow { color: var(--gold); font-weight: 900; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }

/* Feature cards */
.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(55, 226, 182, .4); }
.feature h3 { font-size: 21px; font-weight: 900; margin: 16px 0 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }
.ficon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.ficon svg { width: 28px; height: 28px; }
.t-teal { background: rgba(55, 226, 182, .16); color: var(--teal); }
.t-gold { background: rgba(255, 203, 79, .16); color: var(--gold); }
.t-pink { background: rgba(255, 134, 189, .16); color: var(--pink); }
.t-violet { background: rgba(155, 140, 255, .18); color: var(--violet); }
.t-sky { background: rgba(110, 190, 255, .16); color: #7cc4ff; }
.feature.wide { display: grid; gap: 18px; }
@media (min-width: 980px) {
  .feature.wide { grid-column: span 3; grid-template-columns: 1fr 1fr; align-items: center; padding: 32px 40px; }
}
.feature .mini { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.feature .mini span { font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--card-2); color: var(--text); }

/* Gallery marquee */
.gallery { overflow: hidden; padding: 8px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.gallery + .gallery { margin-top: 14px; }
.track { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.gallery.rev .track { animation-direction: reverse; animation-duration: 80s; }
.gallery:hover .track, .gallery:focus-within .track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) {
  .track { animation: none; }
  .gallery { overflow-x: auto; }
}
.tile {
  flex: none; width: 200px; margin: 0;
  background: radial-gradient(circle at 50% 35%, rgba(55, 226, 182, .14), transparent 70%), #121a33;
  border: 1px solid var(--line); border-radius: 20px; padding: 12px 12px 10px;
}
@media (min-width: 640px) { .tile { width: 230px; } }
.tile img { width: 100%; aspect-ratio: 11 / 10; object-fit: contain; }
.tile figcaption { font-size: 14px; font-weight: 800; text-align: center; color: var(--text); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Categories */
.cats { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cats { grid-template-columns: repeat(5, 1fr); } }
.cat {
  position: relative; overflow: hidden; border-radius: 20px; min-height: 0; aspect-ratio: 1 / 1.05;
  padding: 14px; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line);
  background: var(--c, #18223f);
}
.cat img, .cat svg { position: absolute; left: 50%; top: 4%; margin-left: -36%; width: 72%; height: auto; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .45)); transition: transform .25s ease; }
.cat svg { width: 50%; margin-left: -25%; top: 10%; }
@media (max-width: 699px) { .cat { aspect-ratio: 1 / 1.2; } .cat img { width: 64%; margin-left: -32%; top: 3%; } .cat svg { width: 44%; margin-left: -22%; top: 8%; } }
.cat:hover img, .cat:hover svg { transform: scale(1.06) rotate(-2deg); }
.cat h3 { position: relative; font-size: 17px; font-weight: 900; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); }
.cat small { position: relative; color: rgba(255, 255, 255, .82); font-weight: 700; font-size: 13px; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.c-orange { --c: linear-gradient(160deg, #ff9a3c33, #2a1530 70%); }
.c-red { --c: linear-gradient(160deg, #3fd58a30, #3a1426 70%); }
.c-pink { --c: linear-gradient(160deg, #ff86bd38, #241a3d 70%); }
.c-teal { --c: linear-gradient(160deg, #37e2b633, #10233a 70%); }
.c-violet { --c: linear-gradient(160deg, #9b8cff3a, #171a3d 70%); }
.c-blue { --c: linear-gradient(160deg, #5aa8ff36, #0f1d3a 70%); }
.c-gold { --c: linear-gradient(160deg, #ffcb4f30, #2a2030 70%); }
.c-green { --c: linear-gradient(160deg, #7bd85a33, #132a26 70%); }
.c-sky { --c: linear-gradient(160deg, #7cc4ff33, #142040 70%); }
.c-rose { --c: linear-gradient(160deg, #ff8a8a33, #2a1a35 70%); }

/* Screenshot carousel */
.carousel { position: relative; }
.shots {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px max(16px, calc((100vw - var(--wrap)) / 2 + 28px)) 18px; scroll-padding: 0 max(16px, calc((100vw - var(--wrap)) / 2 + 28px));
  scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }
.shots li { list-style: none; flex: none; scroll-snap-align: center; width: min(250px, 66vw); }
.shots img { width: 100%; aspect-ratio: 1320 / 2868; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0, 0, 0, .4); background: #0e1730; }
.car-btns { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 8px; }
.car-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card-2); color: var(--text); font-size: 20px; cursor: pointer; display: grid; place-items: center; }
.car-btn:hover { background: rgba(55, 226, 182, .2); }
.car-btn:disabled { opacity: .35; cursor: default; }
.dots { display: flex; gap: 6px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .25); transition: width .2s, background .2s; }
.dots span.on { width: 22px; border-radius: 999px; background: var(--teal); }

/* Pro band */
.pro {
  border-radius: 28px; padding: 36px 24px; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(500px 260px at 0% 0%, rgba(255, 203, 79, .25), transparent 70%),
    radial-gradient(500px 260px at 100% 100%, rgba(255, 134, 189, .22), transparent 70%),
    #121a35;
  border: 1px solid rgba(255, 203, 79, .3);
}
.pro h2 { font-size: clamp(28px, 4.5vw, 40px); font-weight: 900; margin: 10px 0 10px; }
.pro p { color: var(--muted); max-width: 560px; margin: 0 auto 22px; }
.pro .crown { width: 56px; height: 56px; margin: 0 auto; color: var(--gold); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 20px; }
.faq details[open] { background: var(--card-2); border-color: rgba(55, 226, 182, .35); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 800; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--teal); font-weight: 700; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Final CTA */
.final { text-align: center; }
.final img { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto 18px; box-shadow: 0 16px 36px rgba(55, 226, 182, .25); }
.final h2 { font-size: clamp(30px, 5vw, 44px); font-weight: 900; margin-bottom: 12px; }
.final p { color: var(--muted); margin: 0 0 24px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: rgba(6, 10, 22, .6); padding: 36px 0 44px; margin-top: 24px; font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: grid; gap: 18px; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: start; } }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 900; font-size: 18px; }
.foot-brand img { width: 30px; height: 30px; border-radius: 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: var(--text); text-decoration: none; font-weight: 700; }
.foot-links a:hover { color: var(--teal); }
.disclaimer { margin: 0; font-size: 14px; }
.copy { margin: 0; font-size: 14px; }

/* ---------- Legal / support pages ---------- */
.doc { padding: 40px 0 24px; }
.doc .wrap { max-width: 820px; }
.doc-head { text-align: center; margin-bottom: 28px; }
.doc-head h1 { font-size: clamp(34px, 6vw, 50px); font-weight: 900; margin: 14px 0 8px; }
.doc-head .updated { color: var(--muted); font-weight: 700; font-size: 15px; }
.doc-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025));
  border: 1px solid var(--line); border-radius: 26px; padding: 8px 22px 22px;
}
@media (min-width: 640px) { .doc-card { padding: 12px 40px 32px; } }
.doc-card > p:first-child { font-size: 18px; color: var(--text); }
.doc-card h2 { font-size: 21px; font-weight: 900; margin: 28px 0 6px; display: flex; align-items: center; gap: 10px; }
.doc-card h2::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--teal); box-shadow: 0 0 0 4px rgba(55, 226, 182, .18); flex: none; }
.doc-card p { color: #cfd6ea; margin: 0 0 8px; }
.contact-card {
  margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  background: rgba(55, 226, 182, .1); border: 1px solid rgba(55, 226, 182, .35); border-radius: 20px; padding: 18px 22px;
}
.contact-card p { margin: 0; font-weight: 800; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--teal); color: #05261d; font-weight: 900; text-decoration: none; padding: 10px 18px; border-radius: 999px; }
.btn:hover { background: #6af0cd; color: #05261d; }

/* Support Q&A cards */
.qa { display: grid; gap: 12px; }
@media (min-width: 720px) { .qa { grid-template-columns: 1fr 1fr; } }
.qa article { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; }
.qa h2 { font-size: 18px; font-weight: 900; margin: 0 0 8px; }
.qa p { margin: 0; color: #cfd6ea; }
