﻿:root {
    --sidebar-bg: #fafbfc;
    --sidebar-active: #e6f7ff;
    --border-color: #e8e8e8;
}

body {
    background: #f8fafc;
}

/* Main Content Layout */
.solutions-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Sidebar */
.solutions-sidebar {
    width: 280px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 24px 0;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox - 隐藏滚动条但保持滚动功能 */
    -ms-overflow-style: none; /* IE and Edge */
}

.solutions-sidebar::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera - 隐藏滚动条但保持滚动功能 */
}

.sidebar-header {
    padding: 0 24px 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.sidebar-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.sidebar-header p {
    font-size: 13px;
    color: var(--dark-gray);
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu-item {
    margin: 4px 12px;
}

.sidebar-menu-item a {
    display: block;
    padding: 12px 16px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
}

.sidebar-menu-item a:hover {
    background: var(--sidebar-active);
    color: var(--primary-blue);
    padding-left: 24px;
}

.sidebar-menu-item.active a {
    background: var(--sidebar-active);
    color: var(--primary-blue);
    font-weight: 600;
}

.sidebar-menu-item.active a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: var(--primary-blue);
    border-radius: 0 2px 2px 0;
}

/* Content Area */
.solutions-content {
    flex: 1;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 48px;
    min-height: 600px;
}

.solution-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--light-blue);
}

.solution-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.solution-header p {
    font-size: 16px;
    color: var(--dark-gray);
    line-height: 1.8;
}

.solution-section {
    margin-bottom: 40px;
}

.solution-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-left: 16px;
    position: relative;
}

.solution-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border-radius: 2px;
}

.solution-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 24px 0 12px;
}

.solution-section p {
    font-size: 15px;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.solution-section ul {
    list-style: none;
    margin: 20px 0;
}

.solution-section ul li {
    padding: 12px 0 12px 28px;
    position: relative;
    font-size: 15px;
    color: var(--dark-gray);
    line-height: 1.8;
    border-bottom: 1px solid #f0f0f0;
}

.solution-section ul li:last-child {
    border-bottom: none;
}

.solution-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    width: 20px;
    height: 20px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.highlight-box {
    background: linear-gradient(135deg, #f6f9fc 0%, #ffffff 100%);
    border-left: 4px solid var(--primary-blue);
    padding: 24px;
    border-radius: 8px;
    margin: 24px 0;
}

.highlight-box p {
    margin: 0;
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.8;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    color: var(--white);
    margin-top: 48px;
}

.cta-box h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--white);
}

.cta-box p {
    font-size: 15px;
    margin-bottom: 24px;
    opacity: 0.95;
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    padding: 12px 32px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,255,255,0.3);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    padding: 64px 20px;
    text-align: center;
}

.cta-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cta-title {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 600;
}

.cta-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

/* Banner Section */
.solutions-banner {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(24, 144, 255, 0.1);
}

.solutions-banner::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    top: -250px;
    right: -250px;
    border-radius: 50%;
}

.solutions-banner::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    border-radius: 50%;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.banner-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-content p {
    font-size: 18px;
    color: var(--dark-gray);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: rgb(30, 41, 59);
    color: var(--white);
    padding: 64px 20px 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 32px;
    justify-content: center;
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
    font-size: 15px;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 24px;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-copyright {
    flex: 1;
    min-width: 300px;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-copyright p:last-child {
    margin-bottom: 0;
}

.footer-slogan {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 500;
    align-self: center;
}

.footer-qrcodes {
    display: flex;
    gap: 16px;
    flex: 0 0 auto;
}

.qrcode-item {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.qrcode-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Responsive */
@media (max-width: 1024px) {
    .solutions-container {
        flex-direction: column;
    }

    .solutions-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        max-height: none;
    }

    .solutions-content {
        padding: 32px 24px;
    }

    .banner-content h1 {
        font-size: 36px;
    }

    .banner-content p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .solutions-banner {
        padding: 60px 20px;
    }

    .banner-content h1 {
        font-size: 28px;
    }

    .banner-content p {
        font-size: 15px;
    }

    .solutions-content {
        padding: 24px 20px;
    }

    .solution-header h1 {
        font-size: 24px;
    }

    .solution-section h2 {
        font-size: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .footer-slogan {
        align-self: flex-start;
    }

    .footer-qrcodes {
        align-self: flex-start;
    }

    .footer-nav {
        gap: 20px;
        padding: 24px 0;
    }
}
