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

/* 字体设置 */
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #555;
    line-height: 1.7;
    font-size: 16px;
}

/* 容器最大宽度 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 标题样式 */
h1 {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.3;
    color: #1A1A2E;
}

h2 {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
    color: #1A1A2E;
    margin-bottom: 20px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #1A1A2E;
}

/* 按钮样式 */
.button {
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

/* 主按钮样式 */
.cta-button {
    background-color: #2E8B57;
    color: white;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    margin: 20px 0;
}

.cta-button:hover {
    background-color: #1B5E20;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 大号按钮样式 */
.cta-button.large {
    padding: 16px 48px;
    font-size: 18px;
}

/* 次要按钮样式 */
.secondary-button {
    background-color: transparent;
    color: #2E8B57;
    border: 1px solid #2E8B57;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: #2E8B57;
    color: white;
}

/* 标签样式 */
.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin: 4px;
}

/* 橙色标签 */
.tag.orange {
    background-color: #FF8F00;
    color: white;
}

/* 绿色边框标签 */
.tag.green-border {
    background-color: transparent;
    border: 1px solid #2E8B57;
    color: #2E8B57;
}

/* 白色背景标签 */
.tag.white-bg {
    background-color: #FFFFFF;
    color: #2E8B57;
    border: 1px solid #E8F5E9;
}

/* 小标签 */
.tag.small {
    padding: 2px 8px;
    font-size: 11px;
}

/* 区块间距 */
.section {
    margin-bottom: 80px;
}

/* 头部导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 64px;
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-weight: bold;
    color: #2E8B57;
    font-size: 18px;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #1A1A2E;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #2E8B57;
}

.nav-button {
    background-color: #FF8F00;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background-color: #E67E00;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #1A1A2E;
    margin: 3px 0;
    transition: 0.3s;
}

/* Banner 主视觉区 */
.banner {
    background: linear-gradient(to bottom, #E8F5E9 0%, #FFFFFF 100%);
    padding: 80px 0;
    margin-top: 64px;
}

.banner-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.banner-title {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.3;
    color: #1A1A2E;
    margin-bottom: 20px;
}

.banner-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.banner-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
    gap: 10px;
}

.certifications {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.certification-card {
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    width: calc(33.333% - 12px);
    min-width: 180px;
}

.cert-icon {
    font-size: 20px;
    margin-right: 12px;
}

.cert-text {
    flex-grow: 1;
}

.cert-name {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A2E;
}

.cert-desc {
    font-size: 12px;
    color: #555;
}

.banner-buttons {
    margin-bottom: 40px;
}

.banner-note {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}

.banner-image-placeholder {
    width: 100%;
    height: 300px;
    background-color: #E8F5E9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2E8B57;
    font-weight: bold;
}

/* 为什么台球厅需要收银系统 */
.why-section {
    padding: 80px 0;
    background-color: #F7F8FA;
}

.section-title {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
    color: #1A1A2E;
    margin-bottom: 20px;
}

.section-description {
    font-size: 16px;
    color: #555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

.card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 30px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #1A1A2E;
    margin-bottom: 15px;
}

.card-content {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

/* 选型标准对比表 */
.comparison-section {
    padding: 80px 0;
}

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

.table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.comparison-table thead {
    background-color: #2E8B57;
    color: white;
}

.comparison-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

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

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

.highlight {
    color: #2E8B57;
    font-weight: 600;
}

.table-note {
    font-size: 14px;
    color: #555;
    text-align: center;
    margin-top: 20px;
}

/* 核心功能 */
.features-section {
    padding: 80px 0;
    background-color: #F7F8FA;
}

.feature-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 30px;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

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

.tags {
    margin-top: 20px;
}

/* 售后服务 */
.services-section {
    padding: 80px 0;
}

.service-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 30px;
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 36px;
    margin-bottom: 20px;
}

/* 客户案例 */
.cases-section {
    padding: 80px 0;
    background-color: #F7F8FA;
}

.case-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 30px;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.case-title {
    font-size: 20px;
    font-weight: 600;
    color: #2E8B57;
}

.case-tag {
    background-color: #E8F5E9;
    color: #2E8B57;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.case-pain {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.case-solution {
    margin-bottom: 20px;
    padding-left: 20px;
}

.case-solution li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.case-results {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.result-highlight {
    background: #FFF3E0;
    border-radius: 8px;
    padding: 12px 16px;
    text-align: center;
    display: inline-block;
    margin: 6px;
    min-width: 100px;
}

.result-number {
    font-size: 36px;
    font-weight: bold;
    color: #FF8F00;
    display: block;
}

.result-label {
    font-size: 13px;
    color: #555;
}

/* FAQ */
.faq-section {
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.faq-question {
    font-size: 18px;
    font-weight: bold;
    color: #2E8B57;
    margin-bottom: 15px;
}

.faq-answer {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

/* 免费体验转化区 */
.cta-section {
    background: linear-gradient(to bottom, #2E8B57 0%, #1B5E20 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.cta-note {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 20px;
}

.footer-info {
    margin-top: 40px;
    font-size: 14px;
    opacity: 0.8;
}

/* 响应式设计 */
@media screen and (max-width: 1199px) {
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .banner-title {
        font-size: 32px;
    }
    
    .banner-subtitle {
        font-size: 16px;
    }
    
    .certification-card {
        width: calc(50% - 12px);
    }
}

@media screen and (max-width: 767px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .section {
        margin-bottom: 48px;
    }
    
    .why-section, .features-section, .services-section, .cases-section, .comparison-section, .faq-section {
        padding: 48px 0;
    }
    
    .banner {
        padding: 60px 0;
        margin-top: 64px;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .banner-subtitle {
        font-size: 16px;
    }
    
    .banner-tags {
        flex-direction: column;
        align-items: center;
    }
    
    .certifications {
        flex-direction: column;
        align-items: center;
    }
    
    .certification-card {
        width: 100%;
        max-width: 300px;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .result-highlight {
        min-width: 80px;
    }
    
    .result-number {
        font-size: 30px;
    }
    
    .case-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .case-tag {
        margin-top: 10px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .banner-title {
        font-size: 24px;
    }
    
    .banner-subtitle {
        font-size: 14px;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .result-number {
        font-size: 24px;
    }
}