/* ============================================
   远辰智联 - 科技风深色主题 (参考图对齐版)
   核心风格：深色底 / 绿色强调 / 发光效果 / 方形圆角
   ============================================ */

/* ===== CSS 变量系统 ===== */
:root {
    --bg-deep: #030305;
    --bg-primary: #08080c;
    --bg-surface: #0e0e14;
    --bg-elevated: #15151d;
    --bg-card: #111118;
    --bg-hover: #1a1a24;
    
    --text-primary: #eeeeee;
    --text-secondary: #9999aa;
    --text-tertiary: #666677;
    --text-muted: #444455;
    
    --accent: #00e676;
    --accent-dark: #00c853;
    --accent-glow: rgba(0, 230, 118, 0.15);
    --accent-bright: rgba(0, 230, 118, 0.5);
    --accent-subtle: rgba(0, 230, 118, 0.06);
    
    --border: #1c1c28;
    --border-light: #2a2a38;
    --divider: #14141c;
    
    --error: #ff4757;
    --warning: #ffa502;
    --info: #3742fa;

    --shadow-sm: 0 2px 12px rgba(0,0,0,0.5);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.6);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.7);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex; flex-direction: column;
}
a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ===== Header / 导航栏 ===== */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(8, 8, 12, 0.88);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 66px; gap: 32px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-primary); flex-shrink: 0; }
.logo-icon {
    width: 36px; height: 36px; min-width: 36px;
    background: linear-gradient(135deg, var(--accent) 0%, #00b860 100%);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 13px; color: #000;
    letter-spacing: -1px; border-radius: 3px;
    box-shadow: 0 0 16px rgba(0,230,118,0.25);
}
.logo-text { font-size: 17px; font-weight: 700; letter-spacing: -0.3px; }

/* 导航链接 */
.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links a {
    display: inline-flex; align-items: center; padding: 8px 18px;
    color: var(--text-secondary); font-size: 14px; font-weight: 500;
    border-radius: 3px; transition: all 0.2s ease; position: relative;
}
.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav-links a.active {
    color: var(--accent); background: var(--accent-subtle);
}
.nav-links a.active::after {
    content: ''; position: absolute; bottom: -1px; left: 50%; transform: translateX(-50%);
    width: 18px; height: 2px; background: var(--accent); border-radius: 1px;
}

/* Header 右侧操作区 */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* IP 显示 */
.ip-display {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border); border-radius: 3px;
}
.ip-label { font-size: 11px; color: var(--text-muted); letter-spacing: 0.7px; font-weight: 600; text-transform: uppercase; }
.ip-value {
    font-size: 13px; color: var(--accent); font-weight: 700;
    font-family: "SF Mono", "Consolas", "Monaco", "Courier New", monospace;
    letter-spacing: 0.3px;
}

/* ===== Buttons 按钮 ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 24px; font-size: 13px; font-weight: 600;
    letter-spacing: 0.3px; border-radius: 3px; border: none;
    cursor: pointer; transition: all 0.25s ease; white-space: nowrap; gap: 6px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #000; box-shadow: 0 2px 12px rgba(0,230,118,0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,230,118,0.35);
}
.btn-outline {
    background: transparent; color: var(--text-primary);
    border: 1px solid var(--border-light);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(0,230,118,0.05); }
.btn-ghost { background: transparent; color: var(--text-secondary); padding: 8px 16px; }
.btn-ghost:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.btn-sm { padding: 7px 16px; font-size: 12px; }
.btn-block { width: 100%; }
.btn-danger { background: var(--error); color: #fff; }
.btn-danger:hover { opacity: 0.9; }
.btn-disabled, .btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }

/* ============================================
   HERO SECTION - 核心英雄区 (参考图核心)
   ============================================ */
.hero {
    position: relative; overflow: hidden;
    min-height: 620px; display: flex; align-items: center;
    background:
        radial-gradient(ellipse at 55% 40%, rgba(0,230,118,0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(0,200,83,0.03) 0%, transparent 40%),
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-primary) 50%, var(--bg-surface) 100%);
    border-bottom: 1px solid var(--border);
}

/* 网格背景线 */
.hero-grid-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0,230,118,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,230,118,0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 65% 60% at 55% 45%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 65% 60% at 55% 45%, black 20%, transparent 70%);
}

/* 粒子动画 */
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.particle {
    position: absolute; width: 3px; height: 3px;
    background: var(--accent); border-radius: 50%;
    opacity: 0; animation: particleFloat 7s infinite ease-in-out;
    box-shadow: 0 0 6px var(--accent), 0 0 12px rgba(0,230,118,0.3);
}
.particle:nth-child(1) { left: 15%; top: 50%; animation-delay: 0s; }
.particle:nth-child(2) { left: 82%; top: 22%; animation-delay: 1.5s; }
.particle:nth-child(3) { left: 55%; top: 72%; animation-delay: 3s; }
.particle:nth-child(4) { left: 30%; top: 30%; animation-delay: 4.5s; }
.particle:nth-child(5) { left: 70%; top: 55%; animation-delay: 6s; }
@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    10% { opacity: 0.9; transform: scale(1); }
    80% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-80px) scale(0.2); }
}

.hero-body {
    position: relative; z-index: 2; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
    padding: 96px 0 88px;
}

/* ---- 左侧文字区 ---- */
.hero-left { max-width: 560px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 18px;
    background: rgba(0,230,118,0.06);
    border: 1px solid rgba(0,230,118,0.18);
    border-radius: 3px;
    font-size: 13px; font-weight: 600; color: var(--accent);
    letter-spacing: 0.5px; margin-bottom: 28px;
}
.badge-dot {
    width: 7px; height: 7px; min-width: 7px;
    background: var(--accent); border-radius: 50%;
    animation: badgePulse 2.2s infinite ease-in-out;
    box-shadow: 0 0 8px var(--accent-bright);
}
@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px var(--accent-bright); }
    50% { opacity: 0.5; transform: scale(0.85); box-shadow: 0 0 2px transparent; }
}

.hero-title {
    font-size: 52px; font-weight: 900; letter-spacing: -1.5px;
    line-height: 1.1; margin-bottom: 24px;
    color: #ffffff;
}
.hero-title .highlight-green {
    color: var(--accent);
    text-shadow: 0 0 30px rgba(0,230,118,0.3), 0 0 60px rgba(0,230,118,0.1);
}

.hero-desc {
    font-size: 16px; color: var(--text-secondary); line-height: 1.78;
    margin-bottom: 36px; max-width: 480px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }
.hero-actions .btn { padding: 14px 30px; font-size: 14px; font-weight: 600; }

/* 特性标签行 */
.hero-tags { display: flex; flex-wrap: wrap; gap: 24px; }
.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; color: var(--text-secondary); font-weight: 500;
}
.hero-tag svg { 
    width: 18px; height: 18px; 
    color: var(--accent); flex-shrink: 0; 
    stroke-width: 2.5;
    filter: drop-shadow(0 0 4px rgba(0,230,118,0.3));
}

/* ---- 右侧 3D 视觉区 ---- */
.hero-right {
    position: relative; height: 440px; display: flex; align-items: center; justify-content: center;
}

/* 底层发光圆环 */
.glow-ring {
    position: absolute; width: 340px; height: 340px;
    border: 1px solid rgba(0,230,118,0.1);
    border-radius: 50%;
    animation: ringSpin 24s linear infinite;
    box-shadow:
        0 0 40px rgba(0,230,118,0.05),
        inset 0 0 40px rgba(0,230,118,0.02);
}
.glow-ring::before {
    content: ''; position: absolute; inset: -24px;
    border: 1px dashed rgba(0,230,118,0.06); border-radius: 50%;
}
.glow-ring-inner {
    position: absolute; width: 260px; height: 260px;
    border: 1px solid rgba(0,230,118,0.07);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(0,230,118,0.04), inset 0 0 30px rgba(0,230,118,0.02);
}
@keyframes ringSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* 中心 3D 立方体 */
.hero-cube {
    position: relative; z-index: 3; width: 170px; height: 170px;
    perspective: 700px;
    animation: cubeHover 5s ease-in-out infinite;
}
.cube-scene {
    width: 100%; height: 100%; position: relative;
    transform-style: preserve-3d;
    animation: cubeRotate 15s linear infinite;
}
@keyframes cubeRotate { from { transform: rotateX(-15deg) rotateY(0deg); } to { transform: rotateX(-15deg) rotateY(360deg); } }
@keyframes cubeHover {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.cube-face {
    position: absolute; width: 170px; height: 170px;
    background: linear-gradient(135deg, rgba(0,230,118,0.08) 0%, rgba(0,200,83,0.03) 100%);
    border: 1px solid rgba(0,230,118,0.22);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    font-size: 48px; font-weight: 900; color: var(--accent);
    letter-spacing: -3px;
    text-shadow: 0 0 30px var(--accent-bright), 0 0 60px rgba(0,230,118,0.2);
    box-shadow: inset 0 0 30px rgba(0,230,118,0.05);
}
.cube-front  { transform: translateZ(85px); }
.cube-back   { transform: rotateY(180deg) translateZ(85px); opacity: 0.4; }
.cube-left   { transform: rotateY(-90deg) translateZ(85px); opacity: 0.35; }
.cube-right  { transform: rotateY(90deg) translateZ(85px); opacity: 0.35; }
.cube-top    { transform: rotateX(90deg) translateZ(85px); opacity: 0.25; }
.cube-bottom { transform: rotateX(-90deg) translateZ(85px); opacity: 0.2; }

/* 悬浮数据卡片 */
.stat-float {
    position: absolute; z-index: 5;
    background: rgba(14, 14, 20, 0.9);
    border: 1px solid rgba(0,230,118,0.14);
    border-radius: 4px; padding: 14px 20px; min-width: 130px;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 20px rgba(0,230,118,0.04);
    animation: statFloat 4s ease-in-out infinite;
}
.stat-float-label { font-size: 11px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.5px; margin-bottom: 5px; text-transform: uppercase; }
.stat-float-value { font-size: 26px; font-weight: 800; color: var(--accent); letter-spacing: -0.8px; line-height: 1; }
.stat-float-value small { font-size: 14px; font-weight: 600; margin-left: 1px; }

.sf-1 { top: -5px; right: -15px; animation-delay: 0s; }
.sf-2 { bottom: 90px; left: -35px; animation-delay: 1.2s; }
.sf-3 { top: 25px; left: -25px; animation-delay: 2.4s; }
.sf-4 { bottom: 15px; right: -25px; animation-delay: 3.6s; }

@keyframes statFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Section 分割标题 */
.section-divider-bar {
    display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 48px;
    color: var(--text-muted); font-size: 12px; letter-spacing: 4px; font-weight: 600;
    text-transform: uppercase;
}
.section-divider-bar::before,
.section-divider-bar::after {
    content: ''; flex: 1; max-width: 220px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

/* ============================================
   Section 布局
   ============================================ */
.section { padding: 88px 0; }
.section-header { margin-bottom: 52px; text-align: center; }
.section-title {
    font-size: 34px; font-weight: 800; letter-spacing: -1px;
    line-height: 1.2; margin-bottom: 14px; color: var(--text-primary);
}
.section-subtitle { font-size: 15px; color: var(--text-secondary); max-width: 520px; margin: 0 auto; line-height: 1.65; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================
   Project Cards 项目卡片 (参考图大卡片)
   ============================================ */
.project-card {
    position: relative; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: 4px;
    padding: 36px 32px; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.project-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--accent), var(--accent-dark));
    opacity: 0; transition: opacity 0.35s ease;
}
.project-card::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(0,230,118,0.04) 0%, transparent 50%);
    opacity: 0; transition: opacity 0.35s ease;
}
.project-card:hover {
    border-color: rgba(0,230,118,0.25);
    background: var(--bg-elevated);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,230,118,0.08);
}
.project-card:hover::before { opacity: 1; }
.project-card:hover::after { opacity: 1; }

.pc-icon {
    width: 60px; height: 60px; margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(0,230,118,0.1) 0%, rgba(0,200,83,0.04) 100%);
    border: 1px solid rgba(0,230,118,0.18);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: var(--accent);
    position: relative; z-index: 1;
}
.pc-title { 
    font-size: 19px; font-weight: 700; margin-bottom: 12px; 
    letter-spacing: -0.3px; position: relative; z-index: 1;
}
.pc-desc { 
    font-size: 14px; color: var(--text-secondary); 
    line-height: 1.75; margin-bottom: 22px; position: relative; z-index: 1;
}
.pc-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: var(--accent);
    transition: all 0.25s ease; position: relative; z-index: 1;
}
.pc-link:hover { gap: 12px; }
.pc-num {
    position: absolute; bottom: 18px; right: 22px;
    font-size: 44px; font-weight: 900; color: var(--bg-elevated);
    letter-spacing: -2px; line-height: 1; z-index: 0;
    user-select: none;
}

/* ============================================   
   Cards 通用卡片
   ============================================ */
.card {
    background: var(--bg-surface); border: 1px solid var(--border);
    border-radius: 4px; overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { 
    transform: translateY(-4px); 
    border-color: var(--border-light); 
    box-shadow: var(--shadow-md); 
}
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--bg-elevated); }
.card-body { padding: 22px; }
.card-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.35; }
.card-text { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }
.card-meta { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-size: 12px; color: var(--text-muted); flex-wrap: wrap; }

/* ============================================
   Service Cards 服务卡片
   ============================================ */
.service-card {
    background: var(--bg-surface); border: 1px solid var(--border);
    border-radius: 4px; padding: 34px 30px; text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--accent), transparent);
    opacity: 0; transition: opacity 0.3s ease;
}
.service-card:hover { 
    border-color: rgba(0,230,118,0.2); 
    background: var(--bg-elevated); 
    transform: translateY(-5px); 
    box-shadow: 0 10px 36px rgba(0,0,0,0.45); 
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 54px; height: 54px; 
    background: linear-gradient(135deg, rgba(0,230,118,0.1) 0%, rgba(0,200,83,0.03) 100%);
    border: 1px solid rgba(0,230,118,0.16); border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px; font-size: 24px; color: var(--accent);
}
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.3px; }
.service-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* Status badges for services */
.status-badge {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
    padding: 5px 14px; font-size: 12px; font-weight: 600; border-radius: 3px;
}
.status-available { background: rgba(0,230,118,0.1); color: var(--accent); border: 1px solid rgba(0,230,118,0.2); }
.status-unavailable { background: rgba(255,165,2,0.08); color: var(--warning); border: 1px solid rgba(255,165,2,0.15); }

/* ============================================
   Bottom Status Bar 底部状态栏
   ============================================ */
.status-bar {
    background: var(--bg-surface); 
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 24px 0; margin-top: auto;
}
.status-bar-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
}
.status-item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 24px; border-right: 1px solid var(--border);
    transition: background 0.2s ease;
}
.status-item:last-child { border-right: none; }
.status-item:hover { background: rgba(255,255,255,0.01); }
.status-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    background: linear-gradient(135deg, rgba(0,230,118,0.08) 0%, rgba(0,200,83,0.03) 100%);
    border: 1px solid rgba(0,230,118,0.14);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 17px;
}
.si-label { font-size: 12px; color: var(--text-muted); font-weight: 600; margin-bottom: 3px; letter-spacing: 0.3px; }
.si-value { font-size: 14px; color: var(--text-secondary); font-weight: 600; }

/* ============================================
   Footer 页脚
   ============================================ */
.site-footer {
    background: #050508; border-top: 1px solid var(--border);
    padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 52px; }
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 300px; }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.4px; color: var(--text-primary); margin-bottom: 20px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 14px; color: var(--text-muted); transition: all 0.15s ease; }
.footer-col a:hover { color: var(--text-primary); padding-left: 4px; }
.footer-bottom {
    padding: 26px 0; border-top: 1px solid var(--divider);
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
}
.footer-copyright { font-size: 13px; color: var(--text-muted); line-height: 1.75; }
.footer-copyright a { color: var(--text-tertiary); }
.footer-copyright a:hover { color: var(--accent); }
.footer-credits { font-size: 12px; color: var(--text-muted); }

/* ============================================
   Form 表单
   ============================================ */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--text-secondary); margin-bottom: 9px; letter-spacing: 0.3px;
}
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 13px 17px;
    background: var(--bg-elevated); color: var(--text-primary);
    border: 1px solid var(--border); border-radius: 4px;
    font-size: 14px; font-family: inherit;
    transition: all 0.2s ease; outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--accent); 
    box-shadow: 0 0 0 3px var(--accent-glow), 0 0 20px rgba(0,230,118,0.06);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }

/* Badges */
.badge { 
    display: inline-flex; align-items: center; padding: 4px 12px; 
    font-size: 11px; font-weight: 700; letter-spacing: 0.4px; border-radius: 3px; 
}
.badge-pending { background: rgba(255,165,2,0.12); color: var(--warning); }
.badge-approved { background: rgba(0,230,118,0.12); color: var(--accent); }
.badge-rejected { background: rgba(255,71,87,0.12); color: var(--error); }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 4px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead { background: var(--bg-elevated); }
th { 
    padding: 14px 18px; text-align: left; font-weight: 700; 
    font-size: 12px; letter-spacing: 0.5px; color: var(--text-secondary); 
    text-transform: uppercase; border-bottom: 1px solid var(--border); 
}
td { padding: 15px 18px; border-bottom: 1px solid var(--divider); vertical-align: middle; color: var(--text-secondary); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg-elevated); }

/* Auth Pages */
.auth-page { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 180px); padding: 40px 20px; }
.auth-box { 
    width: 100%; max-width: 440px; 
    background: var(--bg-surface); border: 1px solid var(--border); 
    border-radius: 6px; padding: 44px 38px; 
    box-shadow: var(--shadow-lg);
}
.auth-header { text-align: center; margin-bottom: 34px; }
.auth-header h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 8px; }
.auth-header p { font-size: 14px; color: var(--text-secondary); }
.auth-footer { text-align: center; margin-top: 26px; font-size: 14px; color: var(--text-secondary); }
.auth-footer a { color: var(--accent); font-weight: 600; }

/* Alert Messages */
.alert { 
    padding: 14px 20px; border-radius: 4px; font-size: 14px; 
    margin-bottom: 18px; border-left: 4px solid; 
    display: flex; align-items: center; gap: 10px;
}
.alert-success { background: rgba(0,230,118,0.08); border-color: var(--accent); color: var(--accent); }
.alert-error { background: rgba(255,71,87,0.08); border-color: var(--error); color: var(--error); }
.alert-warning { background: rgba(255,165,2,0.08); border-color: var(--warning); color: var(--warning); }

/* Dashboard Stats */
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-bottom: 36px; }
.stat-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 4px; padding: 26px; transition: all 0.2s ease; }
.stat-card:hover { border-color: var(--border-light); transform: translateY(-2px); }
.stat-label { font-size: 12px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.stat-value { font-size: 34px; font-weight: 800; letter-spacing: -1px; }
.stat-value.green { color: var(--accent); }
.stat-value.orange { color: var(--warning); }
.stat-value.blue { color: var(--info); }

/* Modal */
.modal-overlay { 
    position: fixed; inset: 0; 
    background: rgba(0,0,0,0.75); backdrop-filter: blur(6px); 
    z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; 
}
.modal-box { 
    background: var(--bg-surface); border: 1px solid var(--border); 
    border-radius: 6px; width: 100%; max-width: 540px; 
    max-height: 85vh; overflow-y: auto; 
    box-shadow: 0 24px 80px rgba(0,0,0,0.6); 
}
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--border); }
.modal-header h3 { font-size: 17px; font-weight: 700; }
.modal-close { 
    width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; 
    background: var(--bg-elevated); border: 1px solid var(--border); 
    border-radius: 4px; color: var(--text-secondary); cursor: pointer; 
    font-size: 18px; transition: all 0.15s ease; 
}
.modal-close:hover { background: var(--error); border-color: var(--error); color: #fff; }
.modal-body { padding: 26px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 26px; border-top: 1px solid var(--border); }

/* Admin Sidebar */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { 
    width: 250px; background: #06060a; 
    border-right: 1px solid var(--border); 
    padding: 24px 0; flex-shrink: 0; 
    position: fixed; top: 0; left: 0; bottom: 0; overflow-y: auto; 
}
.admin-logo { padding: 0 24px 28px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.admin-nav { list-style: none; padding: 0 12px; }
.admin-nav li { margin-bottom: 3px; }
.admin-nav a { 
    display: flex; align-items: center; gap: 12px; 
    padding: 12px 16px; color: var(--text-secondary); 
    font-size: 14px; font-weight: 500; border-radius: 4px; 
    transition: all 0.15s ease; 
}
.admin-nav a:hover { color: var(--text-primary); background: var(--bg-elevated); }
.admin-nav a.active { color: var(--accent); background: var(--accent-subtle); border-left: 3px solid var(--accent); }
.admin-main { flex: 1; margin-left: 250px; padding: 34px; background: var(--bg-primary); }
.admin-page-header { margin-bottom: 34px; }
.admin-page-header h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.admin-page-header p { font-size: 14px; color: var(--text-secondary); margin-top: 8px; }

/* Empty State & Pagination */
.empty-state { text-align: center; padding: 64px 20px; color: var(--text-muted); }
.empty-state h3 { font-size: 18px; color: var(--text-secondary); margin-bottom: 8px; }
.empty-state p { font-size: 14px; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 30px; }
.pagination a, .pagination span { 
    display: inline-flex; align-items: center; justify-content: center; 
    min-width: 38px; height: 38px; padding: 0 13px; 
    font-size: 13px; font-weight: 600; border-radius: 4px; 
    border: 1px solid var(--border); color: var(--text-secondary); transition: all 0.15s ease; 
}
.pagination a:hover { background: var(--bg-elevated); color: var(--text-primary); border-color: var(--border-light); }
.pagination .active { background: var(--accent); border-color: var(--accent); color: #000; }

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.hidden { display: none !important; }
.flex { display: flex; } 
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ============================================
   Responsive 响应式
   ============================================ */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    .hero-body { grid-template-columns: 1fr; gap: 48px; }
    .hero-right { height: 340px; }
    .status-bar-grid { grid-template-columns: repeat(3, 1fr); }
    .sf-3 { left: -10px; }
    .sf-4 { right: -10px; }
}

@media (max-width: 768px) {
    .header-inner { height: 58px; gap: 16px; }
    .nav-links { display: none; }
    .hero { min-height: auto; padding: 52px 0 64px; }
    .hero-title { font-size: 36px; letter-spacing: -1px; }
    .hero-desc { font-size: 15px; }
    .hero-right { display: none; }
    .section { padding: 56px 0; }
    .section-title { font-size: 26px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .admin-sidebar { width: 200px; }
    .admin-main { margin-left: 200px; padding: 20px; }
    .auth-box { padding: 32px 26px; }
    .status-bar-grid { grid-template-columns: 1fr; }
    .status-item { border-right: none !important; border-bottom: 1px solid var(--border); }
    .pc-num { font-size: 32px; }
    .project-card { padding: 28px 24px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 30px; letter-spacing: -0.8px; }
    .btn { padding: 10px 18px; font-size: 12px; }
    .hero-badge { font-size: 12px; padding: 6px 14px; }
    .hero-tags { gap: 14px; }
    .hero-tag { font-size: 13px; }
}
