@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Noto+Serif+TC:wght@900&display=swap');

:root {
    --apple-bg: #fbfbfd;
    --apple-text: #1d1d1f;
    --apple-blue: #0071e3;
    --apple-green: #28a745;
    --apple-red: #ff3b30;
    --apple-gold: #b68d40;
    --glass: rgba(255, 255, 255, 0.72);
    --border: rgba(0, 0, 0, 0.08);
}

body {
    background: var(--apple-bg);
    color: var(--apple-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.8;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 850px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

header {
    text-align: left;
    margin-bottom: 4rem;
}

h1 {
    font-family: 'Noto Serif TC';
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-family: 'Noto Serif TC';
    font-size: 1.8rem;
    margin-top: 4rem;
    color: var(--apple-blue);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* UI Components */
.metaphor-box {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    margin: 2.5rem 0;
    border: 1px solid var(--border);
    border-left: 6px solid var(--apple-green);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.metaphor-box::before {
    content: '💡 白話比喻小教室';
    display: block;
    font-weight: 800;
    color: var(--apple-green);
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.law-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border);
    margin: 1.5rem 0;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.law-card:hover {
    transform: translateY(-5px);
}

.law-title {
    font-weight: 800;
    color: var(--apple-gold);
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 3rem 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

th {
    background: #f8f8f9;
    padding: 20px;
    text-align: left;
    font-weight: 700;
    color: #86868b;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

td {
    padding: 25px 20px;
    border-bottom: 1px solid #f0f0f2;
    vertical-align: top;
}

.myth-tag {
    color: var(--apple-red);
    font-weight: 800;
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.cue-box {
    background: rgba(40, 167, 69, 0.06);
    border-left: 4px solid var(--apple-green);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 0.95rem;
}

.cue-box b {
    color: var(--apple-green);
}

.footer-nav {
    margin-top: 6rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-nav {
    color: var(--apple-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-nav:hover {
    text-decoration: underline;
}

footer {
    margin-top: 4rem;
    text-align: center;
    color: #86868b;
    font-size: 0.8rem;
}
