/*=======================================================
  控制台页面专用样式
  作用域：.dashboard-page
=======================================================*/

:root {
    /* 主色调系统 */
    --md-sys-color-primary: #3b82f6;
    --md-sys-color-on-primary: #ffffff;
    --md-sys-color-primary-container: rgba(59, 130, 246, 0.12);
    --md-sys-color-on-primary-container: #1e40af;
    --md-sys-color-secondary: #6b7280;
    --md-sys-color-on-secondary: #ffffff;
    --md-sys-color-secondary-container: rgba(107, 114, 128, 0.12);
    --md-sys-color-surface: rgba(30, 35, 50, 0.8);
    --md-sys-color-surface-variant: rgba(35, 42, 58, 0.9);
    --md-sys-color-on-surface: #f8fafc;
    --md-sys-color-on-surface-variant: #cbd5e1;
    --md-sys-color-outline: rgba(60, 70, 90, 0.4);
    --md-sys-color-outline-variant: rgba(80, 90, 110, 0.3);
    /* 功能色彩 */
    --md-func-color-success: #10b981;
    --md-func-color-warning: #f59e0b;
    --md-func-color-error: #ef4444;
    --md-func-color-info: #06b6d4;
    /* 立体层次 */
    --md-sys-elevation-level0: none;
    --md-sys-elevation-level1: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --md-sys-elevation-level2: 0 3px 6px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.12);
    --md-sys-elevation-level3: 0 6px 12px rgba(0, 0, 0, 0.15), 0 4px 6px rgba(0, 0, 0, 0.10);
    /* 间距系统 - 8dp 网格 */
    --md-sys-spacing-xs: 8px;
    --md-sys-spacing-sm: 16px;
    --md-sys-spacing-md: 24px;
    --md-sys-spacing-lg: 32px;
    --md-sys-spacing-xl: 48px;
    /* 圆角系统 */
    --md-sys-shape-corner-small: 8px;
    --md-sys-shape-corner-medium: 12px;
    --md-sys-shape-corner-large: 16px;
    /* 动效系统 */
    --md-sys-motion-easing-standard: cubic-bezier(0.2, 0, 0, 1);
    --md-sys-motion-easing-emphasized: cubic-bezier(0.05, 0.7, 0.1, 1);
    --md-sys-motion-duration-short: 200ms;
    --md-sys-motion-duration-medium: 300ms;
}

/* ========================================
   通用样式
======================================== */

.dashboard-page .feature-container {
    background: rgb(15,17,26);
    min-height: 100vh;
    padding: var(--md-sys-spacing-xs);
}

.dashboard-page .section-header {
    display: flex;
    align-items: center;
    gap: var(--md-sys-spacing-sm);
    margin-bottom: 2.5rem;
    padding: 0 var(--md-sys-spacing-xs);
}

.dashboard-page .section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--md-sys-color-on-surface);
    letter-spacing: -0.015em;
    line-height: 1.2;
}

.dashboard-page .feature-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--md-sys-spacing-md);
    margin-bottom: 4rem;
}

.dashboard-page .model-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--md-sys-spacing-md);
}

.dashboard-page .feature-card {
    background: var(--md-sys-color-surface);
    backdrop-filter: blur(8px);
    border-radius: var(--md-sys-shape-corner-large);
    padding: var(--md-sys-spacing-sm);
    display: flex;
    flex-direction: column;
    min-height: 160px;
    box-shadow: var(--md-sys-elevation-level1);
    transition: all var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-standard);
    border: 1px solid var(--md-sys-color-outline);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

    .dashboard-page .feature-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--md-sys-elevation-level3);
        border-color: var(--md-sys-color-outline-variant);
        background: var(--md-sys-color-surface-variant);
    }

    .dashboard-page .feature-card:active {
        transform: translateY(-1px);
        transition-duration: var(--md-sys-motion-duration-short);
    }

.dashboard-page .card-icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: var(--md-sys-spacing-sm);
}

.dashboard-page .card-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 48px;
    border-radius: var(--md-sys-shape-corner-medium);
    background: var(--md-sys-color-primary-container);
    transition: all var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-standard);
}

.dashboard-page .feature-card:hover .card-icon-wrapper {
    transform: scale(1.08);
    background: var(--md-sys-color-primary-container);
}

.dashboard-page .card-icon {
    font-size: 1.25rem;
    transition: all var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-standard);
}

.dashboard-page .feature-card:hover .card-icon {
    transform: scale(1.15);
}

.dashboard-page .card-title {
    font-weight: 500;
    text-align: center;
    margin-bottom: var(--md-sys-spacing-xs);
    font-size: 0.875rem;
    color: var(--md-sys-color-on-surface);
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.dashboard-page .card-description {
    text-align: center;
    color: var(--md-sys-color-on-surface-variant);
    flex: 1;
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: var(--md-sys-spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-page .card-button-container {
    display: flex;
    justify-content: center;
    margin-top: auto;
}

/* ========================================
   FREE标识样式 - Material Design 3 风格
======================================== */

/* PC端FREE标识 */
.dashboard-page .free-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #00C853, #00A843);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(0, 200, 83, 0.12);
    z-index: 10;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .dashboard-page .free-badge::before {
        content: '';
        font-size: 0.7rem;
        font-weight: 800;
        line-height: 1;
    }

/* PC端悬停效果 */
.dashboard-page .feature-card:hover .free-badge {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 200, 83, 0.2), 0 0 12px rgba(0, 200, 83, 0.15);
    background: linear-gradient(135deg, #00A843, #00962D);
}

/* 移动端FREE标识 */
.dashboard-page .free-badge-mobile {
    position: absolute;
    top: 6px;
    right: 6px;
    background: linear-gradient(135deg, #00C853, #00A843);
    color: #ffffff;
    font-size: 0.45rem;
    font-weight: 600;
    padding: 4px 7px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24);
    z-index: 10;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
}

    .dashboard-page .free-badge-mobile::before {
        content: '';
        font-size: 0.5rem;
        font-weight: 800;
        line-height: 1;
    }

/* 移动端悬停效果 */
.dashboard-page .grid-item-main:hover .free-badge-mobile {
    transform: translateY(-1px) scale(1.08);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.06), 0 0 8px rgba(0, 200, 83, 0.2);
    background: linear-gradient(135deg, #00A843, #00962D);
}

/* Material Design 状态层效果 */
.dashboard-page .free-badge::after,
.dashboard-page .free-badge-mobile::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0);
    transition: background 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    pointer-events: none;
}

.dashboard-page .feature-card:active .free-badge::after,
.dashboard-page .grid-item-main:active .free-badge-mobile::after {
    background: rgba(255, 255, 255, 0.12);
}

/* 替代设计选项 - 轮廓风格 */
.dashboard-page .free-badge-outline {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 200, 83, 0.08);
    border: 1.5px solid #00C853;
    color: #00C853;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 5px 9px;
    border-radius: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 10;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .dashboard-page .free-badge-outline::before {
        content: '';
        font-size: 0.7rem;
        font-weight: 800;
        line-height: 1;
    }

.dashboard-page .feature-card:hover .free-badge-outline {
    transform: translateY(-1px) scale(1.05);
    background: rgba(0, 200, 83, 0.12);
    border-color: #00A843;
    color: #00A843;
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.15);
}

/* 替代设计选项 - 芯片风格 */
.dashboard-page .free-badge-chip {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #E8F5E8;
    color: #2E7D32;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

    .dashboard-page .free-badge-chip::before {
        content: '✓';
        font-size: 0.7rem;
        font-weight: 800;
        line-height: 1;
        color: #4CAF50;
    }

.dashboard-page .feature-card:hover .free-badge-chip {
    transform: translateY(-1px) scale(1.05);
    background: #C8E6C9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* ========================================
    卡片主题色彩
======================================== */

.dashboard-page .card-primary {
    --card-accent: var(--md-sys-color-primary);
}

    .dashboard-page .card-primary .card-icon-wrapper {
        background: var(--md-sys-color-primary-container);
    }

    .dashboard-page .card-primary .card-icon {
        color: var(--md-sys-color-primary);
    }

.dashboard-page .card-success {
    --card-accent: var(--md-func-color-success);
}

    .dashboard-page .card-success .card-icon-wrapper {
        background: rgba(16, 185, 129, 0.12);
    }

    .dashboard-page .card-success .card-icon {
        color: var(--md-func-color-success);
    }

.dashboard-page .card-warning {
    --card-accent: var(--md-func-color-warning);
}

    .dashboard-page .card-warning .card-icon-wrapper {
        background: rgba(245, 158, 11, 0.12);
    }

    .dashboard-page .card-warning .card-icon {
        color: var(--md-func-color-warning);
    }

.dashboard-page .card-info {
    --card-accent: var(--md-func-color-info);
}

    .dashboard-page .card-info .card-icon-wrapper {
        background: rgba(6, 182, 212, 0.12);
    }

    .dashboard-page .card-info .card-icon {
        color: var(--md-func-color-info);
    }

.dashboard-page .card-secondary {
    --card-accent: var(--md-sys-color-secondary);
}

    .dashboard-page .card-secondary .card-icon-wrapper {
        background: var(--md-sys-color-secondary-container);
    }

    .dashboard-page .card-secondary .card-icon {
        color: var(--md-sys-color-secondary);
    }

.dashboard-page .card-danger {
    --card-accent: var(--md-func-color-error);
}

    .dashboard-page .card-danger .card-icon-wrapper {
        background: rgba(239, 68, 68, 0.12);
    }

    .dashboard-page .card-danger .card-icon {
        color: var(--md-func-color-error);
    }

/* ========================================
   按钮样式
======================================== */

.dashboard-page .feature-card .ez-btn,
.dashboard-page .feature-card button {
    height: 34px !important;
    padding: 0 var(--md-sys-spacing-sm) !important;
    border-radius: var(--md-sys-shape-corner-medium) !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    box-shadow: var(--md-sys-elevation-level0) !important;
    transition: all var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-standard) !important;
    border: none !important;
    min-width: 100px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

    .dashboard-page .feature-card .ez-btn.btn-primary,
    .dashboard-page .feature-card button.btn-primary {
        background-color: var(--md-sys-color-primary) !important;
        color: var(--md-sys-color-on-primary) !important;
    }

        .dashboard-page .feature-card .ez-btn.btn-primary:hover,
        .dashboard-page .feature-card button.btn-primary:hover {
            background-color: rgba(59, 130, 246, 0.9) !important;
            box-shadow: var(--md-sys-elevation-level1) !important;
        }

        .dashboard-page .feature-card .ez-btn.btn-primary:active,
        .dashboard-page .feature-card button.btn-primary:active {
            background-color: rgba(59, 130, 246, 0.8) !important;
            box-shadow: var(--md-sys-elevation-level0) !important;
        }

    .dashboard-page .feature-card .ez-btn.btn-success,
    .dashboard-page .feature-card button.btn-success {
        background-color: var(--md-func-color-success) !important;
        color: white !important;
    }

        .dashboard-page .feature-card .ez-btn.btn-success:hover,
        .dashboard-page .feature-card button.btn-success:hover {
            background-color: rgba(16, 185, 129, 0.9) !important;
            box-shadow: var(--md-sys-elevation-level1) !important;
        }

    .dashboard-page .feature-card .ez-btn.btn-warning,
    .dashboard-page .feature-card button.btn-warning {
        background-color: var(--md-func-color-warning) !important;
        color: white !important;
    }

        .dashboard-page .feature-card .ez-btn.btn-warning:hover,
        .dashboard-page .feature-card button.btn-warning:hover {
            background-color: rgba(245, 158, 11, 0.9) !important;
            box-shadow: var(--md-sys-elevation-level1) !important;
        }

    .dashboard-page .feature-card .ez-btn.btn-info,
    .dashboard-page .feature-card button.btn-info {
        background-color: var(--md-func-color-info) !important;
        color: white !important;
    }

        .dashboard-page .feature-card .ez-btn.btn-info:hover,
        .dashboard-page .feature-card button.btn-info:hover {
            background-color: rgba(6, 182, 212, 0.9) !important;
            box-shadow: var(--md-sys-elevation-level1) !important;
        }

    .dashboard-page .feature-card .ez-btn.btn-secondary,
    .dashboard-page .feature-card button.btn-secondary {
        background-color: var(--md-sys-color-secondary) !important;
        color: var(--md-sys-color-on-secondary) !important;
    }

        .dashboard-page .feature-card .ez-btn.btn-secondary:hover,
        .dashboard-page .feature-card button.btn-secondary:hover {
            background-color: rgba(107, 114, 128, 0.9) !important;
            box-shadow: var(--md-sys-elevation-level1) !important;
        }

    .dashboard-page .feature-card .ez-btn.btn-danger,
    .dashboard-page .feature-card button.btn-danger {
        background-color: var(--md-func-color-error) !important;
        color: white !important;
    }

        .dashboard-page .feature-card .ez-btn.btn-danger:hover,
        .dashboard-page .feature-card button.btn-danger:hover {
            background-color: rgba(239, 68, 68, 0.9) !important;
            box-shadow: var(--md-sys-elevation-level1) !important;
        }

    .dashboard-page .feature-card .ez-btn:focus,
    .dashboard-page .feature-card button:focus {
        outline: 2px solid var(--md-sys-color-primary) !important;
        outline-offset: 2px !important;
    }

    .dashboard-page .feature-card .ez-btn:disabled,
    .dashboard-page .feature-card button:disabled {
        background-color: rgba(107, 114, 128, 0.3) !important;
        color: rgba(255, 255, 255, 0.5) !important;
        cursor: not-allowed !important;
        box-shadow: none !important;
    }

    .dashboard-page .feature-card .ez-btn.loading,
    .dashboard-page .feature-card button.loading {
        pointer-events: none !important;
        opacity: 0.8 !important;
    }

.dashboard-page .section-header i {
    font-size: 1.5rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.dashboard-page .feature-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.dashboard-page .feature-card,
.dashboard-page .card-icon-wrapper,
.dashboard-page .card-icon {
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.dashboard-page .card-title,
.dashboard-page .card-description,
.dashboard-page .section-title {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   📱 简化版国内APP风格移动端样式
======================================== */

/* 移动端：通用区域容器 */
.dashboard-page .mobile-section {
    margin: 0 12px 16px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

    .dashboard-page .mobile-section.ai-section {
        background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(59, 130, 246, 0.05));
        border: 1px solid rgba(124, 58, 237, 0.1);
    }

/* 移动端：区域标题样式 */
.dashboard-page .section-header-mobile {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

    .dashboard-page .section-header-mobile.ai {
        border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    }

.dashboard-page .section-icon {
    font-size: 18px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.dashboard-page .section-title-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--md-sys-color-on-surface);
    flex: 1;
}

.dashboard-page .section-subtitle {
    font-size: 11px;
    color: var(--md-sys-color-on-surface-variant);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: auto;
}

.dashboard-page .ai-badge-new {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 10px;
    margin-left: auto;
    box-shadow: 0 2px 4px rgba(118, 75, 162, 0.3);
}

/* 移动端：主功能网格 (4列多行，展示所有功能) */
.dashboard-page .grid-main {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
}

.dashboard-page .grid-item-main {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border-radius: 12px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 76px;
}

    .dashboard-page .grid-item-main:hover {
        transform: translateY(-2px) scale(1.02);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
        border-color: rgba(255, 255, 255, 0.12);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    }

    .dashboard-page .grid-item-main:active {
        transform: translateY(0) scale(0.98);
    }

.dashboard-page .item-icon-main {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.08));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 20px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease;
}

.dashboard-page .grid-item-main:hover .item-icon-main {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.12));
    border-color: rgba(59, 130, 246, 0.25);
}

.dashboard-page .item-title-main {
    font-size: 12px;
    font-weight: 500;
    color: var(--md-sys-color-on-surface);
    line-height: 1.2;
    max-width: 64px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 移动端：多因子模型系统卡片列表 */
.dashboard-page .ai-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dashboard-page .ai-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

    .dashboard-page .ai-card:hover {
        background: rgba(124, 58, 237, 0.05);
        transform: translateX(4px);
        border-color: rgba(124, 58, 237, 0.2);
        box-shadow: 0 4px 12px rgba(124, 58, 237, 0.1);
    }

.dashboard-page .ai-card-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    font-size: 20px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    flex-shrink: 0;
}

.dashboard-page .ai-card-content {
    flex: 1;
}

.dashboard-page .ai-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--md-sys-color-on-surface);
    margin-bottom: 3px;
}

.dashboard-page .ai-card-desc {
    font-size: 12px;
    color: var(--md-sys-color-on-surface-variant);
    opacity: 0.8;
    line-height: 1.3;
}

.dashboard-page .ai-card-arrow {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 12px;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.dashboard-page .ai-card:hover .ai-card-arrow {
    opacity: 1;
    transform: translateX(2px);
    color: #7c3aed;
}

/* 移动端：底部安全区域 */
.dashboard-page .mobile-bottom-safe {
    height: 80px;
    background: transparent;
}

/* 移动端：交互增强 */
.dashboard-page .grid-item-main,
.dashboard-page .ai-card {
    position: relative;
    overflow: hidden;
}

    .dashboard-page .grid-item-main::before,
    .dashboard-page .ai-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
        transition: left 0.5s ease;
    }

    .dashboard-page .grid-item-main:hover::before,
    .dashboard-page .ai-card:hover::before {
        left: 100%;
    }

/* 移动端：响应式适配 */
@media (max-width: 360px) {
    .dashboard-page .mobile-section {
        margin: 0 8px 12px 8px;
        padding: 12px;
    }

    .dashboard-page .grid-main {
        gap: 8px !important;
    }

    .dashboard-page .item-title-main {
        font-size: 11px;
    }

    .dashboard-page .item-icon-main {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* 移动端：深色模式优化 */
@media (prefers-color-scheme: dark) {
    .dashboard-page .mobile-section {
        background: rgba(255, 255, 255, 0.015);
        border-color: rgba(255, 255, 255, 0.03);
    }

    .dashboard-page .grid-item-main,
    .dashboard-page .ai-card {
        background: rgba(255, 255, 255, 0.02);
        border-color: rgba(255, 255, 255, 0.04);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .dashboard-page .feature-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--md-sys-spacing-md);
    }

    .dashboard-page .model-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--md-sys-spacing-md);
    }
}

@media (min-width: 1200px) {
    /* 桌面端：容器和间距 */
    .dashboard-page .feature-container {
        padding: var(--md-sys-spacing-xl) 5%;
    }

    /* 桌面端：网格布局 - 6列 */
    .dashboard-page .feature-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: var(--md-sys-spacing-lg);
    }

    .dashboard-page .model-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: var(--md-sys-spacing-lg);
    }
}

@media (min-width: 1400px) {
    .dashboard-page .feature-container {
        padding: var(--md-sys-spacing-xl) 8%;
    }
}

@media (min-width: 1600px) {
    .dashboard-page .feature-container {
        max-width: 1800px;
        margin: 0 auto;
        padding: var(--md-sys-spacing-xl) var(--md-sys-spacing-lg);
    }
}