/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a5f;
    --secondary-color: #2c5282;
    --accent-color: #ed8936;
    --accent-light: #f6ad55;
    --gradient-start: #1e3a5f;
    --gradient-end: #2c5282;
    --nav-gradient: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    --text-primary: #1e3a5f;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --shadow-light: 0 2px 8px rgba(30, 58, 95, 0.08);
    --shadow-medium: 0 4px 16px rgba(30, 58, 95, 0.12);
    --shadow-hover: 0 8px 24px rgba(30, 58, 95, 0.16);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.7;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航栏 */
header {
    background: rgba(30, 58, 95, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 6px 18px rgba(30, 58, 95, 0.24);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 8px 28px rgba(30, 58, 95, 0.38);
    background: rgba(26, 51, 82, 0.88);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.62rem 0;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    min-width: 0;
}

.logo img {
    width: auto;
    height: 40px;
    max-width: 300px;
    padding: 0;
    border-radius: 8px;
    background: transparent;
    border: none;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
    animation: slideInLeft 0.8s ease 0.2s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.96rem;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 80%;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.14);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 首屏 Hero 区 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.92) 0%, rgba(44, 82, 130, 0.9) 50%, rgba(30, 58, 95, 0.92) 100%), url('img/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 2rem;
    margin-top: 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(237, 137, 54, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(246, 173, 85, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 30%);
    animation: pulse 8s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 80% 20%, rgba(237, 137, 54, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 20% 80%, rgba(237, 137, 54, 0.08) 0%, transparent 40%),
        linear-gradient(135deg, rgba(30, 58, 95, 0.4) 0%, rgba(15, 32, 58, 0.6) 100%);
    pointer-events: none;
    z-index: 0;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: fadeInUp 1s ease 0.1s both;
}

.hero-badge i {
    color: var(--accent-light);
    font-size: 0.95rem;
}

.hero-badge span {
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.95);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: white;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero .slogan {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
    animation: fadeInUp 1s ease 0.2s both;
    color: var(--accent-light);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero .subtitle {
    font-size: 1.3rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 1s ease 0.4s both;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.hero .tagline {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.85);
    animation: fadeInUp 1s ease 0.5s both;
    letter-spacing: 0.03em;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--accent-light);
}

.feature-item span {
    font-weight: 500;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.feature-item:hover {
    background: rgba(237, 137, 54, 0.25);
    border-color: rgba(237, 137, 54, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(237, 137, 54, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 区块通用样式 */
section {
    padding: 5rem 0;
    transition: background-color 0.3s ease;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* 品牌理念 */
.brand理念 {
    background-color: var(--bg-white);
    position: relative;
}

.brand理念::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light), var(--accent-color));
}

.brand-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.brand-content p {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.brand-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.brand-highlight::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    background: linear-gradient(180deg, var(--accent-color), var(--accent-light));
    border-radius: 2px;
}

.image-placeholder {
    background: linear-gradient(135deg, #1e3a5f, #2c5282);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    padding: 40px;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(237, 137, 54, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(246, 173, 85, 0.2) 0%, transparent 40%);
}

.image-placeholder i {
    font-size: 5rem;
    color: var(--accent-color);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.image-placeholder span {
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.icon-image {
    width: 200px;
    height: auto;
    position: relative;
    z-index: 1;
    display: block;
}

/* 核心服务体系 */
.services {
    background-color: var(--bg-light);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 95, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
}

.service-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
}

/* 标准化服务管控体系 */
.standards {
    background-color: var(--bg-light);
}

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

.standard-card {
    background-color: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    text-align: center;
    border: 1px solid rgba(30, 58, 95, 0.05);
}

.standard-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.standard-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.2);
}

.standard-card-icon i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.standard-card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.standard-card-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* 品牌核心优势 */
.advantages {
    background-color: var(--bg-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.advantage-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(30, 58, 95, 0.05);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.advantage-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.advantage-icon i {
    color: var(--accent-color);
}

.advantage-title {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.advantage-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* 品牌实力与资质背书 */
.strengths {
    background-color: var(--bg-white);
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.strength-item {
    text-align: center;
    padding: 2.5rem;
    background-color: var(--bg-light);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 95, 0.05);
}

.strength-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.strength-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.strength-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.strength-item p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* 关于我们 */
.about {
    background-color: var(--bg-light);
    position: relative;
}

.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light), var(--accent-color));
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image .image-placeholder {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1.2;
}

.about-content {
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(30, 58, 95, 0.05);
}

.about-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-left: 1.2rem;
}

.about-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, var(--accent-color), var(--accent-light));
    border-radius: 2px;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.95;
    margin-bottom: 1.8rem;
    color: var(--text-secondary);
    text-align: justify;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.value-item i {
    font-size: 2rem;
    color: var(--accent-color);
}

.value-item span {
    font-weight: 600;
    color: var(--primary-color);
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, #1e3a5f, #2c5282);
    color: white;
    padding: 4rem 0 2rem;
    box-shadow: 0 -4px 20px rgba(30, 58, 95, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 1.4fr 1.1fr;
    gap: 0.7rem;
    margin-bottom: 3rem;
    align-items: stretch;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section:first-child h3 {
    margin-bottom: 0.5rem;
}

.footer-section:first-child p {
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.footer-section h3 {
    margin-bottom: 0.8rem;
    font-size: 1.25rem;
    color: var(--accent-light);
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.5rem;
    font-size: 0.92rem;
    line-height: 1.5;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    margin-bottom: 0.4rem;
    display: block;
    font-size: 0.92rem;
    line-height: 1.4;
}

.footer-section a:hover {
    color: white;
}

.footer-section p i {
    margin-right: 0.5rem;
    color: var(--accent-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero .slogan {
        font-size: 1.6rem;
    }
    
    .brand-layout,
    .about-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .standards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 52px;
        max-width: 440px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 51, 82, 0.92);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-medium);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .slogan {
        font-size: 1.4rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-grid,
    .advantages-grid,
    .strengths-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .hero-badge {
        font-size: 0.86rem;
        margin-bottom: 1.4rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .logo img {
        height: 44px;
        max-width: 380px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-features {
        gap: 0.8rem;
    }
    
    .feature-item {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}