/* QANBA Tool UI Standard 1.1 — homepage only. */
:root{--accent:#3399FF;--accent-hover:#57ADFF;--accent-down:#2380DC;--accent-text:#80BFFF;--accent-surface:#102C50;--bg:#071426;--panel:#121E30;--overlay:#192B43;--line:#30435E;--text:#F5F7FA;--body-text:#C9D3E1;--muted:#A7B2C3;--success:#36D399;--warning:#F5B942;--danger:#FF667A}
body{background:var(--bg);color:var(--text);font-family:"Segoe UI","Microsoft YaHei",sans-serif}
main{max-width:1200px;width:calc(100% - 48px);padding:0 0 48px}
header.portal-header.qanba-site-header{width:100%;max-width:1200px;min-height:80px;border-color:var(--line)}
header.portal-header.qanba-site-header .brand img{width:106px!important;height:64px!important}
header.portal-header.qanba-site-header .brand>span{letter-spacing:.04em}
header.portal-header.qanba-site-header .language-picker{color:var(--muted)}
header.portal-header.qanba-site-header select{min-height:44px;background:var(--panel);border:1px solid var(--line);border-radius:8px;color:var(--text)}
header.portal-header.qanba-site-header select:focus-visible{outline:2px solid var(--accent-text);outline-offset:3px}
.eyebrow{margin-top:48px;color:var(--accent-text);font-size:12px;letter-spacing:.16em}
body:has(.portal-header) .hero{margin:12px 0 16px;font-size:clamp(32px,3.3vw,40px);line-height:1.25;color:var(--text)}
.lead{max-width:850px;color:var(--body-text);font-size:16px;line-height:1.75}
.products{margin-top:32px;gap:24px}
.card{border:1px solid var(--line);border-radius:12px;background:var(--panel);transition:transform .15s,border-color .15s,box-shadow .15s}
.card:hover,.q4-card:hover{border-color:var(--accent);box-shadow:0 10px 28px #030b17aa}
.card:focus-visible{outline:2px solid var(--accent-text);outline-offset:3px}
.product-image{height:220px;border-bottom:1px solid var(--line);background:radial-gradient(circle at 50% 20%,#00379155,transparent 65%),#0a1a2d}
.card-body{padding:24px}.card h2{margin:20px 0 8px;color:var(--text);font-size:24px}.card p{color:var(--body-text);font-size:14px;line-height:1.65}
.tag{border-color:#36d39980;background:#0d3a35;color:#9df0d2}
.enter,.q4-card .enter{color:var(--accent-text);font-weight:700}
.contact-support{margin-top:32px;padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.contact-support h2{color:var(--text);font-size:24px}.contact-support p{color:var(--body-text);font-size:15px}
.contact-support a{min-height:46px;border-radius:8px;background:var(--accent);color:#081421;font-weight:600;transition:background .15s,transform .15s}
.contact-support a:hover{background:var(--accent-hover)}.contact-support a:active{background:var(--accent-down)}
.contact-support a:focus-visible{outline:2px solid var(--accent-text);outline-offset:3px}
footer{margin-top:48px;border-color:var(--line);color:var(--muted)}
@media(max-width:650px){main{width:calc(100% - 32px)}header.portal-header.qanba-site-header{width:100%;min-height:80px}header.portal-header.qanba-site-header .brand img{width:78px!important;height:58px!important}.eyebrow{margin-top:32px}.products{margin-top:24px;gap:16px}.card-body{padding:24px}.contact-support{padding:24px}}
@media(prefers-reduced-motion:reduce){.card,.contact-support a,.product-image img{transition:none!important}.card:hover,.contact-support a:hover,.card:hover .product-image img{transform:none!important}}

/* Match the apparent product size across portrait and landscape source canvases. */
.card[href='Sapphire/'] .product-image img,.card[href='q4pro/'] .product-image img,.card[href='Titan/'] .product-image img,.card[href='Drone2/'] .product-image img{transform:scale(1.42)}
.card[href='Sapphire/']:hover .product-image img,.card[href='q4pro/']:hover .product-image img,.card[href='Titan/']:hover .product-image img,.card[href='Drone2/']:hover .product-image img{transform:scale(1.47)}
@media(prefers-reduced-motion:reduce){.card[href='Sapphire/']:hover .product-image img,.card[href='q4pro/']:hover .product-image img,.card[href='Titan/']:hover .product-image img,.card[href='Drone2/']:hover .product-image img{transform:scale(1.42)}}
