/* ============================================================
   衢州冠威科技有限公司 - 企业宣传网站样式
   设计方向：工业发泡美学 / 蜂窝结构母题
   主色：深海蓝 + 青色科技 + 暖白
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
    --c-ink:        #0a1828;   /* 深海蓝 - 主背景 */
    --c-ink-2:      #0f2238;   /* 次深背景 */
    --c-ink-3:      #16304f;   /* 卡片背景 */
    --c-cyan:       #00d4ff;   /* 青色 - 强调 */
    --c-cyan-deep:  #0098c4;   /* 深青 */
    --c-warm:       #f5f7fa;   /* 暖白 - 浅区背景 */
    --c-warm-2:     #eef2f7;   /* 浅区次背景 */
    --c-text:       #1a2940;   /* 浅区正文 */
    --c-text-mute:  #5a6b82;   /* 浅区次要文字 */
    --c-text-d:     #d4dde8;   /* 深区正文 */
    --c-text-dmute: #8a9bb0;   /* 深区次要文字 */
    --c-line:       rgba(0,212,255,.15);
    --c-line-light: rgba(26,41,64,.10);

    --f-display: 'Sora', 'Noto Sans SC', sans-serif;
    --f-body:    'Noto Sans SC', 'Sora', sans-serif;

    --w-max: 1200px;
    --radius: 6px;
    --radius-lg: 14px;
    --shadow-sm: 0 2px 12px rgba(10,24,40,.08);
    --shadow: 0 8px 40px rgba(10,24,40,.12);
    --shadow-glow: 0 0 40px rgba(0,212,255,.18);

    --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--f-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--c-text);
    background: var(--c-warm);
    overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---------- 工具 ---------- */
.container { width: 100%; max-width: var(--w-max); margin: 0 auto; padding: 0 48px; }
.text-accent { color: var(--c-cyan); }
.hero__title .text-accent { font-size: 1.3em; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; border-radius: var(--radius);
    font-family: var(--f-display); font-weight: 600; font-size: .95rem;
    letter-spacing: .02em; transition: all .3s var(--ease);
    cursor: pointer; white-space: nowrap;
}
.btn--primary { background: var(--c-cyan); color: var(--c-ink); }
.btn--primary:hover { background: var(--c-cyan-deep); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,212,255,.35); }
.btn--ghost { background: transparent; color: var(--c-text-d); border: 1.5px solid rgba(212,221,232,.4); }
.btn--ghost:hover { border-color: var(--c-cyan); color: var(--c-cyan); }
.btn--block { width: 100%; }

/* ---------- 顶部公告条 ---------- */
.topbar { background: var(--c-ink); color: var(--c-text-dmute); font-size: .8rem; border-bottom: 1px solid var(--c-line); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar__phone { color: var(--c-cyan); font-weight: 600; }
.topbar__phone:hover { color: #fff; }

/* ---------- 导航 ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(245,247,250,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--c-line-light); transition: box-shadow .3s var(--ease); }
.header.scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: center; gap: 12px; color: var(--c-ink); }
.logo__mark { color: #5BA3F0; display: flex; align-items: center; font-family: Arial, sans-serif; font-weight: 700; letter-spacing: -1px; line-height: 1; }
.header .logo__mark { font-size: 1.6rem; }
.footer__brand .logo__mark { font-size: 1.4rem; }
.logo__text strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.logo__text small { display: block; font-size: .68rem; letter-spacing: .15em; color: var(--c-text-mute); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link { padding: 8px 16px; font-size: .92rem; font-weight: 500; color: var(--c-text); border-radius: var(--radius); transition: all .25s var(--ease); }
.nav__link:hover, .nav__link.active { color: var(--c-cyan-deep); }
.nav__link.active { background: rgba(0,212,255,.08); }
.nav__cta { margin-left: 8px; padding: 10px 22px; background: var(--c-ink); color: #fff; border-radius: var(--radius); font-weight: 600; font-size: .9rem; }
.nav__cta:hover { background: var(--c-cyan); color: var(--c-ink); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: all .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; background: var(--c-ink); color: var(--c-text-d); overflow: hidden; }
.hero__bg {
    position: absolute; inset: 0;
    background: url('../images/hero.jpg') center/cover no-repeat;
    opacity: .35;
    filter: saturate(.7) contrast(1.1);
}
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,24,40,.95) 0%, rgba(10,24,40,.82) 50%, rgba(10,24,40,.92) 100%); }
/* 蜂窝结构装饰 */
.hero__cells {
    position: absolute; inset: 0; opacity: .06; pointer-events: none;
    background-image:
        radial-gradient(circle at 50% 50%, var(--c-cyan) 1px, transparent 1.5px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero__inner { position: relative; z-index: 2; padding: 80px 24px; }
.hero__eyebrow { font-family: var(--f-display); font-size: .82rem; letter-spacing: .2em; color: var(--c-cyan); text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.hero__title { font-family: var(--f-display); font-size: clamp(2.4rem, 6vw, 4.8rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin-bottom: 24px; color: #ffffff; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.hero__desc { font-size: 1.08rem; color: var(--c-text-dmute); max-width: 640px; line-height: 1.8; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 16px; margin-bottom: 64px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 680px; border-top: 1px solid var(--c-line); padding-top: 32px; }
.hero__stat strong { display: block; font-family: var(--f-display); font-size: 1.8rem; font-weight: 700; color: var(--c-cyan); }
.hero__stat span { font-size: .82rem; color: var(--c-text-dmute); }

.hero__scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; border: 2px solid var(--c-text-dmute); border-radius: 12px; opacity: .5; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--c-cyan); border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 50% { opacity: 1; } 100% { opacity: 0; top: 24px; } }

/* ---------- 通用 Section ---------- */
.section { padding: 60px 0; }
.section__head { text-align: center; margin-bottom: 36px; }
.section__eyebrow { display: inline-block; font-family: var(--f-display); font-size: .78rem; letter-spacing: .25em; color: var(--c-cyan-deep); font-weight: 600; margin-bottom: 12px; }
.section__title { font-family: var(--f-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; color: var(--c-text); letter-spacing: -.01em; }
.section__sub { margin-top: 12px; color: var(--c-text-mute); font-size: 1rem; }

/* ---------- 关于我们 ---------- */
.about { background: var(--c-warm); }
.about__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.about__lead { font-size: 1.2rem; font-weight: 500; color: var(--c-text); margin-bottom: 20px; line-height: 1.7; }
.about__text p { color: var(--c-text-mute); margin-bottom: 16px; }
.about__list { margin-top: 24px; }
.about__list li { padding: 10px 0; border-bottom: 1px solid var(--c-line-light); color: var(--c-text-mute); font-size: .92rem; }
.about__list li strong { color: var(--c-text); }

.about__card { background: var(--c-ink); color: var(--c-text-d); border-radius: var(--radius-lg); padding: 40px 32px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.about__card::before { content: ''; position: absolute; top: -40px; right: -40px; width: 140px; height: 140px; border: 1px solid var(--c-cyan); border-radius: 50%; opacity: .15; }
.about__card::after { content: ''; position: absolute; top: -20px; right: -20px; width: 100px; height: 100px; border: 1px solid var(--c-cyan); border-radius: 50%; opacity: .1; }
.about__card-tag { display: inline-block; font-family: var(--f-display); font-size: .72rem; letter-spacing: .2em; color: var(--c-cyan); border: 1px solid var(--c-line); padding: 4px 12px; border-radius: 20px; margin-bottom: 24px; }
.about__card h3 { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; line-height: 1.3; margin-bottom: 32px; }
.about__card-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about__card-meta small { display: block; font-size: .76rem; color: var(--c-text-dmute); margin-bottom: 4px; }
.about__card-meta strong { font-size: .95rem; font-weight: 500; }

/* ---------- 产品中心 ---------- */
.products { background: var(--c-warm-2); padding-bottom: 36px; }
.products__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 64px; }
.product-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); border: 1px solid var(--c-line-light); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--c-warm-2); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__badge { position: absolute; top: 16px; left: 16px; background: var(--c-ink); color: var(--c-cyan); font-family: var(--f-display); font-weight: 700; font-size: .78rem; letter-spacing: .1em; padding: 6px 14px; border-radius: 4px; }
.product-card__badge--epp { background: var(--c-cyan); color: var(--c-ink); }
.product-card__body { padding: 32px; }
.product-card__title { font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; color: var(--c-text); margin-bottom: 12px; }
.product-card__desc { color: var(--c-text-mute); font-size: .92rem; margin-bottom: 20px; }
.product-card__features { margin-bottom: 20px; }
.product-card__features li { padding: 6px 0 6px 24px; position: relative; font-size: .9rem; color: var(--c-text); }
.product-card__features li::before { content: ''; position: absolute; left: 0; top: 13px; width: 8px; height: 8px; background: var(--c-cyan); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.product-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.product-card__tags span { font-size: .76rem; padding: 4px 12px; background: var(--c-warm-2); border-radius: 20px; color: var(--c-text-mute); }

/* 对比表 */
.products__compare { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.products__compare-title { font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; color: var(--c-text); margin-bottom: 24px; text-align: center; }
.compare-table { display: grid; gap: 1px; background: var(--c-line-light); border-radius: var(--radius); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.compare-row > div { background: #fff; padding: 14px 20px; font-size: .9rem; }
.compare-row--head > div { background: var(--c-ink); color: var(--c-text-d); font-weight: 600; font-family: var(--f-display); font-size: .85rem; letter-spacing: .05em; }
.compare-row--head > div:nth-child(2) { color: var(--c-cyan); }
.compare-row--head > div:nth-child(3) { background: var(--c-ink-3); color: var(--c-cyan); }
.compare-row > div:first-child { font-weight: 500; color: var(--c-text-mute); }
.compare-row > div:nth-child(3) { background: rgba(0,212,255,.04); font-weight: 500; }

/* ---------- 应用领域 ---------- */
.applications { background: var(--c-warm); padding-top: 36px; }
.apps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; min-height: 260px; display: flex; align-items: flex-end; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); }
.app-card:hover { transform: translateY(-4px); }
.app-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.app-card__overlay { position: relative; z-index: 2; width: 100%; padding: 28px; background: linear-gradient(to top, rgba(10,24,40,.9), transparent); color: var(--c-text-d); }
.app-card__overlay h3 { font-family: var(--f-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; color: #fff; }
.app-card__overlay p { font-size: .86rem; color: var(--c-text-dmute); }
.app-card__plain { width: 100%; padding: 36px 28px; background: var(--c-ink-3); color: var(--c-text-d); display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; border-radius: var(--radius-lg); border: 1px solid var(--c-line); }
.app-card__plain--accent { background: var(--c-cyan); color: var(--c-ink); }
.app-card__plain h3 { font-family: var(--f-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.app-card__plain p { font-size: .86rem; opacity: .8; }

/* ---------- 工厂实景 ---------- */
.factory { background: var(--c-ink); color: var(--c-text-d); padding: 60px 0; }
.factory .section__title { color: #fff; }
.factory .section__eyebrow { color: var(--c-cyan); }
.factory .section__sub { color: var(--c-text-dmute); }
.factory__intro { text-align: center; max-width: 720px; margin: 0 auto 32px; color: var(--c-text-dmute); font-size: .95rem; line-height: 1.8; }
.factory__list { display: flex; flex-direction: column; gap: 56px; }
/* 每行：左图右文 */
.factory-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
/* 反向：左文右图 */
.factory-row--reverse { grid-template-columns: 1fr 1.2fr; }
.factory-row--reverse .factory-row__img { order: 2; }
.factory-row--reverse .factory-row__content { order: 1; }

.factory-row__img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
    border: 1px solid rgba(0,212,255,.1);
}
.factory-row__img::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0,212,255,.15);
    border-radius: var(--radius-lg);
    z-index: 2;
    pointer-events: none;
}
/* 统一滤镜：降饱和+微提对比，消除不同光源色差 */
.factory-row__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.75) contrast(1.06) brightness(0.9);
    transition: filter .6s var(--ease), transform .8s var(--ease);
}
.factory-row:hover .factory-row__img img {
    filter: saturate(0.95) contrast(1.03) brightness(1);
    transform: scale(1.03);
}

.factory-row__content { color: var(--c-text-d); }
.factory-row__num {
    display: inline-block;
    font-family: var(--f-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--c-cyan);
    opacity: .6;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -.02em;
}
.factory-row__content h3 {
    font-family: var(--f-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -.01em;
}
.factory-row__content p {
    font-size: .95rem;
    line-height: 1.9;
    color: var(--c-text-dmute);
    margin-bottom: 20px;
}
.factory-row__points { list-style: none; padding: 0; }
.factory-row__points li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: .9rem;
    color: var(--c-text-d);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.factory-row__points li:last-child { border-bottom: none; }
.factory-row__points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 10px;
    height: 10px;
    background: var(--c-cyan);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    opacity: .8;
}

/* ---------- 核心优势 ---------- */
.advantages { background: var(--c-warm-2); }
.adv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-card { background: #fff; border-radius: var(--radius-lg); padding: 36px 28px; border: 1px solid var(--c-line-light); transition: all .35s var(--ease); }
.adv-card:hover { border-color: var(--c-cyan); transform: translateY(-4px); box-shadow: var(--shadow); }
.adv-card__icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(0,212,255,.1); color: var(--c-cyan-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.adv-card h3 { font-family: var(--f-display); font-size: 1.1rem; font-weight: 700; color: var(--c-text); margin-bottom: 10px; }
.adv-card p { font-size: .9rem; color: var(--c-text-mute); }

/* ---------- 用户好评 ---------- */
.testimonials { background: var(--c-warm-2); }
.testimonials__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.testimonial-card { background: #fff; border-radius: var(--radius-lg); padding: 28px 24px; border: 1px solid var(--c-line-light); transition: all .35s var(--ease); display: flex; flex-direction: column; }
.testimonial-card:hover { border-color: var(--c-cyan); transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial-card__rating { color: var(--c-cyan); font-size: 1rem; letter-spacing: .15em; margin-bottom: 14px; }
.testimonial-card__text { font-size: .9rem; line-height: 1.8; color: var(--c-text); flex: 1; margin-bottom: 18px; }
.testimonial-card__author { border-top: 1px solid var(--c-line-light); padding-top: 14px; }
.testimonial-card__author strong { display: block; font-family: var(--f-display); font-size: .92rem; font-weight: 700; color: var(--c-text); }
.testimonial-card__author span { font-size: .78rem; color: var(--c-text-mute); }

.testimonials__summary { display: flex; align-items: center; justify-content: center; gap: 0; background: var(--c-ink); border-radius: var(--radius-lg); padding: 28px 40px; }
.testimonials__summary-item { text-align: center; padding: 0 28px; }
.testimonials__summary-item strong { display: block; font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; color: var(--c-cyan); margin-bottom: 4px; }
.testimonials__summary-item span { font-size: .8rem; color: var(--c-text-dmute); }
.testimonials__summary-divider { width: 1px; height: 36px; background: var(--c-line); }

/* ---------- FAQ ---------- */
.faq { background: var(--c-warm); }
.faq__list { max-width: 1080px; margin: 0 auto; }
.faq__item { background: #fff; border: 1px solid var(--c-line-light); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: border-color .3s var(--ease); }
.faq__item[open] { border-color: var(--c-cyan); }
.faq__item summary { padding: 20px 24px; font-family: var(--f-display); font-weight: 600; font-size: 1rem; color: var(--c-text); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-size: 1.4rem; color: var(--c-cyan-deep); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item-body { padding: 0 24px 20px; color: var(--c-text-mute); font-size: .92rem; line-height: 1.8; }

/* ---------- 联系我们 ---------- */
.contact { background: var(--c-ink); color: var(--c-text-d); }
.contact .section__title { color: #fff; }
.contact .section__eyebrow { color: var(--c-cyan); }
.contact .section__sub { color: var(--c-text-dmute); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 24px; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--c-ink-3); border: 1px solid var(--c-line); border-radius: var(--radius-lg); transition: border-color .3s var(--ease); }
.contact__item:hover { border-color: var(--c-cyan); }
.contact__item-icon { color: var(--c-cyan); flex-shrink: 0; padding-top: 2px; }
.contact__item small { display: block; font-size: .76rem; color: var(--c-text-dmute); margin-bottom: 4px; }
.contact__item strong { font-size: 1rem; font-weight: 500; line-height: 1.5; }
.contact__map-btn { display: inline-block; padding: 12px 24px; border: 1px solid var(--c-line); border-radius: var(--radius); color: var(--c-cyan); font-size: .88rem; font-weight: 500; transition: all .3s var(--ease); }
.contact__map-btn:hover { background: var(--c-cyan); color: var(--c-ink); border-color: var(--c-cyan); }

.contact__form { background: var(--c-ink-3); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 36px; }
.contact__form-title { font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 24px; color: #fff; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .84rem; color: var(--c-text-dmute); margin-bottom: 8px; }
.field label span { color: var(--c-cyan); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 16px; background: var(--c-ink); border: 1px solid var(--c-line); border-radius: var(--radius); color: var(--c-text-d); font-family: var(--f-body); font-size: .92rem; transition: border-color .3s var(--ease); }
.field input::placeholder, .field textarea::placeholder { color: var(--c-text-dmute); opacity: .6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-cyan); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%2300d4ff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field select option { background: var(--c-ink); color: var(--c-text-d); }
.contact__form-note { padding: 12px 16px; border-radius: var(--radius); font-size: .88rem; margin-top: 12px; }
.contact__form-note.success { background: rgba(0,212,255,.12); color: var(--c-cyan); border: 1px solid var(--c-line); }
.contact__form-note.error { background: rgba(255,80,80,.12); color: #ff6b6b; border: 1px solid rgba(255,80,80,.2); }
.contact__form-tip { font-size: .8rem; color: var(--c-text-dmute); margin-top: 12px; text-align: center; }
.contact__form-tip a { color: var(--c-cyan); }

/* ---------- Footer ---------- */
.footer { background: var(--c-ink-2); color: var(--c-text-dmute); padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; padding-bottom: 48px; border-bottom: 1px solid var(--c-line); }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand .logo__mark { color: #5BA3F0; }
.footer__brand strong { display: block; color: #fff; font-family: var(--f-display); font-size: 1rem; }
.footer__brand small { font-size: .8rem; }
.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col h4 { font-family: var(--f-display); font-size: .84rem; color: #fff; margin-bottom: 14px; letter-spacing: .05em; }
.footer__col a { display: block; font-size: .86rem; padding: 4px 0; transition: color .25s var(--ease); }
.footer__col a:hover { color: var(--c-cyan); }
.footer__bottom { padding: 20px 0; font-size: .78rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; }

/* ---------- 浮动联系按钮 ---------- */
.float-contact {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}
.float-contact__btn {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--c-ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
    transition: all .3s var(--ease);
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
}
.float-contact__btn.visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.float-contact__btn:hover {
    background: var(--c-cyan);
    color: var(--c-ink);
    transform: translateX(0) scale(1.08);
    box-shadow: 0 6px 20px rgba(0,212,255,.35);
}
.float-contact__btn svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}
.float-contact__btn--phone:hover svg { stroke: var(--c-ink); }
.float-contact__btn--wechat:hover svg { stroke: var(--c-ink); }
.float-contact__tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--c-ink);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: .82rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.float-contact__tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--c-ink);
}
.float-contact__btn:hover .float-contact__tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-4px);
}

/* ---------- 滚动揭示动画 ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
/* 首屏内容默认可见，不需要滚动触发 */
.hero .reveal { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
    .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
    .products__grid { grid-template-columns: 1fr; }
    .apps__grid { grid-template-columns: repeat(2, 1fr); }
    .adv__grid { grid-template-columns: repeat(2, 1fr); }
    .factory-row { grid-template-columns: 1fr; gap: 24px; }
    .factory-row--reverse { grid-template-columns: 1fr; }
    .factory-row--reverse .factory-row__img { order: 0; }
    .factory-row--reverse .factory-row__content { order: 0; }
    .factory__list { gap: 40px; }
    .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials__summary { flex-wrap: wrap; gap: 16px; }
    .testimonials__summary-divider { display: none; }
    .hero__stats { grid-template-columns: repeat(2, 1fr); }
    .footer__inner { grid-template-columns: 1fr; gap: 32px; }
    .footer__bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
}

/* ============================================================
   流动橱窗产品展示
   ============================================================ */
.showcase-section {
    position: relative;
}
.showcase-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}
.showcase-wrapper::before,
.showcase-wrapper::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 100px;
    z-index: 10;
    pointer-events: none;
}
.showcase-wrapper::before {
    left: 0;
    background: none;
}
.showcase-wrapper::after {
    right: 0;
    background: none;
}
.showcase-track {
    display: flex;
    gap: 16px;
    animation: showcase-scroll 40s linear infinite;
    width: max-content;
}
.showcase-track--reverse {
    animation-direction: reverse;
}
.showcase-track:hover {
    animation-play-state: paused;
}
@keyframes showcase-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.showcase-card {
    flex-shrink: 0;
    width: 220px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}
.showcase-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #0099ff, #00d4ff);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 2;
}
.showcase-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(0, 153, 255, 0.4);
    box-shadow: 0 16px 48px rgba(0, 100, 200, 0.12);
}
.showcase-card:hover::before { opacity: 1; }
.showcase-card__media {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.showcase-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.showcase-card:hover .showcase-card__media img {
    transform: scale(1.1);
}
.showcase-card__badge {
    position: absolute;
    top: 12px; left: 12px;
    padding: 3px 10px;
    background: rgba(0, 153, 255, 0.12);
    border: 1px solid rgba(0, 153, 255, 0.3);
    border-radius: 4px;
    color: #0099ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}
.showcase-card__badge--hot {
    background: rgba(255, 107, 53, 0.12);
    border-color: rgba(255, 107, 53, 0.3);
    color: #ff6b35;
}
.showcase-card__body {
    padding: 20px;
}
.showcase-card__title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--c-ink, #1a2b4a);
}
.showcase-card__desc {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.showcase-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.showcase-card__tags span {
    padding: 3px 8px;
    background: #f0f4f8;
    border-radius: 4px;
    font-size: 11px;
    color: #6c757d;
}

@media (max-width: 768px) {
    .showcase-card { width: 160px; }
    .showcase-card__media { height: 160px; }
    .showcase-wrapper::before,
    .showcase-wrapper::after { width: 50px; }
}

/* ============================================================
   公司动态
   ============================================================ */
.news__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    cursor: pointer;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 50, 100, 0.1);
    border-color: rgba(0, 153, 255, 0.3);
}
.news-card__cover {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #1a2b4a 0%, #2d4a6f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 48px;
    position: relative;
}
.news-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card__category {
    position: absolute;
    top: 12px; left: 12px;
    padding: 4px 12px;
    background: rgba(0, 212, 255, 0.9);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}
.news-card__body {
    padding: 20px;
}
.news-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #1a2b4a;
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card__summary {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #adb5bd;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}
@media (max-width: 960px) {
    .news__grid { grid-template-columns: 1fr; }
}
@media (min-width: 961px) and (max-width: 1200px) {
    .news__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .section { padding: 64px 0; }
    .nav { display: none; position: fixed; top: 110px; left: 0; right: 0; flex-direction: column; background: var(--c-warm); padding: 16px; gap: 0; box-shadow: var(--shadow); border-top: 1px solid var(--c-line-light); }
    .nav.open { display: flex; }
    .nav__link { width: 100%; padding: 14px 16px; border-radius: 0; border-bottom: 1px solid var(--c-line-light); }
    .nav__cta { margin: 12px 16px 0; text-align: center; }
    .nav-toggle { display: flex; }
    .hero__stats { grid-template-columns: 1fr 1fr; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .apps__grid, .adv__grid, .testimonials__grid { grid-template-columns: 1fr; }
    .compare-row > div { padding: 10px 12px; font-size: .82rem; }
    .topbar__text { display: none; }
    .topbar__inner { justify-content: center; }
    .footer__links { grid-template-columns: 1fr; gap: 20px; }
    .about__card-meta { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- 性能优化 ---------- */
/* 视口外内容延迟渲染已移除：导致滚动到产品中心时出现空白 */
/* 卡片层隔离，减少重绘 */
.product-card, .adv-card, .app-card, .factory-row__img, .contact__item { contain: layout style; }
/* 滚动动画GPU加速 */
.reveal { will-change: transform, opacity; }

