/* 全宽布局样式文件 - 修复界面挤压问题 */

/* 重写主要内容区域为全宽布局 */
.main-content {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 60px 5% !important;
}

/* 功能特色区域 - 保持原有网格布局但调整间距 */
.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    margin-bottom: 100px;
    padding: 0 2%;
}

.feature-card {
    padding: 50px 30px;
}

/* 用户功能区域 - 全宽并列布局 */
.user-functions {
    background: white;
    padding: 80px 5%;
    border-radius: 20px;
    margin: 100px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.functions-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    max-width: 1400px;
    margin: 0 auto;
}

/* 个人用户功能区域 */
.personal-functions {
    display: flex;
    flex-direction: column;
}

.personal-functions h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #2c3e50;
}

.personal-function-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.personal-function-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}

.personal-function-check {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.personal-function-text {
    font-size: 20px;
    color: #2c3e50;
    font-weight: 500;
}

/* 广告商功能区域 */
.advertiser-functions {
    display: flex;
    flex-direction: column;
}

.advertiser-functions h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #2c3e50;
}

.advertiser-function-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.advertiser-function-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}

.advertiser-function-check {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.advertiser-function-text {
    font-size: 20px;
    color: #2c3e50;
    font-weight: 500;
}

/* 用户类型选择区域 - 全宽布局 */
.user-type-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin: 100px 5%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.user-type-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s;
    position: relative;
}

.user-type-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

.user-type-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(79, 172, 254, 0.8) 0%, 
        rgba(0, 242, 254, 0.6) 50%, 
        rgba(102, 126, 234, 0.8) 100%);
}

.user-type-content {
    padding: 40px;
    text-align: center;
}

.user-type-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2c3e50;
}

.user-type-desc {
    color: #666;
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.6;
}

.user-type-button {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s;
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

.user-type-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(79, 172, 254, 0.6);
}

/* 广告商卡片特殊样式 */
.user-type-card.advertiser .user-type-image {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.user-type-card.advertiser .user-type-button {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.user-type-card.advertiser .user-type-button:hover {
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .functions-container {
        gap: 60px;
    }
    
    .user-type-section {
        gap: 60px;
        margin: 80px 3%;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 40px 3% !important;
    }
    
    .functions-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .user-type-section {
        grid-template-columns: 1fr;
        gap: 40px;
        margin: 60px 3%;
    }
    
    .personal-functions h2,
    .advertiser-functions h2 {
        font-size: 28px;
        text-align: center;
    }
    
    .user-type-image {
        height: 250px;
    }
    
    .user-type-title {
        font-size: 28px;
    }
}
