/* =====================================================
   Christmas World - B2B外贸企业官网样式
   专业商务风格 · 简约大气设计
   ===================================================== */

/* ---- CSS变量定义 ---- */
:root {
    /* 主色调 - 更沉稳的商务配色 */
    --wine-red: #8B1A1A;
    --wine-red-dark: #6B1414;
    --wine-red-light: #A52525;
    --dark-green: #1C3A2E;
    --dark-green-light: #2A5240;
    --matte-gold: #C5A55A;
    --matte-gold-light: #D4B76A;
    --matte-gold-dark: #A88B4A;
    --cream-white: #FFFFFF;
    --cream-white-dark: #F8F8F8;
    --charcoal: #1A1A1A;
    --charcoal-light: #333333;
    --charcoal-lighter: #666666;

    /* 透明度变体 */
    --wine-red-10: rgba(139, 26, 26, 0.1);
    --wine-red-20: rgba(139, 26, 26, 0.2);
    --dark-green-10: rgba(28, 58, 46, 0.1);
    --dark-green-20: rgba(28, 58, 46, 0.2);
    --gold-10: rgba(197, 165, 90, 0.1);
    --gold-20: rgba(197, 165, 90, 0.2);
    --gold-30: rgba(197, 165, 90, 0.3);

    /* 字体 - 更专业的字体组合 */
    --font-heading: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* 间距 */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* 阴影 - 更柔和的阴影 */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-xl: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-gold: 0 0 0 1px rgba(197, 165, 90, 0.1);
    --shadow-wine: 0 0 0 1px rgba(139, 26, 26, 0.1);

    /* 边框圆角 - 更小的圆角 */
    --radius-sm: 0.125rem;
    --radius-md: 0.25rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-full: 9999px;

    /* 过渡 */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* =====================================================
   响应式工具类
   ===================================================== */

/* 隐藏/显示类 */
.hidden {
    display: none !important;
}

.hide-on-mobile {
    display: block;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-intro-text {
    text-align: left;
}

@media (max-width: 767px) {
    .hide-on-mobile {
        display: none !important;
    }
    
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-intro-text {
        text-align: center;
    }
}

/* Flex工具类 */
.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

/* 间距工具类 */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* 导航栏gap响应式 */
@media (max-width: 1200px) {
    .gap-8 {
        gap: 1rem;
    }
}

@media (max-width: 1024px) {
    .gap-8 {
        gap: 0.75rem;
    }
}

/* 响应式断点: md (768px) */
@media (min-width: 768px) {
    .md\:flex {
        display: flex !important;
    }
    
    .md\:hidden {
        display: none !important;
    }
    
    .md\:block {
        display: block !important;
    }
    
    .md\:inline-flex {
        display: inline-flex !important;
    }
}

/* 响应式断点: lg (1024px) */
@media (min-width: 1024px) {
    .lg\:flex {
        display: flex !important;
    }
    
    .lg\:hidden {
        display: none !important;
    }
    
    .lg\:block {
        display: block !important;
    }
}

/* ---- 基础重置 ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--cream-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---- 字体样式 ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--charcoal-lighter);
}

a {
    color: var(--wine-red);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--wine-red-dark);
}

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

/* ---- 电影级质感背景 ---- */
.film-grain {
    position: relative;
}

.film-grain::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* ---- 导航栏样式 ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: all var(--transition-normal);
    background: transparent;
}

.navbar .container {
    max-width: 100%;
}

.navbar.scrolled {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    padding: 0.75rem 2rem;
}

.navbar.scrolled .nav-link {
    color: var(--cream-white);
}

.navbar.scrolled .navbar-brand span {
    color: var(--cream-white);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-brand span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--matte-gold);
    font-weight: 700;
}

.nav-link {
    color: var(--matte-gold);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--matte-gold);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--matte-gold);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: var(--matte-gold);
}

.nav-link.active::after {
    width: 80%;
}

/* ---- 移动端菜单 ---- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 17, 17, 0.98);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-link {
    color: var(--cream-white);
    font-size: 1.25rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    transition: color var(--transition-fast);
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    color: var(--matte-gold);
}

/* ---- 移动端菜单按钮 ---- */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--cream-white);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

.mobile-menu-btn.active svg line {
    transition: all var(--transition-fast);
}

.mobile-menu-btn.active svg line:nth-child(1) {
    transform: rotate(45deg);
    transform-origin: center;
}

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

.mobile-menu-btn.active svg line:nth-child(3) {
    transform: rotate(-45deg);
    transform-origin: center;
}

@media (max-width: 767px) {
    .mobile-menu-btn {
        display: block !important;
    }
    
    .md\:hidden {
        display: block !important;
    }
}

/* ---- 按钮样式 ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.25px;
    text-transform: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--wine-red);
    color: var(--cream-white);
    box-shadow: 0 1px 2px rgba(139, 26, 26, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(139, 26, 26, 0.3);
    color: var(--cream-white);
}

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

.btn-secondary:hover {
    background: var(--matte-gold);
    color: var(--charcoal);
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--matte-gold), var(--matte-gold-dark));
    color: var(--charcoal);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-dark {
    background: var(--charcoal);
    color: var(--cream-white);
}

.btn-dark:hover {
    background: var(--charcoal-light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* ---- 卡片样式 ---- */
.card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    border: 1px solid rgba(0,0,0,0.06);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: var(--spacing-lg);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--charcoal);
}

.card-text {
    font-size: 0.9rem;
    color: var(--charcoal-lighter);
    margin-bottom: var(--spacing-md);
}

/* ---- 产品卡片特效 ---- */
.product-card {
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ---- Hero区域 ---- */
.hero {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-bg video {
    width: 100%;
    height: auto;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(17, 17, 17, 0.7) 0%,
        rgba(26, 54, 42, 0.5) 50%,
        rgba(17, 17, 17, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    color: var(--cream-white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--matte-gold-light);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* ---- 散景光斑效果 ---- */
.bokeh {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--matte-gold) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(20px);
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-10px) translateX(-10px); }
    75% { transform: translateY(-30px) translateX(5px); }
}

/* ---- 区块标题 ---- */
.section-title {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--wine-red), var(--matte-gold));
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--charcoal-lighter);
    max-width: 600px;
    margin: var(--spacing-lg) auto 0;
}

/* ---- 面包屑导航 ---- */
.breadcrumb {
    padding: 1rem 0;
    background: var(--cream-white-dark);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.9rem;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--charcoal-lighter);
}

.breadcrumb-list a {
    color: var(--charcoal-lighter);
    transition: color var(--transition-fast);
}

.breadcrumb-list a:hover {
    color: var(--wine-red);
}

.breadcrumb-list li:last-child {
    color: var(--charcoal);
    font-weight: 600;
}

/* ---- 页脚样式 ---- */
.footer {
    background: var(--charcoal);
    color: var(--cream-white);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wine-red), var(--matte-gold), var(--dark-green));
}

.footer h4 {
    color: var(--matte-gold);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.footer p, .footer a {
    color: rgba(248, 246, 240, 0.7);
    font-size: 0.9rem;
}

.footer a:hover {
    color: var(--matte-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(248, 246, 240, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .footer-bottom > div {
        justify-content: center;
    }
}

/* ---- 表单样式 ---- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.form-label .required {
    color: var(--wine-red);
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--charcoal);
    background: white;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--matte-gold);
    box-shadow: 0 0 0 3px var(--gold-10);
}

.form-control.error {
    border-color: var(--wine-red);
}

.form-control.error:focus {
    box-shadow: 0 0 0 3px var(--wine-red-10);
}

.error-message {
    font-size: 0.8rem;
    color: var(--wine-red);
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

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

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

/* ---- 成功弹窗 ---- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

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

.modal {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--dark-green), var(--dark-green-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon svg {
    width: 40px;
    height: 40px;
    color: var(--matte-gold);
}

.modal h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.modal p {
    color: var(--charcoal-lighter);
    margin-bottom: 2rem;
}

/* ---- 雪花动画画布 ---- */
#snow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}

/* ---- 圣诞特效开关 ---- */
.christmas-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1001;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wine-red), var(--dark-green));
    border: 2px solid var(--matte-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.christmas-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl), var(--shadow-gold);
}

.christmas-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--matte-gold);
}

/* ---- 询盘侧边栏 ---- */
.inquiry-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.inquiry-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.inquiry-btn.whatsapp {
    background: #25D366;
    color: white;
}

.inquiry-btn.email {
    background: var(--wine-red);
    color: white;
}

.inquiry-btn.quote {
    background: var(--matte-gold);
    color: var(--charcoal);
}

.inquiry-btn:hover {
    width: 60px;
    box-shadow: var(--shadow-lg);
}

.inquiry-btn svg {
    width: 24px;
    height: 24px;
}

/* ---- 倒计时样式 ---- */
.countdown {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid var(--matte-gold);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--matte-gold);
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--cream-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- 统计数字 ---- */
.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--matte-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--charcoal-lighter);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- 证书样式 ---- */
.certificate-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

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

.certificate-card img {
    height: 150px;
    object-fit: contain;
    margin: 0 auto 1rem;
}

/* ---- FAQ手风琴 ---- */
.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--charcoal);
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--wine-red);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-normal);
    color: var(--matte-gold);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--charcoal-lighter);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ---- 时间线样式 ---- */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--wine-red), var(--matte-gold), var(--dark-green));
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--matte-gold);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--wine-red);
    margin-bottom: 0.5rem;
}

/* ---- 流程步骤 ---- */
.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--wine-red), var(--wine-red-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.step-content p {
    color: var(--charcoal-lighter);
    font-size: 0.95rem;
}

/* ---- 案例画廊 ---- */
.case-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.case-card:hover img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(17, 17, 17, 0.9) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.case-card:hover .case-overlay {
    opacity: 1;
}

@media (max-width: 767px) {
    .case-overlay {
        opacity: 1 !important;
        background: linear-gradient(180deg, transparent 20%, rgba(17, 17, 17, 0.9) 100%) !important;
    }
}

.case-overlay h4 {
    color: var(--cream-white);
    margin-bottom: 0.5rem;
}

.case-overlay p {
    color: var(--matte-gold-light);
    font-size: 0.9rem;
}

/* ---- 信任标识 ---- */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gold-10);
    border: 1px solid var(--gold-20);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--matte-gold-dark);
}

.trust-badge svg {
    width: 16px;
    height: 16px;
}

/* ---- 微信灯光呼吸动画 ---- */
.string-lights {
    position: relative;
    height: 30px;
    overflow: hidden;
}

.light-bulb {
    position: absolute;
    width: 8px;
    height: 12px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.3; filter: brightness(0.8); }
    50% { opacity: 1; filter: brightness(1.2); }
}

/* ---- 响应式设计 ---- */
@media (max-width: 1200px) {
    .nav-link {
        font-size: 0.8rem;
    }
    
    .navbar-brand span {
        font-size: 1.3rem;
    }
}

@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-title { font-size: 3rem; }
    .countdown-number { width: 60px; height: 60px; font-size: 1.75rem; }
    
    /* 导航栏字体自适应 */
    .navbar-brand span {
        font-size: 1.1rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
    }
    
    .btn-sm {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .hero-title { font-size: 2.25rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-main-title { font-size: 2.5rem !important; letter-spacing: 4px !important; }
    
    /* 导航栏字体自适应 */
    .navbar-brand span {
        font-size: 1rem;
    }
    
    .navbar {
        padding: 0.75rem 1rem;
    }
    
    .countdown {
        gap: 0.75rem;
    }
    
    .countdown-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
        padding-left: 50px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .inquiry-sidebar {
        display: none;
    }
    
    .mobile-inquiry-bar {
        display: flex;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-main-title {
        font-size: 2rem !important;
        letter-spacing: 2px !important;
    }
    
    .countdown-number {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ---- 移动端底部咨询栏 ---- */
.mobile-inquiry-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--charcoal);
    padding: 0.75rem;
    gap: 0.5rem;
}

.mobile-inquiry-bar .btn {
    flex: 1;
    font-size: 0.8rem;
    padding: 0.6rem;
}

/* ---- 工具类 ---- */
.text-wine { color: var(--wine-red); }
.text-gold { color: var(--matte-gold); }
.text-green { color: var(--dark-green); }
.text-white { color: var(--cream-white); }
.text-charcoal { color: var(--charcoal); }

.bg-wine { background-color: var(--wine-red); }
.bg-gold { background-color: var(--matte-gold); }
.bg-green { background-color: var(--dark-green); }
.bg-cream { background-color: var(--cream-white); }
.bg-charcoal { background-color: var(--charcoal); }

.font-heading { font-family: var(--font-heading); }
.font-body { font-family: var(--font-body); }

/* ---- 容器 ---- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-wide {
    max-width: 1400px;
}

.container-narrow {
    max-width: 800px;
}

/* ---- 区块间距 ---- */
.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-lg {
    padding: 7rem 0;
}

/* ---- 页头横幅 ---- */
.page-header {
    position: relative;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--charcoal), var(--dark-green));
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, var(--gold-10) 0%, transparent 50%);
}

.page-header h1 {
    color: var(--cream-white);
    font-size: 3rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    color: var(--matte-gold-light);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* ---- 圣诞装饰类 ---- */
.christmas-decor {
    position: relative;
}

.christmas-decor::before,
.christmas-decor::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    pointer-events: none;
}

/* ---- 隐藏/显示控制 ---- */
.christmas-element {
    transition: opacity var(--transition-slow);
}

body.christmas-off .christmas-element {
    opacity: 0 !important;
    pointer-events: none;
}

body.christmas-off #snow-canvas {
    display: none;
}
