html {
    scroll-behavior: smooth;  /* 添加平滑滚动效果 */
}

/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
}

/*.container {*/
/*    padding: 20px;*/
/*    background-color: #ffffff;*/
/*    border-radius: 8px;*/
/*    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/
/*    margin-bottom: 80px; !* 为悬浮广告留出空间 *!*/
/*}*/

.container {
    /*max-width: 800px;*/
    width: 100%;
    margin: 0 auto;
    /*padding: 20px;*/
}

.header {
    text-align: center;
    margin-bottom: 10px;
}

.logo {
    width: 95px;
    height: 95px;
    border-radius: 20px;
    margin: 0 auto;
    background-color: #2196F3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.3);
}

.title {
    font-size: 28px;
    margin: 15px 0;
    color: #1565C0;
}

.subtitle {
    font-size: 16px;
    color: #546E7A;
    margin-bottom: 2%;
}

.ad-banner-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/*.ad-banner {*/
/*    background-color: #fff;*/
/*    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);*/
/*    padding: 5px 0;*/
/*    position: relative;*/
/*}*/

.ad-close-btn {
    position: absolute;
    top: -25px;
    right: 5px;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 18px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    z-index: 1001;
}

.ad-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.image-container {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #2196F3;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: #1565C0;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* 微信提示样式 */
.wxTip {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
}

.wxTip .test {
    display: flex;
    justify-content: flex-end;
    padding: 20px 5%;
}

.wxTip .test img {
    width: 200px;
    height: auto;
    margin-top: 20px;
    margin-right: 20px;
}

/* 主页分类样式 */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 10px 0;
}

.category-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-icon {
    height: 140px;
    background-color: #2196F3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 50px;
}

.category-content {
    padding: 20px;
}

.category-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1565C0;
}

.category-desc {
    font-size: 18px;
    color: #666;
    line-height: 1.5;
}

.category-count {
    display: inline-block;
    background-color: #E3F2FD;
    color: #1565C0;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    margin-top: 10px;
    float: left; /* 添加这行 */
}


/* 介绍部分样式 */
.intro-section {
    text-align: center;
    margin-bottom: 5px;
}

.intro-title {
    font-size: 28px;
    color: #1565C0;
    margin-bottom: 10px;
}

.intro-desc {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Tutorial页面样式 */
.tutorial-header {
    margin-bottom: 30px;
}

.header-nav {
    padding: 0 20px;
    margin-bottom: 20px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #f0f8ff;
    color: #2196F3;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid #e3f2fd;
}

.nav-link:hover {
    background-color: #2196F3;
    color: white;
    transform: translateY(-1px);
}

.nav-icon {
    font-size: 16px;
}

.tutorial-title-section {
    text-align: center;
    padding: 0 20px;
}

.tutorial-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

.tutorial-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.tutorial-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.tutorial-stats .stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #FF9800;
}

.tutorial-stats .stat-label {
    font-size: 12px;
    color: #666;
}

.tutorial-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    padding: 0 20px;
    margin-bottom: 30px;
}

.tutorial-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.tutorial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tutorial-card:hover::before {
    transform: scaleX(1);
}

.tutorial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.tutorial-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tutorial-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.tutorial-type {
    background-color: #fff3e0;
    color: #FF9800;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tutorial-card-content {
    text-align: center;
}

.tutorial-icon-large {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.tutorial-card .tutorial-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.tutorial-card .tutorial-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.tutorial-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
}

.feature-tag {
    background-color: #f8f9fa;
    color: #555;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    border: 1px solid #e9ecef;
    font-weight: 500;
}

.tutorial-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 160px;
    justify-content: center;
}

.tutorial-btn.primary {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.tutorial-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.tutorial-btn.secondary {
    background-color: #f8f9fa;
    color: #333;
    border: 2px solid #e9ecef;
}

.tutorial-btn.secondary:hover {
    border-color: #FF9800;
    background-color: #fff3e0;
    color: #FF9800;
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 16px;
}

/* Customer Service页面样式 */
.service-header {
    margin-bottom: 30px;
}

.service-title-section {
    text-align: center;
    padding: 0 20px;
}

.service-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.service-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.service-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.service-stats .stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #4CAF50;
}

.service-stats .stat-label {
    font-size: 12px;
    color: #666;
}

.service-showcase {
    padding: 0 20px;
    margin-bottom: 30px;
}

.service-welcome {
    margin-bottom: 30px;
}

.welcome-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.welcome-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.welcome-card h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.welcome-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.service-option {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    text-align: center;
}

.service-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.option-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.option-content h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.option-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.option-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid #e9ecef;
}

.option-btn:hover {
    background-color: #e9ecef;
    transform: translateY(-1px);
}

.option-btn.primary {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: white;
    border-color: #4CAF50;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.option-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.phone-display {
    font-size: 20px;
    font-weight: bold;
    color: #4CAF50;
    background-color: #e8f5e8;
    padding: 12px 20px;
    border-radius: 25px;
    margin-top: 15px;
    display: inline-block;
    border: 2px solid #c8e6c9;
}

.service-promise {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid #f0f0f0;
}

.promise-header h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.promise-header p {
    font-size: 16px;
    color: #666;
    margin-bottom: 0;
}

/* 返回按钮样式 */
.back-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background-color: #E3F2FD;
    color: #1565C0;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.back-btn:hover {
    background-color: #BBDEFB;
}

.back-btn:before {
    content: "←";
    margin-right: 5px;
}


/* 客服页面样式 */
.service-banner {
    /*background-color: #1565C0;*/
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
}

.service-title {
    font-size: 20px;
    margin: 0;
}

.service-content {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.service-message {
    margin-bottom: 25px;
}

.greeting {
    font-weight: bold;
    margin-bottom: 10px;
}

.message-text {
    line-height: 1.6;
    color: #555;
    text-indent: 2em;
}

.service-buttons {
    text-align: center;
    margin: 25px 0;
}

.service-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #2196F3;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s;
    margin: 10px 0;
}

.service-btn:hover {
    background-color: #1565C0;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.service-contact {
    text-align: center;
    margin-top: 20px;
}

.service-contact p {
    margin: 15px 0;
    line-height: 1.6;
    color: #555;
}

.phone-number {
    font-size: 28px;
    font-weight: bold;
    color: #1565C0;
    margin: 15px 0;
    padding: 10px;
    background-color: #E3F2FD;
    border-radius: 5px;
    display: inline-block;
}

.thank-note {
    font-style: italic;
    margin-top: 20px;
    color: #666;
}

.service-commitment {
    margin: 30px 0;
}

.commitment-title {
    text-align: center;
    font-size: 24px;
    color: #1565C0;
    margin-bottom: 20px;
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.commitment-item {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.commitment-item:hover {
    transform: translateY(-5px);
}

.commitment-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.commitment-item h4 {
    font-size: 18px;
    color: #1565C0;
    margin-bottom: 10px;
}

.commitment-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}


/* 客服入口样式 */
.service-entry {
    margin: 10px 0;
}

.service-link {
    display: flex;
    align-items: center;
    background-color: #E3F2FD;
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.service-link:hover {
    background-color: #BBDEFB;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 40px;
    margin-right: 20px;
}

.service-text h3 {
    font-size: 20px;
    color: #1565C0;
    margin: 0 0 5px 0;
}

.service-text p {
    font-size: 14px;
    color: #555;
    margin: 0;
}

/*下滑查看*/
.scroll-tip {
    text-align: center;
    margin: 20px 0;
    animation: bounce 2s infinite;
}

.scroll-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.scroll-text {
    color: #666;
    font-size: 14px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}


/*提醒用户点击观看*/
.click-tip {
    position: absolute;
    bottom: 5%;
    right: 5%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    opacity: 0.8;
    animation: pulse 2s infinite;
}

.category-card, .service-link {
    position: relative;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 鼠标悬停时的效果 */
.category-card:hover .click-tip,
.service-link:hover .click-tip {
    background: rgba(0, 0, 0, 0.8);
}

/*首页按钮*/
.view-btn {
    float: right;
    background: #2196F3;
    color: white;
    border: none;
    padding: 9px 20px;
    border-radius: 5px;
    margin-top: 5px; /* 修改这里，使用 margin auto 实现水平居中 */
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: auto;
    min-width: auto;
    max-width: none;
    display: block; /* 添加这行 */
}

.view-btn:hover {
    background: #1976D2;
    transform: scale(1.05);
}

.category-content {
    /*display: flex;  !* 取消注释 *!*/
    flex-direction: column;
    align-items: center;
}

/* 添加清除浮动 */
.category-content::after {
    content: '';
    display: table;
    clear: both;
}


/*客服悬浮效果*/
.float-customer-service {    /* 改名 */
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1000;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.float-service-icon {    /* 改名 */
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.float-service-text {    /* 改名 */
    margin-top: 5px;
    text-align: center;
    color: black;
    font-size: 50px;
    font-weight: 1000;
    letter-spacing: 2px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .float-service-icon {    /* 改名 */
        width: 60px;
        height: 60px;
    }

    .float-service-text {    /* 改名 */
        font-size: 10px;
    }
}

/* Cookie提示样式 */
.cookie-notice {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff3cd;
    color: #856404;
    padding: 10px 40px 10px 20px;
    z-index: 3000;
    text-align: center;
    font-size: 14px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-notice-text {
    margin: 0;
}

.cookie-notice-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #856404;
    padding: 0;
}

