/* ============================================================
   inner.css
   Shared styles for ALL inner pages (loaded whenever a page
   sets $page). Page-specific styles live in assets/css/<page>.css.
   ============================================================ */

/* On inner pages the header is solid from the top (so the nav stays
   readable over a dark banner, in both light and dark themes). */
.site-header {
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
}

/* ---------- INNER-PAGE BANNER (reusable component) ----------
   Each page supplies its own background image via its own CSS, e.g.
   .page-banner { background-image: url('../images/banner/services.jpg'); }
   The banner stays a dark image band with light text in both themes. */
.page-banner {
    position: relative;
    display: flex;
    align-items: center;                   /* vertically center the content */
    min-height: 440px;                     /* taller banner */
    padding: 100px 0 52px;                 /* top keeps clear of the fixed header */
    overflow: hidden;
    background-color: #07111f;             /* dark fallback if the image is missing */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* border-bottom: 1px solid var(--card-border); */
}
.page-banner > .relative { width: 100%; }  /* let the centered container fill the width */
/* Dark gradient (for text readability) + a soft cyan glow on the right */
.page-banner-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 8, 18, 0.92) 0%, rgba(3, 8, 18, 0.72) 45%, rgba(3, 8, 18, 0.4) 100%),
        radial-gradient(circle at 88% 25%, rgba(34, 211, 238, 0.18), transparent 60%);
    pointer-events: none;
}

.page-banner-inner { max-width: 42rem; }

.page-banner-title {
    font-family: 'Manrope', sans-serif; font-weight: 800;
    font-size: clamp(2rem, 4.6vw, 3.2rem);
    line-height: 1.1; letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #f8fafc;                        /* fixed light — banner is always dark */
    margin: 0;
}
.page-banner-desc {
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    line-height: 1.6;
    color: rgba(248, 250, 252, 0.78);
    margin: 14px 0 0;
    max-width: 30rem;
}

/* breadcrumb */
.breadcrumb {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    margin-top: 20px;
    font-size: 14px;
}
.breadcrumb a { color: #22d3ee; text-decoration: none; transition: color .2s ease; }
.breadcrumb a:hover { color: #67e8f9; }
.breadcrumb-sep { color: rgba(248, 250, 252, 0.4); }
.breadcrumb-current { color: rgba(248, 250, 252, 0.72); }

@media (max-width: 768px) {
    .page-banner { min-height: 320px; padding: 92px 0 44px; }
    .page-banner-inner { max-width: 100%; }
}

/* ============================================================
   LEGAL / DOCUMENT PAGES (Privacy, Terms, Refund)
   ============================================================ */
.legal-section { padding: 60px 0; }
.legal-wrap { max-width: 52rem; }
.legal-updated { font-size: 13px; color: var(--text-muted); margin: 0 0 28px; }
.legal-wrap h2 {
    font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 1.25rem;
    color: var(--text-main); margin: 32px 0 12px;
}
.legal-wrap h2:first-of-type { margin-top: 0; }
.legal-wrap p { color: var(--text-secondary); line-height: 1.8; margin: 0 0 14px; font-size: 15px; }
.legal-wrap ul { margin: 0 0 16px; padding: 0; list-style: none; }
.legal-wrap ul li {
    position: relative; padding-left: 22px; margin-bottom: 8px;
    color: var(--text-secondary); line-height: 1.7; font-size: 15px;
}
.legal-wrap ul li::before { content: "\2013"; position: absolute; left: 0; color: var(--cyan); }
.legal-wrap a { color: var(--cyan); text-decoration: none; }
.legal-wrap a:hover { text-decoration: underline; }
