/* ═══════════════════════════════════════════════════════════
   CINEMA SUBPAGE — shared shell (FAQ, Features, Download)
   ═══════════════════════════════════════════════════════════ */

body.lx-subpage,
body.faq-page,
body.features-page,
body.download-page,
body.trust-page,
body.guides-page {
  padding-top: 0;
  background: #04060c;
  --cp-hero-title-size: clamp(0.95rem, 2.4vw, 1.2rem);
  --cp-hero-title-lh: 1.65;
  --cp-hero-pad-top: clamp(1.25rem, 3vh, 2rem);
  --cp-hero-pad-bottom: clamp(1rem, 2.5vh, 1.5rem);
}

.cp-bg-mesh,
.fq-bg-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.cp-bg-mesh__grad,
.fq-bg-mesh__grad {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  animation: cp-mesh-drift 24s ease-in-out infinite;
}
.cp-bg-mesh__grad--1,
.fq-bg-mesh__grad--1 {
  width: 50vw; height: 50vw;
  top: -12%; left: -8%;
  background: radial-gradient(circle, rgba(110, 0, 255, 0.16), transparent 68%);
}
.cp-bg-mesh__grad--2,
.fq-bg-mesh__grad--2 {
  width: 42vw; height: 42vw;
  top: 35%; right: -10%;
  background: radial-gradient(circle, rgba(0, 209, 255, 0.11), transparent 68%);
  animation-delay: -9s;
}
.cp-bg-mesh__grad--3,
.fq-bg-mesh__grad--3 {
  width: 38vw; height: 38vw;
  bottom: -8%; left: 20%;
  background: radial-gradient(circle, rgba(255, 0, 170, 0.09), transparent 68%);
  animation-delay: -16s;
}

@keyframes cp-mesh-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(2%, -3%) scale(1.04); }
  66% { transform: translate(-3%, 2%) scale(0.97); }
}

.cp-noise,
.fq-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Hero */
.cp-hero,
.fq-hero {
  position: relative;
  padding: var(--cp-hero-pad-top, clamp(1.25rem, 3vh, 2rem)) clamp(1.25rem, 4vw, 2rem) var(--cp-hero-pad-bottom, clamp(1rem, 2.5vh, 1.5rem));
  overflow: hidden;
  z-index: 2;
  text-align: center;
}

.cp-hero__atmo,
.fq-hero__atmo {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cp-hero__orb,
.fq-hero__orb {
  position: absolute;
  top: 45%;
  left: 50%;
  width: min(560px, 95vw);
  height: min(560px, 95vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 0, 255, 0.24) 0%, rgba(0, 209, 255, 0.1) 42%, transparent 72%);
  filter: blur(45px);
  animation: cp-orb-pulse 7s ease-in-out infinite;
}

@keyframes cp-orb-pulse {
  0%, 100% { opacity: 0.65; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.07); }
}

.cp-hero__inner,
.fq-hero__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.cp-hero__inner--wide {
  max-width: 960px;
}

.cp-breadcrumb,
.fq-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 0.85rem;
}
.cp-breadcrumb a,
.fq-breadcrumb a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}
.cp-breadcrumb a:hover,
.fq-breadcrumb a:hover { color: rgba(0, 209, 255, 0.85); }

.cp-hero__title,
.fq-hero__title {
  font-family: var(--font-display);
  font-size: var(--cp-hero-title-size, clamp(0.95rem, 2.4vw, 1.2rem));
  font-weight: 400;
  letter-spacing: 0;
  line-height: var(--cp-hero-title-lh, 1.65);
  max-width: 22em;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.cp-hero__lead,
.fq-hero__lead {
  margin-top: 0.85rem;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.48);
}

.cp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.cp-status-chips,
.fq-status-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 2rem;
}

.cp-chip,
.fq-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  animation: cp-chip-float 4.5s ease-in-out infinite;
}
.cp-chip:nth-child(2),
.fq-chip:nth-child(2) { animation-delay: -1.2s; }
.cp-chip:nth-child(3),
.fq-chip:nth-child(3) { animation-delay: -2.4s; }

.cp-chip__dot,
.fq-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  animation: cp-dot-blink 2s ease-in-out infinite;
}
.cp-chip--purple .cp-chip__dot,
.fq-chip--purple .fq-chip__dot { background: var(--neon-purple); box-shadow: 0 0 8px var(--neon-purple); }
.cp-chip--magenta .cp-chip__dot,
.fq-chip--magenta .fq-chip__dot { background: var(--neon-magenta); box-shadow: 0 0 8px var(--neon-magenta); }

@keyframes cp-chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes cp-dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Toolbar / filter pills */
.cp-toolbar,
.fq-toolbar {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(2rem, 4vh, 3rem);
  border: none;
  border-bottom: none;
  background: transparent;
}

.cp-filters,
.fq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.cp-filter,
.fq-filter {
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  text-decoration: none;
}
.cp-filter:hover,
.fq-filter:hover {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 209, 255, 0.35);
  transform: translateY(-1px);
}
.cp-filter.is-active,
.fq-filter.is-active {
  color: #fff;
  border-color: rgba(110, 0, 255, 0.5);
  box-shadow: 0 0 24px rgba(110, 0, 255, 0.2);
  background: rgba(110, 0, 255, 0.12);
}

/* Content sections */
.cp-section,
.fq-section {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(3rem, 6vh, 4rem);
}

.cp-section__inner {
  max-width: 960px;
  margin: 0 auto;
}

.cp-section__inner--wide {
  max-width: 1100px;
}

/* Glass panel base (shared card feel) */
.cp-glass {
  position: relative;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.cp-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(110, 0, 255, 0.35), rgba(0, 209, 255, 0.2), rgba(255, 0, 170, 0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.cp-glass:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(110, 0, 255, 0.08);
}
.cp-glass:hover::before { opacity: 0.6; }

/* CTA */
.cp-cta,
.fq-cta {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto clamp(4rem, 8vh, 6rem);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.cp-cta__pulse,
.fq-cta__pulse {
  position: absolute;
  inset: -2px;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan), var(--neon-magenta), var(--neon-purple));
  background-size: 300% 300%;
  animation: cp-border-pulse 6s ease infinite;
  opacity: 0.55;
  z-index: 0;
}

@keyframes cp-border-pulse {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cp-cta__inner,
.fq-cta__inner {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 5vw, 3.5rem);
  border-radius: calc(1.5rem - 2px);
  text-align: center;
  background: rgba(11, 16, 32, 0.92);
  backdrop-filter: blur(20px);
}

.cp-cta__title,
.fq-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cp-cta__sub,
.fq-cta__sub {
  margin: 0.75rem auto 0;
  max-width: 28rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.45);
}

.cp-cta__actions,
.fq-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.cp-btn,
.fq-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
}
.cp-btn:hover,
.fq-btn:hover { transform: translateY(-2px); }

.cp-btn--primary,
.fq-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  box-shadow: 0 0 30px rgba(110, 0, 255, 0.35);
}
.cp-btn--ghost,
.fq-btn--ghost {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.cp-btn--ghost:hover,
.fq-btn--ghost:hover {
  border-color: rgba(0, 209, 255, 0.4);
  box-shadow: 0 0 20px rgba(0, 209, 255, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  .cp-bg-mesh__grad,
  .fq-bg-mesh__grad,
  .cp-hero__orb,
  .fq-hero__orb,
  .cp-chip,
  .fq-chip,
  .cp-cta__pulse,
  .fq-cta__pulse {
    animation: none !important;
  }
  .cp-glass:hover,
  .cp-btn:hover,
  .fq-btn:hover { transform: none; }
}
