/* ==============================
   Shared styles for sub-pages (privacy, terms)
   全站共用外殼 —— 淺色，與 index.html / business.html 一致
   ============================== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
    font-family: 'Outfit', 'Noto Sans TC', sans-serif;
    background: #F8FAFC;
    color: #1E293B;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; }

/* ===== NAV（與 index.html 一致）===== */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1rem 2.5rem;
    display: flex; align-items: center; justify-content: space-between;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    background: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(0,0,0,0.07);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.logo {
    display: flex; align-items: center; gap: 0.6rem;
    font-weight: 700; font-size: 1.4rem; letter-spacing: -0.03em;
    color: #1E293B; text-decoration: none;
}
.logo img { width: 34px; height: 34px; object-fit: contain; }
.nav-mid { display: flex; gap: 2rem; flex: 1; justify-content: center; }
.nav-mid a {
    color: #475569; text-decoration: none;
    font-size: 0.95rem; font-weight: 400; transition: color 0.2s;
}
.nav-mid a:hover, .nav-mid a.active { color: #1E2951; }
.nav-mid a.active { font-weight: 600; }
.nav-dl {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 1.4rem; border-radius: 10px;
    background: #1E2951; color: #fff; text-decoration: none;
    font-size: 0.95rem; font-weight: 600; transition: all 0.2s;
}
.nav-dl:hover { background: #141B3B; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(30,41,81,0.3); }
.nav-dl svg { width: 16px; height: 16px; }
@media (max-width: 968px) {
    nav { padding: 1rem 1.5rem; }
    .nav-mid { display: none; }
}

/* ===== 法務頁內文 ===== */
.page-content { max-width: 800px; margin: 0 auto; padding: 120px 5% 80px; }
.page-content h1 {
    font-size: 2.8rem; font-weight: 800; margin-bottom: 12px;
    line-height: 1.2; letter-spacing: -0.03em; color: #0F1220;
}
.page-meta {
    color: #64748B; font-size: 0.9rem; margin-bottom: 48px;
    padding-bottom: 24px; border-bottom: 1px solid rgba(0,0,0,0.07);
}
.page-subtitle { color: #64748B; font-size: 1.15rem; margin-bottom: 48px; }
.page-content section { margin-bottom: 40px; }
.page-content h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; color: #1E293B; }
.page-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; margin-top: 20px; color: #1E293B; }
.page-content p { color: #475569; font-size: 0.95rem; line-height: 1.8; margin-bottom: 12px; }
.page-content ul { list-style: none; padding: 0; margin-bottom: 16px; }
.page-content ul li {
    color: #475569; font-size: 0.95rem; line-height: 1.8;
    padding-left: 20px; position: relative; margin-bottom: 6px;
}
.page-content ul li::before {
    content: ''; position: absolute; left: 0; top: 11px;
    width: 6px; height: 6px; border-radius: 50%; background: #2B5BD7;
}
.page-content a { color: #2B5BD7; text-decoration: none; transition: color 0.2s; }
.page-content a:hover { color: #1E2951; }
.page-content strong { color: #1E293B; font-weight: 700; }

/* ===== 頁尾（與 index.html 一致）===== */
footer {
    border-top: 1px solid rgba(0,0,0,0.07);
    padding: 2.5rem 2.5rem; max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
}
.foot-l { font-size: 0.85rem; color: #64748B; }
.foot-r { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.foot-r a { font-size: 0.85rem; color: #64748B; text-decoration: none; transition: color 0.2s; }
.foot-r a:hover { color: #1E293B; }

/* Responsive */
@media (max-width: 600px) {
    .page-content { padding-top: 100px; }
    .page-content h1 { font-size: 2rem; }
}
