/* 公共页面样式 */
.page-section {
    padding: 130px 0 80px;
    min-height: 100vh;
}

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

.section-title {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease-out;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-title p {
    font-size: 18px;
    color: #666;
    font-weight: 400;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 卡片样式 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    animation: fadeIn 0.8s ease-out;
}

.card {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0063F7 0%, #0063F7 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 99, 247, 0.15);
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

.card p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 14px 40px;
    background: #3498db;
    color: #fff !important;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    color: #fff !important;
}

.btn-primary {
    background: #0063F7;
    box-shadow: 0 4px 15px rgba(0, 99, 247, 0.3);
}

.btn-primary:hover {
    background: #0052CC;
    box-shadow: 0 6px 20px rgba(0, 99, 247, 0.4);
    color: #fff !important;
}

/* 列表样式 */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 12px 0;
    color: #444;
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    line-height: 1.6;
    transition: all 0.2s;
}

.feature-list li:hover {
    color: #0063F7;
    padding-left: 32px;
}

.feature-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 18px;
    height: 18px;
    background: #0063F7;
    border-radius: 50%;
}

.feature-list li:after {
    content: "✓";
    position: absolute;
    left: 4px;
    top: 13px;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
}

/* 图标样式 */
.icon-box {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: #0063F7;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 99, 247, 0.3);
    transition: all 0.3s;
    position: relative;
}

.icon-box::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: #0063F7;
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.card:hover .icon-box {
    transform: scale(1.1) rotate(-5deg);
}

.card:hover .icon-box::before {
    opacity: 0.3;
}

.icon-box i {
    font-size: 44px;
    color: #fff;
}

/* 背景样式 */
.bg-gradient {
    background: #0063F7;
    color: #fff;
}

.bg-light {
    background: #f8f9fa;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #0063F7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 99, 247, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* 响应式 */
@media (max-width: 768px) {
    .page-section {
        padding: 110px 0 60px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .section-title p {
        font-size: 16px;
    }
    
    .card {
        padding: 25px;
    }
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 滚动渐显效果 */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

/* 卡片悬浮动画优化 */
@media (prefers-reduced-motion: no-preference) {
    .card {
        will-change: transform;
    }
}
