/* 商合道(成都)数字科技 - 自定义样式 */

/* 全局样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    padding-top: 70px;
}

/* 导航栏样式 */
.navbar-brand {
    font-weight: bold;
    font-size: 1.3rem;
}

/* 轮播图样式 */
.hero-section {
    margin-top: 0;
}

.carousel-item {
    height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.carousel-item:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.carousel-item:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.carousel-overlay .container {
    width: 100%;
}

/* 页面标题样式 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

/* 图标框样式 */
.icon-box {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

/* 服务卡片样式 */
.service-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* 联系卡片样式 */
.contact-card {
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* 产品卡片样式 */
.product-card {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* 优势图标样式 */
.advantage-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
}

/* 应用卡片样式 */
.app-card {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.app-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.app-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto;
}

/* 协议内容样式 */
.agreement-content {
    line-height: 1.8;
}

.agreement-content h3 {
    color: #333;
    font-weight: bold;
    border-bottom: 2px solid #0d6efd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.agreement-content h5 {
    color: #555;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}

.agreement-content ul {
    padding-left: 20px;
}

.agreement-content li {
    margin-bottom: 8px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-item h1 {
        font-size: 1.8rem;
    }
    
    .carousel-item p {
        font-size: 1rem;
    }
    
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .app-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .app-card .col-md-2 {
        margin-bottom: 20px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 链接样式 */
a {
    transition: color 0.3s ease;
}

a:hover {
    color: #0d6efd;
}

/* 卡片悬停效果 */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* 按钮样式 */
.btn {
    border-radius: 5px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 徽章样式 */
.badge {
    padding: 8px 15px;
    font-weight: normal;
    border-radius: 20px;
}

/* 页脚链接样式 */
footer a:hover {
    color: white !important;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
