/* ========================================
   联睿云创 - 首页专用样式
   ======================================== */

/* Hero Banner */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(20, 20, 20, 0.8)), 
                url('../images/banner-bg.jpg') center/cover no-repeat;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(57, 255, 20, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid #00f5ff;
    border-radius: 50px;
    color: #00f5ff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, #00f5ff, #39ff14);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #aaa;
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-image {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 600px;
    opacity: 0.8;
    filter: drop-shadow(0 0 30px rgba(0, 245, 255, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(-50%) translateY(0); }
    50% { transform: translateY(-50%) translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 核心优势板块 - 独特斜向布局 */
.features-section {
    background: linear-gradient(180deg, #0a0a0a 0%, #0f0f0f 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.03), rgba(57, 255, 20, 0.03));
    transform: rotate(15deg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8), rgba(30, 30, 30, 0.6));
    border: 1px solid rgba(0, 245, 255, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00f5ff, #39ff14);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 245, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.2), rgba(57, 255, 20, 0.2));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: #888;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 服务展示 - 交错式布局 */
.services-section {
    background: #0f0f0f;
    position: relative;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.service-row:last-child {
    margin-bottom: 0;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-image-wrapper {
    flex: 1;
    position: relative;
}

.service-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 245, 255, 0.2);
    transition: transform 0.4s ease;
}

.service-image:hover {
    transform: scale(1.02);
}

.service-content {
    flex: 1;
}

.service-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid #39ff14;
    border-radius: 50px;
    color: #39ff14;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.service-content h3 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.service-content p {
    color: #999;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ccc;
    font-size: 0.95rem;
}

.service-feature-item .check-icon {
    width: 20px;
    height: 20px;
    fill: #39ff14;
    flex-shrink: 0;
}

/* 资讯列表板块 */
.news-section {
    background: linear-gradient(180deg, #0f0f0f, #0a0a0a);
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.news-tab {
    padding: 0.8rem 2rem;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 50px;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.news-tab.active,
.news-tab:hover {
    background: linear-gradient(135deg, #00f5ff, #39ff14);
    color: #0a0a0a;
    border-color: transparent;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.news-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 245, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 245, 255, 0.1);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 245, 255, 0.1);
    color: #00f5ff;
    font-size: 0.8rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.news-content h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.news-content p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #39ff14;
    font-weight: 600;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.news-link:hover {
    gap: 0.8rem;
}

/* CTA 板块 */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(57, 255, 20, 0.1));
    border-top: 1px solid rgba(0, 245, 255, 0.2);
    border-bottom: 1px solid rgba(57, 255, 20, 0.2);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #00f5ff, #39ff14);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.cta-content p {
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* 响应式 */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-image {
        display: none;
    }

    .service-row,
    .service-row.reverse {
        flex-direction: column;
        gap: 2rem;
    }

    .service-image-wrapper {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}
