﻿:root {
    --primary: #0071e3;
    --dark: #1d1d1f;
    --gray: #f5f5f7;
    --text: #333;
    --radius: 18px;
}

a {
    color: var(--primary);
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'SF Pro Display', 'Roboto', Arial, sans-serif;
    background: var(--gray);
    color: var(--text);
}

header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 8px rgba(0,0,0,0.03);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    padding: 0 40px;
}

.logo {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    font-family: 'SF Pro Display', Arial, sans-serif;
}

nav ul {
    display: flex;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.08rem;
    transition: color 0.2s;
    padding: 4px 0;
}

    nav a:hover {
        color: var(--primary);
    }

.hero {
    background: linear-gradient(135deg, #e3f0ff 0%, #f5f5f7 100%);
    padding: 140px 0 110px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 520px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 18px;
    letter-spacing: 1px;
    z-index: 2;
    position: relative;
    text-shadow: 0 2px 16px rgba(0,113,227,0.08);
}

.hero-desc {
    font-size: 1.35rem;
    color: #555;
    margin-bottom: 38px;
    font-weight: 400;
    z-index: 2;
    position: relative;
}

.hero-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 16px 48px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,113,227,0.08);
    transition: background 0.2s;
    z-index: 2;
    position: relative;
}

    .hero-btn:hover {
        background: #005bb5;
    }
/* 多条信号动画 */
.signal-path {
    stroke-dasharray: 320;
    stroke-dashoffset: 320;
    animation: signal-animate 2.5s cubic-bezier(0.4,0,0.2,1) forwards;
    animation-iteration-count: infinite;
}

.signal-path2 {
    stroke-dasharray: 260;
    stroke-dashoffset: 260;
    animation: signal-animate2 3.2s cubic-bezier(0.4,0,0.2,1) 0.8s forwards;
    animation-iteration-count: infinite;
}

.signal-path3 {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: signal-animate3 2.8s cubic-bezier(0.4,0,0.2,1) 1.6s forwards;
    animation-iteration-count: infinite;
}

@keyframes signal-animate {
    0% {
        stroke-dashoffset: 320;
        opacity: 1;
    }

    60% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

@keyframes signal-animate2 {
    0% {
        stroke-dashoffset: 260;
        opacity: 1;
    }

    60% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

@keyframes signal-animate3 {
    0% {
        stroke-dashoffset: 200;
        opacity: 1;
    }

    60% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

.signal-dot {
    opacity: 0;
    animation: dot-move 2.5s cubic-bezier(0.4,0,0.2,1) forwards;
    animation-iteration-count: infinite;
}

.signal-dot2 {
    opacity: 0;
    animation: dot-move2 3.2s cubic-bezier(0.4,0,0.2,1) 0.8s forwards;
    animation-iteration-count: infinite;
}

.signal-dot3 {
    opacity: 0;
    animation: dot-move3 2.8s cubic-bezier(0.4,0,0.2,1) 1.6s forwards;
    animation-iteration-count: infinite;
}

@keyframes dot-move {
    0% {
        opacity: 0;
        transform: translate(0,0) scale(1);
    }

    50% {
        opacity: 1;
    }

    80% {
        opacity: 1;
        transform: translate(90px, -70px) scale(1.2);
    }

    100% {
        opacity: 0;
        transform: translate(90px, -70px) scale(1.2);
    }
}

@keyframes dot-move2 {
    0% {
        opacity: 0;
        transform: translate(0,0) scale(1);
    }

    50% {
        opacity: 1;
    }

    80% {
        opacity: 1;
        transform: translate(60px, 60px) scale(1.2);
    }

    100% {
        opacity: 0;
        transform: translate(60px, 60px) scale(1.2);
    }
}

@keyframes dot-move3 {
    0% {
        opacity: 0;
        transform: translate(0,0) scale(1);
    }

    50% {
        opacity: 1;
    }

    80% {
        opacity: 1;
        transform: translate(-70px, 80px) scale(1.2);
    }

    100% {
        opacity: 0;
        transform: translate(-70px, 80px) scale(1.2);
    }
}
/* ===== Hero Animated Background ===== */
.hero-animated-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
    /* 彩色渐变流动动画 */
    .hero-animated-bg::before {
        content: '';
        position: absolute;
        left: -20%;
        top: -20%;
        width: 140%;
        height: 140%;
        background: conic-gradient(from 90deg at 50% 50%, #7fdfff 0%, #b7aaff 25%, #ffb6b9 50%, #ffe29f 75%, #7fdfff 100%);
        filter: blur(60px) brightness(1.1);
        opacity: 0.55;
        animation: hero-bg-rotate 8s linear infinite;
    }

@keyframes hero-bg-rotate {
    0% {
        transform: rotate(0deg) scale(1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}
/* 模糊光斑动画 */
.hero-bg-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.32;
    filter: blur(32px);
    animation: hero-blob-move 6s ease-in-out infinite alternate;
    mix-blend-mode: lighten;
}

    .hero-bg-blob.blob1 {
        width: 220px;
        height: 220px;
        left: 8%;
        top: 18%;
        background: #68c0dd;
        animation-delay: 0s;
    }

    .hero-bg-blob.blob2 {
        width: 180px;
        height: 180px;
        left: 70%;
        top: 10%;
        background: #8a75ff;
        animation-delay: 2s;
    }

    .hero-bg-blob.blob3 {
        width: 160px;
        height: 160px;
        left: 60%;
        top: 60%;
        background: #ff6d72;
        animation-delay: 4s;
    }

    .hero-bg-blob.blob4 {
        width: 120px;
        height: 120px;
        left: 18%;
        top: 65%;
        background: #ffc439;
        animation-delay: 6s;
    }

@keyframes hero-blob-move {
    0% {
        transform: scale(1) translateY(0);
    }

    100% {
        transform: scale(1.15) translateY(40px);
    }
}
/* 粒子漂浮动画 */
.hero-bg-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.18;
    animation: hero-particle-float 4.5s linear infinite;
}

    .hero-bg-particle.p1 {
        left: 12%;
        top: 80%;
        animation-delay: 0s;
    }

    .hero-bg-particle.p2 {
        left: 30%;
        top: 90%;
        animation-delay: 2s;
    }

    .hero-bg-particle.p3 {
        left: 55%;
        top: 85%;
        animation-delay: 4s;
    }

    .hero-bg-particle.p4 {
        left: 80%;
        top: 88%;
        animation-delay: 1s;
    }

    .hero-bg-particle.p5 {
        left: 65%;
        top: 95%;
        animation-delay: 3s;
    }

@keyframes hero-particle-float {
    0% {
        transform: translateY(0) scale(1);
    }

    80% {
        opacity: 0.18;
    }

    100% {
        transform: translateY(-120px) scale(1.3);
        opacity: 0;
    }
}

.section {
    max-width: 1100px;
    margin: 64px auto;
    padding: 0 32px;
    scroll-margin-top: 72px; /* 解决锚点被 header 遮挡问题 */
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 28px;
    letter-spacing: 1px;
    text-align: center;
}

.about-content {
    font-size: 1.18rem;
    color: #444;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 32px;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.service-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    flex: 1 1 240px;
    min-width: 260px;
    max-width: 320px;
    padding: 38px 28px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

    .service-card:hover {
        box-shadow: 0 6px 24px rgba(0,113,227,0.10);
        transform: translateY(-4px) scale(1.03);
    }

.service-icon {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 18px;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.service-desc {
    color: #555;
    font-size: 1.05rem;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 700px;
}

.news-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e3e6ea;
    padding: 18px 0;
}

.news-date {
    color: var(--primary);
    font-weight: 700;
    margin-right: 28px;
    min-width: 110px;
    font-size: 1.05rem;
}

.news-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.08rem;
    transition: color 0.2s;
}

    .news-link:hover {
        color: var(--primary);
    }

.recruit-section {
    background: #fff;
    border-radius: var(--radius);
    padding: 38px 28px;
    text-align: center;
    margin-top: 48px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.recruit-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
}

.recruit-desc {
    color: #444;
    margin-bottom: 18px;
    font-size: 1.08rem;
}

.recruit-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 12px 36px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

    .recruit-btn:hover {
        background: #005bb5;
    }

.contact-content {
    text-align: center;
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 24px;
}

.footer {
    background: #fff;
    color: #888;
    padding: 36px 0 18px 0;
    text-align: center;
    font-size: 1rem;
    border-top: 1px solid #e3e6ea;
}

.footer-links {
    margin-bottom: 14px;
}

    .footer-links a {
        color: #888;
        margin: 0 16px;
        text-decoration: none;
        opacity: 0.8;
        font-weight: 600;
        transition: opacity 0.2s, color 0.2s;
    }

        .footer-links a:hover {
            opacity: 1;
            color: var(--primary);
        }

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 48px 48px 32px 48px;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    font-size: 1.15rem;
}

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 18px 20px;
        border-radius: 12px;
        border: 1.5px solid #e3e6ea;
        font-size: 1.15rem;
        margin-bottom: 18px;
        background: #f7f8fa;
        box-sizing: border-box;
        transition: border 0.2s;
    }

        .contact-form input:focus,
        .contact-form textarea:focus {
            border: 1.5px solid var(--primary);
            outline: none;
            background: #fff;
        }

    .contact-form textarea {
        min-height: 120px;
        resize: vertical;
    }

    .contact-form button[type="submit"] {
        display: block;
        margin: 8px auto 18px auto;
        background: var(--primary);
        color: #fff;
        border: none;
        border-radius: 18px;
        padding: 18px 56px;
        font-size: 1.18rem;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s;
        box-shadow: 0 2px 12px rgba(0,113,227,0.08);
    }

        .contact-form button[type="submit"]:hover {
            background: #005bb5;
        }

    .contact-form .contact-info {
        color: #888;
        font-size: 1.05rem;
        margin-top: 14px;
        text-align: center;
    }

        .contact-form .contact-info a {
            color: var(--primary);
            text-decoration: none;
        }

@media (max-width: 900px) {
    .services-list {
        flex-direction: column;
        align-items: center;
    }

    .navbar {
        flex-direction: column;
        height: auto;
        padding: 18px;
    }

    .section {
        padding: 0 10px;
    }

    .contact-form {
        max-width: 98vw;
        padding: 24px 8vw 18px 8vw;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.1rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .service-card {
        min-width: 90vw;
    }

    .contact-form {
        padding: 16px 2vw 12px 2vw;
    }
}
