/* ============================================================
   汉耀车险分发助手 · 官网（风格原型 v2）
   清新亮色商务风 · Light Modern SaaS
   蓝色主色 + 暖橙强调 · 大量留白 · 柔和卡片阴影
   ============================================================ */

:root {
    /* 品牌色 —— 蓝主色 / 暖橙强调 / 青点缀 */
    --primary: #2563EB;
    --primary-600: #1D4ED8;
    --primary-soft: #EAF1FF;
    --accent: #F97316;
    --accent-soft: #FFF1E6;
    --teal: #0EA5A4;

    /* 背景层 —— 清爽亮色 */
    --bg: #F5F8FC;
    --surface: #FFFFFF;
    --surface-2: #EEF3FA;

    /* 文本 */
    --ink-900: #0F172A;
    --ink-700: #334155;
    --ink-500: #64748B;
    --ink-400: #94A3B8;

    /* 边框/描边 */
    --border: #E4EAF2;
    --border-strong: #D2DCE8;

    /* 渐变 */
    --grad-accent: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    --grad-warm: linear-gradient(135deg, #FB923C 0%, #F97316 100%);
    --grad-hero: linear-gradient(160deg, #FFFFFF 0%, #EFF4FE 55%, #F5F8FC 100%);
    --grad-text: linear-gradient(135deg, #1D4ED8 0%, #0EA5A4 100%);

    /* 阴影 */
    --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
    --shadow-card: 0 18px 44px rgba(15, 23, 42, 0.10);
    --shadow-glow: 0 12px 34px rgba(37, 99, 235, 0.22);

    /* 字号 */
    --fs-hero: clamp(2.4rem, 5.4vw, 3.6rem);
    --fs-h2: clamp(1.8rem, 3.6vw, 2.4rem);
    --fs-h3: 1.2rem;
    --fs-body: 1rem;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --container: 1180px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Source Han Sans SC', 'Noto Sans CJK SC', sans-serif;
    background: var(--bg);
    color: var(--ink-700);
    line-height: 1.75;
    font-size: var(--fs-body);
    letter-spacing: 0.01em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* 柔和光斑背景 */
body::before {
    content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background:
        radial-gradient(40% 34% at 12% 6%, rgba(37,99,235,0.10), transparent 60%),
        radial-gradient(36% 30% at 92% 12%, rgba(14,165,164,0.08), transparent 62%),
        var(--bg);
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem;
    letter-spacing: 0.02em; cursor: pointer; border: 1px solid transparent;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.btn-primary { background: var(--grad-accent); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(37,99,235,0.32); }
.btn-primary .btn-arrow { transition: transform 0.3s var(--ease); }
.btn-primary:hover .btn-arrow { transform: translateX(5px); }
.btn-ghost { background: #fff; border-color: var(--border-strong); color: var(--ink-900); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--primary); color: var(--primary-600); transform: translateY(-3px); }
.btn-warm { background: var(--grad-warm); color: #fff; box-shadow: 0 12px 30px rgba(249,115,22,0.28); }
.btn-warm:hover { transform: translateY(-3px); }

/* ---------- 头部导航 ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: background 0.4s var(--ease), box-shadow 0.4s, padding 0.4s; }
.header.scrolled { background: rgba(255,255,255,0.82); backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 1px 0 var(--border); padding: 10px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
    width: 44px; height: 44px; border-radius: 13px; background: var(--grad-accent);
    display: grid; place-items: center; font-size: 22px;
    box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,0.3); position: relative; overflow: hidden;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-size: 18px; font-weight: 800; color: var(--ink-900); letter-spacing: 0.4px; }
.logo-sub { font-size: 11px; color: var(--accent); font-weight: 600; letter-spacing: 0.4px; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { color: var(--ink-500); font-size: 0.95rem; font-weight: 500; position: relative; transition: color 0.25s; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--grad-accent); transition: width 0.3s var(--ease); border-radius: 2px; }
.main-nav a:hover, .main-nav a.active { color: var(--ink-900); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.nav-cta { padding: 10px 22px; border-radius: 999px; background: var(--grad-accent); color: #fff !important; font-weight: 600; box-shadow: var(--shadow-glow); }
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37,99,235,0.34); }

.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn span { width: 24px; height: 2px; background: var(--ink-900); transition: transform 0.3s, opacity 0.3s; }
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 通用区块 ---------- */
.section { padding: clamp(70px, 9vw, 116px) 0; position: relative; }
.section-head { text-align: center; max-width: 740px; margin: 0 auto clamp(44px, 6vw, 64px); }
.tag {
    display: inline-block; padding: 7px 18px; border-radius: 999px;
    background: var(--accent-soft); color: var(--accent);
    font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 18px;
}
.tag.blue { background: var(--primary-soft); color: var(--primary-600); }
.section-title { font-size: var(--fs-h2); font-weight: 800; color: var(--ink-900); line-height: 1.28; }
.section-desc { margin-top: 16px; color: var(--ink-500); font-size: 1.05rem; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 140px 0 90px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
    background: var(--primary-soft); border: 1px solid #D6E3FF;
    color: var(--primary-600); font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(249,115,22,0.5); animation: ping 2s infinite; }
.hero-title { font-size: var(--fs-hero); font-weight: 800; line-height: 1.16; color: var(--ink-900); margin-bottom: 22px; }
.hero-title .accent { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: block; }
.hero-desc { font-size: 1.12rem; color: var(--ink-500); margin-bottom: 32px; max-width: 540px; line-height: 1.8; }
.hero-desc b { color: var(--accent); font-weight: 700; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 38px; flex-wrap: wrap; }
.hero-stats .num { font-size: 1.9rem; font-weight: 800; color: var(--primary-600); }
.hero-stats .label { font-size: 0.85rem; color: var(--ink-400); }

/* Hero 视觉：白底微信窗口 + 悬浮面板 */
.hero-visual { position: relative; display: flex; justify-content: center; }
.desk-mock { position: relative; width: 100%; max-width: 480px; }
.win-chat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.win-bar .r { background: #FF5F57; } .win-bar .y { background: #FEBC2E; } .win-bar .g { background: #28C840; }
.win-bar .wt { margin-left: 10px; font-size: 0.82rem; color: var(--ink-500); }
.win-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; min-height: 280px; }
.bubble { max-width: 76%; padding: 10px 14px; border-radius: 14px; font-size: 0.85rem; line-height: 1.6; }
.bubble.in { align-self: flex-start; background: var(--surface-2); color: var(--ink-700); border-bottom-left-radius: 4px; }
.bubble.out { align-self: flex-end; background: var(--grad-accent); color: #fff; border-bottom-right-radius: 4px; }
.bubble .img-ph { height: 64px; border-radius: 8px; background: linear-gradient(135deg, var(--primary-soft), #E6F7F6); margin-top: 6px; }
.float-panel {
    position: absolute; right: -54px; top: 96px; width: 196px;
    background: rgba(255,255,255,0.92); backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid var(--border-strong); border-radius: 16px; padding: 16px;
    box-shadow: var(--shadow-card); animation: floaty 6s ease-in-out infinite;
}
.float-panel .fp-h { font-size: 0.78rem; color: var(--primary-600); font-weight: 800; letter-spacing: 0.5px; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.float-panel .fp-row { display: flex; justify-content: space-between; font-size: 0.78rem; padding: 7px 0; border-top: 1px solid var(--border); color: var(--ink-500); }
.float-panel .fp-row b { color: var(--ink-900); font-weight: 600; }
.float-panel .fp-cta { margin-top: 12px; text-align: center; font-size: 0.78rem; padding: 9px; border-radius: 10px; background: var(--grad-warm); color: #fff; font-weight: 600; }
.desk-glow { position: absolute; inset: -8% -18%; z-index: -1; background: radial-gradient(circle at 50% 50%, rgba(37,99,235,0.22), transparent 65%); filter: blur(20px); }

/* ---------- 功能概览网格 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
    position: relative; padding: 30px 28px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--border);
    box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.feature-card::before {
    content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px; border-radius: 0 0 4px 4px;
    background: var(--grad-accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card .ficon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
    background: var(--primary-soft); border: 1px solid #D6E3FF; margin-bottom: 18px; transition: transform 0.35s var(--ease); }
.feature-card:hover .ficon { transform: scale(1.08) rotate(-4deg); }
.feature-card .ficon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.16rem; font-weight: 700; color: var(--ink-900); margin-bottom: 9px; }
.feature-card p { font-size: 0.92rem; color: var(--ink-500); line-height: 1.7; }

/* ---------- 工作流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 28px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); text-align: center; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.step .snum { width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 1.05rem; background: var(--grad-accent); box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,0.3); }
.step h4 { color: var(--ink-900); font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--ink-400); font-size: 0.88rem; }

/* ---------- 软件详情 ---------- */
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shot-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.shot-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.shot-media { min-height: 540px; background: linear-gradient(135deg, #EFF4FE, #E6F7F6); display: grid; place-items: center; position: relative; overflow: hidden; padding: 24px; }
.shot-media img { max-width: 80%; max-height: 480px; width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 16px 38px rgba(15, 23, 42, 0.16); }
.shot-media .ph { color: var(--ink-400); font-size: 0.9rem; letter-spacing: 1px; }
.shot-body { padding: 22px 24px; }
.shot-body h3 { color: var(--ink-900); font-size: 1.1rem; margin-bottom: 8px; }
.shot-body p { color: var(--ink-500); font-size: 0.9rem; line-height: 1.7; }

/* ---------- 信任统计条 ---------- */
.stats-band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .label { color: var(--ink-500); font-size: 0.95rem; margin-top: 6px; }

/* ---------- 下载 CTA ---------- */
.cta-card { position: relative; display: flex; align-items: center; gap: 48px; background: var(--grad-hero); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 50px; overflow: hidden; box-shadow: var(--shadow-card); }
.cta-card::before { content: ""; position: absolute; width: 340px; height: 340px; right: -70px; top: -70px; background: radial-gradient(circle, rgba(37,99,235,0.16), transparent 70%); pointer-events: none; }
.cta-info { flex: 1; }
.cta-info h2 { font-size: var(--fs-h2); color: var(--ink-900); margin-bottom: 10px; }
.cta-info p { color: var(--ink-500); margin-bottom: 22px; }
.cta-os { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--ink-500); background: #fff; border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; }
.cta-actions { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-qr { width: 184px; height: 184px; flex-shrink: 0; background: #fff; border-radius: 18px; padding: 12px; box-shadow: var(--shadow-card); display: grid; place-items: center; color: var(--ink-400); font-size: 0.8rem; text-align: center; border: 1px solid var(--border); }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
.about-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.about-card h3 { color: var(--ink-900); font-size: 1.3rem; margin-bottom: 14px; }
.about-card p { color: var(--ink-500); line-height: 1.8; margin-bottom: 12px; }
.about-meta { display: grid; gap: 14px; }
.about-meta .m { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-sm); }
.about-meta .m .k { font-size: 0.78rem; color: var(--accent); letter-spacing: 1px; margin-bottom: 6px; font-weight: 700; }
.about-meta .m .v { color: var(--ink-900); font-size: 1rem; font-weight: 600; }

/* ---------- 页脚（深色收尾，增强对比） ---------- */
.footer { padding: 64px 0 32px; background: #F1F5F9; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 38px; }
.footer-brand .logo .logo-name { color: var(--ink-900); }
.footer-brand .logo .logo-sub { color: var(--accent); }
.footer-brand p { color: var(--ink-500); font-size: 0.9rem; max-width: 320px; line-height: 1.7; }
.footer-col h4 { color: var(--ink-900); font-size: 1rem; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--ink-500); font-size: 0.9rem; padding: 6px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary-600); }
.footer-bottom { text-align: center; color: var(--ink-400); font-size: 0.82rem; border-top: 1px solid var(--border); padding-top: 24px; }
.footer-bottom a { color: inherit; text-decoration: none; margin-left: 8px; }
.footer-bottom a:hover { color: var(--primary-600); }

/* ---------- 动画 ---------- */
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(249,115,22,0.5); } 70% { box-shadow: 0 0 0 8px rgba(249,115,22,0); } 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: opacity, transform; }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item[open] { border-color: var(--primary-soft); box-shadow: var(--shadow-card); }
.faq-item > summary {
    cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent;
    padding: 20px 24px; font-weight: 700; color: var(--ink-900);
    display: flex; align-items: center; gap: 14px; font-size: 1.06rem; line-height: 1.5;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary .qmark { color: var(--primary); font-weight: 800; flex: 0 0 auto; }
.faq-item > summary .qtext { flex: 1 1 auto; }
.faq-item > summary .qico {
    flex: 0 0 auto; width: 22px; height: 22px; color: var(--primary);
    transition: transform .3s var(--ease); position: relative;
}
.faq-item > summary .qico::before,
.faq-item > summary .qico::after {
    content: ""; position: absolute; background: currentColor; border-radius: 2px;
}
.faq-item > summary .qico::before { top: 10px; left: 2px; width: 18px; height: 2px; }
.faq-item > summary .qico::after { top: 2px; left: 10px; width: 2px; height: 18px; }
.faq-item[open] > summary .qico { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 24px 22px 56px; color: var(--ink-700); line-height: 1.85; font-size: 1rem; }
.faq-item .faq-a p { margin: 0 0 8px; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }
.faq-item .faq-a b { color: var(--ink-900); }
@media (max-width: 640px) {
    .faq-item > summary { padding: 16px 18px; font-size: 1rem; }
    .faq-item .faq-a { padding: 0 18px 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
    html { scroll-behavior: auto; }
}

/* ---------- 首页：产品展示 ---------- */
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.product-card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--border); background: var(--surface);
    box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
    display: flex; flex-direction: column; text-decoration: none; color: inherit; cursor: pointer;
}
.product-card::before {
    content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 3px; border-radius: 0 0 4px 4px;
    background: var(--grad-accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: transparent; }
.product-card:hover::before { transform: scaleX(1); }
.pc-media { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #EFF4FE, #E6F7F6); display: grid; place-items: center; overflow: hidden; position: relative; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; }
.pc-media .ph { color: var(--ink-400); font-size: 0.95rem; letter-spacing: 1px; }
.pc-body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.pc-sub { color: var(--accent); font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 10px; }
.pc-body h3 { font-size: 1.4rem; color: var(--ink-900); margin-bottom: 10px; }
.pc-body p { color: var(--ink-500); line-height: 1.75; margin-bottom: 20px; }
.pc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pc-tags span { font-size: 0.78rem; color: var(--primary-600); background: var(--primary-soft); border: 1px solid #D6E3FF; padding: 5px 12px; border-radius: 999px; }
.pc-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--primary-600); font-weight: 700; transition: gap 0.25s var(--ease); }
.pc-link:hover { gap: 14px; }

/* 首页 Hero 双产品概要 */
.home-hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.home-hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; text-align: left; max-width: 1120px; }
.hero-text { max-width: 540px; }
.home-hero .hero-title { font-size: var(--fs-hero); font-weight: 800; color: var(--ink-900); line-height: 1.18; }
.home-hero .hero-title .accent { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: block; }
.home-hero .hero-desc { font-size: 1.15rem; color: var(--ink-500); margin: 22px 0 30px; max-width: 480px; }
.home-hero .hero-actions { display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; }
.home-hero .hero-showcase { margin: 0; max-width: 100%; }
.hero-showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 560px; margin: 40px auto 0; }
.showcase-item { position: relative; display: block; border-radius: 20px; overflow: hidden; border: 1px solid var(--border-strong); background: #fff; box-shadow: var(--shadow-card); transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s; }
.showcase-item:hover { transform: translateY(-6px); box-shadow: 0 28px 64px rgba(15, 23, 42, 0.18); border-color: transparent; }
.showcase-item img { width: 100%; display: block; aspect-ratio: 9 / 19; object-fit: cover; object-position: top; }
.showcase-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 16px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #fff; font-size: 0.82rem; font-weight: 700; background: linear-gradient(180deg, rgba(8, 15, 30, 0) 0%, rgba(8, 15, 30, 0.66) 55%, rgba(8, 15, 30, 0.82) 100%); }
.showcase-label span { font-weight: 500; opacity: 0.85; white-space: nowrap; }
.home-products-peek { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 46px; }
.home-products-peek a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); color: var(--ink-700); font-weight: 600; transition: transform 0.25s var(--ease), border-color 0.25s, color 0.25s; }
.home-products-peek a:hover { transform: translateY(-3px); border-color: var(--primary); color: var(--primary-600); }

/* 小程序手机样机（浅色） */
.phone { width: 280px; border-radius: 36px; background: #fff; border: 1px solid var(--border-strong); padding: 10px; box-shadow: var(--shadow-card); margin: 0 auto; animation: floaty 6s ease-in-out infinite; }
.phone-screen { border-radius: 28px; overflow: hidden; background: #fff; }
.phone-screen img { width: 100%; display: block; }

/* ---------- 在线工具页 ---------- */
.hero-slim { padding: 132px 0 54px; }
.hero-slim .container { grid-template-columns: 1fr; text-align: center; }
.hero-slim .hero-content { max-width: 800px; margin: 0 auto; }
.hero-slim .hero-actions { justify-content: center; }

.tool-wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 26px; align-items: start; }
.tool-left { display: grid; gap: 22px; }
.tool-right { display: grid; gap: 22px; }
.tool-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-card); }
.tool-card-title { color: var(--ink-900); font-size: 1.15rem; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-700); margin-bottom: 7px; }
.field .hint { font-weight: 400; color: var(--ink-400); font-size: 0.74rem; margin-left: 4px; }
.field input, .field select { width: 100%; padding: 11px 13px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font-size: 0.95rem; font-family: inherit; color: var(--ink-900); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.tool-note { margin-top: 4px; font-size: 0.78rem; color: var(--ink-400); line-height: 1.7; }
.tool-reset { font-size: 0.88rem; padding: 11px 16px; cursor: pointer; border: 1px solid var(--border-strong); background: #fff; color: var(--ink-700); font-family: inherit; border-radius: var(--radius-sm); transition: border-color 0.2s, color 0.2s; }
.tool-reset:hover { border-color: var(--primary); color: var(--primary-600); }

/* 保费表格 */
.calc-table-wrap { overflow-x: auto; }
.calc-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 360px; }
.calc-table th, .calc-table td { padding: 10px 8px; text-align: left; vertical-align: middle; }
.calc-table thead th { color: var(--ink-500); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em; border-bottom: 1px solid var(--border-strong); white-space: nowrap; }
.calc-table tbody tr { border-bottom: 1px solid var(--border); }
.calc-table tbody tr:last-child { border-bottom: none; }
.c-name { color: var(--ink-900); font-weight: 600; white-space: nowrap; width: 30%; }
/* 保费：够放 6 位数并保持最小宽度；手续费率：最多两位 */
.calc-table td:nth-child(2) input[type="number"] { width: 104px; min-width: 88px; }
.calc-table td:nth-child(3) input[type="number"] { width: 62px; min-width: 56px; }
.calc-table input[type="number"] { padding: 9px 10px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font-size: 0.92rem; font-family: inherit; color: var(--ink-900); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; -moz-appearance: textfield; appearance: textfield; }
.calc-table input[type="number"]::-webkit-outer-spin-button,
.calc-table input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-table input[type="number"]:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.calc-table th.th-fee, .calc-table td.c-fee { width: 108px; min-width: 92px; text-align: right; white-space: nowrap; }
.calc-table th.th-tax, .calc-table td.c-tax { width: 76px; min-width: 68px; text-align: center; }
.c-tax input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--primary); cursor: pointer; }
.c-fee { color: var(--primary-600); font-weight: 700; font-variant-numeric: tabular-nums; }
.table-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }
.check-all { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--ink-700); cursor: pointer; }
.check-all input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--primary); cursor: pointer; }

/* 结果面板 —— 合计强调 */
.rline-strong { margin-top: 4px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.3); }
.rline-strong b { color: #FDBA74; font-size: 1.15rem; }
.rline-hint { display: block; font-size: 0.72rem; font-weight: 400; color: rgba(255,255,255,0.62); margin-top: 1px; }

.calc-result { background: linear-gradient(160deg, #1D4ED8 0%, #2563EB 100%); border-radius: var(--radius-lg); padding: 30px 28px; color: #fff; box-shadow: 0 22px 50px rgba(37, 99, 235, 0.28); position: sticky; top: 100px; }
.cr-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.cr-head h3 { color: #fff; font-size: 1.1rem; font-weight: 600; }
.cr-copy { background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.28); color: #fff; font-size: 0.78rem; padding: 6px 12px; border-radius: 999px; cursor: pointer; font-family: inherit; transition: background 0.2s, color 0.2s; }
.cr-copy:hover { background: rgba(255,255,255,0.3); }
.cr-copy.copied { background: #fff; color: var(--primary-600); border-color: transparent; }
.cr-profit { text-align: center; padding: 16px 0 22px; border-bottom: 1px dashed rgba(255,255,255,0.24); }
.cp-label { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.78); letter-spacing: 0.06em; }
.cp-value { display: block; font-size: 2.6rem; font-weight: 800; line-height: 1.2; margin: 2px 0 4px; font-variant-numeric: tabular-nums; }
.cp-value.negative { color: #FDBA74; }
.cp-meta { font-size: 0.82rem; color: rgba(255,255,255,0.82); }
.cp-meta b { color: #FDBA74; }
.cr-lines { padding: 18px 0 6px; }
.rline { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 0.9rem; color: rgba(255,255,255,0.86); }
.rline b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.cr-cta { display: block; margin-top: 18px; text-align: center; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.3); border-radius: var(--radius-sm); padding: 12px; font-size: 0.88rem; font-weight: 600; color: #fff; transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease); }
.cr-cta:hover { background: #fff; color: var(--primary-600); transform: translateY(-2px); }
.cr-cta .btn-arrow { transition: transform 0.3s var(--ease); }
.cr-cta:hover .btn-arrow { transform: translateX(4px); }

.policy-wrap { max-width: 860px; margin: 0 auto; }
.policy-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 0.95rem; }
.policy-table th, .policy-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.policy-table thead th { background: var(--surface-2); color: var(--ink-900); font-size: 0.86rem; }
.policy-table tbody tr:last-child td { border-bottom: none; }
.policy-table td:first-child { color: var(--ink-900); font-weight: 600; }
.policy-tips { margin-top: 20px; padding-left: 22px; color: var(--ink-500); font-size: 0.9rem; line-height: 1.9; }
.policy-tips li { margin-bottom: 4px; }
.policy-tips li::marker { color: var(--primary); }

@media (max-width: 1024px) {
    .tool-wrap { grid-template-columns: 1fr; }
    .calc-result { position: static; }
}
@media (max-width: 768px) {
    .hero-slim { padding: 118px 0 44px; }
    .field-row { grid-template-columns: 1fr; }
    .tool-card { padding: 24px 20px; }
    .calc-result { padding: 24px 20px; }
    .cp-value { font-size: 2.1rem; }
    .policy-table th, .policy-table td { padding: 11px 12px; font-size: 0.88rem; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-stats { justify-content: center; }
    .float-panel { right: 0; }
    .home-hero .container { grid-template-columns: 1fr; text-align: center; gap: 36px; }
    .hero-text { max-width: none; margin: 0 auto; }
    .home-hero .hero-desc { margin-left: auto; margin-right: auto; }
    .home-hero .hero-actions { justify-content: center; }
    .home-hero .hero-showcase { margin: 0 auto; max-width: 420px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
    .detail-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .main-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
        background: rgba(255,255,255,0.97); backdrop-filter: blur(18px); padding: 16px 24px; border-bottom: 1px solid var(--border);
        transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform 0.3s var(--ease), opacity 0.3s; box-shadow: var(--shadow-sm); }
    .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
    .main-nav a { padding: 10px 0; color: var(--ink-700); }
    .mobile-menu-btn { display: flex; }
    .feature-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .float-panel { display: none; }
    .cta-card { flex-direction: column; text-align: center; padding: 32px 24px; }
    .cta-actions { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .home-hero { padding: 118px 0 64px; }
    .hero-showcase { gap: 12px; margin-top: 32px; }
    .showcase-label { font-size: 0.7rem; padding: 12px 10px; }
    .showcase-label span { display: none; }
}
