/* index 入口页样式 —— SOP §5 */
:root {
    --primary: #3b82f6;
    --success: #22c55e;
    --bg: #f8fafc;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
}

body {
    font-family: "PingHeu SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    background: var(--bg);
    margin: 0;
    padding: 40px 20px;
    color: var(--text);
}

.welcome {
    text-align: center;
    margin-bottom: 40px;
}

.welcome h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.welcome .tagline {
    color: var(--text-muted);
    font-size: 14px;
}

.welcome .time {
    color: #94a3b8;
    font-size: 12px;
    margin-top: 4px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

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

.card-primary { background: linear-gradient(135deg, #e0f2fe 0%, #ffffff 100%); }
.card-success { background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%); }

.card-primary h2 { color: #1e40af; margin-top: 0; }
.card-success h2 { color: #166534; margin-top: 0; }

.card p {
    color: #475569;
    line-height: 1.5;
    margin: 12px 0;
    font-size: 14px;
}

.badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    background: #e2e8f0;
    color: #475569;
}

.card-primary .badge { background: #bfdbfe; color: #1e40af; }
.card-success .badge { background: #bbf7d0; color: #166534; }

.footer {
    text-align: center;
    margin-top: 48px;
    color: #94a3b8;
    font-size: 12px;
}
