/* 海豚软件官网样式 */

:root {
    --primary-color: #0d6efd;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --dark-color: #212529;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding-top: 56px;
}

/* Navigation */
#mainNav {
    background-color: var(--dark-color);
    transition: background-color 0.3s ease;
}

#mainNav .navbar-brand {
    font-size: 1.25rem;
}

.navbar-toggler-text {
    font-size: 0.875rem;
    margin-right: 0.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-desc {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-stats {
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero-image {
    font-size: 10rem;
    opacity: 0.3;
}

/* Section Headings */
.section-heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subheading {
    font-size: 1.125rem;
    font-weight: 300;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 0.5rem 2rem rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.feature-list li {
    padding: 0.25rem 0;
}

/* Advantage Items */
.advantage-item {
    padding: 1.5rem;
}

.advantage-icon {
    font-size: 2.5rem;
}

/* Case Cards */
.case-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 2rem rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.case-body {
    padding: 1.5rem;
}

.case-tag {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

.timeline:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    margin-left: -1.5px;
    content: "";
    background-color: #e9ecef;
}

.timeline > li {
    position: relative;
    min-height: 50px;
    margin-bottom: 50px;
}

.timeline > li:after,
.timeline > li:before {
    display: table;
    content: " ";
}

.timeline > li:after {
    clear: both;
}

.timeline > li .timeline-panel {
    position: relative;
    float: right;
    width: 100%;
    padding: 0 20px 0 100px;
    text-align: left;
}

.timeline > li .timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
}

.timeline > li .timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
}

.timeline > li .timeline-image {
    position: absolute;
    z-index: 100;
    left: 0;
    width: 80px;
    height: 80px;
    margin-left: 0;
    text-align: center;
    color: white;
    border: 4px solid #e9ecef;
    border-radius: 100%;
    background-color: var(--primary-color);
}

.timeline > li .timeline-image h4 {
    font-size: 1rem;
    margin-top: 24px;
    line-height: 1.5;
}

.timeline > li.timeline-inverted .timeline-panel {
    float: right;
    padding: 0 100px 0 20px;
    text-align: left;
}

.timeline > li:last-child {
    margin-bottom: 0;
}

.timeline .timeline-heading h5 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.timeline .timeline-heading h6.subheading {
    font-size: 0.875rem;
    font-weight: 400;
    color: #6c757d;
}

/* Product Hero */
.product-hero {
    padding-top: 100px;
}

.product-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Workflow Steps */
.workflow-step {
    padding: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 2rem rgba(0,0,0,0.1);
}

.feature-icon {
    flex-shrink: 0;
}

/* Case Detail Cards */
.case-detail-card {
    transition: transform 0.3s ease;
}

.case-detail-card:hover {
    transform: translateY(-3px);
}

/* Buttons */
.btn-xl {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 0.5rem;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.btn-social {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .timeline > li .timeline-panel {
        padding: 0 20px 0 90px;
    }
    
    .timeline > li .timeline-image {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .stat-num {
        font-size: 2rem;
    }
    
    .timeline > li .timeline-panel {
        padding: 0 0 0 80px;
        text-align: center;
    }
    
    .timeline > li .timeline-image {
        left: 50%;
        margin-left: -40px;
    }
    
    .timeline > li.timeline-inverted .timeline-panel {
        padding: 0 0 0 80px;
    }
}

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

/* Utility Classes */
.bg-primary { background-color: var(--primary-color) !important; }
.bg-success { background-color: var(--success-color) !important; }
.bg-info { background-color: var(--info-color) !important; }
.text-primary { color: var(--primary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-info { color: var(--info-color) !important; }
.btn-primary { background-color: var(--primary-color); border-color: var(--primary-color); }
.btn-success { background-color: var(--success-color); border-color: var(--success-color); }
.btn-info { background-color: var(--info-color); border-color: var(--info-color); }
.btn-outline-primary { color: var(--primary-color); border-color: var(--primary-color); }
.btn-outline-success { color: var(--success-color); border-color: var(--success-color); }
.btn-outline-info { color: var(--info-color); border-color: var(--info-color); }
