/* v0.7 design layer - existing PHP and behavior unchanged */
:root{--blue:#2563eb;--blue2:#60a5fa;--navy:#061126;--text:#eff6ff;--muted:#b6c8e4}
body{background:#061126;color:#eef5ff}
.site-header{position:absolute;background:rgba(2,10,27,.72);border-bottom:1px solid rgba(96,165,250,.23);backdrop-filter:blur(16px)}
.site-header .brand img{filter:drop-shadow(0 0 14px rgba(37,99,235,.22))}
.cinematic-hero{isolation:isolate;min-height:760px;padding-top:135px;padding-bottom:72px;background:#061126}
.cinematic-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.68;pointer-events:none;z-index:-3}
.cinematic-scrim{position:absolute;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(90deg,rgba(2,8,23,.93) 0%,rgba(3,13,36,.82) 39%,rgba(3,16,47,.3) 75%),linear-gradient(0deg,#061126,transparent 30%)}
.cinematic-orbits{position:absolute;right:3%;top:100px;width:min(44vw,560px);aspect-ratio:1;z-index:-1;pointer-events:none;opacity:.65}
.cinematic-orbits span{position:absolute;inset:12%;border:1px solid rgba(96,165,250,.30);border-radius:50%;box-shadow:0 0 35px rgba(37,99,235,.12);animation:orbit-drift 18s ease-in-out infinite alternate}
.cinematic-orbits span:nth-child(2){inset:25%;border-style:dashed;animation-delay:-7s}
.cinematic-orbits span:nth-child(3){inset:4%;border-color:rgba(37,99,235,.13);animation-delay:-12s}
@keyframes orbit-drift{to{transform:rotate(28deg) scale(1.04)}}
.cinematic-hero .hero-editorial{align-items:center;gap:38px;margin-bottom:42px}
.cinematic-hero .hero-copy h1{letter-spacing:-.065em;text-shadow:0 12px 34px rgba(0,0,0,.28)}
.cinematic-hero .hero-intro{background:rgba(3,15,36,.55);padding:22px;border:1px solid rgba(96,165,250,.25);border-radius:18px;backdrop-filter:blur(8px)}
.cinematic-hero .product-stage{min-height:410px;border-color:rgba(96,165,250,.42);border-radius:26px;background:linear-gradient(125deg,rgba(6,20,44,.74),rgba(8,38,84,.56));box-shadow:0 28px 85px rgba(0,0,0,.38),0 0 60px rgba(37,99,235,.12)}
.section.showcase,.section.products,.section.about,.section.final-cta{background:linear-gradient(148deg,#061226,#09214b 63%,#061226);color:#eff6ff;border-top:1px solid rgba(96,165,250,.16)}
.section.showcase{background:radial-gradient(ellipse at 70% 5%,rgba(37,99,235,.18),transparent 52%),#061329}
.section.products{background:radial-gradient(ellipse at 18% 25%,rgba(37,99,235,.14),transparent 55%),linear-gradient(180deg,#071a36,#061126)}
.section.about{background:radial-gradient(ellipse at 85% 55%,rgba(37,99,235,.2),transparent 57%),#07152d}
.section .eyebrow,.section .section-heading p,.section .product-count{color:#93c5fd}
.section h2,.section h3,.section p{color:inherit}
.product-card{background:linear-gradient(165deg,#0c2853,#091a35);border:1px solid rgba(96,165,250,.35);color:#f0f7ff;box-shadow:0 15px 50px rgba(0,0,0,.2)}
.product-card:hover,.product-card:focus-within{border-color:#60a5fa;box-shadow:0 17px 55px rgba(37,99,235,.25)}
.product-card-body{color:#c8d8f1}.product-card h3{color:#fff}.product-card .product-subtitle{color:#93c5fd}.product-card-footer a{color:#93c5fd}
.product-chip{background:#2563eb;color:#fff}.product-card-visual{background:#081936}
.product-filters .filter-button{background:#081b39;color:#bfdbfe;border:1px solid rgba(96,165,250,.37)}
.product-filters .filter-button.active{background:#2563eb;color:#fff}
.product-grid__hover{pointer-events:none}
.section.about .about-dev,.section.final-cta .dev-cta{color:#fff}
.site-footer{background:#050e1d;color:#c8d8f1}
@media(max-width:850px){.cinematic-hero{min-height:0;padding-top:120px}.cinematic-hero .hero-intro{padding:16px}.cinematic-hero .product-stage{min-height:460px}.cinematic-video{opacity:.36}.cinematic-scrim{background:linear-gradient(180deg,rgba(2,8,23,.55),#061126 92%)}.cinematic-orbits{display:none}}
@media(prefers-reduced-motion:reduce){.cinematic-orbits span{animation:none}.cinematic-video{display:none}}

/* v0.8 cohesive neon cinematic layer - additive; all existing UI/dialog hooks preserved */
:root{color-scheme:dark;--bg:#061126;--text:#eff6ff;--muted:#a8bfdf}
html{scroll-padding-top:75px}
body{background:#041026;color:#eff6ff}
.container{width:min(1250px,calc(100% - 44px))}
.site-header{background:rgba(3,12,31,.87);border-bottom:1px solid rgba(76,150,255,.24)}
.cinematic-nav{display:flex;align-items:center;gap:clamp(12px,2.6vw,36px);color:#dceaff;font-weight:700;font-size:13px}
.cinematic-nav a{padding:9px 0;transition:color .2s}
.cinematic-nav a:hover,.cinematic-nav a:focus-visible{color:#60a5fa}
.cinematic-hero{min-height:740px;background:radial-gradient(ellipse at 79% 40%,rgba(9,92,242,.23),transparent 52%),#041027;padding-bottom:82px}
.cinematic-video{opacity:.9;filter:saturate(1.3) contrast(1.08)}
.cinematic-scrim{background:linear-gradient(90deg,#031022 0%,rgba(3,13,33,.97) 21%,rgba(3,13,36,.79) 48%,rgba(4,19,49,.38) 76%),linear-gradient(0deg,#061126 0%,transparent 29%)}
.cinematic-hero .hero-editorial{position:relative;z-index:2;margin-top:36px;max-width:1040px}
.cinematic-hero .hero-copy h1{font-size:clamp(48px,5vw,78px);line-height:1.16;max-width:700px}
.cinematic-hero .hero-intro{max-width:490px;border-color:rgba(96,165,250,.25);background:rgba(3,14,38,.52);box-shadow:0 15px 70px rgba(0,20,65,.2)}
.cinematic-hero .product-stage{border:1px solid rgba(96,165,250,.44);background:linear-gradient(116deg,rgba(4,19,48,.93),rgba(5,43,101,.75));box-shadow:0 20px 80px rgba(0,0,0,.45),0 0 46px rgba(37,99,235,.13)}
.cinematic-lightrail{position:absolute;inset:auto -10% -5% -10%;height:150px;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 60% 74%,rgba(0,138,255,.46),transparent 62%);filter:blur(36px)}
.section{padding:76px 0}
.section.showcase{background:radial-gradient(ellipse at 15% 0,rgba(23,102,228,.24),transparent 48%),#061329}
.section.products{background:radial-gradient(ellipse at 85% 4%,rgba(18,98,243,.19),transparent 46%),#06132c}
.section.about{background:radial-gradient(ellipse at 65% 58%,rgba(31,115,249,.21),transparent 55%),#06152e}
.section.final-cta{background:linear-gradient(130deg,#07132b,#092a60 75%,#07152b)}
.section-heading h2{color:#f8fbff;font-size:clamp(32px,3.65vw,50px)}
.section-heading>p{color:#b3c9e9}
.showcase-list{gap:20px}
.showcase-card{border:1px solid rgba(72,140,238,.37);border-radius:23px;background:linear-gradient(125deg,#0a2450,#06142f);padding:33px;box-shadow:0 20px 65px rgba(0,0,0,.2)}
.showcase-copy h3,.showcase-copy>p,.showcase-copy li{color:#f1f6ff}
.showcase-subtitle{color:#93c5fd!important}
.showcase-copy li span{background:#0f3471;color:#93c5fd}
.showcase-meta span{background:#1e3f83;color:#cde2ff}
.showcase-meta small,.showcase-copy>p{color:#bad0eb}
.media-frame{border-color:rgba(96,165,250,.45);background:#0b1934}
.product-grid{gap:18px}
.product-card{border-radius:18px;background:linear-gradient(165deg,#0d2c59,#081a35);transition:transform .3s,box-shadow .3s,border-color .3s}
.product-card:hover{transform:translateY(-7px);box-shadow:0 18px 55px rgba(0,92,245,.22)}
.product-card-body{padding:21px}
.product-card p{color:#b3c8e4}
.product-card-footer{border-top-color:rgba(108,169,255,.17)}
.product-card-top{color:#9db9df}
.product-card-top b{color:#79aafa}
.product-card-visual{border-bottom:1px solid rgba(96,165,250,.17)}
.filter-button{background:#071d40;color:#bcd4f8;border-color:rgba(96,165,250,.35)}
.filter-button:hover{border-color:#60a5fa}
.about-dev{border:1px solid rgba(96,165,250,.25);border-radius:24px;background:linear-gradient(132deg,rgba(12,45,97,.66),rgba(4,16,44,.38));padding:clamp(24px,3.2vw,48px)}
.dev-cta{background:linear-gradient(120deg,rgba(7,33,76,.93),rgba(9,68,140,.8));border:1px solid rgba(96,165,250,.48);box-shadow:0 14px 62px rgba(5,54,155,.2)}
/* Original light dialogs, form backgrounds and admin pages are intentionally not recolored. */
@media(max-width:800px){.cinematic-nav{gap:12px;font-size:12px}.cinematic-nav a{display:none}.cinematic-hero{padding-top:108px}.cinematic-hero .hero-editorial{margin-top:0}.cinematic-scrim{background:linear-gradient(90deg,rgba(2,10,27,.84),rgba(2,12,31,.56)),linear-gradient(0deg,#061126 2%,transparent 62%)}.section{padding:58px 0}.showcase-card{padding:20px}.about-dev{padding:20px}}
@media(prefers-reduced-motion:reduce){.cinematic-video{display:none}.cinematic-orbits span{animation:none}.product-card:hover{transform:none}}

/* v1.2: preserve FULL admin-authored main-page product information.
   Scoped to product grid; modals, admin, API and data are unchanged. */
.section.products .product-grid { align-items:stretch; row-gap:24px; }
.section.products .product-card { display:flex; flex-direction:column; min-width:0; height:100%; border:1px solid rgba(96,165,250,.32); background:linear-gradient(160deg,#102b52 0%,#0a1c38 64%,#07162e 100%); }
.section.products .product-card-visual { position:relative; flex:0 0 auto; }
.section.products .product-card-body { display:flex; flex-direction:column; flex:1 1 auto; min-width:0; padding:24px 23px 22px; }
.section.products .product-card h3 { color:#f8fbff; font-size:clamp(19px,1.6vw,24px); line-height:1.42; overflow-wrap:anywhere; }
.section.products .product-card .product-subtitle { color:#86b9ff!important; font-weight:800!important; font-size:14px; line-height:1.6; margin:8px 0 13px!important; }
.section.products .product-card-body > p:not(.product-subtitle) { color:#c8d7ee; font-size:13px; line-height:1.85; margin:0; overflow-wrap:anywhere; white-space:pre-line; display:block; max-height:none; -webkit-line-clamp:unset; -webkit-box-orient:initial; overflow:visible; }
.section.products .product-card-footer { margin-top:auto; padding-top:20px; border-top:1px solid rgba(125,176,250,.18); }
.section.products .product-card-footer a { color:#9cc5ff; }
.section.products .product-card-footer .link-muted { color:#9db0cc; }
.section.products .product-card-top { color:#a9bddc; }
@media(max-width:760px){.section.products .product-card-body{padding:20px 19px 21px}.section.products .product-card-body > p:not(.product-subtitle){font-size:13px;line-height:1.8}}

/* v1.3.1: respect the existing app.js category filter hidden state. */
.section.products .product-card[hidden] { display: none !important; }

/* Ensure product visibility semantics in all card layout variants */
.section.products [data-product-grid] > .product-card[hidden], .section.products .product-card[hidden] { display: none !important; }

/* v1.3.4 Brand Hero: original product stage removed, original product showcase preserved */
.cinematic-hero{min-height:0;padding-bottom:48px}
.cinematic-hero>.container{position:relative;isolation:isolate}
.cinematic-hero .hero-editorial{position:relative;display:block;width:min(62%,740px);min-height:380px;margin:0;padding:40px 0 26px;z-index:3}
.cinematic-hero .hero-copy h1{max-width:740px;font-size:clamp(44px,5.8vw,78px);line-height:1.075}
.pzr-brand-symbol{position:absolute;top:-24px;right:-3%;width:min(51%,580px);aspect-ratio:1;z-index:1;display:grid;place-items:center;pointer-events:none;filter:drop-shadow(0 12px 40px rgba(37,99,235,.22))}
.pzr-brand-symbol:before{content:"";position:absolute;inset:8%;border-radius:50%;background:radial-gradient(circle,rgba(37,99,235,.22) 0%,rgba(10,33,74,.15) 45%,transparent 70%);filter:blur(14px)}
.pzr-brand-symbol img{display:block;position:relative;z-index:2;width:min(72%,420px);height:auto;object-fit:contain;filter:drop-shadow(0 8px 26px rgba(0,114,255,.32));animation:pzr-mark-hover 7s ease-in-out infinite alternate}
.pzr-brand-halo{position:absolute;inset:9%;border:1px solid rgba(82,168,255,.32);border-radius:50%;box-shadow:0 0 40px rgba(37,99,235,.16),inset 0 0 35px rgba(37,99,235,.08)}
.pzr-brand-halo-two{inset:21%;border-style:dashed;opacity:.64;animation:orbit-drift 24s linear infinite}
.pzr-brand-energy{position:absolute;bottom:14%;width:82%;height:10%;border-radius:50%;border:2px solid rgba(0,153,255,.52);box-shadow:0 0 20px rgba(0,153,255,.55),0 0 65px rgba(37,99,235,.3);transform:perspective(500px) rotateX(60deg)}
@keyframes pzr-mark-hover{to{transform:translateY(-9px)}}
.pzr-brand-principles{position:relative;z-index:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:12px 0 0;padding:24px 0 5px;border-top:1px solid rgba(125,190,255,.25)}
.pzr-brand-principle{display:flex;gap:12px;align-items:center;padding:5px 18px;border-right:1px solid rgba(125,190,255,.22)}
.pzr-brand-principle:first-child{padding-left:0}.pzr-brand-principle:last-child{border-right:0}
.pzr-brand-principle strong{display:block;font-size:15px;color:#fff}.pzr-brand-principle small{display:block;margin-top:4px;font-size:12px;line-height:1.5;color:#b6c8e4}
.pzr-brand-step{flex:none;display:grid;place-items:center;width:40px;height:40px;border:1px solid rgba(96,165,250,.5);border-radius:12px;background:rgba(9,42,90,.65);font-weight:800;color:#93c5fd;font-size:12px}
@media(max-width:900px){.cinematic-hero .hero-editorial{width:100%;min-height:0;padding:28px 0 12px}.pzr-brand-symbol{position:relative;right:auto;top:auto;width:min(90%,440px);margin:-8px auto -6px}.pzr-brand-principles{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:18px}.pzr-brand-principle:nth-child(2){border-right:0}.pzr-brand-principle:nth-child(3){padding-left:0}}
@media(max-width:540px){.cinematic-hero .hero-editorial{padding:10px 0}.cinematic-hero .hero-copy h1{font-size:clamp(36px,10vw,52px)}.pzr-brand-symbol{width:94%;margin:-12px auto -14px}.pzr-brand-principles{gap:12px;padding-top:18px}.pzr-brand-principle{gap:7px;padding:5px 6px}.pzr-brand-principle strong{font-size:13px}.pzr-brand-principle small{font-size:11px}.pzr-brand-step{width:30px;height:30px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.pzr-brand-symbol img,.pzr-brand-halo-two{animation:none!important}}
