/* ========================================
   新捷建站 - 首页专用样式
   ======================================== */

/* Hero Banner 区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10,14,20,0.7) 0%, rgba(10,14,20,0.9) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 50px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--color-text-main);
}

.hero-title .highlight {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-desc {
    font-size: 20px;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 80px;
    padding: 40px;
    background: rgba(18, 24, 33, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--color-border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 14px;
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 悬浮卡片分层布局 */
.floating-cards-section {
    position: relative;
    padding: 120px 0;
}

.cards-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.card-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: var(--color-bg-card);
    border-radius: 24px;
    padding: 40px 35px;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 32px;
    box-shadow: var(--shadow-glow);
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 15px;
}

.service-desc {
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
}

.service-link svg {
    transition: transform 0.3s ease;
}

.service-card:hover .service-link svg {
    transform: translateX(5px);
}

/* 优势板块 */
.advantages-section {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.03) 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.advantage-item {
    text-align: center;
    padding: 50px 30px;
    background: var(--color-bg-card);
    border-radius: 24px;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.advantage-item:hover {
    transform: translateY(-15px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: var(--shadow-card);
}

.advantage-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--color-primary);
}

.advantage-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 15px;
}

.advantage-desc {
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.7;
}

@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* 案例展示 */
.cases-section {
    padding: 120px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.case-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
}

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.case-card:hover img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px;
    background: linear-gradient(0deg, rgba(10,14,20,0.95) 0%, transparent 100%);
}

.case-category {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient-main);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 12px;
}

.case-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 8px;
}

.case-desc {
    color: var(--color-text-muted);
    font-size: 14px;
}

@media (max-width: 768px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
}

/* 新闻列表 */
.news-section {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.03) 100%);
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.news-tab {
    padding: 12px 30px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 30px;
    color: var(--color-text-muted);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.news-tab.active,
.news-tab:hover {
    background: var(--gradient-main);
    color: var(--color-text-main);
    border-color: transparent;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.news-card {
    background: var(--color-bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    border-color: rgba(0, 212, 255, 0.3);
}

.news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
}

.news-date {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 12px;
    line-height: 1.5;
}

.news-excerpt {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-tabs {
        gap: 10px;
    }

    .news-tab {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* CTA 区域 */
.cta-section {
    padding: 120px 0;
    position: relative;
}

.cta-card {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 60px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 102, 255, 0.1) 100%);
    border-radius: 30px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 20px;
}

.cta-desc {
    color: var(--color-text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .cta-card {
        padding: 50px 30px;
    }

    .cta-title {
        font-size: 32px;
    }
}
