/* ===========================================
   VTS 智能仿真平台 - OnSite页面专用样式
   包含：页面布局、卡片样式、链接按钮等
   =========================================== */

/* ===========================================
   主要内容区域
   =========================================== */
.main-content {
    margin-top: 80px; /* 为固定导航栏留出空间 */
    min-height: calc(100vh - 80px);
}

/* ===========================================
   英雄区域样式
   =========================================== */
.hero-section {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #e3f2fd 100%);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #5a6c7d;
    line-height: 1.6;
    font-weight: 400;
}

/* ===========================================
   通用区域样式
   =========================================== */
.intro-section,
.links-section,
.features-section {
    padding: 80px 0;
}

.intro-section {
    background: #ffffff;
}

.links-section {
    background: #f8f9fa;
}

.features-section {
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 2px;
}

/* ===========================================
   简介内容样式
   =========================================== */
.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* ===========================================
   链接卡片样式
   =========================================== */
.links-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.link-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(52, 152, 219, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.link-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(52, 152, 219, 0.15);
}

.link-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.onsite-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 8px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vts-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 12px;
    color: white;
}

.link-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.link-description {
    font-size: 1rem;
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.link-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.link-btn svg {
    transition: transform 0.3s ease;
}

.link-btn:hover svg {
    transform: translateX(3px);
}

/* ===========================================
   特色功能网格样式
   =========================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(52, 152, 219, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(52, 152, 219, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-item p {
    font-size: 1rem;
    color: #5a6c7d;
    line-height: 1.6;
}

/* ===========================================
   响应式设计 - 平板端
   =========================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .links-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .link-card {
        padding: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .intro-section,
    .links-section,
    .features-section {
        padding: 60px 0;
    }
}

/* ===========================================
   响应式设计 - 手机端
   =========================================== */
@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .link-card {
        padding: 1.2rem;
    }
    
    .link-header {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .onsite-logo,
    .vts-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-item {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .intro-text p {
        font-size: 1rem;
        text-align: left;
    }
    
    .intro-section,
    .links-section,
    .features-section {
        padding: 40px 0;
    }
}