* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary-color: #00cc80;
    --secondary-color: #0066ff;
    --dark-bg: #0a0a0a;
    --card-bg: #141414;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-glow: rgba(0, 204, 128, 0.3);
    --danger-color: #ff3366;
    --warning-color: #ffaa00;
    --success-color: #00cc80;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(170deg, #0d0d22 0%, #0e0e1e 18%, #0b0b18 40%, #0a0a14 65%, #0a0a0a 100%) fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
}
.view { display: none; }
.view.active { display: block; }

/* SVG 图标通用样式 */
.icon-svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.icon-svg-sm {
    width: 16px;
    height: 16px;
}
.icon-svg-lg {
    width: 24px;
    height: 24px;
}

/* 按钮 */
.btn {
    padding: 0.65rem 1.6rem;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    border: 1.5px solid transparent;
    cursor: pointer;
    display: inline-block;
    background: transparent;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}
.btn-primary {
    background: var(--primary-color);
    color: #0a0a0a;
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background: #00e690;
    border-color: #00e690;
}
.btn-outline {
    border: 1.5px solid rgba(0, 204, 128, 0.6);
    color: var(--primary-color);
    background: transparent;
}
.btn-outline:hover {
    border-color: var(--primary-color);
    background: rgba(0, 204, 128, 0.08);
}
.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
}
.btn:active {
    opacity: 0.85;
}
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}
.btn.loading {
    position: relative;
    color: transparent;
}
.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid currentColor;
    border-radius: 50%;
    border-right-color: transparent;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 卡片交互状态 */
.card-interactive {
    transition: all 0.3s ease;
    cursor: pointer;
}
.card-interactive:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 204, 128, 0.15);
}
.card-interactive:active {
    transform: translateY(0);
}

/* 卡片组件 */
.card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.card-title {
    font-size: 1.5rem;
    font-weight: 700;
}

/* 统计卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.stat-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 204, 128, 0.15);
}
.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-change {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}
.stat-change.positive {
    color: var(--success-color);
}
.stat-change.negative {
    color: var(--danger-color);
}

/* 表格 */
.table-container {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
}
thead {
    background: rgba(255, 255, 255, 0.02);
}
th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* 状态标签 */
.status-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}
.status-success {
    background: rgba(0, 204, 128, 0.2);
    color: var(--success-color);
}
.status-processing {
    background: rgba(255, 170, 0, 0.2);
    color: var(--warning-color);
}
.status-failed {
    background: rgba(255, 51, 102, 0.2);
    color: var(--danger-color);
}
.status-pending {
    background: rgba(100, 100, 100, 0.2);
    color: var(--text-secondary);
}

/* 进度条 */
.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* 图表容器 */
.chart-container {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 15px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.chart-placeholder {
    text-align: center;
    color: var(--text-secondary);
}

/* Tab 切换 */
.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}
.tab {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
    font-weight: 600;
}
.tab.active {
    color: var(--primary-color);
}
.tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}
.tab.active::after {
    width: 100%;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

/* 团队成员卡片 */
.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.member-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 1rem;
    align-items: center;
}
.member-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
}
.member-info {
    flex: 1;
}
.member-name {
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.member-role {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.member-usage {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

/* 通用区块 */
.section {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.page-content {
    padding: 4rem 2rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
}
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}
.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: rgba(210, 220, 240, 0.9);
}
.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* 动画 */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes slideUp {
    from { opacity: 1; transform: translateX(-50%) translateY(0); }
    to { opacity: 0; transform: translateX(-50%) translateY(-20px); }
}
