/* 全局样式 */
:root {
    --primary-color: #1890ff;
    --secondary-color: #f5f5f5;
    --text-color: #333;
    --light-text: #666;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* 头部样式 */
.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-size: 24px;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 15px;
    padding: 8px 0;
    white-space: nowrap;
}

.main-nav a.active,
.main-nav a:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* 轮播图样式 */
.banner {
    margin-top: 80px;
    height: 500px;
    overflow: hidden;
}

.slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide h2 {
    color: #fff;
    font-size: 48px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-left: 50px;
}

/* 服务特点样式 */
.features {
    padding: 80px 0;
    background: var(--secondary-color);
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

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

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #333;
}

.feature-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 服务特点响应式样式 */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .features {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .feature-item {
        padding: 25px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .feature-item h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .feature-item p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .features {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .feature-grid {
        padding: 0 15px;
    }

    .feature-item {
        padding: 20px;
    }
}

/* 页脚样式 */
.footer {
    background: #24292e;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-qrcode {
    text-align: center;
}

.footer-qrcode img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 在头部样式后添加英雄区样式 */
.hero {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    overflow: hidden;
    min-height: calc(100vh - 80px);
    margin-top: 80px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background-image: url('https://img.freepik.com/free-photo/spa-composition-with-towels-candle_23-2148290624.jpg');*/
    background-image: url('/images/banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.3;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 60px;
}


.hero-phone {
    flex: 0 0 320px;
    margin-left: -100px;
    margin-top: 40px;
}

.phone-frame {
    background: #fff;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-15deg);
    transition: all 0.3s ease;
}

.phone-screen {
    background: #000;
    border-radius: 25px;
    overflow: hidden;
    aspect-ratio: 9/19.5;
}

.hero-content {
    flex: 0 0 600px;
    padding-right: 40px;
    margin-top: 40px;
}

.hero-title {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.hero-subtitle {
    font-size: 32px;
    margin-bottom: 30px;
    line-height: 1.4;
    color: #fff;
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-description p {
    margin-bottom: 20px;
}

.download-btn {
    display: flex;
    gap: 40px;

    position: relative;
    cursor: pointer;
}

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

.download-btn:hover .tips {
    opacity: 1;
    transform: translateY(-60px);
}

.tips {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 1);
    color: #333;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-180px);
    transition: all 0.3s ease;
    text-align: center;
    user-select: none;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
}

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

.download-btn i {
    font-size: 20px;
}

/* 修改轮播图样式以适应手机屏幕 */
.slider {
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* 商户合作页面样式 */
.cooperation-hero {
    margin-top: 80px;
    height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.cooperation-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.cooperation-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/cooperation.png');
    background-size: cover;
    background-position: center;
    transform: translateZ(-1px) scale(2);
    z-index: 0;
}

.cooperation-header {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.green-tag {
    display: inline-block;
    background: #2ecc71;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 16px;
    animation: fadeInUp 1s ease;
}

.cooperation-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.cooperation-header .subtitle {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
}

/* 视差效果容器 */
.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://img.freepik.com/free-photo/business-partnership-success-concept_53876-167645.jpg');
    background-size: cover;
    background-position: center;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
}

.cooperation-form {
    position: relative;
    z-index: 1;
    padding: 60px 0;
    background: rgba(248, 249, 250, 0.95);
}

.form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.15);
}

.form-card h2 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.required {
    color: #ff4d4f;
    margin-left: 4px;
}

/* 表单输入框样式 */
.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e8e8e8 !important;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

.form-group input:hover,
.form-group select:hover {
    border-color: #2ecc71 !important;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #2ecc71 !important;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
    outline: none;
}

.phone-input {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.phone-input input {
    flex: 1;
}

.verify-btn {
    height: 44px;
    padding: 0 24px;
    background: #2ecc71;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.verify-btn:hover {
    background: #27ae60;
}

.verify-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.radio-group {
    display: flex;
    gap: 24px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* 单选框自定义样式 */
.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #e8e8e8 !important;
    border-radius: 50% !important;
    margin: 0;
    padding: 0;
    position: relative;
    cursor: pointer;
    background-color: #fff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-label input[type="radio"]:hover {
    border-color: #2ecc71 !important;
}

.radio-label input[type="radio"]:checked {
    border-color: #2ecc71 !important;
}

.radio-label input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #2ecc71;
    border-radius: 50%;
    animation: scaleIn 0.2s ease;
}

@keyframes scaleIn {
    from {
        transform: translate(-50%, -50%) scale(0);
    }
    to {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* 确保 radio 文字对齐 */
.radio-label span {
    font-size: 16px;
    color: #333;
    user-select: none;
}

.upload-area {
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    background: #fff;
}

.upload-area:hover {
    border-color: #2ecc71;
    background: rgba(46, 204, 113, 0.05);
}

.upload-area input[type="file"] {
    display: none;
}

.upload-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.upload-btn i {
    font-size: 36px;
    color: #2ecc71;
}

.upload-btn span {
    color: #333;
    font-size: 16px;
}

.upload-btn small {
    color: #999;
    font-size: 14px;
}

.submit-btn {
    width: 100%;
    height: 48px;
    background: #2ecc71;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    background: #27ae60;
    transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .cooperation-hero h1 {
        font-size: 36px;
    }

    .form-card {
        margin: 0 20px;
        padding: 30px 20px;
    }

    .phone-input {
        flex-direction: column;
    }

    .verify-btn {
        width: 100%;
        margin-top: 12px;
    }

    .radio-group {
        flex-direction: column;
        gap: 12px;
    }
}

/* 平台精选页面样式 */
.selection-hero {
    margin-top: 80px;
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/selection.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.selection-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 204, 113, 0.2);
    z-index: 1;
}

.selection-hero h1 {
    font-size: 56px;
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.subtitle {
    color: #ffffff;
    animation: fadeInUp 1s ease;
    font-size: 28px;
}

.news-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.news-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-item a {
    text-decoration: none;
    color: inherit;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.2);
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 30px;
}

.news-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #333;
    transition: color 0.3s ease;
}

.news-item:hover .news-content h3 {
    color: #2ecc71;
}

.news-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-description{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-date {
    color: #999;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.news-date::before {
    content: '\f073';
    font-family: 'Font Awesome 5 Free';
    margin-right: 8px;
    color: #2ecc71;
}

/* 分页组件样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap; /* 允许在移动端换行 */
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.pagination a:hover:not(.active):not(.disabled) {
    background: #2ecc71;
    color: #fff;
    border-color: #2ecc71;
}

.pagination a.active {
    background: #2ecc71;
    color: #fff;
    border-color: #2ecc71;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
}

.pagination .prev,
.pagination .next {
    padding: 0 20px;
}

.pagination a.disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    border-color: #e8e8e8;
}

/* 移动端分页样式 */
@media (max-width: 768px) {
    .pagination {
        gap: 8px;
        padding: 0 15px;
    }

    .pagination a {
        min-width: 36px;
        height: 36px;
        padding: 0 12px;
        font-size: 14px;
    }

    /* 在移动端隐藏部分页码 */
    .pagination .page-number:not(.active):not(:first-of-type):not(:last-of-type) {
        display: none;
    }

    /* 显示省略号 */
    .pagination .ellipsis {
        display: flex;
    }

    .pagination .prev,
    .pagination .next {
        padding: 0 15px;
    }

    /* 确保首页、末页、当前页、上一页和下一页始终显示 */
    .pagination a:first-child,
    .pagination a:last-child,
    .pagination a.active {
        display: flex;
    }
}

/* 超小屏幕设备的样式 */
@media (max-width: 480px) {
    .pagination {
        gap: 6px;
    }

    .pagination a {
        min-width: 32px;
        height: 32px;
        padding: 0 10px;
        font-size: 13px;
    }

    .pagination .prev,
    .pagination .next {
        padding: 0 12px;
    }

    /* 在超小屏幕上进一步简化分页 */
    .pagination .page-number {
        display: none;
    }

    .pagination .active {
        display: flex !important;
    }

    .pagination .prev,
    .pagination .next {
        display: flex;
    }
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .selection-hero h1 {
        font-size: 40px;
    }
}

/* 修改发展历程页面的样式 */
.history-hero {
    margin-top: 80px;
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/history.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
}

.history-hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.history-hero .subtitle {
    font-size: 28px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.timeline-section {
    padding: 80px 0;
    background: #fff;
    animation: fadeInUp 1s ease;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 时间轴垂直线 */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #2ecc71;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 100px;
    width: 100%;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* 左侧内容 */
.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 55%;
}

/* 右侧内容 */
.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

/* 内容框的箭头 */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 24px;
    width: 20px;
    height: 20px;
    background: #fff;
    transform: rotate(45deg);
    /*box-shadow: 2px -2px 8px rgba(0, 0, 0, 0.08);*/
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
}

.timeline-date {
    position: absolute;
    top: 20px;
    background: #2ecc71;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-date {
    left: calc(55% + 30px);
}

.timeline-item:nth-child(even) .timeline-date {
    right: calc(55% + 30px);
}

.timeline-dot {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border: 2px solid #2ecc71;
    border-radius: 50%;
    z-index: 2;
}

.timeline-content h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
}

.timeline-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* 移动端样式 */
@media (max-width: 768px) {
    .timeline::before {
        left: 0;
        margin-left: 35px;
    }

    .timeline-item {
        margin-bottom: 60px;
    }

    .timeline-content {
        width: calc(100% - 70px);
        margin-left: 70px !important;
        margin-right: 0 !important;
        padding: 20px;
    }

    .timeline-content::before {
        display: none; /* 移除箭头 */
    }

    .timeline-date {
        position: absolute;
        left: 0 !important;
        right: auto !important;
        top: 0;
        transform: translateY(-50%);
        padding: 4px 12px;
        font-size: 12px;
        background: #2ecc71;
        border-radius: 20px;
    }

    .timeline-dot {
        left: 35px;
        top: 0;
        transform: translateX(-50%);
        width: 10px;
        height: 10px;
    }

    .timeline-content {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }

    .timeline-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .timeline-content p {
        font-size: 14px;
        line-height: 1.6;
        color: #666;
    }
}

/* 超小屏幕设备的样式 */
@media (max-width: 480px) {
    .timeline {
        padding: 20px 15px;
    }

    .timeline::before {
        margin-left: 25px;
    }

    .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px !important;
        padding: 16px;
    }

    .timeline-dot {
        left: 25px;
        width: 8px;
        height: 8px;
    }

    .timeline-date {
        padding: 3px 10px;
        font-size: 11px;
    }

    .timeline-content h3 {
        font-size: 15px;
    }

    .timeline-content p {
        font-size: 13px;
    }
}

/* 关于我们页面样式 */
.about-hero {
    margin-top: 80px;
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/about.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 204, 113, 0.2);
    z-index: 1;
}

.about-hero h1 {
    font-size: 56px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
    color: #FFFFFF;
}

.about-intro {
    padding: 80px 0;
    background: #fff;
}

.intro-content {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 10px;
}

.intro-content .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.intro-flex {
    display: flex;
    gap: 40px;
    align-items: center;
}

.intro-text {
    flex: 1;
    line-height: 1.8;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-what {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-what h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 10px;
}

.about-what .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.what-content {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.8;
}

.what-content p {
    margin-bottom: 20px;
}

.about-features {
    padding: 80px 0;
    background: #fff;
}

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

.feature-card {
    padding: 40px;
    background: #fff;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #2ecc71;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.2);
}

.feature-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.feature-number {
    font-size: 48px;
    font-weight: bold;
    color: #2ecc71;
    opacity: 0.2;
    position: absolute;
    right: 20px;
    top: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-number {
    transform: scale(1.2);
    opacity: 0.3;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

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

.about-cities {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-cities p {
    max-width: 1000px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

.about-cities .contact {
    text-align: center;
    font-size: 20px;
    color: #2ecc71;
    margin-top: 40px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .intro-flex {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* 添加滚动动画效果 */
.intro-content, .what-content, .feature-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.intro-content.active, .what-content.active, .feature-card.active {
    opacity: 1;
    transform: translateY(0);
}

/* 表单卡片效果 */
.merchant-form {
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    transition: box-shadow 0.3s ease;
}

.merchant-form:hover {
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.15);
}

/* 输入框效果 */
.form-group input,
.form-group select {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

/* 上传区域效果 */
.upload-area {
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #2ecc71;
    background: rgba(46, 204, 113, 0.05);
}

.upload-btn i {
    transition: transform 0.3s ease;
}

.upload-area:hover .upload-btn i {
    transform: translateY(-3px);
}

/* 提交按钮效果 */
.submit-btn {
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* 单选按钮效果 */
.radio-label input[type="radio"] {
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked::before {
    transform: scale(1);
}

/* 添加滚动显示动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移动端特殊处理 */
@media (max-width: 768px) {
    .cooperation-hero {
        background-attachment: scroll;
    }
}

/* 首页地图背景区域 */
.map-section {
    position: relative;
    padding: 100px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.map-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.map-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.map-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.stat-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.15);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #2ecc71;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: #333;
}

.download-buttons2{
    display: none;
    margin-top: 40px;
    justify-content: center;
}

@media (max-width: 768px) {
    .map-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .map-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 80px 20px;
    }

    .hero-phone {
        margin-left: 0;
        margin-top: 60px;
        width: 320px;
    }

    .hero-content {
        padding-right: 0;
        margin-top: 0;
    }

    .download-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-phone {
        flex: 0 0 280px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;

        display: none;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }

    .download-buttons2{
        display: block;
    }
}

/* 移动端导航按钮 */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    padding: 10px;
}

/* 移动端导航样式 */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #eee;
    }

    .main-nav a:hover {
        background: #f8f9fa;
    }
}

/* 页脚响应式优化 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-info {
        order: 2;
    }

    .footer-qrcode {
        order: 1;
    }

    .footer-qrcode img {
        width: 160px;
        height: 160px;
    }
}

/* 文章详情页样式 */
.article-section {
    padding: 120px 0 60px;
    background: #f8f9fa;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.article-header {
    padding: 30px 40px;
    border-bottom: 1px solid #eee;
}

.article-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.article-meta {
    color: #666;
    font-size: 14px;
}

.article-meta span {
    margin-right: 20px;
}

.article-meta i {
    margin-right: 5px;
}

.article-cover {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 40px;
}

.article-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 24px;
    color: #333;
    margin: 30px 0 20px;
}

.article-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 10px;
}

.article-content blockquote {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #2ecc71;
    font-style: italic;
}

.article-footer {
    padding: 30px 40px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-tags .tag {
    display: inline-block;
    padding: 6px 12px;
    background: #f0f0f0;
    color: #666;
    border-radius: 20px;
    margin-right: 10px;
    font-size: 14px;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-btn {
    color: #666;
    font-size: 20px;
    transition: color 0.3s ease;
}

.share-btn:hover {
    color: #2ecc71;
}

/* 文章详情页响应式样式 */
@media (max-width: 768px) {
    .article-section {
        padding: 100px 15px 40px;
    }

    .article-container {
        border-radius: 12px;
    }

    .article-header {
        padding: 20px;
    }

    .article-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .article-cover {
        height: 250px;
    }

    .article-content {
        padding: 20px;
    }

    .article-content h2 {
        font-size: 20px;
        margin: 25px 0 15px;
    }

    .article-footer {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }

    .article-tags {
        margin-bottom: 10px;
    }
}

