/* Second-pass cinematic treatment for the three public discovery pages.
   Load after styles.css and site-cinematic-pages.css. The page markup is unchanged. */
html[data-theme="dark"] body.page-content:is([data-page="samples"], [data-page="pricing"], [data-page="features"]) {
  --showcase-line: rgba(139, 182, 255, .23);
  --showcase-muted: #b8c9e5;
  background:
    radial-gradient(ellipse 780px 440px at 50% 65px, rgba(35, 92, 209, .21), transparent 75%),
    radial-gradient(ellipse 750px 520px at 95% 45%, rgba(49, 50, 153, .14), transparent 72%),
    #061126;
}
html[data-theme="dark"] body.page-content:is([data-page="samples"], [data-page="pricing"], [data-page="features"]) .page-main {
  padding-top: clamp(34px, 5vw, 76px);
  padding-bottom: clamp(72px, 8vw, 130px);
}

/* The top panels use a horizon glow and fine framing, like the production stage. */
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-intro,
html[data-theme="dark"] body.page-content[data-page="features"] .marketing-hero-feature,
html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-showcase {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(130, 171, 245, .3);
  background:
    radial-gradient(ellipse 72% 78% at 78% 0%, rgba(58, 113, 239, .36), transparent 72%),
    radial-gradient(ellipse 53% 64% at 3% 100%, rgba(34, 74, 167, .26), transparent 75%),
    linear-gradient(140deg, #0c1c3a 0%, #08152d 58%, #0b1d40 100%);
  box-shadow: inset 0 1px rgba(224, 237, 255, .12), 0 28px 80px rgba(0, 5, 25, .36), 0 0 70px rgba(38, 100, 234, .12);
  overflow: hidden;
}
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-intro::before,
html[data-theme="dark"] body.page-content[data-page="features"] .marketing-hero-feature::before,
html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-showcase::before {
  content: "";
  position: absolute;
  inset: auto -12% -2px;
  width: auto;
  height: 45%;
  border-radius: 0;
  filter: none;
  opacity: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 120% at 50% 125%, rgba(61, 133, 255, .37), transparent 70%);
  z-index: -1;
}
html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-showcase::after {
  right: -12%;
  bottom: auto;
  top: -190px;
  width: 48%;
  height: 390px;
  border-radius: 50%;
  background: #385cde;
  filter: blur(105px);
  opacity: .21;
}
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-intro,
html[data-theme="dark"] body.page-content[data-page="features"] .marketing-hero-feature { min-height: clamp(450px, 48vw, 600px); padding: clamp(34px, 5vw, 76px); }
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-intro { align-items: center; }
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-intro h2,
html[data-theme="dark"] body.page-content[data-page="features"] .marketing-hero-feature h2,
html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-intro h2 {
  color: #f9fbff;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 1.025;
  letter-spacing: -.065em;
  text-wrap: balance;
  text-shadow: 0 8px 38px rgba(30, 91, 215, .22);
}
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-intro p,
html[data-theme="dark"] body.page-content[data-page="features"] .marketing-hero-feature p,
html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-intro p { color: #c4d3ec; font-size: clamp(1rem, 1.25vw, 1.16rem); line-height: 1.72; }
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-eyebrow,
html[data-theme="dark"] body.page-content[data-page="features"] .marketing-hero-feature .marketing-eyebrow { color: #9fc8ff; letter-spacing: .2em; }

/* Samples: the real video still is the artwork; each item reads as a film frame. */
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-count {
  padding: 28px 8px 8px 36px;
  border-left: 1px solid rgba(170, 204, 255, .28);
  color: #e9f3ff;
  font-size: clamp(5rem, 9vw, 9rem);
  text-shadow: 0 0 50px rgba(63, 130, 255, .48);
}
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-count small { color: #a7c7f6; font-size: .78rem; }
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-grid { gap: clamp(16px, 2vw, 28px); }
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-card {
  border: 1px solid var(--showcase-line);
  border-radius: 24px;
  background: linear-gradient(160deg, #142847, #0a1830);
  box-shadow: 0 20px 50px rgba(0, 4, 23, .28), inset 0 1px rgba(225, 238, 255, .07);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-card:hover { transform: translateY(-5px); border-color: rgba(139, 190, 255, .65); box-shadow: 0 27px 60px rgba(0, 4, 23, .4), 0 0 28px rgba(57, 112, 227, .16); }
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-media { height: clamp(270px, 26vw, 400px); border-bottom: 1px solid rgba(166, 196, 244, .17); background: #030a18; }
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-card.is-landscape .samples-media { height: clamp(270px, 31vw, 470px); }
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-backdrop { filter: blur(30px) brightness(.32) saturate(1.3); }
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-card-info { min-height: 104px; padding: 22px; align-items: center; }
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-number { color: #82b7ff; font-size: .9rem; }
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-card:nth-child(n) .samples-number { color: #82b7ff; }
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-card-info h3 { color: #f3f7ff; font-size: 1rem; }
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-card-info p { color: var(--showcase-muted); }
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-duration { color: #bed7ff; background: rgba(57, 101, 170, .24); border: 1px solid var(--showcase-line); }
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-outro { margin-top: 34px; padding: clamp(30px, 4vw, 54px); background: radial-gradient(circle at 90% 10%, rgba(71, 122, 235, .25), transparent 45%), #0c1b36; }
html[data-theme="dark"] body.page-content[data-page="samples"] .samples-outro h2 { color: #f3f7ff; }

/* Pricing: a clear hero followed by a row of individual illuminated plan bays. */
html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-showcase { padding: clamp(45px, 6vw, 88px) clamp(18px, 3.5vw, 54px) clamp(32px, 4vw, 56px); }
html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-intro { max-width: 1000px; margin-bottom: 36px; }
html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-intro .marketing-eyebrow { color: #b5d4ff; background: rgba(49, 88, 161, .27); border-color: rgba(151, 190, 255, .29); box-shadow: inset 0 1px rgba(255,255,255,.1); }
html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-points { gap: 12px; margin-bottom: clamp(42px, 5vw, 68px); }
html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-point { flex: 1 1 0; max-width: 260px; padding: 13px 14px; border: 1px solid var(--showcase-line); border-radius: 16px; background: rgba(16, 39, 79, .64); box-shadow: inset 0 1px rgba(255,255,255,.06); }
html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-point-number { flex: 0 0 auto; color: #d0e2ff; background: #254881; }
html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-point small { color: #adbfdd; }
html[data-theme="dark"] body.page-content[data-page="pricing"] .price-grid { gap: clamp(12px, 1.2vw, 20px); }
html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-showcase .price-card,
html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-showcase .price-card.is-trial {
  border: 1px solid rgba(143, 179, 240, .26);
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(30, 55, 97, .97), rgba(13, 29, 58, .98) 52%, rgba(9, 23, 47, .98));
  box-shadow: inset 0 1px rgba(231, 241, 255, .12), 0 20px 40px rgba(0, 4, 22, .28);
}
html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-showcase .price-card.is-featured { border-color: #8cabff; box-shadow: 0 0 0 3px rgba(83, 126, 249, .2), 0 0 45px rgba(59, 102, 232, .24), 0 26px 55px rgba(0, 4, 22, .4); }
html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-showcase .price-card:hover { border-color: #94bdff; box-shadow: 0 0 35px rgba(71, 124, 238, .18), 0 26px 55px rgba(0, 4, 22, .38); }
html[data-theme="dark"] body.page-content[data-page="pricing"] .price-card .price-icon { border: 1px solid rgba(143, 183, 247, .27); border-radius: 15px; color: #b3d0ff; background: linear-gradient(145deg, #254b87, #152e56); }
html[data-theme="dark"] body.page-content[data-page="pricing"] .price-card .price-credits { color: #a7cbff; }
html[data-theme="dark"] body.page-content[data-page="pricing"] .price-card li::before { color: #82b8ff; }
html[data-theme="dark"] body.page-content[data-page="pricing"] .price-card .discount-panel { background: linear-gradient(140deg, #203c6c, #162c51); border-color: rgba(139, 179, 247, .27); }
html[data-theme="dark"] body.page-content[data-page="pricing"] .price-card .discount-tile + .discount-tile { border-left-color: rgba(177, 203, 247, .22); }
html[data-theme="dark"] body.page-content[data-page="pricing"] .price-card .discount-panel-label,
html[data-theme="dark"] body.page-content[data-page="pricing"] .price-card .discount-tile strong { color: #bdd8ff; }
html[data-theme="dark"] body.page-content[data-page="pricing"] .price-card .discount-tile small { color: #b8c9e5; }
html[data-theme="dark"] body.page-content[data-page="pricing"] .price-card .price-action:disabled { background: rgba(114, 145, 194, .15); border: 1px solid rgba(153, 181, 227, .22); color: #b8c6dc; opacity: 1; box-shadow: none; }
html[data-theme="dark"] body.page-content[data-page="pricing"] .price-card a.price-action {
  display: grid;
  place-items: center;
  min-height: 48px;
  color: #fff;
  background: linear-gradient(110deg, #168de9, #6652e5);
  border: 1px solid rgba(179, 216, 255, .43);
  box-shadow: 0 12px 28px rgba(34, 92, 220, .3);
  opacity: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
html[data-theme="dark"] body.page-content[data-page="pricing"] .price-card a.price-action:hover,
html[data-theme="dark"] body.page-content[data-page="pricing"] .price-card a.price-action:focus-visible {
  color: #fff;
  background: linear-gradient(110deg, #4bbaff, #9073ff);
  box-shadow: 0 0 0 3px rgba(102, 166, 255, .2), 0 16px 32px rgba(40, 94, 228, .39);
}
html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-bottom { border-top-color: rgba(151, 183, 240, .25); margin-bottom: 0; }
html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-bottom strong { color: #f3f7ff; }
html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-bottom p { color: #bccceb; }

/* Features: make the actual showreel the hero's luminous focal point. */
html[data-theme="dark"] body.page-content[data-page="features"] .marketing-hero-feature { grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: clamp(28px, 4vw, 68px); }
html[data-theme="dark"] body.page-content[data-page="features"] .marketing-hero-feature > div { max-width: 710px; }
html[data-theme="dark"] body.page-content[data-page="features"] .feature-showreel {
  padding: 8px;
  border: 1px solid rgba(164, 198, 255, .48);
  border-radius: 24px;
  background: linear-gradient(155deg, #2b4a7b, #0b1c38 52%);
  box-shadow: 0 0 0 8px rgba(76, 119, 216, .09), 0 0 65px rgba(71, 128, 255, .32), 0 32px 70px rgba(0, 5, 26, .5);
  transform: perspective(1300px) rotateY(-3deg);
}
html[data-theme="dark"] body.page-content[data-page="features"] .feature-showreel video { border-radius: 17px; }
html[data-theme="dark"] body.page-content[data-page="features"] .feature-showreel-caption { padding: 20px 18px 16px; }
html[data-theme="dark"] body.page-content[data-page="features"] .feature-showreel-caption strong { color: #f1f6ff; }
html[data-theme="dark"] body.page-content[data-page="features"] .feature-showreel-caption small { color: #b5c7e6; }
html[data-theme="dark"] body.page-content[data-page="features"] .section-heading { margin-top: clamp(65px, 8vw, 110px); margin-bottom: 30px; }
html[data-theme="dark"] body.page-content[data-page="features"] .section-heading h2 { color: #f3f7ff; font-size: clamp(2.1rem, 3.4vw, 3.5rem); }
html[data-theme="dark"] body.page-content[data-page="features"] .marketing-features { gap: clamp(14px, 2vw, 26px); }
html[data-theme="dark"] body.page-content[data-page="features"] .marketing-features .feature-card {
  min-height: 280px;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--showcase-line);
  border-radius: 24px;
  background: radial-gradient(circle at 100% 0%, rgba(58, 103, 196, .19), transparent 55%), linear-gradient(150deg, #172c4f, #0d1d38);
  box-shadow: inset 0 1px rgba(231, 241, 255, .08), 0 20px 45px rgba(0, 4, 23, .24);
}
html[data-theme="dark"] body.page-content[data-page="features"] .marketing-features .feature-card::before,
html[data-theme="dark"] body.page-content[data-page="features"] .marketing-features .feature-card:nth-child(n)::before { width: 42px; height: 3px; background: linear-gradient(90deg, #b5d7ff, #438af9); box-shadow: 0 0 17px rgba(81, 153, 255, .7); }
html[data-theme="dark"] body.page-content[data-page="features"] .marketing-features .feature-card:hover { border-color: rgba(150, 193, 255, .67); box-shadow: 0 0 32px rgba(52, 105, 225, .18), 0 26px 52px rgba(0, 4, 23, .33); }
html[data-theme="dark"] body.page-content[data-page="features"] .marketing-features .feature-index { color: #9ac6ff; }
html[data-theme="dark"] body.page-content[data-page="features"] .marketing-features h3 { color: #f4f8ff; }
html[data-theme="dark"] body.page-content[data-page="features"] .marketing-features p { color: var(--showcase-muted); }
html[data-theme="dark"] body.page-content[data-page="features"] .marketing-callout { margin-top: clamp(60px, 8vw, 100px); border-color: var(--showcase-line); background: radial-gradient(circle at 90% 0%, rgba(78, 130, 238, .32), transparent 50%), linear-gradient(130deg, #10244a, #0b1934); box-shadow: 0 25px 60px rgba(0, 5, 25, .3); }

@media (max-width: 1250px) {
  html[data-theme="dark"] body.page-content[data-page="pricing"] .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  html[data-theme="dark"] body.page-content[data-page="features"] .marketing-hero-feature { grid-template-columns: 1fr; }
  html[data-theme="dark"] body.page-content[data-page="features"] .feature-showreel { width: min(100%, 720px); transform: none; }
}
@media (max-width: 900px) {
  html[data-theme="dark"] body.page-content[data-page="pricing"] .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  html[data-theme="dark"] body.page-content:is([data-page="samples"], [data-page="pricing"], [data-page="features"]) .page-main { width: calc(100% - 24px); padding-top: 24px; }
  html[data-theme="dark"] body.page-content[data-page="samples"] .samples-intro,
  html[data-theme="dark"] body.page-content[data-page="features"] .marketing-hero-feature { min-height: 0; padding: 32px 24px; border-radius: 24px; }
  html[data-theme="dark"] body.page-content[data-page="samples"] .samples-intro { align-items: flex-start; flex-direction: column; }
  html[data-theme="dark"] body.page-content[data-page="samples"] .samples-count { padding: 17px 0 0; border-left: 0; border-top: 1px solid rgba(170, 204, 255, .28); font-size: 5rem; }
  html[data-theme="dark"] body.page-content[data-page="samples"] .samples-grid { grid-template-columns: 1fr; }
  html[data-theme="dark"] body.page-content[data-page="samples"] .samples-card.is-landscape { grid-column: auto; }
  html[data-theme="dark"] body.page-content[data-page="samples"] .samples-media,
  html[data-theme="dark"] body.page-content[data-page="samples"] .samples-card.is-landscape .samples-media { height: 320px; }
  html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-showcase { border-radius: 24px; padding: 40px 16px 28px; }
  html[data-theme="dark"] body.page-content[data-page="pricing"] .price-grid { grid-template-columns: 1fr; }
  html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-points { flex-direction: column; align-items: stretch; }
  html[data-theme="dark"] body.page-content[data-page="pricing"] .pricing-point { max-width: none; }
  html[data-theme="dark"] body.page-content[data-page="features"] .feature-showreel { margin-top: 12px; }
  html[data-theme="dark"] body.page-content[data-page="features"] .marketing-features { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-theme="dark"] body.page-content[data-page="samples"] .samples-card,
  html[data-theme="dark"] body.page-content[data-page="features"] .marketing-features .feature-card { transition: none; }
  html[data-theme="dark"] body.page-content[data-page="samples"] .samples-card:hover,
  html[data-theme="dark"] body.page-content[data-page="features"] .marketing-features .feature-card:hover { transform: none; }
}
