/* 首页视觉布局：沿用小程序粉色主题，独立维护桌面和移动端构图。 */
:root { --home-shadow: 0 16px 48px rgba(72,40,54,.06); }
.site-header { border-bottom-color: rgba(241,222,227,.7); }
.header-inner { min-height: 76px; }
.site-nav .nav-cta { padding: 12px 22px; border-radius: 24px; }
.brand-icon { width: 38px; height: 38px; border-radius: 12px; }
.hero { position: relative; background: radial-gradient(ellipse at 85% 20%,#fce0ed,transparent 50%),linear-gradient(120deg,#fffaf8,#fff1f3 65%,#faf4fc); }
.hero-glow { position: absolute; width: 440px; height: 440px; border: 1px solid rgba(233,182,197,.3); border-radius: 50%; right: -160px; top: 60px; pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); align-items: center; column-gap: 76px; row-gap: 52px; padding: 64px 0 44px; }
.hero-copy { text-align: left; max-width: none; }
.hero-brandline { justify-content: flex-start; font-size: 18px; gap: 10px; }
.hero-brandline span { font-size: 13px; letter-spacing: 1px; }
.hero h1 { margin-top: 24px; font-size: clamp(36px,4.4vw,60px); font-weight: 850; line-height: 1.3; letter-spacing: -1.5px; }
.hero h1 span { display: block; color: #a84257; }
.hero-lead { max-width: 460px; margin: 22px 0 0; font-size: 16px; line-height: 1.95; color: #647084; }
.hero-actions { justify-content: flex-start; align-items: center; margin-top: 30px; gap: 24px; }
.hero-actions .btn { min-height: 50px; padding: 14px 28px; border-radius: 26px; box-shadow: 0 8px 20px rgba(241,132,138,.18); }
.hero-secondary { color: #785967; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; color: #7d7380; font-size: 13px; }
.hero-benefits span { display: inline-flex; align-items: center; gap: 7px; }
.hero-benefits span::before { content: ''; width: 5px; height: 5px; background: #e4a4af; border-radius: 50%; }
.hero-preview { position: relative; width: 100%; max-width: 390px; justify-self: center; padding: 12px; border: 1px solid rgba(255,255,255,.95); border-radius: 24px; background: rgba(255,255,255,.65); box-shadow: 0 24px 60px rgba(126,71,101,.12),inset 0 0 0 1px rgba(241,222,227,.8); transform: rotate(2deg); }
.preview-heading { display: flex; align-items: center; gap: 7px; padding: 2px 5px 12px; color: #785967; font-size: 12px; }
.preview-dot { width: 7px; height: 7px; border-radius: 50%; background: #faa8ab; }
.preview-label { margin-left: auto; color: #94a3b8; font-size: 11px; }
.preview-screen { height: 340px; overflow: hidden; border-radius: 15px; background: #fff0f1; }
.preview-screen img { width: 100%; height: auto; }
.preview-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 5px 2px; color: #64748b; font-size: 11px; }
.preview-bottom a { flex-shrink: 0; color: #a84257; font-weight: 700; }
.hero-stats { grid-column: 1 / -1; width: 100%; margin: 0; border-radius: 18px; background: rgba(255,255,255,.82); border-color: #f1dfe4; box-shadow: 0 6px 24px rgba(126,71,101,.025); }
.hero-stats > div { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 14px; padding: 24px 12px; }
.hero-stats strong { font-size: 32px; color: #b96a7b; letter-spacing: -.5px; }
.hero-stats > div > span { font-size: 14px; color: #687283; }
.section { padding: 76px 0; }
.section-head { max-width: 720px; }
.section h2 { font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.section-head::before { content: ''; display: block; width: 30px; height: 4px; margin: 0 auto 16px; border-radius: 3px; background: linear-gradient(90deg,#fccdc2,#faa8ab); }
.section-head-row { max-width: none; }
.section-head-row::before { display: none; }
.section-head-row h2 { padding-left: 14px; border-left: 4px solid #faa8ab; }
.section-eyebrow { font-size: 12px; letter-spacing: 2px; }
.section-desc { color: #748094; font-size: 15px; }
.features { background: #fff; }
.feature-grid { gap: 16px; margin-top: 34px; }
.feature-card { position: relative; padding: 28px 24px; border-radius: 20px; background: linear-gradient(160deg,#fff,#fffafb); border-color: #f0e8eb; box-shadow: none; }
.feature-icon { width: 52px; height: 52px; border-radius: 16px; background: #fff0f1; color: #b96379; }
.feature-card h3 { margin-top: 22px; font-size: 18px; }
.feature-card p { line-height: 1.85; color: #748094; font-size: 14px; }
.how { background: #fbf7f9; }
.step-grid { gap: 24px; margin-top: 34px; }
.step-card { position: relative; padding: 28px; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 6px 22px rgba(72,40,54,.025); }
.step-num { display: inline-block; color: #e6a2b2; font-size: 38px; letter-spacing: -2px; }
.step-card h3 { margin-top: 20px; font-size: 17px; }
.step-card p { color: #748094; font-size: 14px; }
.products { background: #f8fafc; }
.product-card { border-radius: 16px; border-color: #edf0f4; box-shadow: 0 4px 20px rgba(15,23,42,.025); }
.product-media { background: #f5edf0; }
.product-info { padding: 16px; gap: 10px; }
.product-info h3 { font-weight: 650; }
.product-meta .views { color: #8a94a5; font-size: 12px; }
.product-shop { padding-top: 12px; }
.factories { background: #fff; }
.factory-card { border-radius: 20px; border-color: #f0e8eb; box-shadow: 0 5px 22px rgba(72,40,54,.04); }
.factory-details { padding: 18px 16px; background: linear-gradient(120deg,#fff,#fff6f7); }
.factory-head h3 { overflow-wrap: anywhere; }
.factory-card .btn { min-height: 38px; background: #fff; }
.factory-cta { margin-top: 30px; padding: 30px 34px; border-radius: 20px; background: linear-gradient(110deg,#fff1ed,#fff0f5); border-color: #f3e1e7; }
.factory-cta h3 { font-size: 21px; }
.factory-cta .btn { border-radius: 24px; padding-inline: 24px; }
.app-intro { background: radial-gradient(ellipse at 16% 50%,#fde0eb,transparent 55%),#fff5f7; }
.app-layout { gap: 80px; }
.phone-screenshot { width: min(100%,300px); padding: 8px; border-radius: 30px; box-shadow: 0 24px 60px rgba(126,71,101,.13); transform: rotate(-2deg); }
.app-copy h2 { font-size: 32px; line-height: 1.5; }
.app-features li { font-size: 15px; margin-bottom: 16px; }
.qr-wrap { padding: 18px; border: 1px solid #f1dfe4; border-radius: 20px; background: rgba(255,255,255,.7); width: fit-content; }
.qr-frame { width: 136px; height: 136px; border-radius: 12px; }
.contact { background: #f8fafc; }
.contact-layout { max-width: 720px; }
.contact-form { border-color: #edf0f4; border-radius: 22px; padding: 32px; box-shadow: var(--home-shadow); }
.contact-form label span { font-size: 14px; color: #475569; }
.contact-form input, .contact-form textarea { border-color: #e5e9ef; border-radius: 12px; background: #fafbfc; }
.contact-form .btn { border-radius: 12px; min-height: 48px; }
.footer { background: #fff; border-top: 1px solid #f0e8eb; }
.footer-top { padding: 40px 0 28px; }
.footer-bottom { border-top-color: #edf0f4; font-size: 12px; }
@media (hover:hover) {
    .product-card:hover, .factory-card:hover, .feature-card:hover { border-color: #f0c6d1; box-shadow: var(--home-shadow); transform: translateY(-4px); }
}
@media (max-width:960px) {
    .hero-inner { column-gap: 32px; padding-top: 48px; }
    .hero h1 { font-size: 40px; }
    .hero-preview { max-width: 310px; }
    .preview-screen { height: 300px; }
    .hero-stats > div { gap: 8px; }
    .app-layout { gap: 40px; }
    .qr-wrap { margin-inline: auto; }
}
@media (max-width:640px) {
    .header-inner { min-height: 64px; }
    .hero-inner { grid-template-columns: minmax(0,1fr); gap: 28px; padding: 34px 0 28px; }
    .hero-copy { text-align: center; }
    .hero-brandline { justify-content: center; gap: 8px; font-size: 17px; }
    .hero-brandline span { font-size: 12px; letter-spacing: 0; }
    .hero h1 { margin-top: 20px; font-size: clamp(32px,9vw,42px); letter-spacing: -.8px; }
    .hero-lead { margin: 16px auto 0; font-size: 14px; line-height: 1.85; max-width: 350px; }
    .hero-actions { justify-content: center; margin-top: 22px; gap: 18px; }
    .hero-actions .btn { min-width: 150px; min-height: 46px; }
    .hero-benefits { justify-content: center; margin-top: 20px; gap: 18px; font-size: 12px; }
    .hero-preview { width: min(100% - 12px,350px); max-width: none; transform: none; border-radius: 20px; padding: 10px; }
    .preview-screen { height: 230px; border-radius: 12px; }
    .preview-heading { font-size: 11px; padding-bottom: 9px; }
    .preview-bottom { font-size: 11px; }
    .hero-stats { grid-column: auto; border-radius: 16px; }
    .hero-stats > div { display: block; padding: 18px 4px; }
    .hero-stats strong { font-size: clamp(22px,6vw,28px); }
    .hero-stats > div > span { display: block; margin-top: 6px; font-size: 12px; }
    .section { padding: 48px 0; }
    .section h2 { font-size: 25px; }
    .section-head::before { margin-bottom: 12px; }
    .section-desc { font-size: 14px; }
    .feature-grid { margin-top: 24px; gap: 12px; }
    .feature-card { padding: 22px 18px; grid-template-columns: 44px minmax(0,1fr); border-radius: 16px; }
    .feature-icon { width: 44px; height: 44px; border-radius: 13px; }
    .feature-card h3 { margin-top: 0; font-size: 17px; }
    .feature-card p { margin-top: 6px; font-size: 14px; }
    .step-grid { gap: 12px; margin-top: 24px; }
    .step-card { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 5px 16px; padding: 22px 18px; border-radius: 16px; }
    .step-num { grid-row: span 2; align-self: center; font-size: 32px; }
    .step-card h3 { margin: 0; font-size: 16px; }
    .step-card p { margin: 0; font-size: 14px; }
    .product-grid { gap: 12px; }
    .product-card { border-radius: 13px; }
    .product-info { padding: 12px; gap: 8px; }
    .product-info h3 { font-size: 14px; }
    .factory-details { padding: 16px 14px; }
    .factory-cta { align-items: stretch; gap: 18px; padding: 24px; }
    .factory-cta h3 { font-size: 20px; }
    .factory-cta .btn { align-self: flex-start; }
    .app-layout { gap: 34px; }
    .phone-screenshot { width: min(100% - 28px,274px); transform: none; }
    .app-copy h2 { font-size: 25px; }
    .app-features li { font-size: 14px; }
    .qr-wrap { padding: 16px; border-radius: 18px; }
    .contact-form { padding: 24px 20px; border-radius: 18px; }
    .footer-top { padding-top: 32px; gap: 24px; }
}
@media (prefers-reduced-motion:reduce) {
    .hero-preview, .phone-screenshot { transform: none; }
    .product-card:hover, .factory-card:hover, .feature-card:hover { transform: none; }
}

/* 异步列表状态占满网格，失败时允许单独重试。 */
.list-state { grid-column: 1 / -1; width: 100%; padding: 48px 20px; text-align: center; color: #64748b; font-size: 14px; }
.list-retry { margin-top: 14px; padding: 9px 20px; border: 1px solid #efc5d0; border-radius: 20px; background: #fff; color: #a84257; cursor: pointer; font: inherit; }

.image-unavailable { display: grid; place-items: center; min-height: 44px; height: 100%; padding: 12px; color: #94a3b8; font-size: 12px; text-align: center; }
