/* =========================================================================
   Sujiva Atlas — shared design layer for public pages
   Load AFTER a page's own <style> so these tokens and overrides win.
   Shared components are prefixed `sx-`; page overrides are scoped to `body.sx`.
   (report.php, business_admin/ and partner/ do not load this file.)
   ========================================================================= */

:root {
    --sx-ink: #1d1d1f;
    --sx-ink-2: #6e6e73;
    --sx-ink-3: #a1a1a6;
    --sx-bg: #fbfbfd;
    --sx-fill: #f5f5f7;
    --sx-line: rgba(0, 0, 0, 0.08);
    --sx-accent: #0071e3;
    --sx-ease: cubic-bezier(0.2, 0.8, 0.2, 1);

    /* Re-point the tokens every legacy page already uses */
    --primary-color: #0071e3;
    --secondary-color: #5856d6;
    --text-dark: #1d1d1f;
    --text-light: #6e6e73;
    --bg-light: #fbfbfd;
}

/* ---------- Base ---------- */
body.sx {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI Variable Display', 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: var(--sx-ink);
    background: var(--sx-bg);
    overflow-x: clip;
}
body.sx a:focus-visible,
body.sx button:focus-visible,
body.sx input:focus-visible,
body.sx select:focus-visible,
body.sx textarea:focus-visible { outline: 3px solid var(--sx-accent); outline-offset: 3px; }
html { scroll-behavior: smooth; }

.sx-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* The shared nav and footer must size correctly even on pages that don't load Bootstrap's reset */
.sx-nav, .sx-nav *, .sx-nav *::before, .sx-nav *::after,
.sx-footer, .sx-footer *, .sx-footer *::before, .sx-footer *::after { box-sizing: border-box; }

/* ---------- Nav ---------- */
.sx-nav {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(251, 251, 253, 0.72);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}
.sx-nav.sx-scrolled, .sx-nav.sx-open { border-bottom-color: var(--sx-line); }
.sx-nav-inner { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sx-brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--sx-ink); text-decoration: none; }
.sx-brand img { height: 28px; width: auto; }
.sx-links { display: flex; gap: 1.75rem; font-size: 0.875rem; }
.sx-links a { color: var(--sx-ink-2); text-decoration: none; transition: color 0.2s; }
.sx-links a:hover, .sx-links a[aria-current="page"] { color: var(--sx-ink); }
.sx-nav-end { display: flex; align-items: center; gap: 1.1rem; font-size: 0.875rem; }
.sx-login { color: var(--sx-ink-2); text-decoration: none; transition: color 0.2s; }
.sx-login:hover { color: var(--sx-ink); }
.sx-pill {
    display: inline-flex; align-items: center; height: 34px; padding: 0 1rem; border-radius: 999px;
    background: var(--sx-ink); color: #fff; font-weight: 500; text-decoration: none;
    transition: opacity 0.2s, transform 0.25s var(--sx-ease);
}
.sx-pill:hover { opacity: 0.86; color: #fff; }
.sx-pill:active { transform: scale(0.97); }
.sx-menu { display: none; position: relative; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--sx-ink); font-size: 1.5rem; line-height: 1; align-items: center; justify-content: center; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background 0.2s, transform 0.25s var(--sx-ease); }
.sx-menu:hover { background: var(--sx-fill); }
.sx-menu:active { transform: scale(0.9); }
/* Menu / close icons sit on top of each other and turn into one another */
.sx-menu i { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity 0.25s ease, transform 0.45s var(--sx-ease); }
.sx-menu .sx-ico-close { opacity: 0; transform: rotate(-90deg) scale(0.5); }
.sx-nav.sx-open .sx-menu .sx-ico-open { opacity: 0; transform: rotate(90deg) scale(0.5); }
.sx-nav.sx-open .sx-menu .sx-ico-close { opacity: 1; transform: none; }

/* The mobile menu slides down out of the bar: its height eases open (0fr -> 1fr), the links follow one by one,
   and the page behind dims a little. It eases back up when closed. */
.sx-sheet { display: grid; grid-template-rows: 0fr; background: rgba(251, 251, 253, 0.97); visibility: hidden;
    border-top: 1px solid transparent;
    transition: grid-template-rows 0.5s var(--sx-ease), border-color 0.3s, visibility 0s linear 0.5s; }
.sx-nav.sx-open .sx-sheet { grid-template-rows: 1fr; visibility: visible; border-top-color: var(--sx-line); transition-delay: 0s; }
.sx-sheet > .sx-wrap { overflow: hidden; min-height: 0; }
.sx-sheet-inner { padding: 0.5rem 0 1rem; }
.sx-sheet a { display: block; padding: 0.85rem 0; font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; color: var(--sx-ink); text-decoration: none; border-bottom: 1px solid var(--sx-line);
    opacity: 0; transform: translateY(-10px); transition: opacity 0.25s ease, transform 0.35s var(--sx-ease); }
.sx-sheet a:last-child { border-bottom: 0; color: var(--sx-accent); }
.sx-nav.sx-open .sx-sheet a { opacity: 1; transform: none; transition: opacity 0.4s ease, transform 0.55s var(--sx-ease); }
.sx-nav.sx-open .sx-sheet a:nth-child(1) { transition-delay: 0.06s; }
.sx-nav.sx-open .sx-sheet a:nth-child(2) { transition-delay: 0.10s; }
.sx-nav.sx-open .sx-sheet a:nth-child(3) { transition-delay: 0.14s; }
.sx-nav.sx-open .sx-sheet a:nth-child(4) { transition-delay: 0.18s; }
.sx-nav.sx-open .sx-sheet a:nth-child(5) { transition-delay: 0.22s; }
.sx-nav.sx-open .sx-sheet a:nth-child(6) { transition-delay: 0.26s; }
.sx-scrim { position: absolute; left: 0; right: 0; top: 100%; height: 100vh; background: rgba(0, 0, 0, 0.28); opacity: 0; visibility: hidden; pointer-events: none;
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); transition: opacity 0.4s ease, visibility 0s linear 0.4s; }
.sx-nav.sx-open .sx-scrim { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
@media (min-width: 961px) { .sx-sheet, .sx-scrim { display: none; } }
@media (prefers-reduced-motion: reduce) {
    .sx-sheet, .sx-sheet a, .sx-scrim, .sx-menu i { transition-duration: 0.01s !important; transition-delay: 0s !important; }
}

@media (max-width: 960px) {
    .sx-links { display: none; }
    .sx-menu { display: inline-flex; }
}
@media (max-width: 640px) {
    .sx-login { display: none; }
}

/* ---------- Footer ---------- */
footer.sx-footer { background: var(--sx-fill); color: var(--sx-ink-2); padding: 2.5rem 0 3rem; margin-top: 0; font-size: 0.8125rem; }
.sx-footer a { color: inherit; text-decoration: none; opacity: 1; }
.sx-footer a:hover { color: var(--sx-ink); text-decoration: underline; opacity: 1; }
.sx-footer .sx-brand { color: var(--sx-ink); }
.sx-foot-top { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; padding-bottom: 1.5rem; border-bottom: 1px solid var(--sx-line); }
.sx-foot-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.sx-foot-bot { padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }

/* ---------- Page header (replaces .content-header / breadcrumb heroes) ---------- */
body.sx .content-header {
    position: relative; text-align: center; padding: 4.5rem 0 3rem; background: transparent; overflow: hidden;
}
body.sx .content-header::before,
body.sx .content-header::after {
    content: ''; position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.45; pointer-events: none; z-index: 0;
}
body.sx .content-header::before { width: 360px; height: 360px; background: #ffc9b3; top: -170px; left: 8%; }
body.sx .content-header::after  { width: 380px; height: 380px; background: #cfc4ff; top: -150px; right: 6%; }
body.sx .content-header .container { position: relative; z-index: 1; }
body.sx .content-header h1 {
    font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.05; margin-bottom: 1rem; color: var(--sx-ink);
}
body.sx .content-header p { color: var(--sx-ink-2); font-size: clamp(1.05rem, 2vw, 1.3rem); letter-spacing: -0.01em; max-width: 36rem; margin: 0 auto; }
body.sx .content-section { padding: 3rem 0 6rem; }

/* ---------- Long-form (privacy, terms) ---------- */
body.sx .content-body { max-width: 720px; }
body.sx .content-body h2 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; margin-top: 3rem; margin-bottom: 0.9rem; color: var(--sx-ink); }
body.sx .content-body h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; margin-top: 1.75rem; margin-bottom: 0.6rem; color: var(--sx-ink); }
body.sx .content-body p,
body.sx .content-body ul { color: var(--sx-ink-2); font-size: 1.0625rem; line-height: 1.65; }
body.sx .content-body a { color: var(--sx-accent); text-decoration: none; }
body.sx .content-body a:hover { text-decoration: underline; }

/* ---------- Buttons (legacy classes, new look) ---------- */
body.sx .btn-primary-custom,
body.sx .btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    background: var(--sx-ink); color: #fff; border: 0; border-radius: 999px;
    padding: 0.8rem 1.75rem; font-weight: 500; font-size: 1.0625rem; letter-spacing: -0.01em;
    box-shadow: none; text-decoration: none;
    transition: opacity 0.2s, transform 0.25s var(--sx-ease);
}
body.sx .btn-primary-custom:hover,
body.sx .btn-primary:hover { background: var(--sx-ink); color: #fff; opacity: 0.86; transform: none; box-shadow: none; }
body.sx .btn-primary-custom:active,
body.sx .btn-primary:active { transform: scale(0.97); }
body.sx .btn-secondary-custom,
body.sx .btn-outline-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    background: var(--sx-fill); color: var(--sx-ink); border: 0; border-radius: 999px;
    padding: 0.8rem 1.75rem; font-weight: 500; font-size: 1.0625rem; letter-spacing: -0.01em;
    box-shadow: none; text-decoration: none; margin-left: 0;
    transition: background-color 0.2s, transform 0.25s var(--sx-ease);
}
body.sx .btn-secondary-custom:hover,
body.sx .btn-outline-primary:hover { background: #e8e8ed; color: var(--sx-ink); transform: none; box-shadow: none; }

/* ---------- Forms ---------- */
body.sx .form-label { font-size: 0.875rem; font-weight: 600; color: var(--sx-ink); margin-bottom: 0.4rem; }
body.sx .form-control,
body.sx .form-select {
    background-color: var(--sx-fill); border: 1.5px solid transparent; border-radius: 14px;
    padding: 0.85rem 1rem; font-size: 1.0625rem; color: var(--sx-ink); box-shadow: none;
    transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
body.sx .form-control::placeholder { color: var(--sx-ink-3); }
body.sx .form-control:focus,
body.sx .form-select:focus {
    background-color: #fff; border-color: var(--sx-accent); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.14); outline: none;
}

/* ---------- Gradient headline words (legacy inline-styled spans) ---------- */
body.sx h1 span[style*="background-clip"],
body.sx .gradient-text {
    background: linear-gradient(100deg, #ff8a65 0%, #8b6cff 48%, #20b486 100%) !important;
    -webkit-background-clip: text !important; background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* ---------- Breadcrumbs: quiet ---------- */
body.sx .breadcrumb-custom { font-size: 0.8125rem; padding: 1.25rem 0 0; margin: 0; }
body.sx .breadcrumb-custom a { color: var(--sx-ink-2); }
body.sx .breadcrumb-custom .breadcrumb-item.active { color: var(--sx-ink); }
body.sx .breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before { color: var(--sx-ink-3); }
body.sx.pg-demo .content-header, body.sx.pg-download .content-header { padding-top: 2.5rem; }

/* ---------- Cards: hairline, no heavy shadow ---------- */
body.sx .demo-card,
body.sx .contact-card,
body.sx .feature-card,
body.sx .pricing-card {
    background: #fff; border: 1px solid var(--sx-line); border-radius: 28px; box-shadow: none;
    transition: transform 0.5s var(--sx-ease), box-shadow 0.5s var(--sx-ease);
}
body.sx .demo-card:hover,
body.sx .feature-card:hover,
body.sx .pricing-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.18); border-color: var(--sx-line); }

/* Icon tiles: soft fill + accent glyph instead of a loud gradient */
body.sx .demo-icon,
body.sx .feature-icon,
body.sx .pricing-icon { background: var(--sx-fill); color: var(--sx-accent); box-shadow: none; }
body.sx .demo-icon i,
body.sx .feature-icon i,
body.sx .pricing-icon i { color: var(--sx-accent); }
body.sx .demo-card h3, body.sx .feature-card h3, body.sx .pricing-card h3 { letter-spacing: -0.03em; }
body.sx .section-title, body.sx .section-header h2 { letter-spacing: -0.04em; font-weight: 700; }
body.sx .section-subtitle, body.sx .section-header p { color: var(--sx-ink-2); }

/* ---------- Dark closing bands (demo + invoice CTAs) ---------- */
body.sx .cta-section,
body.sx .invoice-cta {
    position: relative; overflow: hidden; color: #f5f5f7;
    background: radial-gradient(60% 90% at 50% 0%, rgba(139, 108, 255, 0.38), transparent 70%), #000;
}
body.sx .cta-section h2, body.sx .invoice-cta h2 { letter-spacing: -0.04em; color: #f5f5f7; }
body.sx .cta-section p, body.sx .invoice-cta p { color: #a1a1a6; opacity: 1; }
body.sx .btn-cta,
body.sx .btn-cta-white {
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; color: var(--sx-ink); border: 0; border-radius: 999px;
    padding: 0.85rem 2rem; font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; box-shadow: none;
    transition: opacity 0.2s, transform 0.25s var(--sx-ease);
}
body.sx .btn-cta:hover, body.sx .btn-cta-white:hover { color: var(--sx-ink); opacity: 0.9; transform: none; box-shadow: none; }

/* ---------- Contact ---------- */
body.sx.pg-contact .content-section { padding: 1rem 0 8rem; }
.sx-mail {
    max-width: 680px; margin: 0 auto; padding: 4rem 2rem 3.5rem; text-align: center; border-radius: 40px;
    background:
        radial-gradient(80% 90% at 100% 0%, rgba(207, 196, 255, 0.45), transparent 62%),
        radial-gradient(70% 90% at 0% 100%, rgba(255, 201, 179, 0.4), transparent 62%),
        var(--sx-fill);
}
.sx-mail-icon {
    display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
    background: #fff; color: var(--sx-accent); font-size: 1.6rem; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.18);
}
.sx-mail-label { margin-top: 1.5rem; font-size: 1.0625rem; font-weight: 600; color: var(--sx-ink-2); letter-spacing: -0.01em; }
.sx-mail-addr {
    display: block; margin-top: 0.4rem; color: var(--sx-ink); text-decoration: none;
    font-size: clamp(1.6rem, 6vw, 3rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; word-break: break-word;
    transition: color 0.2s;
}
.sx-mail-addr:hover { color: var(--sx-accent); }
.sx-mail-btn {
    display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 2rem; height: 52px; padding: 0 1.75rem;
    border-radius: 999px; background: var(--sx-ink); color: #fff; text-decoration: none;
    font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em;
    transition: opacity 0.2s, transform 0.25s var(--sx-ease);
}
.sx-mail-btn:hover { color: #fff; opacity: 0.86; }
.sx-mail-btn:active { transform: scale(0.97); }
.sx-mail-btn i { font-size: 0.8em; }

/* ---------- Demo ---------- */
body.sx.pg-demo .demo-section { padding: 2rem 0 5rem; }
body.sx.pg-demo .btn-download-demo {
    background: var(--sx-ink); border-radius: 999px; box-shadow: none; font-weight: 500; font-size: 1.0625rem; padding: 0.95rem 2rem;
    transition: opacity 0.2s, transform 0.25s var(--sx-ease);
}
body.sx.pg-demo .btn-download-demo:hover { opacity: 0.86; transform: none; box-shadow: none; color: #fff; }

/* ---------- Download ---------- */
body.sx.pg-download .download-section { background: transparent; padding: 1rem 0 5rem; }
body.sx.pg-download .download-card {
    border-radius: 40px; border: 0; box-shadow: none; padding: clamp(2rem, 5vw, 4rem);
    background:
        radial-gradient(70% 90% at 100% 0%, rgba(207, 196, 255, 0.5), transparent 62%),
        radial-gradient(60% 80% at 0% 100%, rgba(181, 230, 205, 0.5), transparent 68%),
        var(--sx-fill);
}
body.sx.pg-download .download-card-glow { display: none; }
body.sx.pg-download .download-badge { background: #fff; border: 1px solid var(--sx-line); color: var(--sx-ink-2); }
body.sx.pg-download .download-badge-dot { background: #34c759; }
body.sx.pg-download .download-title { color: var(--sx-ink); -webkit-text-fill-color: var(--sx-ink); letter-spacing: -0.04em; }
body.sx.pg-download .download-description { color: var(--sx-ink-2); }
body.sx.pg-download .download-feature-item { background: #fff; border: 1px solid var(--sx-line); color: var(--sx-ink-2); }
body.sx.pg-download .btn-download {
    border-radius: 999px; background: var(--sx-ink); border: 0; color: #fff; box-shadow: none; backdrop-filter: none;
}
body.sx.pg-download .btn-download:hover { background: var(--sx-ink); color: #fff; opacity: 0.86; transform: none; box-shadow: none; }
body.sx.pg-download .btn-download small { opacity: 0.7; }
body.sx.pg-download .download-note { color: var(--sx-ink-3); }
body.sx.pg-download .download-visual svg { filter: drop-shadow(0 24px 40px rgba(60, 50, 120, 0.25)); }

/* ---------- Invoice ---------- */
body.sx.pg-invoice .invoice-hero { position: relative; background: transparent; overflow: hidden; padding: 5rem 0 3rem; }
body.sx.pg-invoice .invoice-hero::before,
body.sx.pg-invoice .invoice-hero::after {
    content: ''; position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.45; pointer-events: none; z-index: 0;
}
body.sx.pg-invoice .invoice-hero::before { width: 360px; height: 360px; background: #ffc9b3; top: -170px; left: 8%; right: auto; bottom: auto; }
body.sx.pg-invoice .invoice-hero::after  { width: 380px; height: 380px; background: #cfc4ff; top: -150px; right: 6%; left: auto; bottom: auto; }
body.sx.pg-invoice .invoice-hero h1 { font-size: clamp(2.6rem, 7vw, 4.75rem); letter-spacing: -0.045em; line-height: 1.04; font-weight: 700; }
body.sx.pg-invoice .invoice-hero p { color: var(--sx-ink-2); letter-spacing: -0.01em; }
body.sx.pg-invoice .hero-badge {
    background: rgba(255, 255, 255, 0.7); border: 1px solid var(--sx-line); color: var(--sx-ink-2); box-shadow: none;
}
body.sx.pg-invoice .pricing-header { background: var(--sx-fill); }
body.sx.pg-invoice .pricing-header-popular { background: linear-gradient(160deg, #ece7ff, #cfc4ff); }
body.sx.pg-invoice .pricing-header-popular h3 { color: var(--sx-ink); }
body.sx.pg-invoice .pricing-header-popular .pricing-icon { background: #fff; }
body.sx.pg-invoice .pricing-header-popular .pricing-icon i { color: var(--sx-accent); -webkit-text-fill-color: var(--sx-accent); }
body.sx.pg-invoice .pricing-card-popular { border-color: var(--sx-line); }
body.sx.pg-invoice .pricing-badge { z-index: 3; background: var(--sx-accent); box-shadow: none; }
body.sx.pg-invoice .invoice-pricing,
body.sx.pg-invoice .invoice-features { background: transparent; }
body.sx.pg-invoice .invoice-features { background: #fff; }

/* ---------- Order ---------- */
body.sx.pg-order .product-card { border: 1px solid var(--sx-line); border-radius: 28px; }
body.sx.pg-order .product-card:hover { border-color: var(--sx-line); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.2); }
body.sx.pg-order .product-img-wrap { background: var(--sx-fill); }
body.sx.pg-order .product-name { letter-spacing: -0.02em; }
body.sx.pg-order .product-price { letter-spacing: -0.03em; }
body.sx.pg-order .cart-sidebar { border: 1px solid var(--sx-line); border-radius: 28px; box-shadow: none; top: 76px; }
body.sx.pg-order .qty-control { background: var(--sx-fill); }
body.sx.pg-order .qty-btn:hover { background: var(--sx-ink); border-color: var(--sx-ink); color: #fff; }
body.sx.pg-order .btn-google { border-radius: 999px; }
body.sx.pg-order .content-section { padding-top: 1rem; }

/* ---------- Payment ---------- */
body.sx.pg-payment { background: var(--sx-bg); }
body.sx.pg-payment .test-mode-banner {
    position: static; background: #fff4e0; color: #8a5300; box-shadow: none;
    font-size: 0.8125rem; font-weight: 500; padding: 0.55rem 1rem; border-bottom: 1px solid rgba(138, 83, 0, 0.12);
}
body.sx.pg-payment .section-transition { display: none; }
body.sx.pg-payment .payment-shell { padding: 3.5rem 0 5rem; }
body.sx.pg-payment .form-header { text-align: center; margin-bottom: 2.5rem; }
body.sx.pg-payment .form-header-badge {
    background: rgba(255, 255, 255, 0.7); border: 1px solid var(--sx-line); color: var(--sx-ink-2);
    font-size: 0.8125rem; font-weight: 500; text-transform: none; letter-spacing: 0.01em;
}
body.sx.pg-payment .form-header h2 { font-size: clamp(2.2rem, 5.5vw, 3.5rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.05; }
body.sx.pg-payment .form-header p { color: var(--sx-ink-2); font-size: 1.2rem; }
body.sx.pg-payment .payment-surface { background: none; border: 0; box-shadow: none; padding: 0; }
body.sx.pg-payment .payment-card {
    background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none;
    border: 1px solid var(--sx-line); border-radius: 32px; box-shadow: none; padding: 2.5rem;
}
body.sx.pg-payment .payment-card::before { display: none; }
body.sx.pg-payment .payment-card h3 { letter-spacing: -0.035em; font-weight: 700; }
/* segmented control */
body.sx.pg-payment .step-indicator { background: var(--sx-fill); padding: 4px; border-radius: 14px; gap: 4px; }
body.sx.pg-payment .step-pill { border: 0; background: transparent; border-radius: 10px; color: var(--sx-ink-2); box-shadow: none; }
body.sx.pg-payment .step-pill.active { background: #fff; color: var(--sx-ink); transform: none; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14); }
/* controls */
body.sx.pg-payment .btn-primary-custom { background: var(--sx-ink); border-radius: 999px; padding: 0.95rem 1.4rem; font-weight: 500; }
body.sx.pg-payment .btn-primary-custom::before { display: none; }
body.sx.pg-payment .btn-primary-custom:disabled,
body.sx.pg-payment .btn[disabled] { opacity: 0.45; }
body.sx.pg-payment .btn-outline-secondary { background: var(--sx-fill); border: 0; color: var(--sx-ink); border-radius: 999px; padding: 0.95rem 1.4rem; font-weight: 500; }
body.sx.pg-payment .btn-outline-secondary:hover { background: #e8e8ed; color: var(--sx-ink); box-shadow: none; transform: none; }
body.sx.pg-payment .input-group-text { background: var(--sx-fill); border: 1.5px solid transparent; border-right: 0; border-radius: 14px 0 0 14px; color: var(--sx-ink-2); }
body.sx.pg-payment .amount-input { border-radius: 0 14px 14px 0; border-left: 0; }
body.sx.pg-payment .preview-chip { background: var(--sx-fill); border: 0; color: var(--sx-ink-2); border-radius: 14px; }
/* info panel */
body.sx.pg-payment .info-card {
    border-radius: 32px; padding: 2.25rem; box-shadow: none; color: var(--sx-ink);
    background:
        radial-gradient(90% 70% at 100% 0%, rgba(207, 196, 255, 0.5), transparent 62%),
        radial-gradient(80% 60% at 0% 100%, rgba(181, 230, 205, 0.5), transparent 70%),
        var(--sx-fill);
}
body.sx.pg-payment .info-title { font-size: clamp(1.8rem, 3.2vw, 2.4rem); letter-spacing: -0.04em; font-weight: 700; color: var(--sx-ink); }
body.sx.pg-payment .info-copy { color: var(--sx-ink-2); }
body.sx.pg-payment .info-card .hero-badge { background: #fff; border: 1px solid var(--sx-line); color: var(--sx-ink-2); }
body.sx.pg-payment .info-card .hero-metric-list li { background: #fff; border: 0; border-radius: 16px; color: var(--sx-ink-2); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.sx.pg-payment .info-card .hero-metric-list strong { color: var(--sx-ink); }
body.sx.pg-payment .info-card .trust-pill { background: #fff; border: 1px solid var(--sx-line); color: var(--sx-ink-2); }

/* ---------- Appointment ---------- */
body.sx.pg-appointment {
    --primary: #0071e3; --secondary: #5856d6; --bg: #f5f5f7; --border: rgba(0, 0, 0, 0.1);
    background: var(--sx-bg);
}
body.sx.pg-appointment .appt-hero { background: transparent; border-bottom: 0; text-align: center; padding: 3.5rem 0 5rem; }
body.sx.pg-appointment .appt-hero::before {
    background: radial-gradient(circle at 12% 25%, rgba(255, 185, 160, 0.4), transparent 48%), radial-gradient(circle at 88% 30%, rgba(180, 165, 255, 0.4), transparent 46%);
    filter: blur(30px);
}
body.sx.pg-appointment .appt-hero h1 { font-size: clamp(2.3rem, 6vw, 3.75rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.05; }
body.sx.pg-appointment .appt-hero .subtitle { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--sx-ink-2); max-width: 36rem; margin-left: auto; margin-right: auto; }
body.sx.pg-appointment .hero-badge {
    background: rgba(255, 255, 255, 0.7); border: 1px solid var(--sx-line); color: var(--sx-ink-2);
    font-size: 0.8125rem; font-weight: 500; text-transform: none; letter-spacing: 0.01em;
}
body.sx.pg-appointment .hero-badge-dot { background: #34c759; }
body.sx.pg-appointment .hero-kpis { justify-content: center; }
body.sx.pg-appointment .hero-kpi { background: rgba(255, 255, 255, 0.7); border: 1px solid var(--sx-line); box-shadow: none; color: var(--sx-ink-2); }
body.sx.pg-appointment .step-wizard {
    background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none;
    border: 1px solid var(--sx-line); border-radius: 32px; box-shadow: none;
}
body.sx.pg-appointment .appt-card { border: 1px solid var(--sx-line); border-radius: 24px; box-shadow: none; }
body.sx.pg-appointment .step-circle { background: var(--sx-fill); border-color: transparent; }
body.sx.pg-appointment .step.active .step-circle { background: var(--sx-ink); border-color: var(--sx-ink); box-shadow: none; }
body.sx.pg-appointment .date-btn { background: var(--sx-fill); border: 1.5px solid transparent; }
body.sx.pg-appointment .date-btn:hover:not(.disabled) { background: #ececf0; border-color: transparent; box-shadow: none; }
body.sx.pg-appointment .date-btn.selected { background: var(--sx-ink); border-color: var(--sx-ink); box-shadow: none; color: #fff; }
body.sx.pg-appointment .date-btn.selected .day-name,
body.sx.pg-appointment .date-btn.selected .month { color: rgba(255, 255, 255, 0.7); }
body.sx.pg-appointment .date-btn.selected .day-num { color: #fff; }
body.sx.pg-appointment .slot-btn { background: var(--sx-fill); border-color: transparent; }
body.sx.pg-appointment .slot-btn.selected { background: var(--sx-ink) !important; border-color: var(--sx-ink); box-shadow: none !important; color: #fff !important; }
body.sx.pg-appointment .pay-option.selected { border-color: var(--sx-ink); background: var(--sx-fill); box-shadow: none; }
body.sx.pg-appointment .btn-primary { box-shadow: none; min-height: 48px; }
body.sx.pg-appointment .btn-outline-secondary { background: var(--sx-fill); border: 0; color: var(--sx-ink); border-radius: 999px; }
body.sx.pg-appointment .btn-outline-secondary:hover { background: #e8e8ed; color: var(--sx-ink); }
body.sx.pg-appointment .flow-step-chip,
body.sx.pg-appointment .ref-banner { background: var(--sx-fill); border: 0; color: var(--sx-ink-2); }

/* ---------- Guidance ---------- */
body.sx.pg-guidance { background: var(--sx-bg); }
body.sx.pg-guidance .guide-container { padding-top: 1.5rem; padding-bottom: 4rem; }
body.sx.pg-guidance .guide-header {
    border-radius: 32px; padding: 3rem 1.5rem; color: var(--sx-ink);
    background:
        radial-gradient(80% 110% at 100% 0%, rgba(207, 196, 255, 0.5), transparent 62%),
        radial-gradient(70% 90% at 0% 100%, rgba(255, 201, 179, 0.45), transparent 66%),
        var(--sx-fill);
}
body.sx.pg-guidance .guide-header h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); letter-spacing: -0.04em; font-weight: 700; color: var(--sx-ink); }
body.sx.pg-guidance .guide-header p { color: var(--sx-ink-2); opacity: 1; }
body.sx.pg-guidance .profile-card,
body.sx.pg-guidance .category-card { border: 1px solid var(--sx-line) !important; border-radius: 28px; box-shadow: none; background: #fff !important; }
body.sx.pg-guidance [style*="linear-gradient(135deg, var(--primary-color), var(--secondary-color))"] { background: var(--sx-ink) !important; }
body.sx.pg-guidance .btn-download { border-radius: 999px; background: var(--sx-ink); }
body.sx.pg-guidance .btn-download:hover { opacity: 0.86; transform: none; }
body.sx.pg-guidance .tab-btn { border-radius: 999px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .sx-nav, .sx-pill, body.sx .btn-primary-custom, body.sx .btn-secondary-custom { transition: none; }
}
