/* --- Google Fonts & 全局变量 --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-color: #E5B84B;
    --dark-bg-color: #1a1a1a;
    --light-bg-color: #2a2a2a;
    --text-color: #eaeaea;
    --text-muted-color: #a0a0a0;
    --font-serif: 'Noto Serif SC', serif;
    --font-sans: 'Open Sans', sans-serif;
    --container-width: 1140px;
    --border-radius: 8px;
}

/* --- 全局重置与基础样式 --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background-color: var(--dark-bg-color); color: var(--text-color); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.3; color: var(--primary-color); }
h1 { font-size: 3.5rem; } h2 { font-size: 2.5rem; } h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; color: var(--text-muted-color); }
a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #fff; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
ul { list-style: none; padding-left: 0; }

/* --- 导航栏 --- */
.main-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(26, 26, 26, 0.8); backdrop-filter: blur(10px); transition: background 0.3s ease; }
.navbar { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.navbar-logo img { height: 40px; }
.navbar-menu { display: flex; align-items: center; }
.navbar-menu li { margin-left: 30px; }
.navbar-menu > li > a { color: var(--text-color); font-weight: 600; padding: 10px 0; position: relative; }
.navbar-menu > li > a.active::after, .navbar-menu > li > a:hover::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background-color: var(--primary-color); }
.hamburger { display: none; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 3px; margin: 5px 0; background-color: #fff; transition: all 0.3s ease; }
/* 下拉菜单 */
.navbar-menu .dropdown { position: relative; }
.arrow-down { display: inline-block; width: 0; height: 0; margin-left: 5px; vertical-align: middle; border-top: 5px solid; border-right: 5px solid transparent; border-left: 5px solid transparent; transition: transform 0.3s ease; }
.dropdown:hover .arrow-down { transform: rotate(180deg); }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background-color: var(--dark-bg-color); border: 1px solid #333; border-radius: var(--border-radius); padding: 10px 0; min-width: 160px; box-shadow: 0 8px 16px rgba(0,0,0,0.3); z-index: 1001; animation: fadeIn 0.2s ease-out; }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a { padding: 10px 20px; display: block; white-space: nowrap; color: var(--text-muted-color); }
.dropdown-menu li a:hover { background-color: var(--light-bg-color); color: var(--primary-color); }
.dropdown-menu li a::after { display: none; }

/* --- 通用组件 --- */
.btn { display: inline-block; padding: 12px 30px; border-radius: 50px; font-weight: 600; text-align: center; cursor: pointer; transition: all 0.3s ease; border: 2px solid transparent; }
.btn-primary { background-color: var(--primary-color); color: var(--dark-bg-color); border-color: var(--primary-color); }
.btn-primary:hover { background-color: transparent; color: var(--primary-color); }
.btn-secondary { background-color: transparent; border-color: var(--primary-color); color: var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: var(--dark-bg-color); }
.btn-outline { border-color: var(--text-muted-color); color: var(--text-muted-color); }
.btn-outline:hover { border-color: var(--primary-color); color: var(--primary-color); }
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.7); animation: fadeIn 0.3s; }
.modal-content { background-color: var(--light-bg-color); margin: 15% auto; padding: 40px; border: 1px solid #444; width: 90%; max-width: 500px; border-radius: var(--border-radius); text-align: center; position: relative; animation: slideIn 0.3s; }
.close-button { color: var(--text-muted-color); position: absolute; top: 15px; right: 25px; font-size: 28px; font-weight: bold; cursor: pointer; }
.close-button:hover { color: #fff; }
.qr-code-img { width: 200px; height: 200px; margin: 20px auto; }
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid #333; }
.accordion-header { width: 100%; background-color: transparent; border: none; text-align: left; padding: 20px; font-size: 1.2rem; font-family: var(--font-serif); color: var(--text-color); cursor: pointer; position: relative; transition: background-color 0.3s ease; }
.accordion-header:hover { background-color: var(--light-bg-color); }
.accordion-header::after { content: '+'; font-size: 1.5rem; color: var(--primary-color); position: absolute; right: 20px; transition: transform 0.3s ease; }
.accordion-header.active::after { content: '−'; }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background-color: var(--dark-bg-color); }
.accordion-content p { padding: 0 20px 20px 20px; margin: 0; }

/* --- 页面区块 --- */
.hero-section { height: 100vh; background: url('../assets/hero-bg.jpg') no-repeat center center/cover; display: flex; justify-content: center; align-items: center; text-align: center; position: relative; }
.hero-section::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); }
.hero-content { z-index: 1; max-width: 800px; padding: 0 20px; }
.hero-content h1 { text-shadow: 2px 2px 8px rgba(0,0,0,0.7); }
.hero-content p { font-size: 1.2rem; color: var(--text-color); margin: 20px 0 40px; }
.page-hero { height: 50vh; background-size: cover; background-position: center; background-attachment: fixed; display: flex; justify-content: center; align-items: center; text-align: center; position: relative; color: #fff; }
.page-hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }
.page-hero-content { z-index: 1; padding: 0 20px; }
.page-hero h1 { font-size: 3rem; }
.page-hero p { font-size: 1.2rem; color: var(--text-color); }
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title h2 { margin-bottom: 1rem; }
.section-title p { font-size: 1.1rem; max-width: 700px; margin: 0 auto; line-height: 1.8; }
.content-section { padding: 80px 0; }

/* 首页独有区块 */
.feature-section { padding: 80px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { background-color: var(--light-bg-color); padding: 40px; border-radius: var(--border-radius); text-align: center; border: 1px solid #333; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.feature-icon { font-size: 3rem; margin-bottom: 1rem; }
.feature-card h3 { margin-bottom: 0.5rem; }
.product-showcase-section { padding: 80px 0; background-color: var(--light-bg-color); }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.culture-teaser-section { padding: 80px 0; }
.culture-teaser-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.culture-teaser-card { position: relative; overflow: hidden; border-radius: var(--border-radius); height: 400px; display: block; }
.culture-teaser-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.culture-teaser-card:hover img { transform: scale(1.1); }
.culture-teaser-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; color: #fff; }
.culture-teaser-overlay h3 { color: #fff; }

/* 品牌故事页 */
.story-section { padding: 80px 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.story-image img { border-radius: var(--border-radius); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }
.section-subtitle { font-size: 2rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 10px; }
.section-subtitle::after { content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 3px; background-color: var(--primary-color); }
.story-content ul li { padding-left: 25px; position: relative; margin-bottom: 10px; }
.story-content ul li::before { content: '✓'; color: var(--primary-color); position: absolute; left: 0; font-weight: bold; }

.craft-section, .history-section { padding: 80px 0; background-color: var(--light-bg-color); }
.history-section { background-color: var(--dark-bg-color); } /* 让历史区块背景色不同 */

.craft-timeline { position: relative; max-width: 800px; margin: 0 auto; }
.craft-timeline::after { content: ''; position: absolute; width: 3px; background-color: #444; top: 0; bottom: 0; left: 50%; margin-left: -1.5px; }
.timeline-item { padding: 10px 40px; position: relative; width: 50%; }
.timeline-item::after { content: ''; position: absolute; width: 16px; height: 16px; right: -8px; background-color: var(--dark-bg-color); border: 3px solid var(--primary-color); top: 25px; border-radius: 50%; z-index: 1; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item:nth-child(even)::after { left: -8px; }
.timeline-content { padding: 20px 30px; background-color: var(--dark-bg-color); border-radius: var(--border-radius); border: 1px solid #333; }
.history-section .timeline-content { background-color: var(--light-bg-color); } /* 历史区块内容背景不同 */

/* === 新增：历史渊源与产品特点板块样式 === */
.product-features-section {
    padding: 80px 0;
    background-color: var(--dark-bg-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-feature-card {
    background: var(--light-bg-color);
    padding: 30px;
    border: 1px solid #333;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.product-feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.product-feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-icon-alt {
    height: 50px;
    width: 50px;
    margin: 0 auto 1.5rem;
    position: relative;
    color: var(--primary-color);
}

.icon-color::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid currentColor;
    background: linear-gradient(45deg, rgba(229,184,75,0.2), rgba(229,184,75,0.5));
}

.icon-aroma::before, .icon-aroma::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 25px;
    border: 2px solid currentColor;
    border-color: currentColor transparent transparent transparent;
    border-radius: 50%;
}
.icon-aroma::before { top: 10px; opacity: 0.6; }
.icon-aroma::after { top: 20px; opacity: 1; }

.icon-nutrition::before, .icon-nutrition::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: currentColor;
    transform: translate(-50%, -50%);
}
.icon-nutrition::before { width: 24px; height: 2px; }
.icon-nutrition::after { width: 2px; height: 24px; }

.icon-versatile::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 32px;
    border: 2px solid currentColor;
    border-bottom: 5px solid currentColor;
    border-radius: 0 0 14px 14px;
}
.icon-versatile::after {
    content: '...';
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}


/* === 【我们的理念】板块 - 新增与修改样式 === */
.philosophy-section {
    padding: 80px 0;
    background-color: var(--light-bg-color); /* 改为浅色背景以区分 */
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.philosophy-card {
    background-color: var(--dark-bg-color); /* 卡片用深色 */
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.philosophy-card h3 {
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.philosophy-icon {
    height: 60px;
    width: 60px;
    margin: 0 auto 2rem;
    position: relative;
    color: var(--primary-color);
}

.icon-nature::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 45px;
    transform: translate(-50%, -50%) rotate(-45deg);
    border-radius: 50% 0;
    border: 2px solid currentColor;
}
.icon-taste::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border: 2px solid currentColor;
    border-radius: 50% 50% 0 50%;
    transform: translateX(-50%) rotate(45deg);
}
.icon-taste::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    transform: translateX(-50%);
}
.icon-craft::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 2px solid currentColor;
    border-radius: var(--border-radius);
    transform: rotate(10deg);
}
.icon-craft::after {
    content: '';
    position: absolute;
    inset: 5px;
    border: 2px solid currentColor;
    border-radius: var(--border-radius);
    transform: rotate(-10deg);
}

/* 产品页 */
.product-series-section { padding: 80px 0; }
.product-center-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.product-card { background: var(--dark-bg-color); border-radius: var(--border-radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid #333; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0,0,0,0.2); }
.product-image-container { background-color: #fff; padding: 0px; text-align: center; }
.product-image-container img { height: 250px; object-fit: contain; transition: transform 0.3s ease; margin: 0 auto; }
.product-card:hover .product-image-container img { transform: scale(1.05); }
.product-info { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.product-info h3 { margin-bottom: 10px; }
.product-desc { flex-grow: 1; margin-bottom: 20px; }
.product-actions { margin-top: auto; }

/* 黄酒文化板块 */
.culture-navigation-section { padding: 80px 0; }
.culture-navigation-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.culture-nav-card { background-color: var(--light-bg-color); padding: 40px; border-radius: var(--border-radius); text-align: center; border: 1px solid #333; transition: all 0.3s ease; }
.culture-nav-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); border-color: var(--primary-color); }
.culture-nav-icon { font-size: 3rem; margin-bottom: 1.5rem; }
.culture-nav-card h3 { margin-bottom: 1rem; }
.step-by-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step-card { padding: 30px; text-align: center; }
.step-number { font-size: 3rem; font-weight: 700; color: rgba(229, 184, 75, 0.2); line-height: 1; margin-bottom: 1rem; }
.step-card h3 { margin-bottom: 1rem; }
.drink-method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.drink-method-card { background-color: var(--dark-bg-color); padding: 40px; border-radius: var(--border-radius); text-align: center; border: 1px solid #333; }
.drink-method-icon { font-size: 3rem; line-height: 1; margin-bottom: 1rem; }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.principle-card { text-align: center; padding: 20px; }
.principle-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.pairing-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pairing-card { position: relative; overflow: hidden; border-radius: var(--border-radius); height: 400px; }
.pairing-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.pairing-card:hover img { transform: scale(1.1); }
.pairing-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%); color: #fff; }
.pairing-info h3 { color: #fff; }
.pairing-info p { color: var(--text-muted-color); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card { padding: 30px; border: 1px solid #333; border-radius: var(--border-radius); text-align: center; }
.category-card h3 { margin-bottom: 1rem; }
.media-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.media-card { background-color: var(--light-bg-color); padding: 40px; border-radius: var(--border-radius); border-left: 5px solid var(--primary-color); }
.media-logo { height: 40px; margin-bottom: 20px; }
.media-card blockquote { font-size: 1.2rem; font-style: italic; margin: 0 0 20px 0; border: none; padding: 0; color: var(--text-color); }
.media-source { font-weight: bold; color: var(--text-muted-color); text-align: right; margin-bottom: 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card { background-color: var(--dark-bg-color); padding: 30px; border-radius: var(--border-radius); border: 1px solid #333; }
.testimonial-text { font-style: italic; margin-bottom: 20px; }
.testimonial-author { font-weight: bold; text-align: right; color: var(--primary-color); }

/* 购买/联系页面 */
.buy-section { padding: 80px 0; }
.online-stores-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.store-card { background-color: var(--light-bg-color); padding: 40px; border-radius: var(--border-radius); text-align: center; border: 1px solid #333; }
.store-logo { height: 60px; margin-bottom: 20px; margin-left: auto; margin-right: auto; }
.store-card h3 { margin-bottom: 10px; }
.store-card button[disabled] { background-color: #444; border-color: #444; color: #888; cursor: not-allowed; }
.offline-stores-list { display: grid; gap: 20px; }
.store-location-card { background-color: var(--dark-bg-color); padding: 30px; border-radius: var(--border-radius); border: 1px solid #333; }
.store-location-card h3 { margin-bottom: 15px; }
.store-location-card p { margin-bottom: 5px; color: var(--text-muted-color); }
.contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact-item { margin-bottom: 40px; }
.contact-item h3 { font-size: 1.3rem; margin-bottom: 10px; }
.contact-info { font-size: 1.5rem; font-weight: bold; color: var(--text-color); }

/* 页脚 */
.main-footer { background-color: #111; padding: 60px 0 20px; border-top: 1px solid #333; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; color: var(--text-muted-color); font-size: 0.9rem; }

/* 动画 */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.fade-in { opacity: 0; animation: fadeIn 1s ease-out forwards; }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* --- 响应式布局 --- */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; } h2 { font-size: 2rem; }
    .footer-content { grid-template-columns: 1fr; text-align: center;}
    .feature-grid, .product-grid, .culture-teaser-grid, .philosophy-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); } /* 产品特点响应式 */
    .step-by-step-grid, .drink-method-grid, .pairing-card-grid, .testimonial-grid { grid-template-columns: 1fr; }
    .principle-grid, .category-grid, .culture-navigation-grid { grid-template-columns: repeat(2, 1fr); }
    .story-grid.reverse { grid-template-columns: 1fr; }
    .story-grid.reverse .story-image { order: 0; }
    .online-stores-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .navbar-menu { position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px); background-color: var(--dark-bg-color); flex-direction: column; align-items: stretch; justify-content: flex-start; transition: left 0.3s ease; padding-top: 20px; }
    .navbar-menu.active { left: 0; }
    .navbar-menu li { margin: 0; }
    .navbar-menu > li > a { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; font-size: 1.2rem; }
    .hamburger { display: block; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
    
    .dropdown:hover .dropdown-menu { display: none; }
    .dropdown .dropdown-menu.show { display: block; position: static; transform: none; box-shadow: none; border: none; background-color: #333; padding: 0; }
    .dropdown-menu li a { padding-left: 40px; font-size: 1rem; }

    .page-hero h1 { font-size: 2.2rem; }
    .story-grid { grid-template-columns: 1fr !important; text-align: center; }
    .story-image { margin-bottom: 30px; order: -1; }
    .section-subtitle::after { left: 50%; margin-left: -30px; }
    .craft-timeline::after { left: 20px; }
    .timeline-item { width: 100%; padding-left: 50px; padding-right: 10px; left: 0 !important; text-align: left !important; }
    .timeline-item::after { left: 12px !important; }

    .features-grid { grid-template-columns: 1fr; } /* 产品特点响应式 */
    .principle-grid, .category-grid, .culture-navigation-grid { grid-template-columns: 1fr; }
    
    .contact-section { padding: 60px 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-image { margin-top: 20px; order: -1; }
    .contact-details { text-align: center; }
    .contact-item { margin-bottom: 30px; }
    .contact-item h3 { font-size: 1.2rem; }
    .contact-info { font-size: 1.2rem; word-wrap: break-word; }
}

/* ============================= */
/* 新增：右侧悬浮闪动客服按钮样式 */
/* ============================= */
.cs-float-btn {
    position: fixed;
    right: 20px;
    bottom: 120px; /* 避免与底部内容/页脚冲突 */
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--dark-bg-color);
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    z-index: 1600; /* 高于导航但低于弹窗 */
    box-shadow: 0 10px 22px rgba(229, 184, 75, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: cs-float 3.5s ease-in-out infinite;
}

/* 呼吸闪动光圈 */
.cs-float-btn::before,
.cs-float-btn::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(229, 184, 75, 0.6);
    pointer-events: none;
    animation: cs-pulse 2.2s ease-out infinite;
    opacity: 0;
}
.cs-float-btn::after { animation-delay: 1.1s; }

/* 图标/文字 */
.cs-icon {
    font-size: 14px;
    color: var(--dark-bg-color);
    user-select: none;
}

/* 悬停微浮动与阴影加强（桌面端） */
.cs-float-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(229, 184, 75, 0.45);
}

/* 提示文案 */
.cs-float-tooltip {
    position: absolute;
    right: 70px;
    bottom: 50%;
    transform: translateY(50%);
    background: rgba(0,0,0,0.85);
    color: #fff;
    border: 1px solid #333;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.cs-float-btn:hover .cs-float-tooltip {
    opacity: 1;
    transform: translate(0, 50%);
}

/* 动效关键帧（避免与现有命名冲突） */
@keyframes cs-pulse {
    0%   { transform: scale(0.6); opacity: 0.9; }
    70%  { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}
@keyframes cs-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-2px); }
}

/* 移动端位置微调与尺寸适配 */
@media (max-width: 768px) {
    .cs-float-btn {
        right: 16px;
        bottom: 90px;
        width: 52px;
        height: 52px;
    }
}
@supports (bottom: env(safe-area-inset-bottom)) {
    .cs-float-btn {
        bottom: calc(90px + env(safe-area-inset-bottom));
    }
}
/* ============================================================= */
/* ===== 新增首页专属样式 (保证不影响其他页面) V2.0 ===== */
/* ============================================================= */

/* --- 历史渊源板块 (首页专属) --- */
.page-home .history-origin-section {
    padding: 80px 0;
}
.page-home .history-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.page-home .history-card {
    background-color: var(--light-bg-color);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.page-home .history-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(229, 184, 75, 0.1), transparent 30%);
    animation: history-card-rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.page-home .history-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-color: var(--primary-color);
}
.page-home .history-card:hover::before {
    opacity: 1;
}
.page-home .history-icon {
    height: 50px;
    width: 50px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
}
/* 历史图标 - CSS绘制 */
.page-home .icon-tang::before { /* 唐代屋檐 */
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    background: currentColor;
    border-radius: 5px 5px 0 0;
    top: 10px;
}
.page-home .icon-tang::after { /* 唐代柱子 */
    content: '';
    position: absolute;
    width: 8px;
    height: 30px;
    background: currentColor;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: -15px 0 currentColor, 15px 0 currentColor;
}
.page-home .icon-gong::before { /* 贡品卷轴 */
    content: '';
    position: absolute;
    width: 80%;
    height: 100%;
    left: 10%;
    border: 3px solid currentColor;
    border-radius: 5px;
    border-right-color: transparent;
    border-left-color: transparent;
}
.page-home .icon-gong::after { /* "贡"字 */
    content: '贡';
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.page-home .icon-di::before { /* 地标印章 */
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid currentColor;
    border-radius: 50%;
}
.page-home .icon-di::after { /* 地标水滴 */
    content: '';
    position: absolute;
    width: 15px;
    height: 22px;
    background: currentColor;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50% 50% 50% 0;
    transform: translate(-50%, -50%) rotate(135deg);
}
@keyframes history-card-rotate {
    100% { transform: rotate(1turn); }
}

/* --- 购买方法板块 (首页专属) --- */
.page-home .purchase-guide-section {
    padding: 80px 0;
    background-color: var(--light-bg-color);
}
.page-home .purchase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.page-home .purchase-card {
    background-color: var(--dark-bg-color);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid #333;
    border-left: 5px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-home .purchase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
.page-home .purchase-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--light-bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease;
}
.page-home .purchase-card:hover .purchase-icon-wrapper {
    background-color: var(--primary-color);
}
.page-home .purchase-icon {
    font-size: 32px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}
.page-home .purchase-card:hover .purchase-icon {
    color: var(--dark-bg-color);
}
.page-home .purchase-card h3 {
    margin-bottom: 2rem;
}
.page-home .purchase-steps {
    flex-grow: 1;
    text-align: left;
    margin-bottom: 2.5rem;
    width: 100%;
}
.page-home .purchase-steps p {
    position: relative;
    padding-left: 30px;
    color: var(--text-muted-color);
}
.page-home .purchase-steps p span {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: 700;
}
/* 购买图标 - CSS绘制 */
.page-home .icon-online::before { /* 手机屏幕 */
    content: '';
    display: block;
    width: 24px;
    height: 40px;
    border: 3px solid currentColor;
    border-radius: 5px;
    position: relative;
}
.page-home .icon-online::after { /* 听筒 */
    content: '';
    display: block;
    width: 8px;
    height: 2px;
    background: currentColor;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}
.page-home .icon-offline::before { /* 地图图钉 */
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    border: 3px solid currentColor;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: relative;
}
.page-home .icon-offline::after { /* 图钉内圆 */
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* --- 首页专属响应式布局 --- */
@media (max-width: 992px) {
    .page-home .history-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .page-home .purchase-grid {
        grid-template-columns: 1fr;
    }
}