/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* 头部样式 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: rgb(31, 58, 112);
    margin-bottom: 5px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.solutions-text {
    font-size: 1.1rem;
    color: #666;
    position: relative;
    padding-bottom: 5px;
}

.underline {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.ui-text {
    font-size: 1rem;
    color: #999;
    font-weight: 300;
}

/* 头部图片样式 */
.header-images {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.header-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 页头背景样式 */
.relative.z-20 {
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(15px) !important;
}

/* 页头logo样式 */
.logo-link {
    display: inline-block;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.header-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* 主要内容区域 */
.main-content {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

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

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* 卡片样式 */
.card {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 20px;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.4);
}

.card-header {
    margin-bottom: 25px;
}

.card-title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card-body {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 展示内容样式 */
.display-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.feature-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.feature-icon {
    font-size: 2rem;
    opacity: 0.9;
}

.feature-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.description {
    margin-top: 20px;
}

.description p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 280px;
}

/* 输入框样式 */
.input-group {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    color: #e6f3ff;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.login-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 20px;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.login-text:hover {
    color: #fff;
}

/* 内容包装器样式 */
.card-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 按钮样式 */
.input-btn {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    flex-shrink: 0;
}

.input-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 表格样式 */
.table-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    overflow-x: auto;
    flex: 1;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
}

.data-table th {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 6px;
    text-align: center;
    font-weight: 600;
    font-size: 0.75rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.data-table td {
    padding: 6px 6px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
}

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.1);
}

/* 图表包装器样式 */
.chart-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    box-sizing: border-box;
}

.chart-wrapper canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* 指标区域样式 */
.metrics-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

.section-title {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.metric-item {
    text-align: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.metric-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.metric-value {
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 3px;
}

.metric-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
}

.more-info {
    text-align: right;
}

.more-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.more-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* 图表区域样式 */
.chart-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    flex: 1;
}

.chart-container {
    position: relative;
    margin-bottom: 8px;
}

#lineChart {
    width: 100%;
    height: 120px;
    border-radius: 8px;
}

.chart-info {
    text-align: right;
}

/* 底部样式 */
/* 页脚基础样式 */
footer {
    text-align: center;
    margin-top: 40px;
    color: white;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* 页脚主容器样式 */
.footer {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    padding: 40px 0;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 25px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.service-link:hover {
    text-decoration: none;
    color: inherit;
}

/* 响应式设计 */
@media screen and (min-width: 1200px) {

    /* 大屏幕：一行八列 */
    .footer-services {
        flex-wrap: nowrap;
        gap: 15px;
    }

    .service-item {
        flex: 1;
        padding: 12px 16px;
        font-size: 15px;
        min-width: 0;
    }
}

@media screen and (max-width: 1199px) {

    /* 其他屏幕：两行四列布局 */
    .footer {
        padding: 30px 0;
    }

    .footer-services {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 15px 10px;
        max-width: 800px;
        padding: 0 20px;
        margin: 0 auto;
    }

    .service-item {
        min-width: 0;
        padding: 10px 8px;
        font-size: 14px;
        width: 100%;
    }

    .service-link {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {

    /* 平板：两行四列布局 */
    .footer {
        padding: 25px 0;
    }

    .footer-services {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 10px 8px;
        max-width: 100%;
        padding: 0 15px;
    }

    .service-item {
        min-width: 0;
        padding: 8px 6px;
        font-size: 13px;
        width: 100%;
    }

    .service-link {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {

    /* 手机：两行四列布局 */
    .footer {
        padding: 20px 0;
    }

    .footer-services {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 8px 6px;
        padding: 0 10px;
    }

    .service-item {
        min-width: 0;
        padding: 6px 4px;
        font-size: 12px;
        width: 100%;
    }

    .service-link {
        width: 100%;
    }
}



/* 响应式设计 */
@media (max-width: 1024px) {
    .cards-grid {
        gap: 20px;
    }
    
    .card {
        padding: 25px;
    }
    
    .header-img {
        height: 60px;
    }
    
    .header-logo {
        height: 45px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .logo-section {
        align-items: center;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .underline {
        display: none;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .header-images {
        gap: 10px;
    }
    
    .header-img {
        height: 55px;
    }
    
    .header-logo {
        height: 40px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 400px;
    }
    
    .card {
        padding: 15px;
        aspect-ratio: auto;
        min-height: auto;
    }
    
    .card-header {
        margin-bottom: 12px;
    }
    
    .card-title {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .feature-list {
        gap: 25px;
        margin-bottom: 12px;
    }
    
    .feature-icon {
        font-size: 1.5rem;
    }
    
    .feature-text {
        font-size: 0.8rem;
    }
    
    .description {
        margin-top: 10px;
    }
    
    .description p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .table-container {
        padding: 8px;
        margin-bottom: 10px;
    }
    
    .data-table th {
        padding: 6px 4px;
        font-size: 0.7rem;
    }
    
    .data-table td {
        padding: 5px 4px;
        font-size: 0.65rem;
    }
    
    .chart-wrapper {
        padding: 8px 10px;
    }
    
    .input-btn {
        padding: 10px 16px;
        font-size: 0.95rem;
        margin-top: 10px;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .main-content {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .underline {
        display: none;
    }
    
    .header {
        padding: 12px 0;
    }
    
    .header-images {
        gap: 8px;
    }
    
    .header-img {
        height: 50px;
    }
    
    .header-logo {
        height: 35px;
    }
    
    .cards-grid {
        gap: 12px;
    }
    
    .card {
        padding: 12px;
        border-radius: 15px;
        aspect-ratio: auto;
        min-height: auto;
    }
    
    .card-header {
        margin-bottom: 10px;
    }
    
    .card-title {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .feature-list {
        gap: 20px;
        margin-bottom: 10px;
    }
    
    .feature-icon {
        font-size: 1.3rem;
    }
    
    .feature-text {
        font-size: 0.75rem;
    }
    
    .description {
        margin-top: 8px;
    }
    
    .description p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .table-container {
        padding: 6px;
        margin-bottom: 8px;
    }
    
    .data-table th {
        padding: 5px 3px;
        font-size: 0.65rem;
    }
    
    .data-table td {
        padding: 4px 3px;
        font-size: 0.6rem;
    }
    
    .chart-wrapper {
        padding: 6px 8px;
    }
    
    #lineChart {
        height: 100px;
    }
    
    .input-btn {
        padding: 10px 14px;
        font-size: 0.9rem;
        margin-top: 8px;
    }
    
    .main-content {
        padding: 15px 0;
    }
}

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

.card {
    animation: fadeInUp 0.6s ease forwards;
}

.card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.3s;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
}
