/* Visual-only ports/patterns: Aceternity Spotlight/Highlight/3D Card;
   Magic UI Border Beam/Animated Beam. Source map: docs/frontend-redesign/landing-cinematic.md. */
.landing-cinematic{
 --fx-violet:#c7b1ff;--fx-blue:#a7baff;--fx-cyan-light:#a9fff0;
 --fx-cyan-glow:#35dbc925;--fx-violet-glow:#9565ff30;--fx-blue-glow:#6a8fff22;
 --fx-primary-from:#8af1df;--fx-primary-to:#c4b3ff;--fx-border:#8169bd;
 background:
  radial-gradient(ellipse 72% 800px at 5% 7%,var(--fx-violet-glow),transparent 72%),
  radial-gradient(ellipse 60% 900px at 95% 17%,var(--fx-cyan-glow),transparent 72%),
  radial-gradient(ellipse 65% 800px at 5% 58%,var(--fx-blue-glow),transparent 72%),var(--land-bg);
 overflow-x:clip
}
:root[data-theme=light] .landing-cinematic{
 --fx-violet:#7042bd;--fx-blue:#345caa;--fx-cyan-light:#076e6c;
 --fx-cyan-glow:#0eab9c14;--fx-violet-glow:#9761ec1d;--fx-blue-glow:#698dff16;
 --fx-primary-from:#08756f;--fx-primary-to:#6040ad;--fx-border:#ab93d9
}
html:has(.landing-cinematic){scroll-padding-top:24px}
.landing-cinematic .landing-header{
 position:relative;top:auto;margin-top:12px;padding:14px 18px;border:1px solid var(--land-line);border-radius:16px;
 background:color-mix(in srgb,var(--land-bg) 88%,transparent);backdrop-filter:blur(20px) saturate(1.3);
 box-shadow:0 8px 30px #00000009;transition:border-color .25s,box-shadow .25s
}
.landing-cinematic .landing-header[data-cinematic-scrolled=true]{border-color:color-mix(in srgb,var(--fx-violet) 25%,var(--land-line));box-shadow:0 12px 45px #00000020}
.landing-cinematic .landing-nav a{position:relative;padding-block:6px}
.landing-cinematic .landing-nav a::after{content:'';position:absolute;inset-inline:0;bottom:0;height:1px;background:linear-gradient(90deg,var(--land-cyan),var(--fx-violet));transform:scaleX(0);transition:transform .2s;transform-origin:right}
.landing-cinematic .landing-nav a:is(:hover,:focus-visible)::after{transform:scaleX(1)}
.landing-cinematic .landing-hero{isolation:isolate}
.landing-cinematic .landing-hero::before{
 content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:radial-gradient(ellipse at 24% 16%,var(--fx-violet-glow),transparent 49%),radial-gradient(ellipse at 76% 37%,var(--fx-cyan-glow),transparent 53%);
 filter:blur(14px)
}
.landing-cinematic .landing-hero::after{
 content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.2;
 background-image:linear-gradient(var(--land-line) 1px,transparent 1px),linear-gradient(90deg,var(--land-line) 1px,transparent 1px);
 background-size:48px 48px;mask-image:radial-gradient(ellipse at 50% 32%,#000,transparent 65%)
}
.landing-cinematic .eyebrow{border-color:color-mix(in srgb,var(--fx-violet) 28%,var(--land-line));background:linear-gradient(110deg,var(--land-surface),color-mix(in srgb,var(--fx-violet) 8%,var(--land-surface)));box-shadow:0 0 24px var(--fx-violet-glow)}
.landing-cinematic .hero-type-gradient,.landing-cinematic .heading-gradient{
 background:linear-gradient(105deg,var(--fx-violet),var(--fx-cyan-light) 50%,var(--land-cyan) 78%,var(--fx-violet));
 background-size:180% 100%;background-clip:text;-webkit-background-clip:text;color:transparent
}
.landing-cinematic .hero-type-gradient{display:inline-block;position:relative;isolation:isolate}
.landing-cinematic .hero-type-gradient::after{
 content:'';position:absolute;inset:62% -2% 7%;z-index:-1;pointer-events:none;border-radius:10px;
 background:linear-gradient(90deg,var(--fx-violet-glow),var(--fx-cyan-glow));transform:skewX(-8deg);filter:blur(1px)
}
.landing-cinematic .hero-tagline{color:var(--land-text);text-shadow:0 0 28px var(--fx-cyan-glow)}
.landing-cinematic .hero-actions .cta-primary,.landing-cinematic .final-cta .cta-primary{box-shadow:0 8px 32px var(--fx-cyan-glow),0 0 40px var(--fx-violet-glow)}
.landing-cinematic .cta{position:relative;isolation:isolate}
.landing-cinematic .cta-primary{background-color:var(--land-accent-bg);background-image:linear-gradient(110deg,var(--fx-primary-from),var(--fx-primary-to));border-color:color-mix(in srgb,var(--fx-primary-from) 60%,transparent);color:var(--land-accent-ink)}
.landing-cinematic .cta-primary::before{
 content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;
 background:linear-gradient(105deg,transparent 20%,#ffffff65 48%,transparent 72%);background-size:250% 100%;background-position:150% 0
}
.landing-cinematic .cta-primary:is(:hover,:focus-visible)::before{animation:cinema-button-glint .8s ease both}
:root[data-theme=light] .landing-cinematic .cta-primary::before{background-image:linear-gradient(105deg,transparent 20%,#00000045 48%,transparent 72%)}
.landing-cinematic .cta-secondary{background:linear-gradient(135deg,var(--land-surface),color-mix(in srgb,var(--fx-violet) 5%,var(--land-surface)));border-color:color-mix(in srgb,var(--fx-violet) 25%,var(--land-line))}
.landing-cinematic .hero-orbit{z-index:0;inset:0;opacity:.8;background:radial-gradient(ellipse at 10% 50%,var(--fx-violet-glow),transparent 60%),radial-gradient(ellipse at 92% 50%,var(--fx-cyan-glow),transparent 60%);filter:blur(16px)}
.landing-cinematic .hero-console{
 position:relative;isolation:isolate;border-color:color-mix(in srgb,var(--fx-violet) 35%,var(--land-line));
 background:linear-gradient(130deg,color-mix(in srgb,var(--fx-violet) 5%,var(--land-surface)),var(--land-surface) 40%);
 box-shadow:0 22px 70px #00000028,0 0 65px var(--fx-violet-glow),0 0 0 5px color-mix(in srgb,var(--fx-violet) 4%,transparent);
 transform:perspective(1400px) rotateX(var(--cinema-rx,0deg)) rotateY(var(--cinema-ry,0deg));transition:transform .18s ease-out,border-color .25s
}
.landing-cinematic .hero-console::after{
 content:'';position:absolute;inset:0;z-index:2;pointer-events:none;opacity:.24;
 background:radial-gradient(ellipse 500px 300px at var(--cinema-x,25%) var(--cinema-y,0%),var(--fx-cyan-glow),transparent 75%);
 mix-blend-mode:screen
}
.landing-cinematic .hero-console-bar{background:linear-gradient(100deg,var(--land-raised),color-mix(in srgb,var(--fx-violet) 8%,var(--land-raised)))}
.landing-cinematic .console-browser-dots i:first-child{background:#bd88ff;border-color:#bd88ff}
.landing-cinematic .console-browser-dots i:nth-child(2){background:#78a7ff;border-color:#78a7ff}
.landing-cinematic .console-browser-dots i:last-child{background:#76dec9;border-color:#76dec9}
.landing-cinematic .console-mode-switch button[aria-pressed=true]{box-shadow:0 0 22px var(--fx-cyan-glow);background:linear-gradient(120deg,var(--land-soft),color-mix(in srgb,var(--fx-violet) 8%,var(--land-soft)))}
.landing-cinematic .console-media-art{background:#101e3a}
.landing-cinematic .console-media-art::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(125deg,#8e54ff33,transparent 55%,#48f6d21c);mix-blend-mode:screen}
.landing-cinematic .console-media-art svg{translate:var(--cinema-art-x,0px) var(--cinema-art-y,0px)}
.landing-cinematic .console-art-play{box-shadow:0 0 35px #70efd74d;backdrop-filter:blur(10px)}
/* Border Beam port: padding/border mask + offset-path traveller, finite and visibility-aware. */
.landing-cinematic :is(.hero-border-beam,.cinema-border){
 position:absolute;inset:0;z-index:4;border-radius:inherit;border:1px solid transparent;pointer-events:none;overflow:hidden;
 mask-image:linear-gradient(transparent,transparent),linear-gradient(#000,#000);mask-clip:padding-box,border-box;mask-composite:intersect
}
.landing-cinematic .hero-border-beam::after{content:none}
.landing-cinematic .cinema-border-traveller{
 position:absolute;width:160px;height:160px;aspect-ratio:1;background:linear-gradient(90deg,transparent,var(--land-cyan),var(--fx-violet),transparent);
 offset-path:rect(0 auto auto 0 round 18px);offset-distance:0%;opacity:0
}
.landing-cinematic[data-cinematic-motion=on] [data-cinematic-entered=true]>.cinema-border>.cinema-border-traveller,
.landing-cinematic[data-cinematic-motion=on] [data-cinematic-entered=true]>.hero-border-beam>.cinema-border-traveller{animation:cinema-border-tour 3.8s ease-in-out 1 both}
.landing-cinematic [data-cinematic-visible=false]>.cinema-border>.cinema-border-traveller,
.landing-cinematic [data-cinematic-visible=false]>.hero-border-beam>.cinema-border-traveller,
.landing-cinematic[data-cinematic-paused=true] .cinema-border-traveller{animation-play-state:paused!important}
/* Color is tied to the existing content categories; no new product states. */
.landing-cinematic .feature-card{--card-accent:var(--land-cyan);background:linear-gradient(140deg,color-mix(in srgb,var(--card-accent) 8%,var(--land-surface)),var(--land-surface) 55%);box-shadow:inset 0 1px #ffffff06,0 12px 35px #00000008}
.landing-cinematic .feature-card:nth-child(2){--card-accent:var(--fx-violet)}
.landing-cinematic .feature-card:nth-child(3){--card-accent:var(--fx-blue)}
.landing-cinematic .feature-number{color:var(--card-accent)}
.landing-cinematic .feature-card:is(:hover,:focus-within){border-color:var(--card-accent);box-shadow:0 14px 42px color-mix(in srgb,var(--card-accent) 10%,transparent)}
.landing-cinematic [data-spotlight-card]::after{background:radial-gradient(350px circle at var(--spot-x,50%) var(--spot-y,30%),color-mix(in srgb,var(--card-accent,var(--fx-violet)) 13%,transparent),transparent 75%)}
.landing-cinematic .feature-mini{transition:translate .3s ease}
.landing-cinematic .feature-card:is(:hover,:focus-within) .feature-mini{translate:0 -5px}
.landing-cinematic .mini-publish .mini-paper{border-color:color-mix(in srgb,var(--fx-violet) 40%,var(--land-line));box-shadow:0 8px 32px var(--fx-violet-glow)}
.landing-cinematic .mini-transfer>span{box-shadow:0 0 24px var(--fx-blue-glow)}
.landing-cinematic :is(.demo-window,.automation-visual,.landing-plan,.final-cta){position:relative;isolation:isolate;border-color:color-mix(in srgb,var(--fx-violet) 26%,var(--land-line));box-shadow:0 20px 55px #00000012,0 0 35px var(--fx-violet-glow)}
.landing-cinematic .demo-toolbar{background:linear-gradient(100deg,var(--land-raised),color-mix(in srgb,var(--fx-violet) 9%,var(--land-raised)))}
.landing-cinematic .demo-content,.landing-cinematic .console-route{position:relative;isolation:isolate}
.landing-cinematic .console-route-step{position:relative;z-index:1}
.landing-cinematic .console-route[data-cinematic-flow=true]>.console-route-connector{visibility:hidden}
.landing-cinematic .cinema-flow{position:absolute;inset:0;width:100%;height:100%;z-index:0;overflow:visible;pointer-events:none;fill:none}
.landing-cinematic .cinema-flow-track{stroke:var(--land-cyan);stroke-opacity:.28;stroke-width:1.5;fill:none}
.landing-cinematic .cinema-flow-travel{stroke:var(--fx-violet);stroke-width:2.5;stroke-linecap:round;stroke-dasharray:22 100;opacity:0;fill:none;filter:drop-shadow(0 0 4px var(--land-cyan))}
.landing-cinematic .demo-sidebar button[aria-selected=true]{background:linear-gradient(100deg,var(--land-soft),color-mix(in srgb,var(--fx-violet) 8%,var(--land-soft)));box-shadow:inset -2px 0 var(--land-cyan)}
.landing-cinematic .demo-stages{position:relative;z-index:1}
.landing-cinematic .demo-stages li{background:var(--land-surface)}
.landing-cinematic .demo-result[data-complete=true]{text-shadow:0 0 24px var(--fx-cyan-glow)}
.landing-cinematic .automation-visual{background:linear-gradient(155deg,color-mix(in srgb,var(--fx-violet) 6%,var(--land-surface)),var(--land-surface) 55%)}
.landing-cinematic .automation-node{position:relative;z-index:1}
.landing-cinematic .automation-connector{overflow:hidden}
.landing-cinematic .automation-connector::after{background:linear-gradient(var(--fx-violet),var(--land-cyan));opacity:.3}
.landing-cinematic .cinema-rule-packet{position:absolute;top:0;left:0;width:100%;height:13px;background:var(--land-cyan);box-shadow:0 0 10px var(--land-cyan);opacity:0}
.landing-cinematic .automation-visual[data-cinematic-state=allowed] .rules-node{border-color:var(--land-cyan);box-shadow:0 0 24px var(--fx-cyan-glow)}
.landing-cinematic .automation-visual[data-cinematic-state=blocked] .rules-node{border-color:#bd637c}
.landing-cinematic .automation-visual[data-cinematic-state=waiting] .rules-node{border-color:#b29462}
.landing-cinematic .bento-card{--card-accent:var(--fx-violet);background:linear-gradient(140deg,color-mix(in srgb,var(--card-accent) 6%,var(--land-surface)),var(--land-surface) 65%)}
.landing-cinematic .bento-card:nth-child(2n){--card-accent:var(--land-cyan)}
.landing-cinematic .bento-card:nth-child(3n){--card-accent:var(--fx-blue)}
.landing-cinematic .bento-card:is(:hover,:focus-within){border-color:var(--card-accent)}
.landing-cinematic .team-avatars span{box-shadow:0 0 20px var(--fx-violet-glow)}
.landing-cinematic .how-grid li>span{border-color:color-mix(in srgb,var(--fx-violet) 35%,var(--land-line));background:linear-gradient(130deg,var(--land-soft),var(--land-raised));color:var(--fx-violet)}
.landing-cinematic .use-case-grid article{border-color:color-mix(in srgb,var(--fx-violet) 40%,var(--land-line))}
.landing-cinematic .trial-banner{background:linear-gradient(105deg,var(--land-surface),color-mix(in srgb,var(--fx-violet) 8%,var(--land-surface)),var(--land-soft));border-color:color-mix(in srgb,var(--fx-violet) 32%,var(--land-line))}
.landing-cinematic .trial-symbol{color:var(--fx-violet);text-shadow:0 0 25px var(--fx-violet-glow)}
.landing-cinematic .landing-plan{transition:border-color .2s,box-shadow .2s;background:linear-gradient(145deg,color-mix(in srgb,var(--fx-violet) 5%,var(--land-surface)),var(--land-surface) 65%)}
.landing-cinematic .landing-plan:is(:hover,:focus-within){border-color:var(--fx-violet);box-shadow:0 15px 40px var(--fx-violet-glow)}
.landing-cinematic .landing-plan-price{color:var(--land-cyan)}
.landing-cinematic .faq-list details{border-color:var(--land-line);border-radius:10px;transition:background .2s,border-color .2s}
.landing-cinematic .faq-list details[open]{border-color:color-mix(in srgb,var(--fx-violet) 40%,var(--land-line));background:linear-gradient(100deg,transparent,var(--fx-violet-glow))}
.landing-cinematic .final-cta{background:linear-gradient(120deg,var(--land-surface),color-mix(in srgb,var(--fx-violet) 10%,var(--land-surface)),var(--land-surface))}
.landing-cinematic .final-glow{background:radial-gradient(ellipse at 30% 100%,var(--fx-violet-glow),transparent 65%),radial-gradient(ellipse at 80% 80%,var(--fx-cyan-glow),transparent 70%)}
.landing-cinematic .final-mark{filter:drop-shadow(0 0 22px var(--fx-cyan-glow))}
.landing-cinematic .lp-in-view{animation:none}
.landing-cinematic[data-cinematic-ready=true][data-cinematic-motion=on] .landing-hero::before{animation:cinema-spotlight-arrive 3.8s ease-out 1 both}
.landing-cinematic[data-cinematic-ready=true][data-cinematic-motion=on] .hero-type-gradient{animation:cinema-title-light 3s ease-out 1 both}
.landing-cinematic[data-cinematic-hero-visible=false] .landing-hero::before,
.landing-cinematic[data-cinematic-hero-visible=false] .landing-hero *,
.landing-cinematic[data-cinematic-hero-visible=false] .landing-hero *::before,
.landing-cinematic[data-cinematic-hero-visible=false] .landing-hero *::after,
.landing-cinematic[data-cinematic-paused=true] *,
.landing-cinematic[data-cinematic-paused=true] *::before,
.landing-cinematic[data-cinematic-paused=true] *::after{animation-play-state:paused!important}
@keyframes cinema-spotlight-arrive{from{opacity:.3;transform:translateY(-40px) scale(.92)}to{opacity:1;transform:none}}
@keyframes cinema-title-light{from{background-position:100% 0}to{background-position:0 0}}
@keyframes cinema-border-tour{0%{offset-distance:0%;opacity:0}12%{opacity:1}86%{opacity:1}100%{offset-distance:100%;opacity:0}}
@keyframes cinema-button-glint{0%{opacity:0;background-position:150% 0}20%{opacity:.8}100%{opacity:0;background-position:-80% 0}}
@supports not (offset-path:rect(0 auto auto 0 round 18px)){.landing-cinematic .cinema-border-traveller{display:none}}
@media(max-width:800px){
 .landing-cinematic .hero-console{transform:none;transition:border-color .2s}
 .landing-cinematic .hero-console::after{mix-blend-mode:normal;opacity:.15}
 .landing-cinematic .hero-orbit{filter:blur(8px)}
 .landing-cinematic .feature-card:is(:hover,:focus-within) .feature-mini{translate:none}
}
@media(max-width:700px){
 .landing-cinematic .landing-header{margin-top:8px;padding:12px 8px;border-radius:13px;gap:4px}
 .landing-cinematic .landing-brand{gap:5px}
 .landing-cinematic .landing-brand>span{font-size:20px}
 .landing-cinematic .landing-brand>img{width:26px}
 .landing-cinematic .landing-header-actions{gap:5px}
 .landing-cinematic .landing-login{padding:8px 6px;font-size:11px}
 .landing-cinematic .landing-login span{margin-inline-start:3px}
 .landing-cinematic .landing-theme-toggle,.landing-cinematic .menu-toggle{width:40px;min-height:40px}
 .landing-cinematic .landing-nav{padding-top:10px}
 .landing-cinematic .landing-hero::after{background-size:32px 32px;opacity:.14}
 .landing-cinematic .hero-console{box-shadow:0 14px 40px #00000020,0 0 28px var(--fx-violet-glow)}
 .landing-cinematic .cinema-border-traveller{width:100px;height:100px}
}
@media(prefers-reduced-motion:reduce){
 .landing-cinematic .hero-console{transform:none;transition:none}
 .landing-cinematic .console-media-art svg{translate:none}
 .landing-cinematic .cinema-border-traveller,.landing-cinematic .cinema-flow-travel,.landing-cinematic .cinema-rule-packet{display:none}
 .landing-cinematic .feature-card:is(:hover,:focus-within) .feature-mini{translate:none}
}
