/* === download page styles === */
.w{max-width:calc(var(--content-max) + var(--content-pad)*2);margin:0 auto;padding-left:var(--content-pad);padding-right:var(--content-pad)}
/* NAV */
.btn--outline{background:transparent;color:var(--gray-600);border:1.5px solid var(--gray-200)}.btn--outline:hover{border-color:var(--accent);color:var(--accent)}
.btn svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2}
/* HERO */
.hero{position:relative;min-height:420px;display:flex;align-items:flex-end;overflow:hidden;background:linear-gradient(135deg,#0a1628 0%,#0d2244 40%,#0a1a38 100%)}
.hero__grid{position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.03) 1px,transparent 1px);background-size:40px 40px}
.hero__glow{position:absolute;width:600px;height:600px;border-radius:50%;background:radial-gradient(circle,rgba(0,102,255,.12) 0%,transparent 70%);top:-100px;right:-100px}
.hero__c{position:relative;z-index:10;padding:0 0 56px}
.hero__bc{margin-bottom:16px;display:flex;align-items:center;gap:6px;font-size:11px;color:rgba(255,255,255,.4)}
.hero__bc a{color:rgba(255,255,255,.5);transition:color .3s}.hero__bc a:hover{color:#fff}
.hero__bc svg{width:10px;height:10px;stroke:rgba(255,255,255,.3);fill:none;stroke-width:2}
.hero__tag{font-size:11px;font-weight:600;letter-spacing:3px;text-transform:uppercase;color:var(--accent);margin-bottom:14px;opacity:0;transform:translateY(16px);animation:fu .8s var(--ease) .3s forwards}
.hero__title{font-size:clamp(32px,5vw,52px);font-weight:800;line-height:1.08;color:#fff;letter-spacing:-1px;max-width:620px;margin-bottom:14px;opacity:0;transform:translateY(20px);animation:fu .9s var(--ease) .5s forwards}
.hero__sub{font-size:15px;font-weight:300;color:rgba(255,255,255,.45);max-width:480px;line-height:1.7;opacity:0;animation:fu .9s var(--ease) .7s forwards}
@keyframes fu{to{opacity:1;transform:translateY(0)}}
/* STATS BAR */
.stats-bar{position:relative;z-index:20;margin-top:-36px;margin-bottom:48px}
.stats-inner{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.stat{background:var(--white);border-radius:14px;padding:24px 28px;border:1px solid var(--gray-100);box-shadow:0 12px 48px rgba(0,0,0,.06);display:flex;align-items:center;gap:18px}
.stat__icon{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;flex-shrink:0}
.stat__icon--blue{background:var(--accent-light)}.stat__icon--blue svg{stroke:var(--accent)}
.stat__icon--green{background:#ecfdf5}.stat__icon--green svg{stroke:#10b981}
.stat__icon--purple{background:#f5f3ff}.stat__icon--purple svg{stroke:#8b5cf6}
.stat__icon--amber{background:#fffbeb}.stat__icon--amber svg{stroke:#f59e0b}
.stat__icon svg{width:22px;height:22px;fill:none;stroke-width:2}
.stat__val{font-size:26px;font-weight:800;color:var(--gray-900);letter-spacing:-.5px;line-height:1}
.stat__label{font-size:12px;font-weight:400;color:var(--gray-500);margin-top:2px}
/* SEARCH + FILTER */
.search-bar{background:var(--white);border-radius:14px;padding:20px 28px;border:1px solid var(--gray-100);box-shadow:0 4px 24px rgba(0,0,0,.04);margin-bottom:12px;display:flex;gap:12px;align-items:center}
.search-bar__input{flex:1;display:flex;align-items:center;gap:10px;background:var(--gray-50);border:1.5px solid var(--gray-100);border-radius:10px;padding:10px 16px;transition:border-color .3s}
.search-bar__input:focus-within{border-color:var(--accent)}
.search-bar__input svg{width:16px;height:16px;stroke:var(--gray-400);fill:none;stroke-width:2;flex-shrink:0}
.search-bar__input input{flex:1;border:none;outline:none;font-family:var(--font);font-size:13px;color:var(--gray-900);background:transparent}
.search-bar__input input::placeholder{color:var(--gray-400)}
.search-bar__select{position:relative}
.search-bar__select select{appearance:none;padding:10px 40px 10px 16px;border:1.5px solid var(--gray-100);border-radius:10px;font-family:var(--font);font-size:13px;font-weight:500;color:var(--gray-700);background:var(--gray-50);cursor:pointer;transition:border-color .3s;outline:none}
.search-bar__select select:focus{border-color:var(--accent)}
.search-bar__select::after{content:'';position:absolute;right:14px;top:50%;transform:translateY(-50%);width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid var(--gray-400);pointer-events:none}
.filter-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:36px}
.fb{padding:7px 18px;border-radius:18px;font-size:12px;font-weight:500;color:var(--gray-500);background:var(--white);border:1.5px solid var(--gray-100);transition:all .25s var(--ease);font-family:var(--font);cursor:pointer;display:inline-flex;align-items:center;gap:5px}
.fb:hover{border-color:var(--accent);color:var(--accent)}.fb--on{background:var(--accent);color:#fff;border-color:var(--accent)}
.fb svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2}
/* PRODUCT FILTER */
.product-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.pt{padding:6px 16px;border-radius:16px;font-size:11px;font-weight:600;color:var(--gray-500);background:var(--gray-50);border:1px solid var(--gray-100);transition:all .25s;cursor:pointer;font-family:var(--font)}
.pt:hover{border-color:var(--accent);color:var(--accent)}.pt--on{background:var(--accent);color:#fff;border-color:var(--accent)}
/* DOWNLOAD GRID */
.sec{padding:0 0 100px}
.dl-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.dl-card{border-radius:14px;border:1px solid var(--gray-100);background:var(--white);padding:24px;transition:all .4s var(--ease);display:flex;gap:18px;align-items:flex-start}
.dl-card:hover{border-color:rgba(0,102,255,.12);box-shadow:0 8px 32px rgba(0,0,0,.05);transform:translateY(-2px)}
.dl-card__icon{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;flex-shrink:0}
.dl-card__icon svg{width:22px;height:22px;fill:none;stroke-width:2}
.dl-card__icon--pdf{background:#fef2f2}.dl-card__icon--pdf svg{stroke:#ef4444}
.dl-card__icon--fw{background:#eff6ff}.dl-card__icon--fw svg{stroke:#3b82f6}
.dl-card__icon--app{background:#f0fdf4}.dl-card__icon--app svg{stroke:#10b981}
.dl-card__icon--sdk{background:#f5f3ff}.dl-card__icon--sdk svg{stroke:#8b5cf6}
.dl-card__icon--vid{background:#fff7ed}.dl-card__icon--vid svg{stroke:#f97316}
.dl-card__icon--cad{background:#fdf4ff}.dl-card__icon--cad svg{stroke:#d946ef}
.dl-card__body{flex:1;min-width:0}
.dl-card__title{font-size:14px;font-weight:700;color:var(--gray-900);margin-bottom:4px;display:flex;align-items:center;gap:8px}
.dl-card__title .new-tag{font-size:9px;font-weight:700;color:#fff;background:#10b981;padding:2px 6px;border-radius:6px;letter-spacing:.5px}
.dl-card__desc{font-size:12px;font-weight:300;color:var(--gray-500);line-height:1.6;margin-bottom:10px}
.dl-card__meta{display:flex;align-items:center;gap:14px;font-size:11px;color:var(--gray-400)}
.dl-card__meta span{display:flex;align-items:center;gap:4px}
.dl-card__meta svg{width:11px;height:11px;stroke:var(--gray-400);fill:none;stroke-width:2}
.dl-card__actions{display:flex;flex-direction:column;gap:6px;flex-shrink:0;align-self:center}
.dl-btn{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;transition:all .3s var(--ease);cursor:pointer;border:none}
.dl-btn--primary{background:var(--accent-light)}.dl-btn--primary:hover{background:var(--accent)}
.dl-btn--primary svg{stroke:var(--accent)}.dl-btn--primary:hover svg{stroke:#fff}
.dl-btn svg{width:16px;height:16px;fill:none;stroke-width:2}
/* EMPTY STATE */
.empty-state{text-align:center;padding:80px 20px;display:none}
.empty-state.visible{display:block}
.empty-state svg{width:64px;height:64px;stroke:var(--gray-300);fill:none;stroke-width:1.2;margin-bottom:20px}
.empty-state h3{font-size:18px;font-weight:700;color:var(--gray-800);margin-bottom:8px}
.empty-state p{font-size:13px;font-weight:300;color:var(--gray-500)}
/* SUPPORT CTA */
.cta-sec{padding:80px 0;background:var(--gray-50);border-top:1px solid var(--gray-100)}
.cta-box{display:flex;align-items:center;justify-content:space-between;gap:32px;background:var(--gray-900);border-radius:18px;padding:56px 64px}
.cta-box__text h2{font-size:clamp(22px,2.5vw,30px);font-weight:700;color:#fff;letter-spacing:-.3px;margin-bottom:10px}
.cta-box__text p{font-size:14px;font-weight:300;color:var(--gray-500);max-width:400px;line-height:1.7}
.cta-box__actions{display:flex;gap:10px;flex-shrink:0}
/* FOOTER */
