/* ========================================
   内页专用样式
   ======================================== */

/* Hero 区域 */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* 服务卡片增强 */
.service-card {
    text-align: center;
    padding: 3rem 2rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-main);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3);
}

.service-icon img {
    width: 45px;
    height: 45px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 案例卡片 */
.case-card {
    padding: 0;
    overflow: hidden;
}

.case-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-card:hover .case-img {
    transform: scale(1.1);
}

.case-content {
    padding: 1.5rem;
}

.case-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.case-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.case-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.case-tag {
    padding: 0.3rem 0.8rem;
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-blue);
    border-radius: 20px;
    font-size: 0.85rem;
}

/* 新闻卡片 */
.news-card {
    padding: 0;
    overflow: hidden;
}

.news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-img {
    transform: scale(1.1);
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.news-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 详情页面 */
.article-detail {
    padding: 180px 0 80px;
}

.article-header {
    margin-bottom: 3rem;
}

.article-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.article-content {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    line-height: 1.9;
    color: var(--text-secondary);
}

.article-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 2rem 0;
}

.article-content h2,
.article-content h3 {
    color: var(--text-primary);
    margin: 2.5rem 0 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

/* 相关新闻区域 */
.related-news {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
}

/* 价格卡片 */
.pricing-card {
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--neon-blue);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.2);
}

.pricing-card.featured::before {
    content: '推荐';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--gradient-main);
    color: var(--primary-dark);
    padding: 0.3rem 3rem;
    transform: rotate(45deg);
    font-size: 0.85rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1.5rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--neon-green);
    font-weight: bold;
}

/* 团队卡片 */
.team-card {
    text-align: center;
    padding: 2rem;
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid transparent;
    background: var(--gradient-main) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 3px;
}

.team-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.team-role {
    color: var(--neon-blue);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.team-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 联系表单 */
.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(20px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(10, 14, 23, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}
