/* ========================================
   QUNHUI Solution Page Styles
   参考华为云设计风格
   ======================================== */

/* Hero Section */
.sol-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.sol-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.sol-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    opacity: 0.9;
}

.sol-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 60%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.sol-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    color: #fff;
}

.sol-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: 24px;
    border: 1px solid rgba(255,255,255,0.3);
}

.sol-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.sol-text-gradient {
    background: linear-gradient(90deg, #fff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sol-hero-content p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 70%;
}

.sol-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;
}

/* Tabs Section */
.sol-tabs-section {
    padding: 60px 0 40px;
    background: #fff;
}

.sol-tabs-header {
    display: flex;
    justify-content: center;
    gap: 8px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0;
}

.sol-tab-btn {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.sol-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--zs-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.sol-tab-btn:hover {
    color: var(--zs-primary);
}

.sol-tab-btn.active {
    color: var(--zs-primary);
    font-weight: 600;
}

.sol-tab-btn.active::after {
    transform: scaleX(1);
}

/* Carousel Section */
.sol-carousel-section {
    padding: 40px 0 80px;
    background: #fff;
    overflow: hidden;
}

.sol-carousel-wrapper {
    position: relative;
    padding: 0 60px;
}

.sol-carousel-container {
    overflow: hidden;
}

.sol-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
}

/* Solution Cards */
.sol-card {
    flex: 0 0 calc(25% - 18px);
    min-width: 280px;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.sol-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.sol-card-blue {
    background: linear-gradient(180deg, #1e3a8a 0%, #3b82f6 100%);
}

.sol-card-dark {
    background: linear-gradient(180deg, #1f2937 0%, #374151 100%);
}

.sol-card-gradient {
    background: linear-gradient(180deg, #0891b2 0%, #06b6d4 100%);
}

.sol-card-teal {
    background: linear-gradient(180deg, #0d9488 0%, #14b8a6 100%);
}

.sol-card-purple {
    background: linear-gradient(180deg, #7c3aed 0%, #a78bfa 100%);
}

.sol-card-content {
    padding: 28px 24px 20px;
    color: #fff;
    flex: 1;
}

.sol-card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.sol-card-content p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin-bottom: 16px;
}

.sol-card-features {
    list-style: none;
}

.sol-card-features li {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.75);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.sol-card-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgba(255,255,255,0.5);
}

.sol-card-img {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.sol-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sol-card:hover .sol-card-img img {
    transform: scale(1.08);
}

.sol-card-link {
    position: absolute;
    bottom: 20px;
    left: 24px;
    color: rgba(255,255,255,0.9);
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.sol-card:hover .sol-card-link {
    opacity: 1;
    transform: translateY(0);
}

/* Carousel Arrows */
.sol-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sol-carousel-arrow:hover {
    background: var(--zs-primary);
    border-color: var(--zs-primary);
}

.sol-carousel-arrow:hover svg {
    fill: #fff;
}

.sol-carousel-arrow svg {
    width: 24px;
    height: 24px;
    fill: #333;
    transition: fill 0.3s ease;
}

.sol-carousel-prev {
    left: 0;
}

.sol-carousel-next {
    right: 0;
}

.sol-carousel-footer {
    text-align: center;
    margin-top: 40px;
}

.sol-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--zs-primary);
    font-weight: 500;
    font-size: 1rem;
}

.sol-view-all svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.sol-view-all:hover svg {
    transform: translateX(4px);
}


/* Featured Section */
.sol-featured {
    padding: 100px 0;
    background: var(--zs-bg-light);
}

.sol-section-title {
    text-align: center;
    margin-bottom: 60px;
}

.sol-section-title h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.sol-section-title p {
    font-size: 1.125rem;
    color: var(--zs-text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.sol-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.sol-featured-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);
}

.sol-featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.sol-featured-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.sol-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sol-featured-card:hover .sol-featured-img img {
    transform: scale(1.08);
}

.sol-featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.3) 100%);
}

.sol-featured-content {
    padding: 28px;
}

.sol-featured-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--zs-primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
}

.sol-featured-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--zs-text-dark);
}

.sol-featured-content p {
    font-size: 0.9375rem;
    color: var(--zs-text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.sol-featured-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--zs-primary);
    font-weight: 600;
    font-size: 0.9375rem;
}

.sol-featured-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.sol-featured-link:hover svg {
    transform: translateX(4px);
}

/* Showcase Section */
.sol-showcase {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.sol-showcase-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.sol-showcase-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 30%, #fcd34d 60%, #fbbf24 100%);
    opacity: 0.4;
}

.sol-showcase-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.sol-showcase-left {
    flex: 0 0 auto;
    max-width: 500px;
}

.sol-showcase-left h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--zs-text-dark);
}

.sol-showcase-right {
    flex: 0 0 auto;
    position: relative;
    width: 500px;
    height: 450px;
}

.sol-showcase-left p {
    font-size: 1.125rem;
    color: var(--zs-text-gray);
    margin-bottom: 32px;
    line-height: 1.7;
}

.sol-showcase-btns {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sol-showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: #fff;
    border-radius: var(--zs-radius-sm);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.sol-showcase-link:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateX(4px);
}

.sol-showcase-link span {
    font-size: 0.9375rem;
    color: var(--zs-text-dark);
    font-weight: 500;
}

.sol-showcase-link svg {
    width: 20px;
    height: 20px;
    fill: var(--zs-primary);
}

/* Floating Cards */
.sol-floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.sol-float-card {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
}

.sol-float-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sol-float-card:hover {
    transform: scale(1.05);
    z-index: 10;
}

.sol-float-1 {
    width: 200px;
    height: 260px;
    top: 0;
    left: 0;
    animation: float1 6s ease-in-out infinite;
}

.sol-float-2 {
    width: 180px;
    height: 220px;
    top: 40px;
    left: 220px;
    animation: float2 7s ease-in-out infinite;
}

.sol-float-3 {
    width: 220px;
    height: 280px;
    top: 120px;
    left: 80px;
    animation: float3 8s ease-in-out infinite;
    z-index: 5;
}

.sol-float-4 {
    width: 160px;
    height: 200px;
    top: 180px;
    left: 320px;
    animation: float4 6.5s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(3deg); }
    50% { transform: translateY(-20px) rotate(-1deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes float4 {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-18px) rotate(-2deg); }
}

/* Stats Section */
.sol-stats {
    padding: 80px 0;
    background: #fff;
}

.sol-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.sol-stat-item {
    text-align: center;
    padding: 32px 20px;
    border-radius: 16px;
    background: var(--zs-bg-light);
    transition: all 0.3s ease;
}

.sol-stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.sol-stat-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;
}

.sol-stat-icon svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.sol-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--zs-text-dark);
    display: inline;
}

.sol-stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--zs-primary);
    display: inline;
}

.sol-stat-label {
    font-size: 0.9375rem;
    color: var(--zs-text-gray);
    margin-top: 8px;
}

/* CTA Section */
.sol-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--zs-bg-dark) 0%, var(--zs-bg-dark-secondary) 100%);
}

.sol-cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.sol-cta-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.sol-cta-content p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    max-width: 100%;
    white-space: nowrap;
}

.sol-cta-btns {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.sol-cta-btns .zs-btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.sol-cta-btns .zs-btn-outline-light svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Animation Classes */
.sol-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sol-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
    .sol-card {
        flex: 0 0 calc(33.333% - 16px);
    }
    
    .sol-float-card {
        transform: scale(0.85);
    }
}

@media (max-width: 992px) {
    .sol-featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sol-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sol-showcase-wrapper {
        flex-direction: column;
    }
    
    .sol-showcase-left {
        max-width: 100%;
        text-align: center;
    }
    
    .sol-showcase-btns {
        justify-content: center;
    }
    
    .sol-showcase-right {
        width: 100%;
        height: 350px;
    }
    
    .sol-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .sol-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .sol-tabs-header {
        flex-wrap: wrap;
    }
    
    .sol-tab-btn {
        padding: 12px 20px;
        font-size: 0.875rem;
    }
    
    .sol-carousel-wrapper {
        padding: 0 20px;
    }
    
    .sol-carousel-arrow {
        width: 40px;
        height: 40px;
    }
    
    .sol-card {
        flex: 0 0 calc(100% - 40px);
        min-width: 260px;
    }
    
    .sol-featured-grid {
        grid-template-columns: 1fr;
    }
    
    .sol-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .sol-floating-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        height: auto;
    }
    
    .sol-float-card {
        position: relative;
        width: 100% !important;
        height: 180px !important;
        top: auto !important;
        left: auto !important;
        animation: none !important;
    }
    
    .sol-cta-btns {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .sol-hero-btns {
        flex-direction: column;
    }
    
    .sol-hero-btns .zs-btn {
        width: 100%;
    }
    
    .sol-stats-grid {
        grid-template-columns: 1fr;
    }
}
