/* PosePlan · apps.filmpixstudios.com
   Apple-style product site. One stylesheet shared by all pages. */

:root {
  --bg: #000;
  --bg-elev: #0d0d0f;
  --card: #141416;
  --card-2: #1c1c1f;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --yellow: #ffd60a;
  --orange: #ff8d28;
  --purple: #cb30e0;
  --blue: #6699ff;
  --brand: linear-gradient(135deg, #ff8d28 0%, #f25a8a 45%, #cb30e0 100%);
  --radius-l: 28px;
  --radius-m: 18px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; height: 52px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 13px; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-size: 12px; font-weight: 600; color: #000; background: var(--text);
  padding: 6px 13px; border-radius: 980px;
}
@media (max-width: 640px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 600; border-radius: 980px;
  padding: 14px 26px; transition: transform .2s ease, opacity .2s ease;
}
.btn:hover { transform: scale(1.03); }
.btn-primary { background: var(--text); color: #000; }
.btn-ghost { color: var(--accent, var(--yellow)); padding-left: 6px; padding-right: 6px; }
.btn-ghost:hover { text-decoration: underline; transform: none; }
.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: #000; border-radius: 14px; padding: 10px 20px 10px 16px;
  transition: transform .2s ease;
}
.appstore:hover { transform: scale(1.03); }
.appstore svg { width: 26px; height: 26px; }
.appstore span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore small { font-size: 11px; font-weight: 500; }
.appstore b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }

/* ---------- Type ---------- */
.eyebrow { font-size: 17px; font-weight: 600; color: var(--accent, var(--orange)); margin-bottom: 10px; }
.headline {
  font-size: clamp(40px, 7vw, 80px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em;
}
.title { font-size: clamp(32px, 5vw, 56px); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; }
.lead { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.38; color: var(--text-2); font-weight: 500; }
.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; }

section { padding: 120px 0; }
@media (max-width: 720px) { section { padding: 80px 0; } }

/* ---------- Hero ---------- */
.hero { padding: 90px 0 0; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 720px; z-index: -1;
  background: radial-gradient(closest-side, rgba(242, 90, 138, 0.28), transparent 70%),
              radial-gradient(closest-side at 70% 40%, rgba(203, 48, 224, 0.22), transparent 70%);
  filter: blur(20px);
}
.hero-icon { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 26px;
  box-shadow: 0 20px 60px rgba(242, 90, 138, 0.35); }
.hero .lead { max-width: 640px; margin: 20px auto 34px; }
.hero-actions { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero-meta { margin-top: 18px; font-size: 14px; color: var(--text-3); }

/* ---------- Phone mockup ---------- */
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 28px; margin-top: 80px; }
.phone {
  width: 290px; aspect-ratio: 9 / 19.5; border-radius: 52px; padding: 11px;
  background: linear-gradient(145deg, #3a3a3e, #121214);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}
.phone.side { width: 240px; opacity: 0.9; transform: translateY(40px); }
.screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: #0a0a0a; }
.screen > img { width: 100%; height: 100%; object-fit: cover; }
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 34%; height: 26px; background: #000; border-radius: 20px; z-index: 3; }
.glass {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.ui-top { position: absolute; top: 52px; left: 14px; right: 14px; display: flex; justify-content: space-between; z-index: 2; }
.ui-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; }
.ui-bottom { position: absolute; left: 14px; right: 14px; bottom: 22px; z-index: 2; }
.ui-btn { background: #fff; color: #000; border-radius: 14px; padding: 12px; text-align: center; font-weight: 600; font-size: 14px; }
.ui-shade { position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, rgba(0,0,0,0.75)); z-index: 1; }

/* Shoots screen mock */
.mock-list { position: absolute; inset: 52px 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.mock-title { text-align: center; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.mock-card { background: var(--card-2); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.mock-card.active { border-color: rgba(255, 214, 10, 0.9); }
.mock-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; height: 58px; }
.mock-strip img { width: 100%; height: 100%; object-fit: cover; }
.mock-meta { display: flex; gap: 8px; align-items: center; padding: 8px; }
.mock-date { width: 34px; height: 40px; border-radius: 8px; background: rgba(255,255,255,0.07); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.mock-date small { font-size: 7px; color: var(--orange); font-weight: 700; }
.mock-date b { font-size: 14px; }
.mock-meta p { font-size: 11px; font-weight: 600; }
.mock-meta span { font-size: 9px; color: var(--text-2); display: block; font-weight: 400; }
.mock-chip { display: inline-block; margin-top: 3px; font-size: 8px; padding: 2px 6px; border-radius: 10px; background: rgba(255,141,40,0.16); color: #ffb57a; }

@media (max-width: 820px) { .phone.side { display: none; } }

/* ---------- Marquee of poses ---------- */
.marquee { overflow: hidden; margin-top: 56px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 14px; width: max-content; animation: scroll 60s linear infinite; }
.track img { height: 300px; width: auto; border-radius: 16px; }
@keyframes scroll { to { transform: translateX(-50%); } }
.stats { display: flex; justify-content: center; gap: 64px; margin-top: 64px; flex-wrap: wrap; }
.stat b { display: block; font-size: 48px; font-weight: 700; letter-spacing: -0.03em; }
.stat span { color: var(--text-2); font-size: 15px; }

/* ---------- Bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 64px; }
.tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 34px; overflow: hidden; position: relative; min-height: 280px;
  display: flex; flex-direction: column;
}
.tile h3 { font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; margin-top: 14px; }
.tile p { color: var(--text-2); margin-top: 10px; font-size: 16px; }
.tile .icon { font-size: 30px; line-height: 1; }
.span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; }
@media (max-width: 900px) { .span-4, .span-3, .span-2 { grid-column: span 6; } .tile { min-height: 0; padding: 28px; } .tile-photo { min-height: 360px; padding: 0; } }
.tile-photo { padding: 0; min-height: 380px; justify-content: flex-end; }
.tile-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 20%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.92)); }
.tile-photo .tile-body { position: relative; z-index: 1; padding: 34px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: auto; padding-top: 24px; }
.mini-grid img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; width: 100%; }
.mini-grid .locked { filter: blur(6px) grayscale(1) brightness(0.2); }

/* ---------- Golden hour ---------- */
.light-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 40px; margin: 56px auto 0; max-width: 760px; }
.light-head { display: flex; justify-content: space-between; color: var(--text-2); font-size: 15px; }
.light-head b { color: var(--text); font-weight: 600; }
.timeline { position: relative; display: flex; gap: 3px; height: 12px; margin: 28px 0 18px; }
.timeline .g { flex: 44; border-radius: 12px 0 0 12px; background: linear-gradient(90deg, var(--orange), var(--yellow)); }
.timeline .b { flex: 33; border-radius: 0 12px 12px 0; background: linear-gradient(90deg, var(--blue), #273380); }
.timeline .now { position: absolute; top: 50%; left: 30%; width: 20px; height: 20px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 2px 10px rgba(0,0,0,0.6); animation: travel 8s ease-in-out infinite alternate; }
@keyframes travel { from { left: 4%; } to { left: 94%; } }
.times { display: flex; justify-content: space-between; }
.times div:nth-child(2) { text-align: center; } .times div:last-child { text-align: right; }
.times b { display: block; font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.times span { font-size: 13px; font-weight: 600; }

/* ---------- Privacy band ---------- */
.privacy-band { background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.check { padding: 28px; border-radius: var(--radius-m); background: var(--card); border: 1px solid var(--line); }
.check b { display: block; font-size: 19px; margin: 10px 0 6px; }
.check p { color: var(--text-2); font-size: 15px; }
@media (max-width: 800px) { .checks { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 820px; margin: 56px auto 0; }
.plan { padding: 36px; border-radius: var(--radius-l); background: var(--card); border: 1px solid var(--line); }
.plan.pro { background: linear-gradient(var(--card), var(--card)) padding-box, var(--brand) border-box; border: 1.5px solid transparent; }
.plan h3 { font-size: 24px; } .plan .price { font-size: 17px; color: var(--text-2); margin: 6px 0 20px; }
.plan ul { list-style: none; display: grid; gap: 12px; }
.plan li { padding-left: 28px; position: relative; color: var(--text-2); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--yellow); font-weight: 700; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta img { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 26px; }
.cta .lead { margin: 16px auto 32px; max-width: 560px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 12px; color: var(--text-3); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a:hover { color: var(--text); }

/* ---------- Legal pages ---------- */
.legal { padding: 72px 0 100px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.03em; line-height: 1.08; }
.legal .updated { color: var(--text-3); font-size: 15px; margin: 10px 0 36px; }
.legal .summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px 26px; margin-bottom: 40px; }
.legal .summary b { display: block; margin-bottom: 8px; }
.legal .summary ul { padding-left: 20px; color: var(--text-2); display: grid; gap: 6px; }
.legal h2 { font-size: 24px; letter-spacing: -0.02em; margin: 44px 0 12px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text-2); font-size: 17px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin-top: 10px; display: grid; gap: 8px; }
.legal a { color: var(--yellow); }
.legal a:hover { text-decoration: underline; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.legal th { color: var(--text); font-weight: 600; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track, .timeline .now { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Icons ---------- */
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: 0 6px 20px rgba(242, 90, 138, 0.25); }
.ico svg { width: 24px; height: 24px; }
.check .ico { margin: 0 auto; }
.tile-photo .ico { background: rgba(255,255,255,0.18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: none; }
.store-fallback { display: inline-block; background: #fff; color: #000; font-weight: 600; font-size: 17px; padding: 14px 24px; border-radius: 14px; }

/* ---------- App themes (set on <body>) ---------- */
.theme-poseplan     { --brand: linear-gradient(135deg, #ff8d28 0%, #f25a8a 45%, #cb30e0 100%); --accent: #ff8d28; --glow1: rgba(242,90,138,.28); --glow2: rgba(203,48,224,.22); }
.theme-photoborder  { --brand: linear-gradient(135deg, #22d3ee 0%, #a855f7 50%, #fb923c 100%); --accent: #38bdf8; --glow1: rgba(34,211,238,.22); --glow2: rgba(168,85,247,.22); }
.theme-frameforge   { --brand: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #f59e0b 100%); --accent: #60a5fa; --glow1: rgba(59,130,246,.25); --glow2: rgba(245,158,11,.16); }
.theme-captionforge { --brand: linear-gradient(135deg, #a78bfa 0%, #7c3aed 45%, #3b82f6 100%); --accent: #a78bfa; --glow1: rgba(124,58,237,.3); --glow2: rgba(59,130,246,.2); }
.theme-studio       { --brand: linear-gradient(135deg, #ff8d28 0%, #cb30e0 50%, #4078ff 100%); --accent: #ff8d28; --glow1: rgba(242,90,138,.22); --glow2: rgba(64,120,255,.2); }
.hero::before {
  background: radial-gradient(closest-side, var(--glow1, rgba(242,90,138,.28)), transparent 70%),
              radial-gradient(closest-side at 70% 40%, var(--glow2, rgba(203,48,224,.22)), transparent 70%);
}
.hero-icon { box-shadow: 0 20px 60px var(--glow1, rgba(242, 90, 138, 0.35)); }

/* ---------- Global nav app links ---------- */
.nav-links a[aria-current="page"] { color: var(--text); }

/* ---------- Local product nav (Apple-style second bar) ---------- */
.local-nav { position: sticky; top: 52px; z-index: 40; background: rgba(0,0,0,.6); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.local-nav .wrap { display: flex; align-items: center; height: 48px; gap: 18px; }
.local-nav .name { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.local-nav .name img { width: 26px; height: 26px; border-radius: 6px; }
.local-nav .links { display: flex; gap: 20px; margin-left: auto; font-size: 12px; color: var(--text-2); }
.local-nav .links a:hover { color: var(--text); }
.local-nav .get { font-size: 12px; font-weight: 600; color: #fff; background: #0071e3; padding: 5px 12px; border-radius: 980px; }
@media (max-width: 640px) { .local-nav .links { display: none; } .local-nav .get { margin-left: auto; } }

/* ---------- Studio home: app cards ---------- */
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 64px; }
@media (max-width: 800px) { .app-grid { grid-template-columns: 1fr; } }
.app-card {
  position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--card);
  border: 1px solid var(--line); padding: 34px; display: flex; flex-direction: column; min-height: 420px;
  transition: transform .35s ease, border-color .35s ease;
}
.app-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.18); }
.app-card::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 90%; background: radial-gradient(closest-side, var(--glow1), transparent 70%); pointer-events: none; }
.app-card .top { display: flex; align-items: center; gap: 16px; position: relative; }
.app-card .top img { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.app-card h3 { font-size: 28px; letter-spacing: -0.025em; line-height: 1.1; }
.app-card .sub { color: var(--text-2); font-size: 15px; margin-top: 2px; }
.app-card p.desc { color: var(--text-2); margin-top: 20px; position: relative; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; position: relative; }
.chip { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 980px; background: rgba(255,255,255,.08); color: var(--text-2); }
.app-card .shot { margin-top: auto; padding-top: 24px; position: relative; }
.app-card .shot img { border-radius: 12px; border: 1px solid var(--line); width: 100%; height: 200px; object-fit: cover; object-position: top; }
.app-card .actions { display: flex; gap: 18px; align-items: center; margin-top: 22px; position: relative; }
.link { color: var(--accent, #2997ff); font-weight: 500; }
.link:hover { text-decoration: underline; }
.btn-get { font-size: 14px; font-weight: 600; color: #fff; background: #0071e3; padding: 8px 18px; border-radius: 980px; }
.btn-get:hover { background: #0077ed; }

/* ---------- Mac window frame ---------- */
.mac { max-width: 980px; margin: 72px auto 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 50px 140px rgba(0,0,0,.85), 0 0 0 1px rgba(0,0,0,.6); background: #1b1b1d; }
.mac img { width: 100%; }

/* ---------- Screenshot gallery ---------- */
.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 22px 24px; margin-top: 56px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { scroll-snap-align: center; flex: 0 0 auto; border-radius: 22px; border: 1px solid var(--line); }
.gallery.phone-shots img { width: 250px; }
.gallery.mac-shots img { width: min(820px, 86vw); border-radius: 14px; }
@media (min-width: 1200px) { .gallery.phone-shots { justify-content: center; } }

/* ---------- Spec list ---------- */
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.spec { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; }
.spec b { display: block; font-size: 15px; } .spec span { color: var(--text-2); font-size: 14px; }
@media (max-width: 800px) { .specs { grid-template-columns: 1fr 1fr; } }

/* ---------- Legal: per-app sections ---------- */
.legal .app-head { display: flex; align-items: center; gap: 12px; margin: 48px 0 8px; }
.legal .app-head img { width: 40px; height: 40px; border-radius: 10px; }
.legal .app-head h2 { margin: 0; }
.legal .toc { display: flex; gap: 10px; flex-wrap: wrap; margin: -16px 0 32px; }
.legal .toc a { font-size: 14px; padding: 6px 12px; border-radius: 980px; background: var(--card); border: 1px solid var(--line); color: var(--text-2); }
.legal .toc a:hover { color: var(--text); text-decoration: none; }
.theme-poseplan .btn-ghost { color: var(--yellow); }
@media (min-width: 1000px) { .gallery.mac-shots { justify-content: center; } }
.legal ul + p, .legal table + p { margin-top: 14px; }
