/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
body {
    font-family: 'Noto Sans SC', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* 段落样式 */
p {
    font-size: 16px;
    margin-bottom: 16px;
}

/* 全局变量 */
:root {
    --primary-color: #1a365d; /* 深蓝色 */
    --secondary-color: #2c5282; /* 中蓝色 */
    --accent-color: #3182ce; /* 亮蓝色 */
    --light-color: #f7fafc; /* 浅灰色背景 */
    --dark-color: #1a202c; /* 深色文字 */
    --gray-color: #718096; /* 灰色文字 */
    --border-color: #e2e8f0; /* 边框颜色 */
    --shadow-color: rgba(0, 0, 0, 0.1); /* 阴影颜色 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-weight: 500;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* 导航栏样式 */
.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px var(--shadow-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 24px;
    color: white;
}

.nav-logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 6px 12px;
    border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-contact {
    background: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: #333;
}

/* 首页横幅样式 */
.hero {
    min-height: 100vh;
    padding: 100px 0 50px;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9), rgba(44, 82, 130, 0.8)), url('https://picsum.photos/seed/passionfruit-pattern/1200/800.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
    line-height: 1.2;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.hero-stat {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    min-width: 120px;
    backdrop-filter: blur(10px);
}

.hero-stat h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.hero-stat p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* 通用区域样式 */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 18px;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

/* 关于我们部分 */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-color);
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* 特性网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow-color);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-item p {
    font-size: 15px;
    color: var(--gray-color);
    line-height: 1.6;
}

/* 产品中心部分 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.product-content p {
    font-size: 15px;
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-features {
    display: flex;
    gap: 15px;
}

.product-features span {
    font-size: 14px;
    color: var(--accent-color);
    display: flex;
    align-items: center;
}

.product-features i {
    margin-right: 5px;
}

.product-cta {
    text-align: center;
    margin-top: 40px;
}

.product-cta p {
    font-size: 18px;
    color: var(--gray-color);
    margin-bottom: 20px;
}

/* 核心优势部分 */
.process-flow {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-right: 30px;
    flex-shrink: 0;
}

.step-content {
    padding-top: 10px;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.step-content p {
    font-size: 16px;
    color: var(--gray-color);
    line-height: 1.6;
}

/* 保留原有的advantages-grid样式，用于其他页面 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.advantage-icon i {
    font-size: 36px;
    color: white;
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1);
}

.advantage-item h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.advantage-item p {
    font-size: 15px;
    color: var(--gray-color);
    line-height: 1.6;
}

/* 联系我们部分 */
.contact-sections {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.contact-left {
    flex: 1;
}

.contact-right {
    flex: 1;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.contact-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow-color);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.contact-icon {
    font-size: 32px;
    margin-right: 20px;
    color: var(--accent-color);
}

.contact-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-info p {
    font-size: 16px;
    color: var(--gray-color);
    margin: 0;
}

.contact-form-wrapper {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow-color);
    height: 100%;
}

.contact-form-wrapper h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--dark-color);
    text-align: center;
}

/* 保留原有的contact-content样式，用于其他页面 */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item .contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-item .contact-icon i {
    font-size: 20px;
    color: white;
}

.contact-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-text p {
    font-size: 16px;
    color: var(--gray-color);
}

.contact-form {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(49, 130, 206, 0.2);
}

/* 合作加盟部分 */
.cooperation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.cooperation-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow-color);
    text-align: center;
    transition: all 0.3s ease;
}

.cooperation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.cooperation-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--accent-color);
    display: block;
}

.cooperation-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.cooperation-card p {
    font-size: 15px;
    color: var(--gray-color);
    line-height: 1.6;
}

.cooperation-cta {
    text-align: center;
    background: var(--light-color);
    padding: 40px;
    border-radius: 10px;
    max-width: 700px;
    margin: 0 auto;
}

.cooperation-cta h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.cooperation-cta p {
    font-size: 16px;
    color: var(--gray-color);
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* 保留原有的cooperation-content样式，用于其他页面 */
.cooperation-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.cooperation-image {
    flex: 1;
}

.cooperation-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.cooperation-text {
    flex: 1;
}

.cooperation-text h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.cooperation-text p {
    font-size: 16px;
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

.cooperation-text ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.cooperation-text li {
    font-size: 16px;
    color: var(--gray-color);
    margin-bottom: 10px;
    line-height: 1.6;
}

/* 页脚部分 */
.footer {
    background-color: #222;
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-section p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ccc;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #999;
}

/* 响应式设计 */
@media screen and (max-width: 992px) {
    .hero-content h1 {
        font-size: 42px;
    }
    
    .hero {
        padding: 100px 0 50px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stat {
        min-width: 100px;
        padding: 15px;
    }
    
    .about-content,
    .cooperation-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-text,
    .cooperation-text {
        order: 2;
    }
    
    .about-image,
    .cooperation-image {
        order: 1;
    }
    
    .contact-content,
    .contact-sections {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-flow {
        margin-bottom: 20px;
    }
    
    .process-step {
        margin-bottom: 20px;
    }
    
    .cooperation-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .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;
    }
    
    .nav-item {
        margin: 10px 0;
    }
    
    .hamburger {
        display: block;
        cursor: pointer;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
    
    .about-stats {
        justify-content: space-around;
    }
    
    .stat-item {
        margin-right: 0;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 0 30px;
    }
    
    .hero-content h1 {
        font-size: 30px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cooperation-grid {
        grid-template-columns: 1fr;
    }
    
    .cooperation-cta {
        padding: 30px 20px;
    }
    
    .contact-cards {
        gap: 15px;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form {
        padding: 20px;
    }
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 页面加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}