/* Cinepop site. Colors come from the app: the icon gradient, AccentColor, CinepopStyle.star and .dusk.
   The site is dark like the app itself, so the real screenshots sit naturally on the page. */
:root {
  --plum: #30043f;
  --violet: #3d00f6;
  --accent: #5b6cff;
  --dusk: #8b7cff;
  --star: #ffbd38;
  --coral: #ff6b6b;
  --bg: #08060f;
  --bg-2: #0f0b1c;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --text: #f4f2fb;
  --muted: #a49fb8;
  --line: rgba(255, 255, 255, 0.09);
  --link: #b3a8ff;
  --radius: 28px;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }

/* Header */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(1.6) blur(20px); -webkit-backdrop-filter: saturate(1.6) blur(20px); background: rgba(8, 6, 15, 0.62); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 21px/1 var(--serif); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); }
.nav-links .pill { color: #16131f; background: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 650; }
.nav-links .pill:hover { color: #16131f; }
@media (max-width: 640px) { .nav-links .hide-sm { display: none; } .nav-links { gap: 16px; } }

/* Shared type */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--star); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--star); box-shadow: 0 0 12px var(--star); margin-left: 6px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; }
.grad { background: linear-gradient(100deg, #fff 10%, #c9bfff 45%, var(--star) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: -0.01em; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #16131f; text-decoration: none; font-weight: 650; padding: 14px 24px; border-radius: 999px; box-shadow: 0 10px 40px rgba(124, 77, 255, 0.35); transition: transform 0.2s; }
.cta:hover { transform: translateY(-2px); }
.cta svg { width: 20px; height: 20px; }
.ghost { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 600; padding: 14px 22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.04); transition: background 0.2s; }
.ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* iPhone 17 Pro frame around the real app screenshots (which already include the status bar and Dynamic Island).
   Sizes are in cqw, a percentage of the phone's width, so the proportions hold at any size:
   a titanium band, a thin black bezel, and the display's own corner radius. */
.phone { position: relative; width: 100%; container-type: inline-size; --btn: linear-gradient(90deg, #5b5854, #a19d97 50%, #5b5854); }
.device {
  position: relative; z-index: 1;
  border: 1.2cqw solid transparent; border-radius: 17.6cqw; padding: 2.7cqw;
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(155deg, #d8d4ce 0%, #8a8681 14%, #4d4a47 38%, #3a3836 55%, #6d6965 78%, #c9c4bd 100%) border-box;
  box-shadow: inset 0 0 0 0.45cqw #1c1c1e, 0 0 0 0.3cqw rgba(0, 0, 0, 0.55), 0 40px 80px -24px rgba(0, 0, 0, 0.8), 0 18px 36px -18px rgba(0, 0, 0, 0.6);
}
.device img { width: 100%; height: auto; aspect-ratio: 780 / 1696; border-radius: 13.6cqw; background: #000; }
/* Side buttons: Action button and volume on the left, Side button and Camera Control on the right. */
.phone::before, .phone::after { content: ""; position: absolute; z-index: 0; width: 1.3cqw; border-radius: 0.6cqw; }
.phone::before { left: -0.75cqw; top: 17%; height: 22%; background: var(--btn);
  -webkit-mask: linear-gradient(#000 0 15%, transparent 15% 30%, #000 30% 61%, transparent 61% 69%, #000 69%);
  mask: linear-gradient(#000 0 15%, transparent 15% 30%, #000 30% 61%, transparent 61% 69%, #000 69%); }
.phone::after { right: -0.75cqw; top: 27%; height: 37%; background: var(--btn);
  -webkit-mask: linear-gradient(#000 0 26%, transparent 26% 80%, #000 80%);
  mask: linear-gradient(#000 0 26%, transparent 26% 80%, #000 80%); }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; background:
  radial-gradient(40% 50% at 20% 20%, rgba(124, 77, 255, 0.45), transparent 70%),
  radial-gradient(35% 45% at 85% 30%, rgba(61, 0, 246, 0.4), transparent 70%),
  radial-gradient(30% 35% at 60% 85%, rgba(255, 189, 56, 0.16), transparent 70%); filter: blur(10px); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(46px, 7vw, 84px); line-height: 0.98; font-weight: 800; margin: 22px 0 22px; }
.hero .lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 520px; margin: 0 0 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: var(--muted); font-size: 14px; list-style: none; padding: 0; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--star); }

.stage { position: relative; height: 640px; }
.stage .phone { position: absolute; width: 268px; top: 50%; left: 50%; }
.stage .p-center { z-index: 3; transform: translate(-50%, -50%); }
.stage .p-left { z-index: 2; transform: translate(-112%, -46%) rotate(-8deg) scale(0.86); opacity: 0.9; }
.stage .p-right { z-index: 2; transform: translate(12%, -46%) rotate(8deg) scale(0.86); opacity: 0.9; }
.stage .glow { position: absolute; inset: 15% 20%; background: radial-gradient(closest-side, rgba(255, 140, 50, 0.45), transparent); filter: blur(30px); z-index: 0; }
.mascot { position: absolute; z-index: 4; left: 4%; bottom: 6%; display: flex; align-items: flex-end; gap: 10px; }
.bubble { background: rgba(20, 16, 34, 0.75); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 10px 14px; border-radius: 18px 18px 18px 4px; font-weight: 600; font-size: 14px; max-width: 200px; line-height: 1.4; margin-bottom: 46px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero .btns, .trust { justify-content: center; }
  .stage { height: 560px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 48px; }
  .stage { height: 470px; }
  .stage .phone { width: 210px; }
  .stage .p-left { transform: translate(-100%, -46%) rotate(-8deg) scale(0.82); }
  .stage .p-right { transform: translate(0%, -46%) rotate(8deg) scale(0.82); }
  .mascot { left: 0; bottom: 0; }
  .bubble { display: none; }
}

/* Pop, the mascot: the app's Popcorn art with the face from PopcornMascot drawn on top. */
.pop { position: relative; width: 96px; aspect-ratio: 388 / 356; flex: none; animation: bob 3.6s ease-in-out infinite; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.5)); }
.pop img, .pop svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pop .eye { transform-box: fill-box; transform-origin: center; animation: blink 4.2s infinite; }
@keyframes bob { 50% { transform: translateY(-5px); } }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96.5% { transform: scaleY(0.1); } }

/* Sections */
section.block { padding: 110px 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.02; font-weight: 800; margin: 14px 0 16px; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }
.section-head .eyebrow { color: var(--dusk); }

/* Remix spotlight */
.remix { position: relative; border-radius: 44px; padding: clamp(32px, 6vw, 72px); overflow: hidden; isolation: isolate; background: linear-gradient(160deg, #2a0f0a 0%, #1a0b24 45%, #120a2e 100%); border: 1px solid var(--line); }
.remix::before { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -200px; top: -260px; background: radial-gradient(closest-side, rgba(255, 128, 40, 0.42), transparent); }
.remix::after { content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; left: -240px; bottom: -300px; background: radial-gradient(closest-side, rgba(91, 108, 255, 0.4), transparent); }
.remix-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.remix h2 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1; font-weight: 800; margin: 14px 0 18px; }
.remix p { color: rgba(255, 255, 255, 0.75); margin: 0 0 28px; font-size: 18px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.steps .k { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 16px; color: #fff; }
.steps strong { display: block; font-size: 16px; }
.steps span { color: rgba(255, 255, 255, 0.65); font-size: 15px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: center; }
.trio .phone:nth-child(2) { transform: translateY(-28px); }
.trio .phone:nth-child(1), .trio .phone:nth-child(3) { transform: translateY(18px); }
@media (max-width: 900px) {
  .remix-grid { grid-template-columns: 1fr; }
  .trio { max-width: 560px; margin: 24px auto 0; gap: 12px; }
}

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .shot { order: 2; }
.feature h3 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.04; font-weight: 800; margin: 14px 0 16px; }
.feature p { color: var(--muted); font-size: 18px; margin: 0 0 22px; max-width: 480px; }
.feature .eyebrow { color: var(--dusk); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.shot { position: relative; display: flex; justify-content: center; gap: 20px; }
.shot::before { content: ""; position: absolute; inset: 8% 10%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, var(--halo, rgba(91, 108, 255, 0.45)), transparent); filter: blur(24px); }
.shot .phone { width: min(300px, 46%); }
.shot.single .phone { width: min(320px, 72%); }
.shot .phone.offset { margin-top: 64px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 36px; text-align: center; padding: 48px 0; }
  .feature.flip .shot { order: 0; }
  .feature p { margin-inline: auto; }
  .ticks { justify-items: center; }
  .ticks li { text-align: left; }
}

/* Gallery strip */
.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px max(16px, calc((100vw - 1160px) / 2)) 40px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { flex: none; width: 236px; margin: 0; scroll-snap-align: center; }
.gallery figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 14px; font-weight: 500; }

/* Values */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.card h3 { font-size: 19px; margin: 16px 0 6px; letter-spacing: -0.01em; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.tile { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.tile svg { width: 22px; height: 22px; }

/* Pro */
.pro { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(160deg, var(--plum), #1a0550 60%, var(--violet)); color: #fff; border-radius: 40px; padding: 64px clamp(24px, 5vw, 72px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.pro::after { content: ""; position: absolute; z-index: -1; width: 500px; height: 500px; right: -160px; bottom: -260px; background: radial-gradient(closest-side, rgba(255, 189, 56, 0.35), transparent); }
.pro h2 { font-size: clamp(36px, 5vw, 54px); line-height: 1.02; font-weight: 800; margin: 14px 0 14px; }
.pro p { color: rgba(255, 255, 255, 0.78); margin: 0; font-size: 18px; }
.pro ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pro li { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; padding: 16px 18px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pro li strong { display: block; }
.pro li span { color: rgba(255, 255, 255, 0.7); font-size: 15px; }
@media (max-width: 760px) { .pro { grid-template-columns: 1fr; } }

/* Closing call to action */
.closing { text-align: center; padding: 40px 0 120px; }
.closing .pop { width: 120px; margin: 0 auto 22px; }
.closing h2 { font-size: clamp(40px, 6vw, 72px); line-height: 1; font-weight: 800; margin: 0 0 18px; }
.closing p { color: var(--muted); font-size: 18px; margin: 0 auto 30px; max-width: 520px; }
.closing .btns { justify-content: center; }

/* Scroll reveal (only when JS runs, and never with reduced motion) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pop, .pop .eye { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Document pages (privacy, support) */
.doc { padding: 64px 0 104px; position: relative; isolation: isolate; }
.doc::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 420px; background: radial-gradient(50% 80% at 50% 0%, rgba(124, 77, 255, 0.22), transparent 70%); }
.doc h1 { font-size: clamp(38px, 6vw, 56px); line-height: 1.05; font-weight: 800; margin: 0 0 10px; }
.doc .meta { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.doc h2 { font-size: 26px; line-height: 1.25; font-weight: 750; margin: 48px 0 12px; padding-top: 8px; }
.doc h3 { font-size: 18px; margin: 28px 0 8px; letter-spacing: -0.01em; }
.doc p, .doc li { color: rgba(244, 242, 251, 0.86); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .summary { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px 26px; }
.doc .summary ul { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 650; }
.toc { columns: 2; column-gap: 32px; padding-left: 22px; }
.toc li { margin: 0 0 6px; break-inside: avoid; }
@media (max-width: 600px) { .toc { columns: 1; } }

/* Support page */
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: linear-gradient(135deg, rgba(91, 108, 255, 0.18), rgba(124, 77, 255, 0.08)); border: 1px solid rgba(139, 124, 255, 0.3); border-radius: 24px; padding: 24px 26px; margin: 8px 0 12px; }
.contact p { margin: 0; }
.contact .cta { padding: 12px 20px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 650; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--muted); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14px; background: var(--bg-2); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
footer p { margin: 4px 0; max-width: 560px; }
