/* 商务风格样式文件 */
/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

:root {
    /* 优雅紫高贵配色方案 */
    --primary-dark: #553a6b;  /* 深紫色 */
    --primary: #6b46c1;       /* 紫罗兰 */
    --primary-light: #9f7aea; /* 浅紫色 */
    --accent: #805ad5;        /* 亮紫色 */
    --accent-light: #faf5ff;  /* 极浅紫色 */
    --text-dark: #1a202c;     /* 深褐黑 */
    --text-medium: #4a5568;   /* 暖灰褐 */
    --text-light: #718096;    /* 浅褐灰 */
    --bg-white: #ffffff;      /* 白色 */
    --bg-light: #f7fafc;      /* 浅灰白 */
    --bg-rose: #faf5ff;       /* 极浅紫白 */
    --bg-gold: #f3e8ff;       /* 浅紫白 */
    --bg-dark: #553a6b;       /* 深紫色（用于顶部深色背景） */
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(85, 58, 107, 0.08);
    --shadow-md: 0 4px 16px rgba(85, 58, 107, 0.12);
    --shadow-lg: 0 10px 40px rgba(85, 58, 107, 0.15);
    --shadow-gold: 0 4px 20px rgba(107, 70, 193, 0.25);
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    word-wrap: break-word;
}

/* 图片基础自适应 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 所有文字元素自适应 */
p, span, div, a, li, td, th {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Logo优化 */
.logo img {
    height: 45px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

/* 防止内容溢出 */
*, *::before, *::after {
    box-sizing: border-box;
    max-width: 100%;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    /* 防止闪烁 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
}

/* 防止页面加载时的闪烁 */
.header .logo img {
    opacity: 1;
    -webkit-animation: fadeIn 0.3s ease-in;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.header-top {
    background: var(--bg-dark);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

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

.header-main {
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    z-index: 10;
}

.logo img {
    height: 45px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
    /* 确保透明背景 */
    background-color: transparent !important;
    background-image: none !important;
    /* 防止闪烁 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* 强制透明背景 */
    mix-blend-mode: normal;
    isolation: isolate;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
}

.nav {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    font-size: 14px;
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section - 高端美业风格 */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 50%, var(--primary) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    margin-bottom: 35px;
    font-weight: 300;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}
}

/* 确保统计卡片在一行显示 */
.hero .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-top: 50px !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

.hero .stat-card {
    background: rgba(255, 255, 255, 0.2);
    padding: 25px 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    text-align: center;
    min-width: 0;
    width: 100% !important;
    flex: none !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.stat-card strong {
    display: block;
    font-size: 2.5rem;
    color: #FFFFFF;
    font-weight: bold;
    transition: transform 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.stat-card strong:hover {
    transform: scale(1.05);
}

.stat-card span {
    font-size: 1rem;
    color: #FFFFFF;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section .container {
    padding: 0 20px;
}

.section.bg-light {
    background: linear-gradient(180deg, var(--bg-gold) 0%, var(--bg-light) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
    color: var(--primary-dark);
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
}

.section-header h2 {
    font-size: 2.6rem;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Card Styles - 高端美业风格 */
.card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px 35px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

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

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 28px;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.card h3 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 18px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Button Styles - 高端美业风格 */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(107, 70, 193, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 70, 193, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
    color: var(--primary-dark);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 50px 0 20px;
}

.footer .container {
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 8px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Image Zoom Container */
.image-zoom-container {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    background: transparent;
    padding: 0;
    margin: 0;
}

/* 会议图片PC端样式 */
.conference-image {
    overflow: hidden !important;
}

.conference-image .conference-img {
    object-fit: cover !important;
}

.image-zoom-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.image-zoom-container img {
    width: 100%;
    display: block;
    transition: transform 0.3s;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

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

.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.image-zoom-container:hover .zoom-icon {
    opacity: 1;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--accent);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .hero-stats {
        gap: 15px !important;
        margin-top: 40px !important;
    }

    .hero .stat-card {
        padding: 20px 15px;
    }

    .hero .stat-card strong {
        font-size: 2rem;
    }

    .hero .stat-card span {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .hero-stats {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
        margin-top: 30px !important;
        padding: 0 10px;
    }

    .hero .stat-card {
        padding: 15px 8px;
    }

    .hero .stat-card strong {
        font-size: 1.4rem;
    }

    .hero .stat-card span {
        font-size: 0.7rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .image-zoom-container:hover .zoom-icon {
        opacity: 1;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}
