/* ============================================================
   Septuagint LXX Bible landing page feature sections.
   Reuses tokens from the inline :root in index.php. Single accent
   + neutral surfaces, no tinted icon backgrounds, no one-side borders.
   ============================================================ */

/* ── Section shell ── */
.sx-section { max-width: 1080px; margin: 0 auto; padding: 80px 24px; }
.sx-center { text-align: center; }
.sx-split { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: center; }
.sx-split.rev .sx-copy { order: 2; }
.sx-split.rev .sx-demo-col { order: 1; }

/* ── Copy column ── */
.sx-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent2); margin-bottom: 14px; }
.sx-copy h2 { font-size: clamp(25px, 3.4vw, 33px); font-weight: 800; letter-spacing: -0.7px; line-height: 1.16; margin-bottom: 15px; }
.sx-copy > p { color: var(--text2); font-size: 16px; line-height: 1.65; max-width: 470px; margin-bottom: 24px; }

.sx-checks { display: flex; flex-direction: column; gap: 13px; }
.sx-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--text); }
.sx-check i { color: var(--accent2); font-size: 15px; margin-top: 3px; flex-shrink: 0; }

/* ── Centered section header (used by full-width, non-split sections) ── */
.sx-head { max-width: 620px; margin: 0 auto 44px; text-align: center; }
.sx-head h2 { font-size: clamp(25px, 3.4vw, 33px); font-weight: 800; letter-spacing: -0.7px; margin-bottom: 12px; }
.sx-head p { color: var(--text2); font-size: 16px; line-height: 1.65; }

/* ── Scripture reader demo (mirrors the real Bible reading screen) ── */
.sx-reader { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 20px 22px; }
.sx-reader-topbar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--border); color: var(--text2); font-size: 15px; }
.sx-reader-title { font-size: 15px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 6px; }
.sx-reader-title i { font-size: 11px; color: var(--text2); }
.sx-reader-chapnum { font-family: var(--serif); font-size: 44px; font-weight: 500; color: var(--text2); margin: 14px 0 2px; line-height: 1; }
.sx-reader-icons { display: flex; gap: 8px; color: var(--accent2); font-size: 12px; margin-bottom: 4px; }
.sx-reader-verse { display: flex; gap: 8px; padding: 5px 0; font-size: 14.5px; line-height: 1.55; color: var(--text); }
.sx-reader-verse .vnum { font-weight: 700; flex-shrink: 0; }
.sx-reader-verse.highlighted { background: rgba(79,142,247,0.16); border-radius: 6px; padding: 5px 8px; margin: 0 -8px; }
.sx-reader-footdiv { border-top: 1px solid var(--border); margin: 16px 0 10px; }
.sx-reader-footlabel { font-size: 12.5px; font-weight: 700; color: var(--text2); margin-bottom: 6px; }
.sx-reader-footnote { font-size: 12.5px; color: var(--text2); line-height: 1.5; }
.sx-reader-footnote b { color: var(--text); margin-right: 2px; }
.sx-reader-footnote .ref { color: var(--accent2); font-weight: 600; margin-right: 4px; }
.sx-reader-footnote i { font-style: italic; }
.sx-reader-bottombar { display: flex; align-items: center; justify-content: space-around; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--text2); font-size: 14px; }
.sx-reader-textsize { display: flex; align-items: center; gap: 10px; font-size: 13px; }

/* ── Translation comparison grid (replaces a generic icon-tile feature list) ── */
.sx-trans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sx-trans-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 26px 24px; }
.sx-trans-badge { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 24px; color: var(--accent2); margin-bottom: 16px; }
.sx-trans-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.sx-trans-year { font-size: 12.5px; color: var(--text2); margin-bottom: 14px; }
.sx-trans-card p { font-size: 13.5px; color: var(--text2); line-height: 1.6; }

/* ── Reading session banner demo (mirrors ReadingSessionBanner) ── */
.sx-banner { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 18px 20px; }
.sx-banner-head { display: flex; align-items: flex-start; justify-content: space-between; }
.sx-banner-day { font-size: 13.5px; font-weight: 600; color: var(--text); }
.sx-banner-passage { font-size: 12.5px; color: var(--text2); margin-top: 2px; }
.sx-banner-timer { font-size: 15px; font-weight: 600; color: var(--text); }
.sx-banner-buttons { display: flex; gap: 8px; margin-top: 16px; }
.sx-bbtn { flex: 1; background: var(--accent); color: #fff; border-radius: 8px; padding: 9px 6px; font-size: 12.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; }
.sx-banner-links { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; color: var(--text2); }

/* ── Saved verses panel (bookmarks / notes / highlights) ── */
.sx-notes-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 22px; }
.sx-notes-caption { font-size: 12.5px; color: var(--text2); margin-bottom: 14px; }
.sx-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.sx-tab { font-size: 13px; font-weight: 600; color: var(--text2); background: transparent; border: 1px solid var(--border); border-radius: 50px; padding: 7px 15px; cursor: pointer; transition: color .15s, background .15s, border-color .15s; }
.sx-tab:hover { color: var(--text); }
.sx-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.sx-notes { display: flex; flex-direction: column; gap: 12px; }
.sx-note { background: var(--surface2); border: 1px solid var(--border); border-radius: 14px; padding: 16px 16px 14px; }
.sx-note.hide { display: none; }
.sx-note-ref { font-size: 14.5px; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; color: var(--text); }
.sx-note-ref i { color: var(--accent2); font-size: 13px; }
.sx-note-body { font-size: 13px; color: var(--text2); line-height: 1.5; }
.sx-note-highlight .sx-note-ref { color: var(--text2); font-weight: 600; font-size: 12.5px; }
.sx-highlight-text { background: rgba(79,142,247,0.16); border-radius: 6px; padding: 8px 10px; font-size: 13.5px; color: var(--text); line-height: 1.5; }

/* ── Search demo (minimal single column, not a split/tile pattern) ── */
.sx-search-wrap { max-width: 620px; margin: 0 auto; }
.sx-searchbar { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 50px; padding: 14px 22px; margin: 28px 0 20px; transition: border-color .15s; }
.sx-searchbar:focus-within { border-color: var(--accent); }
.sx-searchbar i { color: var(--text2); }
.sx-searchbar input { flex: 1; background: none; border: none; outline: none; font-family: 'Inter', sans-serif; font-size: 15px; color: var(--text); }
.sx-searchbar input::placeholder { color: var(--text2); }
.sx-search-empty { text-align: center; font-size: 13.5px; color: var(--text2); padding: 20px 0; }
.sx-search-results { display: flex; flex-direction: column; gap: 10px; }
.sx-search-result { display: flex; flex-direction: column; gap: 3px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; }
.sx-search-ref { font-size: 13.5px; font-weight: 700; color: var(--accent2); }
.sx-search-snip { font-size: 13.5px; color: var(--text2); line-height: 1.5; }

/* ── Responsive ── */
@media (max-width: 880px) {
    .sx-split { grid-template-columns: 1fr; gap: 34px; }
    .sx-split.rev .sx-copy { order: 1; }
    .sx-split.rev .sx-demo-col { order: 2; }
    .sx-copy > p { max-width: none; }
    .sx-trans-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .sx-section { padding: 60px 20px; }
}

/* ── Demo interaction hint ── */
.sx-demo-hint { text-align: center; font-size: 12px; color: var(--text2); margin-top: 12px; }

/* ── Plan browser (Reading plans demo) ── */
.sx-plan-stack { display: flex; flex-direction: column; gap: 14px; }
.sx-plan-list { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 8px; }
.sx-plan-row { padding: 12px 14px; border-radius: 14px; cursor: pointer; transition: background .15s; }
.sx-plan-row:hover { background: var(--surface2); }
.sx-plan-row.active { background: var(--surface2); }
.sx-plan-row-info { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; gap: 10px; }
.sx-plan-row-name { font-size: 14px; font-weight: 600; color: var(--text); }
.sx-plan-row-meta { font-size: 12px; color: var(--text2); flex-shrink: 0; }
.sx-plan-row-bar { height: 5px; border-radius: 5px; background: var(--border); overflow: hidden; }
.sx-plan-row-bar span { display: block; height: 100%; background: var(--accent); border-radius: 5px; transition: width .3s ease; }
