:root{
  --brand:#534AB7;
  --brand-dark:#3C3489;
  --brand-soft:#EEEAFB;
  --accent:#185FA5;
  --green:#0F6E56;
  --green-soft:#E1F5EE;
  --bg:#F7F7FA;
  --card:#FFFFFF;
  --text:#20232A;
  --muted:#5F5E5A;
  --border:#E6E4DD;
  --radius:14px;
  --shadow:0 1px 2px rgba(0,0,0,.04),0 8px 24px rgba(40,30,90,.06);
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Roboto,Helvetica,Arial,sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:var(--font);color:var(--text);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%}
.container{max-width:1140px;margin:0 auto;padding:0 24px}
.section{padding:72px 0}
.section.sm{padding:48px 0}

/* nav */
.nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:saturate(180%) blur(12px);border-bottom:.5px solid var(--border)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{display:flex;align-items:center;gap:9px;font-weight:700;font-size:19px;letter-spacing:-.02em}
.logo .mark{width:30px;height:30px;border-radius:8px;background:linear-gradient(135deg,var(--brand),#7F77DD);color:#fff;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:700}
.logo-img{height:36px;width:auto;display:block}
.footer-logo{background:transparent;padding:0;border-radius:0}
.nav-links{display:flex;gap:28px;align-items:center}
.nav-links a{font-size:14px;color:var(--muted);font-weight:500;transition:color .15s}
.nav-links a:hover{color:var(--brand)}
.nav-cta{display:flex;gap:10px;align-items:center}
@media(max-width:860px){.nav-links{display:none}}

/* mega menu (Wondershare-style product dropdown) */
.has-mega{position:relative;height:64px;display:flex;align-items:center}
.has-mega > a{display:inline-flex;align-items:center;gap:5px;font-size:14px;color:var(--muted);font-weight:500;transition:color .15s}
.has-mega:hover > a,.has-mega > a:hover{color:var(--brand)}
.has-mega .chevron{font-size:9px;transition:transform .2s;opacity:.7}
.has-mega:hover .chevron{transform:rotate(180deg)}
.mega-menu{display:none;position:absolute;left:50%;top:100%;transform:translateX(-50%);padding-top:10px;width:min(980px,calc(100vw - 40px));z-index:60}
.has-mega:hover .mega-menu{display:block}
.mega-menu-inner{background:#fff;border:.5px solid var(--border);border-radius:18px;box-shadow:0 24px 60px rgba(40,30,90,.14);padding:24px 26px;overflow:hidden}
.mega-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.mm-title{font-size:12px;font-weight:700;color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin-bottom:12px}
.mm-item{display:flex;flex-direction:column;gap:3px;padding:9px 10px;border-radius:10px;transition:background .15s}
.mm-item:hover{background:var(--brand-soft)}
.mm-name{font-size:14px;font-weight:600;color:var(--text);line-height:1.3}
.mm-desc{font-size:12px;color:var(--muted);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mega-foot{margin-top:16px;padding-top:14px;border-top:.5px solid var(--border);text-align:center}
.mega-foot a{font-size:13px;font-weight:600;color:var(--brand)}
.mega-foot a:hover{text-decoration:underline}
@media(max-width:900px){
  .mega-grid{grid-template-columns:repeat(2,1fr);gap:20px}
  .mega-menu{width:min(720px,calc(100vw - 40px))}
}
@media(max-width:680px){
  .mega-menu{display:none!important}
}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:14px;font-weight:600;padding:11px 18px;border-radius:10px;cursor:pointer;border:.5px solid transparent;transition:transform .12s,box-shadow .15s,background .15s}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--brand);color:#fff}
.btn-primary:hover{background:var(--brand-dark);box-shadow:0 6px 18px rgba(83,74,183,.28)}
.btn-ghost{background:#fff;color:var(--brand);border-color:#cfc9ef}
.btn-ghost:hover{background:var(--brand-soft)}
.btn-outline{background:transparent;color:var(--text);border-color:var(--border)}
.btn-outline:hover{background:#fff}
.btn-sm{padding:8px 13px;font-size:13px}
.btn-block{width:100%}

/* hero */
.hero{background:radial-gradient(1200px 400px at 70% -10%,#ECE8FD 0%,rgba(236,232,253,0) 60%),#fff;border-bottom:.5px solid var(--border);overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center;padding:84px 0 72px}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr;gap:36px;padding:56px 0}}
.eyebrow{display:inline-flex;align-items:center;gap:7px;background:var(--brand-soft);color:var(--brand-dark);font-size:13px;font-weight:600;padding:5px 12px;border-radius:999px;margin-bottom:18px}
.hero h1{font-size:42px;line-height:1.12;font-weight:700;letter-spacing:-.02em;margin-bottom:18px}
.hero h1 .hl{color:var(--brand)}
.hero p.lead{font-size:17px;color:var(--muted);margin-bottom:28px;max-width:520px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px}
.hero-note{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;color:var(--muted)}
.hero-note span{display:inline-flex;align-items:center;gap:6px}
.dot{width:6px;height:6px;border-radius:50%;background:var(--green)}

/* hero visual card */
.hero-card{background:#fff;border:.5px solid var(--border);border-radius:18px;padding:26px;box-shadow:var(--shadow)}
.hero-card h3{font-size:15px;margin-bottom:14px;color:var(--muted);font-weight:600}
.spec-row{display:flex;justify-content:space-between;font-size:13px;padding:9px 0;border-bottom:.5px solid #F0EEE8}
.spec-row:last-child{border-bottom:0}
.spec-row .k{color:var(--muted)}
.spec-row .v{font-weight:600}

/* trust bar */
.trustbar{background:#fff;border-bottom:.5px solid var(--border)}
.trust-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;padding:26px 0}
@media(max-width:860px){.trust-grid{grid-template-columns:repeat(2,1fr)}}
.trust-item{display:flex;flex-direction:column;gap:6px}
.trust-item .t{font-weight:600;font-size:14px}
.trust-item .d{font-size:12.5px;color:var(--muted)}

/* section heading */
.s-head{text-align:center;max-width:680px;margin:0 auto 44px}
.s-head .tag{color:var(--brand);font-weight:600;font-size:13px;letter-spacing:.04em;text-transform:uppercase}
.s-head h2{font-size:30px;font-weight:700;letter-spacing:-.02em;margin:10px 0 12px}
.s-head p{color:var(--muted);font-size:15px}

/* scenarios */
.scn-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media(max-width:860px){.scn-grid{grid-template-columns:1fr}}
.scn{background:var(--card);border:.5px solid var(--border);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)}
.scn .ico{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:22px;margin-bottom:16px}
.scn h3{font-size:18px;margin-bottom:8px}
.scn p{font-size:14px;color:var(--muted);margin-bottom:14px}
.scn ul{list-style:none;font-size:13.5px;color:var(--text)}
.scn ul li{padding:5px 0 5px 20px;position:relative}
.scn ul li:before{content:"";position:absolute;left:0;top:12px;width:7px;height:7px;border-radius:2px;background:var(--brand)}

/* products grid */
.prod-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
@media(max-width:1000px){.prod-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.prod-grid{grid-template-columns:1fr}}
.prod{background:var(--card);border:.5px solid var(--border);border-radius:var(--radius);padding:20px;display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s,border-color .15s}
.prod:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#cfc9ef}
.prod .tag-row{display:flex;gap:6px;margin-bottom:10px}
.pill{font-size:11px;font-weight:600;padding:3px 9px;border-radius:999px}
.pill.batch{background:var(--brand-soft);color:var(--brand-dark)}
.pill.privacy{background:var(--green-soft);color:var(--green)}
.pill.pro{background:#FDF0E3;color:#854F0B}
.prod h3{font-size:16px;line-height:1.35;margin-bottom:7px;min-height:43px}
.prod p{font-size:13px;color:var(--muted);flex:1;margin-bottom:14px}
.price{display:flex;align-items:baseline;gap:8px;margin-bottom:14px}
.price .now{font-size:20px;font-weight:700;color:var(--text)}
.price .was{font-size:13px;color:#A8A49C;text-decoration:line-through}
.price .per{font-size:12px;color:var(--muted)}
.prod .acts{display:flex;gap:8px}
.prod .acts .btn{flex:1}

/* Featured spotlight block (most complete product) */
.featured{position:relative;display:grid;grid-template-columns:1.4fr 1fr;gap:28px;align-items:center;background:linear-gradient(135deg,#3d319c,#5e52d4);color:#fff;border-radius:20px;padding:38px 42px;margin-bottom:30px;overflow:hidden;box-shadow:0 20px 50px rgba(61,49,156,.28)}
.featured:before{content:"";position:absolute;right:-70px;top:-70px;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.12)}
.featured:after{content:"";position:absolute;right:30px;bottom:-90px;width:200px;height:200px;border-radius:50%;background:rgba(255,255,255,.08)}
.featured-body{position:relative;z-index:1}
.feat-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.22);color:#fff;font-size:12px;font-weight:700;letter-spacing:.04em;padding:6px 13px;border-radius:999px;margin-bottom:14px;border:1px solid rgba(255,255,255,.18)}
.feat-title{font-size:32px;line-height:1.15;margin-bottom:12px;color:#fff;font-weight:800;letter-spacing:-.02em;text-shadow:0 2px 8px rgba(0,0,0,.12)}
.feat-title a{color:inherit}
.feat-sub{font-size:15px;line-height:1.65;color:rgba(255,255,255,.96);max-width:600px;margin-bottom:20px}
.feat-chips{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:22px}
.feat-chips span{font-size:12px;font-weight:700;background:rgba(255,255,255,.22);padding:6px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(4px)}
.featured .price .now,.featured .price .was,.featured .price .per{color:#fff}
.featured .price .now{font-size:26px;font-weight:800;text-shadow:0 2px 6px rgba(0,0,0,.12)}
.featured .price .was{color:rgba(255,255,255,.75)}
.featured .acts{display:flex;gap:10px}
.featured .btn-primary{background:#fff;color:var(--brand);border-color:#fff}
.featured .btn-primary:hover{background:rgba(255,255,255,.9);box-shadow:0 6px 18px rgba(0,0,0,.18)}
.featured .btn-outline{color:#fff;border-color:rgba(255,255,255,.65);background:rgba(255,255,255,.10)}
.featured .btn-outline:hover{background:rgba(255,255,255,.20)}
.feat-foot{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.feat-foot .price{margin-bottom:0}
.featured-media{position:relative;z-index:1;display:flex;align-items:center;justify-content:center}
.featured-media img{width:100%;max-width:440px;border-radius:14px;box-shadow:0 18px 40px rgba(0,0,0,.32);border:1px solid rgba(255,255,255,.22);display:block}
@media(max-width:760px){.featured{grid-template-columns:1fr;padding:28px 24px}.feat-title{font-size:26px}.feat-sub{font-size:14px}.featured-media{margin-top:24px;order:2}.featured-media img{max-width:100%}}

/* browse by direction */
.dir-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
@media(max-width:900px){.dir-grid{grid-template-columns:repeat(2,1fr)}}
.dir{background:var(--card);border:.5px solid var(--border);border-radius:var(--radius);padding:22px;transition:border-color .15s,background .15s}
.dir:hover{border-color:var(--brand);background:#FBFAFF}
.dir .ico{font-size:24px;margin-bottom:10px}
.dir h4{font-size:15px;margin-bottom:4px}
.dir p{font-size:12.5px;color:var(--muted)}

/* solutions */
.sol-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
@media(max-width:900px){.sol-grid{grid-template-columns:repeat(2,1fr)}}
.sol{background:var(--card);border:.5px solid var(--border);border-radius:var(--radius);padding:24px}
.sol .ico{font-size:26px;margin-bottom:12px}
.sol h4{font-size:16px;margin-bottom:8px}
.sol p{font-size:13.5px;color:var(--muted);margin-bottom:12px}
.sol a{font-size:13px;font-weight:600;color:var(--brand)}

/* compare */
.cmp{background:#fff;border:.5px solid var(--border);border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}
table.cmp-t{width:100%;border-collapse:collapse;font-size:14px}
table.cmp-t th,table.cmp-t td{padding:16px 20px;text-align:left;border-bottom:.5px solid var(--border)}
table.cmp-t thead th{background:var(--brand);color:#fff;font-weight:600}
table.cmp-t thead th:first-child{background:#4a418f}
table.cmp-t td:first-child{font-weight:600}
.yes{color:var(--green);font-weight:600}
.no{color:#B7B2A8}

/* why */
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
@media(max-width:860px){.why-grid{grid-template-columns:repeat(2,1fr)}}
.why{text-align:center;padding:8px}
.why .n{font-size:30px;font-weight:700;color:var(--brand);letter-spacing:-.02em}
.why .l{font-size:13.5px;color:var(--muted);margin-top:4px}

/* faq */
.faq{max-width:760px;margin:0 auto}
.faq-item{background:var(--card);border:.5px solid var(--border);border-radius:12px;margin-bottom:12px;overflow:hidden}
.faq-q{width:100%;text-align:left;background:none;border:0;padding:18px 20px;font-size:15px;font-weight:600;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-family:var(--font);color:var(--text)}
.faq-q .pm{color:var(--brand);font-size:20px;transition:transform .2s}
.faq-a{max-height:0;overflow:hidden;transition:max-height .25s ease;padding:0 20px;color:var(--muted);font-size:14px}
.faq-item.open .faq-a{max-height:240px;padding:0 20px 18px}
.faq-item.open .faq-q .pm{transform:rotate(45deg)}

/* final cta */
.final{background:linear-gradient(135deg,var(--brand),#7F77DD);color:#fff;border-radius:20px;padding:54px 40px;text-align:center;margin:0 24px}
.final h2{font-size:30px;font-weight:700;margin-bottom:12px}
.final p{font-size:16px;opacity:.92;margin-bottom:24px}
.final .btn-ghost{background:#fff;color:var(--brand)}
.final .btn-outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}

/* legal / doc pages */
.doc-head{background:radial-gradient(1100px 360px at 75% -20%,#ECE8FD 0%,rgba(236,232,253,0) 60%),#fff;border-bottom:.5px solid var(--border);padding:64px 0 44px}
.doc-head .eyebrow{margin-bottom:16px}
.doc-head h1{font-size:38px;line-height:1.14;font-weight:700;letter-spacing:-.02em;margin-bottom:12px}
.doc-head p{font-size:16px;color:var(--muted);max-width:640px}
.doc-body{padding:56px 0 72px}
.doc-body .container{max-width:860px}
.doc-body h2{font-size:22px;font-weight:700;margin:38px 0 12px;letter-spacing:-.01em}
.doc-body h2:first-child{margin-top:0}
.doc-body h3{font-size:16px;font-weight:600;margin:22px 0 8px;color:var(--brand-dark)}
.doc-body p{font-size:15px;color:var(--text);margin-bottom:14px}
.doc-body ul{margin:0 0 16px;padding-left:22px}
.doc-body li{font-size:15px;color:var(--text);margin-bottom:8px}
.doc-body a.inline{color:var(--brand);font-weight:600;border-bottom:1px solid #cfc9ef}
.doc-body a.inline:hover{color:var(--brand-dark)}
.doc-body .updated{font-size:13px;color:var(--muted);margin-top:8px}
.doc-card{background:var(--card);border:.5px solid var(--border);border-radius:var(--radius);padding:24px 26px;box-shadow:var(--shadow);margin:22px 0}
.doc-card h3{margin-top:0;color:var(--brand-dark)}
.doc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0}
@media(max-width:760px){.doc-grid{grid-template-columns:1fr}}
.doc-grid .stat{background:var(--brand-soft);border-radius:12px;padding:20px;text-align:center}
.doc-grid .stat .n{font-size:28px;font-weight:700;color:var(--brand-dark)}
.doc-grid .stat .l{font-size:13px;color:var(--muted);margin-top:4px}

/* footer */
.footer{background:#1c1830;color:#C9C5DC;padding:54px 0 28px;margin-top:0}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px;margin-bottom:36px}
@media(max-width:860px){.footer-grid{grid-template-columns:1fr 1fr}}
.footer h5{color:#fff;font-size:14px;margin-bottom:14px;font-weight:600}
.footer a{display:block;font-size:13.5px;color:#C9C5DC;padding:4px 0;transition:color .15s}
.footer a:hover{color:#fff}
.footer .brand-blurb{font-size:13.5px;line-height:1.7;max-width:300px;margin-top:12px}
.footer-bottom{border-top:.5px solid rgba(255,255,255,.12);padding-top:20px;font-size:12.5px;color:#8E89A8;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}

/* all products page */
.filter-bar{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:28px}
.chip{font-size:13px;font-weight:600;padding:8px 15px;border-radius:999px;background:#fff;border:.5px solid var(--border);color:var(--muted);cursor:pointer;transition:all .15s}
.chip:hover{border-color:var(--brand);color:var(--brand)}
.chip.active{background:var(--brand);color:#fff;border-color:var(--brand)}
.ap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
@media(max-width:900px){.ap-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.ap-grid{grid-template-columns:1fr}}
.ap-card{background:var(--card);border:.5px solid var(--border);border-radius:12px;padding:16px 18px;display:flex;flex-direction:column;gap:4px;transition:border-color .15s,transform .12s}
.ap-card:hover{border-color:var(--brand);transform:translateY(-2px)}
.ap-card .cat{font-size:11px;font-weight:600;color:var(--brand);text-transform:uppercase;letter-spacing:.03em}
.ap-card .nm{font-size:14.5px;font-weight:600;line-height:1.35;margin:2px 0 8px}
.ap-card .acts{display:flex;gap:8px;margin-top:auto}
.ap-card .acts a{flex:1;text-align:center;font-size:12.5px;font-weight:600;padding:7px 0;border-radius:8px}
.ap-dl{background:var(--brand-soft);color:var(--brand-dark)}
.ap-view{background:#fff;color:var(--text);border:.5px solid var(--border)}
.ap-card.swf{border-color:#E7D3C6;background:#FDF8F2}
.ap-card.swf .cat{color:#854F0B}
.ap-card.featured,.dl-card.featured{position:relative;border:1.5px solid var(--brand);box-shadow:0 12px 34px rgba(60,50,140,.18);overflow:visible}
.ap-card.featured::before,.dl-card.featured::before{content:"★ Featured";position:absolute;top:12px;left:18px;right:auto;bottom:auto;width:auto;height:auto;z-index:2;background:linear-gradient(135deg,#534AB7,#3C3489);color:#fff;font-size:11px;font-weight:700;letter-spacing:.03em;padding:3px 12px;border-radius:999px;box-shadow:0 6px 16px rgba(60,50,140,.3)}
.dl-card.featured{padding:36px 22px 18px}
.ap-featured .ap-card.featured{padding:36px 22px 18px}
.ap-card.featured::after,.dl-card.featured::after{content:none}
.dl-featured,.ap-featured{overflow:visible;position:relative;z-index:1}
/* Pinned featured card (all-products) — always visible above the filterable grid */
.ap-featured{margin:18px 0 26px}
.ap-featured .ap-grid{display:block}
.ap-featured .ap-card.featured{flex-direction:row;align-items:center;gap:18px;padding:36px 22px 18px}
.ap-featured .ap-card.featured .cat{display:none}
.ap-featured .ap-card.featured .ap-title{font-size:18px;margin:0;flex:0 0 auto;min-width:210px}
.ap-featured .ap-card.featured .ap-desc{margin:0;flex:1 1 auto;font-size:13px}
.ap-featured .ap-card.featured .acts{margin:0;flex:0 0 auto}
.ap-featured .ap-card.featured .acts a{flex:0 0 auto;padding:7px 16px}
.cat-note{font-size:13px;color:var(--muted);margin:30px 0 14px;display:flex;align-items:center;gap:8px}
.cat-note .badge{background:#FDF0E3;color:#854F0B;font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px}
.ap-card .ap-title{font-size:14.5px;font-weight:600;line-height:1.35;margin:2px 0 8px;color:var(--text);transition:color .15s}
.ap-card .ap-title:hover{color:var(--brand)}
.ap-card .ap-desc{font-size:12.5px;color:var(--muted);line-height:1.55;margin-bottom:12px}
.ap-buy{background:var(--green-soft);color:var(--green)}
.ap-card.swf .ap-buy{background:#F3E2D2;color:#854F0B}

/* homepage CLI examples */
.cli-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
@media(max-width:900px){.cli-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.cli-grid{grid-template-columns:1fr}}
.cli{background:var(--card);border:.5px solid var(--border);border-radius:12px;padding:14px 16px;min-width:0}
.cli h4{font-size:13.5px;margin-bottom:8px;color:var(--brand-dark)}
.cli pre{margin:0;background:#1c1830;color:#E7E3F5;border-radius:8px;padding:10px 12px;overflow-x:auto;white-space:pre-wrap;word-break:break-word}
.cli code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px;line-height:1.5;white-space:pre-wrap;word-break:break-word}
.cli-note{font-size:13px;color:var(--muted);margin-top:18px;text-align:center}
.cli-note code{background:var(--brand-soft);color:var(--brand-dark);padding:1px 6px;border-radius:5px;font-family:ui-monospace,monospace;font-size:12px}

/* ===== product detail page ===== */
.breadcrumb{padding:18px 0 0;font-size:13px;color:var(--muted);display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.breadcrumb a:hover{color:var(--brand)}
.breadcrumb .sep{opacity:.5}
.detail-hero{background:#fff;border-bottom:.5px solid var(--border);padding:14px 0 40px}
.detail-hero .grid{display:grid;grid-template-columns:1.25fr .75fr;gap:46px;align-items:center}
@media(max-width:920px){.detail-hero .grid{grid-template-columns:1fr;gap:28px}}
.detail-hero h1{font-size:38px;line-height:1.12;font-weight:700;letter-spacing:-.02em;margin:14px 0 10px}
.detail-hero .tagline{font-size:17px;color:var(--brand-dark);font-weight:600;margin-bottom:16px}
.detail-hero .intro{font-size:15.5px;color:var(--muted);margin-bottom:24px;max-width:560px}
.detail-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.detail-note{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;color:var(--muted)}
.detail-note span{display:inline-flex;align-items:center;gap:6px}
.shot{background:linear-gradient(135deg,#F3F0FE,#FBFAFF);border:.5px solid var(--border);border-radius:16px;padding:18px;box-shadow:var(--shadow)}
.shot img{width:100%;border-radius:10px;display:block;background:#fff}
.shot .ph{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:240px;color:var(--brand)}
.shot .ph .big{font-size:46px}
.shot .ph .pn{font-weight:700;font-size:16px;color:var(--text)}
.shot .ph .ps{font-size:12.5px;color:var(--muted)}

.detail-body{display:grid;grid-template-columns:1fr 320px;gap:40px;align-items:start;padding-top:48px}
@media(max-width:920px){.detail-body{grid-template-columns:1fr}}
.detail-main h2{font-size:24px;font-weight:700;letter-spacing:-.02em;margin:0 0 18px}
.detail-main section{margin-bottom:44px}
.feat-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 26px}
@media(max-width:620px){.feat-grid{grid-template-columns:1fr}}
.feat{display:flex;gap:10px;font-size:14.5px;color:var(--text);align-items:flex-start}
.feat .ck{width:20px;height:20px;border-radius:6px;background:var(--green-soft);color:var(--green);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex-shrink:0;margin-top:2px}
.fmt-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media(max-width:620px){.fmt-cards{grid-template-columns:1fr}}
.fmt-card{background:#fff;border:.5px solid var(--border);border-radius:12px;padding:20px;box-shadow:var(--shadow)}
.fmt-card h4{font-size:14px;margin-bottom:12px;color:var(--brand-dark);display:flex;align-items:center;gap:8px}
.fmt-card .arrow{color:var(--muted);font-size:12px;font-weight:600}
.fmt-card p{font-size:13.5px;color:var(--muted);line-height:1.85;word-break:break-word}
.cli-block{background:#1c1830;color:#E7E3F5;border-radius:12px;padding:18px 20px;overflow-x:auto;white-space:pre-wrap;word-break:break-word}
.cli-block code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.7;white-space:pre-wrap;word-break:break-word;display:block}
.cli-block .cm{color:#8E89A8}
.why-row{display:flex;gap:10px;flex-wrap:wrap}
.why-chip{background:var(--brand-soft);color:var(--brand-dark);font-size:13px;font-weight:600;padding:8px 14px;border-radius:999px}
.related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
@media(max-width:900px){.related-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.related-grid{grid-template-columns:1fr}}
.rel{background:#fff;border:.5px solid var(--border);border-radius:12px;padding:16px;transition:border-color .15s,transform .12s}
.rel:hover{border-color:var(--brand);transform:translateY(-2px)}
.rel .rc{font-size:11px;font-weight:600;color:var(--brand);text-transform:uppercase}
.rel .rn{font-size:14px;font-weight:600;margin:6px 0 10px;line-height:1.35}
.rel .rp{font-size:13px;color:var(--muted);margin-bottom:12px}
.rel .ra{font-size:13px;font-weight:600;color:var(--brand)}

/* detail sidebar */
.detail-side{position:sticky;top:84px;display:flex;flex-direction:column;gap:18px}
@media(max-width:920px){.detail-side{position:static}}
.price-card{background:#fff;border:.5px solid var(--border);border-radius:16px;padding:24px;box-shadow:var(--shadow);text-align:center}
.price-card .lab{font-size:12.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-weight:600}
.price-card .amt{font-size:34px;font-weight:700;letter-spacing:-.02em;margin:6px 0 2px}
.price-card .amt .cur{font-size:20px;vertical-align:super}
.price-card .sub{font-size:12.5px;color:var(--muted);margin-bottom:18px}
.price-card .acts{display:flex;flex-direction:column;gap:10px}
.price-card .mb{font-size:12px;color:var(--green);margin-top:14px;display:flex;align-items:center;justify-content:center;gap:6px}
.quick{background:#fff;border:.5px solid var(--border);border-radius:16px;padding:20px 22px;box-shadow:var(--shadow)}
.quick h4{font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:12px;font-weight:600}
.quick .qr{display:flex;justify-content:space-between;font-size:13.5px;padding:8px 0;border-bottom:.5px solid #F0EEE8}
.quick .qr:last-child{border-bottom:0}
.quick .qr .k{color:var(--muted)}
.quick .qr .v{font-weight:600}
.side-link{font-size:13px;color:var(--muted);text-align:center}
.side-link a{color:var(--brand);font-weight:600}
.detail-err{text-align:center;padding:90px 20px}
.detail-err h1{font-size:28px;margin-bottom:14px}
.detail-err a{color:var(--brand);font-weight:600}

/* ===== typical workflow ===== */
.wf-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
@media(max-width:820px){.wf-steps{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.wf-steps{grid-template-columns:1fr}}
.wf-step{position:relative;background:#fff;border:.5px solid var(--border);border-radius:14px;padding:20px 18px;box-shadow:var(--shadow)}
.wf-ico{width:52px;height:52px;border-radius:14px;background:var(--brand-soft);display:flex;align-items:center;justify-content:center;font-size:24px;position:relative;margin-bottom:14px}
.wf-num{position:absolute;top:-7px;right:-7px;width:23px;height:23px;border-radius:50%;background:var(--brand);color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;border:2px solid #fff}
.wf-t{font-size:15.5px;font-weight:700;margin-bottom:6px}
.wf-d{font-size:13px;color:var(--muted);line-height:1.55}

/* ===== reviews ===== */
#sec-reviews h2{font-size:24px;font-weight:700;letter-spacing:-.02em;margin:0 0 18px}
.rv-head{display:flex;gap:36px;flex-wrap:wrap;align-items:center;background:#fff;border:.5px solid var(--border);border-radius:16px;padding:22px 26px;box-shadow:var(--shadow);margin-bottom:22px}
.rv-score{text-align:center;min-width:96px}
.rv-score .big{font-size:46px;font-weight:700;line-height:1;letter-spacing:-.02em}
.rv-score .stars{color:#F5A623;font-size:18px;letter-spacing:2px;margin-top:4px}
.rv-score .cnt{font-size:12.5px;color:var(--muted);margin-top:4px}
.rv-dist{flex:1;min-width:240px;display:flex;flex-direction:column;gap:6px}
.rv-row{display:flex;align-items:center;gap:10px;font-size:12.5px}
.rv-lab{width:28px;color:var(--muted);font-weight:600}
.rv-bar{flex:1;height:8px;background:#EFEDE6;border-radius:999px;overflow:hidden}
.rv-bar i{display:block;height:100%;background:#F5A623;border-radius:999px}
.rv-cnt{width:36px;text-align:right;color:var(--muted)}
.rv-list{display:flex;flex-direction:column;gap:14px}
.rv-card{background:#fff;border:.5px solid var(--border);border-radius:14px;padding:18px 20px;box-shadow:var(--shadow)}
.rv-top{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.rv-av{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,var(--brand),#7F77DD);color:#fff;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.rv-meta{flex:1;min-width:0}
.rv-name{font-size:14.5px;font-weight:700}
.rv-role{font-size:12.5px;color:var(--muted)}
.rv-right{text-align:right;flex-shrink:0}
.rv-stars{color:#F5A623;font-size:13px;letter-spacing:1px;display:block}
.rv-date{font-size:11.5px;color:var(--muted)}
.rv-text{font-size:14px;color:var(--text);line-height:1.6;margin:0 0 10px}
.rv-verified{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:600;color:var(--green);background:var(--green-soft);padding:3px 9px;border-radius:999px}

/* Advanced capabilities list (static product pages) */
#sec-advanced{margin:8px 0 28px}
.adv-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px 26px}
.adv-list li{display:flex;gap:10px;align-items:flex-start;font-size:14.5px;color:var(--text);line-height:1.6}
.adv-list .ck{color:var(--green);font-weight:700;flex-shrink:0}
@media(max-width:620px){.adv-list{grid-template-columns:1fr}}

/* OCR Language Packs page */
.ocr-hero .shot .ph{width:100%;height:280px;border-radius:16px;background:linear-gradient(135deg,#534AB7,#7F77DD);color:#fff;flex-direction:column;gap:8px}
.ocr-hero .shot .ph .big{font-size:64px}
.ocr-hero .shot .ph .pn{font-size:20px;font-weight:700}
.ocr-hero .shot .ph .ps{font-size:13px;opacity:.85}
.muted-count{color:var(--muted);font-weight:600;font-size:18px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:6px 0 8px}
@media(max-width:760px){.steps{grid-template-columns:1fr}}
.step{display:flex;gap:14px;align-items:flex-start;background:var(--card);border:.5px solid var(--border);border-radius:14px;padding:18px}
.step-n{flex-shrink:0;width:30px;height:30px;border-radius:50%;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px}
.step-b h4{font-size:15px;margin-bottom:5px}
.step-b p{font-size:13.5px;color:var(--muted);line-height:1.55}
.step-b code{background:var(--brand-soft);color:var(--brand-dark);padding:1px 6px;border-radius:6px;font-size:12.5px}
.lang-tip{font-size:14px;color:var(--muted);margin-bottom:18px}
.lang-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
@media(max-width:900px){.lang-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:620px){.lang-grid{grid-template-columns:repeat(2,1fr)}}
.lang{display:flex;justify-content:space-between;align-items:center;gap:8px;background:var(--card);border:.5px solid var(--border);border-radius:10px;padding:11px 13px;transition:border-color .15s,background .15s,transform .12s}
.lang:hover{border-color:var(--brand);background:#FBFAFF;transform:translateY(-2px)}
.lang-name{font-size:13.5px;font-weight:600;color:var(--text)}
.lang-dl{font-size:12px;font-weight:600;color:var(--brand);flex-shrink:0}
.ocr-note{margin:0;padding-left:20px}
.ocr-note li{font-size:14.5px;color:var(--text);margin-bottom:10px;line-height:1.55}
.ocr-note strong{color:var(--brand-dark)}

/* Downloads page */
.dl-toolbar{display:flex;align-items:center;gap:14px;margin:6px 0 14px;flex-wrap:wrap}
.dl-search-wrap{position:relative;flex:1;min-width:260px;max-width:520px}
.dl-search-ic{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none}
.dl-search{width:100%;box-sizing:border-box;font-size:15px;font-family:inherit;color:var(--text);
  padding:12px 40px 12px 42px;border:.5px solid var(--border);border-radius:12px;background:#fff;outline:none;
  transition:border-color .15s,box-shadow .15s}
.dl-search::placeholder{color:#a7a2c0}
.dl-search:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(83,74,183,.14)}
.dl-clear{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:24px;height:24px;
  border:none;border-radius:50%;background:var(--brand-soft);color:var(--brand);font-size:18px;line-height:1;
  cursor:pointer;display:flex;align-items:center;justify-content:center}
.dl-clear:hover{background:var(--brand);color:#fff}
.dl-result{font-size:13px;color:var(--muted);white-space:nowrap}
.dl-empty{font-size:14px;color:var(--muted);background:var(--brand-soft);border:.5px solid #d9d3f3;
  border-radius:12px;padding:14px 18px;margin:0 0 22px}
.dl-empty em{color:var(--brand);font-style:normal;font-weight:600}
.dl-card.flash{border-color:var(--brand);box-shadow:0 0 0 3px rgba(83,74,183,.18)}
.dl-filter{display:flex;flex-wrap:wrap;gap:9px;margin:6px 0 26px}
.dl-group{margin-bottom:26px}
.dl-gtitle{font-size:19px;font-weight:700;margin-bottom:14px;display:flex;align-items:center;gap:10px}
.dl-count{font-size:12px;font-weight:600;color:var(--brand);background:var(--brand-soft);border-radius:999px;padding:2px 10px}
.dl-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
@media(max-width:900px){.dl-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.dl-grid{grid-template-columns:1fr}}
.dl-card{background:var(--card);border:.5px solid var(--border);border-radius:14px;padding:18px;display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s,border-color .15s}
.dl-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#cfc9ef}
.dl-name{font-size:15.5px;font-weight:700;color:var(--text);text-decoration:none;margin-bottom:7px}
.dl-name:hover{color:var(--brand)}
.dl-desc{font-size:13px;color:var(--muted);line-height:1.55;flex:1;margin-bottom:14px}
.dl-btn{display:inline-block;text-align:center;background:var(--brand);color:#fff;font-size:13px;font-weight:700;padding:9px 14px;border-radius:10px;text-decoration:none;transition:background .15s}
.dl-btn:hover{background:var(--brand-dark)}
.dl-featured{margin:18px 0 24px}
.dl-featured .dl-card{max-width:none}
/* Pinned featured card (downloads) — full-width horizontal row, matches all-products featured */
.dl-featured .dl-card.featured{flex-direction:row;align-items:center;gap:18px;padding:36px 22px 18px}
.dl-featured .dl-card.featured .dl-name{font-size:18px;margin:0;flex:0 0 auto;min-width:210px}
.dl-featured .dl-card.featured .dl-desc{margin:0;flex:1 1 auto;font-size:13px}
.dl-featured .dl-card.featured .dl-btn{flex:0 0 auto;padding:9px 16px;margin:0}

/* Back to top */
.to-top{position:fixed;right:22px;bottom:22px;z-index:90;width:46px;height:46px;border:none;border-radius:50%;background:var(--brand);color:#fff;font-size:20px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 24px rgba(60,50,140,.28);opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .25s ease,transform .25s ease,visibility .25s,background .15s}
.to-top:hover{background:var(--brand-dark)}
.to-top.show{opacity:1;visibility:visible;transform:translateY(0)}
@media(max-width:680px){.to-top{right:14px;bottom:14px;width:42px;height:42px;font-size:18px}}
