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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "微软雅黑", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

/* 导航栏样式 */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    padding: 0 30px;
}

.logo {
    margin-right: auto;
    padding-right: 40px;
}

.logo h1 {
    font-size: 18px;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.logo .tagline {
    font-size: 13px;
    opacity: 0.9;
    letter-spacing: 1px;
}

.nav {
    margin-left: auto;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 5px;
}

.nav a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

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

.dropdown-content {
    position: absolute;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 5px;
    top: 100%;
    left: 0;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.dropdown-content a {
    color: #333;
    padding: 12px 20px;
    display: block;
    transition: all 0.3s;
}

.dropdown-content a:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.dropdown.dropdown-open .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s, 0s;
}

/* 英雄区域 */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    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 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,96C1248,75,1344,53,1392,42.7L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideInDown 1s;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: slideInUp 1s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeIn 1.5s;
}

.btn {
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

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

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg);
    margin-top: 10px;
}

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

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

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

/* 通用区块样式 */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 15px;
    color: #1e3c72;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
}

/* 核心优势 */
.advantages {
    background: #f8f9fa;
}

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

.advantage-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.advantage-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1e3c72;
}

.advantage-card p {
    color: #666;
    line-height: 1.8;
}

/* 产品展示 */
.products-showcase {
    background: white;
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.product-category {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s;
}

.product-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-category h3 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #1e3c72;
    text-align: center;
}

.product-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.product-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s;
}

.product-images img:hover {
    transform: scale(1.05);
}

.product-category p {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.btn-link {
    display: block;
    text-align: center;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

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

/* 技术实力 */
.technology {
    background: #f8f9fa;
}

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

.tech-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

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

.tech-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.tech-item h4 {
    padding: 20px;
    text-align: center;
    font-size: 18px;
    color: #1e3c72;
}

/* 服务流程 */
.service-process {
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s;
}

.step:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-5px);
}

.step-number {
    font-size: 48px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 20px;
}

.step:hover .step-number {
    color: white;
}

.step h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.step p {
    line-height: 1.8;
}

/* 企业实力 */
.company-strength {
    background: #f8f9fa;
}

.strength-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.strength-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 250px;
}

.strength-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.strength-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: all 0.3s;
}

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

.strength-item:hover .strength-overlay {
    transform: translateY(0);
}

.strength-overlay h4 {
    font-size: 18px;
}

/* 合作伙伴 */
.partners {
    background: white;
}

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

.partner-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.partner-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.partner-item img {
    max-width: 100%;
    height: 120px;
    object-fit: contain;
}

/* 联系我们 */
.contact-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact-section .section-title,
.contact-section .section-subtitle {
    color: white;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.contact-item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.contact-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.contact-item h4 {
    font-size: 22px;
    margin-bottom: 15px;
}

.contact-item p {
    line-height: 1.8;
    opacity: 0.95;
}

/* 页脚 */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #667eea;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #667eea;
}

.footer-section p,
.footer-section li {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 10px;
}

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: #667eea;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    margin-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .advantage-grid,
    .product-categories,
    .tech-grid,
    .process-steps,
    .strength-gallery,
    .partner-logos,
    .contact-info,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .product-images {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 内页通用样式 */
.page-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
}

.page-content {
    padding: 80px 0;
}

.content-section {
    margin-bottom: 60px;
}

.content-section h2 {
    font-size: 32px;
    color: #1e3c72;
    margin-bottom: 20px;
}

.content-section h3 {
    font-size: 24px;
    color: #2a5298;
    margin-bottom: 15px;
    margin-top: 30px;
}

.content-section p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.content-section ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.content-section li {
    line-height: 1.8;
    color: #666;
    margin-bottom: 10px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.image-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.image-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.feature-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    border-left: 5px solid #667eea;
}

.feature-box h3 {
    color: #667eea;
    margin-top: 0;
}
