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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    color: #2c7be5;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.logo p {
    color: #666;
    font-size: 12px;
    margin: 0;
}

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

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

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #2c7be5;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2c7be5;
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 英雄区域装饰形状 */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(5px);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #ffffff, rgba(255, 255, 255, 0.5));
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
    bottom: -50px;
    left: 20%;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    top: 50%;
    left: -50px;
    animation-delay: -10s;
}

/* 浮动动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(-15px) rotate(240deg);
    }
}

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

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    background-color: #2c7be5;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #1a5ec0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 123, 229, 0.4);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #2c7be5;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #2c7be5;
}

.btn-secondary:hover {
    background-color: #2c7be5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 123, 229, 0.4);
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

/* 部分标题样式 */
.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #2c7be5;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #2c7be5;
    border-radius: 3px;
}

/* 产品展示模块 */
.product-section {
    padding: 80px 0;
    background-color: white;
}

.product-card {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.product-info {
    flex: 1;
    min-width: 300px;
}

.product-info h3 {
    font-size: 28px;
    color: #2c7be5;
    margin-bottom: 15px;
}

.product-info p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* 公司优势 */
.advantages {
    padding: 60px 0;
    background-color: #f5f7fa;
}

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

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

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    color: #2c7be5;
    margin-bottom: 20px;
    font-size: 48px;
}

.advantage-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
}

/* 关于我们页面 */
.about {
    padding: 60px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    z-index: 0;
    border-radius: 50% 0 0 50%;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 24px;
    color: #2c7be5;
    margin-bottom: 20px;
}

.about-text p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.culture-item {
    background-color: #f5f7fa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.culture-item:hover {
    transform: translateY(-3px);
}

.culture-item h4 {
    color: #2c7be5;
    margin-bottom: 10px;
    font-size: 18px;
}

.culture-item p {
    color: #666;
    margin: 0;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-placeholder svg {
    margin-bottom: 20px;
    opacity: 0.8;
}

/* 产品介绍页面 */
.product {
    padding: 60px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 123, 229, 0.08) 0%, rgba(44, 123, 229, 0.05) 100%);
    z-index: 0;
    border-radius: 0 50% 50% 0;
}

.product .container {
    position: relative;
    z-index: 1;
}

.product-header {
    text-align: center;
    margin-bottom: 50px;
}

.product-header h3 {
    font-size: 32px;
    color: #2c7be5;
    margin-bottom: 10px;
}

.product-header p {
    font-size: 18px;
    color: #666;
}

.product-showcase {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.product-features {
    flex: 1;
    min-width: 300px;
}

.product-features h4 {
    font-size: 24px;
    color: #2c7be5;
    margin-bottom: 25px;
}

.product-features ul {
    list-style: none;
    margin-bottom: 30px;
}

.product-features li {
    color: #666;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2c7be5;
    font-weight: bold;
    font-size: 18px;
}

.product-benefits {
    margin-top: 60px;
}

.product-benefits h4 {
    text-align: center;
    font-size: 28px;
    color: #2c7be5;
    margin-bottom: 40px;
}

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

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background-color: #f5f7fa;
    padding: 25px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    color: #2c7be5;
    font-size: 28px;
    margin-top: 5px;
}

.benefit-content h5 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.benefit-content p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* 联系方式页面 */
.contact {
    padding: 80px 0;
    background-color: white;
}

.contact-content {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: #f5f7fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    font-size: 24px;
    color: #2c7be5;
    margin-bottom: 20px;
}

.contact-info p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

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

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    color: #2c7be5;
    font-size: 24px;
    margin-top: 5px;
}

.contact-text h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.contact-text p {
    color: #666;
    margin: 0;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 24px;
    color: #2c7be5;
    margin-bottom: 30px;
    text-align: center;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c7be5;
    box-shadow: 0 0 0 3px rgba(44, 123, 229, 0.1);
}

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

/* 页脚样式 */
.footer {
    background-color: #2c7be5;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 导航栏响应式 */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 999;
    }

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

    .hamburger {
        display: flex;
    }

    /* 汉堡菜单动画 */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* 英雄区域响应式 */
    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    /* 部分标题响应式 */
    .section-title {
        font-size: 26px;
    }

    /* 产品卡片响应式 */
    .product-card {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }

    .product-showcase {
        flex-direction: column;
        text-align: center;
    }

    /* 关于我们响应式 */
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    /* 联系方式响应式 */
    .contact-content {
        flex-direction: column;
    }

    /* 容器响应式 */
    .container {
        padding: 0 15px;
    }

    /* 按钮响应式 */
    .btn-large {
        padding: 12px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    /* 英雄区域响应式 */
    .hero {
        padding: 60px 0;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    /* 部分标题响应式 */
    .section-title {
        font-size: 22px;
    }

    /* 产品展示响应式 */
    .product-section {
        padding: 60px 0;
    }

    /* 公司优势响应式 */
    .advantages {
        padding: 60px 0;
    }

    /* 关于我们响应式 */
    .about {
        padding: 60px 0;
    }

    /* 产品介绍响应式 */
    .product {
        padding: 60px 0;
    }

    /* 联系方式响应式 */
    .contact {
        padding: 60px 0;
    }

    /* 页脚响应式 */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* 平滑滚动效果 */
html {
    scroll-behavior: smooth;
}

/* 图片优化 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 脉冲动画 */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* 旋转动画 */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 页面区块动画 */
.hero,
.product-section,
.advantages,
.about,
.product,
.contact {
    animation: fadeIn 0.8s ease-in-out;
}

/* 优势卡片动画 */
.advantage-item {
    transition: all 0.3s ease;
    animation: fadeIn 0.8s ease-in-out backwards;
}

.advantage-item:nth-child(1) { animation-delay: 0.1s; }
.advantage-item:nth-child(2) { animation-delay: 0.2s; }
.advantage-item:nth-child(3) { animation-delay: 0.3s; }

/* 产品卡片动画 */
.product-showcase {
    transition: all 0.3s ease;
}

/* 按钮动画增强 */
.btn-primary:hover {
    animation: pulse 0.3s ease-in-out;
}

/* 图标旋转动画 */
.advantage-icon svg {
    transition: all 0.3s ease;
}

.advantage-item:hover .advantage-icon svg {
    animation: rotate 0.6s ease-in-out;
}