/* POS机推广网站 - 公共样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 配色方案 */
    --primary: #1677FF;
    --primary-dark: #0D5FE8;
    --orange: #FF7D00;
    --orange-light: #FF9D33;
    --green: #00B42A;
    --green-light: #33D654;
    --dark: #1D2129;
    --gray-dark: #4E5969;
    --gray-light: #F2F3F5;
    --white: #FFFFFF;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
}

body {
    font-family: "微软雅黑", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    color: var(--gray-dark);
    background-color: var(--gray-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用标题 */
.section-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--dark);
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--gray-dark);
    text-align: center;
    margin-bottom: 30px;
}

/* 顶部栏 */
.top-bar {
    background: #0765b1;
    color: #accff8;
    text-align: center;
    padding: 8px 20px;
    font-size: 14px;
}

.top-bar a {
    color: #accff8;
    text-decoration: none;
}

/* 导航栏 */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #0765b1;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo span {
    color: var(--orange);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 14px;
    color: var(--dark);
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-orange {
    background: var(--orange);
    color: var(--white);
}

.btn-orange:hover {
    background: var(--orange-light);
}

.btn-green {
    background: var(--green);
    color: var(--white);
}

.btn-green:hover {
    background: var(--green-light);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* 卡片 */
.card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 20px;
    transition: all 0.3s;
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* 标签 */
.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.tag-orange {
    background: rgba(255, 125, 0, 0.1);
    color: var(--orange);
}

.tag-green {
    background: rgba(0, 180, 42, 0.1);
    color: var(--green);
}

.tag-blue {
    background: rgba(22, 119, 255, 0.1);
    color: var(--primary);
}

/* 优势区域 */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 0;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: var(--white);
}

.feature-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 13px;
    color: var(--gray-dark);
}

/* 产品展示 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* 产品链接卡片 */
.product-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.product-link-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 30px;
    background: #e5eff9;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    min-width: 300px;
}

.product-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-link-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.product-link-info h3 {
    font-size: 18px;
    color: #033c69;
    margin-bottom: 8px;
}

.product-link-info p {
    color: #666;
    font-size: 14px;
}

/* 产品分类 */
.product-categories {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}

.product-category {
    padding: 12px 30px;
    background: #fff;
    border-radius: 25px;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid #ddd;
}

.product-category:hover {
    background: #1677ff;
    color: #fff;
}

.product-category.active {
    background: #1677ff;
    color: #fff;
}

.product-card {
    text-align: center;
    background: #e5eff9;
}

.product-image {
    width: 200px;
    height: 200px;
    background: var(--gray-light);
    border-radius: 8px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 10px;
}

.product-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

/* 快速入口 */
.quick-entry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 30px 0;
}

.quick-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s;
}

.quick-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.quick-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

.quick-icon.orange {
    background: var(--orange);
}

.quick-icon.blue {
    background: var(--primary);
}

.quick-icon.green {
    background: var(--green);
}

.quick-info h3 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 5px;
}

.quick-info p {
    font-size: 12px;
    color: var(--gray-dark);
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* 页面标题区域 */
.page-header {
    background: #033c69;
    padding: 40px 0;
    text-align: center;
    color: #50b3fc;
}

.page-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #50b3fc;
}

.page-subtitle {
    font-size: 14px;
    color: #50b3fc;
}

/* 内容区域 */
.content-section {
    padding: 40px 0;
}

/* 问答列表 */
.faq-list {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.faq-item {
    border-bottom: 1px solid var(--gray-light);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--dark);
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--gray-light);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--gray-dark);
    line-height: 1.8;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* 资讯列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.news-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.news-date {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.news-date .day {
    font-size: 20px;
    font-weight: bold;
}

.news-date .month {
    font-size: 12px;
}

.news-content h3 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 8px;
}

.news-content p {
    font-size: 13px;
    color: var(--gray-dark);
    margin-bottom: 10px;
}

.news-content a {
    color: var(--primary);
    font-size: 13px;
}

/* 底部 */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}
.footer-links {
    text-align: center;
    padding: 15px 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

/* 产品对比表 */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.compare-table th,
.compare-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid var(--gray-light);
}

.compare-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: bold;
}

.compare-table th:first-child {
    background: var(--dark);
}

.compare-table tr:hover {
    background: var(--gray-light);
}

/* 资质展示 */
.qualifications {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.qualification-item {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.qualification-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.qualification-title {
    font-size: 14px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 5px;
}

.qualification-desc {
    font-size: 12px;
    color: var(--gray-dark);
}

/* 代理优势 */
.agent-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.benefit-item {
    text-align: center;
    padding: 25px 15px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: var(--white);
}

.benefit-title {
    font-size: 15px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 8px;
}

.benefit-desc {
    font-size: 12px;
    color: var(--gray-dark);
}

/* 流程步骤 */
.steps {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--gray-light);
}

.step-item {
    text-align: center;
    position: relative;
    flex: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 20px;
    font-weight: bold;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.step-title {
    font-size: 15px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 5px;
}

.step-desc {
    font-size: 12px;
    color: var(--gray-dark);
}

/* 响应式 */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .quick-entry {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .agent-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .qualifications {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
        gap: 30px;
    }

    .steps::before {
        display: none;
    }

    .news-item {
        flex-direction: column;
    }

    .compare-table {
        font-size: 12px;
    }

    .compare-table th,
    .compare-table td {
        padding: 10px 5px;
    }
}

@media screen and (max-width: 480px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-item {
        padding: 15px 10px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .feature-title {
        font-size: 14px;
    }

    .feature-desc {
        font-size: 12px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .agent-benefits {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 22px;
    }
}

/* 浮动电话按钮 */
.float-call {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: none;
}

.float-call-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF7D00, #FF9D33);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 125, 0, 0.4);
    cursor: pointer;
    text-decoration: none;
}

.float-call-btn span {
    font-size: 28px;
    color: #fff;
}

@media screen and (max-width: 768px) {
    .float-call {
        display: block;
    }
}
