/* ========================================
   鼎途网络 - 首页专用样式
   ======================================== */

/* Hero Banner 区域 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1E3A5F 0%, #4A90E2 50%, #87CEEB 100%);
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.3) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--pure-white);
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.hero-btn-primary {
    background: var(--pure-white);
    color: var(--primary-blue);
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hero-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-btn-outline {
    background: transparent;
    color: var(--pure-white);
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    border: 3px solid var(--pure-white);
}

.hero-btn-outline:hover {
    background: var(--pure-white);
    color: var(--primary-blue);
    transform: translateY(-5px);
}

/* 滚动提示 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 40px;
    height: 40px;
    fill: var(--pure-white);
    opacity: 0.8;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* ========================================
   核心优势板块
   ======================================== */
.features-section {
    background: var(--pure-white);
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: linear-gradient(135deg, var(--sky-blue), var(--pure-white));
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(74, 144, 226, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.feature-icon img {
    width: 45px;
    height: 45px;
    filter: brightness(0) invert(1);
}

.feature-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--dark-gray);
    font-size: 14px;
    line-height: 1.8;
}

/* ========================================
   服务展示区 - 非通用布局
   ======================================== */
.services-showcase {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--pure-white) 100%);
}

.services-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.services-content {
    padding: 40px;
}

.services-content h2 {
    font-size: 42px;
    color: var(--dark-blue);
    margin-bottom: 30px;
    line-height: 1.3;
}

.service-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: var(--pure-white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.15);
}

.service-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--pure-white);
    font-size: 24px;
    font-weight: 700;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-info h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.service-info p {
    color: var(--dark-gray);
    font-size: 14px;
    line-height: 1.7;
}

.services-visual {
    position: relative;
    height: 600px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.services-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   业务流程板块
   ======================================== */
.process-section {
    padding: 100px 0;
    background: var(--dark-blue);
    color: var(--pure-white);
}

.process-section .section-title h2 {
    color: var(--pure-white);
}

.process-section .section-title p {
    color: rgba(255, 255, 255, 0.7);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 100px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 0 20px;
}

.process-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.4);
    border: 5px solid var(--dark-blue);
}

.process-step h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--light-blue);
}

.process-step p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ========================================
   案例展示板块
   ======================================== */
.cases-section {
    padding: 100px 0;
    background: var(--pure-white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    group: case;
}

.case-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(30, 58, 95, 0.95));
    color: var(--pure-white);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.case-card:hover .case-overlay {
    transform: translateY(0);
    opacity: 1;
}

.case-category {
    font-size: 12px;
    color: var(--light-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.case-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.case-desc {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
}

/* ========================================
   资讯列表板块
   ======================================== */
.news-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.news-tab {
    padding: 12px 30px;
    background: var(--pure-white);
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.news-tab:hover,
.news-tab.active {
    background: var(--primary-blue);
    color: var(--pure-white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.news-card {
    background: var(--pure-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 13px;
    color: var(--medium-gray);
    margin-bottom: 10px;
    display: block;
}

.news-title {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   CTA 行动号召
   ======================================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    text-align: center;
    color: var(--pure-white);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-white {
    background: var(--pure-white);
    color: var(--primary-blue);
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.cta-btn-border {
    background: transparent;
    color: var(--pure-white);
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    border: 3px solid var(--pure-white);
}

.cta-btn-border:hover {
    background: var(--pure-white);
    color: var(--primary-blue);
    transform: translateY(-5px);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-wrapper {
        grid-template-columns: 1fr;
    }

    .services-visual {
        height: 400px;
    }

    .process-timeline {
        flex-direction: column;
        gap: 40px;
    }

    .process-timeline::before {
        display: none;
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 600px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
    }

    .service-item:hover {
        transform: translateY(-10px);
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
