* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --header-height: 84px;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #1f2933;
    /* background-color: #f6f8fb; */
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 22, 38, 0.5);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    font-size: 1.50rem;
    font-weight: 200;
    letter-spacing: 0.09em;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav ul li a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffb347;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110vh;
    text-align: center;
    color: #fff;
    padding: calc(6rem + var(--header-height)) 1.5rem 5rem;
    margin-top: calc(var(--header-height) * -1);
    background-image: linear-gradient(135deg, rgba(3, 25, 55, 0.25), rgba(13, 148, 136, 0.55)),
                      linear-gradient(110deg, rgba(2, 6, 23, 0.5), rgba(15, 23, 42, 0.7)),
                      url('https://file.guanlishidai.com/qingyang/home/hero-bg.jpg');
    background-position: center top, center top, center calc(50% - 10px);
    background-size: cover, cover, cover;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.35), transparent 55%),
                radial-gradient(circle at 80% 30%, rgba(14, 165, 233, 0.35), transparent 60%),
                linear-gradient(160deg, rgba(15, 118, 110, 0.3), rgba(15, 23, 42, 0.6));
    opacity: 0.8;
}

.hero-content {
    position: relative;
    margin-top: -200px;
    max-width: 780px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-tag {
    display: inline-block;
    margin-top: 30px;
    padding: 0.35rem 3rem;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.25);
    color: #e2e8f0;
}

.hero h1 {
    margin: 20px 0 10px 0;
    font-size: clamp(3.0rem, 4vw, 3.6rem);
    line-height: 1.15;
    font-weight: 700;
}

.hero p {
    font-size: 1.05rem;
    color: #f8fafc;
    line-height: 1.8;
}

.hero-actions {
    margin-top: 20px;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2.2rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    background: linear-gradient(120deg, #ff8c3a, #ffb347);
    /* color: #0f172a; */
    color: #ffffff;
    box-shadow: 0 18px 30px rgba(255, 140, 58, 0.22);
    font-size: 22px;

}

.btn.primary {
    box-shadow: 0 18px 30px rgba(255, 140, 58, 0.3);
}

.btn:not(.ghost):hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(255, 140, 58, 0.32);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(255, 140, 58, 0.32);
}

.btn.ghost {
    background: transparent;
    color: #e2e8f0;
    border-color: rgba(226, 232, 240, 0.5);
    box-shadow: none;
}

.btn.ghost:hover {
    background: rgba(226, 232, 240, 0.1);
    border-color: rgba(226, 232, 240, 0.85);
}

.hero-highlights {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    color: #e2e8f0;
    font-size: 1.55rem;
}

.hero-highlights strong {
    display: block;
    font-size: 1.6rem;
    color: #facc15;
}

.services, .case-studies, .contact {
    padding: 5rem 1.5rem;
    text-align: center;
}

.services {
    background: #fff;
}

.services h2, .case-studies h2, .contact h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #0f172a;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background: #f8fafc;
    padding: 2.5rem 2rem;
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.service-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.service-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

.service-item p {
    color: #475569;
}

.case-studies {
    /* background: linear-gradient(135deg, #0f172a, #1e293b); */
    color: #e2e8f0;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.case-logo {
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    /* filter: grayscale(100%); */
    /* opacity: 0.8; */
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.case-logo:hover {
    transform: translateY(-6px);
    opacity: 1;
    filter: grayscale(0%);
}

.contact {
    background: #fff;
}

.contact form {
    max-width: 540px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact input:focus, .contact textarea:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.contact textarea {
    min-height: 160px;
    resize: vertical;
}

.contact button {
    width: 100%;
    cursor: pointer;
}

footer {
    background-color: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 5rem 1rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding-top: 8rem;
    }

    .hero-highlights {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-tag {
        margin-top: 180px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-highlights strong {
        font-size: 1.4rem;
    }
}
