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

:root {
    --primary-color: #2196F3;
    --secondary-color: #4CAF50;
    --accent-color: #FFC107;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --dark-gray: #666;
    --white: #ffffff;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* 头部导航样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
}

.hero-content {
    color: var(--white);
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background: var(--accent-color);
    border: none;
    border-radius: 50px;
    color: var(--text-color);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 特性区域样式 */
.features {
    padding: 5rem 2rem;
    background: var(--light-gray);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* 页脚样式 */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom .icp {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

/* 汉堡菜单动画效果 */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: var(--primary-color);
        color: var(--white);
        border-radius: 5px;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* 在现有的页脚样式中添加以下内容 */
.footer-list,
.footer-list li,
.footer-list li::before {
    display: none;
}

.footer-section p {
    margin-top: 1rem;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-section p:last-child {
    margin-top: 0.5rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

.social-icon {
    width: 24px;
    height: 24px;
}

/* 修改 footer-bottom 的 ICP 链接样式 */
.footer-bottom .icp a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-bottom .icp a:hover {
    opacity: 1;
}

/* 产品页面样式 */
.page-hero {
    height: 50vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    margin-top: 70px;
}

.products-section {
    padding: 5rem 2rem;
}

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

.product-card {
    display: flex;
    gap: 3rem;
    padding: 3rem;
    margin-bottom: 3rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-icon {
    flex-shrink: 0;
}

.product-content {
    flex: 1;
}

.product-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-features {
    list-style: none;
    margin-top: 1.5rem;
}

.product-features li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.product-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.advantages-section {
    background: var(--light-gray);
    padding: 5rem 2rem;
}

.advantages-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.advantage-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .product-card {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* 合作方案页面样式 */
.cooperation-section {
    padding: 5rem 2rem;
}

.cooperation-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.cooperation-intro h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.cooperation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.coop-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.coop-card:hover {
    transform: translateY(-5px);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.card-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.card-content {
    padding: 2rem;
    text-align: center;
}

.highlight {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.requirements-list {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.requirements-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.requirements-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.cooperation-process {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid var(--light-gray);
}

.cooperation-process h2 {
    margin-bottom: 3rem;
    font-size: 2rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step {
    position: relative;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 48px;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }

    .cooperation-intro {
        padding: 0 1rem;
    }

    .cooperation-cards {
        grid-template-columns: 1fr;
    }

    .step:not(:last-child)::after {
        display: none;
    }
}

/* 社群资讯页面样式 */
.community-section {
    padding: 5rem 2rem;
}

.community-benefits {
    text-align: center;
    margin-bottom: 5rem;
}

.community-benefits h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* 资讯卡片样式 */
.community-news {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--light-gray);
}

.community-news h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-content {
    padding: 2rem;
}

.news-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.news-date {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-excerpt {
    color: var(--text-color);
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .community-section {
        padding: 3rem 1rem;
    }
}

/* 联系我们页面样式 */
.contact-section {
    padding: 5rem 2rem;
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.contact-intro h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-intro p {
    color: var(--dark-gray);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: var(--secondary-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-form {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-group.full-width {
        grid-column: auto;
    }

    .contact-form-container {
        padding: 2rem 1.5rem;
    }
}

/* 修改合作流程的图标样式 */
.step-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

/* 移除原有的 step-number 样式 */
.step-number {
    display: none;
}

/* 优化步骤卡片样式 */
.step {
    position: relative;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

/* 添加步骤之间的连接线 */
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 48px;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

@media (max-width: 768px) {
    .step:not(:last-child)::after {
        display: none;
    }
} 