/* ============================================================
   东方奢雅 · 暖金朱砂 — 918博天堂专属设计系统
   灵感：宣纸、金箔、朱砂印、光影层叠
   ============================================================ */

/* ---------- 基础重置 ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', 'Noto Serif SC', serif;
    overflow-x: hidden;
    background: #F6F1EA;
    color: #2C1810;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ---------- 核心布局 ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section:nth-child(even) {
    background: #F0EAE0;
}

/* 装饰性底纹 — 中式云纹意向 */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(201, 168, 76, 0.04) 0%, transparent 50%),
                      radial-gradient(circle at 90% 80%, rgba(194, 59, 59, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.section > .container {
    position: relative;
    z-index: 1;
}

/* ---------- 导航 — 固定顶部 ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(246, 241, 234, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.25);
    transition: background 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.4rem;
    text-decoration: none;
    color: #2C1810;
    letter-spacing: 1px;
    font-family: 'Noto Serif SC', 'PingFang SC', serif;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #C9A84C, #E8D48B);
    color: #fff;
    box-shadow: 0 2px 12px rgba(201, 168, 76, 0.3);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2C1810;
    transition: color 0.25s ease;
    position: relative;
    padding-bottom: 2px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #C9A84C, #E8D48B);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.main-nav a:hover {
    color: #C9A84C;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px !important;
    border-radius: 8px;
    color: #fff !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #C23B3B, #D44A4A);
    box-shadow: 0 4px 16px rgba(194, 59, 59, 0.25);
    transition: all 0.3s ease !important;
    border: none !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(194, 59, 59, 0.35) !important;
    color: #fff !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #2C1810;
    border-radius: 2px;
    transition: 0.3s;
}

/* ---------- 首页Hero ---------- */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 72px;
    background: linear-gradient(135deg, #F6F1EA 0%, #EDE6DA 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.10) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(194, 59, 59, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    color: #C9A84C;
    border: 1px solid rgba(201, 168, 76, 0.2);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.4rem;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 800;
    color: #2C1810;
    font-family: 'Noto Serif SC', 'PingFang SC', serif;
    letter-spacing: -0.5px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #C9A84C, #D4B56A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: #5C4A3E;
    max-width: 540px;
    margin-bottom: 36px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(44, 24, 16, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #C23B3B, #D44A4A);
    box-shadow: 0 4px 20px rgba(194, 59, 59, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(194, 59, 59, 0.35);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid #C9A84C;
    color: #C9A84C;
}

.btn-outline:hover {
    background: rgba(201, 168, 76, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.15);
}

.btn-gold {
    background: linear-gradient(135deg, #C9A84C, #E8D48B);
    color: #2C1810;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4);
}

/* ---------- 标签/标题 ---------- */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 14px;
    color: #C9A84C;
    text-transform: uppercase;
    border-left: 3px solid #C9A84C;
    padding-left: 12px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #2C1810;
    font-family: 'Noto Serif SC', 'PingFang SC', serif;
    line-height: 1.2;
}

.section-desc {
    max-width: 600px;
    color: #5C4A3E;
    margin-bottom: 48px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ---------- 卡片网格 ---------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 28px;
}

.category-card {
    border-radius: 16px;
    padding: 32px 28px;
    background: #FBF8F4;
    border: 1px solid rgba(201, 168, 76, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #C9A84C, #E8D48B);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(44, 24, 16, 0.08);
    border-color: rgba(201, 168, 76, 0.3);
}

.category-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(201, 168, 76, 0.04));
    color: #C9A84C;
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.category-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2C1810;
}

.category-card p {
    font-size: 0.9rem;
    color: #6B5A4E;
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-link {
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    color: #C9A84C;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 12px;
    color: #C23B3B;
}

/* ---------- 特性块 ---------- */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.feature-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(44, 24, 16, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.1);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-text h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    font-family: 'Noto Serif SC', 'PingFang SC', serif;
    color: #2C1810;
}

.feature-text p {
    color: #5C4A3E;
    line-height: 1.7;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #2C1810;
}

.feature-list li::before {
    content: '◇';
    font-weight: 400;
    color: #C9A84C;
    font-size: 1.1rem;
}

/* ---------- 数据条 ---------- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    text-align: center;
}

.stat-item {
    padding: 32px 20px;
    border-radius: 16px;
    background: #FBF8F4;
    border: 1px solid rgba(201, 168, 76, 0.12);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(44, 24, 16, 0.06);
    border-color: rgba(201, 168, 76, 0.25);
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 800;
    color: #C9A84C;
    font-family: 'Noto Serif SC', 'PingFang SC', serif;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.9rem;
    color: #6B5A4E;
    margin-top: 8px;
    font-weight: 500;
}

/* ---------- 内容墙 ---------- */
.content-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.content-wall-item {
    border-radius: 16px;
    overflow: hidden;
    background: #FBF8F4;
    border: 1px solid rgba(201, 168, 76, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-wall-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(44, 24, 16, 0.08);
    border-color: rgba(201, 168, 76, 0.25);
}

.content-wall-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.content-wall-body {
    padding: 24px;
}

.content-wall-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2C1810;
}

.content-wall-body p {
    font-size: 0.9rem;
    color: #6B5A4E;
    line-height: 1.6;
    margin-bottom: 12px;
}

.content-wall-body .card-link {
    font-size: 0.8rem;
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #FBF8F4;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(201, 168, 76, 0.3);
}

.faq-item .faq-question {
    padding: 18px 24px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2C1810;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.faq-item .faq-question::after {
    content: '﹀';
    font-size: 1.2rem;
    color: #C9A84C;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
    transform: rotate(180deg);
}

.faq-item .faq-answer {
    padding: 0 24px 18px;
    display: none;
    color: #5C4A3E;
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open {
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 4px 16px rgba(44, 24, 16, 0.04);
}

/* ---------- CTA横幅 ---------- */
.cta-banner {
    padding: 64px 32px;
    text-align: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #C9A84C 0%, #D4B56A 50%, #E8D48B 100%);
    color: #2C1810;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.cta-banner h2 {
    color: #2C1810;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    font-family: 'Noto Serif SC', 'PingFang SC', serif;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    color: #3D2E22;
    max-width: 500px;
    margin: 0 auto 28px;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
    opacity: 0.85;
}

.cta-banner .btn-primary {
    background: #2C1810;
    color: #F6F1EA;
    box-shadow: 0 4px 20px rgba(44, 24, 16, 0.2);
}

.cta-banner .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(44, 24, 16, 0.3);
}

/* ---------- 页脚 ---------- */
.site-footer {
    padding: 64px 0 32px;
    background: #2C1810;
    color: #D9C8B8;
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #E8D48B;
    margin-bottom: 12px;
    font-family: 'Noto Serif SC', 'PingFang SC', serif;
}

.footer-brand p {
    color: #A89888;
    line-height: 1.7;
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #E8D48B;
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #A89888;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #E8D48B;
}

.footer-bottom {
    border-top: 1px solid rgba(232, 212, 139, 0.12);
    margin-top: 48px;
    padding-top: 24px;
    text-align: center;
    font-size: 0.8rem;
    color: #8A7A6A;
}

/* ---------- 工具类 ---------- */
.text-accent {
    color: #C9A84C;
}

.text-center {
    text-align: center;
}

.seo-description {
    max-width: 600px;
    margin: 0 auto 48px;
    color: #5C4A3E;
    line-height: 1.7;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

/* ---------- 额外装饰组件 ---------- */

/* 金色分隔线 */
.gold-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #C9A84C, #E8D48B);
    border-radius: 4px;
    margin: 16px 0 24px;
}

.gold-divider.center {
    margin-left: auto;
    margin-right: auto;
}

/* 徽章标签 */
.badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.badge-gold {
    background: rgba(201, 168, 76, 0.12);
    color: #C9A84C;
    border: 1px solid rgba(201, 168, 76, 0.2);
}

.badge-red {
    background: rgba(194, 59, 59, 0.08);
    color: #C23B3B;
    border: 1px solid rgba(194, 59, 59, 0.15);
}

/* 引用块 */
.blockquote {
    border-left: 3px solid #C9A84C;
    padding: 16px 24px;
    background: rgba(201, 168, 76, 0.04);
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
    color: #3D2E22;
    font-style: italic;
    line-height: 1.7;
}

/* 图片占位装饰 */
.img-placeholder {
    background: linear-gradient(135deg, #EDE6DA, #E0D5C5);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A84C;
    font-weight: 600;
    min-height: 240px;
    border: 1px dashed rgba(201, 168, 76, 0.2);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }

    .hero {
        min-height: 60vh;
        padding-top: 72px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .feature-block {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(246, 241, 234, 0.98);
        backdrop-filter: blur(16px);
        padding: 24px 28px;
        gap: 16px;
        border-bottom: 1px solid rgba(201, 168, 76, 0.15);
        box-shadow: 0 8px 32px rgba(44, 24, 16, 0.06);
    }

    .main-nav.open a {
        font-size: 1rem;
        padding: 8px 0;
    }

    .main-nav.open .nav-cta {
        text-align: center;
        margin-top: 8px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-banner {
        padding: 40px 24px;
    }

    .cta-banner h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .cards-grid,
    .content-wall,
    .stats-bar {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo-icon {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .container {
        padding: 0 16px;
    }

    .header-inner {
        padding: 0 16px;
        height: 64px;
    }
}

/* ---------- 动画 ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.category-card:nth-child(1) { animation-delay: 0.05s; }
.category-card:nth-child(2) { animation-delay: 0.1s; }
.category-card:nth-child(3) { animation-delay: 0.15s; }
.category-card:nth-child(4) { animation-delay: 0.2s; }

/* ---------- 滚动条美化 ---------- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #F6F1EA;
}

::-webkit-scrollbar-thumb {
    background: #C9A84C;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #B8943C;
}

/* ---------- 选中样式 ---------- */
::selection {
    background: rgba(201, 168, 76, 0.25);
    color: #2C1810;
}