/* Zivv Tech — 法律/定价页共享样式 */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #060608;
    --bg-elevated: #0c0c10;
    --bg-card: #111118;
    --border: #1a1a24;
    --border-hover: #2a2a3a;
    --text: #e8e8ed;
    --text-secondary: #8888a0;
    --accent: #00e5a0;
    --accent-dim: #00e5a018;
    --accent-mid: #00e5a040;
    --font: 'DM Sans', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #060608cc;
    backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: var(--mono);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-mark {
    width: 28px; height: 28px;
    background: var(--accent);
    border-radius: 6px;
    display: grid;
    place-items: center;
    color: var(--bg);
    font-weight: 600;
    font-size: 0.85rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

/* ── LEGAL / CONTENT PAGE ── */
.page {
    max-width: 820px;
    margin: 0 auto;
    padding: 140px clamp(1.5rem, 5vw, 4rem) 80px;
}

.page-label {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.page h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.page .updated {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-family: var(--mono);
}

.page h2 {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 2.5rem 0 1rem;
}

.page h3 {
    font-size: 1.05rem;
    font-weight: 500;
    margin: 1.5rem 0 0.5rem;
}

.page p, .page li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.page ul, .page ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.page li { margin-bottom: 0.5rem; }

.page a { color: var(--accent); text-decoration: none; }
.page a:hover { text-decoration: underline; }

.page strong { color: var(--text); font-weight: 500; }

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-top: 1.5rem;
}
.contact-card p { margin-bottom: 0.4rem; }

/* ── PRICING ── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border-color: var(--accent-mid);
    box-shadow: 0 0 40px var(--accent-dim);
}

.price-card .tier {
    font-size: 0.8rem;
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.price-card .amount {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.price-card .amount span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.price-card .tier-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 300;
    margin: 0.75rem 0 1.5rem;
    min-height: 2.5rem;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex: 1;
}

.price-card li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 300;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 0.5rem;
}

.price-card li::before { content: '✓'; color: var(--accent); }

.price-btn {
    text-align: center;
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
}

.price-btn.primary { background: var(--accent); color: var(--bg); }
.price-btn.primary:hover { filter: brightness(1.1); }
.price-btn.outline { border: 1px solid var(--border-hover); color: var(--text); }
.price-btn.outline:hover { background: var(--bg-card); border-color: var(--accent-mid); }

.pricing-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 300;
    margin-top: 1rem;
}

/* ── FOOTER ── */
footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

@media (max-width: 768px) {
    .nav-links { display: none; }
}
