/* ════════════════════════════════════════
   STATIC CONTENT PAGE — Enhanced Design
   (Terms, Privacy, etc.)
════════════════════════════════════════ */

/* ── Hero header ── */
.page-hero {
    position: relative;
    padding: 6.5rem 0 4rem;
    text-align: center;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(0,199,177,.07) 0%, transparent 65%);
    pointer-events: none;
}
.page-hero .page-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 18px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.55);
    font-size: 12px;
    margin-bottom: 1.5rem;
    letter-spacing: .06em;
}
.page-hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.2;
    background: linear-gradient(180deg, #fff 35%, rgba(255,255,255,.55) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}
.page-hero-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,.06) 20%, rgba(0,199,177,.2) 50%, rgba(255,255,255,.06) 80%, transparent);
    margin: 4rem 0 0;
}

/* ── Content body ── */
.page-content-section { padding: 4rem 0 8rem; }
.page-content-inner {
    max-width: 860px;
    margin: 0 auto;
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 24px;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
}
.page-content-inner::before {
    content: '';
    position: absolute;
    top: -100px;
    inset-inline-end: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,199,177,.04) 0%, transparent 65%);
    pointer-events: none;
}

/* Typography for dynamic HTML content */
.page-body-html p {
    color: rgba(255,255,255,.75) !important;
    font-size: 1.4rem !important;
    line-height: 1.9 !important;
    margin-bottom: 1.5rem;
}
.page-body-html h1 {
    color: #fff;
}
.page-body-html h2 {
    color: #fff;
    font-size: 1.5rem;
    margin: 2.75rem 0 1rem;
    padding-inline-start: 1rem;
    border-inline-start: 3px solid #00C7B1;
}
.page-body-html h3 {
    color: rgba(255,255,255,.9);
    font-size: 1.2rem;
    margin: 2rem 0 .75rem;
}
.page-body-html ul, .page-body-html ol {
    color: rgba(255,255,255,.72);
    padding-inline-start: 1.5rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}
.page-body-html li { margin-bottom: .4rem; }
.page-body-html a {
    color: #00C7B1;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.page-body-html strong, .page-body-html b { color: #fff; font-weight: 700; }
.page-body-html blockquote {
    border-inline-start: 3px solid #00C7B1;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(0,199,177,.05);
    border-radius: 0 12px 12px 0;
    color: rgba(255,255,255,.7);
}
.page-body-html hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,.08);
    margin: 2.5rem 0;
}
.page-body-html table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}
.page-body-html th {
    color: #00C7B1;
    font-size: .88rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid rgba(0,199,177,.2);
    text-align: start;
}
.page-body-html td {
    color: rgba(255,255,255,.65);
    font-size: .88rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

/* ── Last updated badge ── */
.page-updated-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.35);
    font-size: .8rem;
    margin-bottom: 2.5rem;
    padding: 4px 12px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 100px;
    background: rgba(255,255,255,.02);
}
.page-updated-badge svg { width: 12px; height: 12px; stroke: rgba(0,199,177,.5); fill: none; }

@media (max-width: 1024px) {
    .page-content-inner { padding: 2.5rem 2rem; }
}
@media (max-width: 768px) {
    .page-hero { padding: 5rem 0 3rem; }
    .page-content-section { padding: 2.5rem 0 5rem; }
    .page-content-inner { border-radius: 16px; padding: 2rem 1.5rem; }
}
@media (max-width: 614px) {
    .page-hero h1 { font-size: 2rem; }
    .page-body-html p { font-size: 1rem !important; }
    .page-body-html h2 { font-size: 1.25rem; }
}

/* ── Light mode overrides ── */
body.light-mode .page-hero .page-hero-tag {
    border-color: rgba(0,0,0,.12);
    background: rgba(0,0,0,.03);
    color: rgba(0,0,0,.55);
}
body.light-mode .page-hero h1 {
    background: linear-gradient(180deg, #0a0a0a 35%, rgba(0,0,0,.55) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.light-mode .page-hero-divider {
    background: linear-gradient(to right, transparent, rgba(0,0,0,.08) 20%, rgba(0,199,177,.3) 50%, rgba(0,0,0,.08) 80%, transparent);
}
body.light-mode .page-content-inner {
    background: rgba(0,0,0,.015);
    border-color: rgba(0,0,0,.07);
}
body.light-mode .page-body-html p { color: rgba(0,0,0,.72) !important; }
body.light-mode .page-body-html h1 { color: #111; }
body.light-mode .page-body-html h2 { color: #111; }
body.light-mode .page-body-html h3 { color: rgba(0,0,0,.82); }
body.light-mode .page-body-html ul,
body.light-mode .page-body-html ol { color: rgba(0,0,0,.65); }
body.light-mode .page-body-html strong,
body.light-mode .page-body-html b { color: #111; }
body.light-mode .page-body-html blockquote { color: rgba(0,0,0,.65); background: rgba(0,199,177,.04); }
body.light-mode .page-body-html hr { border-top-color: rgba(0,0,0,.1); }
body.light-mode .page-body-html td { color: rgba(0,0,0,.6); border-bottom-color: rgba(0,0,0,.07); }
body.light-mode .page-body-html th { border-bottom-color: rgba(0,199,177,.25); }
body.light-mode .page-updated-badge {
    color: rgba(0,0,0,.4);
    border-color: rgba(0,0,0,.08);
    background: rgba(0,0,0,.02);
}
