/* ==========================================================================
   SmartBuy Store — premium visual redesign

   Design language: violet/fuchsia gradient accents, Plus Jakarta Sans,
   frosted-glass (backdrop-blur) surfaces, rounded-3xl cards, soft shadows,
   micro-interactions (hover lift, active press). Colors, type, and
   component shapes are original — no third-party brand assets, copy, or
   links are used anywhere in this stylesheet.
   ========================================================================== */

:root {
	--sbs-violet: #7c3aed;
	--sbs-violet-dark: #6d28d9;
	--sbs-fuchsia: #c026d3;
	--sbs-ink: #1e293b;
	--sbs-slate-700: #334155;
	--sbs-muted: #64748b;
	--sbs-slate-400: #94a3b8;
	--sbs-bg: #f8fafc;
	--sbs-surface: #ffffff;
	--sbs-border: #e2e8f0;
	--sbs-emerald: #10b981;
	--sbs-rose: #e11d48;
	--sbs-radius: 20px;
	--sbs-radius-sm: 14px;
	--sbs-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
/* Safety net: some component classes (.sbs-form, .sbs-panel, etc) set an
   explicit `display`, which — per normal CSS cascade rules — silently
   defeats the browser's native `[hidden]` behavior. This keeps `hidden`
   authoritative everywhere, no matter what display value a class sets. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--sbs-font);
	background:
		radial-gradient(circle at 1px 1px, #e2e8f0 1px, transparent 0) 0 0 / 22px 22px,
		var(--sbs-bg);
	color: var(--sbs-ink);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--sbs-violet); color: #fff; }

/* ---- Header: frosted sticky nav --------------------------------------- */
.sbs-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(226, 232, 240, 0.7);
	transition: background .3s ease, box-shadow .3s ease;
}
.sbs-header.is-scrolled { background: rgba(255, 255, 255, 0.94); box-shadow: 0 4px 20px rgba(15, 23, 42, .06); }
.sbs-header__inner {
	max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 64px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.sbs-brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 auto; }
.sbs-brand__mark {
	width: 34px; height: 34px; border-radius: 11px;
	background: linear-gradient(135deg, var(--sbs-violet), var(--sbs-fuchsia));
	color: #fff; display: flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 14px; box-shadow: 0 4px 14px rgba(124, 58, 237, .35);
	flex-shrink: 0;
}
.sbs-brand__name {
	font-weight: 800; font-size: 18px; letter-spacing: -.01em; color: var(--sbs-ink);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.sbs-header__user { font-size: 13px; font-weight: 600; color: var(--sbs-muted); margin-right: 6px; }

/* ---- Buttons ------------------------------------------------------------ */
.sbs-btn {
	display: inline-flex; align-items: center; gap: 7px;
	border: none; border-radius: 999px; padding: 10px 20px;
	font-size: 13px; font-weight: 700; text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.sbs-btn:active { transform: scale(.96); }
.sbs-btn--primary {
	background: var(--sbs-violet); color: #fff;
	box-shadow: 0 6px 16px rgba(124, 58, 237, .28);
}
.sbs-btn--primary:hover { background: var(--sbs-violet-dark); }
.sbs-btn--primary[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.sbs-btn--ghost { background: #fff; color: var(--sbs-slate-700); border: 1px solid var(--sbs-border); }
.sbs-btn--ghost:hover { border-color: var(--sbs-violet); color: var(--sbs-violet); }
.sbs-btn--tiny { padding: 6px 14px; font-size: 11px; align-self: flex-start; }
.sbs-btn--block { width: 100%; justify-content: center; }

.sbs-main { max-width: 1200px; margin: 0 auto; padding: 40px 20px 44px; }

/* ---- Hero ----------------------------------------------------------------- */
.sbs-hero { text-align: center; padding: 8px 0 14px; position: relative; }
.sbs-hero__badge {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 16px; border-radius: 999px; background: #fff;
	border: 1px solid var(--sbs-border); font-size: 10px; font-weight: 800;
	color: var(--sbs-violet); text-transform: uppercase; letter-spacing: .12em;
	box-shadow: 0 2px 8px rgba(15,23,42,.04); margin-bottom: 20px;
}
.sbs-hero__dot { position: relative; display: inline-flex; width: 8px; height: 8px; }
.sbs-hero__dot::before, .sbs-hero__dot::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--sbs-emerald);
}
.sbs-hero__dot::before { animation: sbs-ping 1.6s cubic-bezier(0,0,.2,1) infinite; opacity: .6; }
@keyframes sbs-ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }

.sbs-hero h1 {
	font-size: clamp(28px, 5vw, 44px); font-weight: 800; letter-spacing: -.02em;
	margin: 0 0 14px; line-height: 1.15; color: var(--sbs-ink);
}
.sbs-hero h1 .sbs-gradient-text {
	background: linear-gradient(90deg, var(--sbs-violet), var(--sbs-fuchsia));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.sbs-hero p { color: var(--sbs-muted); font-size: 14px; font-weight: 500; max-width: 480px; margin: 0 auto; }

/* ---- Search / toolbar card ------------------------------------------------- */
.sbs-toolbar {
	max-width: 640px; margin: 10px auto 20px;
	background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
	border: 1px solid #fff; border-radius: var(--sbs-radius);
	padding: 10px; box-shadow: 0 16px 40px rgba(15,23,42,.08);
	display: flex; flex-direction: column; gap: 10px;
}
.sbs-search {
	width: 100%; border: 1px solid var(--sbs-border); border-radius: 14px;
	padding: 13px 16px 13px 40px; font-size: 13px; font-weight: 600;
	background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2394a3b8' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") 14px center no-repeat;
	color: var(--sbs-ink);
}
.sbs-search:focus { outline: none; border-color: var(--sbs-violet); background-color: #fff; box-shadow: 0 0 0 4px rgba(124,58,237,.1); }

.sbs-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 4px 0 28px; }
.sbs-chip {
	border: 1px solid var(--sbs-border); background: #fff;
	color: var(--sbs-slate-700); border-radius: 999px; padding: 9px 18px;
	font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
	transition: all .15s ease;
}
.sbs-chip:hover { border-color: var(--sbs-violet); color: var(--sbs-violet); }
.sbs-chip.is-active { background: var(--sbs-violet); border-color: var(--sbs-violet); color: #fff; box-shadow: 0 6px 14px rgba(124,58,237,.3); }

/* ---- Product grid / cards -------------------------------------------------- */
.sbs-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 16px;
}
.sbs-product-card {
	background: rgba(255,255,255,.9); backdrop-filter: blur(6px);
	border: 1px solid var(--sbs-border); border-radius: var(--sbs-radius);
	padding: 16px; text-align: center; position: relative; overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
	display: flex; flex-direction: column;
}
.sbs-product-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(15,23,42,.08); border-color: #ddd6fe; }
.sbs-product-card__icon {
	width: 100%; aspect-ratio: 1; max-width: 64px; margin: 0 auto 12px;
	border-radius: 16px; display: flex; align-items: center; justify-content: center;
	color: #fff; background: linear-gradient(135deg, var(--from, var(--sbs-violet)), var(--to, var(--sbs-fuchsia)));
	box-shadow: 0 8px 18px rgba(124,58,237,.22);
	transition: transform .3s ease; overflow: hidden;
}
.sbs-product-card:hover .sbs-product-card__icon { transform: scale(1.08) rotate(-2deg); }
.sbs-product-card h3 { margin: 0 0 4px; font-size: 14px; font-weight: 800; color: var(--sbs-ink); }
.sbs-product-card__desc {
	color: var(--sbs-muted); font-size: 10.5px; font-weight: 600; margin: 0 0 10px;
	background: #f8fafc; border-radius: 8px; padding: 5px 8px;
}
.sbs-product-card__price { font-weight: 800; font-size: 15px; margin: 0 0 12px; color: var(--sbs-ink); }
.sbs-product-card__note { color: #b45309; font-size: 10px; font-weight: 700; margin: 0 0 10px; }
.sbs-product-card__warranty { color: #10b981; font-size: 11px; font-weight: 700; margin: 0 0 8px; display: flex; align-items: center; gap: 5px; }
.sbs-product-card__stock { color: #b45309; font-size: 10px; font-weight: 800; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .04em; }
.sbs-product-card .sbs-btn { width: 100%; justify-content: center; margin-top: auto; }

.sbs-notice {
	background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412;
	border-radius: var(--sbs-radius-sm); padding: 14px 16px; font-size: 13px; font-weight: 600;
}

/* ---- Forms (shared: auth + checkout + dashboards) --------------------------- */
.sbs-form { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.sbs-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--sbs-slate-700); width: 100%; }
.sbs-hint { font-weight: 500; color: var(--sbs-slate-400); font-size: 11.5px; }
.sbs-form input[type="text"], .sbs-form input[type="email"], .sbs-form input[type="password"],
.sbs-form input[type="number"], .sbs-form input[type="search"], .sbs-form select, .sbs-form textarea {
	display: block; width: 100%; box-sizing: border-box;
	border: 1px solid var(--sbs-border); border-radius: 12px;
	padding: 13px 14px; font-size: 16px; font-family: inherit; background: #f8fafc; color: var(--sbs-ink);
	transition: border-color .15s ease, background .15s ease;
}
.sbs-form input:focus, .sbs-form select:focus, .sbs-form textarea:focus {
	outline: none; border-color: var(--sbs-violet); background: #fff; box-shadow: 0 0 0 4px rgba(124,58,237,.08);
}
.sbs-form textarea { resize: vertical; }
.sbs-form-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: 12px; padding: 11px 14px; font-size: 12.5px; font-weight: 600; margin: 0 0 6px; }
.sbs-form-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; border-radius: 12px; padding: 11px 14px; font-size: 12.5px; font-weight: 600; margin: 0 0 6px; }

/* ---- Auth ------------------------------------------------------------------- */
.sbs-auth { max-width: 420px; }
.sbs-auth-card { background: var(--sbs-surface); border: 1px solid var(--sbs-border); border-radius: var(--sbs-radius); padding: 28px; box-shadow: 0 20px 44px rgba(15,23,42,.06); }
.sbs-tabs { display: flex; gap: 6px; margin-bottom: 20px; background: var(--sbs-bg); border-radius: 12px; padding: 4px; }
.sbs-tab { flex: 1; border: none; background: transparent; padding: 10px; border-radius: 9px; font-size: 12.5px; font-weight: 800; color: var(--sbs-muted); }
.sbs-tab.is-active { background: #fff; color: var(--sbs-violet); box-shadow: 0 2px 6px rgba(15,23,42,.08); }

/* ---- Checkout ----------------------------------------------------------------- */
.sbs-checkout { max-width: 480px; }
.sbs-ticket { position: relative; background: var(--sbs-surface); border: 1px solid var(--sbs-border); border-radius: var(--sbs-radius); padding: 24px; box-shadow: 0 20px 44px rgba(15,23,42,.06); }
.sbs-ticket__product { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.sbs-ticket__product h2 { margin: 0 0 2px; font-size: 17px; font-weight: 800; }
.sbs-ticket .sbs-product-card__icon { width: 50px; height: 50px; border-radius: 14px; margin: 0; }

.sbs-qty { display: inline-flex; align-items: center; gap: 12px; }
.sbs-qty__btn { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--sbs-border); background: var(--sbs-bg); font-size: 16px; font-weight: 800; color: var(--sbs-ink); }
.sbs-qty__btn:hover { border-color: var(--sbs-violet); color: var(--sbs-violet); }
.sbs-qty input { width: 50px; text-align: center; border: 1px solid var(--sbs-border); border-radius: 10px; padding: 7px; font-size: 14px; font-weight: 700; }

.sbs-promo-row { display: flex; gap: 8px; }
.sbs-promo-row input { flex: 1; }
.sbs-promo-msg { font-size: 11.5px; font-weight: 700; }
.sbs-promo-msg.is-success { color: #15803d; }
.sbs-promo-msg.is-error { color: #b91c1c; }

.sbs-methods { border: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sbs-methods legend { font-size: 12.5px; font-weight: 800; margin-bottom: 6px; padding: 0; }
.sbs-method-option { display: flex; align-items: center; gap: 10px; font-weight: 500 !important; border: 1px solid var(--sbs-border); border-radius: 12px; padding: 11px 14px; font-size: 12.5px; transition: border-color .15s; }
.sbs-method-option:has(input:checked) { border-color: var(--sbs-violet); background: #faf5ff; }
.sbs-method-option code { color: var(--sbs-muted); }

.sbs-order-summary { border-top: 1px dashed var(--sbs-border); padding-top: 14px; font-size: 13px; }
.sbs-order-summary__row { display: flex; justify-content: space-between; padding: 3px 0; color: var(--sbs-muted); font-weight: 600; }
.sbs-order-summary__row--total { color: var(--sbs-ink); font-weight: 800; font-size: 16px; border-top: 1px solid var(--sbs-border); margin-top: 6px; padding-top: 10px; }

/* ---- Track order --------------------------------------------------------------- */
.sbs-track { margin-top: 52px; border-top: 1px solid var(--sbs-border); padding-top: 32px; }
.sbs-track h2 { font-size: 18px; font-weight: 800; margin: 0 0 14px; }
#sbs-track-result { margin-top: 14px; }
.sbs-track-card { background: var(--sbs-surface); border: 1px solid var(--sbs-border); border-radius: var(--sbs-radius-sm); padding: 16px; font-size: 13px; }
.sbs-track-card__status { display: inline-block; border-radius: 999px; padding: 4px 12px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.sbs-status-pending { background: #fef9c3; color: #854d0e; }
.sbs-status-awaiting_payment { background: #e0f2fe; color: #075985; }
.sbs-status-completed { background: #dcfce7; color: #166534; }
.sbs-status-rejected { background: #fee2e2; color: #991b1b; }
.sbs-status-refunded { background: #ede9fe; color: #6d28d9; }

/* ---- Dashboard tabs / list cards ------------------------------------------------- */
.sbs-dashboard { max-width: 680px; }
.sbs-dashboard h1 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.sbs-stat-card--code { display: flex; flex-direction: column; gap: 6px; }
.sbs-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 20px 0; }
.sbs-stat-card { background: var(--sbs-surface); border: 1px solid var(--sbs-border); border-radius: var(--sbs-radius-sm); padding: 16px; }
.sbs-stat-card__label { display: block; font-size: 10.5px; font-weight: 800; color: var(--sbs-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.sbs-stat-card__value { display: block; font-size: 19px; font-weight: 800; }

.sbs-tabs--scroll { background: transparent; padding: 0; margin: 26px 0 20px; display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sbs-tabs--scroll .sbs-tab { flex: 0 0 auto; background: var(--sbs-surface); border: 1px solid var(--sbs-border); color: var(--sbs-muted); white-space: nowrap; padding: 9px 16px; border-radius: 999px; font-weight: 700; }
.sbs-tabs--scroll .sbs-tab.is-active { background: var(--sbs-violet); border-color: var(--sbs-violet); color: #fff; box-shadow: 0 6px 14px rgba(124,58,237,.25); }

.sbs-panel__subheading { font-size: 14px; font-weight: 800; margin: 26px 0 12px; }

.sbs-list-card { background: var(--sbs-surface); border: 1px solid var(--sbs-border); border-radius: var(--sbs-radius-sm); padding: 15px; margin-bottom: 10px; font-size: 13px; }
.sbs-list-card--unread { border-color: var(--sbs-violet); background: #faf5ff; }
.sbs-list-card .sbs-track-card__status { margin-bottom: 6px; }
.sbs-list-card__actions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.sbs-list-card__actions .sbs-btn { font-size: 11px; padding: 6px 14px; }

.sbs-credentials { margin-top: 10px; border-top: 1px dashed var(--sbs-border); padding-top: 8px; }
.sbs-credential-row { background: var(--sbs-bg); border-radius: 10px; padding: 7px 11px; margin-bottom: 4px; font-size: 12px; word-break: break-all; }

/* ---- Announcement banner --------------------------------------------------------- */
.sbs-announcement { background: linear-gradient(90deg, var(--sbs-violet), var(--sbs-fuchsia)); color: #fff; font-size: 12.5px; font-weight: 700; padding: 9px 0; overflow: hidden; white-space: nowrap; }
.sbs-announcement__track { display: inline-flex; animation: sbsTicker 22s linear infinite; }
.sbs-announcement__track span { padding: 0 32px; }
.sbs-announcement:hover .sbs-announcement__track { animation-play-state: paused; }
@keyframes sbsTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.sbs-announcement { text-align: center; overflow: visible; white-space: normal; }
	.sbs-announcement__track { animation: none; display: block; }
	.sbs-announcement__track span:last-child { display: none; }
}

/* ---- Footer ------------------------------------------------------------------------ */
.sbs-footer { border-top: 1px solid var(--sbs-border); margin-top: 20px; }
.sbs-footer__inner--minimal { padding-top: 28px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.sbs-footer__inner {
	max-width: 1200px; margin: 0 auto; padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	color: var(--sbs-muted); font-size: 12.5px; font-weight: 500; flex-wrap: wrap; gap: 8px;
	padding-right: 84px; padding-left: 84px; /* keeps the copyright line clear of the fixed WhatsApp button on every screen size, not just mobile */
}

@media (max-width: 640px) {
	.sbs-header__inner { padding: 0 16px; gap: 8px; }
	.sbs-brand__name { font-size: 15px; }
	.sbs-header__account { gap: 6px; }
	.sbs-brand { gap: 8px; }
	.sbs-toolbar { margin-left: 4px; margin-right: 4px; }
	.sbs-main { padding: 24px 16px 40px; }
	.sbs-auth-card { padding: 28px 20px; border-radius: 1.8rem; }
	.sbs-hero h1 { font-size: 26px; }
	.sbs-ticket, .sbs-info-card, .sbs-list-card { padding: 16px; }
	.sbs-stat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.sbs-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.sbs-drawer { width: 260px; }
	/* Extra bottom clearance on mobile so the copyright line has room
	   above the fixed floating WhatsApp button — centering itself is
	   already handled by the base .sbs-footer__inner rule on every size. */
	.sbs-footer__inner { padding-bottom: 88px; }
	.sbs-footer__main { padding-bottom: 8px; }
}

@media (max-width: 340px) {
	.sbs-auth-card { padding: 24px 16px; }
	.sbs-hero h1 { font-size: 23px; }
	.sbs-brand__name { font-size: 14px; }
	.sbs-header__account { gap: 6px; }
	.sbs-brand { gap: 8px; }
}

/* Comfortable minimum touch target size on every interactive control, per
   mobile accessibility guidelines — matters most on small/older devices. */
.sbs-btn:not(.sbs-btn--tiny), .sbs-chip, .sbs-tab, .sbs-icon-btn, .sbs-profile-icon, .sbs-hamburger, .sbs-qty__btn {
	min-height: 40px;
}

/* ==========================================================================
   Hamburger + slide-out drawer + profile icon
   ========================================================================== */
.sbs-hamburger {
	width: 38px; height: 38px; border: 1px solid var(--sbs-border); background: #fff;
	border-radius: 11px; display: flex; flex-direction: column; align-items: center;
	justify-content: center; gap: 4px; margin-right: 4px;
}
.sbs-hamburger span { width: 16px; height: 2px; background: var(--sbs-slate-700); border-radius: 2px; }

.sbs-header__account { display: flex; align-items: center; gap: 10px; }

.sbs-icon-btn {
	position: relative; width: 38px; height: 38px; border-radius: 50%;
	background: #fff; border: 1px solid var(--sbs-border); color: var(--sbs-slate-700);
	display: flex; align-items: center; justify-content: center; font-size: 15px;
	transition: transform .15s ease;
}
.sbs-icon-btn:hover { transform: scale(1.06); color: var(--sbs-violet); border-color: var(--sbs-violet); }
.sbs-icon-btn__badge {
	position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px;
	border-radius: 999px; background: var(--sbs-rose); color: #fff;
	font-size: 9.5px; font-weight: 800; display: flex; align-items: center; justify-content: center;
	padding: 0 3px; border: 2px solid #fff;
}

.sbs-profile-icon {
	width: 38px; height: 38px; border-radius: 50%;
	background: linear-gradient(135deg, var(--sbs-violet), var(--sbs-fuchsia));
	color: #fff; display: flex; align-items: center; justify-content: center;
	font-size: 15px; box-shadow: 0 6px 14px rgba(124,58,237,.28);
	transition: transform .15s ease;
}
.sbs-profile-icon:hover { transform: scale(1.06); }

.sbs-drawer-overlay {
	position: fixed; inset: 0; background: rgba(15,23,42,.45); backdrop-filter: blur(2px);
	z-index: 90; opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.sbs-drawer-overlay.is-open { opacity: 1; pointer-events: auto; }

.sbs-drawer {
	position: fixed; top: 0; left: 0; bottom: 0; width: 280px; max-width: 84vw;
	background: #fff; z-index: 91; transform: translateX(-100%);
	transition: transform .3s cubic-bezier(.32,.72,0,1);
	display: flex; flex-direction: column; box-shadow: 16px 0 40px rgba(15,23,42,.15);
}
.sbs-drawer.is-open { transform: translateX(0); }
.sbs-drawer__header { display: flex; align-items: center; gap: 10px; padding: 20px; border-bottom: 1px solid var(--sbs-border); }
.sbs-drawer__header .sbs-brand__name { font-size: 15px; flex: 1; }
.sbs-drawer__close { border: none; background: var(--sbs-bg); width: 30px; height: 30px; border-radius: 9px; color: var(--sbs-muted); }

.sbs-drawer__nav { display: flex; flex-direction: column; padding: 12px; gap: 2px; flex: 1; }
.sbs-drawer__nav a {
	display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 12px;
	font-size: 13.5px; font-weight: 700; color: var(--sbs-slate-700);
}
.sbs-drawer__nav a:hover { background: var(--sbs-bg); color: var(--sbs-violet); }
.sbs-drawer__nav a i { width: 18px; text-align: center; color: var(--sbs-violet); }
.sbs-drawer__wa-btn {
	margin-top: 10px !important; background: linear-gradient(135deg, #25d366, #128c7e) !important;
	color: #fff !important; font-weight: 800 !important; justify-content: center;
	box-shadow: 0 8px 18px -6px rgba(37,211,102,.45);
}
.sbs-drawer__wa-btn i { color: #fff !important; }
.sbs-drawer__wa-btn:hover { background: linear-gradient(135deg, #128c7e, #0e6e5f) !important; color: #fff !important; }

.sbs-drawer__logout {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	margin: 14px; padding: 13px; border-radius: 14px;
	background: #fef2f2; color: var(--sbs-rose); font-weight: 800; font-size: 13px;
	transition: background .15s ease;
}
.sbs-drawer__logout:hover { background: #fee2e2; }

/* ==========================================================================
   Footer (expanded)
   ========================================================================== */
.sbs-footer__main {
	max-width: 1200px; margin: 0 auto; padding: 44px 20px 28px;
	display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px;
}
.sbs-footer__brand p { color: var(--sbs-muted); font-size: 12.5px; margin: 10px 0 0; max-width: 320px; line-height: 1.6; }
.sbs-footer__tagline-title { color: var(--sbs-ink) !important; font-size: 13.5px !important; font-weight: 800 !important; margin-top: 12px !important; }
.sbs-footer__col h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--sbs-slate-400); margin: 0 0 12px; font-weight: 800; }
.sbs-footer__col a { display: flex; align-items: center; gap: 8px; color: var(--sbs-slate-700); font-size: 13px; font-weight: 600; padding: 6px 0; }
.sbs-footer__col a:hover { color: var(--sbs-violet); }

@media (max-width: 900px) {
	.sbs-footer__main { grid-template-columns: 1fr 1fr; }
	.sbs-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	.sbs-footer__main { grid-template-columns: 1fr; gap: 24px; }
}

/* ==========================================================================
   Floating animated WhatsApp button
   ========================================================================== */
.sbs-wa-float {
	position: fixed; bottom: 24px; right: 20px; z-index: 40;
	width: 52px; height: 52px; border-radius: 50%;
	background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
	font-size: 22px; box-shadow: 0 10px 26px rgba(37,211,102,.4);
}
.sbs-wa-float__ring {
	position: absolute; inset: 0; border-radius: 50%; background: #25d366;
	animation: sbs-wa-pulse 2s cubic-bezier(0,0,.2,1) infinite;
}
@keyframes sbs-wa-pulse { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }

/* ==========================================================================
   Panel header badge + info card (Profile tab) + referral hero + ledger
   ========================================================================== */
.sbs-panel-badge {
	display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px;
	border-radius: 999px; background: #f5f3ff; color: var(--sbs-violet);
	font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
	margin-bottom: 12px;
}
.sbs-panel-header h2 { font-size: 21px; font-weight: 800; margin: 0 0 6px; letter-spacing: -.01em; }
.sbs-panel-header p { color: var(--sbs-muted); font-size: 13px; margin: 0 0 22px; }

.sbs-info-card {
	display: flex; align-items: flex-start; gap: 14px;
	background: var(--sbs-surface); border: 1px solid var(--sbs-border); border-radius: var(--sbs-radius-sm);
	padding: 16px; margin-bottom: 18px;
}
.sbs-info-card__icon {
	width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
	background: #f5f3ff; color: var(--sbs-violet); display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.sbs-info-card h3 { margin: 0 0 3px; font-size: 14.5px; font-weight: 800; }
.sbs-info-card p { margin: 0; font-size: 12px; color: var(--sbs-muted); }

.sbs-field-display { margin-bottom: 16px; }
.sbs-field-display label { display: block; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--sbs-muted); margin-bottom: 5px; }
.sbs-field-display span { font-size: 14px; font-weight: 700; color: var(--sbs-ink); }

.sbs-referral-hero {
	background: linear-gradient(135deg, var(--sbs-violet), var(--sbs-fuchsia));
	border-radius: var(--sbs-radius); padding: 22px; color: #fff; margin: 18px 0;
	box-shadow: 0 16px 34px rgba(124,58,237,.28);
}
.sbs-referral-hero__label { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; opacity: .85; margin-bottom: 10px; }
.sbs-referral-hero__code-row { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.16); border-radius: 14px; padding: 14px 16px; }
.sbs-referral-hero__code { font-size: 22px; font-weight: 800; letter-spacing: .04em; flex: 1; }
.sbs-referral-hero__copy { width: 40px; height: 40px; border-radius: 11px; border: none; background: #fff; color: var(--sbs-violet); font-size: 14px; flex-shrink: 0; }
.sbs-referral-hero__hint { font-size: 11.5px; opacity: .85; margin: 12px 0 0; line-height: 1.6; }
.sbs-referral-hero__link-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.sbs-referral-hero__link-row input {
	flex: 1; background: rgba(255,255,255,.16); border: none; border-radius: 10px;
	padding: 10px 12px; color: #fff; font-size: 11px; min-width: 0;
}
.sbs-referral-hero__link-row input::selection { background: rgba(255,255,255,.4); }

.sbs-ledger-row {
	display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
	padding: 13px 0; border-bottom: 1px solid var(--sbs-border); font-size: 13px;
}
.sbs-ledger-row:last-child { border-bottom: none; }
.sbs-ledger-row__label { font-weight: 700; color: var(--sbs-ink); }
.sbs-ledger-row__date { font-size: 11px; color: var(--sbs-muted); margin-top: 2px; }
.sbs-ledger-row__amount { font-weight: 800; white-space: nowrap; }
.sbs-ledger-row__amount.is-credit { color: #15803d; }
.sbs-ledger-row__amount.is-debit { color: #b91c1c; }
.sbs-ledger-row__amount.is-info { color: var(--sbs-muted); }

.sbs-friends-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--sbs-border); font-size: 12.5px; }
.sbs-friends-row:last-child { border-bottom: none; }
.sbs-friends-row__name { font-weight: 700; }
.sbs-friends-row__date { color: var(--sbs-muted); }

.sbs-credential-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sbs-credential-row code { flex: 1; overflow-wrap: anywhere; }
.sbs-copy-btn { flex-shrink: 0; border: none; background: var(--sbs-violet); color: #fff; width: 28px; height: 28px; border-radius: 8px; font-size: 11px; }

/* ==========================================================================
   Field display box (Profile: Email/WhatsApp read-only) + Modal (refund/replace reason)
   ========================================================================== */
.sbs-field-box {
	border: 1px solid var(--sbs-border); border-radius: 12px; padding: 11px 14px;
	font-size: 13.5px; font-weight: 700; background: #f8fafc; color: var(--sbs-ink);
}

.sbs-modal-overlay {
	position: fixed; inset: 0; background: rgba(15,23,42,.5); backdrop-filter: blur(3px);
	z-index: 95; display: flex; align-items: flex-end; justify-content: center;
	opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.sbs-modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.sbs-modal {
	background: #fff; border-radius: 22px 22px 0 0; padding: 24px 20px calc(20px + env(safe-area-inset-bottom));
	width: 100%; max-width: 480px; transform: translateY(30px); transition: transform .25s cubic-bezier(.32,.72,0,1);
}
.sbs-modal-overlay.is-open .sbs-modal { transform: translateY(0); }
.sbs-modal h3 { margin: 0 0 14px; font-size: 16px; font-weight: 800; }
.sbs-modal textarea {
	width: 100%; border: 1px solid var(--sbs-border); border-radius: 12px; padding: 12px 14px;
	font-size: 13.5px; font-family: inherit; resize: vertical; margin-bottom: 14px;
}

/* Product info modal — a compact, centered dialog on every screen size
   (unlike the refund/replace reason sheet, which is deliberately a
   bottom sheet on mobile since it's a quick form, not read-focused
   content). Scale-fade entrance instead of slide-up feels more like a
   "here's some info" card and less like an action sheet. */
#sbs-info-modal-overlay { align-items: center; padding: 20px; }
#sbs-info-modal-overlay .sbs-modal { transform: scale(.94); transition: transform .22s cubic-bezier(.32,.72,0,1), opacity .22s ease; opacity: 0; }
#sbs-info-modal-overlay.is-open .sbs-modal { transform: scale(1); opacity: 1; }
.sbs-info-modal {
	border-radius: 24px !important; max-width: 380px; padding: 28px 24px 24px !important;
	position: relative; box-shadow: 0 30px 70px -20px rgba(76,29,149,.35);
}
.sbs-info-modal .sbs-modal__close {
	position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%;
	border: none; background: #f4f2fb; color: var(--sbs-muted); display: flex; align-items: center; justify-content: center;
	font-size: 13px; cursor: pointer; transition: background .15s ease;
}
.sbs-info-modal .sbs-modal__close:hover { background: #ede9fe; color: var(--sbs-violet); }
.sbs-modal textarea:focus { outline: none; border-color: var(--sbs-violet); }
.sbs-modal-actions { display: flex; gap: 10px; }
.sbs-modal-actions .sbs-btn { flex: 1; justify-content: center; }

@media (min-width: 640px) {
	.sbs-modal-overlay { align-items: center; }
	.sbs-modal { border-radius: var(--sbs-radius); }
}

/* Product card info (ℹ️) icon — small animated pulse to draw the eye,
   opens the shared info modal defined in footer.php. */
.sbs-product-card__info {
	position: absolute; top: 10px; right: 10px; width: 26px; height: 26px;
	border-radius: 50%; border: none; background: rgba(124,58,237,.1); color: var(--sbs-violet);
	display: flex; align-items: center; justify-content: center; font-size: 13px;
	cursor: pointer; z-index: 2; transition: transform .15s ease, background .15s ease;
	animation: sbsInfoPulse 2.4s ease-in-out infinite;
}
.sbs-product-card__info:hover, .sbs-product-card__info:focus-visible { background: var(--sbs-violet); color: #fff; transform: scale(1.1); }
@keyframes sbsInfoPulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(124,58,237,.35); }
	50% { box-shadow: 0 0 0 6px rgba(124,58,237,0); }
}
@media (prefers-reduced-motion: reduce) {
	.sbs-product-card__info { animation: none; }
}

.sbs-info-modal { text-align: center; }
.sbs-info-modal__icon {
	width: 56px; height: 56px; border-radius: 18px; margin: 0 auto 16px;
	background: linear-gradient(135deg, #f5f3ff, #fff); border: 1px solid #ede9fe;
	color: var(--sbs-violet); font-size: 24px; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 20px -8px rgba(124,58,237,.35); overflow: hidden;
}
.sbs-info-modal__icon--product {
	background: linear-gradient(135deg, var(--from, var(--sbs-violet)), var(--to, var(--sbs-fuchsia))); border: none;
}
.sbs-info-modal h3 { text-align: center; font-size: 17px; margin-bottom: 16px; }
.sbs-info-modal__body { text-align: left; }
.sbs-info-modal__body p { font-size: 13.5px; line-height: 1.7; color: var(--sbs-slate-700); margin: 0 0 10px; }
.sbs-info-modal__body ul { margin: 0 0 10px; padding: 0; list-style: none; }
.sbs-info-modal__body li { font-size: 13.5px; line-height: 1.6; color: var(--sbs-slate-700); display: flex; gap: 9px; margin-bottom: 8px; }
.sbs-info-modal__body li::before { content: "✓"; color: var(--sbs-violet); font-weight: 800; flex-shrink: 0; }
.sbs-info-modal__body > *:last-child { margin-bottom: 0; }

/* ==========================================================================
   Auth page — floating blob background, icon-in-box inputs, password toggle
   ========================================================================== */
.sbs-auth-blobs { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.sbs-auth-blobs span {
	position: absolute; border-radius: 50%; filter: blur(90px);
	animation: sbs-blob-float 9s ease-in-out infinite;
}
.sbs-auth-blobs span:nth-child(1) { width: 420px; height: 420px; background: rgba(139,92,246,.22); top: -80px; left: -80px; }
.sbs-auth-blobs span:nth-child(2) { width: 340px; height: 340px; background: rgba(99,102,241,.2); top: 20%; right: -100px; animation-delay: 2s; animation-duration: 11s; }
.sbs-auth-blobs span:nth-child(3) { width: 460px; height: 460px; background: rgba(56,189,248,.14); bottom: -140px; left: 20%; }
@keyframes sbs-blob-float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-22px) scale(1.05); } }

.sbs-auth { position: relative; z-index: 1; }
.sbs-auth-card {
	border-radius: 2.2rem; padding: 34px 28px;
	box-shadow: 0 24px 55px -14px rgba(139,92,246,.18);
}
.sbs-auth-logo {
	width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 18px;
	background: linear-gradient(135deg, #f5f3ff, #fff); border: 1px solid #ede9fe;
	color: var(--sbs-violet); display: flex; align-items: center; justify-content: center;
	font-size: 24px; font-weight: 800; box-shadow: 0 8px 18px -6px rgba(139,92,246,.3);
}
.sbs-auth-title { text-align: center; margin-bottom: 26px; }
.sbs-auth-title h1 { font-size: 22px; font-weight: 800; color: var(--sbs-ink); margin: 0 0 6px; }
.sbs-auth-title p { font-size: 12.5px; color: var(--sbs-muted); margin: 0; font-weight: 500; }
.sbs-auth-wave { display: inline-block; animation: sbs-wave 2s infinite; transform-origin: 70% 70%; }
@keyframes sbs-wave { 0% { transform: rotate(0deg); } 10% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); } 30% { transform: rotate(14deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); } 60%, 100% { transform: rotate(0deg); } }

.sbs-input-icon-group { position: relative; display: block; width: 100%; }
.sbs-input-icon-group .sbs-input-icon {
	position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
	color: var(--sbs-slate-400); font-size: 13px; pointer-events: none; transition: color .2s ease; z-index: 1;
}
.sbs-input-icon-group input { padding-left: 40px !important; }
.sbs-input-icon-group:focus-within .sbs-input-icon { color: var(--sbs-violet); }
/* Targets password inputs specifically (the only inputs that ever pair with a toggle button)
   instead of relying on :has(), so the right-padding reservation never depends on selector support. */
.sbs-input-icon-group input[type="password"] { padding-right: 42px !important; }
.sbs-input-icon-group .sbs-pw-toggle {
	position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
	border: none; background: transparent; color: var(--sbs-slate-400); width: 38px; height: 38px;
	border-radius: 10px; font-size: 13px; display: flex; align-items: center; justify-content: center;
}
.sbs-input-icon-group .sbs-pw-toggle:hover, .sbs-input-icon-group .sbs-pw-toggle:active { color: var(--sbs-violet); background: #f5f3ff; }

.sbs-auth-back-home {
	display: inline-flex; align-items: center; gap: 8px; margin: 22px auto 0;
	font-size: 11px; font-weight: 700; color: var(--sbs-muted); background: rgba(255,255,255,.6);
	padding: 9px 18px; border-radius: 999px; border: 1px solid var(--sbs-border);
}
.sbs-auth-back-home:hover { color: var(--sbs-violet); }
.sbs-auth-back-wrap { text-align: center; }
.sbs-auth-switch { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--sbs-border); text-align: center; }
.sbs-auth-switch p { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--sbs-muted); }
.sbs-auth-switch a { color: var(--sbs-violet); font-weight: 800; text-decoration: underline; text-decoration-color: #ddd6fe; text-underline-offset: 3px; }

/* ==========================================================================
   Info/legal pages (Refund Policy, Warranty Claim, Terms, How to Order)
   ========================================================================== */
.sbs-info-page { max-width: 760px; margin: 0 auto; }
.sbs-info-page__header { text-align: center; margin-bottom: 32px; }
.sbs-info-page__header h1 { font-size: 28px; font-weight: 800; margin: 0 0 8px; }
.sbs-info-page__header p { color: var(--sbs-muted); font-size: 13.5px; margin: 0; }
.sbs-info-page__body { background: #fff; border: 1px solid var(--sbs-border); border-radius: var(--sbs-radius); padding: 28px 24px; }
.sbs-info-page__body h2 { font-size: 16px; font-weight: 800; margin: 26px 0 10px; color: var(--sbs-ink); }
.sbs-info-page__body h2:first-child { margin-top: 0; }
.sbs-info-page__body p { font-size: 13.5px; line-height: 1.75; color: var(--sbs-slate-700); margin: 0 0 14px; }
.sbs-info-page__body ul { margin: 0 0 14px; padding-left: 20px; }
.sbs-info-page__body li { font-size: 13.5px; line-height: 1.75; color: var(--sbs-slate-700); margin-bottom: 6px; }
.sbs-info-page__body strong { color: var(--sbs-ink); }

/* Responsive 16:9 video frame — used on the How to Order page */
.sbs-video-frame {
	position: relative; width: 100%; padding-top: 56.25%; margin: 4px 0 24px;
	border-radius: 20px; overflow: hidden; box-shadow: 0 20px 45px -18px rgba(124,58,237,.3);
	border: 6px solid #fff; outline: 1px solid var(--sbs-border);
}
.sbs-video-frame iframe {
	position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}
.sbs-video-frame__empty {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #f5f3ff, #fdf4ff); color: var(--sbs-muted); font-size: 13px; text-align: center; padding: 20px;
}

@media (max-width: 640px) {
	.sbs-info-page__header h1 { font-size: 22px; }
	.sbs-info-page__body { padding: 20px 16px; border-radius: 18px; }
	.sbs-video-frame { border-radius: 14px; border-width: 4px; }
}


/* ==========================================================================
   Download Our App — full landing page
   ========================================================================== */
.sbs-app-landing { max-width: 1160px; margin: 0 auto; padding: 0 20px 60px; }

.sbs-app-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 30px 0 50px; }
.sbs-app-badge {
	display: inline-flex; align-items: center; gap: 7px; background: #f5f3ff; color: var(--sbs-violet);
	font-size: 12px; font-weight: 800; padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.sbs-app-hero__content h1 { font-size: 38px; font-weight: 900; line-height: 1.12; margin: 0 0 16px; color: var(--sbs-ink); }
.sbs-app-hero__gradient { background: linear-gradient(135deg, var(--sbs-violet), var(--sbs-fuchsia)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sbs-app-hero__content > p { font-size: 15px; color: var(--sbs-muted); line-height: 1.7; max-width: 420px; margin: 0 0 26px; }

.sbs-app-mini-features { display: flex; gap: 22px; margin-bottom: 28px; flex-wrap: wrap; }
.sbs-app-mini-feature { display: flex; flex-direction: column; align-items: flex-start; max-width: 130px; }
.sbs-app-mini-feature__icon { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; margin-bottom: 10px; }
.sbs-app-mini-feature strong { font-size: 13.5px; font-weight: 800; color: var(--sbs-ink); }
.sbs-app-mini-feature span { font-size: 12px; color: var(--sbs-muted); line-height: 1.5; margin-top: 2px; }

.sbs-app-download-btn {
	display: inline-flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #7c3aed, #4f46e5);
	color: #fff; font-weight: 800; font-size: 15px; padding: 15px 30px; border-radius: 16px; text-decoration: none;
	box-shadow: 0 16px 32px -12px rgba(124,58,237,.5); animation: sbsAppBtnPulse 2.4s ease-in-out infinite;
	transition: transform .15s ease;
}
.sbs-app-download-btn:hover { transform: translateY(-2px); }
@keyframes sbsAppBtnPulse { 0%, 100% { box-shadow: 0 16px 32px -12px rgba(124,58,237,.5); } 50% { box-shadow: 0 16px 40px -8px rgba(124,58,237,.75); } }
.sbs-app-download-btn__icon {
	width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.22);
	display: flex; align-items: center; justify-content: center; font-size: 11px;
	animation: sbsArrowBounce 1.4s ease-in-out infinite;
}
@keyframes sbsArrowBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

/* --- Phone mockup --- */
.sbs-app-hero__visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 480px; }
.sbs-app-blob { position: absolute; border-radius: 50%; filter: blur(4px); opacity: .5; animation: sbsAppBlobFloat 8s ease-in-out infinite; }
.sbs-app-blob--1 { width: 300px; height: 300px; background: radial-gradient(circle, #c4b5fd, transparent 70%); top: 10%; left: 0; }
.sbs-app-blob--2 { width: 260px; height: 260px; background: radial-gradient(circle, #93c5fd, transparent 70%); bottom: 5%; right: 0; animation-delay: 1.5s; }
@keyframes sbsAppBlobFloat { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-16px) scale(1.04); } }
.sbs-app-sparkle { position: absolute; color: var(--sbs-violet); font-size: 20px; animation: sbsAppSparkle 2.6s ease-in-out infinite; }
.sbs-app-sparkle--1 { top: 8%; left: 10%; animation-delay: .3s; }
.sbs-app-sparkle--2 { bottom: 12%; right: 8%; color: #3b82f6; animation-delay: 1.3s; }
@keyframes sbsAppSparkle { 0%, 100% { opacity: .3; transform: scale(.85) rotate(0deg); } 50% { opacity: 1; transform: scale(1.1) rotate(15deg); } }

.sbs-app-phone {
	position: relative; z-index: 1; width: 240px; height: 480px; border-radius: 40px;
	background: #1e1b3a; padding: 10px; box-shadow: 0 30px 70px -20px rgba(76,29,149,.5), 0 0 0 2px #2d2a52;
	animation: sbsAppPhoneFloat 4s ease-in-out infinite;
}
@keyframes sbsAppPhoneFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(-1deg); } }
.sbs-app-phone__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 80px; height: 18px; background: #1e1b3a; border-radius: 0 0 14px 14px; z-index: 2; }
.sbs-app-phone__screen {
	position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden;
	background: linear-gradient(180deg, #211d47 0%, #2c2461 55%, #4c3a9e 100%);
	display: flex; flex-direction: column; align-items: center; padding-top: 64px;
}
.sbs-app-phone__icon {
	width: 68px !important; height: 68px !important; border-radius: 18px !important; background: #fff !important;
	color: var(--sbs-violet) !important; font-size: 26px !important; box-shadow: 0 10px 24px -8px rgba(0,0,0,.35);
	margin-bottom: 14px !important;
}
.sbs-app-phone__screen h3 { color: #fff; font-size: 15px; font-weight: 800; margin: 0; }
.sbs-app-phone__screen p { color: rgba(255,255,255,.6); font-size: 11px; margin: 4px 0 0; }
.sbs-app-phone__progress { width: 90px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.15); margin-top: 18px; overflow: hidden; }
.sbs-app-phone__progress span { display: block; width: 55%; height: 100%; background: linear-gradient(90deg, #a78bfa, #7c3aed); border-radius: 3px; animation: sbsAppProgress 2.4s ease-in-out infinite; }
@keyframes sbsAppProgress { 0%, 100% { width: 35%; } 50% { width: 75%; } }
.sbs-app-phone__badge {
	position: absolute; width: 40px; height: 40px; border-radius: 12px; background: #fff;
	display: flex; align-items: center; justify-content: center; font-size: 15px;
	box-shadow: 0 10px 22px -8px rgba(0,0,0,.35); animation: sbsAppBadgeFloat 3.2s ease-in-out infinite;
}
.sbs-app-phone__badge--1 { bottom: 88px; left: 20px; color: #10b981; animation-delay: 0s; }
.sbs-app-phone__badge--2 { bottom: 130px; right: 22px; color: #f59e0b; animation-delay: .8s; }
.sbs-app-phone__badge--3 { bottom: 46px; right: 40px; color: #3b82f6; animation-delay: 1.6s; }
@keyframes sbsAppBadgeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.sbs-app-phone__hill {
	position: absolute; bottom: 0; left: -10%; width: 120%; height: 90px;
	background: linear-gradient(135deg, #7c3aed, #4f46e5); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* --- Why choose section --- */
.sbs-app-why { padding: 40px 0; }
.sbs-app-why h2 { text-align: center; font-size: 24px; font-weight: 900; margin: 0 0 28px; }
.sbs-app-why h2 span { color: var(--sbs-violet); }

.sbs-app-video { padding: 20px 0 40px; max-width: 700px; margin: 0 auto; }
.sbs-app-video h2 { text-align: center; font-size: 24px; font-weight: 900; margin: 0 0 24px; }
.sbs-app-why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sbs-app-why__card {
	background: #fff; border: 1px solid var(--sbs-border); border-radius: 18px; padding: 24px 18px; text-align: center;
	box-shadow: 0 10px 26px -16px rgba(0,0,0,.1); transition: transform .2s ease;
}
.sbs-app-why__card:hover { transform: translateY(-4px); }
.sbs-app-why__icon { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; margin: 0 auto 14px; }
.sbs-app-why__card strong { display: block; font-size: 14.5px; font-weight: 800; color: var(--sbs-ink); margin-bottom: 6px; }
.sbs-app-why__card span { font-size: 12px; color: var(--sbs-muted); line-height: 1.6; }

/* --- How it works --- */
.sbs-app-how { padding: 30px 0 50px; }
.sbs-app-how h2 { text-align: center; font-size: 24px; font-weight: 900; margin: 0 0 34px; }
.sbs-app-how__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.sbs-app-how__steps::before {
	content: ""; position: absolute; top: 15px; left: 12.5%; right: 12.5%; height: 2px;
	background: repeating-linear-gradient(90deg, var(--sbs-border) 0 8px, transparent 8px 16px); z-index: 0;
}
.sbs-app-how__step { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.sbs-app-how__num { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; margin-bottom: 16px; }
.sbs-app-how__icon { width: 60px; height: 60px; border-radius: 18px; background: #faf8ff; border: 1px solid var(--sbs-border); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--sbs-violet); margin-bottom: 14px; }
.sbs-app-how__step strong { font-size: 13.5px; font-weight: 800; color: var(--sbs-ink); margin-bottom: 4px; }
.sbs-app-how__step span { font-size: 11.5px; color: var(--sbs-muted); line-height: 1.5; max-width: 150px; }

/* --- Trust bar --- */
.sbs-app-trustbar {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	background: linear-gradient(120deg, #6d28d9, #7c3aed 45%, #4338ca); border-radius: 22px; padding: 26px 30px; color: #fff;
}
.sbs-app-trustbar__left { display: flex; align-items: center; gap: 16px; }
.sbs-app-trustbar__icon { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.sbs-app-trustbar__left strong { display: block; font-size: 15px; font-weight: 800; }
.sbs-app-trustbar__stars { font-size: 12.5px; color: #fde68a; margin-top: 5px; }
.sbs-app-trustbar__stars span { color: rgba(255,255,255,.85); font-weight: 700; margin-left: 4px; }
.sbs-app-trustbar__btn {
	display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--sbs-violet);
	font-weight: 800; font-size: 14px; padding: 13px 26px; border-radius: 12px; text-decoration: none; white-space: nowrap;
	transition: transform .15s ease;
}
.sbs-app-trustbar__btn:hover { transform: translateY(-2px); }

@media (max-width: 900px) {
	.sbs-app-hero { grid-template-columns: 1fr; gap: 32px; padding-top: 10px; text-align: center; }
	.sbs-app-hero__content { display: flex; flex-direction: column; align-items: center; }
	.sbs-app-hero__content > p { margin-left: auto; margin-right: auto; }
	.sbs-app-hero__visual { order: -1; min-height: 340px; }
	.sbs-app-blob--1, .sbs-app-blob--2 { width: 200px; height: 200px; }
	.sbs-app-phone { width: 190px; height: 380px; }
	.sbs-app-hero__content h1 { font-size: 28px; }
	.sbs-app-mini-features { justify-content: center; gap: 20px 28px; margin-bottom: 30px; }
	.sbs-app-mini-feature { align-items: center; text-align: center; }
	.sbs-app-why__grid, .sbs-app-how__steps { grid-template-columns: repeat(2, 1fr); }
	.sbs-app-how__steps::before { display: none; }
}
@media (max-width: 640px) {
	.sbs-app-landing { padding-bottom: 96px; } /* clears the floating WhatsApp button so nothing sits underneath it */
}
@media (max-width: 560px) {
	.sbs-app-mini-features { gap: 16px; }
	.sbs-app-mini-feature { max-width: 100px; }
	.sbs-app-trustbar { flex-direction: column; align-items: flex-start; }
	.sbs-app-trustbar__btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.sbs-app-download-btn, .sbs-app-download-btn__icon, .sbs-app-blob, .sbs-app-sparkle, .sbs-app-phone,
	.sbs-app-phone__progress span, .sbs-app-phone__badge { animation: none; }
}
