/*
Theme Name: 爱派派智能科技
Theme URI: https://ai-paipai.com
Description: 深圳爱派派智能科技有限公司官方站点主题（基于原 FOX CMS 设计重建）。
Version: 1.0.0
Author: AI PAIPAI
Tags: corporate, product, responsive
*/

:root{
  --primary:#2879fe;
  --primary-d:#1a63e0;
  --primary-l:#eaf2ff;
  --text:#303133;
  --text-2:#606266;
  --text-3:#909399;
  --bg:#ffffff;
  --bg-2:#f5f7fa;
  --border:#ebeef5;
  --dark:#16233a;
  --dark-2:#1f2d3d;
  --radius:8px;
  --container:1200px;
  --shadow:0 6px 24px rgba(20,40,80,.08);
  --shadow-h:0 10px 30px rgba(40,121,254,.18);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Hiragino Sans GB","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);background:var(--bg);font-size:15px;line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none;transition:.2s}
img{max-width:100%;display:block}
ul{list-style:none}
.container{max-width:var(--container);margin:0 auto;padding:0 20px}
.section{padding:70px 0}
.section-head{text-align:center;margin-bottom:46px}
.section-head h1{font-size:32px;font-weight:700;letter-spacing:1px;position:relative;display:inline-block;padding-bottom:14px}
.section-head h1::after{content:"";position:absolute;left:50%;bottom:0;width:54px;height:3px;background:var(--primary);transform:translateX(-50%);border-radius:2px}
.section-head p{color:var(--text-3);letter-spacing:3px;margin-top:10px;font-size:13px;text-transform:uppercase}
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 28px;border-radius:var(--radius);font-weight:600;cursor:pointer;border:1px solid transparent;transition:.25s}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-d);box-shadow:var(--shadow-h)}
.btn-ghost{border-color:var(--primary);color:var(--primary);background:transparent}
.btn-ghost:hover{background:var(--primary-l)}
.btn-white{background:#fff;color:var(--primary)}
.text-center{text-align:center}

/* ===== Header ===== */
.site-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--border);box-shadow:0 2px 12px rgba(0,0,0,.04)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:72px;padding-left:0}
.logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:19px;color:var(--text);margin-right:auto}
.logo img{height:34px;width:auto}
.logo .logo-text{line-height:1.1}
.logo .logo-text small{display:block;font-size:11px;color:var(--text-3);font-weight:400;letter-spacing:1px}
.main-nav>ul{display:flex;align-items:center;gap:2px}
.main-nav>ul>li{position:relative}
.main-nav>ul>li>a{display:block;padding:10px 13px;font-size:14.5px;font-weight:500;border-radius:6px;position:relative}
.main-nav>ul>li>a::after{content:"";position:absolute;left:16px;right:16px;bottom:6px;height:2px;background:var(--primary);transform:scaleX(0);transition:.25s;transform-origin:center}
.main-nav>ul>li:hover>a,.main-nav>ul>li.current>a{color:var(--primary)}
.main-nav>ul>li:hover>a::after,.main-nav>ul>li.current>a::after{transform:scaleX(1)}
.main-nav .submenu{position:absolute;top:100%;left:50%;transform:translateX(-50%) translateY(10px);min-width:200px;background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:8px 0;opacity:0;visibility:hidden;transition:.25s;z-index:20}
.main-nav>ul>li:hover .submenu{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.main-nav .submenu li a{display:block;padding:9px 20px;font-size:14px;color:var(--text-2);white-space:nowrap}
.main-nav .submenu li a:hover{background:var(--primary-l);color:var(--primary)}
.header-right{display:flex;align-items:center;gap:14px;margin-left:16px;flex-shrink:0}
.header-tel{display:flex;align-items:center;gap:8px;color:var(--primary);font-weight:600}
.header-tel .tel-num{font-size:17px}
.menu-toggle{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:8px}
.menu-toggle span{width:24px;height:2px;background:var(--text);border-radius:2px;transition:.25s}

/* ===== Hero ===== */
.hero{position:relative;height:520px;overflow:hidden;background:var(--dark)}
.hero-slides{height:100%;position:relative}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .8s;background-size:cover;background-position:center}
.hero-slide.active{opacity:1}
.hero-slide::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,28,54,.82),rgba(15,28,54,.35))}
.hero-content{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:center;color:#fff;max-width:640px}
.hero-content h1{font-size:42px;line-height:1.25;font-weight:700;margin-bottom:18px}
.hero-content p{font-size:18px;color:rgba(255,255,255,.85);margin-bottom:28px}
.hero-dots{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);z-index:3;display:flex;gap:10px}
.hero-dots button{width:12px;height:12px;border-radius:50%;border:none;background:rgba(255,255,255,.5);cursor:pointer;padding:0}
.hero-dots button.active{background:#fff;width:30px;border-radius:6px}

/* ===== Product grid ===== */
.cat-tabs{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-bottom:36px}
.cat-tabs a{padding:8px 22px;border:1px solid var(--border);border-radius:30px;color:var(--text-2);font-size:14px;font-weight:500}
.cat-tabs a.active,.cat-tabs a:hover{background:var(--primary);color:#fff;border-color:var(--primary)}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.product-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:.28s;display:flex;flex-direction:column}
.product-card:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:transparent}
.product-card .pic{aspect-ratio:4/3;overflow:hidden;background:var(--bg-2)}
.product-card .pic img{width:100%;height:100%;object-fit:contain;padding:14px;transition:.4s}
.product-card:hover .pic img{transform:scale(1.05)}
.product-card .info{padding:18px 18px 22px;border-top:1px solid var(--border)}
.product-card .info h3{font-size:16px;font-weight:600;margin-bottom:8px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.product-card .info p{font-size:13px;color:var(--text-3);line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px}
.product-card .info .more{margin-top:12px;color:var(--primary);font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:4px}

/* ===== Case grid ===== */
.case-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.case-card{border-radius:var(--radius);overflow:hidden;position:relative;aspect-ratio:16/10;box-shadow:var(--shadow)}
.case-card img{width:100%;height:100%;object-fit:cover;transition:.4s}
.case-card:hover img{transform:scale(1.06)}
.case-card .cover{position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(15,28,54,.85));display:flex;flex-direction:column;justify-content:flex-end;padding:22px;color:#fff}
.case-card .cover h3{font-size:17px;margin-bottom:6px}
.case-card .cover span{font-size:13px;color:rgba(255,255,255,.8)}

/* ===== About section ===== */
.about{background:var(--bg-2)}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}
.about-grid .pic{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.about-grid .pic img{width:100%;height:100%;object-fit:cover}
.about-text h2{font-size:28px;margin-bottom:6px}
.about-text .en{color:var(--primary);letter-spacing:2px;font-size:13px;text-transform:uppercase;margin-bottom:18px}
.about-text p{color:var(--text-2);margin-bottom:22px}

/* ===== Download / Video lists ===== */
.dl-list{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.dl-item{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:20px;transition:.25s}
.dl-item:hover{box-shadow:var(--shadow);border-color:var(--primary-l)}
.dl-item .ic{width:48px;height:48px;border-radius:10px;background:var(--primary-l);color:var(--primary);display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0}
.dl-item .meta{flex:1;min-width:0}
.dl-item .meta h4{font-size:15px;margin-bottom:4px}
.dl-item .meta p{font-size:12px;color:var(--text-3)}
.video-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.video-card{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);position:relative}
.video-card video,.video-card img{width:100%;display:block;border-radius:var(--radius)}
.video-card .play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(15,28,54,.25);cursor:pointer}
.video-card .play span{width:64px;height:64px;border-radius:50%;background:rgba(255,255,255,.9);color:var(--primary);display:flex;align-items:center;justify-content:center;font-size:24px}

/* ===== Contact ===== */
.contact{background:linear-gradient(135deg,#16233a,#1f3a6b)}
.contact .section-head h1{color:#fff}
.contact .section-head p{color:rgba(255,255,255,.6)}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.contact-info{color:#fff}
.contact-info h3{font-size:22px;margin-bottom:18px}
.contact-info .row{display:flex;gap:14px;margin-bottom:18px;align-items:flex-start}
.contact-info .row .ic{width:42px;height:42px;border-radius:10px;background:rgba(255,255,255,.1);color:#7eb0ff;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0}
.contact-info .row .txt h4{font-size:15px;font-weight:600;margin-bottom:2px}
.contact-info .row .txt p{color:rgba(255,255,255,.75);font-size:14px}
.contact-form{background:#fff;border-radius:var(--radius);padding:30px}
.contact-form .field{margin-bottom:16px}
.contact-form input,.contact-form textarea{width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius);font-size:14px;font-family:inherit;transition:.2s;background:var(--bg-2)}
.contact-form input:focus,.contact-form textarea:focus{outline:none;border-color:var(--primary);background:#fff}
.contact-form textarea{resize:vertical;min-height:110px}
.contact-form .msg{font-size:13px;margin-top:10px}
.contact-form .msg.ok{color:#2eb85c}
.contact-form .msg.err{color:#eb5757}

/* ===== Footer ===== */
.site-footer{background:var(--dark);color:rgba(255,255,255,.7);padding:54px 0 0;font-size:14px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:36px}
.site-footer .f-logo{font-size:20px;font-weight:700;color:#fff;display:flex;align-items:center;gap:10px;margin-bottom:16px}
.site-footer .f-logo img{height:30px}
.site-footer .f-about p{line-height:1.8;color:rgba(255,255,255,.6)}
.site-footer h4{color:#fff;font-size:16px;margin-bottom:18px;position:relative;padding-bottom:10px}
.site-footer h4::after{content:"";position:absolute;left:0;bottom:0;width:30px;height:2px;background:var(--primary)}
.site-footer .f-links li{margin-bottom:10px}
.site-footer .f-links a:hover{color:#7eb0ff;padding-left:4px}
.site-footer .f-contact p{margin-bottom:10px;display:flex;gap:8px;align-items:center}
.site-footer .socials{display:flex;gap:12px;margin-top:14px}
.site-footer .socials a{width:38px;height:38px;border-radius:8px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;color:#fff;transition:.25s}
.site-footer .socials a:hover{background:var(--primary);transform:translateY(-3px)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:40px;padding:20px 0;text-align:center;font-size:13px;color:rgba(255,255,255,.5)}
.footer-bottom a{color:rgba(255,255,255,.7)}
.footer-bottom a:hover{color:#7eb0ff}

/* ===== Breadcrumb ===== */
.breadcrumb{background:var(--bg-2);padding:14px 0;font-size:13px;color:var(--text-3)}
.breadcrumb a:hover{color:var(--primary)}
.page-banner{background:linear-gradient(135deg,#16233a,#1f3a6b);color:#fff;padding:48px 0;text-align:center}
.page-banner h1{font-size:30px;font-weight:700}
.page-banner p{color:rgba(255,255,255,.7);letter-spacing:2px;margin-top:8px;font-size:13px;text-transform:uppercase}

/* ===== Solutions grid (premium) ===== */
.sol-grid{display:grid !important;grid-template-columns:repeat(3,1fr);gap:24px}
.sol-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:32px 26px;transition:.3s ease;display:flex;flex-direction:column;position:relative;overflow:hidden}
.sol-card::before{content:'';position:absolute;top:0;left:0;width:4px;height:100%;background:var(--primary);opacity:0;transition:.3s}
.sol-card:hover{transform:translateY(-8px);box-shadow:0 12px 36px rgba(40,121,254,.12);border-color:transparent}
.sol-card:hover::before{opacity:1}
.sol-card .ic{width:56px;height:56px;border-radius:14px;background:linear-gradient(135deg,var(--primary-l),#dce9ff);color:var(--primary);display:flex;align-items:center;justify-content:center;font-size:26px;margin-bottom:20px;transition:.3s}
.sol-card:hover .ic{background:linear-gradient(135deg,var(--primary),var(--primary-d));color:#fff;transform:scale(1.08)}
.sol-card h3{font-size:19px;font-weight:700;margin-bottom:12px;color:var(--dark)}
.sol-card p{font-size:13.5px;color:var(--text-2);line-height:1.8;flex:1}
.sol-card .more{margin-top:18px;color:var(--primary);font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:4px}

/* ===== Strength (premium) ===== */
.strength-stats{display:grid !important;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:40px}
.st{text-align:center;background:#fff;border:1px solid var(--border);border-radius:14px;padding:30px 16px;position:relative;overflow:hidden;transition:.3s}
.st::after{content:'';position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:40px;height:3px;background:var(--primary);border-radius:2px;opacity:0;transition:.3s}
.st:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(40,121,254,.1)}
.st:hover::after{opacity:1}
.st .num{font-size:42px;font-weight:800;color:var(--primary);line-height:1.2}
.st .num span{font-size:18px;margin-left:2px;font-weight:700}
.st p{font-size:13px;color:var(--text-3);margin-top:10px;line-height:1.5}
.strength-feats{display:grid !important;grid-template-columns:repeat(3,1fr);gap:18px}
.sf{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--border);border-radius:14px;padding:22px 24px;transition:.3s;position:relative;overflow:hidden}
.sf::before{content:'';position:absolute;left:0;top:0;width:4px;height:100%;background:var(--primary);border-radius:4px 0 0 4px}
.sf:hover{transform:translateX(6px);box-shadow:0 6px 20px rgba(40,121,254,.1)}
.sf b{font-size:15.5px;font-weight:700;color:var(--dark);white-space:nowrap}
.sf span{font-size:12.5px;color:var(--text-3)}

/* ===== Video showcase ===== */
.video-showcase{background:linear-gradient(180deg,#0d1b2a 0%,#16233a 50%,#1b2e4f 100%);color:#fff}
.video-showcase .section-head h1{color:#fff}
.video-showcase .section-head p{color:rgba(255,255,255,.45)}
.video-grid{max-width:900px;margin:0 auto}
.video-card.featured{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:16px;overflow:hidden;backdrop-filter:blur(10px)}
.video-player{aspect-ratio:16/9;background:#000;position:relative}
.video-player video{width:100%;height:100%;object-fit:cover;display:block}
.video-info{padding:24px 28px;text-align:center}
.video-info h3{font-size:20px;font-weight:700;margin-bottom:8px;color:#fff}
.video-info p{font-size:14px;color:rgba(255,255,255,.65);line-height:1.6}
.about-video{max-width:800px;margin-left:auto;margin-right:auto}
.about-video .video-wrapper{border-radius:14px;overflow:hidden;box-shadow:0 12px 40px rgba(0,0,0,.12);background:#000;position:relative}
.about-video .video-wrapper video{display:block;width:100%;border-radius:14px}

/* ===== News grid ===== */
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.news-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:.28s;display:flex;flex-direction:column}
.news-card:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:transparent}
.news-card .pic{aspect-ratio:16/10;overflow:hidden;background:linear-gradient(135deg,var(--primary),var(--primary-d))}
.news-card .pic img{width:100%;height:100%;object-fit:cover}
.news-card .info{padding:18px 20px 22px}
.news-card time{font-size:12px;color:var(--primary);font-weight:600}
.news-card h3{font-size:16px;margin:8px 0;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:44px}
.news-card p{font-size:13px;color:var(--text-3);line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

@media(max-width:980px){
  .sol-grid,.news-grid{grid-template-columns:repeat(2,1fr)}
  .strength-stats{grid-template-columns:repeat(2,1fr)}
  .strength-feats{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  .sol-grid,.news-grid,.strength-stats,.strength-feats{grid-template-columns:1fr}
  .strength-feats .sf{flex-direction:column;align-items:flex-start;gap:6px}
}

/* ===== Archive list ===== */
.archive-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.archive-grid.cols3{grid-template-columns:repeat(3,1fr)}
.archive-grid.cols2{grid-template-columns:repeat(2,1fr)}
.pagination{text-align:center;margin-top:40px}
.pagination a,.pagination span{padding:8px 16px;margin:0 4px;border:1px solid var(--border);border-radius:6px;display:inline-block;color:var(--text-2)}
.pagination .current,.pagination a:hover{background:var(--primary);color:#fff;border-color:var(--primary)}

/* ===== Single product ===== */
.single-product{padding:50px 0}
.sp-top{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start}
.sp-gallery .main-img{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;background:var(--bg-2);margin-bottom:14px}
.sp-gallery .main-img img{width:100%;object-fit:contain;max-height:420px;padding:20px}
.sp-gallery .thumbs{display:flex;gap:10px;flex-wrap:wrap}
.sp-gallery .thumbs img{width:84px;height:84px;object-fit:contain;padding:8px;border:1px solid var(--border);border-radius:8px;cursor:pointer;background:#fff}
.sp-gallery .thumbs img.active,.sp-gallery .thumbs img:hover{border-color:var(--primary)}
.sp-info h1{font-size:26px;font-weight:700;margin-bottom:10px}
.sp-info .sub{color:var(--text-3);margin-bottom:18px}
.sp-info .desc{color:var(--text-2);margin-bottom:22px;padding-bottom:22px;border-bottom:1px solid var(--border)}
.sp-info .meta-list{margin-bottom:24px}
.sp-info .meta-list .m{display:flex;gap:10px;padding:8px 0;border-bottom:1px dashed var(--border);font-size:14px}
.sp-info .meta-list .m .k{color:var(--text-3);width:90px;flex-shrink:0}
.sp-info .meta-list .m .v{color:var(--text);font-weight:500}
.sp-content{margin-top:46px}
.sp-content h2{font-size:22px;margin-bottom:20px;padding-left:14px;border-left:4px solid var(--primary)}
.sp-content .rich img{max-width:100%;height:auto;margin:14px 0;border-radius:6px}
.sp-content .rich p{margin-bottom:14px;color:var(--text-2)}
.recommend{margin-top:60px}
.recommend .product-grid{grid-template-columns:repeat(4,1fr)}
.buy-bar{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--border);padding:14px 0;box-shadow:0 -4px 16px rgba(0,0,0,.06);z-index:30}
.buy-bar .inner{display:flex;align-items:center;justify-content:space-between;gap:16px}
.buy-bar .price{font-size:22px;color:#eb5757;font-weight:700}
.buy-bar .price small{font-size:13px;color:var(--text-3);font-weight:400}

/* ===== Single generic (case/download/video/article/page) ===== */
.single-wrap{max-width:880px;margin:0 auto}
.single-wrap h1{font-size:28px;margin-bottom:14px}
.single-wrap .rich img{max-width:100%;height:auto;margin:16px 0;border-radius:8px}
.single-wrap .rich p{margin-bottom:16px;color:var(--text-2);line-height:1.9}
.single-wrap .dl-btn{display:inline-flex;align-items:center;gap:8px;background:var(--primary);color:#fff;padding:12px 26px;border-radius:var(--radius);font-weight:600;margin-top:10px}
.single-wrap .dl-btn:hover{background:var(--primary-d)}

/* ===== 404 ===== */
.nf{padding:100px 0;text-align:center}
.nf h1{font-size:120px;color:var(--primary);font-weight:800}
.nf p{font-size:18px;color:var(--text-2);margin-bottom:24px}

/* ===== Back to top ===== */
.totop{position:fixed;right:24px;bottom:24px;width:46px;height:46px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;cursor:pointer;opacity:0;visibility:hidden;transition:.3s;z-index:90;box-shadow:var(--shadow-h)}
.totop.show{opacity:1;visibility:visible}

/* ===== Mobile drawer ===== */
.mobile-nav{position:fixed;inset:0;z-index:200;display:none}
.mobile-nav.open{display:block}
.mobile-nav .mask{position:absolute;inset:0;background:rgba(0,0,0,.5)}
.mobile-nav .panel{position:absolute;top:0;right:0;width:80%;max-width:320px;height:100%;background:#fff;padding:24px;overflow-y:auto}
.mobile-nav .panel .m-close{text-align:right;font-size:24px;cursor:pointer;margin-bottom:10px}
.mobile-nav .panel>ul>li{border-bottom:1px solid var(--border)}
.mobile-nav .panel>ul>li>a{padding:14px 4px;display:block;font-weight:500}
.mobile-nav .panel .sub{background:var(--bg-2);padding:6px 0}
.mobile-nav .panel .sub li a{padding:10px 16px;font-size:14px;color:var(--text-2)}

/* ===== Responsive ===== */
@media(max-width:980px){
  .main-nav,.header-tel{display:none}
  .menu-toggle{display:flex}
  .hero{height:400px}
  .hero-content h1{font-size:30px}
  .product-grid,.archive-grid{grid-template-columns:repeat(2,1fr)}
  .case-grid{grid-template-columns:repeat(2,1fr)}
  .about-grid,.contact-grid{grid-template-columns:1fr;gap:30px}
  .dl-list,.video-grid{grid-template-columns:1fr}
  .sp-top{grid-template-columns:1fr;gap:30px}
  .footer-grid{grid-template-columns:1fr 1fr}
  .recommend .product-grid{grid-template-columns:repeat(2,1fr)}
  .sol-grid{grid-template-columns:repeat(2,1fr) !important}
  .strength-stats{grid-template-columns:repeat(2,1fr) !important}
  .strength-feats{grid-template-columns:repeat(2,1fr) !important}
}
@media (max-width:600px){
  .product-grid,.archive-grid,.case-grid{grid-template-columns:1fr}
  .section{padding:48px 0}
  .section-head h1{font-size:26px}
  .footer-grid{grid-template-columns:1fr}
  .sol-grid,.news-grid,.strength-stats,.strength-feats{grid-template-columns:1fr !important}
  .strength-feats .sf{flex-direction:column;align-items:flex-start;gap:6px}
}

/* ===== Article (news / insights) ===== */
.rich .lead{font-size:17px;color:var(--text-2);margin-bottom:24px}
.rich h2{font-size:23px;margin:36px 0 16px;padding-left:12px;border-left:4px solid var(--primary);line-height:1.3}
.matrix-table{width:100%;border-collapse:collapse;margin:6px 0 8px;font-size:14px;background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.matrix-table th,.matrix-table td{border:1px solid var(--border);padding:11px 14px;text-align:left;vertical-align:top}
.matrix-table thead{background:var(--primary);color:#fff}
.matrix-table thead th{border-color:var(--primary-d)}
.matrix-table tbody tr:nth-child(even){background:var(--bg-2)}
.matrix-table td:first-child{font-weight:600;color:var(--dark)}
.prod-block{display:grid;grid-template-columns:320px 1fr;gap:26px;margin:18px 0 6px;align-items:start}
.prod-block .pic img{width:100%;border-radius:var(--radius);border:1px solid var(--border);box-shadow:var(--shadow)}
.prod-block .pic .cap{font-size:12px;color:var(--text-3);text-align:center;margin-top:8px}
.prod-block .body p{margin-bottom:14px;color:var(--text-2)}
.spec-list{margin:4px 0 14px;padding:0;list-style:none}
.spec-list li{position:relative;padding:9px 0 9px 20px;border-bottom:1px dashed var(--border);font-size:14.5px;line-height:1.7;color:var(--text-2)}
.spec-list li::before{content:"";position:absolute;left:0;top:17px;width:7px;height:7px;border-radius:50%;background:var(--primary)}
.spec-list li b{color:var(--text)}
.scene{background:var(--primary-l);border-radius:var(--radius);padding:12px 16px;font-size:14px;color:var(--text-2);margin-top:6px}
.scene b{color:var(--primary-d)}
.rich blockquote{margin:22px 0;padding:14px 18px;border-left:4px solid var(--primary);background:var(--bg-2);border-radius:0 var(--radius) var(--radius) 0;color:var(--text-2)}
@media (max-width:680px){
  .prod-block{grid-template-columns:1fr;gap:16px}
}

/* === product-gallery (aipaipai) === */
.product-gallery{margin:30px 0 10px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.product-gallery .pg-title{grid-column:1/-1;font-size:18px;font-weight:700;color:#16233f;margin:0 0 4px;padding-left:12px;position:relative}
.product-gallery .pg-title:before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:4px;border-radius:3px;background:linear-gradient(180deg,#3a7bff,#1c4fd6)}
.product-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;border:1px solid #eaeef5;background:#f5f8fc;transition:transform .25s ease,box-shadow .25s ease;cursor:zoom-in}
.product-gallery img:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(22,40,90,.16)}
@media(max-width:768px){.product-gallery{grid-template-columns:repeat(2,1fr);gap:10px}}
@media(max-width:480px){.product-gallery{grid-template-columns:1fr}}

/* === sub-cat-tabs (ALINX chip series filter) === */
.sub-cat-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 6px;padding-top:4px}
.sub-cat-tabs a{display:inline-block;padding:7px 15px;border:1px solid #dfe6f1;border-radius:20px;font-size:13px;color:#3a4a66;background:#fff;transition:all .2s ease;text-decoration:none}
.sub-cat-tabs a:hover{color:#1c4fd6;border-color:#9db8f5;transform:translateY(-1px)}
.sub-cat-tabs a.active{background:linear-gradient(180deg,#3a7bff,#1c4fd6);color:#fff;border-color:#1c4fd6;font-weight:600}
@media(max-width:768px){.sub-cat-tabs{gap:6px}.sub-cat-tabs a{padding:6px 12px;font-size:12.5px}}
