/* style.css */
/* 基础重置和通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #eaeaea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    width: 220px;
    height: 130px;
    display: block;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.nav-menu li {
    margin-left: 28px;
}

.nav-menu a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 0;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1a5fb4;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1a5fb4;
}

.mobile-menu-btn {
    display: none;
    font-size: 22px;
    background: none;
    border: none;
    color: #1a5fb4;
    cursor: pointer;
    padding: 5px;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, #1a5fb4 0%, #2d8cda 100%);
    color: white;
    padding: 180px 0 100px;
    text-align: center;
    margin-top: 130px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.product-tag {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 10px 22px;
    font-size: 15px;
    transition: all 0.3s;
}

.product-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

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

.section-title {
    text-align: center;
    font-size: 32px;
    color: #1a5fb4;
    margin-bottom: 50px;
    font-weight: 700;
}

/* 特性卡片样式 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    text-align: center;
    border-top: 4px solid #1a5fb4;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a5fb4, #2d8cda);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 28px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #222;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* 产品卡片样式 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #eaeaea;
    transition: all 0.3s;
}

.product-card:hover {
    border-color: #2d8cda;
    transform: translateY(-5px);
}

.product-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 34px;
    color: white;
}

.d1-icon {
    background: linear-gradient(135deg, #2319dc, #4a8cff);
}

.bing-icon {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}

.product-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.product-features li {
    padding: 10px 0;
    border-bottom: 1px dashed #eaeaea;
    display: flex;
    align-items: center;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li i {
    color: #10b981;
    margin-right: 10px;
}

.product-btn {
    display: inline-block;
    background: linear-gradient(90deg, #1a5fb4, #2d8cda);
    color: white;
    padding: 12px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.product-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 95, 180, 0.3);
}

/* 立即访问区域样式 */
.immediate-access {
    background: linear-gradient(135deg, #1a5fb4, #2d8cda);
    color: white;
    border-radius: 12px;
    padding: 50px 40px;
    text-align: center;
    margin: 60px 0;
}

.access-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.step {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    width: 200px;
    text-align: center;
    transition: transform 0.3s;
}

.step:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.step-number {
    width: 50px;
    height: 50px;
    background: white;
    color: #1a5fb4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    margin: 0 auto 15px;
}

/* 用户反馈样式 */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    transition: transform 0.3s;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1a5fb4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

/* 案例研究样式 */
.case-studies {
    background: #f8fafc;
    border-radius: 12px;
    padding: 40px;
    margin-top: 40px;
}

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

.case-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border-left: 4px solid #10b981;
    transition: transform 0.3s;
}

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

.case-item h4 {
    color: #1a5fb4;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 页脚样式 */
.footer {
    background-color: #1e293b;
    color: white;
    padding: 70px 0 30px;
}

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

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 25px;
}

.footer-section p,
.footer-section a {
    color: #cbd5e1;
    margin-bottom: 12px;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fbbf24;
}

.footer-section i {
    margin-right: 8px;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 14px;
}

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

/* 响应式设计 */
@media (max-width: 1100px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 130px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: white;
        padding: 20px 0;
        z-index: 999;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .logo {
        width: 180px;
        height: 106px;
    }
    
    .hero {
        padding: 140px 0 80px;
        margin-top: 106px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        padding: 0 10px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
        padding: 0 10px;
    }
    
    .product-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .access-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        width: 100%;
        max-width: 300px;
    }
    
    .immediate-access {
        padding: 40px 20px;
        margin: 40px 0;
    }
    
    .case-studies {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }
    
    .product-tag {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .product-card,
    .feature-card {
        padding: 25px 20px;
    }
    
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
}


/* FAQ样式 */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background-color: #fff;
    border: none;
    border-bottom: 1px solid #eaeaea;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question.active {
    background-color: #f0f7ff;
    border-bottom: 1px solid #4dabf7;
}

.faq-question span {
    flex: 1;
    margin-right: 16px;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #666;
}

.faq-question.active i {
    transform: rotate(180deg);
    color: #1890ff;
}

.faq-answer {
    background-color: #fff;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    max-height: 0;
}

.faq-answer.show {
    max-height: 1000px; /* 足够大的值容纳内容 */
}

.faq-answer p,
.faq-answer ul,
.faq-answer table {
    margin: 0;
    padding: 0;
}

.faq-answer > p,
.faq-answer > ul {
    padding: 24px;
    padding-top: 16px;
}

.faq-answer ul {
    padding-left: 20px;
    margin-top: 8px;
}

.faq-answer li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* 表格样式 */
.table-responsive {
    overflow-x: auto;
    margin: 16px 24px;
    border-radius: 4px;
    border: 1px solid #eaeaea;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table caption {
    caption-side: bottom;
    padding: 8px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.comparison-table th,
.comparison-table td {
    padding: 12px 16px;
    border: 1px solid #eaeaea;
    text-align: left;
}

.comparison-table thead {
    background-color: #f5f5f5;
}

.comparison-table th {
    font-weight: 600;
    color: #333;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.comparison-table tbody tr:hover {
    background-color: #f0f7ff;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .faq-question {
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .faq-answer > p,
    .faq-answer > ul {
        padding: 20px;
        padding-top: 12px;
    }
    
    .table-responsive {
        margin: 12px 20px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px 12px;
        font-size: 14px;
    }
}


.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
}