/* ========================================
   QUNHUI Solution Detail Page Styles
   ======================================== */

/* Hero Section */
.sd-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 0 80px;
}

.sd-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.sd-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(59, 130, 246, 0.8) 50%, rgba(147, 51, 234, 0.7) 100%);
}

.sd-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: #fff;
}

.sd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.875rem;
}

.sd-breadcrumb a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.sd-breadcrumb a:hover {
    color: #fff;
}

.sd-breadcrumb svg {
    width: 16px;
    height: 16px;
    fill: rgba(255,255,255,0.5);
}

.sd-breadcrumb span {
    color: #fff;
}

.sd-hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}

.sd-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.sd-text-gradient {
    background: linear-gradient(90deg, #fff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sd-hero-content p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 70%;
}

.sd-hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.zs-btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.zs-btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* Section Common Styles */
.sd-section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--zs-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
}

.sd-section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.sd-section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--zs-text-dark);
}

.sd-section-header p {
    font-size: 1.125rem;
    color: var(--zs-text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.sd-header-light h2 {
    color: #fff;
}

.sd-header-light p {
    color: rgba(255,255,255,0.8);
}

.sd-header-light .sd-section-tag {
    background: rgba(255,255,255,0.2);
    color: #fff;
}


/* Overview Section */
.sd-overview {
    padding: 100px 0;
    background: #fff;
}

.sd-overview-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
}

.sd-overview-content {
    flex: 1;
}

.sd-overview-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--zs-text-dark);
}

.sd-overview-content > p {
    font-size: 1.0625rem;
    color: var(--zs-text-gray);
    line-height: 1.8;
    margin-bottom: 40px;
}

.sd-overview-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.sd-feature-item {
    display: flex;
    gap: 16px;
}

.sd-feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--zs-primary) 0%, var(--zs-primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sd-feature-icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.sd-feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--zs-text-dark);
}

.sd-feature-text p {
    font-size: 0.875rem;
    color: var(--zs-text-gray);
    line-height: 1.5;
}

.sd-overview-image {
    flex: 0 0 480px;
    position: relative;
}

.sd-overview-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.sd-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--zs-primary) 0%, var(--zs-primary-light) 100%);
    color: #fff;
    padding: 20px 28px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

.sd-badge-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
}

.sd-badge-text {
    font-size: 0.8125rem;
    opacity: 0.9;
}

/* Products Section */
.sd-products {
    padding: 100px 0;
    background: var(--zs-bg-light);
}

.sd-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sd-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sd-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.sd-product-img {
    height: 200px;
    overflow: hidden;
}

.sd-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sd-product-card:hover .sd-product-img img {
    transform: scale(1.08);
}

.sd-product-content {
    padding: 24px;
}

.sd-product-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--zs-text-dark);
}

.sd-product-content > p {
    font-size: 0.875rem;
    color: var(--zs-text-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.sd-product-features {
    list-style: none;
    margin-bottom: 20px;
}

.sd-product-features li {
    font-size: 0.8125rem;
    color: var(--zs-text-gray);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.sd-product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--zs-primary);
    font-weight: 600;
}

.sd-product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--zs-primary);
    font-weight: 600;
    font-size: 0.875rem;
}

.sd-product-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.sd-product-link:hover svg {
    transform: translateX(4px);
}


/* Industries Section */
.sd-industries {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.sd-industries-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--zs-bg-dark) 0%, var(--zs-bg-dark-secondary) 100%);
}

.sd-industries-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sd-industry-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.sd-industry-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.sd-industry-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--zs-primary) 0%, var(--zs-primary-light) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sd-industry-icon svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.sd-industry-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.sd-industry-card p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

/* Process Section */
.sd-process {
    padding: 100px 0;
    background: #fff;
}

.sd-process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.sd-process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 80px;
    right: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--zs-primary) 0%, var(--zs-primary-light) 100%);
}

.sd-process-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.sd-step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--zs-primary) 0%, var(--zs-primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

.sd-step-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--zs-text-dark);
}

.sd-step-content p {
    font-size: 0.875rem;
    color: var(--zs-text-gray);
    line-height: 1.6;
    max-width: 200px;
    margin: 0 auto;
}

/* Cases Section */
.sd-cases {
    padding: 100px 0;
    background: var(--zs-bg-light);
}

.sd-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.sd-case-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    display: flex;
    transition: all 0.4s ease;
}

.sd-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.sd-case-img {
    flex: 0 0 280px;
    overflow: hidden;
}

.sd-case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sd-case-card:hover .sd-case-img img {
    transform: scale(1.05);
}

.sd-case-content {
    flex: 1;
    padding: 32px;
}

.sd-case-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--zs-primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 12px;
}

.sd-case-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--zs-text-dark);
}

.sd-case-content > p {
    font-size: 0.9375rem;
    color: var(--zs-text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.sd-case-stats {
    display: flex;
    gap: 32px;
}

.sd-case-stat {
    text-align: center;
}

.sd-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--zs-primary);
}

.sd-stat-label {
    font-size: 0.75rem;
    color: var(--zs-text-gray);
}


/* Related Solutions Section */
.sd-related {
    padding: 100px 0;
    background: #fff;
}

.sd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.sd-related-card {
    display: block;
    background: var(--zs-bg-light);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.sd-related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.sd-related-img {
    height: 200px;
    overflow: hidden;
}

.sd-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sd-related-card:hover .sd-related-img img {
    transform: scale(1.08);
}

.sd-related-content {
    padding: 24px;
}

.sd-related-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--zs-text-dark);
    transition: color 0.3s ease;
}

.sd-related-card:hover .sd-related-content h3 {
    color: var(--zs-primary);
}

.sd-related-content p {
    font-size: 0.875rem;
    color: var(--zs-text-gray);
}

/* CTA Section */
.sd-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--zs-bg-dark) 0%, var(--zs-bg-dark-secondary) 100%);
}

.sd-cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.sd-cta-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.sd-cta-content p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
}

.sd-cta-btns {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.sd-cta-btns .zs-btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.sd-cta-btns .zs-btn-outline-light svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Responsive */
@media (max-width: 1200px) {
    .sd-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sd-industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .sd-overview-image {
        flex: 0 0 400px;
    }
}

@media (max-width: 992px) {
    .sd-overview-wrapper {
        flex-direction: column;
        gap: 60px;
    }
    
    .sd-overview-image {
        flex: none;
        width: 100%;
        max-width: 500px;
    }
    
    .sd-industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sd-process-timeline {
        flex-direction: column;
        gap: 40px;
    }
    
    .sd-process-timeline::before {
        display: none;
    }
    
    .sd-process-step {
        display: flex;
        text-align: left;
        gap: 24px;
    }
    
    .sd-step-number {
        margin: 0;
        flex-shrink: 0;
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
    
    .sd-step-content p {
        max-width: none;
        margin: 0;
    }
    
    .sd-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .sd-case-card {
        flex-direction: column;
    }
    
    .sd-case-img {
        flex: none;
        height: 240px;
    }
    
    .sd-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sd-hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .sd-hero-content p {
        max-width: 100%;
    }
    
    .sd-hero-btns {
        flex-direction: column;
    }
    
    .sd-hero-btns .zs-btn {
        width: 100%;
        text-align: center;
    }
    
    .sd-breadcrumb {
        flex-wrap: wrap;
    }
    
    .sd-overview {
        padding: 60px 0;
    }
    
    .sd-overview-features {
        grid-template-columns: 1fr;
    }
    
    .sd-products {
        padding: 60px 0;
    }
    
    .sd-products-grid {
        grid-template-columns: 1fr;
    }
    
    .sd-industries {
        padding: 60px 0;
    }
    
    .sd-industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .sd-industry-card {
        padding: 24px 16px;
    }
    
    .sd-industry-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }
    
    .sd-industry-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .sd-process {
        padding: 60px 0;
    }
    
    .sd-cases {
        padding: 60px 0;
    }
    
    .sd-related {
        padding: 60px 0;
    }
    
    .sd-related-grid {
        grid-template-columns: 1fr;
    }
    
    .sd-cta {
        padding: 60px 0;
    }
    
    .sd-cta-btns {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .sd-cta-btns .zs-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .sd-section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .sd-hero {
        padding: 100px 0 40px;
    }
    
    .sd-industries-grid {
        grid-template-columns: 1fr;
    }
    
    .sd-case-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .sd-image-badge {
        right: 10px;
        bottom: -10px;
        padding: 16px 20px;
    }
    
    .sd-badge-number {
        font-size: 1.5rem;
    }
}
