/* ==========================================================================
   喜礼季官网 · 全站共享样式
   https://www.xiliji.tech/
   品牌色 #ff3355；金色渐变 --gradient-gold
   ========================================================================== */

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f8f8;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    --accent: #ff3355;
    --accent-light: #ff6680;
    --accent-dark: #cc2244;
    --border: rgba(255, 51, 85, 0.15);
    --border-light: rgba(255, 51, 85, 0.08);
    --gradient-gold: linear-gradient(135deg, #ff3355 0%, #ff6680 50%, #ff3355 100%);
    --shadow-gold: 0 8px 30px rgba(255, 51, 85, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-dark); border-radius: 3px; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ---------- Layout utilities ---------- */
.container { max-width: 1200px; margin: 0 auto; }
.inner-narrow { max-width: 1120px; margin: 0 auto; }
.text-center { text-align: center; }

/* ---------- Header ---------- */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0 5%; height: 72px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
nav ul { display: flex; list-style: none; gap: 26px; }
nav a {
    color: var(--text-secondary); text-decoration: none;
    font-size: 15px; font-weight: 500; transition: color 0.3s; position: relative;
    white-space: nowrap;
}
nav a:hover { color: var(--accent-light); }
nav > ul > li > a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--accent); transition: width 0.3s;
}
nav > ul > li > a:hover::after { width: 100%; }
.header-cta {
    padding: 10px 22px; background: var(--gradient-gold); color: #ffffff;
    border: none; border-radius: 8px; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: all 0.3s; text-decoration: none; display: inline-block;
    flex-shrink: 0; white-space: nowrap;
}
.header-cta:hover { box-shadow: var(--shadow-gold); transform: translateY(-2px); }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.mobile-menu-btn span { width: 24px; height: 2px; background: var(--text-primary); transition: all 0.3s; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown > a::after { content: ' ▾'; font-size: 10px; opacity: 0.6; }
.dropdown-menu {
    position: absolute; top: calc(100% + 12px); left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
    padding: 8px 0; min-width: 190px; list-style: none;
    opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 1001;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.14);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu::before {
    content: ''; position: absolute; top: -6px; left: 50%;
    transform: translateX(-50%) rotate(45deg); width: 12px; height: 12px;
    background: var(--bg-card); border-left: 1px solid var(--border); border-top: 1px solid var(--border);
}
.dropdown-menu li { margin: 0; }
.dropdown-menu a { display: block; padding: 10px 24px; font-size: 14px; white-space: nowrap; }
.dropdown-menu a:hover { background: rgba(255, 51, 85, 0.1); color: var(--accent-light); }

/* ---------- Buttons ---------- */
.btn-primary {
    padding: 14px 36px; background: var(--gradient-gold); color: #ffffff;
    border: none; border-radius: 10px; font-size: 16px; font-weight: 600;
    cursor: pointer; transition: all 0.3s; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-primary:hover { box-shadow: var(--shadow-gold); transform: translateY(-3px); }
.btn-secondary {
    padding: 14px 36px; background: transparent; color: var(--text-primary);
    border: 1px solid var(--border); border-radius: 10px; font-size: 16px; font-weight: 500;
    cursor: pointer; transition: all 0.3s; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); background: rgba(255, 51, 85, 0.06); }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Hero (首页) ---------- */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 5% 80px; position: relative; overflow: hidden;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0.62) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 920px; animation: fadeInUp 1s ease; }
.hero-tag {
    display: inline-block; padding: 8px 20px; border: 1px solid var(--border); border-radius: 100px;
    font-size: 13px; color: #ffffff; letter-spacing: 2px; margin-bottom: 28px; background: rgba(255, 51, 85, 0.35);
}
.hero h1 { font-size: clamp(32px, 5.4vw, 58px); font-weight: 800; line-height: 1.18; margin-bottom: 20px; letter-spacing: -1px; color: #ffffff; }
.hero-subtitle { font-size: clamp(16px, 2vw, 20px); color: rgba(255, 255, 255, 0.88); margin-bottom: 40px; max-width: 660px; margin-left: auto; margin-right: auto; }
.hero .btn-secondary { color: #ffffff; border-color: rgba(255, 255, 255, 0.55); }
.hero .btn-secondary:hover { border-color: #ffffff; background: rgba(255, 255, 255, 0.12); color: #ffffff; }

.gold { background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ---------- Page hero（内页 banner） ---------- */
.page-hero {
    padding: 150px 5% 70px; text-align: center; position: relative; overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 51, 85, 0.08) 0%, rgba(255, 102, 128, 0.05) 50%, rgba(255, 51, 85, 0.08) 100%);
    border-bottom: 1px solid var(--border-light);
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(255, 51, 85, 0.12), transparent); }
.page-hero .inner { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; animation: fadeInUp 0.9s ease; }
.page-tag {
    display: inline-block; padding: 8px 20px; border: 1px solid var(--border); border-radius: 100px;
    font-size: 13px; color: var(--accent); letter-spacing: 2px; margin-bottom: 26px; background: rgba(255, 51, 85, 0.08);
}
.page-hero h1 { font-size: clamp(26px, 4.2vw, 44px); font-weight: 800; line-height: 1.26; margin-bottom: 18px; letter-spacing: -0.5px; }
.page-hero p { font-size: 17px; color: var(--text-secondary); max-width: 720px; margin: 0 auto 32px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { max-width: 1200px; margin: 0 auto; padding: 92px 5% 0; font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }

/* ---------- Sections ---------- */
section { padding: 96px 5%; }
.bg-soft { background: var(--bg-secondary); }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-tag { display: inline-block; font-size: 13px; color: var(--accent); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; }
.section-title { font-size: clamp(26px, 3.6vw, 38px); font-weight: 700; margin-bottom: 16px; line-height: 1.32; }
.section-desc { font-size: 17px; color: var(--text-secondary); max-width: 760px; margin: 0 auto; }
.sub-title { font-size: 20px; font-weight: 600; margin: 0 0 18px 2px; }
.lead { font-size: 17px; color: var(--text-secondary); }

/* ---------- Stats ---------- */
.stats { padding: 44px 5%; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.stats-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-item h3 { font-size: 34px; font-weight: 700; background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 8px; }
.stat-item p { font-size: 14px; color: var(--text-secondary); }

/* ---------- Cards ---------- */
.cards-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-grid.col2 { grid-template-columns: repeat(2, 1fr); max-width: 960px; }
.card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
    padding: 34px 28px; transition: all 0.4s ease; position: relative; overflow: hidden;
}
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient-gold); opacity: 0; transition: opacity 0.4s; }
.card:hover { background: var(--bg-card-hover); border-color: rgba(255, 51, 85, 0.25); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); }
.card:hover::before { opacity: 1; }
.card-number { font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 2px; margin-bottom: 14px; }
.card-icon {
    width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 51, 85, 0.12);
    display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px;
}
.card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--text-secondary); line-height: 1.75; }
.card strong { color: var(--accent); }

/* ---------- Feature rows (能力详情) ---------- */
.feature-rows { max-width: 1000px; margin: 0 auto; }
.feature-row {
    display: flex; gap: 24px; align-items: flex-start;
    padding: 30px 32px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; margin-bottom: 18px; transition: all 0.35s;
}
.feature-row:hover { border-color: rgba(255, 51, 85, 0.25); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.1); transform: translateY(-3px); }
.feature-row .ico {
    width: 54px; height: 54px; border-radius: 14px; background: rgba(255, 51, 85, 0.12);
    display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0;
}
.feature-row h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.feature-row p { font-size: 15px; color: var(--text-secondary); }

/* ---------- Steps（使用流程） ---------- */
.steps { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 30px 24px; text-align: center; transition: all 0.35s; }
.step:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.1); }
.step .num { width: 40px; height: 40px; margin: 0 auto 16px; border-radius: 50%; background: var(--gradient-gold); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-secondary); }

/* ---------- Plan / Pricing ---------- */
.plan-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 36px 30px; display: flex; flex-direction: column; position: relative; transition: all 0.4s; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.13); border-color: rgba(255, 51, 85, 0.28); }
.plan.featured { border-color: var(--accent); box-shadow: var(--shadow-gold); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gradient-gold); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 1px; padding: 5px 16px; border-radius: 100px; }
.plan-name { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.plan-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; min-height: 22px; }
.plan-price { display: flex; align-items: flex-end; gap: 4px; margin-bottom: 24px; }
.plan-price .num { font-size: 46px; font-weight: 800; line-height: 1; background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.plan-price .unit { font-size: 16px; color: var(--text-secondary); padding-bottom: 6px; }
.plan .who { font-size: 14.5px; color: var(--text-secondary); flex: 1; }
.plan ul { list-style: none; margin-bottom: 28px; flex: 1; }
.plan li { font-size: 14px; color: var(--text-secondary); padding: 9px 0; border-bottom: 1px dashed var(--border-light); display: flex; gap: 8px; }
.plan li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.plan .btn { display: block; text-align: center; padding: 13px; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; transition: all 0.3s; }
.plan .btn-outline { border: 1px solid var(--border); color: var(--text-primary); }
.plan .btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.plan .btn-solid { background: var(--gradient-gold); color: #fff; }
.plan .btn-solid:hover { box-shadow: var(--shadow-gold); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--border); background: var(--bg-card); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
thead th { background: rgba(255, 51, 85, 0.07); color: var(--text-primary); font-size: 15px; font-weight: 600; padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
tbody td { padding: 15px 20px; font-size: 14.5px; color: var(--text-secondary); border-bottom: 1px solid var(--border-light); vertical-align: top; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--bg-card-hover); }
tbody td:first-child { color: var(--text-primary); font-weight: 500; }
.hl { color: var(--accent); font-weight: 700; }
.col-reco { background: rgba(255, 51, 85, 0.05); }

/* ---------- Numbered list（why / 建议） ---------- */
.why-list { max-width: 900px; margin: 0 auto; list-style: none; counter-reset: w; }
.why-list li { position: relative; padding: 20px 24px 20px 64px; margin-bottom: 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; font-size: 15px; color: var(--text-secondary); }
.why-list li::before {
    counter-increment: w; content: counter(w);
    position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
    width: 26px; height: 26px; border-radius: 50%; background: var(--gradient-gold); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.why-list li strong { color: var(--text-primary); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 24px 26px; margin-bottom: 14px; }
.faq-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; color: var(--text-primary); display: flex; gap: 10px; }
.faq-item h3 span { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.faq-item p { font-size: 15px; color: var(--text-secondary); padding-left: 26px; }

/* ---------- Trust chips ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; max-width: 960px; margin: 0 auto; }
.trust-item { display: flex; align-items: center; gap: 10px; padding: 14px 24px; border: 1px solid var(--border); border-radius: 100px; font-size: 15px; color: var(--text-primary); background: var(--bg-card); }
.trust-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gradient-gold); flex-shrink: 0; }

/* ---------- Blog ---------- */
.blog-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: all 0.35s; }
.blog-card:hover { transform: translateY(-6px); border-color: rgba(255, 51, 85, 0.25); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); }
.blog-card .blog-tag { display: inline-block; font-size: 12px; color: var(--accent); background: rgba(255, 51, 85, 0.1); border-radius: 6px; padding: 3px 10px; margin-bottom: 14px; align-self: flex-start; }
.blog-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; line-height: 1.45; }
.blog-card p { font-size: 14px; color: var(--text-secondary); flex: 1; }
.blog-card .blog-meta { font-size: 12.5px; color: var(--text-muted); margin-top: 16px; }

/* ---------- Article（博客正文） ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article .article-meta { font-size: 13.5px; color: var(--text-muted); margin-bottom: 32px; }
.article h2 { font-size: 25px; font-weight: 700; margin: 44px 0 16px; line-height: 1.4; }
.article h3 { font-size: 19px; font-weight: 600; margin: 30px 0 12px; }
.article p { font-size: 16.5px; color: #333; margin-bottom: 18px; }
.article ul, .article ol { margin: 0 0 18px 22px; }
.article li { font-size: 16px; color: #333; margin-bottom: 8px; }
.article blockquote { border-left: 3px solid var(--accent); background: rgba(255, 51, 85, 0.05); padding: 14px 20px; border-radius: 0 10px 10px 0; margin: 0 0 18px; font-size: 15.5px; color: var(--text-secondary); }
.article strong { color: var(--text-primary); }
.article p a, .article li a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(255, 51, 85, 0.35); transition: color 0.2s, border-color 0.2s; }
.article p a:hover, .article li a:hover { color: var(--accent-dark); border-bottom-color: var(--accent-dark); }
.article-cta { margin-top: 48px; padding: 34px 30px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 16px; text-align: center; }
.article-cta h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.article-cta p { font-size: 15px; color: var(--text-secondary); margin-bottom: 20px; }

/* ---------- Related links ---------- */
.related-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-link { display: block; padding: 22px 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; text-decoration: none; color: inherit; transition: all 0.3s; }
.related-link:hover { border-color: var(--accent); transform: translateY(-4px); }
.related-link h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.related-link p { font-size: 13.5px; color: var(--text-secondary); }

/* ---------- CTA section ---------- */
.cta-section { background: var(--bg-secondary); text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 51, 85, 0.12), transparent); }
.cta-section .section-header { position: relative; z-index: 1; margin-bottom: 8px; }
.cta-section .hero-buttons { position: relative; z-index: 1; margin-top: 34px; }
.cta-phone { position: relative; z-index: 1; margin-top: 22px; font-size: 15px; color: var(--text-secondary); }
.cta-phone a { color: var(--accent); font-weight: 600; text-decoration: none; }

/* ---------- Footer ---------- */
footer { background: var(--bg-secondary); padding: 60px 5% 30px; border-top: 1px solid var(--border-light); }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1.2fr 1fr 1fr; gap: 44px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; max-width: 300px; margin-top: 16px; }
.footer-col h4 { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 20px; letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--text-secondary); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 30px; border-top: 1px solid var(--border-light); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    nav ul { gap: 16px; }
}
@media (max-width: 1024px) {
    .cards-grid, .blog-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid.col2, .cards-grid.col2 { grid-template-columns: 1fr; }
    .plan-grid { grid-template-columns: 1fr; max-width: 460px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    nav { display: none; }
    .header-cta { display: none; }
    .mobile-menu-btn { display: flex; }
}
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .cards-grid, .blog-grid, .related-grid, .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; max-width: 300px; }
    .feature-row { flex-direction: column; }
    .why-list li { padding-left: 56px; }
    section { padding: 68px 5%; }
    .breadcrumb { padding-top: 88px; }
}

/* ---------- QR CTA（扫码体验） ---------- */
.qr-cta { background: var(--bg-secondary); }
.qr-cta-inner {
    position: relative;
    max-width: 940px;
    margin: 0 auto;
    padding: 52px 56px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 56px;
    align-items: center;
    overflow: hidden;
}
.qr-cta-inner::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--accent), var(--accent-light));
}
.qr-cta-text .section-tag { margin-bottom: 12px; }
.qr-cta-text h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.4; margin-bottom: 16px; }
.qr-cta-text > p { font-size: 15px; color: var(--text-secondary); line-height: 1.9; }
.qr-cta-list { list-style: none; margin: 20px 0 28px; }
.qr-cta-list li { position: relative; padding-left: 24px; margin-bottom: 10px; font-size: 14px; color: var(--text-secondary); }
.qr-cta-list li::before { content: '✓'; position: absolute; left: 0; top: -1px; color: var(--accent); font-weight: 700; }
.qr-cta-text .hero-buttons { justify-content: flex-start; margin-top: 0; gap: 12px; }
.qr-cta-text .btn-primary, .qr-cta-text .btn-secondary { padding: 12px 24px; font-size: 14px; }
.qr-cta-code { text-align: center; }
.qr-cta-code img { display: block; width: 220px; height: 220px; margin: 0 auto; padding: 8px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 14px; }
.qr-cta-code p { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--text-primary); }
.qr-cta-code span { display: block; margin-top: 4px; font-size: 12px; color: var(--text-muted); }
@media (max-width: 860px) {
    .qr-cta-inner { grid-template-columns: 1fr; gap: 32px; padding: 36px 24px; }
    .qr-cta-text { text-align: center; }
    .qr-cta-text .hero-buttons { justify-content: center; }
    .qr-cta-list { display: inline-block; text-align: left; }
    .qr-cta-code img { width: 190px; height: 190px; }
}

/* ---------- 功能说明页 ---------- */
.fg-group { margin-bottom: 64px; }
.fg-group:last-child { margin-bottom: 0; }
.fg-group-head { margin-bottom: 26px; }
.fg-group-head h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.fg-group-head p { font-size: 14px; color: var(--text-secondary); }

.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.video-grid.is-portrait { grid-template-columns: repeat(3, 230px); justify-content: center; }

.video-card { background: #fff; border: 1px solid rgba(0, 0, 0, 0.06); border-radius: 16px; overflow: hidden; cursor: pointer; transition: transform 0.24s ease, box-shadow 0.24s ease; display: flex; flex-direction: column; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1); }
.video-card .thumb { position: relative; overflow: hidden; background: #111; aspect-ratio: 16 / 9; }
.video-grid.is-portrait .video-card .thumb { aspect-ratio: 3 / 4; }
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s ease; }
.video-card:hover .thumb img { transform: scale(1.05); }
.video-card .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.12); }
.video-card .play i { width: 52px; height: 52px; border-radius: 50%; background: rgba(0, 0, 0, 0.55); color: #fff; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 17px; padding-left: 3px; backdrop-filter: blur(2px); }
.video-card .time { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 10px; background: rgba(0, 0, 0, 0.66); color: #fff; font-size: 12px; }
.video-card .meta { padding: 14px 16px 18px; }
.video-card .meta h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.video-card .meta p { font-size: 13px; line-height: 1.7; color: var(--text-secondary); }

.fg-books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.fg-book { display: grid; grid-template-columns: 150px minmax(0, 1fr); background: #fff; border: 1px solid rgba(0, 0, 0, 0.06); border-radius: 16px; overflow: hidden; }
.fg-book .cover { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; background: #f2f2f2; }
.fg-book .body { padding: 22px 22px 20px; display: flex; flex-direction: column; }
.fg-book .body h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.fg-book .body .desc { font-size: 13px; line-height: 1.8; color: var(--text-secondary); flex: 1; }
.fg-book .body .spec { margin-top: 12px; font-size: 12px; color: var(--text-muted); }
.fg-book .actions { display: flex; gap: 10px; margin-top: 14px; }
.fg-book .actions a { flex: 1; text-align: center; padding: 9px 10px; border-radius: 8px; font-size: 13px; text-decoration: none; }
.fg-book .actions .solid { background: var(--accent); color: #fff; }
.fg-book .actions .ghost { border: 1px solid rgba(0, 0, 0, 0.12); color: var(--text-primary); }

/* 视频播放层 */
.fg-mask { position: fixed; inset: 0; z-index: 9998; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(10, 10, 12, 0.9); }
.fg-mask.open { display: flex; }
.fg-mask video { max-width: 100%; max-height: 84vh; background: #000; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.fg-mask .close { position: absolute; top: 18px; right: 22px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }

/* 手册逐页预览 */
.fg-viewer { position: fixed; inset: 0; z-index: 9999; display: none; flex-direction: column; background: rgba(8, 8, 10, 0.95); }
.fg-viewer.open { display: flex; }
.fg-viewer .vtop { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; color: #fff; font-size: 14px; }
.fg-viewer .vtop .close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.fg-viewer .stage { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; padding: 8px 20px 0; min-height: 0; }
.fg-viewer .stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5); background: #fff; }
.fg-viewer .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.fg-viewer .nav:hover { background: rgba(255, 255, 255, 0.28); }
.fg-viewer .nav.prev { left: 22px; }
.fg-viewer .nav.next { right: 22px; }
.fg-viewer .vbar { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 14px 20px 22px; color: #fff; font-size: 13px; }
.fg-viewer .vbar a { color: #fff; text-decoration: underline; }

@media (max-width: 900px) {
    .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .video-grid.is-portrait { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fg-books { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .video-grid, .video-grid.is-portrait { grid-template-columns: 1fr; }
    .video-grid.is-portrait .video-card .thumb { aspect-ratio: 16 / 9; }
    .fg-book { grid-template-columns: 104px minmax(0, 1fr); }
    .fg-book .body { padding: 16px; }
    .fg-viewer .nav { width: 38px; height: 38px; font-size: 17px; }
    .fg-viewer .nav.prev { left: 6px; }
    .fg-viewer .nav.next { right: 6px; }
}
