/* AI增强版样式 */

/* AI加载动画 */
.ai-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: aiFadeIn 0.5s ease;
}

@keyframes aiFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ai-loader-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
}

.ai-loader-icon {
    font-size: 4rem;
    color: #4F46E5;
    margin-bottom: 1.5rem;
    animation: aiPulse 2s infinite;
}

@keyframes aiPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.ai-loader-text h3 {
    font-size: 1.5rem;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.ai-loader-text p {
    color: #6B7280;
    margin-bottom: 1.5rem;
}

.ai-progress {
    height: 8px;
    background: #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
}

.ai-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4F46E5 0%, #7C3AED 100%);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

/* AI导航 */
.ai-nav {
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-brand .logo {
    height: 40px;
    filter: brightness(0) invert(1);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
}

.brand-subtitle {
    font-size: 0.85rem;
    color: #9CA3AF;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    margin-top: 0.25rem;
}

.ai-assistant {
    position: relative;
}

.ai-assistant-btn {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-assistant-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.ai-assistant-panel {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    width: 400px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1001;
}

.ai-assistant-panel.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-panel-header {
    padding: 1.5rem;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-panel-header h4 {
    color: #1F2937;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ai-close {
    background: transparent;
    border: none;
    color: #6B7280;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ai-close:hover {
    background: #F3F4F6;
    color: #1F2937;
}

.ai-panel-content {
    padding: 1.5rem;
}

.ai-chat {
    height: 300px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    padding-right: 0.5rem;
}

.ai-message {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ai-message-bot {
    flex-direction: row;
}

.ai-message-user {
    flex-direction: row-reverse;
}

.ai-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-message-bot .ai-avatar {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
}

.ai-message-user .ai-avatar {
    background: #F3F4F6;
    color: #6B7280;
}

.ai-content {
    flex: 1;
    background: #F9FAFB;
    padding: 1rem;
    border-radius: 12px;
    max-width: 80%;
}

.ai-message-user .ai-content {
    background: #4F46E5;
    color: white;
}

.ai-content p {
    margin-bottom: 0.5rem;
}

.ai-content ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.ai-content li {
    margin-bottom: 0.25rem;
    color: #6B7280;
}

.ai-message-user .ai-content li {
    color: rgba(255, 255, 255, 0.9);
}

.ai-input {
    display: flex;
    gap: 0.75rem;
}

.ai-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.ai-input input:focus {
    outline: none;
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.ai-send {
    background: #4F46E5;
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-send:hover {
    background: #7C3AED;
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.ai-quick-access {
    display: flex;
    gap: 0.5rem;
}

.ai-quick-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-quick-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.user-menu:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.user-role {
    font-size: 0.85rem;
    color: #9CA3AF;
}

/* 主内容 */
.ai-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* AI概览 */
.ai-overview {
    margin-bottom: 3rem;
}

.overview-header {
    text-align: center;
    margin-bottom: 2rem;
}

.overview-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.overview-subtitle {
    font-size: 1.1rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

.ai-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.ai-stat-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.ai-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.ai-stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.ai-stat-icon.primary {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
}

.ai-stat-icon.success {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    color: white;
}

.ai-stat-icon.warning {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    color: white;
}

.ai-stat-icon.danger {
    background: linear-gradient(135deg, #EF4444 0%, #F87171 100%);
    color: white;
}

.ai-stat-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #6B7280;
    margin-bottom: 0.5rem;
}

.ai-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1F2937;
    line-height: 1;
}

.ai-stat-desc {
    font-size: 0.9rem;
    color: #9CA3AF;
    margin-top: 0.25rem;
}

/* AI功能 */
.ai-features {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card.ai-feature {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-card.ai-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: #4F46E5;
}

.feature-header {
    padding: 1.5rem;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-header h3 {
    flex: 1;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
}

.feature-badge {
    background: #F3F4F6;
    color: #6B7280;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

.feature-content {
    padding: 1.5rem;
}

.feature-desc {
    color: #6B7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-list li i {
    color: #10B981;
    font-size: 0.9rem;
}

.feature-actions {
    display: flex;
    gap: 0.75rem;
}

/* AI监控 */
.ai-monitoring {
    margin-bottom: 3rem;
}

.monitoring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.monitoring-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 1.5rem;
}

.monitoring-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.monitoring-chart {
    height: 200px;
    margin-bottom: 1.5rem;
}

.monitoring-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

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

.monitoring-stat span:first-child {
    display: block;
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.stat-value.success {
    color: #10B981;
}

.stat-value.warning {
    color: #F59E0B;
}

.stat-value.primary {
    color: #4F46E5;
}

/* 推荐列表 */
.recommendation-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.recommendation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #F9FAFB;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.recommendation-item:hover {
    background: #F3F4F6;
}

.recommendation-rank {
    width: 32px;
    height: 32px;
    background: #4F46E5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.recommendation-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.recommendation-title {
    font-weight: 600;
    color: #1F2937;
}

.recommendation-match {
    font-size: 0.85rem;
    color: #10B981;
    font-weight: 600;
}

/* 预测图表 */
.prediction-chart {
    height: 150px;
    margin-bottom: 1.5rem;
}

.prediction-info {
    display: flex;
    gap: 1.5rem;
}

.prediction-item {
    flex: 1;
    text-align: center;
}

.prediction-item span:first-child {
    display: block;
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 0.25rem;
}

.prediction-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.prediction-value.success {
    color: #10B981;
}

.prediction-value.warning {
    color: #F59E0B;
}

/* AI状态 */
.ai-status {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #F9FAFB;
    border-radius: 12px;
}

.status-item i {
    font-size: 0.75rem;
}

.status-item.online i {
    color: #10B981;
}

.status-item.warning i {
    color: #F59E0B;
}

.status-item.danger i {
    color: #EF4444;
}

.status-item span:first-child {
    flex: 1;
    font-weight: 600;
    color: #1F2937;
}

.status-value {
    font-size: 0.9rem;
    font-weight: 600;
}

.status-item.online .status-value {
    color: #10B981;
}

.status-item.warning .status-value {
    color: #F59E0B;
}

.status-item.danger .status-value {
    color: #EF4444;
}

.ai-actions {
    display: flex;
    gap: 0.75rem;
}

/* AI配置 */
.ai-configuration {
    margin-bottom: 3rem;
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.config-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 1.5rem;
}

.config-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.config-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #6B7280;
    font-size: 0.95rem;
}

.config-slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: #E5E7EB;
    border-radius: 4px;
    outline: none;
}

.config-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #4F46E5;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.config-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #4F46E5;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slider-value {
    align-self: flex-end;
    font-weight: 600;
    color: #4F46E5;
}

.config-select {
    padding: 0.75rem;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 1rem;
    color: #1F2937;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.config-select:focus {
    outline: none;
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #E5E7EB;
    cursor: pointer;
}

.form-check input[type="checkbox"]:checked {
    background: #4F46E5;
    border-color: #4F46E5;
}

.form-check label {
    cursor: pointer;
    color: #1F2937;
}

/* AI报告 */
.ai-report {
    margin-bottom: 3rem;
}

.report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.report-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 1.5rem;
}

.report-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.report-chart {
    height: 200px;
    margin-bottom: 1.5rem;
}

.report-summary {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.report-summary p {
    display: flex;
    justify-content: space-between;
    color: #6B7280;
}

.highlight {
    font-weight: 700;
    color: #1F2937;
}

/* AI页脚 */
.ai-footer {
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
    color: white;
    padding: 3rem 1.5rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-text h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.footer-text p {
    color: #9CA3AF;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-section a {
    display: block;
    color: #9CA3AF;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9CA3AF;
}

.footer-ai {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: #4F46E5;
    font-weight: 600;
}

/* AI浮动助手 */
.ai-floating-assistant {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.ai-floating-assistant.visible {
    animation: floatIn 0.5s ease;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.3);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.4);
}

.floating-panel {
    position: absolute;
    bottom: calc(100% + 1rem);
    right: 0;
    width: 200px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    display: none;
}

.floating-panel.active {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-header {
    padding: 1rem;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.floating-header h5 {
    color: #1F2937;
    font-size: 1rem;
    font-weight: 600;
}

.floating-close {
    background: transparent;
    border: none;
    color: #6B7280;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.floating-close:hover {
    background: #F3F4F6;
    color: #1F2937;
}

.floating-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.floating-action {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #F9FAFB;
    border: none;
    border-radius: 12px;
    color: #1F2937;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.floating-action:hover {
    background: #4F46E5;
    color: white;
    transform: translateX(-4px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: space-between;
    }
    
    .ai-assistant-panel {
        width: calc(100vw - 2rem);
        right: 1rem;
    }
    
    .ai-stats {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .monitoring-grid {
        grid-template-columns: 1fr;
    }
    
    .config-grid {
        grid-template-columns: 1fr;
    }
    
    .report-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .ai-floating-assistant {
        bottom: 1rem;
        right: 1rem;
    }
}

/* 打印样式 */
@media print {
    .ai-nav,
    .ai-footer,
    .ai-floating-assistant {
        display: none;
    }
    
    .ai-main {
        padding: 0;
    }
    
    .ai-stat-card,
    .feature-card,
    .monitoring-card,
    .config-card,
    .report-card {
        break-inside: avoid;
        border: 1px solid #E5E7EB;
    }
}

/* 减少动画用户偏好 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .ai-stat-card,
    .feature-card,
    .monitoring-card,
    .config-card,
    .report-card {
        border: 2px solid currentColor;
    }
    
    .ai-assistant-btn,
    .floating-btn {
        outline: 2px solid currentColor;
    }
}