/* 讯道云CRM网站样式文件 */

/* 全局样式 */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --border-color: #dee2e6;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 导航栏样式 */
.navbar {
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: rgba(255,255,255,0.8) !important;
}

.nav-link.active {
    color: #fff !important;
    font-weight: 600;
}

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0099ff 100%);
    box-shadow: var(--shadow);
}

.page-header h1 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0099ff 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 56px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons .btn {
    margin: 0 10px;
    min-width: 160px;
}

/* 章节标题 */
.section-title {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* 产品卡片 */
.product-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.product-card h3 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.product-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* 优势项目 */
.advantage-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateX(5px);
}

.advantage-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.advantage-item p {
    color: #666;
    margin: 0;
}

/* 行业卡片 */
.industry-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.industry-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.industry-card p {
    color: #666;
    margin: 0;
}

/* 特征卡片 */
.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.feature-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

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

/* 优势项目（居中） */
.advantage-item.text-center {
    border-left: none;
    border-top: 4px solid var(--primary-color);
}

.advantage-icon, .benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-item.text-center h4,
.benefit-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.advantage-item.text-center p,
.benefit-item p {
    color: #666;
    margin: 0;
}

/* 用例卡片 */
.use-case-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--success-color);
    height: 100%;
}

.use-case-card h4 {
    color: var(--success-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.use-case-card p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* FAQ项目 */
.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--info-color);
}

.faq-item h4 {
    color: var(--info-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.faq-item p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* 解决方案样式 */
.solution-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.solution-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.solution-content h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.solution-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.solution-content ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: #555;
}

.solution-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.solution-benefit {
    color: var(--success-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.solution-illustration {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.feature-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0.25rem;
}

.industry-badge {
    display: inline-block;
    background: var(--light-color);
    color: var(--dark-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.industry-badge:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* 关于我们样式 */
.company-intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.vision-card, .mission-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
}

.vision-card {
    border-top: 4px solid var(--primary-color);
}

.mission-card {
    border-top: 4px solid var(--success-color);
}

.value-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.value-card p {
    color: #666;
    margin: 0;
}

.philosophy-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    border-left: 4px solid var(--warning-color);
}

.philosophy-item h4 {
    color: var(--warning-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.philosophy-item p {
    color: #666;
    margin: 0;
}

.timeline-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* 联系我们样式 */
.contact-form-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form-card h3 {
    color: var(--primary-color);
    font-weight: 700;
}

.contact-info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.contact-info-card h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h5 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.service-features {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
}

.service-features h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-features ul li {
    color: #555;
    margin-bottom: 0.5rem;
}

.why-choose-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.why-choose-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.why-choose-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.why-choose-item p {
    color: #666;
    margin: 0;
}

/* 流程步骤 */
.process-step {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

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

/* 消息类型卡片 */
.message-type-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 4px solid var(--info-color);
    height: 100%;
}

.message-type-card h4 {
    color: var(--info-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.message-type-card p {
    color: #666;
    margin: 0;
}

/* 页脚 */
footer {
    background: var(--dark-color);
    color: white;
}

footer a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }

    .section-title::after {
        width: 40px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* 表单样式 */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* 按钮样式 */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

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

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

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