/* 心理健康网 - 主样式文件 */

/* 基础变量 */
:root {
    --primary-color: #4e73df;
    --primary-dark: #2e59d9;
    --secondary-color: #858796;
    --success-color: #1cc88a;
    --info-color: #36b9cc;
    --warning-color: #f6c23e;
    --danger-color: #e74a3b;
    --light-color: #f8f9fc;
    --dark-color: #5a5c69;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --border-radius: 8px;
    --box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    --transition: all 0.3s ease;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fc;
    padding-top: 76px; /* 导航栏高度 */
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-brand img {
    margin-right: 10px;
}

.brand-text {
    font-size: 1.25rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: #6c757d !important;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* 主横幅 */
.hero-banner {
    background: linear-gradient(135deg, #f8f9fc 0%, #e9ecef 100%);
    padding: 5rem 0;
    margin-bottom: 3rem;
}

.hero-banner h1 {
    color: #2e59d9;
    line-height: 1.2;
}

.hero-banner .lead {
    font-size: 1.25rem;
    color: #6c757d;
}

/* 分区样式 */
.section-light {
    background-color: #f8f9fc;
    padding: 4rem 0;
    margin: 2rem 0;
}

.section-white {
    background-color: white;
    padding: 4rem 0;
    margin: 2rem 0;
}

.section-vip {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
    margin: 2rem 0;
    color: white;
}

.section-header h2 {
    color: #2e59d9;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* 卡片样式 */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 2rem rgba(58, 59, 69, 0.25);
}

.test-card {
    border-top: 4px solid var(--primary-color);
}

.test-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.bg-blue {
    background-color: var(--primary-color);
}

.bg-orange {
    background-color: var(--warning-color);
}

.bg-green {
    background-color: var(--success-color);
}

.test-info {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    padding: 0.75rem 0;
    border-top: 1px solid #e3e6f0;
    border-bottom: 1px solid #e3e6f0;
}

.test-info span {
    color: #6c757d;
    font-size: 0.875rem;
}

.test-info i {
    margin-right: 0.5rem;
}

/* VIP卡片 */
.vip-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.vip-price {
    color: white;
}

.vip-price .price {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1;
}

.vip-price .currency {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

/* 按钮样式 */
.btn {
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(78, 115, 223, 0.3);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* 页脚样式 */
.footer {
    background-color: #2e59d9;
    color: white;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: white;
    text-decoration: underline;
}

.footer h5, .footer h6 {
    color: white;
    margin-bottom: 1.25rem;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* 免责声明 */
.disclaimer {
    background-color: #fff9e6;
    border-left: 4px solid var(--warning-color);
}

/* 工具类 */
.text-muted {
    color: #6c757d !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.rounded-4 {
    border-radius: 1rem !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    body {
        padding-top: 66px;
    }
    
    .hero-banner {
        padding: 3rem 0;
        text-align: center;
    }
    
    .hero-banner h1 {
        font-size: 2.5rem;
    }
    
    .section-light,
    .section-white,
    .section-vip {
        padding: 3rem 0;
    }
    
    .test-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .vip-price .price {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-banner h1 {
        font-size: 2rem;
    }
    
    .btn-lg {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .navbar-nav {
        margin-top: 1rem;
    }
    
    .nav-link {
        padding: 0.5rem 0 !important;
    }
}