* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f3f0;
    color: #2c2c2c;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.test-card {
    background: #fff;
    border: 2px solid #e0ddd8;
    padding: 30px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    border-radius: 8px;
}

.test-card:hover {
    border-color: #4a90e2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.test-card .icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
}

.test-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #2c2c2c;
}

.test-card p {
    color: #666;
    font-size: 0.95rem;
}

.footer {
    text-align: center;
    margin-top: 40px;
}

.btn-report {
    display: inline-block;
    background: #4a90e2;
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border-radius: 6px;
}

.btn-report:hover {
    background: #357abd;
}

/* 測試頁面通用樣式 */
.test-page {
    text-align: center;
}

.test-area {
    background: #fff;
    border: 2px solid #e0ddd8;
    padding: 40px;
    margin: 30px 0;
    min-height: 400px;
    border-radius: 8px;
}

.btn {
    background: #4a90e2;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin: 10px;
    transition: all 0.2s;
    border-radius: 6px;
}

.btn:hover {
    background: #357abd;
}

.btn-secondary {
    background: #e0ddd8;
    color: #2c2c2c;
}

.btn-secondary:hover {
    background: #d0cdc8;
}

.status {
    display: inline-block;
    padding: 8px 20px;
    margin: 10px;
    font-weight: 600;
    border-radius: 6px;
}

.status.pass {
    background: #5cb85c;
    color: #fff;
}

.status.fail {
    background: #d9534f;
    color: #fff;
}

.back-link {
    display: inline-block;
    color: #666;
    text-decoration: none;
    margin-top: 30px;
}

.back-link:hover {
    color: #4a90e2;
}

.footer-credit {
    text-align: center;
    margin-top: 60px;
    padding: 20px 0;
    color: #999;
    font-size: 0.9rem;
    border-top: 1px solid #e0ddd8;
}

.footer-credit a {
    color: #4a90e2;
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}
