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

body {
    font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding-top: 70px; /* 为固定导航栏留出空间 */
}

a {
    color: #337ab7;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover, a:focus {
    color: #23527c;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

ul, ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

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

/* 通用样式类 */
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.text-center { text-align: center; }
.bg-light { background-color: #f8f9fa; }

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 8px 20px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 12px 30px;
    font-size: 18px;
    border-radius: 6px;
}

.btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-primary:hover {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}

.btn-success {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.btn-success:hover {
    color: #fff;
    background-color: #449d44;
    border-color: #398439;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn-default:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

/* 导航栏样式 */
.navbar {
    min-height: 70px;
    margin-bottom: 0;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    height: 70px;
    padding: 20px 15px;
    font-size: 20px;
}

.navbar-brand small {
    display: block;
    font-size: 12px;
    color: #777;
}

.navbar-toggle {
    margin-top: 18px;
    margin-bottom: 18px;
}

.navbar-nav > li > a {
    padding-top: 25px;
    padding-bottom: 25px;
    font-weight: 500;
}

.navbar-default .navbar-nav > li > a:hover {
    color: #337ab7;
}

/* 首页横幅样式 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 60px;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
}

.hero-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

.hero-section .lead {
    font-size: 18px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-buttons .btn {
    margin: 0 10px;
    min-width: 150px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #337ab7;
}

.section-header p {
    font-size: 18px;
    color: #777;
    margin-top: 20px;
}

/* 业务介绍样式 */
.services-section .service-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-section .service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 50px;
    color: #337ab7;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.service-item h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #337ab7;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.service-item ul {
    list-style: none;
    padding-left: 0;
}

.service-item ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.service-item ul li:last-child {
    border-bottom: none;
}

/* 平台优势样式 */
.features-section .feature-item {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
}

.feature-icon {
    font-size: 50px;
    color: #337ab7;
    margin-bottom: 20px;
    display: block;
}

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

.feature-item p {
    color: #666;
}

/* 下单流程样式 */
.process-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: #337ab7;
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.process-step h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.process-step p {
    color: #666;
}

/* 关于我们样式 */
.about-section {
    background-color: white;
}

.commitment-list {
    list-style: none;
    padding-left: 0;
}

.commitment-list li {
    padding: 10px 0;
    font-size: 16px;
    border-bottom: 1px solid #eee;
}

.commitment-list li:last-child {
    border-bottom: none;
}

.commitment-list li i {
    color: #5cb85c;
    margin-right: 10px;
}

/* 页脚样式 */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 30px;
}

.footer h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #337ab7;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #337ab7;
    padding-left: 5px;
}

.copyright {
    color: #95a5a6;
    font-size: 14px;
    margin-top: 20px;
}

.copyright a {
    color: #bdc3c7;
}

.copyright a:hover {
    color: #337ab7;
}

.beian {
    margin-top: 10px;
}

.beian a {
    color: #95a5a6;
}

.beian a:hover {
    color: #337ab7;
}

/* 联系客服浮动按钮 */
.contact-float {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
}

.contact-float a {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    text-align: center;
    line-height: 60px;
    font-size: 24px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.contact-float a:hover {
    transform: scale(1.1);
}

.qq-contact {
    background-color: #12b7f5;
}

.wechat-contact {
    background-color: #44b549;
}

/* 响应式设计 */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 36px;
    }
    
    .hero-section h2 {
        font-size: 20px;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .services-section .service-item,
    .features-section .feature-item,
    .process-step {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 50px;
    }
    
    .navbar-brand {
        height: 50px;
        padding: 15px;
        font-size: 18px;
    }
    
    .navbar-nav > li > a {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 28px;
    }
    
    .hero-section h2 {
        font-size: 18px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .cta-buttons .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
        max-width: 300px;
    }
    
    .contact-float {
        right: 15px;
        bottom: 15px;
    }
    
    .contact-float a {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 20px;
    }
}

/* 打印样式 */
@media print {
    .navbar,
    .contact-float,
    .cta-buttons {
        display: none !important;
    }
    
    body {
        padding-top: 0;
    }
}