/* 首页样式 */

/* 英雄区域 */
.hero-section {
    padding: 3rem 0;
    background: #ffffff;
}

.unified-platform-box {
    background: linear-gradient(135deg, #f3f9ff 0%, #e6f7f4 100%);
    border-radius: 1.5rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}

.unified-platform-box h1 {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 2.2rem;
}

.platforms-container {
    display: flex;
    gap: 2rem;
    width: 100%;
}

.platform-info {
    flex: 1;
    background: rgba(255, 255, 255, 0.7);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid #dee2e6;
    transition: transform 0.3s ease;
}

.platform-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.platform-info .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.platform-info h2 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.icon.online { 
    color: #198754; 
}

.icon.tools { 
    color: #0d6efd; 
}

.platform-info p {
    font-size: 0.95rem;
    color: #495057;
    min-height: 60px;
}

.btn-docs {
    margin-top: 1.5rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    background-color: #fff;
    color: #007bff;
    border: 2px solid #007bff;
    transition: all 0.3s ease;
}

.btn-docs:hover {
    background-color: #007bff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* 工具卡片样式 */
.category-section {
    margin-top: 3rem;
}

.tool-card-grid {
    position: relative;
    text-align: center;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tool-card-grid .card-body {
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tool-card-grid:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.tool-icon-grid {
    margin: 0 auto;
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon-grid img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.badges-grid {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    z-index: 2;
}

.vip-badge-grid, 
.batch-badge-grid, 
.local-badge-grid {
    color: #fff;
    padding: 0.3em 0.6em;
    font-size: 0.8rem;
    border-radius: 0.25rem;
    font-weight: bold;
}

.vip-badge-grid {
    background: linear-gradient(135deg, #f7d038, #ffa800);
}

.batch-badge-grid {
    background: linear-gradient(135deg, #17a2b8, #138496);
}

.local-badge-grid {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.tool-card-button {
    background: linear-gradient(45deg, #0d6efd, #00c6ff);
    border: none;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 50px;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.4);
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
    pointer-events: none;
}

.tool-card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 198, 255, 0.6);
}

.card-title {
    font-weight: 600;
    margin-top: 0.5rem;
    font-size: 1.25rem;
}

.tool-card-grid a.stretched-link {
    z-index: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .platforms-container {
        flex-direction: column;
    }
    
    .unified-platform-box h1 {
        font-size: 1.8rem;
    }
    
    .category-section h2 {
        font-size: 1.5rem;
    }
} 