/* ================================================
   梦迈驰 | DreamsMatch 样式系统
   创新项目资源匹配与交易平台
   ================================================ */

/* CSS变量定义 */
:root {
    --primary-dark: #0A2540;
    --primary-teal: #007a7c;
    --primary-teal-light: #2c9e9f;
    --primary-teal-dark: #005f60;
    --accent-mint: #e0f2f1;
    --accent-warm: #FFF7E6;
    --gray-bg: #F8FAFE;
    --gray-light: #EFF3F8;
    --text-dark: #1E2F3E;
    --text-muted: #5A6E7C;
    --border-light: #E2E8F0;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.03), 0 1px 6px rgba(0,0,0,0.02);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.05), 0 2px 6px rgba(0,0,0,0.03);
    --shadow-lg: 0 24px 40px -12px rgba(0,0,0,0.1);
    --shadow-teal: 0 8px 20px rgba(0,122,124,0.2);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --radius-xl: 48px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 重置与基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 容器 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 间距 */
.section {
    padding: 100px 0;
}

.section-sm {
    padding: 60px 0;
}

.section-lg {
    padding: 120px 0;
}

/* 排版 */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--primary-dark);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 720px;
    margin-bottom: 48px;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

/* 徽章 */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-mint);
    color: var(--primary-teal);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.badge-warning {
    background: var(--accent-warm);
    color: #B45309;
}

.badge-success {
    background: #D1FAE5;
    color: #059669;
}

.badge-info {
    background: #DBEAFE;
    color: #2563EB;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-teal);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-teal-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-teal);
}

.btn-secondary {
    background: white;
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
}

.btn-secondary:hover {
    background: var(--primary-teal);
    color: white;
}

.btn-dark {
    background: var(--primary-dark);
    color: white;
}

.btn-dark:hover {
    background: #0d3352;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-dark);
    padding: 10px 20px;
}

.btn-ghost:hover {
    background: var(--gray-light);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* 导航栏 */
.navbar {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.logo-text {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
    color: var(--primary-dark);
}

.logo-tag {
    background: var(--accent-mint);
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-teal);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* 英雄区 */
.hero {
    background: linear-gradient(135deg, #F9FCFE 0%, #F0F7F9 50%, #E8F4F5 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,122,124,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 640px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* 特色卡片网格 */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* 卡片 */
.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-teal-light);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-teal);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-teal);
    font-weight: 600;
    margin-top: 16px;
}

.card-link:hover {
    gap: 10px;
}

/* 特色服务卡片 */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--primary-teal-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

/* 项目卡片 */
.project-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.project-card-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.project-card-content {
    padding: 24px;
}

.project-card-tag {
    display: inline-block;
    background: var(--accent-mint);
    color: var(--primary-teal);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.project-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.project-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.project-card-price {
    font-weight: 700;
    color: var(--primary-teal);
    font-size: 1.1rem;
}

/* 资源卡片 */
.resource-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.resource-card:hover {
    border-color: var(--primary-teal-light);
    box-shadow: var(--shadow-md);
}

.resource-card-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-mint);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-teal);
    flex-shrink: 0;
}

.resource-card-content {
    flex: 1;
}

.resource-card h4 {
    font-weight: 600;
    margin-bottom: 6px;
}

.resource-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 表单 */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(0,122,124,0.1);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.form-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* 标签输入 */
.tag-input-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    min-height: 52px;
    transition: var(--transition);
}

.tag-input-container:focus-within {
    border-color: var(--primary-teal);
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-mint);
    color: var(--primary-teal);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tag-item button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-teal);
    padding: 0;
    font-size: 1rem;
    line-height: 1;
}

.tag-input {
    flex: 1;
    min-width: 120px;
    border: none;
    outline: none;
    font-size: 0.95rem;
    padding: 4px;
}

/* 搜索栏 */
.search-bar {
    display: flex;
    gap: 12px;
    background: white;
    padding: 8px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 20px;
    font-size: 1rem;
    background: transparent;
}

.search-btn {
    background: var(--primary-teal);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 36px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-teal-dark);
}

/* 筛选器 */
.filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.filter-chip {
    padding: 8px 18px;
    border: 2px solid var(--border-light);
    border-radius: 40px;
    background: white;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-chip:hover,
.filter-chip.active {
    border-color: var(--primary-teal);
    background: var(--accent-mint);
    color: var(--primary-teal);
}

/* 标签页 */
.tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 32px;
}

.tab {
    padding: 12px 24px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: var(--transition);
}

.tab:hover {
    color: var(--text-dark);
}

.tab.active {
    color: var(--primary-teal);
    border-bottom-color: var(--primary-teal);
}

/* 模态框 */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 37, 64, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
}

.modal-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 24px;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* 步骤指示器 */
.steps {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-item::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 60%;
    width: 80%;
    height: 2px;
    background: var(--border-light);
}

.step-item:last-child::after {
    display: none;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--border-light);
    color: var(--text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 16px;
    position: relative;
    z-index: 1;
}

.step-item.active .step-number,
.step-item.completed .step-number {
    background: var(--primary-teal);
    color: white;
}

.step-item h4 {
    font-weight: 600;
    margin-bottom: 4px;
}

.step-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 通知提示 */
.toast-container {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-success {
    border-left: 4px solid var(--success);
}

.toast-error {
    border-left: 4px solid var(--danger);
}

.toast-warning {
    border-left: 4px solid var(--warning);
}

.toast-info {
    border-left: 4px solid var(--info);
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--border-light);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
}

/* 加载状态 */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-light);
    border-top-color: var(--primary-teal);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-light);
    background: white;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.pagination button:hover,
.pagination button.active {
    background: var(--primary-teal);
    color: white;
    border-color: var(--primary-teal);
}

/* 页脚 */
.footer {
    background: var(--primary-dark);
    color: #CDE3E5;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.footer-brand p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #2B4F5A;
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
}

/* 页面标题区 */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-teal));
    color: white;
    padding: 60px 0;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* 认证页面 */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}

.auth-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 32px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}

.auth-tab.active {
    color: var(--primary-teal);
    border-bottom-color: var(--primary-teal);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-muted);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-muted);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-light);
}

/* 用户头像 */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-teal);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.avatar-lg {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    min-width: 200px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-dark);
    font-weight: 500;
}

.dropdown-item:hover {
    background: var(--gray-light);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 8px 0;
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    padding: 6px 14px;
    background: var(--gray-light);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.tag-cloud a:hover {
    background: var(--accent-mint);
    color: var(--primary-teal);
}

/* 统计卡片 */
.stats-card {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-light));
    color: white;
    padding: 32px;
    border-radius: var(--radius-lg);
}

.stats-card h3 {
    font-size: 2rem;
    font-weight: 800;
}

.stats-card p {
    opacity: 0.9;
}

/* 面包屑 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--primary-teal);
}

/* ================================================
   用户中心样式
   ================================================ */
.user-center {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
    background: var(--gray-bg);
}

.uc-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}

/* 左侧边栏 */
.uc-sidebar {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: sticky;
    top: 90px;
}

.uc-user-card {
    padding: 28px 24px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.uc-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 12px;
}

.uc-user-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.uc-user-info span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.uc-nav {
    padding: 12px 0;
}

.uc-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.92rem;
    transition: var(--transition);
    position: relative;
}

.uc-nav-item:hover {
    background: var(--gray-light);
    color: var(--primary-teal);
}

.uc-nav-item.active {
    background: var(--accent-mint);
    color: var(--primary-teal);
    font-weight: 600;
}

.uc-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: var(--primary-teal);
    border-radius: 0 4px 4px 0;
}

.uc-badge {
    margin-left: auto;
    background: var(--danger);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.uc-sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
}

/* 右侧内容区 */
.uc-content {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 32px;
    min-height: 500px;
}

/* 概览仪表盘 */
.uc-dash-header {
    margin-bottom: 28px;
}

.uc-dash-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.uc-dash-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.uc-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.uc-stat-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.uc-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-teal-light);
}

.uc-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 10px;
}

.uc-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
}

.uc-stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.uc-dash-quick h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.uc-dash-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* 表单网格 */
.uc-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.uc-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.form-static {
    color: var(--text-dark);
    padding: 10px 0;
    font-size: 0.95rem;
}

/* 标签页切换 */
.uc-tabs {
    display: flex;
    gap: 4px;
    background: var(--gray-light);
    padding: 4px;
    border-radius: 10px;
}

.uc-tab {
    padding: 8px 20px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.uc-tab.active {
    background: white;
    color: var(--primary-teal);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* 收藏网格 */
.uc-fav-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.uc-fav-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: var(--transition);
}

.uc-fav-card:hover {
    border-color: var(--primary-teal-light);
    box-shadow: var(--shadow-sm);
}

.uc-fav-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--accent-mint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.uc-fav-body {
    flex: 1;
}

.uc-fav-body h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.uc-fav-body p {
    font-size: 0.82rem;
    margin-bottom: 8px;
}

/* 通知项 */
.uc-notif-item {
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-light);
}

.uc-notif-item:hover {
    background: var(--gray-light);
}

.uc-notif-item.unread {
    background: #F0F9FF;
}

.uc-notif-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: 10px;
}

.uc-notif-body {
    flex: 1;
}

.uc-notif-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.uc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--danger);
}

.uc-notif-content {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.uc-notif-time {
    font-size: 0.75rem;
    color: #94A3B8;
    margin-top: 4px;
}

/* 表格行高亮（新意向） */
.row-highlight {
    background: #FEF9E7 !important;
}
.row-highlight:hover {
    background: #FDF2D0 !important;
}

/* 工单卡片 */
.uc-ticket-card {
    padding: 16px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.uc-ticket-card:hover {
    border-color: var(--primary-teal-light);
    box-shadow: var(--shadow-sm);
}

.uc-ticket-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.uc-ticket-header strong {
    flex: 1;
    font-size: 0.92rem;
}

/* 空状态（全屏） */
.uc-empty-full {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.uc-empty-full .uc-empty-icon {
    font-size: 4rem;
    color: var(--border-light);
    margin-bottom: 20px;
}

.uc-empty-full h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.uc-empty-full p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 响应式 */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }

    .uc-layout {
        grid-template-columns: 1fr;
    }

    .uc-sidebar {
        position: relative;
        top: 0;
    }

    .uc-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .uc-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 24px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .steps {
        flex-direction: column;
        gap: 24px;
    }
    
    .step-item::after {
        display: none;
    }
    
    .auth-card {
        padding: 32px 24px;
    }
}

/* 动画 */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 滚动动画 */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* 工具类 */
.hidden {
    display: none !important;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 8px;
}

.gap-4 {
    gap: 16px;
}

.mt-4 {
    margin-top: 16px;
}

.mb-4 {
    margin-bottom: 16px;
}

.w-full {
    width: 100%;
}
