:root {
    --white: #ffffff;
    --gray: #cccccc;
    --black: #000000;
    --dark-black: #0f0f0f;
    --light-black: #1f1f1f;
    --gold: #d4af37;
    --light-gold: #e6c875;
    --gold-gradient: linear-gradient(135deg, var(--gold), var(--light-gold));
    --gold-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    --gold-glow: 0 0 10px rgba(212, 175, 55, 0.5);
    --danger: #e74c3c;
    --success: #2ecc71;
    --info: #3498db;
    --space-xs: 5px;
    --space-sm: 10px;
    --space-md: 15px;
    --space-lg: 20px;
    --space-xl: 30px;
    --space-xxl: 60px;
    --border-radius: 5px;
    --card-bg: var(--light-black);
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Microsoft YaHei", "Segoe UI", sans-serif; transition: all 0.3s ease; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
a { text-decoration: none; color: inherit; }
body { background-color: var(--black); color: var(--white); line-height: 1.6; overflow-x: hidden; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: var(--space-xxl); }
.section-title h2 { font-size: clamp(28px, 4vw, 36px); color: var(--white); position: relative; display: inline-block; padding-bottom: var(--space-md); }
.section-title h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: min(200px, 80%); height: 3px; background-color: var(--gold); }
.btn-main, .btn-ghost, .btn-danger, .btn-success, .btn-info { display: inline-block; padding: 10px 25px; border-radius: 30px; font-weight: bold; cursor: pointer; border: 2px solid transparent; text-align: center; font-size: 16px; }
.btn-main { background: var(--gold-gradient); color: var(--black); box-shadow: var(--gold-shadow); }
.btn-main:hover { background: transparent; color: var(--gold); border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--gold-glow); }
.btn-ghost { 
    position: relative; 
    padding: 12px 32px; 
    background: rgba(255, 255, 255, 0.03); 
    border: 1.5px solid rgba(212, 175, 55, 0.4); 
    color: var(--gold); 
    font-size: 15px; 
    font-weight: 600;
    letter-spacing: 0.5px; 
    text-transform: none; 
    border-radius: 50px; 
    overflow: hidden; 
    z-index: 1; 
    backdrop-filter: blur(5px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-ghost i {
    font-size: 14px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-ghost::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 0; 
    height: 100%; 
    background: var(--gold-gradient); 
    z-index: -1; 
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    border-radius: 50px; 
}
.btn-ghost:hover { 
    color: var(--black); 
    border-color: var(--gold); 
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4), 0 0 30px rgba(212, 175, 55, 0.2); 
    transform: translateY(-2px); 
}
.btn-ghost:hover::before { 
    width: 100%; 
}
.btn-ghost:hover i {
    transform: translateX(-3px);
}
.btn-expand { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: none; color: var(--gray); font-size: 14px; font-weight: 500; cursor: pointer; padding: 5px 0; position: relative; }
.btn-expand:hover { color: var(--gold); }
.btn-expand:hover i { transform: translateY(3px); }
.btn-expand::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background-color: var(--gold); transition: width 0.3s ease; }
.btn-expand:hover::after { width: 100%; }
.btn-info { background-color: var(--info); color: var(--white); border-radius: 5px; padding: 5px 15px; font-size: 14px; }
.btn-danger { background-color: var(--danger); color: var(--white); border-radius: 5px; padding: 5px 15px; font-size: 14px; }
.btn-success { background-color: var(--success); color: var(--white); border-radius: 5px; padding: 5px 15px; font-size: 14px; }
.btn-info:hover, .btn-danger:hover, .btn-success:hover { filter: brightness(1.1); transform: translateY(-1px); }
.card { background-color: var(--card-bg); border-radius: var(--border-radius); border: 1px solid transparent; position: relative; overflow: hidden; padding: 30px; }
.card:hover { transform: translateY(-5px); border-color: rgba(212, 175, 55, 0.3); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); }
.badge { font-size: 14px; font-weight: bold; color: var(--gold); background-color: rgba(184, 134, 11, 0.1); padding: 2px 8px; border-radius: 10px; border: 1px solid var(--gold); display: inline-block; }
header { background-color: rgba(18, 18, 18, 0.95); position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: var(--gold-shadow); backdrop-filter: blur(10px); }
.header-container { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; position: relative; min-height: 64px; }
.logo { display: flex; align-items: center; gap: var(--space-md); flex-shrink: 0; }
.logo-divider { width: 2px; height: 40px; background-color: var(--gray); }
.brand-logo, .office-logo { min-height: 40px; border-radius: 5px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 2px 0; }
.brand-logo { width: 133px; }
.office-logo { width: 88px; }
.brand-logo img, .office-logo img { max-height: 36px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.nav-menu { display: flex; }
.nav-links { display: flex; list-style: none; gap: var(--space-lg); margin: 0; padding: 0; }
.nav-links a { color: var(--white); font-size: 16px; position: relative; padding: var(--space-xs) 0; font-weight: 500; display: flex; align-items: center; }
.nav-links a i { margin-right: 8px; width: 16px; text-align: center; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--gold); transition-property: width; }
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

/* 移动端菜单按钮 */
.mobile-menu-toggle { 
    display: none; 
    background: rgba(212, 175, 55, 0.1); 
    border: 1px solid rgba(212, 175, 55, 0.3); 
    cursor: pointer; 
    padding: 10px; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    gap: 5px;
    width: 44px; 
    height: 44px; 
    z-index: 1001; 
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    position: relative;
}
.mobile-menu-toggle:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
    transform: scale(1.05);
}
.mobile-menu-toggle:active {
    transform: scale(0.95);
}
.mobile-menu-toggle:focus { 
    outline: 2px solid var(--gold); 
    outline-offset: 2px; 
}
.mobile-menu-toggle.active {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}
.hamburger-line { 
    width: 22px; 
    height: 2.5px; 
    background-color: var(--gold); 
    border-radius: 2px; 
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 0 4px rgba(212, 175, 55, 0.5);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(1) { 
    transform: translateY(7.5px) rotate(45deg); 
    width: 22px;
}
.mobile-menu-toggle.active .hamburger-line:nth-child(2) { 
    opacity: 0; 
    transform: translateX(-10px);
    width: 0;
}
.mobile-menu-toggle.active .hamburger-line:nth-child(3) { 
    transform: translateY(-7.5px) rotate(-45deg); 
    width: 22px;
}
.hero { background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../image/home/1.png') no-repeat center/cover; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; min-height: 100vh; padding-top: 80px; }
.hero-sm { height: 40vh; }
.hero-lg { height: 100vh; }
footer { background-color: var(--black); padding: 70px 0 var(--space-xl); border-top: 1px solid rgba(212, 175, 55, 0.2); }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 50px; }
.footer-column h3 { font-size: 20px; color: var(--gold); margin-bottom: 25px; position: relative; padding-bottom: var(--space-sm); }
.footer-column h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background-color: var(--gold); }
.footer-column p, .footer-column a { color: var(--gray); margin-bottom: var(--space-sm); display: block; }
.footer-column a:hover { color: var(--gold); padding-left: var(--space-xs); }
.social-icons { display: flex; margin: var(--space-lg); gap: var(--space-sm); }
.social-icons a { width: 40px; height: 40px; border-radius: 50%; background-color: var(--light-black); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(212, 175, 55, 0.2); }
.social-icons a:hover { background-color: var(--gold); color: var(--black); transform: translateY(-3px); box-shadow: var(--gold-shadow); }
.copyright { text-align: center; padding-top: var(--space-xl); border-top: 1px solid var(--light-black); color: var(--gray); font-size: 14px; }
.copyright p { margin-bottom: 8px; }
.copyright a { color: var(--gray); text-decoration: none; transition: color 0.3s ease; display: inline-block; cursor: pointer; pointer-events: auto; position: relative; z-index: 1; }
.copyright a:hover { color: var(--gold); }
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 2000; align-items: center; justify-content: center; padding: 20px; }
.modal.active { display: flex; }
.modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); }
.modal-container { position: relative; background: #1a1a1a; width: 100%; max-width: 700px; max-height: 85vh; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); display: flex; flex-direction: column; animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes modalSlideIn { from { opacity: 0; transform: translateY(30px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-header { background: transparent; padding: 40px 40px 20px 40px; text-align: center; }
.modal-header h3 { margin: 0; font-size: 26px; font-weight: bold; color: var(--gold); line-height: 1.4; }
.modal-content { padding: 0 40px 20px 40px; overflow-y: auto; color: #e0e0e0; font-size: 16px; line-height: 1.8; }
.modal-content::-webkit-scrollbar { width: 6px; }
.modal-content::-webkit-scrollbar-track { background: transparent; }
.modal-content::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
.modal-footer { padding: 20px 40px 40px 40px; background: transparent; text-align: center; }
.modal-footer .btn-main { min-width: 150px; background: transparent; border: 1px solid var(--gold); color: var(--gold); box-shadow: none; }
.modal-footer .btn-main:hover { background: var(--gold); color: var(--black); }
.chat-widget { position: fixed; bottom: 30px; right: 30px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; }
.chat-button { width: 60px; height: 60px; background: var(--gold-gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--black); font-size: 26px; cursor: pointer; box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4); z-index: 2; }
.chat-button:hover { transform: scale(1.1) rotate(5deg); box-shadow: 0 0 25px rgba(212, 175, 55, 0.6); }
.chat-popup { position: absolute; bottom: 80px; right: 0; width: 280px; background: rgba(30, 30, 30, 0.95); backdrop-filter: blur(10px); border: 1px solid rgba(212, 175, 55, 0.3); border-radius: 12px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.95); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); transform-origin: bottom right; }
.chat-popup.active { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.chat-header { background: linear-gradient(90deg, rgba(212, 175, 55, 0.1), transparent); padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.chat-title { color: var(--gold); font-size: 16px; font-weight: bold; display: flex; align-items: center; gap: 8px; }
.close-chat { color: var(--gray); cursor: pointer; font-size: 16px; padding: 5px; }
.close-chat:hover { color: var(--white); }
.chat-content { padding: 20px; text-align: center; }
.chat-desc { color: var(--white); font-size: 14px; margin-bottom: 15px; opacity: 0.9; }
.qr-container { display: flex; flex-direction: column; align-items: center; }
.qr-card { background: var(--white); padding: 10px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); margin-bottom: 15px; width: 170px; height: auto; aspect-ratio: 624 / 881; display: flex; align-items: center; justify-content: center; }
.qr-card img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 4px; }
.qr-hint { color: var(--gold); font-size: 16px; font-weight: bold; margin-bottom: 5px; }
.qr-sub-hint { color: var(--gray); font-size: 12px; }
.qr-sub-hint b { color: var(--white); }
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.delay-1 { transition-delay: 0.1s; } .fade-in.delay-2 { transition-delay: 0.2s; } .fade-in.delay-3 { transition-delay: 0.3s; }
.fade-in.delay-4 { transition-delay: 0.4s; } .fade-in.delay-5 { transition-delay: 0.5s; } .fade-in.delay-6 { transition-delay: 0.6s; }
.fade-in.delay-7 { transition-delay: 0.7s; } .fade-in.delay-8 { transition-delay: 0.8s; }
@media (max-width: 1024px) { .container { padding: 0 20px; } }
@media (max-width: 768px) {
    .modal-container { width: 100%; max-height: 90vh; border-radius: 15px; }
    .modal-header { padding: 30px 20px 10px 20px; }
    .modal-header h3 { font-size: 22px; }
    .modal-content { padding: 0 20px 10px 20px; }
    .modal-footer { padding: 10px 20px 30px 20px; }
    
    /* 移动端 Header 样式 */
    .mobile-menu-toggle { display: flex; }
    .nav-menu { 
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(15px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }
    .nav-menu.active {
        max-height: 600px;
    }
    .nav-links {
        flex-direction: column;
        gap: 0;
        padding: var(--space-md) 0;
        width: 100%;
    }
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .nav-links li:last-child {
        border-bottom: none;
    }
    .nav-links a {
        padding: var(--space-md) var(--space-lg);
        font-size: 16px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    .nav-links a::after {
        display: none;
    }
    .nav-links a:hover {
        background-color: rgba(212, 175, 55, 0.1);
        padding-left: calc(var(--space-lg) + 8px);
    }
    
    /* Logo 在小屏幕上缩小 */
    .header-container { padding: 10px 0; min-height: 56px; }
    .brand-logo { width: 100px; min-height: 32px; padding: 2px 0; }
    .office-logo { width: 70px; min-height: 32px; padding: 2px 0; }
    .brand-logo img, .office-logo img { max-height: 28px; }
    .logo-divider { height: 32px; }
    .logo { gap: var(--space-sm); }
    
    .hero { padding-top: 80px; height: auto; min-height: 100vh; }
    .hero-sm { min-height: 40vh; }
    .section { padding: 60px 0; }
    .section-title { margin-bottom: 40px; }
    .footer-content { gap: var(--space-xl); }
    .chat-widget { bottom: 20px; right: 20px; }
    .chat-popup { width: 260px; right: 0; }
    .brand-company-content { flex-direction: column; }
    .process-phases { gap: 40px; }
    .process-phase { padding: 25px; }
    .phase-header { flex-direction: column; text-align: center; }
    .phase-icon { margin-right: 0; margin-bottom: 15px; }
    .phase-cards { grid-template-columns: 1fr; }
    .wide-card-content { flex-direction: column; text-align: center; gap: 20px; }
    .training-wide-card { padding: 30px 20px; }
}

/* 中等屏幕优化 */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-links { gap: var(--space-md); }
    .nav-links a { font-size: 15px; }
    .brand-logo { width: 110px; }
    .office-logo { width: 75px; }
}