/* ========== 慧眼安邦 公共样式 ========== */

:root {
    --primary: #00f3ff;
    --secondary: #0066cc;
    --dark: #0a192f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--dark);
    color: white;
    overflow-x: hidden;
}

/* ========== 导航栏 ========== */
.navbar {
    padding: 1.2rem 10%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* ========== 按钮 ========== */
.button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white !important;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
    z-index: 10;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 243, 255, 0.2);
    width: 100%;
    max-width: 280px;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 243, 255, 0.3);
}

.cta-button:active {
    transform: translateY(0);
}

/* ========== 章节标题 ========== */
.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: var(--primary);
    bottom: -8px;
    left: 0;
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

/* ========== 通用内页头部 ========== */
.page-header {
    height: 45vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 10%;
    text-align: center;
    margin-top: 0;
    position: relative;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.page-header .underline {
    height: 4px;
    width: 80px;
    background: var(--primary);
    margin: 0 auto 1.2rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.container {
    padding: 4rem 10%;
}

/* ========== 页脚 ========== */
footer {
    padding: 2rem 10%;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-info {
    flex: 1;
    min-width: 200px;
    text-align: left;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-links-column h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

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

.footer-links-column ul li {
    margin-bottom: 0.5rem;
}

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links-column ul li a:hover {
    color: var(--primary);
}

.beian {
    padding-top: 1rem;
    opacity: 0.7;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.beian a {
    color: var(--primary);
    text-decoration: none;
}

/* ========== 响应式设计 ========== */
@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 25, 47, 0.95);
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s;
    }

    .nav-links.active {
        right: 0;
    }

    .container {
        padding: 3rem 5%;
    }

    .page-header {
        height: 40vh;
        padding: 0 5%;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-header p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }

    .button-group {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
    }
}
