/* 云会通·轻策 公共样式 */

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

body {
    font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    color: #333;
}

/* ===== 顶部导航 ===== */
.header {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 28px;
    font-weight: 600;
    color: rgba(0,157,217,1);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: rgba(0,157,217,1);
}

.nav-links .btn-organizer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 20px;
    transition: transform 0.3s;
}

.nav-links .btn-organizer:hover {
    transform: translateY(-2px);
}

.nav-links .btn-my {
    background: rgba(0,157,217,1);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 20px;
    transition: transform 0.3s;
}

.nav-links .btn-my:hover {
    transform: translateY(-2px);
}

/* ===== 汉堡菜单 ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== 页面横幅 ===== */
.page-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 20px;
    text-align: center;
    color: #fff;
}

.page-banner h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 18px;
    opacity: 0.9;
}

/* ===== 主内容区通用 ===== */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 页脚 ===== */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
    font-size: 14px;
    opacity: 0.8;
}

.footer a {
    color: #fff;
    opacity: 0.8;
}

.footer .icp {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 8px;
}

.footer .icp a {
    color: #fff;
    text-decoration: none;
}

.footer .icp a:hover {
    opacity: 1;
}

/* ===== 响应式导航 ===== */
@media (max-width: 768px) {
    .logo {
        font-size: 18px;
    }

    .logo img {
        height: 30px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 16px;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        text-align: center;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .header-content {
        position: relative;
    }

    .page-banner h1 {
        font-size: 28px;
    }

    .page-banner p {
        font-size: 16px;
    }
}

/* ===== 按钮通用 ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(0,157,217,1) 0%, #667eea 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,157,217,0.3);
}

.btn-secondary {
    background: #fff;
    color: rgba(0,157,217,1);
    border: 2px solid rgba(0,157,217,1);
}

.btn-secondary:hover {
    background: rgba(0,157,217,1);
    color: #fff;
}
