/* ============================================
   成都高端品茶网 - 黑金风格全局样式
   域名: cdpc66.cn
   ============================================ */

/* === CSS变量定义 === */
:root {
    --gold-primary: #D4AF37;
    --gold-light: #F5E6A3;
    --gold-dark: #B8860B;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F5E6A3 50%, #B8860B 100%);
    --gold-text-gradient: linear-gradient(135deg, #F5E6A3, #D4AF37, #B8860B, #D4AF37, #F5E6A3);
    --black-primary: #0A0A0A;
    --black-secondary: #1A1A1A;
    --black-tertiary: #2A2A2A;
    --black-card: #151515;
    --text-primary: #F5F5F5;
    --text-secondary: #CCCCCC;
    --text-muted: #888888;
    --border-gold: rgba(212, 175, 55, 0.3);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.15);
    --shadow-gold-strong: 0 0 40px rgba(212, 175, 55, 0.3);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* === 全局重置 === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--black-primary);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: var(--gold-primary);
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--gold-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* === 滚动条美化 === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* === 通用容器 === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === 鎏金文字效果 === */
.gold-text {
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: goldShimmer 3s linear infinite;
}

@keyframes goldShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* === 金色分割线 === */
.gold-divider {
    width: 80px;
    height: 2px;
    background: var(--gold-gradient);
    margin: 15px auto;
    border-radius: 1px;
}

.gold-divider-left {
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
    margin: 15px 0;
    border-radius: 1px;
}

/* === 标题样式 === */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* === 顶部导航栏 === */
.top-bar {
    background: var(--black-secondary);
    border-bottom: 1px solid var(--border-gold);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    color: var(--text-muted);
}

.top-bar-info span {
    margin-right: 20px;
}

.top-bar-info i {
    color: var(--gold-primary);
    margin-right: 5px;
}

.top-bar-contact a {
    color: var(--gold-primary);
    margin-left: 15px;
    font-weight: 500;
}

.top-bar-contact a:hover {
    color: var(--gold-light);
}

/* === 主导航 === */
.main-header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    height: 70px;
}

/* === LOGO样式 === */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo svg {
    height: 45px;
    width: auto;
}

/* === 导航菜单 === */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a {
    color: var(--text-primary);
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 60%;
}

.nav-menu a.active {
    color: var(--gold-primary);
}

/* === 移动端菜单按钮 === */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition-smooth);
    border-radius: 1px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === 英雄横幅区域 === */
.hero-banner {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 50%, #0A0A0A 100%);
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.hero-content .subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.hero-content .description {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === 按钮样式 === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-decoration: none;
    letter-spacing: 1px;
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--black-primary);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
    color: var(--black-primary);
}

.btn-outline {
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
    color: var(--gold-primary);
}

/* === 特色服务区域 === */
.features-section {
    padding: 80px 0;
    background: var(--black-secondary);
}

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

.feature-card {
    background: var(--black-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
    border-color: var(--gold-primary);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold-primary);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--gold-primary);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* === 文章列表区域 === */
.articles-section {
    padding: 80px 0;
    background: var(--black-primary);
}

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

.article-card {
    background: var(--black-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
    border-color: var(--gold-primary);
}

.article-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--black-tertiary), var(--black-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.article-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--black-card), transparent);
}

.article-card-body {
    padding: 25px;
}

.article-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-body h3 a {
    color: var(--text-primary);
}

.article-card-body h3 a:hover {
    color: var(--gold-primary);
}

.article-card-body p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.article-tag {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-primary);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* === 栏目文章列表页样式 === */
.articles-list {
    max-width: 900px;
    margin: 0 auto;
}

.article-list-item {
    background: var(--black-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.article-list-item:hover {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.article-list-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.article-list-item h3 a {
    color: var(--text-primary);
}

.article-list-item h3 a:hover {
    color: var(--gold-primary);
}

.article-list-item .excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.article-list-item .read-more {
    color: var(--gold-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.article-list-item .read-more:hover {
    color: var(--gold-light);
}

/* === 文章详情页样式 === */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.article-detail-header {
    text-align: center;
    padding: 40px 0 30px;
    border-bottom: 1px solid var(--border-gold);
    margin-bottom: 40px;
}

.article-detail-header h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.article-detail-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.article-detail-content {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-secondary);
}

.article-detail-content h2 {
    font-size: 1.5rem;
    color: var(--gold-primary);
    margin: 35px 0 20px;
    padding-left: 15px;
    border-left: 3px solid var(--gold-primary);
}

.article-detail-content h3 {
    font-size: 1.2rem;
    color: var(--gold-light);
    margin: 25px 0 15px;
}

.article-detail-content p {
    margin-bottom: 18px;
    text-indent: 2em;
}

.article-detail-content ul, .article-detail-content ol {
    padding-left: 2em;
    margin-bottom: 18px;
}

.article-detail-content li {
    margin-bottom: 8px;
    list-style: disc;
    color: var(--text-secondary);
}

.article-detail-content ol li {
    list-style: decimal;
}

.article-detail-content blockquote {
    border-left: 3px solid var(--gold-primary);
    padding: 15px 20px;
    margin: 20px 0;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 0 8px 8px 0;
    color: var(--text-secondary);
    font-style: italic;
}

.article-detail-content img {
    border-radius: 8px;
    margin: 20px 0;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-gold);
}

.article-nav a {
    color: var(--gold-primary);
    font-size: 0.9rem;
}

/* === 关于我们页面 === */
.about-section {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.9;
}

.about-image {
    background: linear-gradient(135deg, var(--black-card), var(--black-tertiary));
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--gold-primary);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--black-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
}

.stat-card .number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-card .label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* === 联系我们页面 === */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-cards {
    display: grid;
    gap: 20px;
}

.contact-card {
    background: var(--black-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.contact-card:hover {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
    transform: translateX(5px);
}

.contact-card-icon {
    width: 55px;
    height: 55px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold-primary);
    flex-shrink: 0;
}

.contact-card-text h4 {
    font-size: 1rem;
    color: var(--gold-primary);
    margin-bottom: 5px;
}

.contact-card-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.contact-form {
    background: var(--black-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 40px;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--gold-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 18px;
    background: var(--black-tertiary);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-primary);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* === 页脚 === */
.main-footer {
    background: var(--black-secondary);
    border-top: 1px solid var(--border-gold);
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-about h3,
.footer-links h4 {
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold-gradient);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links ul li a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--gold-primary);
}

/* === 悬浮联系按钮 === */
.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    border: none;
    font-size: 1.3rem;
    color: #fff;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn.phone {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    animation: phoneRing 2s ease-in-out infinite;
}

.float-btn.qq {
    background: linear-gradient(135deg, #4FC3F7, #0288D1);
}

.float-btn.wechat {
    background: linear-gradient(135deg, #66BB6A, #2E7D32);
}

.float-btn .tooltip {
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--black-card);
    color: var(--text-primary);
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-gold);
    pointer-events: none;
}

.float-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-15deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(-10deg); }
    50% { transform: rotate(0deg); }
}

/* === 回到顶部按钮 === */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 45px;
    height: 45px;
    background: var(--gold-gradient);
    color: var(--black-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 998;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

/* === Toast提示 === */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: var(--black-card);
    color: var(--gold-primary);
    padding: 12px 30px;
    border-radius: 8px;
    border: 1px solid var(--gold-primary);
    font-size: 0.9rem;
    z-index: 10000;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* === 面包屑导航 === */
.breadcrumb {
    padding: 20px 0;
    background: var(--black-secondary);
    border-bottom: 1px solid var(--border-gold);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb-list li {
    color: var(--text-muted);
}

.breadcrumb-list li a {
    color: var(--text-muted);
}

.breadcrumb-list li a:hover {
    color: var(--gold-primary);
}

.breadcrumb-list li.active {
    color: var(--gold-primary);
}

.breadcrumb-list .separator {
    color: var(--text-muted);
}

/* === 栏目头部横幅 === */
.page-banner {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--black-secondary) 0%, var(--black-primary) 100%);
    border-bottom: 1px solid var(--border-gold);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.page-banner h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    position: relative;
}

.page-banner p {
    color: var(--text-muted);
    font-size: 1rem;
    position: relative;
}

/* === 侧边栏 === */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding: 50px 0;
}

.sidebar {
    position: sticky;
    top: 90px;
}

.sidebar-widget {
    background: var(--black-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.sidebar-widget h4 {
    color: var(--gold-primary);
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-gold);
}

.sidebar-widget ul li {
    margin-bottom: 10px;
}

.sidebar-widget ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.sidebar-widget ul li a:hover {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

/* === 推荐联系方式卡片 === */
.recommend-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(184, 134, 11, 0.05));
    border: 1px solid var(--gold-primary);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin: 40px 0;
}

.recommend-card h3 {
    color: var(--gold-primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.recommend-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.recommend-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === 响应式设计 === */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-content {
        grid-template-columns: 1fr;
    }
    .about-image {
        height: 300px;
    }
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--black-secondary);
        flex-direction: column;
        padding: 80px 20px 20px;
        gap: 0;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border-gold);
        z-index: 1000;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu a {
        padding: 15px 20px;
        width: 100%;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .subtitle {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .floating-contact {
        right: 10px;
        bottom: 80px;
    }
    
    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
    
    .article-detail-header h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .features-section,
    .articles-section,
    .about-section,
    .contact-section {
        padding: 50px 0;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .stat-card .number {
        font-size: 1.8rem;
    }
}

/* === 页面加载动画 === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* === 文章详情页侧边栏相关文章 === */
.related-articles {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-gold);
}

.related-articles h3 {
    color: var(--gold-primary);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

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

.related-item {
    background: var(--black-card);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 15px;
    transition: var(--transition-smooth);
}

.related-item:hover {
    border-color: var(--gold-primary);
}

.related-item h4 {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.related-item h4 a {
    color: var(--text-primary);
    line-height: 1.5;
}

.related-item h4 a:hover {
    color: var(--gold-primary);
}

.related-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* === 推荐卡片移动端适配 === */
@media (max-width: 480px) {
    .recommend-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* === 导航遮罩层 === */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
