body {
    background: #f4f6fa;
    font-family: 'Roboto', '微軟正黑體', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.navbar {
    background: #fff;
    padding: 18px 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
}

.logo {
    text-decoration: none;
    color: #4361ee;
    font-weight: 700;
    transition: color 0.2s;
}
.logo:hover {
    color: #2336a8;
}

main {
    max-width: 800px;
    margin: 40px auto 0 auto;
    padding: 0 16px;
}

.notes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    text-align: justify;
}

.note-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(67, 97, 238, 0.09);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.15s, box-shadow 0.15s;
}

.note-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 30px rgba(67, 97, 238, 0.13);
}

.note-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2336a8;
    margin-bottom: 16px;
}

.note-summary {
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 26px;
}

.note-link {
    align-self: flex-end;
    background: #4361ee;
    color: #fff;
    padding: 8px 22px;
    border-radius: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
    font-size: 1rem;
}
.note-link:hover {
    background: #2336a8;
}
.intro-block {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(67, 97, 238, 0.10);
    padding: 32px 28px 24px 28px;
    margin-bottom: 32px;
    color: #344054;
    font-size: 1.08rem;
    line-height: 1.9;
    text-align: justify;
    letter-spacing: 0.03em;
    position: relative;
}

.intro-title {
    color: #4361ee;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.06em;
}

.intro-btn-group {
    margin-top: 18px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.intro-btn {
    display: inline-flex;
    align-items: center;
    background: #4361ee;
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 9px 22px 9px 16px;
    font-size: 1.03rem;
    font-weight: 500;
    text-decoration: none;
    margin: 0;
    box-shadow: 0 2px 6px rgba(67, 97, 238, 0.09);
    transition: background 0.18s, color 0.18s;
    cursor: pointer;
}
.intro-btn svg { margin-right: 6px; }
.intro-btn:hover { background: #2336a8; color: #fff; }
.intro-btn.intro-btn-outline {
    background: #fff;
    color: #4361ee;
    border: 2px solid #4361ee;
}
.intro-btn.intro-btn-outline:hover {
    background: #4361ee;
    color: #fff;
}

/* 手機響應式 */
@media (max-width: 700px) {
    .notes-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    main {
        margin-top: 20px;
    }
    .note-card {
        padding: 24px 12px;
    }
    .intro-block {
        padding: 18px 5vw 12px 5vw;
        font-size: 0.98rem;
        margin-bottom: 16px;
        line-height: 1.7;
    }
    .intro-title { font-size: 1.08rem; margin-bottom: 13px; }
    .intro-btn-group { flex-direction: column; gap: 10px; }
    .intro-btn, .intro-btn.intro-btn-outline {
        width: 96%;
        margin-left: 2%;
        margin-right: 2%;
        box-sizing: border-box;
        max-width: 100%;
    }
}
