/* 首页样式 */

.hero-section {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    color: white;
    padding: 4rem 0;
    border-radius: 1.5rem; /* 添加圆角 */
    overflow: hidden; /* 确保内容不会超出圆角边界 */
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1.5rem; /* 增大圆角 */
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
}

.stat-card {
    border-radius: 1.5rem; /* 增大圆角 */
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
}

/* 按钮样式调整 */
.btn-primary {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.btn-primary i {
    margin-right: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

.btn-hero {
    background-color: white;
    color: #3b82f6; /* blue-500 */
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.btn-hero:hover {
    background-color: #f3f4f6; /* gray-100 */
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

.btn-hero i {
    margin-right: 0.5rem;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: calc(1rem - 2px) calc(2rem - 2px); /* 减去边框宽度以保持整体大小一致 */
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

.btn-secondary i {
    margin-right: 0.5rem;
}

.btn-cta-primary {
    background-color: #3b82f6; /* blue-500 */
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-cta-primary:hover {
    background-color: #2563eb; /* blue-600 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

.btn-cta-secondary {
    background-color: #374151; /* gray-700 */
    color: #3b82f6; /* blue-500 */
    font-weight: 600;
    border: 1px solid #3b82f6; /* blue-500 */
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-cta-secondary:hover {
    background-color: #1f2937; /* gray-800 */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

.btn-cta-primary i, 
.btn-cta-secondary i {
    margin-right: 0.5rem;
}

/* 卡片样式调整 */
.stat-card {
    background-color: #374151; /* gray-700 */
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: #d1d5db; /* gray-300 */
    margin-top: 0.5rem;
}

.feature-card {
    background-color: #374151; /* gray-700 */
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.feature-card .feature-icon {
    width: 3rem;
    height: 3rem;
    background-color: #111827; /* gray-900 */
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card .feature-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
}

.feature-card .feature-desc {
    color: #d1d5db; /* gray-300 */
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1.25rem;
    }
    
    .btn-hero,
    .btn-secondary,
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .feature-card .feature-title {
        font-size: 1.125rem;
    }
    
    .stat-card .stat-number {
        font-size: 1.5rem;
    }
}