/* VidZip 共享样式 - 所有子页面共用(support/privacy/eula/blog)
   index.html 因 hero 区域特殊,样式内联;其余页面引入本文件 */

:root {
    --brand: #0A84FF;
    --brand-dark: #0060DF;
    --accent: #34C759;
    --warn: #FF9500;
    --bg: #0A1620;
    --surface: #142536;
    --surface2: #1B2E44;
    --text: #E8EDF4;
    --text2: #8B97A8;
    --text3: #5F6B7C;
    --border: rgba(255,255,255,0.08);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }

/* 页面头部(小 logo + 标题) */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}
.page-header .logo {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px; font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(10,132,255,0.3);
}
.page-header h1 {
    font-size: 1.9rem;
    font-weight: 800;
}
.page-header .subtitle {
    font-size: 0.95rem;
    color: var(--text2);
    margin-top: 8px;
}
.page-header .effective {
    font-size: 0.78rem;
    color: var(--text3);
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
    margin-top: 12px;
    letter-spacing: 0.5px;
}

/* 联系卡片(support 用) */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
}
.card.center { text-align: center; }
.card h2 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--text2); font-size: 0.92rem; }

.btn {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 32px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
}
.btn:hover { text-decoration: none; opacity: 0.9; }

/* FAQ / 协议条目 */
.item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 12px;
}
.item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}
.item p {
    font-size: 0.9rem;
    color: var(--text2);
}

/* 协议编号块(privacy/eula 用) */
.legal-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 12px;
}
.legal-section .num {
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text3);
    letter-spacing: 1px;
}
.legal-section h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 6px 0 10px;
    color: var(--text);
}
.legal-section .body {
    font-size: 0.9rem;
    color: var(--text2);
    line-height: 1.7;
}
.legal-section .body strong { color: var(--text); }
.legal-section .body code {
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
    background: var(--surface2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
}

h2.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 32px 0 16px;
}

/* 页脚 */
footer {
    text-align: center;
    padding: 28px 24px;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--text3);
}
footer a { color: var(--text2); margin: 0 8px; }

/* 博客文章排版 */
.article h1 { font-size: 1.9rem; font-weight: 800; line-height: 1.3; margin-bottom: 8px; }
.article .meta { color: var(--text3); font-size: 0.85rem; margin-bottom: 28px; }
.article h2 { font-size: 1.3rem; font-weight: 700; margin: 32px 0 12px; }
.article h3 { font-size: 1.1rem; font-weight: 600; margin: 24px 0 10px; }
.article p { margin-bottom: 16px; color: var(--text); }
.article ul, .article ol { margin: 0 0 16px 24px; color: var(--text); }
.article li { margin-bottom: 6px; }
.article .cta-box {
    background: linear-gradient(135deg, rgba(10,132,255,0.12), rgba(10,132,255,0.04));
    border: 1px solid rgba(10,132,255,0.25);
    border-radius: 16px;
    padding: 24px;
    margin: 32px 0;
    text-align: center;
}
.article .cta-box h3 { margin-top: 0; }
.article code {
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
    background: var(--surface2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.88em;
}
.back-link {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text2);
}

@media (max-width: 600px) {
    .container { padding: 40px 18px 60px; }
    .page-header h1 { font-size: 1.5rem; }
    .article h1 { font-size: 1.5rem; }
}
