/* ============================================================
   亲爱的DEAR帽子 · 设计系统 v1
   暖白 / 墨紫 / 多巴胺点缀 · 无衬线 · 大图留白
   ============================================================ */
:root {
    --bg: #FAF7F3;
    --bg-soft: #F4EFE7;
    --card: #FFFFFF;
    --ink: #241B45;
    --ink-soft: #6E6580;
    --ink-faint: #9C93AC;
    --line: #EBE4DA;
    --gold: #B08D57;

    --pink: #FF4E9B;
    --orange: #FF8A3D;
    --yellow: #FFC53D;
    --green: #00C48C;
    --blue: #3E8BFF;
    --purple: #8C5BFF;

    --grad: linear-gradient(100deg, #FF4E9B 0%, #FF8A3D 100%);
    --shadow: 0 14px 40px rgba(36, 27, 69, .08);
    --shadow-soft: 0 6px 20px rgba(36, 27, 69, .06);
    --sans: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    --mono: 'Inter', 'SF Mono', Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    background: var(--bgF, var(--bg));
    color: var(--ink);
    font-size: 15px; line-height: 1.8; letter-spacing: .02em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .25s, opacity .25s; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: #FFD9E8; color: var(--ink); }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.35; letter-spacing: .01em; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 5vw; }
.kicker {
    font-family: var(--mono);
    font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase;
    color: var(--pink); font-weight: 500;
}
.muted { color: var(--ink-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; padding: 0 26px; border-radius: 999px;
    font-size: 14px; font-weight: 500; letter-spacing: .04em;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background .3s, color .3s;
    white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(255, 78, 155, .28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255, 78, 155, .34); }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { border: 1px solid rgba(36, 27, 69, .18); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 12.5px; }

/* ============================================================
   导航
   ============================================================ */
.topbar {
    position: sticky; top: 0; z-index: 90;
    background: rgba(250, 247, 243, .88);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(235, 228, 218, .9);
}
.topbar-in {
    max-width: 1400px; margin: 0 auto; padding: 0 4vw; height: 72px;
    display: flex; align-items: center; gap: 34px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 38px; height: 38px; object-fit: contain; }
.logo-txt { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
    font-size: 19px; font-weight: 600; letter-spacing: .04em;
    background: linear-gradient(96deg, #2B76E8, #7A3FD8 42%, #F0247E 74%, #F5731A);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-sub {
    margin-top: 4px; font-family: var(--mono); font-size: 8.5px;
    letter-spacing: .34em; color: var(--ink-faint); text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 28px; margin-left: 12px; }
.nav a { font-size: 14px; color: var(--ink-soft); position: relative; padding: 6px 0; }
.nav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--grad); border-radius: 2px; transform: scaleX(0); transform-origin: left;
    transition: transform .3s;
}
.nav a:hover, .nav a.on { color: var(--ink); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.topbar-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.burger span { display: block; width: 20px; height: 1.6px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after {
    content: ''; position: absolute; left: 0; width: 20px; height: 1.6px; background: var(--ink);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* 移动端抽屉 */
.mdrawer {
    position: fixed; inset: 0; z-index: 120; background: var(--bg);
    transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
    display: flex; flex-direction: column; padding: 24px 6vw 40px;
}
.mdrawer.open { transform: none; }
.mdrawer-top { display: flex; align-items: center; justify-content: space-between; }
.mdrawer nav { margin-top: 40px; display: flex; flex-direction: column; }
.mdrawer nav a {
    padding: 18px 0; border-bottom: 1px solid var(--line);
    font-size: 20px; letter-spacing: .04em; display: flex; justify-content: space-between; align-items: center;
}
.mdrawer nav a i { font-style: normal; font-size: 12px; color: var(--ink-faint); font-family: var(--mono); letter-spacing: .2em; }
.mdrawer .btn { margin-top: 32px; }
.mdrawer-foot { margin-top: auto; font-size: 12px; color: var(--ink-faint); line-height: 2; }
.mclose { font-size: 26px; line-height: 1; color: var(--ink); padding: 6px 10px; }

/* ============================================================
   首屏
   ============================================================ */
.hero {
    position: relative; overflow: hidden;
    padding: 64px 5vw 78px;
}
.hero::before, .hero::after {
    content: ''; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
}
.hero::before {
    width: 620px; height: 620px; right: -140px; top: -180px;
    background: radial-gradient(circle, rgba(255, 78, 155, .16), rgba(255, 78, 155, 0) 66%);
}
.hero::after {
    width: 520px; height: 520px; left: -160px; bottom: -220px;
    background: radial-gradient(circle, rgba(62, 139, 255, .14), rgba(62, 139, 255, 0) 66%);
}
.hero-in {
    position: relative; z-index: 1; max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-copy .kicker { margin-bottom: 22px; }
.hero h1 {
    font-size: clamp(34px, 4.4vw, 62px); font-weight: 600; line-height: 1.18;
    letter-spacing: -.01em;
}
.hero h1 .grad {
    background: linear-gradient(96deg, #FF4E9B, #FF8A3D 55%, #FFC53D);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede {
    margin-top: 22px; max-width: 460px;
    font-size: 14.5px; line-height: 2.05; color: var(--ink-soft); text-wrap: pretty;
}
.hero-btns { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts {
    margin-top: 42px; display: flex; gap: 40px; flex-wrap: wrap;
    border-top: 1px solid var(--line); padding-top: 22px;
}
.hero-facts div b {
    display: block; font-family: var(--mono); font-size: 24px; font-weight: 600;
    letter-spacing: -.02em; color: var(--ink);
}
.hero-facts div span { font-size: 11.5px; letter-spacing: .1em; color: var(--ink-faint); }

.hero-art { position: relative; }
.hero-art .shot {
    position: relative; z-index: 1; border-radius: 26px; overflow: hidden;
    background: var(--bg); aspect-ratio: 1 / 1;
    box-shadow: 0 30px 70px rgba(36, 27, 69, .12);
}
.hero-art .shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .blob {
    position: absolute; inset: auto -8% -6% -8%; height: 62%;
    background: linear-gradient(120deg, rgba(255, 78, 155, .18), rgba(140, 91, 255, .16));
    filter: blur(48px); border-radius: 50%; z-index: 0;
}
.hero-tag {
    position: absolute; z-index: 2; background: #fff; border-radius: 14px;
    padding: 12px 16px; box-shadow: 0 12px 30px rgba(36, 27, 69, .12);
    font-size: 12px; letter-spacing: .04em; display: flex; align-items: center; gap: 9px;
}
.hero-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero-tag.t1 { left: -18px; top: 34px; }
.hero-tag.t2 { right: -14px; bottom: 46px; }
.hero-tag b { font-weight: 600; }

/* 跑马灯 */
.marquee {
    overflow: hidden; background: var(--ink); color: #fff;
    padding: 15px 0; margin-top: 8px;
}
.marquee-in {
    display: flex; gap: 44px; width: max-content;
    animation: mq 28s linear infinite;
    font-family: var(--mono); font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase;
    color: rgba(255,255,255,.72);
}
.marquee-in span { display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; }
.marquee-in span::after { content: '◆'; font-size: 7px; color: var(--pink); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ============================================================
   通用区块
   ============================================================ */
.sec { padding: 92px 5vw; }
.sec-tight { padding: 64px 5vw; }
.sec-head { max-width: 1280px; margin: 0 auto 44px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sec-head h2 { font-size: clamp(24px, 2.8vw, 38px); letter-spacing: .02em; }
.sec-head p { margin-top: 12px; font-size: 13.5px; color: var(--ink-soft); max-width: 560px; line-height: 1.95; }
.sec-head .more { font-size: 13px; color: var(--ink-soft); border-bottom: 1px solid var(--line); padding-bottom: 4px; white-space: nowrap; }
.sec-head .more:hover { color: var(--pink); border-color: var(--pink); }
.sec-head .kicker { display: block; margin-bottom: 14px; }

/* 分类卡 */
.cats { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat {
    position: relative; overflow: hidden; background: #fff; border-radius: 18px;
    padding: 22px; display: flex; flex-direction: column; gap: 14px;
    box-shadow: var(--shadow-soft);
    transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.cat::before {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
    background: linear-gradient(90deg, var(--pink), var(--orange));
}
.cat:nth-child(2)::before { background: linear-gradient(90deg, var(--blue), var(--purple)); }
.cat:nth-child(3)::before { background: linear-gradient(90deg, var(--green), var(--blue)); }
.cat:nth-child(4)::before { background: linear-gradient(90deg, var(--yellow), var(--orange)); }
.cat:nth-child(5)::before { background: linear-gradient(90deg, var(--purple), var(--pink)); }
.cat:nth-child(6)::before { background: linear-gradient(90deg, var(--orange), var(--yellow)); }
.cat:nth-child(7)::before { background: linear-gradient(90deg, var(--blue), var(--green)); }
.cat:nth-child(8)::before { background: linear-gradient(90deg, var(--pink), var(--purple)); }
.cat:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(36, 27, 69, .12); }
.cat .thumb { aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--bg); }
.cat .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.cat .thumb.sheet { background: #fff; }
.cat .thumb.sheet img { object-fit: contain; }
.cat:hover .thumb img { transform: scale(1.05); }
.cat b { font-size: 15px; letter-spacing: .04em; }
.cat span { font-size: 11.5px; color: var(--ink-faint); font-family: var(--mono); letter-spacing: .12em; }
.cat .cat-d { font-style: normal; font-size: 11.5px; color: var(--ink-soft); font-family: var(--sans); letter-spacing: .02em; margin-top: -8px; }

/* 产品网格 */
.grid-hats { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px; }
.hcard { display: block; position: relative; }
.hcard .ph {
    position: relative; border-radius: 18px; overflow: hidden; background: var(--bg);
    aspect-ratio: 1 / 1;
}
.hcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.hcard:hover .ph img { transform: scale(1.045); }
.hcard .badge {
    position: absolute; left: 14px; top: 14px; z-index: 2;
    background: rgba(255, 255, 255, .94); border-radius: 999px;
    padding: 5px 12px; font-size: 10.5px; letter-spacing: .1em; color: var(--ink-soft);
}
.hcard .fig { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 15px; }
.hcard .fig b { font-size: 15px; font-weight: 600; letter-spacing: .03em; }
.hcard .fig span { font-size: 12px; color: var(--ink-faint); font-family: var(--mono); letter-spacing: .06em; }
.hcard .meta { margin-top: 6px; font-size: 12.5px; color: var(--ink-soft); }
.hcard .ask {
    margin-top: 10px; display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; color: var(--pink); letter-spacing: .04em;
}
.hcard .ask::after { content: '→'; transition: transform .3s; }
.hcard:hover .ask::after { transform: translateX(4px); }

/* 深色故事带 */
.band {
    position: relative; overflow: hidden;
    background: var(--ink); color: #fff;
    padding: 96px 5vw;
}
.band::before {
    content: ''; position: absolute; width: 560px; height: 560px; border-radius: 50%;
    right: -140px; top: -160px;
    background: radial-gradient(circle, rgba(140, 91, 255, .34), rgba(140, 91, 255, 0) 68%);
}
.band-in {
    position: relative; max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: .92fr 1.08fr; gap: 60px; align-items: center;
}
.band .kicker { color: #FFB3D2; }
.band h2 { margin-top: 16px; font-size: clamp(24px, 2.8vw, 38px); letter-spacing: .02em; }
.band p { margin-top: 18px; font-size: 13.8px; line-height: 2.15; color: rgba(255, 255, 255, .74); }
.band-art { position: relative; }
.band-art img { border-radius: 20px; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: var(--bg); }
.band-facts { margin-top: 34px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
.band-facts div { border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px; }
.band-facts b { display: block; font-family: var(--mono); font-size: 21px; }
.band-facts span { font-size: 11.5px; color: rgba(255,255,255,.56); letter-spacing: .08em; }

/* 流程 */
.steps { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
    background: #fff; border-radius: 18px; padding: 28px 24px;
    box-shadow: var(--shadow-soft); position: relative;
}
.step em {
    font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
    color: var(--ink-faint);
}
.step b { display: block; margin-top: 14px; font-size: 17px; letter-spacing: .03em; }
.step p { margin-top: 10px; font-size: 13px; line-height: 1.95; color: var(--ink-soft); }

/* 承诺 */
.promises { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: 18px; overflow: hidden; }
.promise { background: var(--bg); padding: 30px 24px; }
.promise b { display: block; font-size: 14.5px; letter-spacing: .03em; }
.promise p { margin-top: 8px; font-size: 12.5px; line-height: 1.9; color: var(--ink-soft); }
.promise i { display: block; width: 26px; height: 3px; border-radius: 3px; background: var(--grad); margin-bottom: 16px; }

/* 二维码区 */
.qr9 { position: relative; overflow: hidden; padding: 76px 5vw 82px; background: #FFFBF6; border-top: 1px solid var(--line); }
.qr9::before {
    content: ''; position: absolute; left: -130px; top: -150px; width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 78, 155, .16), rgba(255, 78, 155, 0) 68%);
}
.qr9-in { position: relative; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.qr9 h2 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .04em; }
.qr9 .lead { margin-top: 12px; font-size: 13px; line-height: 2; color: var(--ink-soft); max-width: 420px; }
.qr9 .tip { margin-top: 16px; font-size: 11.5px; color: var(--ink-faint); }
.qr9 .tip b { color: var(--pink); }
.qr-card { background: #fff; border-radius: 16px; padding: 16px 12px 14px; box-shadow: var(--shadow-soft); text-align: center; width: 180px; }
.qr-card img { width: 100%; height: auto; max-width: 156px; margin: 0 auto; aspect-ratio: 1/1; object-fit: contain; border-radius: 8px; }
.qr-card b { display: block; margin-top: 11px; font-size: 12.5px; }
.qr-card em { display: block; margin-top: 4px; font-size: 11px; font-style: normal; color: var(--ink-soft); }

/* 结尾 CTA */
.cta {
    position: relative; overflow: hidden; text-align: center; padding: 88px 5vw 92px;
    background: linear-gradient(118deg, #FF4E9B 0%, #8C5BFF 56%, #3E8BFF 100%);
    color: #fff;
}
.cta h2 { font-size: clamp(24px, 3vw, 40px); letter-spacing: .06em; }
.cta p { margin-top: 14px; font-size: 13.5px; color: rgba(255,255,255,.86); letter-spacing: .08em; }
.cta .btns { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta .btn-white { background: #fff; color: #6A3FD0; }
.cta .btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,.18); }
.cta .btn-oline { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.cta .btn-oline:hover { background: rgba(255,255,255,.14); }

/* ============================================================
   页脚
   ============================================================ */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 0 5vw 96px; }

/* 三码区（每一页都显示） */
.f-qr {
    max-width: 1280px; margin: 0 auto; padding: 52px 0 44px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    display: grid; grid-template-columns: 1.05fr auto; gap: 54px; align-items: center;
}
.f-qr .kicker { color: #FFC53D; }
.f-qr h4 { color: #fff; font-size: clamp(17px, 1.8vw, 22px); letter-spacing: .04em; margin-top: 12px; }
.f-qr p { margin-top: 13px; font-size: 12.5px; line-height: 2; color: rgba(255,255,255,.55); max-width: 400px; }
.f-qr p b { color: #fff; font-weight: 500; }
.f-qr-list { display: flex; gap: 14px; }
.f-qr-card { background: #fff; border-radius: 14px; padding: 11px 11px 10px; width: 148px; text-align: center; }
.f-qr-img { border-radius: 9px; overflow: hidden; background: #fff; }
.f-qr-img img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: contain; }
.f-qr-card b { display: block; margin-top: 9px; font-size: 11.5px; color: var(--ink); letter-spacing: .02em; line-height: 1.5; }
.f-qr-card em { display: block; margin-top: 3px; font-size: 10px; font-style: normal; color: var(--ink-soft); }

.f-grid { max-width: 1280px; margin: 0 auto; padding-top: 46px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.f-brand { display: flex; align-items: center; gap: 10px; }
.f-brand img { width: 34px; height: 34px; object-fit: contain; }
.f-brand b { font-size: 17px; color: #fff; letter-spacing: .04em; display: flex; flex-direction: column; line-height: 1.2; }
.f-en { display: block; font-style: normal; font-family: var(--mono); font-size: 8.5px; letter-spacing: .3em; color: rgba(255,255,255,.42); margin-top: 4px; text-transform: uppercase; }
.f-brand em { display: block; font-style: normal; font-family: var(--mono); font-size: 8.5px; letter-spacing: .3em; color: rgba(255,255,255,.42); margin-top: 3px; }
.f-desc { margin-top: 18px; font-size: 12.5px; line-height: 2; color: rgba(255,255,255,.62); }
.f-desc span { white-space: nowrap; }
.footer h5 { color: #fff; font-size: 12px; letter-spacing: .16em; font-weight: 500; margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { font-size: 12.5px; color: rgba(255,255,255,.66); }
.footer ul a:hover { color: #fff; }
.f-sites {
    max-width: 1280px; margin: 30px auto 0; padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 24px;
}
.f-sites a { display: inline-flex; align-items: baseline; gap: 8px; font-size: 11.5px; color: rgba(255,255,255,.6); }
.f-sites a:hover { color: #fff; }
.f-sites b { font-weight: 500; }
.f-sites i { font-style: normal; color: rgba(255,255,255,.4); }

/* 联系我们 / 旗下品牌 */
.f-info {
    max-width: 1280px; margin: 30px auto 0; padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px;
}
.f-info h5 { color: #fff; font-size: 11.5px; letter-spacing: .16em; font-weight: 500; margin-bottom: 12px; }
.f-info p { font-size: 12.5px; line-height: 2; color: rgba(255,255,255,.6); }
.f-info p a { color: rgba(255,255,255,.86); border-bottom: 1px solid rgba(255,255,255,.28); }
.f-info p a:hover { color: #fff; }
.f-brandlist { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.f-brandlist span {
    border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
    padding: 3px 11px; font-size: 11.5px; color: rgba(255,255,255,.82); line-height: 1.9;
}
.f-brandnote { margin-top: 12px; font-size: 11.5px; line-height: 1.9; color: rgba(255,255,255,.42); }

.f-base {
    max-width: 1280px; margin: 22px auto 0; padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: 11.5px; color: rgba(255,255,255,.45);
}
.f-base a { color: rgba(255,255,255,.5); }
.f-base a:hover { color: #fff; }

/* ============================================================
   产品列表页
   ============================================================ */
.page-head { padding: 60px 5vw 30px; }
.page-head-in { max-width: 1280px; margin: 0 auto; }
.page-head.narrow { padding-left: 0; padding-right: 0; }
.page-head.narrow .page-head-in { max-width: 860px; padding: 0 5vw; }
.page-head.narrow { padding-left: 0; padding-right: 0; }
.page-head.narrow .page-head-in { max-width: 860px; padding: 0 5vw; }
.page-head h1 { font-size: clamp(30px, 4vw, 52px); letter-spacing: .02em; }
.page-head p { margin-top: 14px; max-width: 620px; font-size: 13.5px; line-height: 2; color: var(--ink-soft); }
.filters { max-width: 1280px; margin: 30px auto 0; display: flex; gap: 10px; flex-wrap: wrap; padding: 0 0 6px; }
.filters button {
    height: 38px; padding: 0 18px; border-radius: 999px; font-size: 12.5px;
    border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
    transition: all .25s;
}
.filters button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button.on:hover { color: #fff; }

/* ============================================================
   产品详情页
   ============================================================ */
.crumb { max-width: 1280px; margin: 0 auto; padding: 26px 5vw 0; font-size: 12px; color: var(--ink-faint); display: flex; gap: 8px; flex-wrap: wrap; }
.crumb a:hover { color: var(--pink); }
.pd { max-width: 1280px; margin: 0 auto; padding: 28px 5vw 80px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 56px; align-items: start; }
.pd-media { position: sticky; top: 96px; }
.pd-media .main { border-radius: 22px; overflow: hidden; background: var(--bg); }
.pd-media .main img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; }
.pd-figcap { margin-top: 12px; font-size: 11px; color: var(--ink-faint); letter-spacing: .04em; }
.pd-media .colors { display: flex; gap: 10px; margin-top: 14px; }
.pd-media .colors span {
    width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--line);
    display: grid; place-items: center; font-size: 10px; color: var(--ink-soft);
    background: #fff; letter-spacing: .02em;
}
.pd-info .kicker { margin-bottom: 12px; }
.pd-brand { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11.5px; line-height: 1.9; color: var(--ink-faint); }
.pd-info h1 { font-size: clamp(26px, 3.2vw, 42px); letter-spacing: .02em; }
.pd-info .intro { margin-top: 16px; font-size: 13.5px; line-height: 2.1; color: var(--ink-soft); }
.pd-price {
    margin-top: 24px; padding: 16px 18px; border-radius: 14px;
    background: #fff; border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.pd-price b { font-size: 14px; }
.pd-price span { font-size: 12px; color: var(--ink-faint); }
.pd-opts { margin-top: 26px; }
.pd-opts h4 { font-size: 12px; letter-spacing: .14em; color: var(--ink-faint); font-weight: 500; margin-bottom: 12px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips span {
    padding: 8px 14px; border-radius: 999px; font-size: 12.5px;
    border: 1px solid var(--line); color: var(--ink-soft); background: #fff;
}
.pd-btns { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.pd-btns .btn { flex: 1 1 200px; }
.pd-note { margin-top: 14px; font-size: 11.5px; color: var(--ink-faint); line-height: 1.9; }
.pd-spec { margin-top: 34px; border-top: 1px solid var(--line); }
.pd-spec div { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 12.8px; }
.pd-spec dt { width: 84px; color: var(--ink-faint); flex-shrink: 0; }
.pd-spec dd { color: var(--ink-soft); }

/* 相关 */
.rel { padding: 20px 5vw 90px; }
.rel-in { max-width: 1280px; margin: 0 auto; }
.rel h2 { font-size: 22px; letter-spacing: .04em; margin-bottom: 26px; }

/* ============================================================
   内容页（故事 / 服务 / 政策）
   ============================================================ */
.doc { max-width: 860px; margin: 0 auto; padding: 40px 5vw 80px; }
.doc h1 { font-size: clamp(28px, 3.6vw, 46px); letter-spacing: .02em; margin-bottom: 18px; }
.doc h2 { font-size: 21px; letter-spacing: .03em; margin: 44px 0 14px; }
.doc h3 { font-size: 16px; margin: 26px 0 10px; }
.doc p, .doc li { font-size: 14px; line-height: 2.1; color: var(--ink-soft); }
.doc p + p { margin-top: 14px; }
.doc ul { margin: 12px 0 0 20px; }
.doc li { margin-bottom: 8px; }
.doc .lead { font-size: 15px; color: var(--ink); line-height: 2.1; margin-bottom: 8px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 13px; }
.doc th, .doc td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.doc th { color: var(--ink); font-weight: 500; background: #fff; }

/* ============================================================
   弹窗表单
   ============================================================ */
.mask {
    position: fixed; inset: 0; z-index: 200; background: rgba(36, 27, 69, .5);
    backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px;
}
.mask.open { display: flex; }
.modal {
    width: 100%; max-width: 460px; background: var(--bg); border-radius: 20px;
    padding: 30px 26px 26px; position: relative;
    box-shadow: 0 30px 80px rgba(36, 27, 69, .3);
    animation: pop .3s cubic-bezier(.2,.8,.2,1);
}
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.modal .x { position: absolute; right: 16px; top: 14px; font-size: 22px; color: var(--ink-faint); }
.modal h3 { font-size: 20px; letter-spacing: .03em; }
.modal .sub { margin-top: 8px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.9; }
.modal form { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.modal input, .modal textarea, .modal select {
    width: 100%; border: 1px solid var(--line); border-radius: 12px;
    padding: 13px 14px; font-size: 13.5px; font-family: inherit; color: var(--ink);
    background: #fff; outline: none; transition: border-color .25s;
}
.modal input:focus, .modal textarea:focus, .modal select:focus { border-color: var(--pink); }
.modal textarea { min-height: 88px; resize: vertical; }
.modal .btn { width: 100%; margin-top: 4px; }
.modal .tip { font-size: 11.5px; color: var(--ink-faint); line-height: 1.8; margin-top: 10px; }
.modal .tip.err { color: #D93A5C; }
.hp { position: absolute; left: -9999px; opacity: 0; }

.toast {
    position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px);
    background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px;
    font-size: 13px; opacity: 0; pointer-events: none; transition: all .35s; z-index: 300;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   右下角浮动留言入口（全站）
   ============================================================ */
.fab-ask {
    position: fixed; right: 24px; bottom: 24px; z-index: 95;
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 21px 13px 17px; border: 0; cursor: pointer;
    border-radius: 999px; background: var(--grad); color: #fff;
    font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .06em;
    box-shadow: 0 12px 32px rgba(255, 78, 155, .34), 0 2px 8px rgba(36, 27, 69, .12);
    transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, background .3s;
}
.fab-ask svg { flex: none; opacity: .85; }
.fab-ask:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(255, 78, 155, .44); }
.fab-ask:active { transform: translateY(0) scale(.98); }
.fab-ask:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .fab-ask { transition: none; } }

/* ============================================================
   九色总览
   ============================================================ */
.colorsheet {
    max-width: 1280px; margin: 0 auto; padding: 0 5vw;
    display: grid; grid-template-columns: 1fr .95fr; gap: 56px; align-items: center;
}
.colorsheet .kicker { display: block; margin-bottom: 14px; }
.colorsheet h2 { font-size: clamp(22px, 2.6vw, 34px); letter-spacing: .03em; }
.colorsheet p { margin-top: 16px; font-size: 13px; line-height: 2.1; color: var(--ink-soft); }
.colorsheet .btn { margin-top: 26px; }
.colorsheet-fig { border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-soft); }
.colorsheet-fig img { width: 100%; height: auto; }
.colorsheet-fig figcaption { padding: 12px 16px 14px; font-size: 11px; color: var(--ink-faint); letter-spacing: .04em; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
    .nav { gap: 20px; }
    .hero-in { gap: 36px; }
    .band-in { gap: 40px; }
    .cats { grid-template-columns: repeat(2, 1fr); }
    .promises { grid-template-columns: repeat(2, 1fr); }
    .pd { gap: 34px; }
    .f-qr { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 38px; }
    .f-qr p { max-width: 560px; }
    .f-qr-list { flex-wrap: wrap; }
}

@media (max-width: 860px) {
    .nav, .topbar-cta .btn { display: none; }
    .burger { display: flex; }
    .topbar-in { height: 64px; }
    .hero { padding: 38px 5vw 52px; }
    .hero-in { grid-template-columns: 1fr; gap: 34px; }
    .hero h1 { font-size: 34px; }
    .hero p.lede { font-size: 13.5px; }
    .hero-facts { gap: 24px; margin-top: 30px; }
    .hero-facts div b { font-size: 20px; }
    .hero-art { order: 2; }
    .hero-tag.t1 { left: 8px; top: 12px; }
    .hero-tag.t2 { right: 8px; bottom: 14px; }
    .sec { padding: 60px 5vw; }
    .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 30px; }
    .cats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .cat { padding: 14px; border-radius: 14px; }
    .grid-hats { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
    .hcard .fig { flex-direction: column; gap: 2px; }
    .hcard .fig b { font-size: 13.5px; }
    .band { padding: 64px 5vw; }
    .band-in { grid-template-columns: 1fr; gap: 30px; }
    .band-facts { gap: 16px; }
    .steps { grid-template-columns: 1fr; gap: 12px; }
    .promises { grid-template-columns: 1fr 1fr; }
    .promise { padding: 22px 18px; }
    .qr9 { padding: 54px 5vw 58px; }
    .qr9-in { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .qr9 .lead { max-width: none; }
    .qr-card { width: 100%; max-width: 260px; margin: 0 auto; }
    .cta { padding: 60px 5vw 64px; }
    .footer { padding: 0 5vw 92px; }
    .fab-ask { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); padding: 11px 17px 11px 14px; font-size: 12.5px; }
    .toast { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
    .f-qr { padding: 38px 0 32px; gap: 22px; }
    .f-qr-list { gap: 9px; }
    .f-qr-card { width: calc((100% - 18px) / 3); padding: 8px 8px 9px; border-radius: 11px; }
    .f-qr-card b { font-size: 10.5px; }
    .f-qr-card em { font-size: 9px; }
    .f-grid { padding-top: 34px; grid-template-columns: 1fr 1fr; gap: 28px 18px; }
    .f-brand-col { grid-column: span 2; }
    .f-info { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
    .f-sites { grid-template-columns: 1fr; gap: 9px; }
    .f-sites a { white-space: nowrap; }
    .f-base { flex-direction: column; gap: 8px; }
    .pd { grid-template-columns: 1fr; gap: 28px; padding-bottom: 60px; }
    .pd-media { position: static; }
    .colorsheet { grid-template-columns: 1fr; gap: 30px; }
    .colorsheet .btn { margin-top: 20px; }
    .doc { padding: 30px 5vw 60px; }
}
