/* =========================================
   1. 基础变量与全局重置
   ========================================= */
:root {
  --color-ink: #1f2937;
  --color-muted: #6b7280;
  --color-brand: #20a53a;
  --color-brand-dark: #18822d;
  --shadow-sm: 0 4px 12px rgba(32, 165, 58, 0.05);
  --shadow-md: 0 12px 28px rgba(32, 165, 58, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --container: 1320px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--color-ink); background: #fff; font-family: var(--font-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--color-brand); text-decoration: none; transition: all 0.2s; }
a:hover { color: var(--color-brand-dark); }
h1, h2, h3 { margin: 0 0 0.6em; line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* =========================================
   2. 通用区块 (数据、分类、模板、优势、FAQ)
   ========================================= */
.bg-featured { background: #ffffff; }
.bg-data { position: relative; background-color: #fafafa; overflow: hidden; }
.bg-data::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(rgba(32, 165, 58, 0.15) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent); }
.bg-data::after { content: ''; position: absolute; top: -50%; left: -20%; width: 60%; height: 200%; background: radial-gradient(circle, rgba(32, 165, 58, 0.06) 0%, transparent 60%); z-index: 0; pointer-events: none; }
.bg-data .container { position: relative; z-index: 1; }
.bg-category { position: relative; background-color: #ffffff; overflow: hidden; }
.bg-category::before { content: ''; position: absolute; bottom: -50%; right: -20%; width: 60%; height: 150%; background: radial-gradient(circle, rgba(14, 165, 233, 0.04) 0%, transparent 60%); z-index: 0; pointer-events: none; }
.bg-category .container { position: relative; z-index: 1; }
.bg-value { position: relative; background-color: #f4fcf6; overflow: hidden; }
.bg-value::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(32, 165, 58, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(32, 165, 58, 0.03) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 80%); -webkit-mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 80%); }
.bg-value::after { content: ''; position: absolute; top: -20%; right: -10%; width: 50%; height: 100%; background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 60%); z-index: 0; pointer-events: none; }
.bg-value .container { position: relative; z-index: 1; }
.bg-faq { background: #ffffff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 30px; padding: 0 32px; height: 52px; font-size: 1rem; font-weight: 600; transition: all 0.3s; cursor: pointer; }
.btn-sm { height: 40px; padding: 0 20px; font-size: 0.9rem; }
.btn-primary { background: linear-gradient(135deg, #20a53a 0%, #18822d 100%); box-shadow: 0 8px 20px rgba(32, 165, 58, 0.25); border: none; color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(32, 165, 58, 0.35); color: #fff; }
.btn-primary i { transition: transform 0.3s; }
.btn-primary:hover i { transform: translateX(4px); }
.btn-secondary { background: #fff; border: 2px solid #e2e8f0; color: var(--color-ink); }
.btn-secondary:hover { border-color: var(--color-brand); color: var(--color-brand); }
.btn-white { background: #fff; color: var(--color-brand); border: none; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.btn-white:hover { background: #f0fdf4; color: var(--color-brand-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

/* =========================================
   3. 头部导航系统
   ========================================= */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(22, 93, 255, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--color-ink); font-weight: 700; }
.logo-mark { display: grid; place-items: center; width: 38px; height: 38px; background: linear-gradient(135deg, #20a53a, #18822d); color: #fff; border-radius: 10px; font-size: 1.2rem; box-shadow: 0 4px 10px rgba(32, 165, 58, 0.3); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; font-size: 1.15rem; }
.logo-text small { margin-top: 2px; color: var(--color-muted); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.05em; }

.pc-nav { display: flex; }
.nav-list { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a { color: var(--color-ink) !important; font-weight: 600; font-size: 1rem; padding: 24px 0; display: block; position: relative; transition: color 0.3s; }
.nav-list > li > a:hover { color: var(--color-brand) !important; }
.nav-list > li > a::after { content: ''; position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background: var(--color-brand); border-radius: 2px; transition: width 0.3s ease; }
.nav-list > li > a:hover::after, .nav-link-active::after { width: 100%; }
.nav-link-active { color: var(--color-brand) !important; }

.has-dropdown .dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); min-width: 240px; padding: 12px 0; background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; list-style: none; }
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu li { width: 100%; margin: 0; }
.dropdown-menu a { padding: 12px 24px; font-size: 0.95rem; font-weight: 500; display: flex; align-items: center; gap: 10px; color: var(--color-ink); }
.dropdown-menu a i { color: var(--color-muted); font-size: 1.1rem; width: 20px; text-align: center; transition: color 0.3s; }
.dropdown-menu a:hover { background: #f0fdf4; color: var(--color-brand); padding-left: 30px; }
.dropdown-menu a:hover i { color: var(--color-brand); }
.arrow { font-size: 0.8rem; margin-left: 4px; transition: transform 0.3s; }
.has-dropdown:hover .arrow { transform: rotate(180deg); }

.header-right { display: flex; align-items: center; gap: 20px; }
.pc-search { display: flex; align-items: center; background: #f1f5f9; border-radius: 30px; padding: 4px 6px 4px 16px; border: 1px solid transparent; transition: all 0.3s; }
.pc-search:focus-within { background: #fff; border-color: var(--color-brand); box-shadow: 0 0 0 3px rgba(32, 165, 58, 0.1); }
.pc-search input { border: none; background: transparent; outline: none; font-size: 0.9rem; width: 140px; color: var(--color-ink); }
.pc-search button { background: var(--color-brand); color: #fff; border: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.3s; }
.pc-search button:hover { background: var(--color-brand-dark); }
.header-right .btn { box-shadow: 0 4px 15px rgba(32, 165, 58, 0.2); }

.mobile-toggle { display: none; background: transparent; border: 1px solid #e2e8f0; width: 40px; height: 40px; border-radius: 8px; font-size: 1.2rem; color: var(--color-ink); cursor: pointer; align-items: center; justify-content: center; }

.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1001; opacity: 0; visibility: hidden; transition: all 0.3s; }
.mobile-overlay.is-open { opacity: 1; visibility: visible; }
.mobile-drawer { position: fixed; top: 0; right: 0; width: 85%; max-width: 320px; height: 100vh; background: #fff; z-index: 1002; transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; box-shadow: -4px 0 24px rgba(0,0,0,0.1); }
.mobile-drawer.is-open { transform: translateX(0); }
.m-drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 0 20px; height: 64px; border-bottom: 1px solid #e2e8f0; flex-shrink: 0; }
.m-drawer-title { font-weight: 700; font-size: 1.1rem; color: var(--color-ink); }
.m-drawer-close { background: none; border: none; font-size: 1.5rem; color: #94a3b8; cursor: pointer; transition: color 0.3s; }
.m-drawer-close:hover { color: var(--color-ink); }
.m-drawer-search { padding: 16px 20px; display: flex; border-bottom: 1px solid #e2e8f0; flex-shrink: 0; background: #f8fafc; }
.m-drawer-search input { flex: 1; padding: 10px 16px; border: 1px solid #e2e8f0; border-radius: 8px 0 0 8px; outline: none; font-size: 0.95rem; background: #fff; }
.m-drawer-search button { padding: 0 16px; background: var(--color-brand); color: #fff; border: none; border-radius: 0 8px 8px 0; cursor: pointer; }
.m-nav-list { list-style: none; padding: 0; margin: 0; flex: 1; overflow-y: auto; }
.m-nav-item { border-bottom: 1px solid #f1f5f9; }
.m-nav-header { display: flex; justify-content: space-between; align-items: center; }
.m-nav-link { display: block; padding: 16px 20px; font-size: 1.05rem; font-weight: 600; color: var(--color-ink) !important; flex: 1; }
.m-dropdown-toggle { width: 56px; height: 56px; background: none; border: none; color: #94a3b8; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.m-has-dropdown.is-open .m-dropdown-toggle i { transform: rotate(180deg); color: var(--color-brand); }
.m-submenu { display: none; list-style: none; padding: 8px 0; margin: 0; background: #f8fafc; }
.m-has-dropdown.is-open .m-submenu { display: block; }
.m-submenu a { display: block; padding: 12px 20px 12px 40px; color: var(--color-muted); font-size: 0.95rem; }
.m-submenu a:hover { color: var(--color-brand); }

/* =========================================
   4. 首页 Hero 与通用版块
   ========================================= */
.hero { position: relative; padding: 100px 0 80px; overflow: hidden; }
.hero-bg-grid { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(32, 165, 58, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(32, 165, 58, 0.04) 1px, transparent 1px); background-size: 50px 50px; mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 70%); -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 70%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 0.65fr; gap: 60px; align-items: center; }
.eyebrow { margin-bottom: 12px; color: var(--color-brand); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border: 1px solid #dff2e8; border-radius: 20px; background: #edf8f2; display: inline-flex; align-items: center; }
.direct-answer { font-size: 1.15rem; line-height: 1.8; color: var(--color-muted); max-width: 800px; }
.bg-hero {
    background: radial-gradient(circle at 85% 15%, rgba(32, 165, 58, 0.08) 0%, transparent 40%), radial-gradient(circle at 15% 85%, rgba(32, 165, 58, 0.06) 0%, transparent 40%), #ffffff;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 32px 0; }
.hero-visual { position: relative; width: 100%; max-width: 350px; margin-left: auto; }
.browser-frame { background: #ffffff; border-radius: 16px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0,0,0,0.02); overflow: hidden; display: flex; flex-direction: column; height: 395px; }
.browser-header { height: 44px; background: #f8fafc;  display: flex; align-items: center; padding: 0 16px; position: relative; z-index: 10; }
.browser-header .dots { display: flex; gap: 6px; }
.browser-header .dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-header .dot.red { background: #ff5f56; }
.browser-header .dot.yellow { background: #ffbd2e; }
.browser-header .dot.green { background: #27c93f; }
.browser-url { position: absolute; right: 16px; font-size: 0.75rem; color: #94a3b8; font-family: monospace; }
.browser-body { flex: 1; position: relative; background: #f1f5f9; overflow: hidden; }
.carousel-track { width: 100%; height: 100%; position: relative; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; display: flex; align-items: flex-end; background: #f8fafc; }
.carousel-slide.active { opacity: 1; z-index: 1; }
.carousel-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.carousel-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%); pointer-events: none; }
.slide-overlay { position: relative; z-index: 2; padding: 24px; color: #fff; width: 100%; transform: translateY(10px); transition: transform 0.6s ease; }
.carousel-slide.active .slide-overlay { transform: translateY(0); }
.slide-overlay h3 { font-size: 1.3rem; margin-bottom: 8px; font-weight: 700; }
.slide-overlay p { font-size: 0.9rem; margin-bottom: 16px; opacity: 0.9; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 36px; height: 36px; border-radius: 50%; background: #ffffff; color: var(--color-brand); border: 1px solid #e2e8f0; box-shadow: 0 4px 10px rgba(0,0,0,0.05); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: all 0.3s; }
.carousel-arrow:hover { background: var(--color-brand); color: #fff; border-color: var(--color-brand); box-shadow: 0 6px 15px rgba(32, 165, 58, 0.3); }
.carousel-arrow.prev { left: -50px; }
.carousel-arrow.next { right: -50px; }
.carousel-dots { position: absolute; bottom: 16px; right: 20px; z-index: 5; display: flex; gap: 6px; }
.carousel-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); cursor: pointer; transition: all 0.3s; }
.carousel-dots .dot.active { background: #fff; width: 20px; border-radius: 4px; }

.section { padding: 80px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 0; }
.section-lead { margin-top: 10px; color: var(--color-muted); }
.text-link { font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 6px; }
.text-link i { transition: transform 0.3s; }
.text-link:hover i { transform: translateX(4px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.data-section { padding: 60px 0; }
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.data-item { padding: 20px; }
.data-number { font-size: 3rem; font-weight: 800; color: var(--color-brand); line-height: 1; margin-bottom: 12px; font-family: Arial, sans-serif; display: flex; justify-content: center; align-items: baseline; }
.data-number .plus { font-size: 1.5rem; margin-left: 4px; }
.data-title { font-size: 1.1rem; font-weight: 700; color: var(--color-ink); margin-bottom: 4px; }
.data-desc { font-size: 0.9rem; color: var(--color-muted); margin: 0; }

.template-card { position: relative; background: #fff; border-radius: var(--radius-lg); border: 1px solid #e2e8f0; overflow: hidden; transition: all 0.3s; padding-top: 28px; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.template-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--color-brand); }
.browser-bar { position: absolute; top: 0; left: 0; right: 0; height: 28px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; gap: 6px; padding: 0 14px; z-index: 2; }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; }
.browser-bar span:nth-child(1) { background: #ef4444; }
.browser-bar span:nth-child(2) { background: #f59e0b; }
.browser-bar span:nth-child(3) { background: #10b981; }
.thumb { aspect-ratio: 1 / 1; position: relative; overflow: hidden; width: 100%; background: #f8fafc; display: flex; align-items: center; justify-content: center; }
.thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s ease; }
.template-card:hover .thumb img { transform: scale(1.05); }
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.4; }
.card-body h3 a { color: var(--color-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-body h3 a:hover { color: var(--color-brand); }
.card-body > p:not(.mod-tip) { flex: 1; color: var(--color-muted); font-size: 0.9rem; margin-bottom: 0; }
.mod-tip { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #e2e8f0; min-height: 60px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.9rem; color: var(--color-muted); margin-bottom: 0; }
.icon-bulb { color: #f59e0b; margin-right: 4px; }
.card-link { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 0.9rem; }

.category-card { display: block; background: #fff; padding: 28px 24px; border-radius: var(--radius-lg); border: 1px solid #e2e8f0; transition: all 0.3s; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--color-brand); }
.cat-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px; font-size: 1.5rem; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.category-card:hover .cat-icon { transform: scale(1.15) rotate(5deg); }
.category-card strong { display: block; font-size: 1.15rem; color: var(--color-ink); margin-bottom: 8px; }
.category-card span { color: var(--color-muted); font-size: 0.9rem; line-height: 1.5; display: block; }
.cat-bg-1 { background: #e8f5e9; color: #2e7d32; }
.cat-bg-2 { background: #e3f2fd; color: #1565c0; }
.cat-bg-3 { background: #fff8e1; color: #f57f17; }
.cat-bg-4 { background: #f3e5f5; color: #7b1fa2; }
.cat-bg-5 { background: #ffebee; color: #c62828; }
.cat-bg-6 { background: #eceff1; color: #455a64; }
.cat-bg-7 { background: #e0f2f1; color: #00695c; }
.cat-bg-8 { background: #fbe9e7; color: #d84315; }

.feature-box { text-align: center; padding: 32px 20px; background: #fff; border-radius: var(--radius-lg); border: 1px solid #e2e8f0; transition: all 0.3s; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.feature-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; margin-bottom: 20px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); color: #fff; font-size: 1.8rem; }
.feature-box:hover .feature-icon { transform: scale(1.1) translateY(-4px); }
.icon-grad-1 { background: linear-gradient(135deg, #20a53a, #0b8a26); box-shadow: 0 8px 20px rgba(32, 165, 58, 0.3); }
.icon-grad-2 { background: linear-gradient(135deg, #0ea5e9,var(--color-brand)); box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3); }
.icon-grad-3 { background: linear-gradient(135deg, #a855f7, #7e22ce); box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3); }
.icon-grad-4 { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3); }
.feature-box h3 { font-size: 1.15rem; margin-bottom: 12px; }
.feature-box p { font-size: 0.9rem; color: var(--color-muted); margin: 0; }

.faq-wrap { max-width: 960px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius-md); overflow: hidden; transition: all 0.3s; }
.faq-list details[open] { border-color: var(--color-brand); box-shadow: var(--shadow-sm); }
.faq-list summary { cursor: pointer; padding: 20px 24px; font-weight: 600; list-style: none; position: relative; color: var(--color-ink); outline: none; font-size: 1.05rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--color-brand); font-size: 0.9rem; transition: transform 0.3s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-list details p { margin: 0; padding: 0 24px 20px; color: var(--color-muted); border-top: 1px dashed #e2e8f0; padding-top: 16px; }

/* =========================================
   5. 列表页专属样式
   ========================================= */
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--color-muted); margin-bottom: 16px; }
.breadcrumbs a { display: inline-flex; align-items: center; gap: 6px; color: var(--color-muted); }
.breadcrumbs a i { font-size: 0.85rem; transition: color 0.2s; }
.breadcrumbs a:hover, .breadcrumbs a:hover i { color: var(--color-brand); }
.breadcrumbs > i { font-size: 0.7rem; color: #cbd5e1; }
.breadcrumbs span { color: var(--color-ink); font-weight: 500; }

.page-header { padding: 34px 0 34px !important; border-bottom: 0; text-align: center; }
.page-header-content h1 { font-size: clamp(1.8rem, 2.5vw, 2.4rem); margin-bottom: 16px; }
.page-search-box { display: flex; align-items: center; max-width: 760px; margin: 0 auto; background: #ffffff; border-radius: 50px; padding: 6px 6px 6px 20px; box-shadow: 0 8px 24px rgba(32, 165, 58, 0.12); border: 1px solid rgba(32, 165, 58, 0.2); transition: all 0.3s ease; }
.page-search-box:focus-within { box-shadow: 0 10px 30px rgba(32, 165, 58, 0.25); border-color: var(--color-brand); transform: translateY(-2px); }
.page-search-box .search-icon { color: var(--color-brand); font-size: 1.2rem; margin-right: 12px; }
.page-search-box input { flex: 1; border: none; outline: none; background: transparent; font-size: 1.05rem; color: var(--color-ink); height: 44px; }
.page-search-box input::placeholder { color: #94a3b8; }
.page-search-box button { background: linear-gradient(135deg, #20a53a 0%, #18822d 100%); color: #fff; border: none; border-radius: 40px; padding: 0 32px; height: 44px; font-size: 1.05rem; font-weight: 600; cursor: pointer; transition: all 0.3s; white-space: nowrap; }
.page-search-box button:hover { background: #18822d; box-shadow: 0 4px 15px rgba(32, 165, 58, 0.4); }
.hot-searches { margin-top: 16px; font-size: 0.85rem; color: var(--color-muted); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.hot-searches span { font-weight: 600; }
.hot-searches a { color: #64748b; transition: color 0.2s; }
.hot-searches a:hover { color: var(--color-brand); text-decoration: underline; }

.category-panel-section { background: #ffffff; padding: 30px 0 !important; }
.category-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.category-tags a { display: inline-block; padding: 6px 5px; background: #f8fafc; color: var(--color-muted); border: 1px solid #e2e8f0; border-radius: 6px; font-size: 0.80rem; transition: all 0.2s; }
.category-tags a:hover { background: #f0fdf4; color: var(--color-brand); border-color: var(--color-brand); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(32, 165, 58, 0.1); }
.category-tags a.active { background: var(--color-brand); color: #ffffff; border-color: var(--color-brand); font-weight: 600; box-shadow: 0 4px 10px rgba(32, 165, 58, 0.2); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 56px; }
.page-num { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; color: var(--color-ink); font-weight: 500; font-size: 0.95rem; transition: all 0.2s; }
.page-num:hover:not(.disabled):not(.active) { border-color: var(--color-brand); color: var(--color-brand); }
.page-num.page-num-current { background: var(--color-brand); border-color: var(--color-brand); color: #fff; font-weight: 700; }
.page-item.disabled { background: #f8fafc; color: #cbd5e1; border-color: #f1f5f9; cursor: not-allowed; }
.page-num i { font-size: 0.85rem; }
.page-num-box{display: flex; justify-content: center; align-items: center; gap: 8px; }
.page-item {display: flex;align-items: center;justify-content: center;min-width: 40px;height: 40px;padding: 0 12px;border-radius: 8px;border: 1px solid #e2e8f0;background: #fff;color: var(--color-ink);font-weight: 500;font-size: 0.95rem;transition: all 0.2s;}
.page-item:hover{border-color: var(--color-brand); color: var(--color-brand);}
/* =========================================
   6. 底部 CTA、友情链接、Footer、悬浮侧边栏
   ========================================= */
.bg-cta { background: #ffffff; padding: 40px 0 80px; }
.cta-card { background: linear-gradient(135deg, #1a202c 0%, #111827 100%); border-radius: var(--radius-lg); padding: 56px 64px; display: flex; align-items: center; justify-content: space-between; gap: 40px; box-shadow: 0 24px 48px rgba(17, 24, 39, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1); position: relative; overflow: hidden; }
.cta-card::before { content: ''; position: absolute; top: -50%; right: -10%; width: 60%; height: 200%; background: radial-gradient(circle, rgba(32, 165, 58, 0.15) 0%, transparent 60%); pointer-events: none; }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { color: #ffffff; font-size: 2.2rem; margin-bottom: 12px; font-weight: 800; letter-spacing: -0.5px; }
.cta-content p { color: #9ca3af; font-size: 1.1rem; margin: 0; }
.btn-lg { height: 60px; padding: 0 40px; font-size: 1.1rem; border-radius: 40px; background: #20a53a; color: #fff; border: none; box-shadow: 0 8px 24px rgba(32, 165, 58, 0.4); position: relative; z-index: 1; min-width:220px;}
.btn-lg:hover { background: #18822d; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(32, 165, 58, 0.5); }

.friend-links-section { background: #ffffff; padding: 0; }
.footer-friend-links { padding: 32px 0; border-top: 1px dashed #e2e8f0; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 0.9rem; }
.footer-friend-links span { color: #64748b; font-weight: 600; }
.footer-friend-links a { color: #94a3b8; transition: color 0.2s; }
.footer-friend-links a:hover { color: var(--color-brand); }

.site-footer { position: relative; background-color: #f8fafc; padding: 80px 0 12px; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(32, 165, 58, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(32, 165, 58, 0.04) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(to bottom, black 0%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%); }
.site-footer::after { content: '';position: absolute;bottom: 0%;right: 0%;width: 100%;height: 100%;background: radial-gradient(circle, rgba(32, 165, 58, 0.08) 0%, transparent 60%);pointer-events: none;
z-index: 0;}
.site-footer .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 20px; }
.brand-desc { color: var(--color-muted); font-size: 0.9rem; line-height: 1.8; max-width: 350px; margin: 0; text-align: justify;}
.footer-links h3, .footer-contact h3 { font-size: 1rem; color: var(--color-ink); font-weight: 700; margin-bottom: 24px; letter-spacing: 0.5px; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--color-muted); font-size: 0.95rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--color-brand); }
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--color-muted); font-size: 0.95rem; }
.contact-icon { border-radius: 14px;display: flex;align-items: center;justify-content: center;color: var(--color-brand);font-size: 1.4rem;}
.contact-card .contact-icon { width: 52px;height: 52px;border-radius: 14px;display: flex;align-items: center;justify-content: center;color: var(--color-brand);font-size: 1.4rem;margin-bottom: 20px;}
.contact-icon i{font-size:18px;}
.footer-bottom { padding-top: 12px; border-top: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: space-between; color: #9ca3af; font-size: 0.9rem; }
.footer-bottom p { margin: 0; }
.footer-icp a { color: #9ca3af; transition: color 0.2s; }
.footer-icp a:hover { color: var(--color-ink); }

.floating-sidebar { position: fixed; right: 24px; bottom: 80px; z-index: 100; display: flex; flex-direction: column; gap: 16px; }
.float-btn-wrap { position: relative; width: 52px; height: 52px; }
.float-btn { width: 100%; height: 100%; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); font-size: 1.4rem; }
.float-btn i { transition: transform 0.3s; }
.float-btn-white { background: #ffffff; color: #4b5563; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12); border: 1px solid rgba(0,0,0,0.02); }
.float-btn-white:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); transform: translateY(-3px); color: #111827; }
.float-btn-white:hover i { transform: translateY(-2px); }
.float-btn-green { background: linear-gradient(135deg, #20a53a, #18822d); color: #ffffff; box-shadow: 0 6px 20px rgba(32, 165, 58, 0.4); }
.float-btn-green:hover { box-shadow: 0 10px 25px rgba(32, 165, 58, 0.5); transform: translateY(-3px); }
.float-btn-qq { background: linear-gradient(135deg, #12b7f5, #0088cc); color: #ffffff; box-shadow: 0 6px 20px rgba(18, 183, 245, 0.4); }
.float-btn-qq:hover { box-shadow: 0 10px 25px rgba(18, 183, 245, 0.5); transform: translateY(-3px); color: #ffffff;}
.float-qr, .float-tooltip { position: absolute; right: 68px; top: 50%; transform: translateY(-50%) scale(0.9); background: #fff; border-radius: var(--radius-md); box-shadow: 0 10px 30px rgba(0,0,0,0.15); border: 1px solid #e2e8f0; opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); text-align: center; pointer-events: none; transform-origin: right center; }
.float-btn-wrap:hover .float-qr, .float-btn-wrap:hover .float-tooltip { opacity: 1; visibility: visible; transform: translateY(-50%) scale(1); }
.float-qr { padding: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.float-qr img { width: 140px; border-radius: 4px; display: block; margin: 0; object-fit: contain; }
.float-qr p { margin: 8px 0 0; font-size: 0.85rem; color: var(--color-muted); white-space: nowrap; font-weight: 600; line-height: 1; }
.float-tooltip { padding: 12px 20px; white-space: nowrap; }
.float-tooltip::after { content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); border-width: 6px; border-style: solid; border-color: transparent transparent transparent #fff; }
.float-tooltip p { margin: 0 0 4px; font-weight: 700; color: var(--color-ink); font-size: 1rem; }
.float-tooltip span { font-size: 0.8rem; color: var(--color-muted); }
.back-to-top { opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.3s; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* =========================================
   7. 详情页专属样式
   ========================================= */
.detail-page-main { background: #f8fafc !important; }
.detail-hero-section {
  position: relative;
  background: transparent !important;
  border-bottom: none;
  padding: 36px 0 64px;
  overflow: hidden;
  background-image:
    radial-gradient(ellipse 60% 70% at 20% 30%, rgba(32, 165, 58, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 10%, rgba(14, 165, 233, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(32, 165, 58, 0.01) 0%, transparent 60%) !important;
}
.detail-hero-section::before {
  content: ''; position: absolute; top: -20%; right: -5%; width: 800px; height: 800px; border-radius: 50%; border: 1px solid rgba(14, 165, 233, 0.08); box-shadow: inset 0 0 80px rgba(14, 165, 233, 0.03); pointer-events: none; z-index: 0;
}
.detail-hero-section::after {
  content: ''; position: absolute; bottom: -15%; left: -10%; width: 600px; height: 600px; border-radius: 50%; border: 1px dashed rgba(32, 165, 58, 0.15); pointer-events: none; z-index: 0;
}
.detail-bottom-section { background: transparent !important; padding-top: 0px; }
.detail-hero-inner { position: relative; z-index: 2; }

.detail-hero-section .breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #94a3b8; margin-bottom: 26px; }
.detail-hero-section .breadcrumbs a { color: #94a3b8; }
.detail-hero-section .breadcrumbs a:hover { color: var(--color-brand); }
.detail-hero-section .breadcrumbs .slash { color: #cbd5e1; }
.detail-hero-section .breadcrumbs .current { color: var(--color-ink); font-weight: 500; }

.detail-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  align-items: stretch;    background: #fff;
    padding: 30px;
    border-radius: 15px;
}

.detail-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.image-glow-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  padding-bottom: 20px;
}
.image-glow-wrap::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(32, 165, 58, 0.12) 0%, rgba(14, 165, 233, 0.04) 45%, transparent 70%);
  filter: blur(24px); z-index: 0; pointer-events: none;
}
.image-glow-wrap::after {
  content: ''; position: absolute; left: 50%; bottom: 5px; transform: translateX(-50%); width: 110%; height: 40px;
  background: radial-gradient(ellipse at center, rgba(32, 165, 58, 0.35) 0%, rgba(14, 165, 233, 0.1) 40%, transparent 75%);
  filter: blur(15px); z-index: 0; pointer-events: none;
}
.main-image-wrapper {
  position: relative; z-index: 1; width: 100%; max-width: 350px;
}
.main-image-wrapper .browser-frame {
  border: 1px solid #e4ece8; border-radius: 16px; background: #fff;
  box-shadow: 0 20px 40px -10px rgba(15, 42, 25, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.8);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.main-image-wrapper .browser-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -12px rgba(15, 42, 25, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.9);
  border-color: transparent;
}
.main-image-wrapper .browser-header { height: 40px; }
.main-image-wrapper .browser-body { background: #eef3f0; padding: 0; }
.main-image-wrapper .main-img { width: 100%; height: auto; display: block; }

.detail-info {
  display: flex; flex-direction: column; gap: 16px;
}

.service-notice-box {
  font-size: 0.85rem;
  color:#20a53a;
  background: #f0f9ff;
  border: 1px solid #20a53a;
  padding: 10px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-notice-box i { color: #20a53a; font-size: 1rem; }
.service-notice-box a { font-weight: 600; color: #20a53a; text-decoration: underline; }

.title-block { display: flex; flex-direction: column; gap: 14px; }
.detail-title {
  position: relative; padding-left: 16px; letter-spacing: -0.02em; margin: 0; color: #111827;
  font-size: clamp(1.6rem, 2.5vw, 2rem); font-weight: 800; line-height: 1.3;
}
.detail-title::before {
  content: ''; position: absolute; left: 0; top: 12%; bottom: 12%; width: 4px; border-radius: 4px;
  background: linear-gradient(180deg, #20a53a 0%, #0ea5e9 100%);
}
.rating-like-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.rating-bar { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--color-muted); }
.star-rating { display: flex; gap: 2px; color: #f59e0b; }
.score { font-weight: 700; color: #f59e0b; }
.meta-dot { color: #cbd5e1; }

.btn-like {
  background: #fff; border: 1px solid #e2e8f0; padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; color: var(--color-muted); cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.2s;
}
.btn-like:hover, .btn-like.liked { color:var(--color-brand); border-color: #93c5fd; background: #eff6ff; }
.btn-like.liked i { font-weight: 900; }

.detail-attributes { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.attr-row { display: flex; font-size: 0.85rem; }
.attr-label { width: 70px; color: var(--color-muted); flex-shrink: 0; }
.attr-value { color: var(--color-ink); flex: 1; }

.package-desc {
  font-size: 0.8rem; color: #7a4b00; margin: 0; line-height: 1.5; padding: 10px 14px; border-radius: 6px;
  border: 1px solid #d9b45b; background: linear-gradient(160deg, #fffdf4, #fff8e4); box-shadow: 0 10px 26px rgba(201, 162, 39, .16);
}
.package-desc i { margin-right: 6px; }

.right-info-list {
  list-style: none; margin: 0; padding: 16px; background: #ffffff; border: 1px solid #e8eef2; border-radius: 14px; box-shadow: 0 2px 10px rgba(15, 42, 25, 0.03); display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px;
}
.right-info-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.86rem; color: var(--color-ink); line-height: 1.45; }
.right-info-list li i { color: var(--color-brand); font-size: 0.9rem; margin-top: 2px; }
.right-info-list li strong { color: #111827; }

.action-panel { margin-top: 12px; }
.action-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.action-buttons .btn-large {
  height: 48px; padding: 0 24px; border-radius: 8px; flex: none;
  font-size: 0.95rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; transition: all 0.2s; border: none;
}
.btn.btn-primary.btn-large.btn-main-cta {
  background: linear-gradient(135deg, #20a53a 0%, #15802c 100%) !important; border: none; color: #ffffff !important; box-shadow: 0 6px 16px -4px rgba(32, 165, 58, 0.4);
}
.btn.btn-primary.btn-large.btn-main-cta:hover {
  background: linear-gradient(135deg, #1a9032 0%, #116e24 100%) !important; transform: translateY(-2px); box-shadow: 0 10px 20px -6px rgba(32, 165, 58, 0.5);
}
.action-buttons .btn-outline.btn-large {
  background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid #e2e8f0; color: #4b5563;
}
.action-buttons .btn-outline.btn-large:hover { border-color: var(--color-brand); color: var(--color-brand); background: #ffffff; }

.detail-bottom-layout { display: grid; grid-template-columns: 1fr 350px; gap: 40px; margin-top: 0px; }
.detail-content-wrap { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius-lg); padding: 40px; }
.detail-content-wrap h2 { margin-bottom: 10px; font-size: clamp(1.5rem, 2.5vw, 1.6rem);}
.detail-article p { color: #4b5563; line-height: 1.8; font-size: 1.05rem; }
.detail-article img{margin: 0px auto; box-shadow: 0 4px 12px rgb(115 115 115 / 10%);}
.detail-article h3 { margin-top: 32px; margin-bottom: 16px; color: var(--color-ink); }
.detail-article ul { padding-left: 20px; color: #4b5563; line-height: 1.8; margin-bottom: 20px; }

.detail-tags-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px dashed #e2e8f0; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.tags-label { color: var(--color-muted); font-size: 0.9rem; font-weight: 600; }
.detail-tags-bottom a { display: inline-block; padding: 4px 12px; background: #f1f5f9; color: #64748b; border-radius: 6px; font-size: 0.85rem; transition: all 0.2s; }
.detail-tags-bottom a:hover { background: var(--color-brand); color: #fff; }

.side-lists-wrap { display: flex; flex-direction: column; gap: 24px; }
.side-list-box { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius-lg); padding: 24px; }
.side-list-box h3 { font-size: 1.05rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; gap: 8px; }
.side-list-box h3 i { color: var(--color-brand); }
.rank-list { list-style: none; padding: 0; margin: 0; }
.rank-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #f1f5f9; }
.rank-list li:last-child { border-bottom: none; padding-bottom: 0; }
.rank-num { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; background: #f1f5f9; color: #64748b; border-radius: 4px; font-size: 0.8rem; font-weight: 600; flex-shrink: 0; }
.rank-top { background: var(--color-brand); color: #fff; }
.rank-list a { color: var(--color-ink); font-size: 0.95rem; overflow: hidden; text-overflow: ellipsis; }
.rank-list a:hover { color: var(--color-brand); }

/* =========================================
   8. 响应式媒体查询 (统一整合)
   ========================================= */
@media (max-width: 1200px) {
  .container { width: min(100% - 40px, var(--container)); }
  .grid-4 { gap: 20px; }
  .hero-inner { gap: 40px; }
  .nav-list { gap: 24px; }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin: 40px auto 0; }
  .floating-sidebar { display: none; }
  .carousel-arrow.prev { left: -20px; }
  .carousel-arrow.next { right: -20px; }
  .cta-card { flex-direction: column; text-align: center; padding: 48px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 20px; }

  .detail-layout { grid-template-columns: 1fr; padding: 0;
        background: transparent;}
  .detail-gallery { margin-bottom: 20px; }
  .detail-bottom-layout { grid-template-columns: 1fr; }
  .side-lists-wrap { flex-direction: row; }
  .side-list-box { flex: 1; }
}

@media (max-width: 768px) {
  .pc-nav, .pc-search, .header-btn { display: none !important; }
  .mobile-toggle { display: flex; }
  .header-inner { padding: 0 16px; height: 64px; min-height: 64px; }

  .grid-4, .template-grid, .category-grid, .feature-grid, .data-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .data-number { font-size: 2rem; }
  .data-desc { display: none; }

  .template-card { padding-top: 20px; }
  .browser-bar { height: 20px; padding: 0 8px; gap: 4px; }
  .browser-bar span { width: 6px; height: 6px; }
  .card-body { padding: 12px; }
  .card-body h3 { font-size: 0.95rem; margin-bottom: 6px; }
  .card-body p { font-size: 0.8rem; margin-bottom: 8px; }
  .mod-tip { font-size: 0.75rem; padding-top: 8px; min-height: 2.8rem; -webkit-line-clamp: 2; overflow: hidden; margin-bottom: 0; }
  .card-link { font-size: 0.8rem; margin-top: 8px; }

  .category-card { padding: 16px 12px; }
  .cat-icon { width: 40px; height: 40px; font-size: 1.2rem; margin-bottom: 12px; border-radius: 10px; }
  .category-card strong { font-size: 0.95rem; margin-bottom: 4px; }
  .category-card span { font-size: 0.75rem; line-height: 1.4; }

  .feature-box { padding: 20px 12px; }
  .feature-icon { width: 48px; height: 48px; font-size: 1.2rem; margin-bottom: 12px; }
  .feature-box h3 { font-size: 0.95rem; margin-bottom: 8px; }
  .feature-box p { font-size: 0.75rem; line-height: 1.4; }

  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .data-grid { gap: 16px 12px; }
  .section { padding: 40px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .carousel-arrow { display: none; }
  .browser-frame { height: 320px; }
  .slide-overlay { padding: 16px; }
  .slide-overlay h3 { font-size: 1.1rem; }
  .slide-overlay p { font-size: 0.85rem; margin-bottom: 12px; }

  .page-header { padding: 30px 0 20px !important; }
  .page-header-content h1 { font-size: 1.8rem; }
  .breadcrumbs { margin-bottom: 16px; display:block; }
  .page-search-box { flex-direction: column; background: transparent; box-shadow: none; border: none; padding: 0; gap: 12px; margin-top: 24px; }
  .page-search-box .search-icon { display: none; }
  .page-search-box input { width: 100%; background: #fff; border-radius: 30px; padding: 0 20px; border: 1px solid #e2e8f0; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
  .page-search-box button { width: 100%; border-radius: 30px; }
  .hot-searches { justify-content: flex-start; text-align: left; }
  .hot-searches span { width: 100%; }
  .category-tags a { font-size: 0.7rem; padding: 6px 5px; }
  .pagination { margin-top: 32px; gap: 6px; }
  .page-item { min-width: 36px; height: 36px; font-size: 0.85rem; }

  .detail-hero-section { padding: 18px 0 40px; }
  .detail-frame { max-width: 100%; }
  .image-glow-wrap::before { width: 300px; height: 300px; }
  .image-glow-wrap::after { height: 35px; width: 100%; }
  .main-image-wrapper { max-width: 100%; }
  .detail-title { padding-left: 12px; }
  .detail-title::before { width: 3px; }
  .rating-like-row { flex-direction: column; align-items: flex-start; }
  .right-info-list { grid-template-columns: 1fr; }
  .action-buttons { flex-direction: column; width: 100%; }
  .action-buttons .btn-large { width: 100%; justify-content: center; }
  .side-lists-wrap { flex-direction: column; }
  .detail-content-wrap { padding: 20px; }

  .cta-card { padding: 32px 20px; }
  .cta-content h2 { font-size: 1.6rem; }
  .btn-lg { width: 100%; padding: 0 20px; font-size: 1rem; height: 50px; }

  .footer-friend-links { display: flex; flex-wrap: wrap; gap: 12px 16px; padding: 24px 0; border-top: none; border-bottom: 1px dashed #e2e8f0; }
  .footer-friend-links span { width: 100%; margin-bottom: 4px; font-size: 0.9rem; }
  .footer-friend-links a { font-size: 0.85rem; }

  .site-footer { padding: 32px 0 24px; background-color: #f8fafc; }
  .site-footer::before, .site-footer::after { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; margin-bottom: 24px; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 0; }
  .brand-desc { font-size: 0.85rem; line-height: 1.6; margin-top: 10px; }
  .footer-links h3, .footer-contact h3 { margin-bottom: 12px; font-size: 0.95rem; }
  .footer-links li { margin-bottom: 10px; }
  .footer-links a { font-size: 0.85rem; }
  .footer-contact { grid-column: 1 / -1; }
  .contact-list { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .contact-list li { font-size: 0.85rem; }

  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding-top: 20px; font-size: 0.8rem; }
}

/* =========================================
   教程首页专属样式 (tutorial.html)
   ========================================= */
.tutorial-visual {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
}
.code-window {
  background: #1e1e1e;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255,255,255,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.4s ease;
}
.code-window:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}
.code-window .browser-header {
  background: #2d2d2d;
  border-bottom: 1px solid #404040;
  padding: 0 16px;
  height: 44px;
}
.code-window .browser-url { color: #888; }
.code-body { padding: 20px; margin: 0; overflow-x: auto; }
.code-body pre{ margin: 0; font-family: Consolas, "Courier New", monospace; font-size: 0.9rem; line-height: 1.6; color: #d4d4d4; }

.detail-article pre{     margin: 0;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.8rem;
    line-height: 1.6;
    background: #e4e8eb;
    padding: 10px;
    border-radius: 6px; white-space: normal;}
    

/* =========================================
   教程页首屏 - 学习路径卡片
   ========================================= */
.tutorial-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  perspective: 1000px;
}

/* 背景微光 */
.path-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(32, 165, 58, 0.06) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.learning-path {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 380px;
}

/* 单个卡片 */
.path-step {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid #f3f4f6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.path-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.08);
}

/* 图标样式 */
.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.step-1 .step-icon {
  background: rgba(32, 165, 58, 0.1);
  color: #20a53a;
}

.step-2 .step-icon {
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-brand) ;
}

.step-3 .step-icon {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

/* 文字内容 */
.step-content h4 {
  margin: 0 0 6px 0;
  font-size: 16px;
  color: #1f2937;
  font-weight: 700;
}

.step-content p {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

/* 卡片之间的虚线连接器 */
.path-connector {
  height: 20px;
  border-left: 2px dashed #d1d5db;
  margin-left: 49px; /* 对齐图标中心 */
  margin-top: -8px;
  margin-bottom: -8px;
  z-index: 0;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .tutorial-visual {
    margin-top: 40px;
  }
}



.tutorial-categories {
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  padding: 40px 0 !important;
}
.tutorial-topics-section { background: #ffffff; }
.tutorial-faq-section {
  background: #fcfdfa;
  border-top: 1px solid #f1f5f9;
}
.text-center-head {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 48px;
}
.text-gradient {
  background: linear-gradient(90deg,var(--color-brand), #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.topic-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.topic-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.15;
  z-index: -1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.topic-card:nth-child(1)::before { background: var(--color-brand) ; }
.topic-card:nth-child(2)::before { background: #14b8a6; }
.topic-card:nth-child(3)::before { background: #ec4899; }
.topic-card:nth-child(4)::before { background: #f97316; }
.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  border-color: rgba(0,0,0,0.05);
}
.topic-card:hover::before { opacity: 0.3; transform: scale(1.1); }

.topic-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.topic-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.icon-teal { background: linear-gradient(135deg, #14b8a6, #10b981); box-shadow: 0 8px 16px rgba(20, 184, 166, 0.2); }
.icon-orange { background: linear-gradient(135deg, #f97316, #f59e0b); box-shadow: 0 8px 16px rgba(249, 115, 22, 0.2); }

.topic-title-box h3 { margin: 0 0 4px; font-size: 1.25rem; font-weight: 800; color: #111827; }
.topic-count { font-size: 0.85rem; color: #6b7280; }
.topic-desc { font-size: 0.95rem; color: #4b5563; line-height: 1.7; margin-bottom: 24px; }

.topic-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.topic-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; line-height: 1.5; }
.topic-list .dot { width: 4px; height: 4px; border-radius: 50%; background: #cbd5e1; margin-top: 8px; flex-shrink: 0; }
.topic-list a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.topic-list a:hover { color: var(--color-brand); }

.topic-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: gap 0.2s; }
.topic-link:hover { gap: 10px; }
.link-teal { color: #0d9488; }


@media (max-width: 1024px) {
  .tutorial-visual { margin: 40px auto 0; max-width: 100%; }
  .code-window { transform: none; }
  .topic-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .topic-card { padding: 24px; }
  .topic-header { align-items: flex-start; }
  .topic-icon { width: 48px; height: 48px; font-size: 1.4rem; }
}

/* =========================================
   教程列表页专属样式 (tutorial-list.html)
   ========================================= */
.tutorial-list-header {
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(ellipse 60% 80% at 10% 20%, rgba(32, 165, 58, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 90% 10%, rgba(14, 165, 233, 0.06) 0%, transparent 60%) !important;
}
.tutorial-list-section { padding: 40px 0 40px 0; }

.tutorial-list-header::before {
      content: '';
      position: absolute;
      top: -120px;
      right: 5%;
      width: 350px;
      height: 350px;
      border-radius: 50%;
      border: 1px solid rgba(14, 165, 233, 0.15);
      box-shadow: inset 0 0 80px rgba(14, 165, 233, 0.05);
      pointer-events: none;
      z-index: 1;
}
.tutorial-list-header::after {
      content: '';
      position: absolute;
      bottom: 10px;
      left: -50px;
      width: 200px;
      height: 200px;
      border-radius: 50%;
      border: 1px dashed rgba(32, 165, 58, 0.2);
      pointer-events: none;
      z-index: 1;
}
.header-inner-content { position: relative; z-index: 2; }
.tutorial-list-header .breadcrumbs { justify-content: flex-start; margin-bottom: 24px; }
.tutorial-list-header .page-header-content { text-align: left;  }
.tutorial-list-header h1 { margin-bottom: 12px; font-size: clamp(2rem, 3vw, 2.8rem); }
.tutorial-list-header .section-lead { margin: 0; font-size: 1.1rem; }

.tutorial-list-header .hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px) !important;
  background-size: 24px 24px !important;
  mask-image: linear-gradient(to right, black 20%, transparent 80%) !important;
  -webkit-mask-image: linear-gradient(to right, black 20%, transparent 80%) !important;
}

@media (max-width: 768px) {
  .tutorial-list-header { padding: 30px 0 40px !important; }
  .tutorial-list-header::before { width: 250px; height: 250px; top: -80px; right: -50px; }
  .tutorial-list-header::after { width: 200px; height: 200px; bottom: -80px; left: -50px; }
}

.category-nav-section { padding: 20px 0 40px; background: #ffffff; }
.category-nav-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 30px;}
.cat-nav-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.cat-nav-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(15, 42, 25, 0.08); border-color: var(--color-brand); }
.cat-nav-card.active { background: #f0fdf4; border-color: var(--color-brand); box-shadow: 0 4px 16px rgba(32, 165, 58, 0.15); }
.cat-nav-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  flex-shrink: 0;
}
.cat-nav-text { display: flex; flex-direction: column; }
.cat-nav-text strong { font-size: 1.1rem; color: #111827; margin-bottom: 2px; }
.cat-nav-text span { font-size: 0.85rem; color: #6b7280; }
.cat-nav-card.active .cat-nav-text strong { color: var(--color-brand); }

.tutorial-list-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.article-list-wrap { display: flex; flex-direction: column; gap: 24px; }

.article-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 32px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(15, 42, 25, 0.08); border-color: var(--color-brand); }
.article-title { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.4; }
.article-title a { color: #111827; }
.article-title a:hover { color: var(--color-brand); }
.article-desc {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #94a3b8;
  border-top: 1px dashed #e2e8f0;
  padding-top: 16px;
}
.meta-info { display: flex; align-items: center; gap: 16px; }
.meta-info span { display: flex; align-items: center; gap: 6px; }
.meta-tags { display: flex; gap: 8px; }
.meta-tag { background: #f1f5f9; color: #64748b; padding: 2px 10px; border-radius: 12px; font-size: 0.75rem; transition: all 0.2s; }
.meta-tag:hover { background: var(--color-brand); color: #fff; }

.list-faq-section {
  margin-top: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.faq-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-section-title i { color: var(--color-brand); }
.list-faq-section .faq-list details { background: #f8fafc; border-color: #e2e8f0; }
.list-faq-section .faq-list details[open] { background: #ffffff; border-color: var(--color-brand); }
.list-faq-section .faq-list summary { font-size: 1rem; padding: 16px 24px; }
.list-faq-section .faq-list details p { border-top-color: #e2e8f0; }

.article-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-box { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.sidebar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-title i { color: var(--color-brand); }
.random-rank-list li { padding: 10px 0; }
.random-rank-list a { font-size: 0.9rem; }

.sidebar-cta {
  background: linear-gradient(135deg, #1a202c 0%, #111827 100%);
  border-radius: 16px;
  padding: 24px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.15);
}
.sidebar-cta h3 { color: #ffffff; font-size: 1.15rem; margin-bottom: 12px; }
.sidebar-cta p { color: #9ca3af; font-size: 0.9rem; margin-bottom: 20px; line-height: 1.5; }
.sidebar-cta .btn { width: 100%; }

@media (max-width: 1024px) {
  .category-nav-grid { grid-template-columns: repeat(2, 1fr); }
  .tutorial-list-layout { grid-template-columns: 1fr; }
  .article-sidebar { order: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .sidebar-cta { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .category-nav-grid { grid-template-columns: 1fr; }
  .article-card { padding: 20px; }
  .article-title { font-size: 1.15rem; }
  .article-meta { flex-direction: column; align-items: flex-start; gap: 12px; }
  .article-sidebar { grid-template-columns: 1fr; }
  .list-faq-section { padding: 20px; }
}

/* =========================================
   教程详情页专属样式 (tutorial-detail.html)
   ========================================= */
.bg-gray-main {
  background: #f8fafc;
  padding-bottom: 80px;    
}
.breadcrumb-bar { background: #ffffff; border-bottom: 1px solid #e2e8f0; padding: 16px 0; margin-bottom: 32px; }
.breadcrumb-bar .breadcrumbs { margin-bottom: 0; justify-content: flex-start; }

.tutorial-detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }

.article-main { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 40px; box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03); }

.article-header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid #f1f5f9; }
.article-header h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: #111827; margin-bottom: 16px; line-height: 1.3; }
.article-meta-info { display: flex; flex-wrap: wrap; gap: 20px; font-size: 0.9rem; color: #64748b; }
.article-meta-info span { display: flex; align-items: center; gap: 6px; }

.direct-answer-box { background: #f0fdf4; border: 1px solid #bbf7d0; border-left: 4px solid var(--color-brand); border-radius: 8px; padding: 20px 24px; margin-bottom: 32px; }
.answer-title { font-weight: 700; color: var(--color-brand-dark); font-size: 1.05rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.direct-answer-box p { margin: 0; color: #166534; line-height: 1.7; }
.direct-answer-box b { font-weight: 700; color: #14532d; }

.article-content-wrap { font-size: 1.05rem; line-height: 1.8; color: #374151; }
.article-content-wrap h2 { font-size: 1.5rem; color: #111827; margin: 40px 0 16px; padding-left: 12px; border-left: 4px solid var(--color-brand); }
.article-content-wrap h3 { font-size: 1.25rem; color: #111827; margin: 32px 0 12px; }
.article-content-wrap p { margin-bottom: 20px; }
.article-content-wrap ul { padding-left: 24px; margin-bottom: 24px; color: #4b5563; }
.article-content-wrap li { margin-bottom: 8px; }
.article-content-wrap code { background: #f1f5f9; color: #ef4444; padding: 2px 6px; border-radius: 4px; font-family: Consolas, monospace; font-size: 0.9em; }

.article-content-wrap blockquote { margin: 24px 0; padding: 16px 20px; background: #fffbeb; border-left: 4px solid #f59e0b; border-radius: 0 8px 8px 0; color: #92400e; }
.article-content-wrap blockquote p { margin: 0; }

.article-img { border-radius: 12px; margin: 24px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.05); width: 100%; }

.code-block { background: #1e1e1e; border-radius: 12px; margin: 24px 0; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.code-header { display: flex; justify-content: space-between; align-items: center; background: #2d2d2d; padding: 10px 20px; border-bottom: 1px solid #404040; }
.code-header span { color: #888; font-size: 0.85rem; font-family: Consolas, monospace; }
.copy-btn { background: transparent; border: none; color: #888; font-size: 0.85rem; cursor: pointer; transition: color 0.2s; display: flex; align-items: center; gap: 6px; }
.copy-btn:hover { color: #fff; }
.code-block pre { margin: 0; padding: 20px; overflow-x: auto;    width: 95%;    margin: 0px auto;}
.code-block code { font-family: Consolas, monospace; font-size: 0.95rem; color: #d4d4d4; background: transparent; padding: 0; line-height: 1.6; }

.article-footer { margin-top: 48px; padding-top: 24px; border-top: 1px dashed #e2e8f0; }
.article-tags-wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.article-copyright { font-size: 0.85rem; color: #94a3b8; background: #f8fafc; padding: 12px 16px; border-radius: 8px; }
.article-copyright b { color: #64748b; }

.article-pagination-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.prev-next-link { display: flex; flex-direction: column; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px 20px; transition: all 0.3s ease; }
.prev-next-link:hover { border-color: var(--color-brand); box-shadow: 0 4px 12px rgba(32, 165, 58, 0.1); }
.prev-next-link.next { text-align: right; }
.prev-next-link .dir { font-size: 0.8rem; color: #94a3b8; margin-bottom: 6px; display: flex; align-items: center; gap: 4px; }
.prev-next-link.next .dir { justify-content: flex-end; }
.prev-next-link .title { font-size: 0.95rem; font-weight: 600; color: #111827; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.prev-next-link:hover .title { color: var(--color-brand); }

@media (max-width: 1024px) {
  .tutorial-detail-layout { grid-template-columns: 1fr; }
  .article-sidebar { order: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .sidebar-cta { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .article-main { padding: 24px; }
  .article-pagination-nav { grid-template-columns: 1fr; }
  .article-sidebar { grid-template-columns: 1fr; }
  .article-header h1 { font-size: 1.4rem; }
}

/* =========================================
   教程详情页 - 相似文章推荐
   ========================================= */
.related-articles-section { margin-top: 48px; padding-top: 32px; border-top: 1px solid #f1f5f9; }
.related-title { font-size: 1.25rem; font-weight: 800; color: #111827; margin-bottom: 24px; display: flex; align-items: center; gap: 8px; }
.related-title i { color: #ef4444; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.related-card {
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.related-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-brand);
  opacity: 0;
  transition: opacity 0.3s;
}
.related-card:hover {
  background: #ffffff;
  transform: translateY(-3px);
  border-color: var(--color-brand);
  box-shadow: 0 8px 20px rgba(15, 42, 25, 0.06);
}
.related-card:hover::before { opacity: 1; }
.related-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 10px 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.related-card:hover h4 { color: var(--color-brand); }
.related-card p {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 16px 0;
  flex: 1;
}
.related-card .date { font-size: 0.75rem; color: #94a3b8; display: flex; align-items: center; gap: 6px; margin-top: auto; margin-bottom: 0;}

@media (max-width: 1024px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; }
  .related-card { padding: 16px; }
}

/* =========================================
   联系我们页面 (contact.html)
   ========================================= */
.contact-hero { position: relative; padding: 60px 0 80px; background: #ffffff; overflow: hidden; }
.contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 80% at 90% 20%, rgba(200, 220, 255, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 70% 50%, rgba(230, 210, 255, 0.3) 0%, transparent 60%);
}
.contact-hero-inner { position: relative; z-index: 1; }
.contact-hero .breadcrumbs { margin-bottom: 24px; }
.contact-hero h1 { font-size: clamp(2.5rem, 4vw, 3.8rem); font-weight: 900; color: #111827; margin-bottom: 16px; letter-spacing: -1px; }
.contact-subtitle { font-size: 1.1rem; color: #6b7280; line-height: 1.6; max-width: 800px; }

.contact-main-section { background: #f8fafc; padding: 60px 0 80px; }

.contact-horizontal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.contact-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08); }

.icon-phone { background: #e0f2fe; color: #0284c7; }
.icon-mail { background: #dcfce7; color: #16a34a; }
.icon-location { background: #fef3c7; color: #d97706; }
.icon-support { background: #f3e8ff; color: #9333ea; }
.icon-qq { background: #e0f2fe; color: #0ea5e9; }

.contact-text h3 { font-size: 1.1rem; font-weight: 700; color: #111827; margin: 0 0 12px 0; }
.contact-text p { margin: 0 0 6px 0; font-size: 0.95rem; color: #6b7280; line-height: 1.5; }
.contact-text p:last-child { margin-bottom: 0; }
.contact-link { display: block; font-size: 1.15rem; font-weight: 700; color: var(--color-brand) ; margin-bottom: 8px; text-decoration: none; word-break: break-all; }
.contact-link:hover { text-decoration: underline; }

.contact-wechat-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 20px;
  padding: 24px 32px;
  margin-bottom: 60px;
  transition: border-color 0.3s;
}
.contact-wechat-bar:hover { border-color: var(--color-brand); }
.wechat-qr-img { width: 80px; height: 80px; background: #fff; padding: 4px; border-radius: 12px; flex-shrink: 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.wechat-qr-img img { width: 100%; height: 100%; display: block; }
.contact-wechat-bar .contact-text h3 { margin-bottom: 8px; }

.partner-section-full { background: #ffffff; border-radius: 24px; padding: 48px; box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03); margin-bottom: 60px; }
.partner-eyebrow {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-brand) ;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.partner-eyebrow .dot { width: 6px; height: 6px; background: var(--color-brand) ; border-radius: 50%; }
.partner-title { font-size: 2.2rem; font-weight: 900; color: #111827; margin: 0 0 16px 0; letter-spacing: -0.5px; }
.partner-desc { font-size: 1.05rem; color: #6b7280; line-height: 1.7; margin-bottom: 32px; }

.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.partner-item { background: #f8fafc; border-radius: 16px; padding: 24px; transition: background 0.3s; }
.partner-item:hover { background: #f1f5f9; }
.partner-item h4 { font-size: 1.15rem; font-weight: 700; color: #111827; margin: 0 0 8px 0; }
.partner-item p { font-size: 0.95rem; color: #6b7280; line-height: 1.6; margin: 0; }

.partner-btn {
  background: var(--color-brand)  !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 0 40px !important;
  height: 52px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgb(114 246 59 / 30%) !important;
}
.partner-btn:hover { background:var(--color-brand) !important; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4) !important; }


@media (max-width: 1024px) {
  .contact-horizontal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .contact-horizontal-grid { grid-template-columns: 1fr; }
  .contact-wechat-bar { flex-direction: column; text-align: center; padding: 24px; }
  .partner-section-full, .contact-faq-full { padding: 24px; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-title { font-size: 1.8rem; }
}

/* =========================================
   技术服务页面 (service.html)
   ========================================= */
.bg-white { background: #ffffff; }

.service-tabs-wrap {
  position: sticky;
  top: 72px;
  z-index: 900;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.service-tabs { display: flex; gap: 40px; overflow-x: auto; }
.service-tabs::-webkit-scrollbar { display: none; }
.service-tabs a {
  display: block;
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #64748b;
  position: relative;
  white-space: nowrap;
}
.service-tabs a:hover, .service-tabs a.active { color: var(--color-brand); }
.service-tabs a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-brand);
  border-radius: 3px 3px 0 0;
}

.service-section { padding: 60px 0 80px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--color-brand); box-shadow: 0 15px 30px rgba(32, 165, 58, 0.1); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
}

/* 注：按“最后为准”，.icon-blue / .icon-pink 采用下方 service 版 */
.icon-blue { background: #e0f2fe; color: #0284c7; }
.icon-pink { background: #fce7f3; color: #db2777; }
.icon-green { background: #dcfce7; color: #16a34a; }

.service-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.service-head h3 { font-size: 1.25rem; font-weight: 800; color: #111827; margin: 0; }
.service-head .price { font-size: 1.1rem; font-weight: 800; color:var(--color-brand); }
.service-head .price small { font-size: 0.8rem; font-weight: 500; }
.service-card .desc { font-size: 0.9rem; color: #6b7280; line-height: 1.6; margin-bottom: 24px; flex: 1; }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #4b5563;
  padding: 12px 0;
  border-bottom: 1px dashed #e2e8f0;
}
.feature-list li:last-child { border-bottom: none; padding-bottom: 0; }
.feature-list li i { color: #10b981; font-size: 0.85rem; }

/* 服务流程 */
.service-process-section { padding: 80px 0 100px; }
.process-wrapper { position: relative; margin-top: 60px; }

.process-line {
  position: absolute;
  top: 28px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background-image: linear-gradient(to right, #cbd5e1 50%, transparent 50%);
  background-size: 12px 2px;
  background-repeat: repeat-x;
  z-index: 1;
}

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 2; }
.process-step { display: flex; flex-direction: column; align-items: center; }

.step-dot {
  width: 56px;
  height: 56px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: #64748b;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}
.step-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  width: 100%;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
  transition: all 0.3s ease;
  overflow: hidden;
}
.step-card .bg-num {
  position: absolute;
  right: -5px;
  bottom: -20px;
  font-size: 7rem;
  font-weight: 900;
  font-family: Arial, sans-serif;
  color: #f8fafc;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  transition: color 0.3s;
}
.step-card h4 { position: relative; z-index: 1; font-size: 1.15rem; font-weight: 800; color: #111827; margin-bottom: 12px;margin-top: 0; }
.step-card p { position: relative; z-index: 1; font-size: 0.9rem; color: #64748b; line-height: 1.6; margin: 0; }

.process-step:hover .step-dot { background: var(--color-brand); border-color: var(--color-brand); color: #ffffff; box-shadow: 0 0 0 6px rgba(32,165,58,0.15); }
.process-step:hover .step-card { border-color: rgba(32,165,58,0.2); box-shadow: 0 15px 30px rgba(32,165,58,0.08); transform: translateY(-4px); }
.process-step:hover .bg-num { color: #f0fdf4; }

/* 免费支持清单 */
.bg-support-green { position: relative; background: #f4fcf6; overflow: hidden; }
.bg-support-green::before {
  content: '';
  position: absolute;
  top: -20%; left: 20%;
  width: 60%; height: 100%;
  background: radial-gradient(ellipse, rgba(32, 165, 58, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.support-bg-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.support-bg-shapes::before {
  content: '';
  position: absolute;
  top: -100px; left: -50px;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px dashed rgba(32, 165, 58, 0.15);
}
.support-bg-shapes::after {
  content: '';
  position: absolute;
  bottom: -150px; right: -50px;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(14, 165, 233, 0.08);
  box-shadow: inset 0 0 80px rgba(14, 165, 233, 0.03);
}
.support-inner { position: relative; z-index: 2; }

.service-support-section { padding: 80px 0; }
.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }

.support-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.support-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 100px; height: 100px;
  background: #20a53a;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.1;
  z-index: -1;
  transition: opacity 0.3s, transform 0.3s;
}
.support-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(32, 165, 58, 0.12); border-color: rgba(32, 165, 58, 0.3); }
.support-card:hover::before { opacity: 0.25; transform: scale(1.2); }

.check-box {
  width: 32px; height: 32px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* 服务页 FAQ（左右分栏 + 教程页复用） */
.service-faq-section { padding: 80px 0; }
.service-faq-section .faq-list { margin-top: 40px; }

/* 媒体查询 */
@media (max-width: 1200px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .process-line { display: none; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}
@media (max-width: 768px) {
  .service-tabs-wrap { top: 64px; }
  .service-tabs { gap: 24px; }
  .service-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .process-step { flex-direction: row; align-items: flex-start; gap: 16px; }
  .step-dot { width: 44px; height: 44px; margin-bottom: 0; flex-shrink: 0; font-size: 1.1rem; }
  .step-card { text-align: left; padding: 24px; }
  .step-card .bg-num { font-size: 5rem; bottom: -10px; }
}

/* PbootCMS 原生高亮兼容 */
.nav-list > li > a.active { color: var(--color-brand) !important; }
.nav-list > li > a.active::after { width: 100%; }

/* =========================================
   下拉菜单横向 3 列网格布局
   ========================================= */
.has-dropdown .dropdown-menu {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  width: 660px !important; /* 3列 * 220px */
  left: 50% !important;
  transform: translateX(-50%) translateY(10px) !important;
  padding: 16px !important;
  gap: 8px !important;
}

.has-dropdown:hover .dropdown-menu {
  transform: translateX(-50%) translateY(0) !important;
}

/* 网格内的菜单项样式微调 */
.dropdown-menu li {
  width: 100% !important;
}

.dropdown-menu a {
  padding: 12px 16px !important; /* 调整内边距适应网格 */
  border-radius: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 如果是 PbootCMS 教程这种少于 3 个的，保持左对齐不拉伸 */
.dropdown-menu li:nth-child(4) {
  grid-column: auto; 
}


/* =========================================
   首页 - PbootCMS教程四列区块 (新增)
   ========================================= */
.bg-tutorial-blue {
  background-color: #f6f9fc;
  background-image: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(210, 230, 255, 0.5) 0%, transparent 70%);
}
.tutorial-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.tutorial-block {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
  transition: all 0.3s ease;overflow: hidden;
}
.tutorial-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  border-color: #bfdbfe;
}
.tb-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.tb-header .tb-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-brand);
  background: #edf8f2;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  font-weight: 600;
}
.tb-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 8px 0;
}
.tb-header p {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tb-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.tb-list a {
  color: #4b5563;
  font-size: 0.9rem;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.tb-list a:hover {
  color: var(--color-brand-dark);
}
.tb-date {
  font-size: 0.75rem;
  color: #9ca3af;
  flex-shrink: 0;
}
.tutorial-more-btn {
  text-align: center;
  margin-top: 40px;
}
.tutorial-more-btn .btn {
  background: #fff;
  border: 1px solid #dff2e8;
  color: var(--color-brand-dark);
  border-radius: 30px;
}
.tutorial-more-btn .btn:hover {
  background: #dff2e8;
}

@media (max-width: 1024px) {
  .tutorial-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .tutorial-grid-4 { grid-template-columns: 1fr; }
}

/* =========================================
   开发手册页面布局
   ========================================= */
.doc-layout {
  display: flex;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  min-height: calc(100vh - 160px); /* 减去头部和底部高度 */
  background: #ffffff;
}

/* 左侧侧边栏 */
.doc-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: #f9fafb; /* 极浅的灰色背景 */
  border-right: 1px solid #f3f4f6;
  height: calc(100vh - 72px); /* 减去顶部导航高度 */
  position: sticky;
  top: 72px; /* 吸顶距离 */
  overflow-y: auto;
}

.doc-sidebar-inner {
  padding: 32px 16px;
}

/* 侧边栏标题 */
.doc-menu-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  padding: 0 16px 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.doc-menu-title i {
  color: #20a53a;
}

/* 侧边栏列表 */
.doc-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.doc-menu-item a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: #4b5563;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  margin-bottom: 2px;
  line-height: 1.5;
}

.doc-menu-item a:hover {
  background: #f3f4f6;
  color: #1f2937;
}

/* 高亮当前文章 */
.doc-menu-item a.active {
  background: rgba(32, 165, 58, 0.08);
  color: #20a53a;
  font-weight: 600;
}

/* 右侧内容区 */
.doc-content-wrap {
  flex: 1;
  min-width: 0;
  padding: 38px 5% 60px; /* 左右留足呼吸空间 */
}

.doc-article {
  margin: 0 auto;
}
.manual_top{display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;}

.doc-breadcrumbs {
  margin-bottom: 0px;
  font-size: 13px;
  color: #9ca3af;
}

.doc-breadcrumbs a {
  color: #6b7280;
  text-decoration: none;
}

.doc-title {
  font-size: 2.2rem;
  color: #111827;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.doc-meta {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 24px;
}

.doc-divider {
  border: none;
  border-top: 1px solid #f3f4f6;
  margin-bottom: 32px;
}

/* 文档正文排版优化 (覆盖原有的默认样式，让阅读体验更好) */
.doc-body {
  font-size: 15px;
  color: #374151;
  line-height: 1.8;
}

.doc-body h2, .doc-body h3 {
  color: #111827;
  margin-top: 36px;
  margin-bottom: 16px;
  font-weight: 600;
}
.doc-body br{display:none;}
.doc-body p {
  margin-bottom: 20px;
}

.doc-body ul, .doc-body ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.doc-body li {
  margin-bottom: 8px;
}

.doc-body img {
  max-width: 100%;
  border-radius: 8px;
  margin: 24px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* 代码块样式 */
.doc-body pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  font-family: Consolas, monospace;
  font-size: 13px;
  margin-bottom: 24px;
}

.doc-body code {
  color: #ef4444;
  padding: 10px;
  border-radius: 4px;
  font-size: 0.9em;    background: #f9fafb;
  font-family: Consolas, monospace;
}
.doc-body h4{font-size: 1.5rem;}
.doc-body pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

/* 底部提示框 */
.doc-footer-tip {
  margin-top: 60px;
  padding: 20px;
  background: #f8fafc;
  border-left: 4px solid #20a53a;
  border-radius: 0 8px 8px 0;
  color: #475569;
  font-size: 14px;
}

/* 移动端菜单按钮 */
.doc-mobile-header {
  display: none;
  margin-bottom: 20px;
}

.doc-menu-btn {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 8px 16px;
  border-radius: 8px;
  color: #374151;
  font-size: 14px;
  cursor: pointer;
}

/* 响应式：手机端适配 */
@media (max-width: 992px) {
  .doc-layout {
    display: block;
  }
  
  .doc-sidebar {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 72px);
    z-index: 999;
    transition: left 0.3s ease;
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
  }
  
  .doc-sidebar.is-open {
    left: 0;
  }
  
  .doc-content-wrap {
    padding: 24px 20px 60px;
  }
  
  .doc-mobile-header {
    display: block;
  }
  
  .doc-title {
    font-size: 1.8rem;
  }
}
/* =========================================
   开发手册 - 列表页卡片样式
   ========================================= */
.doc-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.doc-list-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.doc-list-card:hover {
  border-color: #20a53a;
  box-shadow: 0 4px 20px rgba(32, 165, 58, 0.08);
  transform: translateY(-2px);
}

.doc-list-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
  line-height: 1.5;
}

.doc-list-card:hover .doc-list-title {
  color: #20a53a;
}

.doc-list-desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.doc-list-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: #9ca3af;
}

.doc-list-meta i {
  margin-right: 4px;
}

/* 手机端列表变单列 */
@media (max-width: 768px) {
  .doc-list-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   开发手册 - 侧边栏内部搜索框
   ========================================= */
.doc-search-box {
  display: flex;
  align-items: center;
  margin: 0 16px 20px 16px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.2s;
}

.doc-search-box:focus-within {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(32, 165, 58, 0.1);
}

.doc-search-box input[type="text"] {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 12px;
  font-size: 0.9rem;
  color: var(--color-ink);
}

.doc-search-box input[type="text"]::placeholder {
  color: #94a3b8;
}

.doc-search-box button {
  background: transparent;
  border: none;
  padding: 0 12px;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.doc-search-box button:hover {
  color: var(--color-brand);
}

.bd-callout-info {
    border-left-color: #5bc0de;
}
.bd-callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #eee;
    border-left-width: .25rem;
    border-radius: .25rem;
}

/* =========================================
   详情页 - 核心使用说明侧边栏卡片
   ========================================= */
.usage-guide-card {
  border: 2px solid #20a53a;
  box-shadow: 0 8px 24px rgba(32, 165, 58, 0.12);
  border-radius: 16px;
  padding: 24px 20px;
  background: #ffffff;
  margin-bottom: 24px;
}

/* 头部与副标题 */
.usage-header {
  border-bottom: 2px dashed #e5e7eb;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.usage-header h3 {
  margin: 0;
  font-size: 18px;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.usage-header h3 i {
  color: #20a53a;
}

.usage-subtitle {
  margin: 6px 0 0 24px; /* 左侧缩进，与标题文字对齐 */
  font-size: 13px;
  color: #6b7280;
  font-weight: normal;
}

/* 简介段落 */
.usage-intro {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* 后台账号密码凭证区 */
.usage-credentials {
  background: #f0fdf4; /* 浅绿背景 */
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #bbf7d0;
}

.cred-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #1f2937;
  margin-bottom: 10px;
}

.cred-row:last-child {
  margin-bottom: 0;
}

.cred-row code {
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 4px;
  color: #20a53a;
  font-weight: bold;
  font-family: Consolas, monospace;
  font-size: 13px;
  border: 1px solid #e5e7eb;
}

/* 警示提示框 */
.usage-warning {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
}

.usage-warning p {
  margin: 0;
  font-size: 13px;
  color: #92400e;
  line-height: 1.6;
}

.usage-warning i {
  margin-right: 6px;
}

/* 教程按钮 */
.usage-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
}

/* =========================================
   开发手册 - 参数表格美化 (.table.table-bordered.table-light)
   ========================================= */
.table.table-bordered.table-light {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
  color: #374151;
  border-radius: 12px;
  overflow: hidden; /* 让圆角生效 */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); /* 柔和阴影 */
}

/* 统一单元格边框和内边距 */
.table.table-bordered.table-light td {
  padding: 14px 20px;
  border: 1px solid #e5e7eb; /* 柔和的浅灰边框 */
  vertical-align: middle;
}

/* 第一列（代码列）宽度及字体 */
.table.table-bordered.table-light td:first-child {
  width: 30%;
  background-color: #ffffff;
}

/* =========================================
   灰白交替背景 & 悬浮高亮
   ========================================= */
/* 偶数行浅灰背景 */
.table.table-bordered.table-light tr:nth-child(even) td {
  background-color: #f9fafb;
}

/* 鼠标悬浮当前行时的背景色 (主题绿光晕) */
.table.table-bordered.table-light tr:hover td {
  background-color: #f0fdf4 !important; /* 强制覆盖斑马线背景 */
  transition: background-color 0.2s ease;
}

/* =========================================
   特殊首行处理 (你原本代码里有 class="firstRow")
   ========================================= */
.table.table-bordered.table-light tr.firstRow td {
  background-color: #f8fafc;
  font-weight: 600;
  border-bottom: 2px solid #cbd5e1; /* 首行底线加深一点以示区分 */
}

/* =========================================
   参数代码块美化 (code标签)
   ========================================= */
.table.table-bordered.table-light code {
  background: #f1f5f9;
  color: #ef4444; /* 红色高亮参数 */
  padding: 4px 8px;
  border-radius: 6px;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  border: 1px solid #e2e8f0;
}

/* 手机端响应式调整 */
@media (max-width: 768px) {
  .table.table-bordered.table-light td {
    padding: 12px 16px;
    font-size: 13px;
  }
  .table.table-bordered.table-light td:first-child {
    width: 45%;
  }
  .table.table-bordered.table-light code {
    font-size: 12px;
    padding: 2px 6px;
  }
}

