/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #2563eb;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.8rem;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 320px;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 4px 8px;
    font-size: 14px;
    line-height: 1.4;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: #2563eb;
    border-left-color: #2563eb;
    transform: translateX(4px);
}

/* 结构化下拉菜单样式 */
.structured-menu {
    min-width: 400px;
    padding: 16px 0;
}

.dropdown-category {
    padding: 0 16px;
}

.category-title {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 8px 0;
    padding: 8px 0 4px 0;
}

.dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 12px 16px;
}

.structured-menu .dropdown-item {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #374151;
    border-left: 3px solid transparent;
}

.structured-menu .dropdown-item:hover {
    background: #f8fafc;
    color: #2563eb;
    border-left-color: #2563eb;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::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"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.highlight {
    display: block;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #ffd700;
    color: #333;
    border: 2px solid #ffd700;
}

.btn-primary:hover {
    background: transparent;
    color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.hero-cards {
    display: grid;
    gap: 20px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card:hover {
    transform: translateY(-10px);
}

.hero-card i {
    font-size: 3rem;
    margin-bottom: 16px;
    color: #ffd700;
}

.hero-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.hero-card p {
    opacity: 0.8;
}

/* 通用区块样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f2937;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* 服务区块 */
.services {
    padding: 100px 0;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    gap: 40px;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-card:nth-child(even) {
    grid-template-columns: 1fr 300px;
}

.service-card:nth-child(even) .service-icon {
    order: 2;
}

.service-illustration {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.service-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1f2937;
}

.service-description {
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 24px;
    color: #374151;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* 优势区块 */
.advantages {
    padding: 100px 0;
    background: white;
}

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

.advantage-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

.advantage-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.advantage-icon i {
    font-size: 2rem;
    color: #ffd700;
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.advantage-card p {
    opacity: 0.9;
    line-height: 1.6;
}

/* 客户案例 */
.clients {
    padding: 100px 0;
    background: #f8fafc;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.client-logo {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 8px;
}

.stat-item p {
    color: #6b7280;
}

.team-member {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    border-radius: 20px;
    color: white;
}

.member-info h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.member-title {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

.member-phone {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 20px;
}

.member-experience {
    list-style: none;
}

.member-experience li {
    padding: 6px 0;
    position: relative;
    padding-left: 20px;
    opacity: 0.9;
}

.member-experience li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ffd700;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-details h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: #1f2937;
}

.contact-details p {
    color: #6b7280;
    line-height: 1.6;
}

.contact-qr {
    display: flex;
    justify-content: center;
}

.qr-code {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.qr-code img {
    width: 200px;
    height: 200px;
    margin-bottom: 16px;
    border-radius: 10px;
}

.qr-code p {
    font-weight: 600;
    color: #374151;
}

/* 页脚 */
.footer {
    background: #1f2937;
    color: white;
    padding: 40px 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-info {
    text-align: right;
    flex: 1;
}

.footer-certifications {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
    justify-content: flex-end;
}

.cert-group {
    text-align: left;
}

.cert-group h4 {
    color: #ffd700;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.cert-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cert-item {
    color: #e5e7eb;
    font-size: 0.85rem;
    opacity: 0.9;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 12px;
}

.cert-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 0.75rem;
}

.cert-item:hover {
    opacity: 1;
    color: #ffd700;
    transform: translateX(2px);
}

.footer-copyright {
    opacity: 0.8;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }

    /* 移动端下拉菜单样式 */
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        border-top: 1px solid #e5e7eb;
        border-radius: 0;
        margin-top: 0;
        background: #f8fafc;
    }

    .dropdown-item {
        padding: 10px 20px;
        margin: 0;
        border-left: none;
        border-radius: 0;
        font-size: 13px;
    }

    .dropdown-item:hover {
        transform: none;
        background: #e5e7eb;
    }

    /* 移动端结构化菜单样式 */
    .structured-menu {
        min-width: auto;
        width: 100%;
        padding: 8px 0;
    }

    .dropdown-category {
        padding: 0 20px;
    }

    .category-title {
        font-size: 12px;
        padding: 8px 0 4px 0;
        color: #6b7280;
    }

    .dropdown-divider {
        margin: 8px 20px;
    }

    .structured-menu .dropdown-item {
        padding: 8px 20px;
        font-size: 13px;
        border-left: none;
        padding-left: 30px;
    }

    .structured-menu .dropdown-item:hover {
        background: #e5e7eb;
        transform: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .service-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-card:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .service-card:nth-child(even) .service-icon {
        order: 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-info {
        text-align: center;
    }

    .footer-certifications {
        flex-direction: column;
        gap: 25px;
        justify-content: center;
        align-items: center;
    }

    .cert-group {
        text-align: center;
        min-width: 200px;
    }

    .cert-group h4 {
        margin-bottom: 10px;
    }

    .cert-items {
        gap: 8px;
    }

    .cert-item {
        font-size: 0.8rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动动画 */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

