/* WorkParty 全局主题 - 黑金奢华商务风格 */
:root {
    /* 黑金色调 */
    --bg-black: #000000;
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --primary-gold: #D4AF37;
    --primary-gold-dark: #B8860B;
    --primary-gold-light: #F0E68C;
    --accent-gold: #FFD700;
    --text-light: #ffffff;
    --text-muted: #aaaaaa;
    --text-gray: #777777;
    --border-gold: rgba(212, 175, 55, 0.3);
    --shadow-gold: rgba(212, 175, 55, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(212, 175, 55, 0.2);

    /* 尺寸与效果 */
    --border-radius: 16px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --font-family: 'Inter', 'Poppins', '微软雅黑', Arial, sans-serif;
}

/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--bg-black);
    color: var(--text-light);
    line-height: 1.8;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 20%),
                      radial-gradient(circle at 80% 80%, rgba(180, 134, 11, 0.03) 0%, transparent 20%);
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, li {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 玻璃态导航栏 */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 20px var(--shadow-gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.navbar .logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 10px var(--shadow-gold);
}

.navbar .logo i {
    font-size: 32px;
}

.navbar .nav-links {
    display: flex;
    gap: 30px;
}

.navbar .nav-links a {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 10px;
    position: relative;
}

.navbar .nav-links a:hover {
    color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.1);
}

.navbar .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-light));
    transition: width 0.3s ease;
}

.navbar .nav-links a:hover::after {
    width: 70%;
}

.navbar .menu-btn {
    display: none;
    font-size: 24px;
    color: var(--primary-gold);
    cursor: pointer;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-gold {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
    color: #000;
    box-shadow: 0 6px 20px var(--shadow-gold);
    border: 1px solid var(--primary-gold);
}

.btn-gold:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px var(--shadow-gold);
}

.btn-outline-gold {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
}

.btn-outline-gold:hover {
    background: var(--primary-gold);
    color: #000;
}

/* 页面横幅 */
.page-banner {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%), url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1770&q=80') center/cover no-repeat;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.page-banner h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    position: relative;
}

.page-banner p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-muted);
    position: relative;
}

/* 3D卡片 */
.card-3d {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-gold);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-3d::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-gold), var(--primary-gold-light), var(--primary-gold-dark));
    z-index: -1;
    border-radius: calc(var(--border-radius) + 2px);
    opacity: 0;
    transition: opacity 0.4s;
}

.card-3d:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 30px var(--shadow-gold);
}

.card-3d:hover::before {
    opacity: 1;
}

.card-3d .card-title {
    font-size: 24px;
    color: var(--primary-gold);
    margin-bottom: 15px;
    font-weight: 700;
}

.card-3d .card-text {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* 内容区域 */
.content-section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-dark));
    border-radius: 2px;
}

/* 网格布局 */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* 页脚 */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-gold);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1 1 250px;
}

.footer-col h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-gold);
    display: inline-block;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-gold);
    padding-left: 10px;
}

.footer-col .contact-info {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

.footer-col .contact-info i {
    color: var(--primary-gold);
    margin-right: 10px;
    width: 20px;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: var(--text-gray);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--primary-gold);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px var(--shadow-gold);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    font-size: 20px;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: scale(1.1) rotate(180deg);
}

/* 表单 */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-light);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    color: var(--text-light);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        padding: 30px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        border-top: 1px solid var(--border-gold);
        z-index: 1000;
    }
    .navbar .nav-links.active {
        display: flex;
    }
    .navbar .menu-btn {
        display: block;
    }
    .page-banner h1 {
        font-size: 36px;
    }
    .page-banner p {
        font-size: 18px;
    }
    .section-title {
        font-size: 28px;
    }
    .footer .container {
        flex-direction: column;
    }
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}