/* =====================================================================
   SMART BOOK LANDING PAGE - bookstyle.css
   Used by: smartBook/index.php (other smartBook pages still use style.css)
   Colours: navy #0b3a4c, orange #f47b16, gold #ffc83d, cream #fff8ec
   ===================================================================== */

:root {
    --sb-navy: #0b3a4c;
    --sb-navy-2: #0e4a60;
    --sb-ink: #0d3749;
    --sb-teal: #0f6f7c;
    --sb-teal-2: #16939c;
    --sb-orange: #f47b16;
    --sb-orange-2: #ff9d2a;
    --sb-orange-3: #e0560c;
    --sb-gold: #ffc83d;
    --sb-gold-soft: #ffe39a;
    --sb-cream: #fff8ec;
    --sb-muted: #4f6573;
    --sb-green: #1fa855;
    --sb-radius: 16px;
    --sb-radius-lg: 24px;
    --sb-shadow: 0 10px 30px rgba(13, 55, 73, .12);
    --sb-shadow-lg: 0 20px 50px rgba(13, 55, 73, .2);
    --sb-grad-orange: linear-gradient(90deg, #ff9d2a 0%, #f47b16 45%, #e0560c 100%);
    --sb-grad-navy: linear-gradient(90deg, #0a3446 0%, #0d4357 100%);
    --sb-font-head: "Baloo 2", "Mukta", sans-serif;
    --sb-font: "Mukta", "Noto Sans Devanagari", sans-serif;
    --sb-header-h: 72px;
}

/* ---------- BASE ---------- */
html { scroll-behavior: smooth; }
body.sb-page {
    font-family: var(--sb-font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--sb-ink);
    background: var(--sb-cream);
    overflow-x: hidden;
}
.sb-page h1, .sb-page h2, .sb-page h3 { font-family: var(--sb-font-head); }
.sb-page section[id], .sb-page footer[id] { scroll-margin-top: calc(var(--sb-header-h) + 12px); }
.sb-page a:focus-visible,
.sb-page button:focus-visible { outline: 3px solid var(--sb-gold); outline-offset: 3px; }

/* ---------- BUTTONS ---------- */
.sb-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; font-size: 15.5px;
    border: 0; border-radius: 999px; cursor: pointer;
    font-family: var(--sb-font); font-weight: 700; line-height: 1.2; text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.sb-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.sb-btn--primary { background: var(--sb-grad-orange); color: #fff; box-shadow: 0 8px 20px rgba(224, 86, 12, .35); }
.sb-btn--primary:hover { color: #fff; box-shadow: 0 12px 26px rgba(224, 86, 12, .45); }
.sb-btn--lg { padding: 15px 28px; font-size: 18px; }
.sb-btn--sm { padding: 8px 16px; font-size: 14px; }
/* community button: WhatsApp green + gold gradient border (same look as the joinwhatsapp landing page) */
.sb-btn--wa {
    flex-shrink: 0; padding: 10px 18px; font-size: 15px; color: #fff; border: 2px solid transparent;
    background:
        linear-gradient(135deg, #1fa055 0%, #0f7a3e 100%) padding-box,
        linear-gradient(135deg, #B8860B, #D4A017, #FFD700, #D4A017) border-box;
    box-shadow: 0 4px 16px rgba(212, 160, 23, .35);
}
.sb-btn--wa i { color: #FFD700; }
.sb-btn--wa:hover { color: #fff; box-shadow: 0 0 0 3px rgba(255, 215, 0, .25), 0 6px 20px rgba(212, 160, 23, .45); }

.sb-pulse { animation: sbPulse 2.2s infinite; }
@keyframes sbPulse {
    0%   { box-shadow: 0 0 0 0 rgba(244, 123, 22, .55); }
    70%  { box-shadow: 0 0 0 16px rgba(244, 123, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(244, 123, 22, 0); }
}

.sb-link {
    display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
    padding: 0; border: 0; background: none; cursor: pointer;
    font-family: var(--sb-font); font-size: 14px; font-weight: 700; color: var(--sb-teal);
    text-decoration: underline; text-underline-offset: 3px;
}
.sb-link:hover { color: var(--sb-orange-3); }
.sb-link.is-loading { opacity: .6; pointer-events: none; }
.sb-link.is-loading i { animation: sbSpin 1s linear infinite; }
@keyframes sbSpin { to { transform: rotate(360deg); } }

/* ---------- IMAGE SLOTS (blank placeholder until image added) ---------- */
.sb-img-slot { position: relative; margin: 0; overflow: hidden; border-radius: var(--sb-radius); }
.sb-img-slot img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sb-img-slot--meeting {
    aspect-ratio: 16 / 10; border: 2px solid rgba(255, 255, 255, .9); border-radius: 14px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .1), 0 0 26px rgba(150, 225, 255, .35), 0 16px 34px rgba(0, 0, 0, .3);
}
.sb-img-slot--meeting img { object-fit: cover; }
.sb-img-slot--offer { aspect-ratio: 5 / 4; max-width: 520px; margin-left: auto; }

.sb-img-slot.is-empty {
    background: repeating-linear-gradient(45deg, rgba(244, 123, 22, .05) 0 12px, rgba(244, 123, 22, .11) 12px 24px);
    border: 2px dashed rgba(244, 123, 22, .5);
}
.sb-img-slot.is-empty img { display: none; }
.sb-img-slot.is-empty::after {
    content: attr(data-img);
    position: absolute; inset: 0; display: grid; place-items: center; padding: 12px;
    font-size: 12px; font-weight: 600; color: var(--sb-orange-3); text-align: center; word-break: break-all;
}
.sb-img-slot--dark.is-empty { background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .04) 0 12px, rgba(255, 255, 255, .09) 12px 24px); border-color: rgba(255, 255, 255, .4); }
.sb-img-slot--dark.is-empty::after { color: rgba(255, 255, 255, .85); }

/* ---------- ANNOUNCEMENT BAR (scrolls away, header stays sticky) ---------- */
.sb-announce { position: relative; font-size: 14px; font-weight: 600; color: var(--sb-ink); background: linear-gradient(90deg, #ffc83d 0%, #ffb02e 50%, #ff9d2a 100%); }
.sb-announce__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; padding-top: 7px; padding-bottom: 7px; line-height: 1.4; text-align: center; }
.sb-announce b { font-weight: 800; }
.sb-announce__new {
    display: inline-block; margin-right: 4px; padding: 1px 7px; border-radius: 6px; vertical-align: 1px;
    font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #fff; background: var(--sb-ink);
}
.sb-announce__sep { opacity: .45; }

/* ---------- HEADER ---------- */
.sb-header { position: sticky; top: 0; z-index: 1030; background: var(--sb-grad-navy); transition: box-shadow .25s ease; }
.sb-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--sb-grad-orange); }
.sb-header.is-scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.sb-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--sb-header-h); }

.sb-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.sb-brand img { width: 46px; height: 46px; padding: 3px; border-radius: 50%; background: #fff; }
.sb-brand span { display: flex; flex-direction: column; line-height: 1.05; }
.sb-brand b { font-family: var(--sb-font-head); font-size: 19px; font-weight: 700; color: #fff; }
.sb-brand em { font-family: var(--sb-font-head); font-size: 18px; font-weight: 700; font-style: normal; color: var(--sb-gold); }
/* header logo: plain white box, same as the main website (digitalsociety.ind.in/Home) */
.sb-brand.sb-brand--logo { padding: 4px 8px; border-radius: 8px; background: #fff; }
.sb-brand.sb-brand--logo img { display: block; width: auto; height: 32px; padding: 0; border-radius: 0; background: none; }
@media (max-width: 575.98px) { .sb-brand.sb-brand--logo img { height: 28px; } }
@media (max-width: 359.98px) { .sb-brand.sb-brand--logo img { height: 24px; } }

.sb-nav { position: relative; display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.sb-nav a {
    position: relative; padding: 8px 14px; border-radius: 999px; white-space: nowrap;
    font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, .88); text-decoration: none;
    transition: color .2s ease, background .2s ease;
}
.sb-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.sb-nav a.is-active { color: var(--sb-gold); }
.sb-nav a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--sb-gold); }

/* ---------- HERO ---------- */
.sb-hero {
    position: relative; overflow: hidden;
    padding: 48px 0 130px;
    background: linear-gradient(115deg, #fffaf1 0%, #fdf3e2 45%, #e6f3f7 100%);
}
.sb-hero > .container { position: relative; z-index: 2; }
.sb-hero__bg { position: absolute; inset: 0; z-index: 0; border-radius: 0; }
.sb-hero__bg img { object-fit: cover; object-position: right center; }
.sb-hero__bg::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(255, 250, 241, .97) 0%, rgba(255, 250, 241, .88) 40%, rgba(255, 250, 241, .25) 72%, rgba(255, 250, 241, .1) 100%);
}
.sb-hero__bg.is-empty { background: none; border: 0; }
.sb-hero__bg.is-empty::before { display: none; }
.sb-hero__bg.is-empty::after {
    inset: 10px 12px auto auto; display: block; padding: 3px 10px;
    border: 1px dashed rgba(244, 123, 22, .6); border-radius: 8px; background: rgba(255, 255, 255, .75);
    font-size: 11px;
}

.sb-hero__tag {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
    font-size: 14px; font-weight: 700; color: var(--sb-ink);
    background: linear-gradient(90deg, #ffe39a, #ffc83d); box-shadow: 0 6px 14px rgba(255, 200, 61, .35);
}
.sb-hero__tag i { color: var(--sb-orange-3); }
.sb-hero__title { margin: 0 0 12px; font-size: clamp(28px, 3.7vw, 46px); font-weight: 800; line-height: 1.18; color: var(--sb-ink); text-wrap: balance; }
.sb-hero__title span {
    display: block; padding: .06em 0;
    background: linear-gradient(90deg, #e0560c 0%, #f47b16 60%, #ff9d2a 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sb-hero__sub { margin: 0 0 16px; font-size: clamp(17px, 1.6vw, 19px); font-weight: 500; line-height: 1.55; }
.sb-hero__sub em { font-style: normal; font-weight: 700; color: var(--sb-orange-3); }
.sb-hero__ticks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.sb-hero__ticks li {
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px;
    font-size: 15.5px; font-weight: 700; background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(13, 55, 73, .1); box-shadow: 0 4px 12px rgba(13, 55, 73, .06);
}
.sb-hero__ticks i { color: var(--sb-orange); }
.sb-hero__deadline { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 15.5px; font-weight: 600; }
.sb-hero__deadline i { color: #e0a800; }
.sb-hero__deadline b { color: var(--sb-orange-3); }

.sb-hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-bottom: 26px; }
.sb-countdown { display: flex; gap: 10px; }
.sb-countdown__item {
    width: 66px; padding: 10px 4px 8px; border-radius: 12px; text-align: center; color: #fff;
    background: linear-gradient(180deg, #0e4a60, #0a3446); box-shadow: 0 8px 18px rgba(10, 52, 70, .3);
}
.sb-countdown__item b { display: block; font-family: var(--sb-font-head); font-size: 26px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.sb-countdown__item small { display: block; margin-top: 4px; font-size: 13px; opacity: .85; }
.sb-countdown__expired { margin: 0; padding: 10px 16px; border-radius: 12px; font-weight: 700; color: #b42318; background: #fde8e7; }

.sb-video-link { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font-family: var(--sb-font); color: var(--sb-orange-3); }
.sb-video-link__icon {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    border: 2px solid var(--sb-orange); background: #fff; color: var(--sb-orange);
    box-shadow: 0 6px 14px rgba(244, 123, 22, .25); transition: background .2s ease, color .2s ease;
}
.sb-video-link:hover .sb-video-link__icon { background: var(--sb-orange); color: #fff; }
.sb-video-link b { display: block; font-size: 18px; line-height: 1.1; }
.sb-video-link small { display: block; font-size: 14px; color: var(--sb-ink); }

.sb-hero__trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; }
.sb-hero__trust li { display: inline-flex; align-items: center; gap: 6px; }
.sb-hero__trust i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; color: #fff; background: var(--sb-green); }

.sb-video-frame { padding: 8px; border-radius: 18px; background: #fff; box-shadow: var(--sb-shadow-lg); }
.sb-video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; object-fit: contain; background: #0a2230; }

.sb-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; }
.sb-hero__wave svg { display: block; width: 100%; height: 110px; }

/* ---------- SECTION HEADINGS ---------- */
.sb-section { padding: 64px 0; }
.sb-head { margin-bottom: 36px; text-align: center; }
.sb-title {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    margin: 0 0 6px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.25; color: var(--sb-ink);
}
.sb-title::before, .sb-title::after { content: ""; flex: 0 0 70px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--sb-orange)); }
.sb-title::after { background: linear-gradient(90deg, var(--sb-orange), transparent); }
.sb-title--orange { color: var(--sb-orange-3); }
.sb-title--light { color: #fff; }
.sb-title--light em { font-style: normal; color: var(--sb-gold); }
.sb-title--light::before { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7)); }
.sb-title--light::after { background: linear-gradient(90deg, rgba(255, 255, 255, .7), transparent); }
.sb-sub { margin: 0; font-size: 18px; font-weight: 500; color: var(--sb-muted); }
.sb-sub em { font-style: normal; font-weight: 700; color: var(--sb-orange-3); }
.sb-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 5px 14px; border-radius: 999px;
    font-size: 14px; font-weight: 700; color: var(--sb-teal); background: rgba(22, 147, 156, .1);
}
.sb-eyebrow i { color: var(--sb-orange); }
.sb-btn--outline { padding: 10px 22px; font-size: 15px; color: var(--sb-ink); background: #fff; border: 2px solid var(--sb-orange); }
.sb-btn--outline:hover { color: var(--sb-orange-3); }

/* ---------- PRODUCTS: two distinct panels (knowledge = warm, automation = dark) ---------- */
.sb-products { padding-top: 28px; }
.sb-prod {
    position: relative; isolation: isolate; overflow: hidden;
    display: grid; grid-template-columns: minmax(0, 1fr) 190px; align-items: center; gap: 20px;
    height: 100%; padding: 32px 26px 32px 32px; border-radius: 26px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.sb-prod:hover { transform: translateY(-6px); }
.sb-prod::before, .sb-prod::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.sb-prod::before { top: -70px; right: -70px; width: 290px; height: 290px; }
.sb-prod::after { bottom: -60px; left: -50px; width: 170px; height: 170px; }

.sb-prod--book {
    color: var(--sb-ink); border: 1px solid rgba(244, 123, 22, .25);
    background: linear-gradient(150deg, #ffffff 0%, #fff4de 50%, #ffe4ac 100%); box-shadow: 0 18px 40px rgba(224, 86, 12, .14);
}
.sb-prod--book:hover { box-shadow: 0 26px 52px rgba(224, 86, 12, .22); }
.sb-prod--book::before { background: radial-gradient(circle, rgba(255, 200, 61, .55), rgba(255, 200, 61, 0) 70%); }
.sb-prod--book::after { background: rgba(244, 123, 22, .08); }

.sb-prod--portal {
    color: #fff; border: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(150deg, #11566d 0%, #0b3a4c 55%, #072a37 100%); box-shadow: 0 18px 40px rgba(11, 58, 76, .32);
}
.sb-prod--portal:hover { box-shadow: 0 26px 52px rgba(11, 58, 76, .42); }
.sb-prod--portal::before { background: radial-gradient(circle, rgba(22, 147, 156, .6), rgba(22, 147, 156, 0) 70%); }
.sb-prod--portal::after { background: rgba(255, 200, 61, .08); }
/* DSS AI artwork: faint glass layer in the middle, behind the text */
.sb-prod__bgart {
    position: absolute; top: 50%; left: 50%; z-index: -1; width: min(78%, 400px); aspect-ratio: 1;
    transform: translate(-50%, -50%); pointer-events: none;
    background: url("../images/dssAI_icon2.png.webp") center / contain no-repeat; /* 400px WebP; shown at 10% opacity */
    opacity: .1; mix-blend-mode: screen; filter: saturate(1.1) brightness(1.3);
}
/* portal panel layout: text left | price + button middle-right | devices image in the bottom-right corner */
.sb-prod--portal { grid-template-columns: minmax(0, 1fr) 220px; align-items: stretch; padding-bottom: 0; }
.sb-prod--portal .sb-prod__body { padding-bottom: 32px; }
.sb-prod__side { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.sb-prod.sb-prod--portal .sb-prod__foot {
    flex-direction: column; justify-content: center; gap: 12px; margin: auto 0 18px; padding: 0; border-top: 0; text-align: center;
}
.sb-prod--portal .sb-prod__foot .sb-btn { width: 100%; }
.sb-prod.sb-prod--portal .sb-prod__visual { width: 180px; max-width: calc(100% + 26px); margin: 0 -26px 0 0; aspect-ratio: auto; align-self: flex-end; }
.sb-prod--portal .sb-prod__visual img { display: block; width: 100%; height: auto; }
.sb-prod--portal .sb-prod__visual::before { inset: 12% 8% 0 12%; }
.sb-prod--portal .sb-prod__float { top: 6%; left: -2%; }
@media (min-width: 992px) and (max-width: 1199.98px) {
    .sb-prod.sb-prod--portal { grid-template-columns: minmax(0, 1fr) 180px; padding-bottom: 0; }
    .sb-prod--portal .sb-prod__body { padding-bottom: 26px; }
    .sb-prod.sb-prod--portal .sb-prod__visual { width: 160px; margin-right: -20px; }
    .sb-prod--portal .sb-prod__foot .sb-btn { padding: 11px 14px; font-size: 15px; }
}
/* phones: text on top, then price + button on the left and the image in the bottom-right corner */
@media (max-width: 575.98px) {
    .sb-prod.sb-prod--portal { grid-template-columns: 1fr; gap: 0; padding: 24px 20px 0; }
    .sb-prod--portal .sb-prod__body { padding-bottom: 6px; }
    .sb-prod--portal .sb-prod__side { flex-direction: row; align-items: flex-end; gap: 6px; margin: 4px -20px 0 0; border-top: 1px dashed rgba(255, 255, 255, .2); }
    .sb-prod.sb-prod--portal .sb-prod__foot { flex: 0 0 auto; width: 50%; align-items: flex-start; margin: 0; padding: 16px 0 22px; text-align: left; }
    .sb-prod--portal .sb-prod__foot .sb-btn { padding: 11px 14px; font-size: 15px; }
    .sb-prod.sb-prod--portal .sb-prod__visual { order: 0; flex: 1 1 auto; width: auto; max-width: 190px; margin: 0 0 0 auto; justify-self: auto; }
    .sb-prod--portal .sb-prod__float { top: 4%; left: 0; padding: 5px 10px; font-size: 12px; }
    .sb-prod__bgart { width: 92%; top: 42%; }
}
.sb-prod__bgart::after { /* soft glass sheen over the artwork */
    content: ""; position: absolute; inset: 8%; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 60%);
}

.sb-prod__eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; }
.sb-prod--book .sb-prod__eyebrow { color: var(--sb-orange-3); background: rgba(244, 123, 22, .12); }
.sb-prod--portal .sb-prod__eyebrow { color: var(--sb-gold); background: rgba(255, 200, 61, .14); }
.sb-prod__title { margin: 12px 0 8px; font-size: clamp(25px, 2.4vw, 31px); font-weight: 800; line-height: 1.12; }
.sb-prod__title span { display: block; }
.sb-prod--book .sb-prod__title span { color: var(--sb-orange-3); }
.sb-prod--portal .sb-prod__title span { color: var(--sb-gold); }
.sb-prod__desc { margin: 0 0 14px; font-size: 16px; font-weight: 500; line-height: 1.55; }
.sb-prod--book .sb-prod__desc { color: var(--sb-muted); }
.sb-prod--portal .sb-prod__desc { color: rgba(255, 255, 255, .85); }
.sb-prod__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.sb-prod__chips li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 700; }
.sb-prod--book .sb-prod__chips li { color: var(--sb-teal); background: #fff; border: 1px solid rgba(13, 55, 73, .1); box-shadow: 0 3px 8px rgba(13, 55, 73, .06); }
.sb-prod--portal .sb-prod__chips li { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.sb-prod--portal .sb-prod__chips i { color: var(--sb-gold); }
.sb-prod--portal .sb-link { color: var(--sb-gold); }
.sb-prod--portal .sb-link:hover { color: #fff; }
.sb-prod__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; }
.sb-prod--book .sb-prod__foot { border-top: 1px dashed rgba(224, 86, 12, .3); }
.sb-prod--portal .sb-prod__foot { border-top: 1px dashed rgba(255, 255, 255, .2); }
.sb-prod__price { font-family: var(--sb-font-head); font-size: 36px; font-weight: 800; line-height: 1; }
.sb-prod__price small { font-family: var(--sb-font); font-size: 15px; font-weight: 600; opacity: .85; }
.sb-prod--book .sb-prod__price { color: var(--sb-orange-3); }
.sb-prod--portal .sb-prod__price { color: var(--sb-gold); }
.sb-prod__foot .sb-btn { padding: 12px 22px; font-size: 16px; }

.sb-prod__visual { position: relative; margin: 0; overflow: visible; border-radius: 0; }
.sb-prod--book .sb-prod__visual { aspect-ratio: 512 / 800; }
.sb-prod--book .sb-prod__visual img {
    border-radius: 4px 12px 12px 4px; transform: perspective(900px) rotateY(-16deg) rotate(2deg); transition: transform .4s ease;
    box-shadow: -2px 0 0 rgba(0, 0, 0, .08), 16px 22px 34px rgba(13, 55, 73, .32);
}
.sb-prod--book:hover .sb-prod__visual img { transform: perspective(900px) rotateY(-6deg) rotate(0deg); }
.sb-prod--portal .sb-prod__visual { aspect-ratio: 1; }
.sb-prod--portal .sb-prod__visual::before {
    content: ""; position: absolute; inset: 4%; z-index: 0; border-radius: 50%;
    background: radial-gradient(circle, rgba(140, 230, 240, .35) 0%, rgba(140, 230, 240, 0) 70%);
}
.sb-prod--portal .sb-prod__visual img { position: relative; z-index: 1; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .35)); transition: transform .4s ease; }
.sb-prod--portal:hover .sb-prod__visual img { transform: scale(1.04); }
.sb-prod__float {
    position: absolute; top: 4%; left: -8%; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--sb-ink);
    background: linear-gradient(90deg, #ffe39a, #ffc83d); box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
    animation: sbFloat 3.5s ease-in-out infinite;
}
@keyframes sbFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* ---------- DSS AI TILES ---------- */
.sb-ai { padding-top: 30px; }
.sb-plan {
    display: inline-block; margin-left: 4px; padding: 1px 10px; border-radius: 999px; vertical-align: 2px;
    font-size: 13px; font-weight: 800; color: #fff; background: var(--sb-grad-orange);
}
.sb-ai-tile {
    display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 18px; border-radius: 18px;
    background: #fff; border: 1px solid rgba(13, 55, 73, .08); box-shadow: 0 8px 22px rgba(13, 55, 73, .07);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.sb-ai-tile:hover { transform: translateY(-4px); border-color: rgba(244, 123, 22, .35); box-shadow: 0 14px 30px rgba(13, 55, 73, .12); }
.sb-ai-tile__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px; border-radius: 14px; font-size: 21px; color: #fff; }
.sb-ai-tile__icon.is-teal   { background: linear-gradient(145deg, #1aa6b0, #0f6f7c); }
.sb-ai-tile__icon.is-orange { background: linear-gradient(145deg, #ff9d2a, #e0560c); }
.sb-ai-tile__icon.is-navy   { background: linear-gradient(145deg, #1d6680, #0b3a4c); }
.sb-ai-tile__icon.is-green  { background: linear-gradient(145deg, #3bcf76, #1fa855); }
.sb-ai-tile__icon.is-red    { background: linear-gradient(145deg, #f2706a, #d63a33); }
.sb-ai-tile__icon.is-gold   { background: linear-gradient(145deg, #ffd25e, #f0a500); }
.sb-ai-tile__name { font-family: var(--sb-font-head); font-size: 18px; font-weight: 800; line-height: 1.2; color: var(--sb-ink); }
.sb-ai-tile__text { font-size: 14.5px; line-height: 1.5; color: var(--sb-muted); }
.sb-ai__note {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; max-width: 100%;
    margin: 28px auto 0; padding: 10px 20px; border-radius: 14px; text-align: center;
    font-size: 15.5px; font-weight: 600; color: var(--sb-ink);
    background: rgba(31, 168, 85, .1); border: 1px solid rgba(31, 168, 85, .25);
}
.sb-ai__note i { color: var(--sb-green); }

/* ---------- WHAT'S IN THE BOOK (13 parts) ---------- */
.sb-part {
    display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 20px 20px; border-radius: 16px;
    background: #fff; border: 1px solid rgba(13, 55, 73, .08); border-left: 4px solid var(--sb-orange);
    box-shadow: 0 6px 18px rgba(13, 55, 73, .06); transition: transform .25s ease, box-shadow .25s ease;
}
.sb-part:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(13, 55, 73, .12); }
.sb-part__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sb-part__no { padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--sb-gold); background: var(--sb-grad-navy); }
.sb-part__count { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--sb-teal); }
.sb-part__name { margin: 4px 0 0; font-size: 19px; font-weight: 800; line-height: 1.25; color: var(--sb-ink); }
.sb-part__teaser { margin: 0; font-size: 15px; line-height: 1.5; color: var(--sb-muted); }
.sb-parts__more { display: none; margin-top: 18px; text-align: center; }
.sb-quote {
    position: relative; max-width: 760px; margin: 40px auto 26px; padding: 26px 30px 22px 74px; border-radius: 20px;
    background: linear-gradient(120deg, #ffd25e 0%, #ffe49c 55%, #fff1c9 100%); box-shadow: 0 14px 30px rgba(224, 86, 12, .15);
}
.sb-quote__mark { position: absolute; top: 22px; left: 24px; font-size: 34px; color: var(--sb-orange-3); }
.sb-quote p { margin: 0 0 8px; font-family: var(--sb-font-head); font-size: clamp(19px, 2vw, 23px); font-weight: 700; line-height: 1.4; color: var(--sb-ink); text-wrap: balance; }
.sb-quote cite { font-size: 14.5px; font-weight: 600; font-style: normal; color: var(--sb-muted); }

/* ---------- PROBLEM -> SOLUTION BAND ---------- */
/* teal-tinted society buildings (same photo as the hero, already cached: the WebP the hero <picture> loaded) */
.sb-solution {
    position: relative; overflow: hidden; padding: 118px 0 126px; color: #fff;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .07) 0%, transparent 18%, transparent 82%, rgba(0, 0, 0, .18) 100%),
        radial-gradient(ellipse 62% 95% at 50% 50%, rgba(8, 58, 76, .97) 35%, rgba(10, 70, 90, .84) 75%, rgba(12, 84, 104, .72) 100%),
        url("../images/society-buildings-hero-bg.png.webp") center 62% / cover no-repeat,
        linear-gradient(135deg, #0b3a4c 0%, #0e4a60 55%, #0a3446 100%);
}
@media (max-width: 991.98px) {
    /* phones/tablets: the 43 KB crop the hero already downloaded (under the 72-97% teal overlay the crop is not noticeable) */
    .sb-solution {
        background-image:
            linear-gradient(180deg, rgba(255, 255, 255, .07) 0%, transparent 18%, transparent 82%, rgba(0, 0, 0, .18) 100%),
            radial-gradient(ellipse 62% 95% at 50% 50%, rgba(8, 58, 76, .97) 35%, rgba(10, 70, 90, .84) 75%, rgba(12, 84, 104, .72) 100%),
            url("../images/society-buildings-hero-bg-mobile.webp"),
            linear-gradient(135deg, #0b3a4c 0%, #0e4a60 55%, #0a3446 100%);
    }
}
.sb-solution > .container { position: relative; z-index: 1; }
.sb-head--tight { margin-bottom: 26px; }
.sb-title--solution { font-family: var(--sb-font); font-size: clamp(21px, 2.5vw, 29px); font-weight: 700; }
.sb-title--solution::before,
.sb-title--solution::after { flex-basis: 80px; height: 2px; }
.sb-title--solution::before { background: linear-gradient(90deg, transparent, rgba(255, 224, 150, .85)); }
.sb-title--solution::after { background: linear-gradient(90deg, rgba(255, 224, 150, .85), transparent); }

.sb-solution__card {
    position: relative; display: flex; align-items: center; min-height: 206px; padding: 24px 190px 24px 30px;
    border-radius: 18px; color: var(--sb-ink);
    background: linear-gradient(100deg, #ffcd45 0%, #ffdc7d 40%, #ffe9ad 75%, #fff2cf 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .45), 0 0 28px rgba(255, 210, 90, .35), 0 18px 36px rgba(0, 0, 0, .28);
}
.sb-checklist { display: grid; flex: 1; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sb-checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 18px; font-weight: 600; line-height: 1.4; }
.sb-checklist i { flex: 0 0 auto; margin-top: 2px; font-size: 21px; color: var(--sb-ink); }
.sb-checklist li > span { font-weight: 500; }
.sb-checklist strong { font-weight: 800; }
.sb-checklist .sb-checklist__to { margin: 0 4px; font-size: 14px; color: var(--sb-orange-3); }

/* house + people icon with orange swoosh, sitting on the card's right edge */
.sb-solution__icon {
    position: absolute; right: -14px; top: 50%; display: grid; place-items: center; width: 190px; height: 170px;
    transform: translateY(-52%); font-size: 112px; line-height: 1;
}
.sb-solution__icon i {
    background: linear-gradient(180deg, #1d7187 0%, #0d3749 70%); -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 6px 10px rgba(13, 55, 73, .25));
}
.sb-solution__icon::after {
    content: ""; position: absolute; left: 12px; right: 4px; bottom: 6px; height: 54px; transform: rotate(-10deg);
    border-bottom: 6px solid var(--sb-orange); border-radius: 0 0 50% 50% / 0 0 100% 100%;
    filter: drop-shadow(0 3px 4px rgba(224, 86, 12, .35));
}

/* ---------- FEATURES ---------- */
.sb-feature {
    position: relative; display: flex; align-items: center; gap: 16px; width: 100%; height: 100%; padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; cursor: pointer; text-align: left;
    font-family: var(--sb-font); color: #fff; background: linear-gradient(140deg, #0f4f66 0%, #0b3a4c 100%);
    box-shadow: 0 10px 24px rgba(11, 58, 76, .25); transition: transform .25s ease, box-shadow .25s ease;
}
.sb-feature:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(11, 58, 76, .35); }
.sb-feature__icon {
    display: grid; place-items: center; flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%;
    font-size: 28px; color: #1478c8; background: radial-gradient(circle at 30% 30%, #ffffff, #d7ecfb);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .12);
}
.sb-feature__icon--wa { font-size: 34px; color: #fff; background: radial-gradient(circle at 30% 30%, #4be07f, #1fa855); }
.sb-feature__title { display: block; margin: 0 0 4px; font-family: var(--sb-font-head); font-size: 20px; font-weight: 800; line-height: 1.2; color: var(--sb-gold); }
.sb-feature__desc { display: block; font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .85); }
.sb-feature__go { position: absolute; right: 14px; bottom: 10px; font-size: 13px; color: rgba(255, 255, 255, .35); transition: color .2s ease, transform .2s ease; }
.sb-feature:hover .sb-feature__go { color: var(--sb-gold); transform: translateX(3px); }

/* ---------- SPECIAL OFFER ---------- */
/* highlighted band: warm gold glow + light rays behind the offer image */
.sb-offer {
    --sb-ray-x: 76%; --sb-ray-y: 52%;
    position: relative; overflow: hidden; padding: 124px 0 132px;
    background:
        radial-gradient(circle at var(--sb-ray-x) var(--sb-ray-y), rgba(255, 186, 46, .5), transparent 40%),
        radial-gradient(circle at 6% 85%, rgba(22, 147, 156, .16), transparent 38%),
        linear-gradient(105deg, #ffe4a3 0%, #ffefc6 36%, #fff5df 60%, #d4efec 100%);
}
.sb-offer::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: repeating-conic-gradient(from 0deg at var(--sb-ray-x) var(--sb-ray-y), rgba(255, 255, 255, .5) 0deg 5deg, transparent 5deg 15deg);
    -webkit-mask-image: radial-gradient(circle at var(--sb-ray-x) var(--sb-ray-y), #000 0%, rgba(0, 0, 0, .55) 20%, transparent 42%);
    mask-image: radial-gradient(circle at var(--sb-ray-x) var(--sb-ray-y), #000 0%, rgba(0, 0, 0, .55) 20%, transparent 42%);
}
.sb-offer > .container { position: relative; z-index: 1; }
.sb-badge {
    display: inline-block; margin-bottom: 12px; padding: 4px 16px; border-radius: 999px;
    font-size: 15px; font-weight: 800; color: #fff; background: var(--sb-grad-orange); box-shadow: 0 6px 14px rgba(224, 86, 12, .3);
}
.sb-offer__title { margin: 0 0 16px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.25; color: var(--sb-ink); }
.sb-ticks { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.sb-ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: 17px; font-weight: 600; }
.sb-ticks i { margin-top: 3px; font-size: 20px; color: var(--sb-green); }

/* ---------- CURVED SECTION EDGES (solution + offer) ---------- */
/* cream wave cuts into the band's top/bottom; the bottom one is the same wave rotated 180deg */
.sb-curved { position: relative; overflow: hidden; }
.sb-curve { position: absolute; left: 0; right: 0; z-index: 1; line-height: 0; pointer-events: none; }
.sb-curve--top { top: -1px; }
.sb-curve--bottom { bottom: -1px; transform: scale(-1, -1); }
.sb-curve svg { display: block; width: 100%; height: 90px; overflow: visible; }
.sb-curve__fill { fill: var(--sb-cream); }
.sb-curve__back { fill: #fff; opacity: .16; animation: sbCurveDrift 10s ease-in-out infinite alternate; }
.sb-offer .sb-curve__back { fill: #ffc83d; opacity: .32; }
.sb-curve__line { fill: none; stroke: url(#sbWaveGrad); stroke-width: 4; vector-effect: non-scaling-stroke; }
@keyframes sbCurveDrift {
    from { transform: translateX(-40px); }
    to   { transform: translateX(40px); }
}

/* ---------- FAQ ---------- */
.sb-faq { padding-bottom: 100px; }
.sb-faq__list {
    display: grid; gap: 8px; max-width: 900px; margin: 0 auto; padding: 14px; border-radius: 18px;
    background: linear-gradient(180deg, rgba(15, 111, 124, .14), rgba(15, 111, 124, .05)); box-shadow: var(--sb-shadow);
}
.sb-faq__item { overflow: hidden; border-radius: 10px; background: linear-gradient(90deg, #0f6f7c 0%, #138a93 100%); box-shadow: 0 4px 10px rgba(15, 111, 124, .25); }
.sb-faq__q {
    display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 18px; border: 0; background: none; cursor: pointer;
    text-align: left; font-family: var(--sb-font); font-size: 17px; font-weight: 600; color: #fff;
}
.sb-faq__num { flex: 0 0 26px; font-weight: 800; color: var(--sb-gold-soft); }
.sb-faq__text { flex: 1; }
.sb-faq__plus { position: relative; flex: 0 0 24px; height: 24px; }
.sb-faq__plus::before, .sb-faq__plus::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: #fff;
    transform: translate(-50%, -50%); transition: transform .25s ease;
}
.sb-faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.sb-faq__q[aria-expanded="true"] .sb-faq__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.sb-faq__a { padding: 14px 18px 16px 58px; font-size: 16px; line-height: 1.65; color: var(--sb-ink); background: #effafa; }
.sb-faq__a a { font-weight: 700; color: var(--sb-teal); }

/* ---------- FOOTER ---------- */
.sb-footer { position: relative; color: #fff; background: var(--sb-grad-navy); }
.sb-footer__wave { display: block; width: 100%; height: 70px; margin-bottom: -1px; }
.sb-footer__main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0 26px; }
.sb-footer__tag { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 17px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.sb-footer__tag i { color: var(--sb-orange-2); }
.sb-footer__center { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sb-footer__community {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
    font-size: 14.5px; font-weight: 700; color: var(--sb-gold); text-decoration: none;
    border: 1px solid rgba(255, 200, 61, .45); background: rgba(255, 200, 61, .08); transition: background .2s ease, color .2s ease;
}
.sb-footer__community:hover { color: var(--sb-ink); background: var(--sb-gold); }
.sb-social { display: flex; gap: 10px; }
.sb-social a {
    display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid rgba(255, 255, 255, .85); border-radius: 50%;
    font-size: 18px; color: #fff; text-decoration: none; transition: transform .2s ease;
}
.sb-social a:hover { color: #fff; transform: translateY(-3px); }
.sb-social .is-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.sb-social .is-fb { background: #1877f2; }
.sb-social .is-wa { background: #25d366; }
.sb-social .is-call { background: var(--sb-green); }
.sb-footer__bottom { padding: 12px 0; font-size: 14px; background: rgba(0, 0, 0, .22); }
.sb-footer__bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.sb-footer__links { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.sb-footer__links li + li::before { content: "|"; margin: 0 10px; color: rgba(255, 255, 255, .35); }
.sb-footer__links a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.sb-footer__links a:hover { color: var(--sb-gold); }
.sb-footer__copy { margin: 0; color: rgba(255, 255, 255, .7); }

/* ---------- MOBILE BOTTOM BAR (chat entry) + FLOATING WHATSAPP (desktop) ---------- */
.sb-sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020; display: none; align-items: center; gap: 12px;
    width: 100%; border: 0; cursor: pointer; text-align: left; font-family: var(--sb-font); color: #fff;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: var(--sb-grad-navy); box-shadow: 0 -6px 18px rgba(0, 0, 0, .2);
}
.sb-sticky::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--sb-grad-orange); }
.sb-sticky__img { position: relative; flex: 0 0 52px; width: 52px; height: 52px; }
.sb-sticky__img img { display: block; width: 100%; height: 100%; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .3)); animation: sbBob 2.6s ease-in-out infinite; }
.sb-sticky__img .sb-float-wa__dot { top: -3px; right: -3px; width: 19px; height: 19px; font-size: 10px; }
.sb-sticky__text { flex: 1; min-width: 0; line-height: 1.25; }
.sb-sticky__text b { display: block; font-family: var(--sb-font-head); font-size: 16px; font-weight: 700; }
.sb-sticky__text small { display: block; margin-top: 2px; font-size: 12px; color: rgba(255, 255, 255, .78); }
.sb-sticky__btn {
    display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px;
    font-size: 14px; font-weight: 700; color: #fff; background: var(--sb-grad-orange); animation: sbPulse 2.2s infinite;
    transition: transform .15s ease;
}
.sb-sticky:active .sb-sticky__btn { transform: scale(.96); }
@keyframes sbBob {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-3px) rotate(-5deg); }
}

.sb-float-wa { position: fixed; right: 22px; bottom: 28px; z-index: 1010; width: 82px; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .25)); transition: transform .2s ease; }
.sb-float-wa:hover { transform: scale(1.06); }
.sb-float-wa img { display: block; width: 100%; height: auto; }
.sb-float-wa__dot {
    position: absolute; top: 2px; right: 2px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
    font-size: 12px; font-weight: 800; color: #fff; background: #e5322d; border: 2px solid #fff; animation: sbDot 2s infinite;
}
@keyframes sbDot {
    0%   { box-shadow: 0 0 0 0 rgba(229, 50, 45, .55); }
    70%  { box-shadow: 0 0 0 10px rgba(229, 50, 45, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 50, 45, 0); }
}

/* ---------- CHAT ASSISTANT (opens from the floating image) ---------- */
.sb-chat-teaser {
    position: fixed; right: 116px; bottom: 48px; z-index: 1011; display: flex; align-items: flex-start; gap: 4px;
    max-width: 270px; padding: 12px 10px 12px 14px; border-radius: 16px 16px 4px 16px;
    background: #fff; border: 1px solid rgba(13, 55, 73, .08); box-shadow: 0 14px 34px rgba(13, 55, 73, .22);
    opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .3s ease, transform .3s ease;
}
.sb-chat-teaser.is-in { opacity: 1; transform: none; }
.sb-chat-teaser__msg { padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font-family: var(--sb-font); font-size: 14px; line-height: 1.45; color: var(--sb-ink); }
.sb-chat-teaser__msg b { color: var(--sb-orange-3); }
.sb-chat-teaser__close { flex: 0 0 24px; height: 24px; border: 0; border-radius: 50%; cursor: pointer; font-size: 12px; color: var(--sb-muted); background: rgba(13, 55, 73, .06); }

.sb-chat {
    position: fixed; right: 22px; bottom: 122px; z-index: 1045; display: flex; flex-direction: column;
    width: 384px; height: min(610px, calc(100vh - 165px)); overflow: hidden; border-radius: 22px;
    font-family: var(--sb-font); background: #fff; box-shadow: 0 24px 60px rgba(8, 40, 54, .35), 0 0 0 1px rgba(13, 55, 73, .06);
    opacity: 0; transform: translateY(16px) scale(.97); transform-origin: bottom right; transition: opacity .25s ease, transform .25s ease;
}
.sb-chat.is-open { opacity: 1; transform: none; }
/* auto-open (data-autoopen pages): 9 s after page open the assistant slides up with a quick flash - light sweep + orange glow ring */
.sb-chat.is-flash { animation: sbChatUp .55s cubic-bezier(.2, .9, .25, 1.15) both, sbChatGlow 1s ease-out .35s; }
.sb-chat.is-flash::after {
    content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .6) 47%, rgba(255, 200, 61, .35) 53%, transparent 70%);
    transform: translateX(-120%); animation: sbChatShine .75s ease-out .3s forwards;
}
@keyframes sbChatUp { from { opacity: 0; transform: translateY(70px) scale(.96); } 70% { opacity: 1; transform: translateY(-6px) scale(1.01); } to { opacity: 1; transform: none; } }
@keyframes sbChatGlow {
    from { box-shadow: 0 24px 60px rgba(8, 40, 54, .35), 0 0 0 0 rgba(255, 157, 42, .8); }
    to { box-shadow: 0 24px 60px rgba(8, 40, 54, .35), 0 0 0 18px rgba(255, 157, 42, 0); }
}
@keyframes sbChatShine { to { transform: translateX(120%); } }
@keyframes sbChatSheetUp { from { transform: translateY(100%); } to { transform: none; } }
.sb-chat__head { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px 12px 14px 16px; color: #fff; background: var(--sb-grad-navy); }
.sb-chat__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--sb-grad-orange); }
.sb-chat__avatar { position: relative; flex: 0 0 42px; width: 42px; height: 42px; padding: 3px; border-radius: 50%; background: #fff; }
.sb-chat__avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.sb-chat__online { position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #3bd16f; border: 2px solid #0d4357; }
.sb-chat__who { flex: 1; min-width: 0; line-height: 1.25; }
.sb-chat__who strong { display: block; font-family: var(--sb-font-head); font-size: 17px; font-weight: 700; }
.sb-chat__who span { font-size: 12.5px; opacity: .8; }
.sb-chat__icon-btn {
    display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border: 0; border-radius: 50%;
    cursor: pointer; color: #fff; background: rgba(255, 255, 255, .12); transition: background .2s ease;
}
.sb-chat__icon-btn:hover { background: rgba(255, 255, 255, .24); }

.sb-chat__log {
    position: relative; flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px 10px;
    background-color: #f6f1e7; background-image: radial-gradient(rgba(13, 55, 73, .06) 1px, transparent 1px); background-size: 18px 18px;
}
.sb-chat__day { width: fit-content; margin: 0 auto 6px; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--sb-muted); background: rgba(255, 255, 255, .92); box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.sb-chat__row { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; }
.sb-chat__row.is-cont { margin-top: 5px; }
.sb-chat__row--user { justify-content: flex-end; }
.sb-chat__mini { flex: 0 0 28px; width: 28px; height: 28px; padding: 2px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.sb-chat__mini img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.sb-chat__row--bot.is-cont .sb-chat__mini { visibility: hidden; }
.sb-chat__bubble { max-width: 84%; padding: 9px 13px; font-size: 14.5px; line-height: 1.5; animation: sbMsgIn .25s ease; }
.sb-chat__bubble p { margin: 0; }
.sb-chat__row--bot .sb-chat__bubble { color: var(--sb-ink); background: #fff; border-radius: 4px 16px 16px 16px; box-shadow: 0 1px 3px rgba(13, 55, 73, .1); }
.sb-chat__row--bot.is-cont .sb-chat__bubble { border-radius: 16px; }
.sb-chat__row--user .sb-chat__bubble { font-weight: 600; color: #fff; background: var(--sb-grad-orange); border-radius: 16px 4px 16px 16px; box-shadow: 0 3px 8px rgba(224, 86, 12, .25); }
.sb-chat__bubble--wide { width: 84%; }
.sb-chat__bubble--cta { padding: 6px; }
@keyframes sbMsgIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}
.sb-chat__typing { display: inline-flex; gap: 4px; padding: 5px 2px; }
.sb-chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: #9db0b8; animation: sbTyping 1.1s infinite ease-in-out; }
.sb-chat__typing i:nth-child(2) { animation-delay: .15s; }
.sb-chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes sbTyping {
    0%, 60%, 100% { transform: translateY(0); opacity: .45; }
    30%           { transform: translateY(-4px); opacity: 1; }
}

.sb-chat__facts { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sb-chat__facts li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; }
.sb-chat__facts-ic { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 9px; font-size: 13px; color: #fff; background: linear-gradient(145deg, #1aa6b0, #0f6f7c); }
.sb-chat__steps { margin: 0; padding: 0; list-style: none; counter-reset: sbstep; }
.sb-chat__steps li { position: relative; padding: 0 0 12px 36px; counter-increment: sbstep; }
.sb-chat__steps li:last-child { padding-bottom: 0; }
.sb-chat__steps li::before {
    content: counter(sbstep, devanagari); position: absolute; top: 0; left: 0; display: grid; place-items: center;
    width: 24px; height: 24px; border-radius: 50%; font-size: 12.5px; font-weight: 800; color: #fff; background: var(--sb-grad-orange);
}
.sb-chat__steps li::after { content: ""; position: absolute; top: 26px; bottom: 2px; left: 11px; width: 2px; background: rgba(244, 123, 22, .25); }
.sb-chat__steps li:last-child::after { display: none; }
.sb-chat__steps strong { display: block; font-size: 14.5px; }
.sb-chat__steps span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--sb-muted); }

.sb-chat__cta {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 14px; border-radius: 12px;
    font-size: 15px; font-weight: 700; color: #fff; text-decoration: none;
    background: var(--sb-grad-orange); box-shadow: 0 6px 14px rgba(224, 86, 12, .3); transition: transform .2s ease, filter .2s ease;
}
.sb-chat__cta span { flex: 1; }
.sb-chat__cta:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.05); }
.sb-chat__cta--wa { background: linear-gradient(90deg, #25d366, #1fa855); box-shadow: 0 6px 14px rgba(31, 168, 85, .3); }
.sb-chat__cta--ghost { color: var(--sb-ink); background: #fff; border: 1.5px solid rgba(13, 55, 73, .18); box-shadow: none; }
.sb-chat__cta--ghost:hover { color: var(--sb-ink); }

.sb-chat__plans { display: grid; gap: 10px; }
.sb-chat__plan { padding: 12px; border-radius: 14px; border: 1px solid rgba(13, 55, 73, .12); background: #fbfdfd; }
.sb-chat__plan--pro { color: #fff; border-color: transparent; background: linear-gradient(150deg, #11566d 0%, #0b3a4c 60%, #072a37 100%); }
.sb-chat__plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.sb-chat__plan-name { font-family: var(--sb-font-head); font-size: 18px; font-weight: 800; }
.sb-chat__plan-tag { padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--sb-teal); background: rgba(22, 147, 156, .12); }
.sb-chat__plan--pro .sb-chat__plan-tag { color: var(--sb-ink); background: var(--sb-gold); }
.sb-chat__plan-price { margin-bottom: 8px; font-family: var(--sb-font-head); font-size: 20px; font-weight: 800; color: var(--sb-orange-3); }
.sb-chat__plan-price.is-note { font-family: var(--sb-font); font-size: 13.5px; font-weight: 600; }
.sb-chat__plan--pro .sb-chat__plan-price { color: var(--sb-gold); }
.sb-chat__plan ul { display: grid; gap: 4px; margin: 0 0 10px; padding: 0; list-style: none; font-size: 13.5px; line-height: 1.4; }
.sb-chat__plan li { display: flex; align-items: flex-start; gap: 7px; }
.sb-chat__plan li i { margin-top: 3px; font-size: 12px; color: var(--sb-green); }
.sb-chat__plan li.is-no { color: #8a9aa3; }
.sb-chat__plan li.is-no i { color: #d0473f; }
.sb-chat__plan--pro li i { color: #5fe39a; }
.sb-chat__plan .sb-chat__cta { padding: 9px 12px; font-size: 14px; }

.sb-chat__options {
    display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-height: 42%; overflow-y: auto;
    padding: 12px 14px; background: #fff; border-top: 1px solid rgba(13, 55, 73, .08);
}
.sb-chat__options:empty { display: none; }
.sb-chat__opt {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1.5px solid var(--sb-teal-2); border-radius: 999px;
    cursor: pointer; text-align: left; text-decoration: none; font-family: var(--sb-font); font-size: 14px; font-weight: 600; line-height: 1.3;
    color: var(--sb-teal); background: #fff; transition: background .2s ease, color .2s ease; animation: sbMsgIn .25s ease both;
}
.sb-chat__opt:hover { color: #fff; background: var(--sb-teal-2); }
.sb-chat__opt.is-primary { color: #fff; border-color: transparent; background: var(--sb-grad-orange); box-shadow: 0 4px 10px rgba(224, 86, 12, .25); }
.sb-chat__opt.is-primary:hover { filter: brightness(1.05); }
.sb-chat__foot { margin: 0; padding: 7px 12px 9px; font-size: 11.5px; text-align: center; color: var(--sb-muted); background: #fff; border-top: 1px solid rgba(13, 55, 73, .05); }

/* ---------- SCROLL REVEAL ---------- */
.sb-js .sb-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.sb-js .sb-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- PORTAL FEATURES MODAL (#indexModal3) ---------- */
#indexModal3 .modal-header { position: relative; }
.portal-tabs-wrapper { position: relative; display: flex; align-items: center; background: #fff; border-bottom: 1px solid rgba(0, 0, 0, .05); }
.portal-tabs-wrapper::after {
    content: ""; position: absolute; top: 0; right: 0; width: 40px; height: 100%; pointer-events: none;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, .9));
}
.portal-tabs {
    display: flex; flex-wrap: nowrap; gap: 8px; width: 100%; margin: 0; padding: 10px 15px;
    overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.portal-tabs::-webkit-scrollbar { display: none; }
.portal-tabs .nav-item:last-of-type { padding-right: 40px; }
.portal-tabs .nav-link {
    padding: 8px 20px; border: 1px solid rgba(0, 0, 0, .08); border-radius: 50px !important; white-space: nowrap;
    font-size: .9rem; font-weight: 600; color: var(--sb-ink) !important; background: #fff; transition: all .3s ease;
}
.portal-tabs .nav-link.active {
    border-color: transparent; background: linear-gradient(90deg, #ffc107 0%, #ff6f00 100%) !important;
    box-shadow: 0 4px 10px rgba(255, 111, 0, .2);
}
.tab-arrow {
    position: absolute; top: 50%; z-index: 10; display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border: 0; border-radius: 50%; transform: translateY(-50%);
    font-size: 12px; color: var(--sb-ink); background: linear-gradient(90deg, #ffc107 0%, #ff6f00 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.left-arrow { left: 5px; display: none; }
.right-arrow { right: 5px; }
.feature-container { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.feature-image-box { display: flex; flex: 1; align-items: center; justify-content: center; padding: 20px; background: rgba(255, 255, 255, .2); }
.feature-image-box img { width: auto; max-width: 90%; max-height: 50vh; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .15)); }
.feature-desc { padding: 25px; border-radius: 30px 30px 0 0; text-align: center; background: #fff; box-shadow: 0 -10px 25px rgba(0, 0, 0, .05); }
.feature-desc h4 { font-weight: 600; color: var(--sb-ink); }
.feature-desc p { margin: 0; color: var(--sb-muted); }

@media (min-width: 992px) {
    .tab-arrow { display: none !important; }
    .portal-tabs-wrapper::after { display: none; }
    .portal-tabs { flex-wrap: wrap; justify-content: center; }
    .feature-container { flex-direction: row; align-items: center; padding: 40px; }
    .feature-desc { flex: 0 0 400px; margin-left: 30px; border-radius: 20px; text-align: left; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1399.98px) {
    .sb-header__inner { gap: 14px; }
    .sb-nav { gap: 2px; }
    .sb-nav a { padding: 8px 9px; font-size: 15px; }
    .sb-nav a.is-active::after { left: 9px; right: 9px; }
    .sb-btn--wa { padding: 9px 14px; font-size: 14px; }
}

@media (max-width: 1199.98px) {
    :root { --sb-header-h: 112px; }
    .sb-header__inner { flex-wrap: wrap; gap: 0 12px; min-height: 0; padding-top: 8px; }
    .sb-brand img { width: 40px; height: 40px; }
    .sb-btn--wa { margin-left: auto; padding: 8px 14px; font-size: 14px; }
    /* app-style scrollable menu strip instead of a hamburger */
    .sb-nav {
        order: 3; justify-content: flex-start; width: calc(100% + 24px); margin: 6px -12px 0; padding: 4px 12px 10px;
        overflow-x: auto; scrollbar-width: none;
    }
    .sb-nav::-webkit-scrollbar { display: none; }
    .sb-nav a { padding: 6px 14px; font-size: 14px; background: rgba(255, 255, 255, .07); }
    .sb-nav a.is-active { background: rgba(255, 200, 61, .16); }
    .sb-nav a.is-active::after { display: none; }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .sb-prod { grid-template-columns: minmax(0, 1fr) 140px; gap: 14px; padding: 26px 20px 26px 24px; }
}

@media (max-width: 991.98px) {
    .sb-hero { padding: 32px 0 100px; }
    .sb-hero__bg::before { background: linear-gradient(180deg, rgba(255, 250, 241, .95) 0%, rgba(255, 250, 241, .86) 60%, rgba(255, 250, 241, .6) 100%); }
    .sb-img-slot--offer { margin: 0 auto; }
    .sb-offer { --sb-ray-x: 50%; --sb-ray-y: 74%; }
    .sb-curve svg { height: 60px; }
}

@media (max-width: 767.98px) {
    body.sb-page { padding-bottom: 80px; }
    /* the image moves into the bottom bar, so no floating copy or greeting bubble on phones */
    .sb-sticky { display: flex; }
    .sb-float-wa, .sb-chat-teaser { display: none !important; }
    .sb-chat { right: 12px; bottom: 90px; height: min(600px, calc(100vh - 110px)); }
    .sb-section { padding: 48px 0; }
    .sb-solution { padding: 76px 0 84px; }
    .sb-offer { padding: 82px 0 90px; }
    .sb-curve svg { height: 44px; }
    .sb-curve__line { stroke-width: 3; }
    .sb-title--solution::before, .sb-title--solution::after { flex-basis: 24px; }
    .sb-solution__card { flex-direction: column-reverse; align-items: stretch; gap: 6px; min-height: 0; padding: 18px 20px 22px; }
    .sb-solution__icon { position: relative; right: auto; top: auto; align-self: center; width: 120px; height: 100px; transform: none; font-size: 66px; }
    .sb-solution__icon::after { left: 8px; right: 2px; bottom: 2px; height: 34px; border-bottom-width: 4px; }
    .sb-checklist li { font-size: 16.5px; }
    /* book parts: first 6 visible, rest behind "सर्व १३ भाग पाहा" */
    .sb-part--more { display: none; }
    .sb-parts__grid.is-expanded .sb-part--more { display: block; }
    .sb-parts__more { display: block; }
    .sb-quote { padding: 22px 18px 18px 56px; }
    .sb-quote__mark { top: 20px; left: 16px; font-size: 28px; }
}

@media (max-width: 575.98px) {
    .sb-brand b { font-size: 16px; }
    .sb-brand em { font-size: 15px; }
    .sb-btn--wa { padding: 8px 12px; font-size: 13px; }
    .sb-announce { font-size: 13px; }
    .sb-hero__tag { font-size: 13px; }
    .sb-hero__ticks li { padding: 5px 12px; font-size: 14px; }
    .sb-hero__trust { font-size: 14px; }
    .sb-countdown { gap: 8px; }
    .sb-countdown__item { width: 58px; }
    .sb-countdown__item b { font-size: 22px; }
    .sb-btn--lg { width: 100%; padding: 14px 18px; font-size: 16px; }
    .sb-title { gap: 10px; }
    .sb-title::before, .sb-title::after { flex-basis: 22px; }
    .sb-sub { font-size: 16px; }
    .sb-prod { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; border-radius: 22px; }
    .sb-prod__visual { order: -1; justify-self: center; }
    .sb-prod--book .sb-prod__visual { width: 130px; }
    .sb-prod--portal .sb-prod__visual { width: 210px; }
    .sb-prod__float { left: -18%; }
    .sb-prod__price { font-size: 32px; }
    .sb-ai-tile { padding: 14px 12px; border-radius: 14px; }
    .sb-ai-tile__icon { width: 40px; height: 40px; border-radius: 12px; font-size: 18px; }
    .sb-ai-tile__name { font-size: 16px; }
    .sb-ai-tile__text { font-size: 13.5px; }
    .sb-ai__note { padding: 10px 14px; font-size: 14px; }
    .sb-part__name { font-size: 18px; }
    .sb-feature { padding: 16px; }
    .sb-feature__icon { flex-basis: 54px; width: 54px; height: 54px; font-size: 24px; }
    .sb-feature__title { font-size: 18px; }
    .sb-faq__list { padding: 8px; }
    .sb-faq__q { gap: 10px; padding: 12px 14px; font-size: 15.5px; }
    .sb-faq__num { flex-basis: 18px; }
    .sb-faq__a { padding: 12px 14px 14px; font-size: 15px; }
    .sb-footer__main { flex-direction: column; text-align: center; }
    .sb-footer__bottom .container { flex-direction: column; text-align: center; }
    .sb-footer__links { justify-content: center; gap: 6px 16px; }
    .sb-footer__links li + li::before { display: none; }
    /* chat becomes a full-screen app view on phones */
    .sb-chat { inset: 0; width: auto; height: auto; border-radius: 0; transform-origin: bottom center; }
    .sb-chat.is-flash { animation: sbChatSheetUp .45s cubic-bezier(.2, .9, .3, 1) both; } /* full-screen sheet slides up from the bottom */
    .sb-chat__head { padding-top: calc(12px + env(safe-area-inset-top)); }
    .sb-chat__foot { padding-bottom: calc(9px + env(safe-area-inset-bottom)); }
    .sb-chat__bubble, .sb-chat__bubble--wide { max-width: 88%; }
    .sb-chat__bubble--wide { width: 88%; }
    html.sb-chat-open, html.sb-chat-open body { overflow: hidden; }
}

@media (max-width: 359.98px) {
    .sb-brand img { width: 34px; height: 34px; }
    .sb-brand b { font-size: 14px; }
    .sb-brand em { font-size: 13px; }
    .sb-btn--wa { gap: 5px; padding: 7px 10px; font-size: 12px; }
    .sb-sticky { gap: 10px; }
    .sb-sticky__text small { display: none; }
    .sb-sticky__btn { padding: 8px 11px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .sb-pulse, .sb-curve__back, .sb-prod__float, .sb-float-wa__dot, .sb-sticky__img img, .sb-sticky__btn { animation: none; }
    .sb-chat, .sb-chat-teaser { transition: none; }
    .sb-chat.is-flash { animation: none; }
    .sb-chat.is-flash::after { display: none; }
    .sb-chat__bubble, .sb-chat__opt { animation: none; }
    .sb-js .sb-reveal { opacity: 1; transform: none; transition: none; }
}

/* =====================================================================
   REGISTRATION PAGE (engRegister.php) - same theme, 2-step form
   ===================================================================== */
.sb-header--reg .sb-header__inner { flex-wrap: nowrap; gap: 12px; min-height: 66px; padding-top: 0; }
.sb-header--reg .sb-brand { margin-right: auto; }
.sb-reg-secure {
    align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
    color: var(--sb-gold); background: rgba(255, 200, 61, .1); border: 1px solid rgba(255, 200, 61, .3);
}
.sb-reg-back { padding: 8px 16px; font-size: 14px; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); }
.sb-reg-back:hover { color: var(--sb-ink); background: var(--sb-gold); }

/* title band */
.sb-reg-hero {
    position: relative; overflow: hidden; padding: 34px 0 96px; text-align: center;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 200, 61, .25), transparent 40%),
        radial-gradient(circle at 88% 30%, rgba(22, 147, 156, .14), transparent 42%),
        linear-gradient(115deg, #fffaf1 0%, #fdf3e2 45%, #e6f3f7 100%);
}
.sb-reg-hero > .container { position: relative; z-index: 2; }
.sb-reg-hero .sb-hero__wave svg { height: 76px; }
.sb-reg-hero__title { margin: 4px 0 6px; font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; line-height: 1.2; color: var(--sb-ink); }
.sb-reg-hero__title span { white-space: nowrap; background: linear-gradient(90deg, #e0560c 0%, #f47b16 60%, #ff9d2a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sb-reg-hero__sub { max-width: 640px; margin: 0 auto 18px; font-size: 17px; font-weight: 500; color: var(--sb-muted); text-wrap: balance; }
.sb-reg-flow { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin: 0; padding: 0; list-style: none; }
.sb-reg-flow li {
    position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px;
    font-size: 14.5px; font-weight: 700; color: var(--sb-muted); background: rgba(255, 255, 255, .88); border: 1px solid rgba(13, 55, 73, .1);
}
.sb-reg-flow li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -21px; width: 16px; height: 2px; background: rgba(13, 55, 73, .25); }
.sb-reg-flow li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; color: #fff; background: #9fb3bc; }
.sb-reg-flow li.is-current { color: var(--sb-ink); border-color: rgba(244, 123, 22, .45); box-shadow: 0 6px 14px rgba(244, 123, 22, .16); }
.sb-reg-flow li.is-current span { background: var(--sb-grad-orange); }
.sb-reg-flow li.is-done span { background: var(--sb-green); }

/* layout + form card */
.sb-reg { position: relative; z-index: 3; margin-top: -34px; padding-bottom: 70px; }
.sb-reg-card {
    position: relative; overflow: hidden; padding: 26px 28px 28px; border-radius: 24px;
    background: #fff; border: 1px solid rgba(13, 55, 73, .08); box-shadow: 0 24px 50px rgba(13, 55, 73, .14);
}
.sb-reg-card__ribbon {
    position: absolute; top: 18px; right: -44px; z-index: 2; padding: 5px 48px; transform: rotate(35deg);
    font-size: 11px; font-weight: 800; letter-spacing: .05em; color: #fff; background: var(--sb-grad-orange); box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
}
.sb-reg-mini { display: flex; align-items: center; gap: 12px; margin: -4px 60px 18px 0; padding: 10px 12px; border-radius: 14px; background: linear-gradient(120deg, #fff4de, #ffe4ac); }
.sb-reg-mini img { flex: 0 0 40px; width: 40px; height: auto; border-radius: 3px 6px 6px 3px; box-shadow: 4px 6px 10px rgba(13, 55, 73, .25); }
.sb-reg-mini b { display: block; font-family: var(--sb-font-head); font-size: 16px; font-weight: 800; color: var(--sb-ink); line-height: 1.2; }
.sb-reg-mini small { font-size: 13px; font-weight: 600; color: var(--sb-orange-3); }

/* tabs */
.sb-reg-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 56px 24px 0; padding-bottom: 16px; }
.sb-reg-tab {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid rgba(13, 55, 73, .12); border-radius: 16px;
    cursor: pointer; text-align: left; font-family: var(--sb-font); color: var(--sb-muted); background: #f8fafb;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.sb-reg-tab:hover { border-color: rgba(244, 123, 22, .45); }
.sb-reg-tab__no {
    display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
    font-family: var(--sb-font-head); font-size: 16px; font-weight: 800; color: var(--sb-muted);
    background: #fff; border: 2px solid rgba(13, 55, 73, .15); transition: background .2s ease, color .2s ease;
}
.sb-reg-tab__txt b { display: block; font-size: 15.5px; font-weight: 800; line-height: 1.2; color: var(--sb-ink); }
.sb-reg-tab__txt small { display: block; font-size: 12.5px; }
.sb-reg-tab.is-active { border-color: transparent; background: linear-gradient(120deg, #fff4de, #ffe9b8); box-shadow: 0 8px 20px rgba(244, 123, 22, .18); }
.sb-reg-tab.is-active .sb-reg-tab__no { color: #fff; border-color: transparent; background: var(--sb-grad-orange); }
.sb-reg-tab.is-done .sb-reg-tab__no { font-size: 0; color: #fff; border-color: transparent; background: var(--sb-green); }
.sb-reg-tab.is-done .sb-reg-tab__no::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 15px; }
.sb-reg-tabs__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; overflow: hidden; border-radius: 5px; background: rgba(13, 55, 73, .08); }
.sb-reg-tabs__bar i { display: block; width: 50%; height: 100%; border-radius: inherit; background: var(--sb-grad-orange); transition: width .4s ease; }

/* steps + fields */
.sb-reg-step { min-width: 0; margin: 0; padding: 0; border: 0; animation: sbStepIn .35s ease; }
@keyframes sbStepIn {
    from { opacity: 0; transform: translateX(14px); }
    to   { opacity: 1; transform: none; }
}
.sb-reg-step__title { float: none; display: flex; align-items: center; gap: 10px; width: auto; margin: 0 0 16px; font-family: var(--sb-font-head); font-size: 20px; font-weight: 800; color: var(--sb-ink); }
.sb-reg-step__title i { color: var(--sb-orange); }
.sb-reg-step__title:focus { outline: none; }
.sb-field { margin-bottom: 16px; }
.sb-field > label, .sb-field__label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 700; color: var(--sb-ink); }
.sb-field .req { color: #d63a33; }
.sb-field__box {
    position: relative; display: flex; align-items: center; border: 1.5px solid rgba(13, 55, 73, .16); border-radius: 14px;
    background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
.sb-field__box:focus-within { border-color: var(--sb-orange); box-shadow: 0 0 0 4px rgba(244, 123, 22, .14); }
.sb-field__box > i { flex: 0 0 46px; text-align: center; font-size: 16px; color: var(--sb-teal); }
.sb-field__prefix { margin-right: 10px; padding-right: 10px; font-weight: 700; color: var(--sb-ink); border-right: 1px solid rgba(13, 55, 73, .15); }
.sb-field__box input, .sb-field__box textarea {
    flex: 1; min-width: 0; padding: 13px 42px 13px 0; border: 0; outline: 0; background: transparent;
    font-family: var(--sb-font); font-size: 16px; color: var(--sb-ink);
}
.sb-field__box textarea { min-height: 72px; resize: vertical; line-height: 1.5; }
.sb-field__box--area { align-items: flex-start; }
.sb-field__box--area > i { padding-top: 16px; }
.sb-field__box input::placeholder, .sb-field__box textarea::placeholder { color: #9aabb3; }
.sb-field__box::after {
    position: absolute; top: 50%; right: 14px; transform: translateY(-50%);
    font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 17px;
}
.sb-field.is-valid .sb-field__box { border-color: rgba(31, 168, 85, .6); }
.sb-field.is-valid .sb-field__box::after { content: "\f058"; color: var(--sb-green); }
.sb-field.is-invalid .sb-field__box { border-color: #d63a33; box-shadow: 0 0 0 4px rgba(214, 58, 51, .1); }
.sb-field.is-invalid .sb-field__box::after { content: "\f06a"; color: #d63a33; }
.sb-field__box--area::after { top: 16px; transform: none; }
.sb-field__msg { min-height: 0; margin: 6px 2px 0; font-size: 13px; color: var(--sb-muted); }
.sb-field__msg:empty { display: none; }
.sb-field.is-invalid .sb-field__msg { font-weight: 600; color: #c0352e; }
.sb-field.is-warn .sb-field__msg { font-weight: 600; color: #b26a00; }

/* committee position tiles */
.sb-pos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sb-pos__opt { position: relative; margin: 0; cursor: pointer; }
.sb-pos__opt input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sb-pos__opt > span {
    display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; padding: 14px 6px 12px;
    border: 1.5px solid rgba(13, 55, 73, .14); border-radius: 16px; text-align: center; background: #fff;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.sb-pos__opt i {
    display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 3px; border-radius: 12px;
    font-size: 18px; color: var(--sb-teal); background: rgba(22, 147, 156, .1); transition: background .2s ease, color .2s ease;
}
.sb-pos__opt b { font-size: 15px; font-weight: 800; line-height: 1.2; color: var(--sb-ink); }
.sb-pos__opt small { font-size: 12px; color: var(--sb-muted); }
.sb-pos__opt:hover > span { border-color: rgba(244, 123, 22, .45); }
.sb-pos__opt input:focus-visible + span { outline: 3px solid var(--sb-gold); outline-offset: 2px; }
.sb-pos__opt input:checked + span { border-color: var(--sb-orange); background: linear-gradient(160deg, #ffffff, #fff1d6); box-shadow: 0 8px 18px rgba(244, 123, 22, .18); }
.sb-pos__opt input:checked + span i { color: #fff; background: var(--sb-grad-orange); }
.sb-pos__opt input:checked + span::after {
    content: "\f00c"; position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
    font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 10px; color: #fff; background: var(--sb-orange);
}
.sb-field.is-invalid .sb-pos__opt > span { border-color: rgba(214, 58, 51, .55); }
.sb-reg-offer {
    display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 10px 14px; border-radius: 12px;
    font-size: 14px; line-height: 1.45; color: var(--sb-ink); background: rgba(13, 55, 73, .05); border-left: 4px solid rgba(13, 55, 73, .25);
}
.sb-reg-offer > i { margin-top: 3px; color: var(--sb-teal); }
.sb-reg-offer.is-committee { background: rgba(31, 168, 85, .09); border-left-color: var(--sb-green); }
.sb-reg-offer.is-committee > i { color: var(--sb-green); }
.sb-reg-offer.is-member { background: rgba(244, 123, 22, .08); border-left-color: var(--sb-orange); }
.sb-reg-offer.is-member > i { color: var(--sb-orange-3); }

/* terms */
.sb-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--sb-ink); cursor: pointer; }
.sb-check input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--sb-orange); cursor: pointer; }
.sb-check a { font-weight: 700; color: var(--sb-teal); }
.sb-field.is-invalid .sb-check { font-weight: 600; color: #c0352e; }

/* actions + notes */
.sb-reg-actions { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.sb-reg-actions .sb-reg-primary { flex: 1; }
.sb-btn--ghost { padding: 14px 20px; font-size: 16px; color: var(--sb-ink); background: #fff; border: 1.5px solid rgba(13, 55, 73, .2); }
.sb-btn--ghost:hover { color: var(--sb-ink); border-color: var(--sb-ink); }
.sb-btn:disabled, .sb-btn.is-busy { opacity: .75; pointer-events: none; animation: none; }
.sb-reg-privacy { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font-size: 13px; color: var(--sb-muted); }
.sb-reg-privacy i, .sb-reg-note i { color: var(--sb-green); }
.sb-reg-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; font-size: 13px; color: var(--sb-muted); }

/* server messages */
.sb-reg-alert { display: flex; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; animation: sbStepIn .3s ease; }
.sb-reg-alert--error { color: #8f2620; background: #fde8e7; border: 1px solid rgba(214, 58, 51, .3); }
.sb-reg-alert--warn { color: #6b4300; background: #fff4dc; border: 1px solid rgba(240, 165, 0, .45); }
.sb-reg-alert__ic { flex: 0 0 auto; margin-top: 2px; font-size: 20px; }
.sb-reg-alert b { display: block; margin-bottom: 2px; }
.sb-reg-alert__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sb-reg-alert__actions .sb-btn { padding: 8px 14px; font-size: 14px; }

/* success before redirect */
.sb-reg-done { padding: 30px 10px 12px; text-align: center; animation: sbStepIn .35s ease; }
.sb-reg-done__ic {
    display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 14px; border-radius: 50%;
    font-size: 34px; color: #fff; background: linear-gradient(145deg, #3bcf76, #1fa855); box-shadow: 0 12px 26px rgba(31, 168, 85, .35);
    animation: sbPop .5s ease;
}
@keyframes sbPop {
    0%   { transform: scale(.4); opacity: 0; }
    70%  { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}
.sb-reg-done h2 { margin: 0 0 6px; font-size: 24px; font-weight: 800; color: var(--sb-ink); }
.sb-reg-done p { margin: 0 0 16px; color: var(--sb-muted); }
.sb-reg-done__bar { max-width: 260px; height: 6px; margin: 0 auto 14px; overflow: hidden; border-radius: 6px; background: rgba(13, 55, 73, .08); }
.sb-reg-done__bar i { display: block; width: 0; height: 100%; background: var(--sb-grad-orange); animation: sbFill 2s linear forwards; }
@keyframes sbFill { to { width: 100%; } }
.sb-reg-done__link { font-weight: 700; color: var(--sb-teal); }

/* order summary */
.sb-reg-summary {
    position: sticky; top: 90px; overflow: hidden; padding: 24px; border-radius: 24px; color: #fff;
    background: radial-gradient(circle at 85% 0%, rgba(22, 147, 156, .55), transparent 50%), linear-gradient(150deg, #11566d 0%, #0b3a4c 55%, #072a37 100%);
    box-shadow: 0 24px 50px rgba(11, 58, 76, .3);
}
.sb-reg-summary__top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.sb-reg-summary__top img { flex: 0 0 86px; width: 86px; height: auto; border-radius: 4px 10px 10px 4px; box-shadow: 10px 14px 24px rgba(0, 0, 0, .35); transform: perspective(600px) rotateY(-14deg); }
.sb-reg-summary__eyebrow { display: inline-block; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--sb-ink); background: var(--sb-gold); }
.sb-reg-summary h2 { margin: 0 0 6px; font-size: 22px; font-weight: 800; line-height: 1.15; color: #fff; }
.sb-reg-summary__price { margin: 0; font-family: var(--sb-font-head); font-size: 32px; font-weight: 800; line-height: 1; color: var(--sb-gold); }
.sb-reg-summary__price small { font-family: var(--sb-font); font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .75); }
.sb-reg-incl { display: grid; gap: 12px; margin: 0 0 16px; padding: 16px 0 0; list-style: none; border-top: 1px dashed rgba(255, 255, 255, .2); }
.sb-reg-incl li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.4; transition: opacity .25s ease; }
.sb-reg-incl li > i { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; font-size: 11px; color: #fff; background: var(--sb-green); }
.sb-reg-incl b { display: block; font-weight: 700; color: #fff; }
.sb-reg-incl small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .68); }
.sb-reg-incl li.is-pending > i { color: var(--sb-ink); background: var(--sb-gold); }
.sb-reg-incl li.is-on small { color: #7ee8a8; }
.sb-reg-incl li.is-off { opacity: .55; }
.sb-reg-incl li.is-off b { text-decoration: line-through; }
.sb-reg-incl li.is-off > i { color: #fff; background: rgba(255, 255, 255, .25); }
.sb-reg-total { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 14px; font-weight: 700; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.sb-reg-total b { font-family: var(--sb-font-head); font-size: 26px; color: var(--sb-gold); }
.sb-reg-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.sb-reg-trust li { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 10px; font-size: 12.5px; font-weight: 600; background: rgba(255, 255, 255, .06); }
.sb-reg-trust i { color: var(--sb-gold); }
.sb-reg-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 16px; font-size: 14px; border-top: 1px dashed rgba(255, 255, 255, .2); }
.sb-reg-help a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-weight: 700; color: #fff; text-decoration: none; background: #25d366; }
.sb-reg-help a:hover { color: #fff; background: #1fa855; }

/* honeypot stays in the layout flow (not display:none) so form-filling bots still see it */
.hp-trap { position: absolute; top: -9999px; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.sb-reg-sticky { display: none; }

@media (max-width: 991.98px) {
    .sb-reg-summary { position: static; }
}

@media (max-width: 767.98px) {
    body.sb-page.sb-reg-page { padding-bottom: 96px; }
    .sb-reg-hero { padding: 26px 0 84px; }
    .sb-reg-hero__sub { font-size: 15.5px; }
    .sb-reg-flow { gap: 8px 18px; }
    .sb-reg-flow li { padding-right: 12px; font-size: 13px; }
    .sb-reg-flow li:not(:last-child)::after { right: -15px; width: 10px; }
    .sb-reg-card { padding: 20px 16px 22px; border-radius: 20px; }
    .sb-reg-tabs { margin-right: 0; }
    .sb-reg-mini { margin-right: 52px; }
    .sb-reg-tab { gap: 8px; padding: 10px; }
    .sb-reg-tab__no { flex-basis: 30px; width: 30px; height: 30px; font-size: 14px; }
    .sb-reg-tab__txt b { font-size: 14px; }
    .sb-reg-tab__txt small { display: none; }
    .sb-pos { grid-template-columns: 1fr 1fr; }
    /* the sticky bar carries the main button on phones */
    .sb-reg-actions .sb-reg-primary { display: none; }
    .sb-reg-actions:not(:has(.sb-btn--ghost)) { display: none; }
    .sb-reg-sticky {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020; display: block;
        padding: 8px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px rgba(0, 0, 0, .12);
    }
    .sb-reg-sticky[hidden] { display: none; }
    .sb-reg-sticky p { margin: 0 0 6px; font-size: 11.5px; text-align: center; color: var(--sb-muted); }
    .sb-reg-sticky .sb-btn { width: 100%; padding: 13px 18px; font-size: 16px; }
}

@media (max-width: 575.98px) {
    .sb-reg-flow { gap: 6px; }
    .sb-reg-flow li { gap: 6px; padding: 4px 10px 4px 4px; font-size: 12.5px; }
    .sb-reg-flow li span { width: 22px; height: 22px; font-size: 11.5px; }
    .sb-reg-flow li:not(:last-child)::after { display: none; }
}

@media (max-width: 400px) {
    .sb-reg-back { padding: 7px 12px; font-size: 13px; }
    .sb-reg-trust { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .sb-reg-step, .sb-reg-alert, .sb-reg-done, .sb-reg-done__ic { animation: none; }
    .sb-reg-done__bar i { animation: none; width: 100%; }
}

/* =====================================================================
   EXISTING ACCOUNT PAGE (existAccount.php) - reuses the sb-reg-* shell
   ===================================================================== */
.sb-acct-pane { animation: sbStepIn .3s ease; }
.sb-acct-notice { margin: 0 0 20px; }
.sb-acct-notice span { display: block; }
.sb-acct-id { position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 20px; border-radius: 18px; background: linear-gradient(135deg, #f4fafb 0%, #fff8ec 100%); border: 1px solid rgba(13, 55, 73, .1); }
.sb-acct-id__av { display: grid; place-items: center; flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; font-family: var(--sb-font-head); font-size: 24px; font-weight: 800; color: #fff; background: var(--sb-grad-navy); box-shadow: 0 8px 18px rgba(13, 55, 73, .25); }
.sb-acct-id__body { min-width: 0; }
.sb-acct-id__body small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--sb-teal); }
.sb-acct-id__body b { display: block; margin: 2px 0 8px; font-size: 20px; font-weight: 800; color: var(--sb-ink); overflow-wrap: anywhere; }
.sb-acct-id__body ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--sb-muted); }
.sb-acct-id__body li { display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.sb-acct-id__body li i { width: 16px; text-align: center; color: var(--sb-teal-2); }
.sb-acct-id__badge { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #137a3e; background: rgba(31, 168, 85, .12); }
.sb-acct-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 22px; }
.sb-acct-actions .sb-btn { justify-content: center; }
.sb-acct-link { align-self: center; display: inline-flex; align-items: center; gap: 7px; padding: 6px 4px; border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--sb-teal); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sb-acct-link:hover { color: var(--sb-orange-3); }
.sb-acct-lead { margin: 0 0 18px; font-size: 15.5px; line-height: 1.6; color: var(--sb-muted); }
.sb-acct-state { padding: 12px 4px 4px; text-align: center; }
.sb-acct-state__ic { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; font-size: 32px; color: #fff; background: linear-gradient(145deg, #25d366, #128c7e); box-shadow: 0 12px 26px rgba(31, 168, 85, .3); }
.sb-acct-state__ic.is-warn { background: var(--sb-grad-orange); box-shadow: 0 12px 26px rgba(224, 86, 12, .3); }
.sb-acct-state h2 { margin: 0 0 6px; font-family: var(--sb-font-head); font-size: 26px; font-weight: 800; color: var(--sb-ink); outline: none; }
.sb-acct-state > p { margin: 0 auto 16px; max-width: 460px; color: var(--sb-muted); }
.sb-acct-checks, .sb-acct-next { display: grid; gap: 10px; max-width: 460px; margin: 0 auto 20px; padding: 0; list-style: none; text-align: left; }
.sb-acct-checks li { display: flex; gap: 10px; padding: 10px 14px; border-radius: 12px; font-size: 14.5px; color: var(--sb-ink); background: #f6f9fa; }
.sb-acct-checks li i { margin-top: 3px; color: var(--sb-orange); }
.sb-acct-next { counter-reset: sbAcct; }
.sb-acct-next li { position: relative; padding: 10px 14px 10px 52px; border-radius: 12px; background: #f6f9fa; counter-increment: sbAcct; }
.sb-acct-next li::before { content: counter(sbAcct); position: absolute; left: 14px; top: 11px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; font-weight: 800; color: #fff; background: var(--sb-grad-orange); }
.sb-acct-next b { display: block; font-size: 15px; color: var(--sb-ink); }
.sb-acct-next span { font-size: 13.5px; color: var(--sb-muted); }
.sb-acct-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sb-acct-small { margin: 16px 0 0; font-size: 13.5px; color: var(--sb-muted); }
.sb-acct-small a { font-weight: 700; color: var(--sb-teal); }
/* no sticky bar on this page: keep its buttons visible on phones (engRegister hides them there) */
.sb-acct .sb-reg-actions { display: flex; }
.sb-acct-aside h2 { margin: 6px 0 4px; font-family: var(--sb-font-head); font-size: 22px; font-weight: 800; color: #fff; }
@media (max-width: 575.98px) {
    .sb-acct-id { flex-direction: column; gap: 12px; padding: 18px 16px; }
    .sb-acct-id__badge { top: 18px; right: 16px; }
    .sb-acct-state__actions .sb-btn { flex: 1 1 100%; justify-content: center; }
}
/* =====================================================================
   LEGAL / POLICY PAGES (includes/policy_layout.php)
   ===================================================================== */
.sb-btn--gold { color: var(--sb-ink); background: linear-gradient(135deg, #ffe39a, #ffc83d); box-shadow: 0 8px 20px rgba(255, 200, 61, .3); }
.sb-btn--gold:hover { color: var(--sb-ink); }
.sb-policy-hero { padding-bottom: 110px; text-align: left; }
.sb-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 14px; font-weight: 600; color: var(--sb-muted); }
.sb-crumbs a { color: var(--sb-teal); text-decoration: none; }
.sb-crumbs a:hover { color: var(--sb-orange-3); }
.sb-crumbs > i { font-size: 10px; opacity: .6; }
.sb-crumbs [aria-current] { color: var(--sb-ink); }
.sb-policy-hero__main { display: flex; align-items: center; gap: 18px; }
.sb-policy-hero__main .sb-reg-hero__title { margin: 0; text-align: left; }
.sb-policy-hero__main .sb-reg-hero__sub { margin: 6px 0 0; text-align: left; }
.sb-policy-hero__ic { display: grid; place-items: center; flex: 0 0 74px; width: 74px; height: 74px; border-radius: 22px; font-size: 32px; color: #fff; background: var(--sb-grad-orange); box-shadow: 0 14px 30px rgba(224, 86, 12, .35); }
.sb-policy-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.sb-policy-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--sb-ink); background: rgba(255, 255, 255, .92); border: 1px solid rgba(244, 123, 22, .25); box-shadow: 0 6px 16px rgba(13, 55, 73, .07); }
.sb-policy-chips i { color: var(--sb-orange); }

.sb-policy { padding: 26px 0 70px; background: var(--sb-cream); }
.sb-policy__grid { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.sb-policy__aside { position: sticky; top: calc(var(--sb-header-h) + 18px); display: grid; gap: 16px; }
.sb-policy__box { padding: 18px; border-radius: 20px; background: #fff; border: 1px solid rgba(13, 55, 73, .08); box-shadow: var(--sb-shadow); }
.sb-policy__boxtitle { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-family: var(--sb-font-head); font-size: 17px; font-weight: 800; color: var(--sb-ink); }
.sb-policy__boxtitle i { color: var(--sb-orange); }
.sb-policy__links { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.sb-policy__links a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 15px; font-weight: 700; color: var(--sb-ink); text-decoration: none; transition: background .2s ease, color .2s ease; }
.sb-policy__links a i { width: 18px; text-align: center; color: var(--sb-teal-2); }
.sb-policy__links a:hover { background: #fff4e4; }
.sb-policy__links a.is-active { color: #fff; background: linear-gradient(150deg, #11566d 0%, #0b3a4c 55%, #072a37 100%); }
.sb-policy__links a.is-active i { color: var(--sb-gold); }
.sb-policy__toc nav { display: grid; gap: 2px; border-left: 2px solid rgba(13, 55, 73, .1); }
.sb-policy__toc a { margin-left: -2px; padding: 6px 12px; border-left: 2px solid transparent; font-size: 14px; color: var(--sb-muted); text-decoration: none; }
.sb-policy__toc a:hover { color: var(--sb-ink); }
.sb-policy__toc a.is-active { font-weight: 700; color: var(--sb-orange-3); border-left-color: var(--sb-orange); }
.sb-policy__help { color: #fff; background: linear-gradient(150deg, #11566d 0%, #0b3a4c 55%, #072a37 100%); border: 0; }
.sb-policy__help b { font-family: var(--sb-font-head); font-size: 18px; }
.sb-policy__help p { margin: 2px 0 12px; font-size: 14px; color: rgba(255, 255, 255, .8); }

.sb-policy__body { display: grid; gap: 18px; min-width: 0; }
.sb-policy__intro { display: flex; gap: 14px; padding: 22px 24px; border-radius: 20px; background: linear-gradient(135deg, #fff4e0, #ffffff); border: 1px solid rgba(244, 123, 22, .3); border-left: 5px solid var(--sb-orange); }
.sb-policy__intro > i { margin-top: 4px; font-size: 22px; color: var(--sb-orange); }
.sb-policy__intro p { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.7; color: var(--sb-ink); }
.sb-policy__sec { scroll-margin-top: calc(var(--sb-header-h) + 20px); padding: 24px 26px; border-radius: 20px; background: #fff; border: 1px solid rgba(13, 55, 73, .08); box-shadow: 0 8px 22px rgba(13, 55, 73, .06); }
.sb-policy__sec h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-family: var(--sb-font-head); font-size: 21px; font-weight: 800; color: var(--sb-ink); }
.sb-policy__secic { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; font-size: 17px; color: #fff; background: linear-gradient(150deg, #11566d 0%, #0b3a4c 55%, #072a37 100%); }
.sb-policy__text { font-size: 16.5px; line-height: 1.8; color: #33505f; }
.sb-policy__text p { margin: 0 0 10px; }
.sb-policy__text p:last-child { margin-bottom: 0; }
.sb-policy__text ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sb-policy__text li { position: relative; padding-left: 28px; }
.sb-policy__text li::before { content: "\f00c"; position: absolute; left: 0; top: 4px; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 10px; color: #fff; background: var(--sb-green); }
.sb-policy__text strong { color: var(--sb-ink); }
.sb-policy__text a, .sb-policy__lang a { font-weight: 700; color: var(--sb-orange-3); word-break: break-word; }
.sb-policy__lang { margin: 4px 0 0; padding: 12px 16px; border-radius: 14px; font-size: 13.5px; color: var(--sb-muted); background: rgba(13, 55, 73, .04); }
.sb-policy__lang i { margin-right: 6px; color: var(--sb-teal-2); }

.sb-policy-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 34px; padding: 28px 32px; border-radius: 24px; color: #fff; background: linear-gradient(150deg, #11566d 0%, #0b3a4c 55%, #072a37 100%); box-shadow: var(--sb-shadow-lg); }
.sb-policy-cta h2 { margin: 0 0 4px; font-family: var(--sb-font-head); font-size: 24px; font-weight: 800; }
.sb-policy-cta p { margin: 0; color: rgba(255, 255, 255, .8); }
.sb-policy-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 991.98px) {
    .sb-policy__grid { grid-template-columns: 1fr; }
    .sb-policy__aside { position: static; order: 2; }
    .sb-policy__help { display: none; }
}
@media (max-width: 575.98px) {
    .sb-policy-hero { padding-bottom: 90px; }
    .sb-policy-hero__main { gap: 14px; }
    .sb-policy-hero__ic { flex-basis: 56px; width: 56px; height: 56px; border-radius: 16px; font-size: 24px; }
    .sb-policy-chips li { padding: 6px 12px; font-size: 13px; }
    .sb-policy__sec { padding: 20px 18px; }
    .sb-policy__intro { padding: 18px; }
    .sb-policy__intro p { font-size: 16px; }
    .sb-policy-cta { padding: 22px 20px; }
    .sb-policy-cta__actions, .sb-policy-cta__actions .sb-btn { width: 100%; justify-content: center; }
}
/* =====================================================================
   WHATSAPP OTP PAGE (otp_verify.php)
   ===================================================================== */
.sb-otp__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.sb-otp__wa { display: grid; place-items: center; flex: 0 0 58px; width: 58px; height: 58px; border-radius: 18px; font-size: 30px; color: #fff; background: linear-gradient(145deg, #25d366, #128c7e); box-shadow: 0 10px 22px rgba(18, 140, 126, .3); }
.sb-otp__head h2 { margin: 0 0 2px; font-family: var(--sb-font-head); font-size: 24px; font-weight: 800; color: var(--sb-ink); }
.sb-otp__head p { margin: 0; font-size: 15px; color: var(--sb-muted); }
.sb-otp__head b { color: var(--sb-ink); white-space: nowrap; }
.sb-otp__label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 700; color: var(--sb-ink); }

.sb-otp__boxes { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; max-width: 420px; cursor: text; }
/* the real input sits on top, transparent, so taps open the numeric keypad and paste/autofill work */
.sb-otp__input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: transparent; caret-color: transparent; font-size: 16px; letter-spacing: 0; opacity: .01; }
.sb-otp__box { display: grid; place-items: center; aspect-ratio: 1 / 1.15; border-radius: 14px; font-family: var(--sb-font-head); font-size: clamp(24px, 6vw, 32px); font-weight: 800; color: var(--sb-ink); background: #fff; border: 2px solid rgba(13, 55, 73, .16); box-shadow: 0 4px 12px rgba(13, 55, 73, .06); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background .2s ease; }
.sb-otp__box.is-filled { border-color: rgba(13, 55, 73, .45); background: #fbfdfd; }
.sb-otp__box.is-active { border-color: var(--sb-orange); box-shadow: 0 0 0 4px rgba(244, 123, 22, .18); transform: translateY(-2px); }
.sb-otp__box.is-active:empty::after { content: ""; width: 2px; height: 42%; background: var(--sb-orange); animation: sbOtpCaret 1s steps(2) infinite; }
@keyframes sbOtpCaret { 50% { opacity: 0; } }
.sb-otp__boxes.is-busy .sb-otp__box { border-color: var(--sb-teal-2); animation: sbOtpPulse 1s ease-in-out infinite; }
.sb-otp__boxes.is-busy .sb-otp__box:nth-child(3) { animation-delay: .1s; }
.sb-otp__boxes.is-busy .sb-otp__box:nth-child(4) { animation-delay: .2s; }
.sb-otp__boxes.is-busy .sb-otp__box:nth-child(5) { animation-delay: .3s; }
.sb-otp__boxes.is-busy .sb-otp__box:nth-child(6) { animation-delay: .4s; }
.sb-otp__boxes.is-busy .sb-otp__box:nth-child(7) { animation-delay: .5s; }
@keyframes sbOtpPulse { 50% { background: rgba(22, 147, 156, .1); } }
.sb-otp__boxes.is-ok .sb-otp__box { color: #fff; border-color: var(--sb-green); background: var(--sb-green); }
.sb-otp__boxes.is-error .sb-otp__box { border-color: #d63a33; background: #fdf0ef; }
.sb-otp__boxes.is-error { animation: sbOtpShake .4s ease; }
@keyframes sbOtpShake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }

.sb-otp__msg { min-height: 22px; margin: 12px 2px 0; font-size: 14px; color: var(--sb-muted); }
.sb-otp__msg.is-busy { font-weight: 700; color: var(--sb-teal); }
.sb-otp__msg.is-ok { font-weight: 700; color: #137a3e; }
.sb-otp__msg.is-error { font-weight: 700; color: #c0352e; }
.sb-otp__submit { width: 100%; max-width: 420px; margin-top: 18px; justify-content: center; }
.sb-otp__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; max-width: 420px; margin-top: 18px; padding-top: 16px; font-size: 14px; color: var(--sb-muted); border-top: 1px dashed rgba(13, 55, 73, .15); }
.sb-otp__expiry b { color: var(--sb-ink); font-variant-numeric: tabular-nums; }
.sb-otp__expiry i { margin-right: 4px; color: var(--sb-orange); }
.sb-otp__expiry.is-expired, .sb-otp__expiry.is-expired b { color: #c0352e; }
.sb-otp__resend-btn { padding: 0; border: 0; background: none; font: inherit; font-weight: 800; color: var(--sb-teal); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sb-otp__resend-btn:disabled { color: #8a9aa3; text-decoration: none; cursor: default; }
.sb-otp__resend-btn span { font-variant-numeric: tabular-nums; }
.sb-otp__help { margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; color: var(--sb-muted); background: rgba(37, 211, 102, .08); }
.sb-otp__help i { margin-right: 4px; color: #128c7e; }
.sb-otp__help a { font-weight: 700; color: #128c7e; }
.sb-otp__bar i { animation-duration: 1.2s; }
@media (max-width: 575.98px) {
    .sb-otp__boxes { gap: 7px; }
    .sb-otp__box { border-radius: 12px; }
    .sb-otp__head h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
    .sb-otp__boxes.is-error, .sb-otp__boxes.is-busy .sb-otp__box, .sb-otp__box.is-active:empty::after { animation: none; }
}
/* OTP locked after 3 wrong tries - waits for a new OTP */
.sb-otp__boxes.is-locked { cursor: not-allowed; }
.sb-otp__boxes.is-locked .sb-otp__box { border-color: rgba(214, 58, 51, .35); background: #f4f6f7; }
/* =====================================================================
   PAYMENT RESULT PAGE (payment-success.php)
   ===================================================================== */
.sb-pay-hero { padding-bottom: 96px; }
.sb-pay-hero--success { background: radial-gradient(circle at 50% 0%, rgba(31, 168, 85, .16), transparent 55%), linear-gradient(180deg, #f3fbf5 0%, #fff6e6 100%); }
.sb-pay-burst { position: relative; display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%; font-size: 42px; color: #fff; background: linear-gradient(145deg, #2fcf72, #138a48); box-shadow: 0 0 0 10px rgba(31, 168, 85, .14), 0 16px 34px rgba(19, 138, 72, .35); animation: sbPayPop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
.sb-pay-burst i { animation: sbPayTick .5s .35s ease both; }
.sb-pay-burst b { position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 3px; opacity: 0; animation: sbPayConfetti 1.1s .25s ease-out forwards; }
.sb-pay-burst b:nth-of-type(1) { --x: -78px; --y: -50px; background: #ffc83d; }
.sb-pay-burst b:nth-of-type(2) { --x: 80px;  --y: -44px; background: #f47b16; }
.sb-pay-burst b:nth-of-type(3) { --x: -92px; --y: 18px;  background: #16939c; border-radius: 50%; }
.sb-pay-burst b:nth-of-type(4) { --x: 94px;  --y: 26px;  background: #1fa855; border-radius: 50%; }
.sb-pay-burst b:nth-of-type(5) { --x: -40px; --y: -86px; background: #e0560c; }
.sb-pay-burst b:nth-of-type(6) { --x: 44px;  --y: -84px; background: #0d3749; }
.sb-pay-burst b:nth-of-type(7) { --x: -60px; --y: 70px;  background: #ff9d2a; border-radius: 50%; }
.sb-pay-burst b:nth-of-type(8) { --x: 64px;  --y: 72px;  background: #ffc83d; }
@keyframes sbPayPop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sbPayTick { from { transform: scale(0) rotate(-30deg); } to { transform: none; } }
@keyframes sbPayConfetti { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(220deg); } }
.sb-pay-icon { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; font-size: 36px; color: #fff; }
.sb-pay-icon.is-warn { background: var(--sb-grad-orange); box-shadow: 0 14px 30px rgba(224, 86, 12, .3); }
.sb-pay-icon.is-fail { background: linear-gradient(145deg, #ef5b52, #c0352e); box-shadow: 0 14px 30px rgba(192, 53, 46, .3); }
.sb-pay-hero--failed .sb-reg-hero__title span { background: linear-gradient(90deg, #ef5b52, #c0352e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.sb-pay-next { padding: 22px; border-radius: 20px; background: linear-gradient(135deg, #f4fafb 0%, #fff8ec 100%); border: 1px solid rgba(13, 55, 73, .1); }
.sb-pay-next__eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .03em; color: #fff; background: var(--sb-grad-orange); }
.sb-pay-next h2 { margin: 12px 0 6px; font-family: var(--sb-font-head); font-size: 25px; font-weight: 800; line-height: 1.2; color: var(--sb-ink); }
.sb-pay-next > p { margin: 0 0 16px; font-size: 15.5px; color: var(--sb-muted); }
.sb-pay-cta { width: 100%; justify-content: center; }
.sb-pay-note { margin: 10px 0 0; font-size: 13.5px; text-align: center; color: var(--sb-muted); }
.sb-pay-note i { margin-right: 4px; color: var(--sb-orange); }
.sb-pay-offer { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 16px; border-radius: 16px; background: #eefad3; border: 2px dashed #ffc83d; }
.sb-pay-offer__ic { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px; font-size: 20px; color: var(--sb-ink); background: var(--sb-gold); }
.sb-pay-offer b { display: block; font-size: 16px; color: var(--sb-ink); }
.sb-pay-offer span { font-size: 14px; color: var(--sb-muted); }
.sb-pay-subtitle { margin: 24px 0 12px; font-family: var(--sb-font-head); font-size: 19px; font-weight: 800; color: var(--sb-ink); }
.sb-pay .sb-acct-next { max-width: none; margin: 0; }
.sb-pay .sb-acct-next a { font-weight: 700; color: var(--sb-teal); }

.sb-pay-resend { margin-top: 22px; padding: 16px; border-radius: 16px; background: #fff8ec; border: 1px dashed rgba(244, 123, 22, .5); }
.sb-pay-resend__head { display: flex; gap: 12px; margin-bottom: 12px; }
.sb-pay-resend__head > i { margin-top: 3px; font-size: 22px; color: var(--sb-orange); }
.sb-pay-resend__head b { display: block; color: var(--sb-ink); }
.sb-pay-resend__head span { font-size: 14px; color: var(--sb-muted); }
.sb-pay-resend__head span b { display: inline; }
.sb-pay-resend__btn { width: 100%; justify-content: center; }
.sb-pay-resend__msg { margin: 10px 0 0; font-size: 14px; font-weight: 700; }
.sb-pay-resend__msg:empty { display: none; }
.sb-pay-resend__msg.is-ok { color: #137a3e; }
.sb-pay-resend__msg.is-error { color: #c0352e; }

.sb-pay-txn { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin: 0 auto 18px; padding: 10px 14px; border-radius: 12px; background: #f6f9fa; border: 1px solid rgba(13, 55, 73, .1); }
.sb-pay-txn span { font-size: 13px; font-weight: 700; color: var(--sb-muted); }
.sb-pay-txn code, .sb-pay-rows code { font-size: 14px; font-weight: 700; color: var(--sb-ink); background: none; overflow-wrap: anywhere; }
.sb-pay-copy { display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid rgba(13, 55, 73, .18); border-radius: 8px; font-size: 13px; color: var(--sb-teal); background: #fff; cursor: pointer; }
.sb-pay-copy.is-copied { color: #fff; border-color: var(--sb-green); background: var(--sb-green); }

.sb-pay-receipt__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sb-pay-paid { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; color: #0c3d22; background: #7ee8a8; }
.sb-pay-purpose { margin: 4px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.sb-pay-rows { display: grid; gap: 0; margin: 0 0 14px; padding: 6px 0 0; border-top: 1px dashed rgba(255, 255, 255, .2); }
.sb-pay-rows > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.sb-pay-rows dt { font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.sb-pay-rows dd { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14.5px; font-weight: 700; color: #fff; text-align: right; }
.sb-pay-rows code { color: #fff; }
.sb-pay-rows .sb-pay-copy { width: 26px; height: 26px; color: #fff; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); }
.sb-pay-receipt__dl { width: 100%; justify-content: center; margin-top: 14px; }
@media (max-width: 575.98px) {
    .sb-pay-burst { width: 80px; height: 80px; font-size: 34px; }
    .sb-pay-next { padding: 18px 16px; }
    .sb-pay-next h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
    .sb-pay-burst, .sb-pay-burst i, .sb-pay-burst b { animation: none; }
}
/* WebP <picture> wrappers (images/<name>.png.webp) must not change layout: the <img> keeps sizing against its old parent */
picture { display: contents; }
