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

/* 字体平滑 */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8fafc;
    background-image: 
        linear-gradient(135deg, rgba(26, 115, 232, 0.03) 0%, rgba(117, 70, 193, 0.03) 100%),
        radial-gradient(circle at 20% 50%, rgba(26, 115, 232, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(117, 70, 193, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(26, 115, 232, 0.04) 0%, transparent 50%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(30px);
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(26, 115, 232, 0.15);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 20px;
    max-width: 1400px;
    margin: 0 auto;
    height: 80px;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    overflow: visible;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    height: 100%;
    overflow: visible;
    padding: 5px 0;
}

.logo-image {
    max-height: 100px;
    width: auto;
    max-width: 100%;
    transition: all 0.3s ease;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
    margin: 0;
}

/* 印章LOGO样式 */
.logo-seal {
    max-height: 80px;
    margin-right: 15px;
}

/* 文字LOGO样式 */
.logo-text {
    max-height: 50px;
}

/* 调整LOGO链接为弹性容器，让图片并排且居中对齐 */
.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.logo-link:hover .logo-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* 移动端Logo适配 */
@media (max-width: 1200px) {
    .logo-seal {
        max-height: 70px;
        margin-right: 12px;
    }
    .logo-text {
        max-height: 45px;
    }
}

@media (max-width: 992px) {
    .logo-seal {
        max-height: 60px;
        margin-right: 10px;
    }
    .logo-text {
        max-height: 40px;
    }
}

@media (max-width: 768px) {
    .logo-seal {
        max-height: 50px;
        margin-right: 8px;
    }
    .logo-text {
        max-height: 35px;
    }
    
    .navbar .container {
        padding: 0.3rem 15px;
    }
    
    /* 移动端下垂直排列 */
    .logo-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .logo-seal {
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .logo-seal {
        max-height: 45px;
    }
    .logo-text {
        max-height: 30px;
    }
}

/* 调整导航栏容器高度以适应完整LOGO */
.navbar .container {
    height: auto;
    min-height: 80px;
    padding: 0.5rem 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.nav-links a {
    color: #475569;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    margin: 0 0.125rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #1a73e8 0%, #7546c1 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.nav-links a:hover::before, .nav-links a.active::before {
    transform: scaleX(1);
}

.nav-links a:hover {
    color: #1a73e8;
    background-color: rgba(26, 115, 232, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.12);
}

.nav-links a.active {
    color: #1a73e8;
    background-color: rgba(26, 115, 232, 0.08);
    font-weight: 600;
}

.mobile-menu {
    display: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu:hover {
    transform: rotate(90deg);
}

.mobile-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: #1a73e8;
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0.5);
}

.mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background-color: #1a73e8;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.95), rgba(117, 70, 193, 0.95));
    color: #fff;
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 1.75rem;
    font-weight: 700;
    position: relative;
    animation: slideDown 1s ease-out;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.95) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.hero p {
    font-size: 1.45rem;
    margin-bottom: 3rem;
    opacity: 0.98;
    position: relative;
    animation: slideUp 1s ease-out 0.2s both;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    letter-spacing: -0.01em;
}

/* 英雄区域统计数据 */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 4rem;
    padding: 30px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 1s ease-out 0.4s both;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 英雄区域按钮组 */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.6s both;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    color: #1a73e8;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(26, 115, 232, 0.25), 0 1px 3px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.01em;
    text-transform: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    color: #1a73e8;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 关于我们样式 */
.about {
    padding: 140px 0;
    background-color: #fff;
    position: relative;
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.02);
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #1a73e8, transparent);
    opacity: 0.8;
}

/* 通用标题样式 */
.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: -0.025em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1a73e8, #7546c1);
    border-radius: 2px;
    animation: expand 1s ease-out 0.3s both;
}

/* 通用介绍文本样式 */
.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    color: #64748b;
    line-height: 1.7;
    font-size: 1.05rem;
    font-weight: 400;
}

.about h3, .services h3, .team h3, .cases h3, .contact h3 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: -0.025em;
}

.about h3::after, .services h3::after, .team h3::after, .cases h3::after, .contact h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1a73e8, #7546c1);
    border-radius: 2px;
    animation: expand 1s ease-out 0.3s both;
}

.about-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 0 0 45%;
    max-width: 45%;
}

.about-text h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #1a73e8;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #64748b;
    line-height: 1.75;
    font-size: 1.08rem;
    text-align: justify;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    max-width: 600px;
    margin: 0 auto;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.08) 0%, rgba(117, 70, 193, 0.08) 100%);
    transform: rotate(30deg);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.about-image:hover::before {
    opacity: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    max-height: 400px;
    object-fit: cover;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* 图片装饰元素 */
.image-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.15) 0%, rgba(117, 70, 193, 0.15) 100%);
    border-radius: 50%;
    z-index: 2;
    opacity: 0.6;
    transition: all 0.5s ease;
}

.about-image:hover .image-decoration {
    transform: scale(1.1) rotate(10deg);
    opacity: 0.8;
}

/* 核心优势样式 */
.about-advantages {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.05) 0%, rgba(117, 70, 193, 0.05) 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 115, 232, 0.1);
}

.advantage-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.15);
    border-color: rgba(26, 115, 232, 0.2);
}

.advantage-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1a73e8 0%, #7546c1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.advantage-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
    stroke: white;
}

.advantage-content h5 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 8px;
    font-weight: 600;
}

.advantage-content p {
    margin: 0;
    font-size: 0.98rem;
    color: #64748b;
    line-height: 1.6;
}

.about-content {
    margin-top: 50px;
}

/* 服务领域样式 */
.services {
    padding: 140px 0;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(26, 115, 232, 0.04) 0%, transparent 70%);
    z-index: 0;
    filter: blur(40px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.service-item {
    background-color: #fff;
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 115, 232, 0.08);
    backdrop-filter: blur(10px);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a73e8 0%, #7546c1 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
    z-index: 1;
}

.service-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.02) 0%, rgba(117, 70, 193, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-item:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-item:hover::after {
    opacity: 1;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    border-color: rgba(26, 115, 232, 0.15);
}

.service-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: #1e293b;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-item:hover h4 {
    color: #1a73e8;
}

.service-item p {
    color: #64748b;
    line-height: 1.75;
    font-size: 1.05rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

/* 服务领域增强样式 */
.service-icon {
    margin-bottom: 28px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.08) 0%, rgba(117, 70, 193, 0.08) 100%);
    border-radius: 16px;
}

.service-icon svg {
    width: 36px;
    height: 36px;
    stroke: #1a73e8;
    transition: all 0.4s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.08) rotate(3deg);
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.12) 0%, rgba(117, 70, 193, 0.12) 100%);
}

.service-item:hover .service-icon svg {
    stroke: #1557b0;
    transform: scale(1.1);
}

/* 服务链接按钮 */
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a73e8;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

.btn-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1a73e8 0%, #7546c1 100%);
    transition: width 0.3s ease;
}

.btn-link:hover {
    color: #7546c1;
    transform: translateX(5px);
}

.btn-link:hover::after {
    width: 100%;
}

.btn-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.btn-link:hover svg {
    transform: translateX(3px);
}

.service-features {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(26, 115, 232, 0.08);
    position: relative;
    z-index: 1;
}

.service-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 10px 0;
    color: #64748b;
    position: relative;
    padding-left: 28px;
    font-size: 0.98rem;
    transition: all 0.3s ease;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #1a73e8 0%, #7546c1 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.2);
}

.service-features li:hover {
    color: #1e293b;
    transform: translateX(4px);
}

.service-features li:hover::before {
    transform: scale(1.3) translateX(3px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

/* 服务流程样式 */
.service-process {
    padding: 100px 0;
    background-color: #f8f9fa;
    position: relative;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
    position: relative;
}

.service-process::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(26, 115, 232, 0.03), transparent 70%);
    z-index: 0;
}

.process-step {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(26, 115, 232, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a73e8, #7546c1);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: left;
}

.process-step:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.process-step:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(26, 115, 232, 0.3);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a73e8, #7546c1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    transition: all 0.5s ease;
    line-height: 1;
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.2);
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 12px 35px rgba(26, 115, 232, 0.3);
}

.step-content h4 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
}

.process-step:hover .step-content h4 {
    color: #1a73e8;
}

.step-content p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
    text-align: center;
}

/* 服务优势样式 */
.service-advantages {
    padding: 100px 0;
    background-color: #fff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.advantage-item {
    background-color: #f8f9fa;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 115, 232, 0.1);
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a73e8, #7546c1);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: left;
}

.advantage-item:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.advantage-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    border-color: rgba(26, 115, 232, 0.3);
}

.advantage-icon {
    margin-bottom: 25px;
    transition: all 0.5s ease;
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
}

.advantage-item h4 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
}

.advantage-item:hover h4 {
    color: #1a73e8;
}

.advantage-item p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
    text-align: center;
}

/* 律师团队样式 */
.team {
    padding: 140px 0 80px;
    background-color: #fff;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 10px; /* 添加一丢丢距离，让卡片之间有适当间距 */
    margin-top: 40px;
    flex-wrap: wrap;
}

.team-item {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 115, 232, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 320px; /* 增加宽度让图片显示更大 */
    height: auto; /* 自动高度 */
    min-height: 450px; /* 最小高度 */
    margin: 0 0 30px;
    padding: 30px;
    text-align: center;
    cursor: pointer; /* 显示指针，提示可点击 */
}

.team-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a73e8, #7546c1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.team-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.team-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    border-color: rgba(26, 115, 232, 0.3);
}

.team-photo {
    width: 150px; /* 减小头像大小，与更小的卡片协调 */
    height: 150px;
    margin: 0 auto 30px; /* 增加底部margin，让文字与头像保持适当距离 */
    border-radius: 50%; /* 圆形头像 */
    overflow: hidden;
    border: 5px solid #f0f4ff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    z-index: 1;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1a73e8, #7546c1);
}

/* 毛玻璃覆盖层 */
.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85); /* 半透明白色背景 */
    backdrop-filter: blur(20px); /* 毛玻璃效果 */
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 悬停时显示毛玻璃覆盖层 */
.team-item:hover .team-overlay {
    opacity: 1;
}

/* 覆盖层内容 */
.overlay-content {
    text-align: center;
    padding: 20px;
    width: 100%;
}

.overlay-content h5 {
    font-size: 1.2rem;
    color: #1a73e8;
    margin-bottom: 20px;
    font-weight: 600;
}

/* 擅长领域列表 */
.expertise-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.expertise-tag {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1) 0%, rgba(117, 70, 193, 0.1) 100%);
    color: #1a73e8;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(26, 115, 232, 0.2);
    transition: all 0.3s ease;
}

.expertise-tag:hover {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.2) 0%, rgba(117, 70, 193, 0.2) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.15);
}

.team-item:hover .team-photo {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.team-item:hover .team-photo img {
    transform: scale(1.1);
}

.team-info {
    width: 100%; /* 占满整个宽度 */
    padding: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: flex-start;
    flex: 1;
}

.team-info h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #333;
    font-weight: 700;
    transition: color 0.3s ease;
    text-align: center;
    letter-spacing: -0.3px;
}

.team-item:hover .team-info h4 {
    color: #1a73e8;
}

.team-title {
    text-align: center;
    color: #1a73e8;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
}

.team-expertise {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(26, 115, 232, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

.team-bio {
    margin-bottom: 0;
    flex: 1;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    padding-top: 0;
}

/* 点击卡片时显示详情 */
.team-item.active .team-bio {
    max-height: 300px;
    margin-top: 15px;
    opacity: 1;
    padding-top: 15px;
    border-top: 1px solid rgba(26, 115, 232, 0.1);
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tag {
    display: inline-block;
    background: rgba(26, 115, 232, 0.08);
    color: #1a73e8;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 115, 232, 0.15);
}

.tag:hover {
    background: rgba(26, 115, 232, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(26, 115, 232, 0.15);
    border-color: rgba(26, 115, 232, 0.3);
}

.team-bio p {
    color: #666;
    line-height: 1.7;
    font-size: 0.98rem;
    text-align: left; /* 左对齐，更适合阅读 */
    margin: 0 0 10px 0;
    padding: 0 10px;
}

/* 案例展示样式 */
.cases {
    padding: 140px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.cases::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(26, 115, 232, 0.03) 0%, transparent 70%);
    z-index: 0;
    filter: blur(40px);
}

.cases-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* 案例筛选按钮 */
.cases-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.filter-btn {
    padding: 12px 25px;
    background: rgba(26, 115, 232, 0.08);
    color: #1a73e8;
    border: 2px solid transparent;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1) 0%, rgba(117, 70, 193, 0.1) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
    z-index: -1;
}

.filter-btn:hover::before {
    transform: scaleX(1);
}

.filter-btn:hover {
    background: rgba(26, 115, 232, 0.12);
    color: #7546c1;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, #1a73e8 0%, #7546c1 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.25);
    border-color: #1a73e8;
    transform: translateY(-2px);
}

.filter-btn.active::before {
    transform: scaleX(1);
    background: transparent;
}

/* 案例网格 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
    justify-items: center;
}

/* 案例项目 */
.case-item {
    width: 100%;
    max-width: 350px;
    transition: all 0.3s ease;
}

/* 案例卡片 */
.case-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 115, 232, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a73e8, #7546c1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
    z-index: 1;
}

.case-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    border-color: rgba(26, 115, 232, 0.25);
}

/* 案例图片包装器 */
.case-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    margin-bottom: 0;
    height: 220px;
}

/* 案例图片 */
.case-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

/* 图片悬停覆盖层 */
.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.85) 0%, rgba(117, 70, 193, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
    transform: translateY(20px);
}

.case-card:hover .case-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* 查看详情链接 */
.case-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.case-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.case-link svg {
    width: 20px;
    height: 20px;
    stroke: white;
    transition: all 0.3s ease;
}

.case-link:hover svg {
    transform: rotate(10deg) scale(1.1);
}

/* 案例分类标签 */
.case-category {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    display: inline-block;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.9) 0%, rgba(117, 70, 193, 0.9) 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(26, 115, 232, 0.3);
    transition: all 0.3s ease;
}

.case-card:hover .case-category {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.4);
}

/* 案例日期 */
.case-date {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 3;
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: #1a73e8;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.case-card:hover .case-date {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.05);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

/* 案例内容 */
.case-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-content h4 {
    font-size: 1.35rem;
    margin-bottom: 15px;
    color: #1e293b;
    font-weight: 600;
    transition: color 0.3s ease;
    line-height: 1.3;
    text-align: left;
    letter-spacing: -0.3px;
}

.case-card:hover .case-content h4 {
    color: #1a73e8;
    transform: translateY(-2px);
}

/* 案例摘要 */
.case-summary {
    margin-bottom: 20px;
    flex: 1;
}

.case-summary p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    text-align: justify;
}

/* 案件结果 */
.case-result {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.05) 0%, rgba(117, 70, 193, 0.05) 100%);
    border-radius: 12px;
    border-left: 3px solid #10b981;
    transition: all 0.3s ease;
}

.case-card:hover .case-result {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.08) 0%, rgba(117, 70, 193, 0.08) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.1);
}

.result-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.result-icon svg {
    width: 20px;
    height: 20px;
    stroke: #10b981;
    fill: none;
    transition: all 0.3s ease;
}

.case-card:hover .result-icon svg {
    transform: scale(1.1) rotate(5deg);
}

.result-text {
    flex: 1;
}

.result-text strong {
    color: #10b981;
    font-weight: 600;
    margin-right: 5px;
}

.result-text {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 案例标签 */
.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(26, 115, 232, 0.08);
}

.tag-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(26, 115, 232, 0.06);
    color: #1a73e8;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 115, 232, 0.1);
}

.tag-item:hover {
    background: rgba(26, 115, 232, 0.12);
    color: #7546c1;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(26, 115, 232, 0.15);
    border-color: rgba(26, 115, 232, 0.2);
}

.tag-item svg {
    width: 14px;
    height: 14px;
    stroke: #1a73e8;
    fill: none;
    transition: all 0.3s ease;
}

.tag-item:hover svg {
    transform: scale(1.1) rotate(5deg);
}

/* 案例操作按钮 */
.case-action {
    margin-top: auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .cases {
        padding: 80px 0;
    }
    
    .cases-filters {
        gap: 10px;
        margin-bottom: 40px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        border-radius: 20px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .case-item {
        max-width: 100%;
    }
    
    .case-image-wrapper {
        height: 200px;
    }
    
    .case-content {
        padding: 20px;
    }
    
    .case-content h4 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .case-image-wrapper {
        height: 180px;
    }
    
    .case-content {
        padding: 15px;
    }
    
    .case-content h4 {
        font-size: 1.15rem;
    }
    
    .case-category {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .case-date {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
}

/* 客户评价样式 */
.testimonials {
    padding: 100px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(26, 115, 232, 0.03), transparent 70%);
    z-index: 0;
}

.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.stats-item {
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 115, 232, 0.1);
}

.stats-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(26, 115, 232, 0.3);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a73e8;
    margin-bottom: 8px;
    line-height: 1;
    letter-spacing: -1px;
}

.stats-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

/* 客户评价卡片 */
.testimonial-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(26, 115, 232, 0.1);
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(26, 115, 232, 0.3);
}

/* 引号装饰 */
.testimonial-quote {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 0;
    opacity: 0.1;
}

/* 评分星级 */
.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    z-index: 1;
    position: relative;
}

/* 评价内容 */
.testimonial-text {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-text p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
    font-style: italic;
    margin: 0;
}

/* 评价作者 */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

/* 作者头像 */
.author-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(26, 115, 232, 0.2);
    transition: all 0.3s ease;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card:hover .author-avatar {
    border-color: rgba(26, 115, 232, 0.5);
    transform: scale(1.1);
}

/* 作者徽章 */
.author-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background-color: #fff;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(26, 115, 232, 0.2);
}

/* 作者信息 */
.author-info {
    flex: 1;
}

/* 案例类型标签 */
.testimonial-case-type {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 12px;
    background-color: rgba(26, 115, 232, 0.1);
    color: #1a73e8;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.testimonial-item {
    background-color: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(26, 115, 232, 0.1);
    overflow: hidden;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 8rem;
    color: rgba(26, 115, 232, 0.1);
    font-weight: 700;
    z-index: 0;
    line-height: 1;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(26, 115, 232, 0.3);
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-text p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info h5 {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.author-info p {
    color: #1a73e8;
    font-size: 0.95rem;
    margin: 0;
}

/* 最新动态样式 */
.news {
    padding: 100px 0;
    background-color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.news-item {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 115, 232, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 新闻头部和图片 */
.news-header {
    position: relative;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.08);
}

/* 新闻分类标签 */
.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #1a73e8 0%, #7546c1 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
    z-index: 2;
}

/* 新闻日期标签 */
.news-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #1a73e8;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: all 0.3s ease;
}

.news-item:hover .news-date-badge {
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 新闻卡片 */
.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 新闻图片包装 */
.news-image-wrapper {
    position: relative;
    overflow: hidden;
}

/* 新闻图片覆盖层 */
.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.9), rgba(117, 70, 193, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    cursor: pointer;
    z-index: 1;
}

.news-overlay svg {
    fill: white;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.news-item:hover .news-overlay {
    opacity: 1;
}

.news-item:hover .news-overlay svg {
    transform: scale(1.2);
}

/* 新闻元数据 */
.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.news-source {
    font-weight: 600;
    color: #1a73e8;
}

/* 新闻操作区 */
.news-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.news-share {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f1f5f9;
    transition: all 0.3s ease;
    color: #666;
}

.share-icon:hover {
    background-color: #1a73e8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.arrow-right {
    transition: transform 0.3s ease;
}

.news-item:hover .arrow-right {
    transform: translateX(5px);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(26, 115, 232, 0.3);
}

/* 新闻内容 */
.news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.news-item:hover .news-content h4 {
    color: #1a73e8;
}

.news-date {
    color: #1a73e8;
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    display: block;
}

.news-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    flex-grow: 1;
}

/* 阅读更多按钮样式已在前面定义 */

/* 行动召唤样式 */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.95), rgba(117, 70, 193, 0.95)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="1000" height="1000" fill="url(%23grid)"/></svg>');
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 80px 0;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(26, 115, 232, 0.3);
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: subtleFloat 20s ease-in-out infinite;
    opacity: 0.6;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta h3::after {
    background: linear-gradient(90deg, #fff, #fff);
}

.cta p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    color: #1a73e8;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    font-size: 1.1rem;
    padding: 18px 45px;
    border-radius: 18px;
    font-weight: 700;
}

.cta .btn-primary:hover {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
    color: #1557b0;
}

.cta .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
    padding: 18px 45px;
    border-radius: 18px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* 联系我们样式 */

.btn-read-more {
    display: inline-block;
    color: #1a73e8;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.btn-read-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1a73e8;
    transition: width 0.3s ease;
}

.btn-read-more:hover {
    color: #1557b0;
    transform: translateX(5px);
}

.btn-read-more:hover::after {
    width: 100%;
}

/* 行动召唤样式 */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.95), rgba(117, 70, 193, 0.95)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="1000" height="1000" fill="url(%23grid)"/></svg>');
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.cta h3::after {
    background: linear-gradient(90deg, #fff, #fff);
}

.cta p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    color: #1a73e8;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.cta .btn-primary:hover {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
    color: #1557b0;
}

.cta .btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
    color: #fff;
}
/* 联系我们样式 - 强制所有联系页面左右并排 */
section.contact {
    padding: 140px 0 !important;
    background-color: #fff !important;
    position: relative;
}

section.contact::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #1a73e8, transparent);
}

/* 核心布局 - 强制所有联系页面左右并排 */
section.contact .contact-content,
body.contact .contact-content,
.contact-section .contact-content {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 60px !important;
    margin-top: 50px !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* 联系信息区域 - 强制所有联系页面 */
section.contact .contact-info,
body.contact .contact-info,
.contact-section .contact-info {
    flex: 1 !important;
    width: 48% !important;
    max-width: 48% !important;
    min-width: 45% !important;
    display: block !important;
}

/* 在线咨询表单区域 - 强制所有联系页面 */
section.contact .contact-form,
body.contact .contact-form,
.contact-section .contact-form {
    flex: 1 !important;
    width: 48% !important;
    max-width: 48% !important;
    min-width: 45% !important;
    display: block !important;
    padding: 20px !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
}

/* 标题样式 */
.contact .contact-info h4,
.contact .contact-form h4 {
    font-size: 1.8rem !important;
    margin-bottom: 2rem !important;
    color: #333 !important;
    font-weight: 600 !important;
    letter-spacing: -0.3px !important;
}

/* 联系项样式 */
.contact .contact-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
    padding: 25px !important;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.05) 0%, rgba(117, 70, 193, 0.05) 100%) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(26, 115, 232, 0.1) !important;
}

.contact .contact-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.15) !important;
    border-color: rgba(26, 115, 232, 0.2) !important;
}

.contact .contact-icon {
    flex-shrink: 0 !important;
    width: 50px !important;
    height: 50px !important;
    background: linear-gradient(135deg, #1a73e8 0%, #7546c1 100%) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3) !important;
    transition: all 0.3s ease !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.contact .contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg) !important;
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.contact .contact-text {
    flex: 1 !important;
}

.contact .contact-text strong {
    display: block !important;
    color: #1a73e8 !important;
    font-weight: 600 !important;
    margin-bottom: 5px !important;
    font-size: 1.05rem !important;
}

.contact .contact-text p {
    margin: 0 !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    font-size: 1rem !important;
    padding: 0 !important;
}

/* 表单样式 */
.contact .form-group {
    margin-bottom: 25px !important;
    position: relative;
}

.contact .form-group label {
    display: block !important;
    margin-bottom: 8px !important;
    color: #1e293b !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
}

.contact .form-group input,
.contact .form-group select,
.contact .form-group textarea {
    width: 100% !important;
    padding: 16px 20px !important;
    border: 2px solid rgba(26, 115, 232, 0.1) !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    font-family: inherit !important;
    transition: all 0.3s ease !important;
    background-color: #fafafa !important;
    color: #1e293b !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.contact .form-group input:focus,
.contact .form-group select:focus,
.contact .form-group textarea:focus {
    outline: none !important;
    border-color: #1a73e8 !important;
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.12) !important;
    background-color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.contact .form-group textarea {
    resize: vertical !important;
    min-height: 120px !important;
    line-height: 1.6 !important;
}

.contact .form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 25px !important;
    margin-bottom: 2rem !important;
}

.contact .form-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 2rem !important;
    padding: 0 10px !important;
}

.contact .form-checkbox input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin-top: 5px !important;
    cursor: pointer !important;
    accent-color: #1a73e8 !important;
}

.contact .form-checkbox label {
    color: #64748b !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    cursor: pointer !important;
    margin: 0 !important;
}

.contact .btn-full {
    width: 100% !important;
    padding: 15px 40px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #1a73e8 0%, #7546c1 100%) !important;
    color: white !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.3) !important;
    transition: all 0.3s ease !important;
}

.contact .btn-full:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 35px rgba(26, 115, 232, 0.4) !important;
    background: linear-gradient(135deg, #1557b0 0%, #6b46c1 100%) !important;
}

/* 移动端适配 - 保持左右并排但调整细节 */
@media (max-width: 1200px) {
    .contact .contact-content {
        gap: 40px !important;
    }
}

@media (max-width: 992px) {
    .contact .contact-content {
        gap: 30px !important;
    }
    
    .contact .contact-info,
    .contact .contact-form {
        min-width: 42% !important;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 80px 0 !important;
    }
    
    .contact .contact-content {
        gap: 20px !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
    }
    
    .contact .contact-info,
    .contact .contact-form {
        min-width: 300px !important;
        flex: 0 0 auto !important;
    }
    
    .contact .form-row {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}

@media (max-width: 480px) {
    .contact .contact-content {
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    .contact .contact-info,
    .contact .contact-form {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        flex: 1 !important;
    }
    
    .contact .form-group input,
    .contact .form-group select,
    .contact .form-group textarea {
        padding: 12px 15px !important;
    }
    
    .contact .btn-full {
        padding: 12px 30px !important;
        font-size: 1rem !important;
    }
}

/* 强制覆盖任何可能的冲突样式 */
.contact .contact-content,
.contact section .contact-content,
body .contact .contact-content,
html .contact .contact-content {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 60px !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* 确保在小屏幕下也尽量保持左右布局 */
@media (min-width: 321px) and (max-width: 480px) {
    .contact .contact-content {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
    }
    
    .contact .contact-info,
    .contact .contact-form {
        flex: 1 1 45% !important;
        min-width: 45% !important;
        max-width: 48% !important;
    }
}

/* 联系详情样式 */
.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.05) 0%, rgba(117, 70, 193, 0.05) 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 115, 232, 0.1);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.15);
    border-color: rgba(26, 115, 232, 0.2);
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a73e8 0%, #7546c1 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
    stroke: white;
    transition: all 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.contact-text {
    flex: 1;
}

.contact-text strong {
    display: block;
    color: #1a73e8;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.05rem;
}

.contact-text p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
    padding: 0;
}

/* 社交媒体链接样式 */
.contact-social {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(26, 115, 232, 0.1);
}

.contact-social h5 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #1e293b;
    font-weight: 600;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(26, 115, 232, 0.08);
    color: #1a73e8;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 115, 232, 0.15);
    font-weight: 500;
    font-size: 0.95rem;
}

.social-link:hover {
    background: linear-gradient(135deg, #1a73e8 0%, #7546c1 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.3);
    border-color: transparent;
}

.social-link svg {
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1) rotate(5deg);
}

/* 现代表单样式 */
.modern-form {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(26, 115, 232, 0.1);
    transition: all 0.3s ease;
}

.modern-form:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(26, 115, 232, 0.2);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-field {
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #1e293b;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(26, 115, 232, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fafafa;
    font-family: inherit;
    color: #1e293b;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.12);
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-input:focus + .form-label {
    color: #1a73e8;
    transform: translateY(-2px);
}

.form-input::placeholder {
    color: #94a3b8;
    transition: color 0.3s ease;
}

.form-input:focus::placeholder {
    color: #cbd5e1;
}

.form-input:focus:valid,
.form-input:valid:not(:placeholder-shown) {
    border-color: #10b981;
}

.form-input:focus:invalid,
.form-input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.form-input:focus:valid + .form-label,
.form-input:valid:not(:placeholder-shown) + .form-label {
    color: #10b981;
}

.form-input:focus:invalid + .form-label,
.form-input:invalid:not(:placeholder-shown) + .form-label {
    color: #ef4444;
}

.form-textarea {
    resize: vertical;
    min-height: 180px;
    line-height: 1.6;
}

/* 表单验证图标 */
.form-validation {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-input:focus + .form-label + .form-validation,
.form-input:valid:not(:placeholder-shown) + .form-label + .form-validation,
.form-input:invalid:not(:placeholder-shown) + .form-label + .form-validation {
    opacity: 1;
}

.form-input:focus:valid + .form-label + .form-validation .valid-icon,
.form-input:valid:not(:placeholder-shown) + .form-label + .form-validation .valid-icon {
    display: block;
    opacity: 1;
}

.form-input:focus:invalid + .form-label + .form-validation .invalid-icon,
.form-input:invalid:not(:placeholder-shown) + .form-label + .form-validation .invalid-icon {
    display: block;
    opacity: 1;
}

.valid-icon, .invalid-icon {
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
}

/* 自定义复选框样式 */
.form-checkbox {
    margin-top: 20px;
    margin-bottom: 25px;
}

.checkbox-input {
    display: none;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #64748b;
    transition: all 0.3s ease;
    user-select: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(26, 115, 232, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
    background: #fafafa;
}

.checkbox-input:checked + .checkbox-label .checkbox-custom {
    background: linear-gradient(135deg, #1a73e8 0%, #7546c1 100%);
    border-color: #1a73e8;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

.checkbox-input:checked + .checkbox-label .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-input:checked + .checkbox-label {
    color: #1a73e8;
    transform: translateX(3px);
}

.privacy-link {
    color: #1a73e8;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.privacy-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1a73e8, #7546c1);
    transition: width 0.3s ease;
}

.privacy-link:hover {
    color: #7546c1;
}

.privacy-link:hover::after {
    width: 100%;
}

/* 提交按钮样式 */
.btn-submit {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a73e8 0%, #7546c1 100%);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(26, 115, 232, 0.4);
    background: linear-gradient(135deg, #1557b0 0%, #6b46c1 100%);
}

.btn-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.3);
}

.btn-loader {
    display: none;
    animation: spin 1s linear infinite;
}

.btn-submit.loading .btn-loader {
    display: block;
}

.btn-submit.loading .btn-text {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 响应式表单调整 */
@media (max-width: 768px) {
    .modern-form {
        padding: 30px 25px;
    }
    
    .contact-content {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 40px !important;
    }
    
    .contact-item {
        padding: 20px;
        margin-bottom: 25px;
    }
}

/* 发展历程样式 */
.history {
    padding: 100px 0;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.history h3 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: -0.025em;
}

.history h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1a73e8, #7546c1);
    border-radius: 2px;
}

.history-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 60px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #1a73e8, #7546c1);
    transform: translateX(-50%);
    border-radius: 1px;
}

.timeline-item {
    padding: 40px 0;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 100px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 100px;
    text-align: left;
}

.timeline-content {
    background: #fff;
    padding: 35px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #1a73e8 0%, #7546c1 100%);
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.15);
    z-index: 1;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -160px;
    left: auto;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -160px;
    right: auto;
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.05) 0%, rgba(117, 70, 193, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    border-color: rgba(26, 115, 232, 0.25);
}

.timeline-content:hover::after {
    opacity: 1;
}

.timeline-content:hover::before {
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 0 0 6px rgba(26, 115, 232, 0.25);
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, #1a73e8 0%, #7546c1 100%);
    color: #fff;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.2);
    letter-spacing: -0.3px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.timeline-content:hover .timeline-year {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.3);
}

.timeline-content h4 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.3px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.timeline-content:hover h4 {
    color: #1a73e8;
    transform: translateY(-2px);
}

.timeline-content p {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
    position: relative;
    z-index: 2;
    font-weight: 400;
    transition: all 0.3s ease;
}

.timeline-content:hover p {
    color: #475569;
}

/* 核心价值观样式 */
.values {
    padding: 100px 0;
    background-color: #fff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.value-item {
    background-color: #f8f9fa;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 115, 232, 0.1);
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a73e8, #7546c1);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: left;
}

.value-item:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.value-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    border-color: rgba(26, 115, 232, 0.3);
}

.value-icon {
    margin-bottom: 25px;
    transition: all 0.5s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-item h4 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
}

.value-item:hover h4 {
    color: #1a73e8;
}

.value-item p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
    text-align: center;
}

/* 成就与统计样式 */
.achievements {
    padding: 100px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.achievements::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(26, 115, 232, 0.05), transparent 70%);
    z-index: 0;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.achievement-item {
    text-align: center;
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 115, 232, 0.1);
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a73e8, #7546c1);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: left;
}

.achievement-item:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.achievement-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(26, 115, 232, 0.3);
}

.achievement-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a73e8;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    line-height: 1;
    letter-spacing: -2px;
}

.achievement-item:hover .achievement-number {
    color: #7546c1;
    transform: scale(1.1);
}

.achievement-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    margin: 0;
    transition: color 0.3s ease;
}

.achievement-item:hover .achievement-label {
    color: #333;
}


/* 页脚内容区域 - 所有页面统一 */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 25px !important;
    margin-bottom: 15px !important;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* 页脚元素 - 统一间距 */
.footer-logo {
    margin-bottom: 1rem !important;
}

.footer-links h4, .footer-contact h4, .footer-extra h4 {
    font-size: 1.2rem !important;
    margin-bottom: 1rem !important;
    color: #ffffff !important;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px !important;
    display: inline-block;
}

.footer-links ul li {
    margin-bottom: 0.5rem !important;
}

.contact-item {
    margin-bottom: 0.8rem !important;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="1000" height="1000" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.footer-logo-link:hover {
    transform: scale(1.05);
}

.footer-logo-image {
    max-height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-logo-link:hover .footer-logo-image {
    filter: brightness(1) invert(0);
}

.footer-logo h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: none;
}

.footer-logo p {
    color: #ffffff;
    line-height: 1.8;
    font-size: 1.05rem;
    text-align: justify;
    margin-bottom: 1.5rem;
}

/* 页脚社交媒体 */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.footer-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social .social-link:hover {
    background-color: #fff;
    color: #1a73e8;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.footer-links h4, .footer-contact h4, .footer-extra h4 {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #ffffff;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-links h4::after, .footer-contact h4::after, .footer-extra h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.footer-links ul li:hover {
    transform: translateX(5px);
}

.footer-links ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
}

.footer-links ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover::before {
    opacity: 1;
    left: -15px;
}

.footer-links ul li a:hover {
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* 页脚联系详情 */
.contact-details {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.05rem;
    gap: 15px;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.contact-item p {
    margin: 0;
    color: #ffffff;
    font-weight: 500;
}

/* 页脚额外信息 */
.footer-extra {
    flex: 1;
    min-width: 250px;
}

.footer-extra h4 {
    margin-bottom: 1.5rem;
}

.footer-extra p {
    color: #ffffff !important;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

/* 强制页脚所有文字为白色 - 最高优先级 */
footer.footer,
footer.footer *,
.footer-content,
.footer-content *,
.footer-logo,
.footer-logo *,
.footer-links,
.footer-links *,
.footer-contact,
.footer-contact *,
.footer-extra,
.footer-extra * {
    color: #ffffff !important;
}

/* 页脚标题和链接强制白色 */
.footer-links h4,
.footer-contact h4,
.footer-extra h4,
.footer-links ul li a,
.footer-item p,
.footer-contact .contact-text p,
.footer-extra p {
    color: #ffffff !important;
}

/* 页脚联系信息强制白色 */
footer.footer .contact-item,
footer.footer .contact-item p,
footer.footer .contact-text,
footer.footer .contact-text strong,
footer.footer .contact-text p {
    color: #ffffff !important;
}

/* 首页联系信息保持原样 */
body:not(.admin) .contact .contact-text p {
    color: #64748b !important;
}

/* 页脚中的联系信息强制白色 */
body:not(.admin) footer.footer .contact-text p,
body:not(.admin) .footer-contact .contact-text p {
    color: #ffffff !important;
}

/* 资质认证 */
.footer-certifications {
    margin-top: 2rem;
}

.footer-certifications h5 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.certification-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.certification-badges .badge {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.certification-badges .badge:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* 页脚底部 */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.legal-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.legal-link:hover {
    color: #fff;
}

/* 强制页脚高度设置 - 最高优先级 */
footer.footer {
    background: linear-gradient(135deg, #1a73e8, #7546c1) !important;
    color: #ffffff !important;
    padding: 20px 0 15px !important;
    position: relative;
    overflow: hidden;
    min-height: 550px !important;
    max-height: 550px !important;
    height: 550px !important;
}

/* 所有页面页脚高度统一 - 最高优先级 */
body.home footer.footer,
body.home .footer,
body.services footer.footer,
body.services .footer,
div.home footer.footer,
div.home .footer,
div.services footer.footer,
div.services .footer,
footer.home,
footer.services,
body[data-page="home"] footer,
body[data-page="services"] footer,
/* 更具体的选择器覆盖首页和服务领域 */
footer:not([class*="admin"]):not([class*="error"]):not([class*="404"]),
body:not([class*="admin"]):not([class*="error"]):not([class*="404"]) footer,
html body footer {
    min-height: 550px !important;
    max-height: 550px !important;
    height: 550px !important;
    padding: 35px 0 30px !important;
}

/* 确保所有页面页脚高度 - 超高优先级 */
body:not([class*="admin"]) footer.footer,
div:not([class*="admin"]) footer.footer,
footer.footer:not([class*="admin"]):not([class*="error"]):not([class*="404"]) {
    min-height: 550px !important;
    max-height: 550px !important;
    height: 550px !important;
    padding: 35px 0 30px !important;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .footer-content {
        max-width: 500px;
        gap: 25px;
    }
}

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

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 280px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-legal {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 20px;
        max-width: 80%;
        padding: 0 10px;
    }
}

/* 滚动动画 */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* 确保内容始终可见，添加备用样式 */
.fade-in:not(.visible) {
    opacity: 1;
    transform: translateY(0);
}

/* 动画延迟 */
.fade-in:nth-child(1) { transition-delay: 0.1s; }
.fade-in:nth-child(2) { transition-delay: 0.2s; }
.fade-in:nth-child(3) { transition-delay: 0.3s; }
.fade-in:nth-child(4) { transition-delay: 0.4s; }
.fade-in:nth-child(5) { transition-delay: 0.5s; }
.fade-in:nth-child(6) { transition-delay: 0.6s; }

/* 关键帧动画 */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes expand {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu {
        display: block;
        z-index: 1001;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .about h3, .services h3, .team h3, .cases h3, .contact h3 {
        font-size: 2.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* 保持联系页面在平板上仍然是左右布局 */
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .services-grid, .team-grid, .cases-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-text h4, .contact-info h4, .contact-form h4 {
        font-size: 1.5rem;
    }
}
/* 确保PC端（大于480px）保持并排布局 */
/* 强制PC端（大于480px）保持并排布局 - 最高优先级 */
@media (min-width: 481px) {
    .contact-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 60px !important;
    }
}

/* 全局强制PC端并排布局 */
.contact .contact-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px !important;
}

/* PC端媒体查询强制覆盖 */
@media (min-width: 769px) {
    .contact .contact-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 60px !important;
    }
}

/* 最终修复 - 强制左右并排 */
.contact .contact-content,
body:not(.admin) .contact .contact-content,
section.contact .contact-content,
.contact section .contact-content,
div.contact .contact-content,
body .contact .contact-content,
html .contact .contact-content {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 60px !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: unset !important;
    grid-template-rows: unset !important;
    grid-gap: unset !important;
}

@media (min-width: 768px) {
    .contact .contact-content,
    body:not(.admin) .contact .contact-content,
    section.contact .contact-content {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 60px !important;
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: unset !important;
        grid-template-rows: unset !important;
        grid-gap: unset !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .navbar .container {
        padding: 0.8rem 20px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .about, .services, .team, .cases, .contact {
        padding: 80px 0;
    }

    .about h3, .services h3, .team h3, .cases h3, .contact h3 {
        font-size: 1.8rem;
    }

    .about-content {
        gap: 30px;
    }
    
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 25px;
    height: 25px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 404页面样式 */
.error-page {
    text-align: center;
    padding: 150px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.error-page h2 {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: #1a73e8;
    font-weight: 700;
    animation: bounce 2s ease-in-out infinite;
}

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

.error-page p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #666;
}

/* 现代化后台样式 */
/* 后台登录样式 - 已移至登录页面内部 */

/* 后台内容样式 */
.admin-content {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 150px);
}

.admin-content .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* 后台标题样式 */
.admin-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.admin-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* 消息样式 */
.message {
    margin-bottom: 30px;
    padding: 18px 25px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    animation: slideDown 0.6s ease-out;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(32, 201, 151, 0.1) 100%);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.message.error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(253, 126, 20, 0.1) 100%);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* 仪表盘样式 */
.admin-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.admin-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.admin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.admin-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.admin-card h3 {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
}

.admin-card p {
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* 表格样式 */
.table-container {
    overflow-x: auto;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: transparent;
    border-radius: 12px;
    overflow: hidden;
}

th, td {
    padding: 20px 25px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 1rem;
    transition: all 0.3s ease;
    vertical-align: middle;
}

th {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    font-weight: 600;
    color: #333;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

tr {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.8);
}

tr:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

tr:last-child td {
    border-bottom: none;
}

/* 操作按钮样式 */
.action-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    gap: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

/* 主要按钮 */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    color: #fff;
}

/* 次要按钮 */
.btn-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.3);
    color: #fff;
}

/* 成功按钮 */
.btn-success {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
    color: #fff;
}

/* 危险按钮 */
.btn-danger {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #fff;
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(250, 112, 154, 0.3);
    color: #fff;
}

/* 小按钮 */
.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 8px;
}

/* 操作按钮 */
.action-buttons .btn {
    white-space: nowrap;
}

/* 表单样式 */
.admin-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    margin-bottom: 2.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.8);
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    background: #fff;
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.8;
}

.form-actions {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.form-actions .btn {
    flex: 1;
    min-width: 150px;
}

/* 操作按钮区域 */
.action-buttons { 
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* 当前图片样式 */
.current-image {
    margin-top: 15px;
    padding: 10px 15px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .admin-nav-links {
        gap: 20px;
    }
    
    .admin-nav-links a {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }
    
    .admin-content h2 {
        font-size: 2rem;
    }
    
    .admin-content .container,
    .admin-nav .container {
        padding: 0 20px;
    }
    
    .admin-form {
        padding: 30px 20px;
        margin-top: 30px;
    }
    
    .table-container {
        padding: 20px;
    }
    
    th, td {
        padding: 15px 12px;
        font-size: 0.9rem;
    }
    
    .action-buttons {
        gap: 8px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .btn-small {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .admin-nav .logo h1 {
        font-size: 1.4rem;
    }
    
    .admin-nav-links {
        gap: 15px;
    }
    
    .admin-nav-links a {
        font-size: 0.8rem;
    }
    
    .admin-content h2 {
        font-size: 1.8rem;
    }
    
    .admin-card h3 {
        font-size: 2.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

/* 联系我们增强样式 */
.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    padding: 20px;
    background: rgba(26, 115, 232, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(26, 115, 232, 0.1);
}

.contact-item:hover {
    background: rgba(26, 115, 232, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.1);
    border-color: rgba(26, 115, 232, 0.2);
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 115, 232, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(26, 115, 232, 0.2);
}
.contact-text {
    flex: 1;
}

.contact-text strong {
    color: #333;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    font-size: 1.05rem;
}

.contact-text p {
    margin: 0;
    color: #333;
    line-height: 1.6;
    font-size: 1rem;
    padding: 0;
    font-weight: 500;
}

.business-hours {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.95rem;
}

.hour-item .day {
    font-weight: 500;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 2rem;
}

.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fafafa;
    font-family: inherit;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.1);
    background-color: #fff;
    transform: translateY(-2px);
}

.form-group select:focus + label {
    color: #1a73e8;
    transform: translateY(-2px);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 2rem;
    padding: 0 10px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 5px;
    cursor: pointer;
    accent-color: #1a73e8;
    transition: all 0.3s ease;
}

.form-checkbox input[type="checkbox"]:hover {
    transform: scale(1.1);
}

.form-checkbox label {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    cursor: pointer;
    margin: 0;
}

.btn-full {
    width: 100%;
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* 地图样式 */
.map-section {
    padding: 100px 0;
    background-color: #f8f9fa;
    position: relative;
}

.map-container {
    margin-top: 50px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(26, 115, 232, 0.1);
    background-color: #fff;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.05), rgba(117, 70, 193, 0.05)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(26, 115, 232, 0.1)" stroke-width="1"/></pattern></defs><rect width="1000" height="1000" fill="url(%23grid)"/></svg>');
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    text-align: center;
    border: 1px solid rgba(26, 115, 232, 0.1);
}

.map-info h4 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
}

.map-info p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-map {
    background: linear-gradient(135deg, #1a73e8, #7546c1);
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.2);
}

.btn-map:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26, 115, 232, 0.3);
    background: linear-gradient(135deg, #1557b0, #5a32a3);
    color: #fff;
}

/* 常见问题样式 */
.faq {
    padding: 100px 0;
    background-color: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.faq-item {
    background: rgba(26, 115, 232, 0.03);
    border: 1px solid rgba(26, 115, 232, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(26, 115, 232, 0.05);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.1);
    border-color: rgba(26, 115, 232, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(26, 115, 232, 0.02);
}

.faq-question:hover {
    background: rgba(26, 115, 232, 0.04);
}

.faq-question h5 {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question h5 {
    color: #1a73e8;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #1a73e8;
    font-weight: 600;
    transition: all 0.3s ease;
    user-select: none;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 30px;
    background: #fff;
}

.faq-question.active + .faq-answer {
    max-height: 200px;
    padding: 20px 30px 30px;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

/* 表单容器样式 */
.form-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-top: 30px;
    border: 1px solid rgba(26, 115, 232, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 文件上传样式 */
.file-upload {
    position: relative;
    display: inline-block;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: inline-block;
    background: linear-gradient(135deg, #1a73e8, #7546c1);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.2);
}

.file-upload-label:hover {
    background: linear-gradient(135deg, #1557b0, #5a32a3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.3);
}

/* 消息提示样式 */
.message {
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 10px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.success::before {
    background: #28a745;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.error::before {
    background: #dc3545;
}

.message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.message.info::before {
    background: #17a2b8;
}

.message.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.message.warning::before {
    background: #ffc107;
}

/* 首页律师团队图片样式 */
#team .team-item img {
    width: 140px !important;
    height: 140px !important;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: block;
    border: 5px solid #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

/* 确保前端律师团队页面与首页样式完全一致 */
body:not(.admin) .team .team-item {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 115, 232, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    aspect-ratio: 3/4;
    width: 280px;
    margin: 0 0 30px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
}

body:not(.admin) .team-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a73e8, #7546c1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

body:not(.admin) .team-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

body:not(.admin) .team-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    border-color: rgba(26, 115, 232, 0.3);
}

body:not(.admin) .team-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #f0f4ff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    z-index: 1;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1a73e8, #7546c1);
}

body:not(.admin) .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

body:not(.admin) .team-item:hover .team-photo {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

body:not(.admin) .team-item:hover .team-photo img {
    transform: scale(1.1);
}

body:not(.admin) .team-info {
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: flex-start;
    flex: 1;
}

body:not(.admin) .team-info h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #333;
    font-weight: 700;
    transition: color 0.3s ease;
    text-align: center;
    letter-spacing: -0.3px;
}

body:not(.admin) .team-item:hover .team-info h4 {
    color: #1a73e8;
}

body:not(.admin) .team-title {
    text-align: center;
    color: #1a73e8;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
}

body:not(.admin) .team-bio {
    margin-bottom: 0;
    flex: 1;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    padding-top: 0;
}

body:not(.admin) .team-item.active .team-bio {
    max-height: 300px;
    margin-top: 15px;
    opacity: 1;
    padding-top: 15px;
    border-top: 1px solid rgba(26, 115, 232, 0.1);
}

/* 毛玻璃覆盖层样式 - 前端页面特定 */
body:not(.admin) .team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

body:not(.admin) .team-item:hover .team-overlay {
    opacity: 1;
}

body:not(.admin) .overlay-content {
    text-align: center;
    padding: 20px;
    width: 100%;
}

body:not(.admin) .overlay-content h5 {
    font-size: 1.2rem;
    color: #1a73e8;
    margin-bottom: 20px;
    font-weight: 600;
}

body:not(.admin) .expertise-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

body:not(.admin) .expertise-tag {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1) 0%, rgba(117, 70, 193, 0.1) 100%);
    color: #1a73e8;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(26, 115, 232, 0.2);
    transition: all 0.3s ease;
}

body:not(.admin) .expertise-tag:hover {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.2) 0%, rgba(117, 70, 193, 0.2) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.15);
}

/* 前端律师团队页面样式 - 与首页保持一致 */
body:not(.admin) .team .team-item {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 115, 232, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    aspect-ratio: 3/4;
    width: 280px;
    margin: 0 0 30px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
}

body:not(.admin) .team-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a73e8, #7546c1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

body:not(.admin) .team-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

body:not(.admin) .team-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    border-color: rgba(26, 115, 232, 0.3);
}

body:not(.admin) .team-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #f0f4ff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    z-index: 1;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1a73e8, #7546c1);
}

body:not(.admin) .team-item:hover .team-photo {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

body:not(.admin) .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

body:not(.admin) .team-item:hover .team-photo img {
    transform: scale(1.1);
}

/* 毛玻璃覆盖层样式 - 前端页面特定 */
body:not(.admin) .team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 悬停时显示毛玻璃覆盖层 */
body:not(.admin) .team-item:hover .team-overlay {
    opacity: 1;
}

/* 覆盖层内容 */
body:not(.admin) .overlay-content {
    text-align: center;
    padding: 20px;
    width: 100%;
}

body:not(.admin) .overlay-content h5 {
    font-size: 1.2rem;
    color: #1a73e8;
    margin-bottom: 20px;
    font-weight: 600;
}

/* 擅长领域列表样式 - 前端页面特定 */
body:not(.admin) .expertise-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

body:not(.admin) .expertise-tag {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1) 0%, rgba(117, 70, 193, 0.1) 100%);
    color: #1a73e8;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(26, 115, 232, 0.2);
    transition: all 0.3s ease;
}

body:not(.admin) .expertise-tag:hover {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.2) 0%, rgba(117, 70, 193, 0.2) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.15);
}

/* 律师信息区域样式 - 前端页面特定 */
body:not(.admin) .team-info {
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: flex-start;
    flex: 1;
}

body:not(.admin) .team-info h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #333;
    font-weight: 700;
    transition: color 0.3s ease;
    text-align: center;
    letter-spacing: -0.3px;
}

body:not(.admin) .team-item:hover .team-info h4 {
    color: #1a73e8;
}

body:not(.admin) .team-title {
    text-align: center;
    color: #1a73e8;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
}

body:not(.admin) .team-bio {
    margin-bottom: 0;
    flex: 1;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    padding-top: 0;
}

/* 点击卡片时显示详情 */
body:not(.admin) .team-item.active .team-bio {
    max-height: 300px;
    margin-top: 15px;
    opacity: 1;
    padding-top: 15px;
    border-top: 1px solid rgba(26, 115, 232, 0.1);
}

/* 律师团队擅长领域样式 */
.expertise-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(26, 115, 232, 0.1);
}

.expertise-section h5 {
    color: #1a73e8;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.expertise-section h5::before {
    content: '??';
    font-size: 1rem;
}

.expertise-content {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.expertise-tag {
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f4ff 100%);
    color: #1a73e8;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #d0e4ff;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(26, 115, 232, 0.1);
}

.expertise-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(26, 115, 232, 0.2);
    background: linear-gradient(135deg, #e6f4ff 0%, #d0e4ff 100%);
}

/* 首页联系我们紧凑布局 */
body:not(.admin) #contact.contact .contact-content {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 30px !important;
    margin-top: 30px !important;
    width: 100% !important;
    max-width: 100% !important;
}

body:not(.admin) #contact.contact .contact-info {
    flex: 1 !important;
    width: 48% !important;
    max-width: 48% !important;
    display: block !important;
}

body:not(.admin) #contact.contact .contact-form {
    flex: 1 !important;
    width: 48% !important;
    max-width: 48% !important;
    display: block !important;
    padding: 15px !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
}

/* 联系方式紧凑间距 */
body:not(.admin) #contact.contact .contact-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
    padding: 10px !important;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.03) 0%, rgba(117, 70, 193, 0.03) 100%) !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(26, 115, 232, 0.08) !important;
}

body:not(.admin) #contact.contact .contact-item:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.1) !important;
    border-color: rgba(26, 115, 232, 0.15) !important;
}

body:not(.admin) #contact.contact .contact-icon {
    flex-shrink: 0 !important;
    width: 32px !important;
    height: 32px !important;
    background: linear-gradient(135deg, #1a73e8 0%, #7546c1 100%) !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.2) !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

body:not(.admin) #contact.contact .contact-item:hover .contact-icon {
    transform: scale(1.05) rotate(3deg) !important;
    box-shadow: 0 3px 12px rgba(26, 115, 232, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

body:not(.admin) #contact.contact .contact-text {
    flex: 1 !important;
}

body:not(.admin) #contact.contact .contact-text strong {
    display: block !important;
    color: #1a73e8 !important;
    font-weight: 600 !important;
    margin-bottom: 3px !important;
    font-size: 0.9rem !important;
}

body:not(.admin) #contact.contact .contact-text p {
    margin: 0 !important;
    color: #64748b !important;
    line-height: 1.4 !important;
    font-size: 0.85rem !important;
    padding: 0 !important;
}

/* 表单紧凑间距 */
body:not(.admin) #contact.contact .form-group {
    margin-bottom: 12px !important;
    position: relative;
}

body:not(.admin) #contact.contact .form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}

body:not(.admin) #contact.contact .form-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    padding: 0 5px !important;
}

body:not(.admin) #contact.contact .btn-submit {
    width: 100% !important;
    padding: 10px 25px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #1a73e8 0%, #7546c1 100%) !important;
    color: white !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.25) !important;
    transition: all 0.3s ease !important;
}

body:not(.admin) #contact.contact .btn-submit:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.35) !important;
    background: linear-gradient(135deg, #1557b0 0%, #6b46c1 100%) !important;
}