/* ===== 酷冰甲降温服 · 前台样式 ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--font-base);
  background:var(--c-bg);
  color:var(--c-text);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  transition:background .4s ease,color .4s ease;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:var(--container);margin:0 auto;padding:0 24px}
.section{padding:88px 0}
.eyebrow{color:var(--c-primary);font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:13px;margin-bottom:12px}
.section-title{font-size:clamp(26px,3.4vw,40px);font-weight:800;letter-spacing:-.01em;line-height:1.2}
.section-sub{color:var(--c-muted);margin-top:14px;max-width:620px}
.section-head{text-align:center;margin-bottom:54px}
.section-head .section-sub{margin-left:auto;margin-right:auto}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 26px;border-radius:var(--radius);font-weight:700;font-size:15px;cursor:pointer;border:1px solid transparent;transition:transform .25s cubic-bezier(.16,1,.3,1),box-shadow .25s,background .25s,color .25s;will-change:transform}
.btn-primary{background:linear-gradient(135deg,var(--c-primary),var(--c-secondary));color:#fff;box-shadow:0 10px 30px -10px var(--c-primary)}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 18px 40px -12px var(--c-primary)}
.btn-ghost{background:var(--c-surface);color:var(--c-text);border-color:var(--c-border)}
.btn-ghost:hover{transform:translateY(-3px);border-color:var(--c-primary);color:var(--c-primary)}
.btn-outline{background:transparent;color:var(--c-primary);border-color:var(--c-primary)}
.btn-outline:hover{background:var(--c-primary);color:#fff}
.magnetic{transition:transform .2s cubic-bezier(.16,1,.3,1)}

/* header */
.site-header{position:sticky;top:0;z-index:50;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:var(--nav-bg);border-bottom:1px solid color-mix(in srgb,var(--c-border) 60%,transparent);transition:box-shadow .3s,background .3s}
.site-header.scrolled{box-shadow:0 10px 30px -18px rgba(0,0,0,.35)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:72px;gap:20px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:19px}
.brand-logo{display:block;height:52px;width:auto}
.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,var(--c-primary),var(--c-secondary));color:#fff;font-size:18px}
.brand-name{letter-spacing:-.01em}
.nav-links{display:flex;gap:6px}
.nav-links a{padding:9px 15px;border-radius:10px;font-weight:600;color:var(--c-muted);transition:color .2s,background .2s}
.nav-links a:hover,.nav-links a.active{color:var(--c-primary);background:color-mix(in srgb,var(--c-primary) 12%,transparent)}
.nav-actions{display:flex;align-items:center;gap:12px}
.theme-toggle{width:40px;height:40px;border-radius:50%;border:1px solid var(--c-border);background:var(--c-surface);cursor:pointer;font-size:17px;transition:transform .25s,background .25s}
.theme-toggle:hover{transform:rotate(20deg) scale(1.08)}
.nav-burger{display:none;background:none;border:none;font-size:24px;cursor:pointer;color:var(--c-text)}

/* hero */
.hero{position:relative;overflow:hidden;padding:96px 0 110px}
.hero-bg{position:absolute;inset:0;background:
  radial-gradient(60% 60% at 15% 10%,color-mix(in srgb,var(--c-primary) 30%,transparent),transparent 60%),
  radial-gradient(50% 50% at 85% 20%,color-mix(in srgb,var(--c-secondary) 28%,transparent),transparent 60%),
  radial-gradient(40% 40% at 70% 90%,color-mix(in srgb,var(--c-accent) 22%,transparent),transparent 60%);
  filter:saturate(1.1);animation:floatbg 14s ease-in-out infinite alternate}
@keyframes floatbg{from{transform:translate3d(-2%,-1%,0) scale(1)}to{transform:translate3d(2%,2%,0) scale(1.06)}}
.hero .container{position:relative;display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.hero-title{font-size:clamp(34px,5vw,60px);font-weight:900;line-height:1.08;letter-spacing:-.02em}
.hero-title .hl{background:linear-gradient(120deg,var(--c-primary),var(--c-secondary));-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-sub{margin-top:22px;font-size:18px;color:var(--c-muted);max-width:520px}
.hero-cta{margin-top:34px;display:flex;gap:14px;flex-wrap:wrap}
.hero-visual{position:relative;aspect-ratio:1/1;display:grid;place-items:center}
.hero-orb{width:78%;aspect-ratio:1/1;border-radius:50%;background:conic-gradient(from 0deg,var(--c-primary),var(--c-secondary),var(--c-accent),var(--c-primary));filter:blur(2px);animation:spin 18s linear infinite;opacity:.9}
.hero-orb::after{content:"";position:absolute;inset:14%;border-radius:50%;background:var(--c-bg);box-shadow:inset 0 30px 60px -30px rgba(0,0,0,.4)}
.hero-frost{position:absolute;font-size:120px;filter:drop-shadow(0 20px 40px rgba(0,0,0,.25))}
@keyframes spin{to{transform:rotate(360deg)}}
.hero-stats{position:relative;display:flex;gap:14px;flex-wrap:wrap;margin-top:46px;grid-column:1/-1;justify-content:center}
.stat{background:var(--c-surface);border:1px solid var(--c-border);border-radius:var(--radius);padding:18px 26px;text-align:center;min-width:140px}
.stat b{display:block;font-size:28px;font-weight:900;color:var(--c-primary);line-height:1}
.stat span{color:var(--c-muted);font-size:13px}

/* cards grids */
.cat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}
.cat-card{background:var(--c-surface);border:1px solid var(--c-border);border-radius:var(--radius);padding:26px;transition:transform .3s cubic-bezier(.16,1,.3,1),box-shadow .3s,border-color .3s}
.cat-card:hover{transform:translateY(-6px);border-color:var(--c-primary);box-shadow:0 24px 50px -28px var(--c-primary)}
.cat-icon{font-size:34px;margin-bottom:12px}
.cat-card h3{font-size:18px;margin-bottom:8px}
.cat-card p{color:var(--c-muted);font-size:14px}

.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}
.product-card{background:var(--c-surface);border:1px solid var(--c-border);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .3s cubic-bezier(.16,1,.3,1),box-shadow .3s,border-color .3s}
.product-card:hover{transform:translateY(-8px);box-shadow:0 30px 60px -30px var(--c-primary);border-color:color-mix(in srgb,var(--c-primary) 50%,var(--c-border))}
.product-thumb{aspect-ratio:4/3;display:grid;place-items:center;color:#fff;font-size:40px;position:relative;overflow:hidden}
.product-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.product-thumb::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.35),transparent 50%)}
.product-body{padding:20px;display:flex;flex-direction:column;gap:8px;flex:1}
.product-name{font-size:17px;font-weight:800}
.product-sum{color:var(--c-muted);font-size:14px;flex:1}
.product-meta{display:flex;align-items:center;justify-content:space-between;margin-top:6px}
.product-price{color:var(--c-primary);font-weight:900;font-size:18px}
.product-price small{color:var(--c-muted);font-weight:500;font-size:12px}
.product-tags{display:flex;gap:6px;flex-wrap:wrap}
.product-link{display:flex;flex-direction:column;flex:1;color:inherit;text-decoration:none}
.product-actions{display:flex;gap:10px;padding:0 18px 18px}
.product-actions .btn{flex:1;padding:11px 14px;font-size:14px}
.tag{font-size:12px;padding:3px 10px;border-radius:999px;background:color-mix(in srgb,var(--c-primary) 12%,transparent);color:var(--c-primary)}
.more-link{display:inline-flex;align-items:center;gap:6px;color:var(--c-primary);font-weight:700;margin-top:34px}

/* 产品详情：底部吸底购买栏 */
.detail-sec{padding-bottom:104px}
.buy-bar{position:fixed;left:0;right:0;bottom:0;z-index:60;background:color-mix(in srgb,var(--c-bg) 88%,transparent);border-top:1px solid var(--c-border);box-shadow:0 -10px 30px -12px rgba(0,0,0,.18);backdrop-filter:blur(14px) saturate(160%);-webkit-backdrop-filter:blur(14px) saturate(160%)}
.buy-bar-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0}
.buy-bar-info{display:flex;flex-direction:column;line-height:1.25;min-width:0}
.buy-bar-name{font-weight:700;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.buy-bar-price{color:var(--c-primary);font-weight:900;font-size:18px}
.buy-bar-price small{font-size:12px;color:var(--c-muted);font-weight:500}
.buy-bar-actions{display:flex;gap:10px;flex-shrink:0}
.buy-bar-actions .btn{padding:11px 20px}
@media(max-width:560px){
  .buy-bar-inner{gap:10px;padding:10px 0}
  .buy-bar-name{font-size:13px}
  .buy-bar-price{font-size:16px}
  .buy-bar-actions .btn{padding:10px 14px;font-size:13px}
  .detail-sec{padding-bottom:92px}
}

/* 订单查询结果卡片 */
.order-card{margin-top:18px;padding:20px;border:1px solid var(--c-border);border-radius:var(--radius);background:var(--c-surface)}
.order-card + .order-card{margin-top:16px}
.ok{color:#16a34a;font-weight:700}
.pend{color:#d97706;font-weight:700}

.adv-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:22px}
.adv-card{position:relative;padding:30px;border-radius:var(--radius);background:linear-gradient(160deg,color-mix(in srgb,var(--c-primary) 8%,var(--c-surface)),var(--c-surface));border:1px solid var(--c-border);overflow:hidden}
.adv-card .num{font-size:46px;font-weight:900;color:color-mix(in srgb,var(--c-primary) 35%,transparent);line-height:1}
.adv-card h3{margin:10px 0 8px;font-size:19px}
.adv-card p{color:var(--c-muted);font-size:14px}

.process{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:18px;counter-reset:s}
.step{position:relative;padding:26px 22px;border-radius:var(--radius);background:var(--c-surface);border:1px solid var(--c-border)}
.step::before{counter-increment:s;content:"0" counter(s);font-size:30px;font-weight:900;color:var(--c-primary)}
.step h4{margin:8px 0 6px;font-size:16px}
.step p{color:var(--c-muted);font-size:13px}

.news-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px}
.news-card{background:var(--c-surface);border:1px solid var(--c-border);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .3s,box-shadow .3s}
.news-card:hover{transform:translateY(-6px);box-shadow:0 26px 50px -30px var(--c-primary)}
.news-thumb{aspect-ratio:16/9;display:grid;place-items:center;color:#fff;font-size:34px}
.news-body{padding:20px;display:flex;flex-direction:column;gap:8px;flex:1}
.news-date{color:var(--c-muted);font-size:13px}
.news-title{font-size:17px;font-weight:800;line-height:1.4}
.news-sum{color:var(--c-muted);font-size:14px;flex:1}

.cta-banner{position:relative;overflow:hidden;border-radius:calc(var(--radius) * 1.4);padding:60px 50px;color:#fff;background:linear-gradient(120deg,var(--c-primary-600),var(--c-secondary));text-align:center}
.cta-banner h2{font-size:clamp(24px,3vw,36px);font-weight:900}
.cta-banner p{margin:14px auto 26px;max-width:560px;opacity:.95}
.cta-banner .btn-primary{background:#fff;color:var(--c-primary-600)}

/* footer */
.site-footer{margin-top:40px;background:var(--c-surface);border-top:1px solid var(--c-border);padding-top:56px}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:30px}
.footer-grid h4{font-size:15px;margin-bottom:14px}
.footer-grid a{display:block;color:var(--c-muted);padding:5px 0;transition:color .2s}
.footer-grid a:hover{color:var(--c-primary)}
.footer-slogan{color:var(--c-muted);margin:12px 0;font-size:14px}
.footer-line{color:var(--c-muted);font-size:14px;margin:4px 0}
.footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:22px 24px;margin-top:40px;border-top:1px solid var(--c-border);color:var(--c-muted);font-size:13px}

/* inner page hero */
.page-hero{padding:70px 0 36px;text-align:center;background:radial-gradient(60% 80% at 50% 0%,color-mix(in srgb,var(--c-primary) 16%,transparent),transparent)}
.page-hero h1{font-size:clamp(28px,4vw,44px);font-weight:900}
.page-hero p{color:var(--c-muted);margin-top:12px}
.breadcrumb{padding:18px 0;color:var(--c-muted);font-size:14px}
.breadcrumb a:hover{color:var(--c-primary)}

/* product detail */
.detail-wrap{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.detail-thumb{aspect-ratio:4/3;border-radius:var(--radius);display:grid;place-items:center;color:#fff;font-size:64px}
.detail-info h1{font-size:30px;font-weight:900;margin-bottom:10px}
.detail-price{font-size:26px;font-weight:900;color:var(--c-primary);margin:14px 0}
.detail-sum{color:var(--c-muted)}
.detail-desc{margin-top:18px;white-space:pre-line;line-height:1.9}
.spec-table{width:100%;border-collapse:collapse;margin-top:24px}
.spec-table td{padding:12px 14px;border-bottom:1px solid var(--c-border);font-size:14px}
.spec-table td:first-child{color:var(--c-muted);width:140px}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}

/* forms */
.form-card{max-width:640px;margin:0 auto;background:var(--c-surface);border:1px solid var(--c-border);border-radius:var(--radius);padding:34px}
.field{margin-bottom:18px}
.field label{display:block;font-weight:700;margin-bottom:8px;font-size:14px}
.field input,.field textarea,.field select{width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--c-border);background:var(--c-bg);color:var(--c-text);font-size:15px;font-family:inherit;transition:border-color .2s,box-shadow .2s}
.field input:focus,.field textarea:focus{border-color:var(--c-primary);outline:none;box-shadow:0 0 0 4px color-mix(in srgb,var(--c-primary) 18%,transparent)}
.field textarea{min-height:130px;resize:vertical}
.form-note{background:color-mix(in srgb,var(--c-primary) 10%,var(--c-surface));border:1px solid color-mix(in srgb,var(--c-primary) 30%,var(--c-border));border-radius:12px;padding:14px 16px;color:var(--c-muted);font-size:14px;margin-bottom:20px}
.alert{padding:12px 16px;border-radius:12px;margin-bottom:16px;font-size:14px}
.alert-ok{background:color-mix(in srgb,#22c55e 14%,var(--c-surface));border:1px solid #22c55e66;color:#15803d}
.alert-err{background:color-mix(in srgb,#ef4444 14%,var(--c-surface));border:1px solid #ef444466;color:#b91c1c}

/* reveal on scroll */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1)}
.reveal.in{opacity:1;transform:none}

/* responsive */
@media (max-width:900px){
  .hero .container{grid-template-columns:1fr}
  .hero-visual{max-width:360px;margin:0 auto}
  .detail-wrap{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:720px){
  .nav-links{position:fixed;inset:72px 0 auto 0;flex-direction:column;background:var(--c-bg);padding:16px 24px;gap:4px;border-bottom:1px solid var(--c-border);transform:translateY(-120%);transition:transform .3s;z-index:40}
  .nav-links.open{transform:none}
  .nav-burger{display:block}
  .section{padding:60px 0}
  .footer-grid{grid-template-columns:1fr}
  .cta-banner{padding:42px 22px}
}

/* ===== 订单 / 支付 ===== */
.pay-channels{display:flex;gap:14px;flex-wrap:wrap;margin-top:8px}
.pay-channel{flex:1;min-width:140px;padding:22px;border-radius:var(--radius);border:1.5px solid var(--c-border);background:var(--c-surface);font-size:17px;font-weight:800;cursor:pointer;transition:transform .2s,border-color .2s,box-shadow .2s,color .2s}
.pay-channel:hover{transform:translateY(-3px);border-color:var(--c-primary);color:var(--c-primary);box-shadow:0 18px 40px -22px var(--c-primary)}
.pay-qr{margin-top:16px;padding:18px;border-radius:14px;background:#fff;color:#0f172a;font-size:13px;word-break:break-all;border:1px solid var(--c-border);line-height:1.7}
.pay-demo-box{margin-top:18px;padding:30px 20px;border-radius:var(--radius);text-align:center;background:linear-gradient(160deg,color-mix(in srgb,var(--c-primary) 10%,var(--c-surface)),var(--c-surface));border:1px solid var(--c-border)}
.pay-demo-icon{font-size:48px;margin-bottom:8px}
.order-sum{margin-bottom:6px}

/* ===== FAQ 折叠（首页/产品页）===== */
.faq-list{display:flex;flex-direction:column;gap:12px;margin-top:8px}
.faq-item{border:1.5px solid var(--c-border);border-radius:var(--radius);background:var(--c-surface);overflow:hidden;transition:border-color .2s,box-shadow .2s}
.faq-item[open]{border-color:var(--c-primary);box-shadow:0 16px 40px -24px var(--c-primary)}
.faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;cursor:pointer;font-size:17px;font-weight:700;list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item .faq-ico{flex:none;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:color-mix(in srgb,var(--c-primary) 14%,transparent);color:var(--c-primary);font-size:20px;line-height:1;transition:transform .2s}
.faq-item[open] .faq-ico{transform:rotate(45deg)}
.faq-a{padding:0 20px 20px;color:var(--c-muted);line-height:1.85;font-size:15px}
