/* SOLEX OBSIDIAN — shared visual system. No application behavior. */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --sx-ink: #050d19;
    --sx-panel: #0c1928;
    --sx-panel-raised: #122333;
    --sx-line: rgba(172, 205, 217, .14);
    --sx-muted: #a0b1c2;
    --sx-green: #34d399;
    --sx-radius: 20px;
}

body.sx-public, body.sx-client, body.sx-auth, body.sx-document, body.sx-admin {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}
body.sx-client, body.sx-auth, body.sx-document {
    color: #e8eef4;
    background: radial-gradient(ellipse at 95% 0%, #10372f 0%, transparent 42%),
        radial-gradient(ellipse at 0% 60%, #0c2033 0%, transparent 50%), var(--sx-ink) !important;
}
.sx-public h2, .sx-public h3, .sx-client h1, .sx-client h2, .sx-client h3,
.sx-document h1, .sx-document h2, .sx-auth h1, .sx-admin h2 {
    letter-spacing: -.04em;
}
:where(.sx-public, .sx-client, .sx-auth, .sx-document) ::selection { background: #a7f3d0; color: #052e24; }
:where(.sx-public, .sx-client, .sx-auth, .sx-document, .sx-admin) :focus-visible {
    outline: 3px solid #34d399;
    outline-offset: 4px;
}
:where(.sx-client, .sx-auth, .sx-document) .text-slate-500 { color: var(--sx-muted); }
:where(.sx-public, .sx-client, .sx-auth, .sx-document, .sx-admin) button {
    cursor: pointer;
}
:where(.sx-public, .sx-client, .sx-auth, .sx-document, .sx-admin) button:disabled {
    cursor: wait;
    opacity: .55;
}

/* Public site: generous rhythm, restrained surfaces, clear conversion path. */
.sx-public #hero { padding-top: 190px; padding-bottom: 100px; }
.sx-public #hero > .relative { width: 100%; }
.sx-public #hero h1 { font-weight: 700; }
.sx-public #hero h1 > span { font-weight: 700; }
.sx-public #hero .neon-card-wrapper, .sx-public #hero .neon-card-inner { border-radius: 28px; }
.sx-public #hero .neon-card-wrapper { background: #0b1b29; border: 1px solid #6ee7b73d; padding: 16px; }
.sx-public #hero .neon-card-inner { background: transparent; padding: 18px; }
.sx-public #hero .btn-premium-animated { border-radius: 14px; font-size: 12px; letter-spacing: .08em; }
.sx-public #hero button[class~='group/btn'] { white-space: nowrap; border-radius: 14px; padding: 18px 24px; font-size: 12px; letter-spacing: .12em; }
.sx-public #hero div:has(> button[class~='group/btn']) { flex-wrap: wrap; justify-content: flex-start; }
.sx-public #login-modal > div, .sx-public #register-modal > div { border-radius: 24px; }
.sx-public #hero .neon-card-inner h2 { text-transform: none; }
.sx-public #hero .premium-input-wrapper { border-radius: 16px; }
.sx-public #hero .calc-breakdown { border-radius: 16px; }
.sx-public #guide { padding-block: 112px; }
.sx-public #guide .premium-card { border-radius: 24px; padding: 28px; }
.sx-public #guide .premium-card.scale-105 { transform: none; }
.sx-public #guide h2, .sx-public #testimonials h2 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); line-height: 1.12; }
.sx-public #history, .sx-public #testimonials { padding-block: 96px; }
.sx-public #history { background: linear-gradient(180deg, rgba(14, 31, 43, .65), transparent); }
.sx-public #live-stats { border-color: var(--sx-line); }
.sx-public .payment-method-card { border-radius: 18px; }
.sx-public footer { border-top: 1px solid var(--sx-line); }
.sx-public #main-nav .glass-nav { box-shadow: 0 12px 36px #0002; }
.sx-public > div.fixed.top-0 { height: 36px; display: flex; align-items: center; }
.sx-public #main-nav { top: 48px; }
.sx-public #hero .text-slate-600 { color: #94a3b8; }

/* Client workspace: one primary action and quiet data surfaces. */
.sx-client { --dash-surface: #0c1928; --dash-border: var(--sx-line); --dash-muted: var(--sx-muted); }
.sx-client .premium-nav {
    min-height: 76px;
    background: rgba(5, 13, 25, .94) !important;
    border-bottom: 1px solid var(--sx-line) !important;
    box-shadow: 0 8px 24px #0001 !important;
}
.sx-client main { max-width: 1240px !important; padding-top: 36px !important; }
.sx-client main > .relative.overflow-hidden {
    position: relative;
    background: linear-gradient(105deg, #102736, #10382f) !important;
    border: 1px solid rgba(110, 231, 183, .22) !important;
    border-radius: 24px !important;
    padding: 36px !important;
    box-shadow: 0 20px 55px #0002 !important;
}
.sx-client main > .relative.overflow-hidden::before {
    content: ''; position: absolute; width: 540px; height: 540px;
    right: -130px; top: -330px; border: 1px solid #6ee7b726; border-radius: 50%;
    box-shadow: 0 0 0 48px #6ee7b708, 0 0 0 100px #6ee7b705;
    pointer-events: none;
}
.sx-client main > .relative.overflow-hidden button {
    color: #042a21 !important; background: #6ee7b7 !important;
    border-radius: 12px; min-height: 48px; padding-inline: 22px;
}
.sx-client .glass, .sx-client .premium-stat {
    background: linear-gradient(145deg, #112232, #0c1928) !important;
    border: 1px solid var(--sx-line) !important;
    border-radius: var(--sx-radius) !important;
    box-shadow: 0 12px 32px #0002 !important;
}
.sx-client .premium-stat { padding: 22px !important; }
.sx-client .premium-nav.glass { border-radius: 0 !important; background: rgba(5, 13, 25, .94) !important; box-shadow: none !important; }
.sx-client .premium-stat::before { display: none; }
.sx-client .premium-stat .w-9 { display: flex; }
.sx-client .premium-stat span { font-size: 11px; font-weight: 500 !important; }
.sx-client .premium-stat p[id] { font-size: clamp(1.5rem, 2.5vw, 2rem); font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.sx-client .premium-stat p.text-slate-500 { font-size: 11px; font-weight: 400 !important; line-height: 1.6; }
.sx-client .tab-active { background: #183b35 !important; color: #a7f3d0 !important; }
.sx-client #history-list > div {
    background: #0e1e2c !important;
    border: 1px solid var(--sx-line) !important;
    box-shadow: none !important; border-radius: 16px !important;
}
.sx-client #history-list > div:hover { border-color: #34d39955 !important; }
.sx-client #benefits-roadmap article { background: #091724 !important; border: 1px solid var(--sx-line); border-radius: 14px !important; padding: 16px !important; }
.sx-client #benefits-roadmap .benefit-step-current { background: #102e2a !important; border-color: #34d39977 !important; }
.sx-client input:not([type='checkbox']):not([type='radio']), .sx-client select, .sx-client textarea {
    background: #071421 !important; border-color: #2b4254 !important; color: #e8eef4; border-radius: 12px !important;
}
.sx-client .operation-modal-card, .sx-client #modalAccount > div, .sx-client #modalSettings > div { border-radius: 24px !important; }
.sx-client #verification-banner { background: #1a211f !important; }

/* Auth: editorial brand panel alongside the existing forms. */
.sx-auth { min-height: 100svh; padding: 40px; gap: clamp(40px, 8vw, 130px); overflow-x: hidden; }
.sx-auth > .w-full { flex: 0 1 460px; max-width: 460px; padding: 0; }
.sx-auth .sx-auth-story { flex: 0 1 540px; align-self: center; position: relative; }
.sx-auth-story .sx-wordmark { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; letter-spacing: .12em; }
.sx-auth-story .sx-wordmark img { width: 36px; height: 42px; object-fit: contain; }
.sx-auth-story .sx-eyebrow { color: #6ee7b7; text-transform: uppercase; font-size: 11px; letter-spacing: .22em; margin-top: 64px; font-weight: 700; }
.sx-auth-story h2 { font-size: clamp(38px, 4.8vw, 64px); font-weight: 600; line-height: 1.08; letter-spacing: -.055em; margin: 20px 0; }
.sx-auth-story h2 span { color: #6ee7b7; }
.sx-auth-story p { max-width: 390px; font-size: 15px; color: #a0b1c2; line-height: 1.8; }
.sx-auth-art { height: 180px; margin-top: 32px; border: 1px solid #6ee7b71f; border-radius: 24px; overflow: hidden;
    background: linear-gradient(90deg, #07152288, #07152211), url('../img/premium/hero-bg.png') center 48% / cover; }
.sx-auth .glass-panel, .sx-auth-admin > .w-full > .bg-white {
    background: linear-gradient(145deg, #142635ee, #0b1827f5); border: 1px solid #b7d9e125;
    border-radius: 24px; padding: 32px; box-shadow: 0 28px 75px #0004;
}
.sx-auth h1 { font-size: 27px; font-weight: 700; color: #f1f5f9; }
.sx-auth label { font-size: 12px; font-weight: 600; color: #cbd5e1; }
.sx-auth input:not([type='checkbox']):not([type='radio']), .sx-auth select {
    background: #081522; border: 1px solid #2b4254; color: #f1f5f9; min-height: 50px; border-radius: 12px;
}
.sx-auth input::placeholder { color: #7e93a7; }
.sx-auth input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #102332 inset; -webkit-text-fill-color: #edf4f8; caret-color: #edf4f8; }
.sx-auth button[type='submit'] {
    background: #6ee7b7; color: #052e24; box-shadow: 0 6px 20px #10b98115; min-height: 50px; border-radius: 12px;
}
.sx-auth button[type='submit']:hover { background: #a7f3d0; transform: translateY(-1px); }
.sx-auth-admin .text-slate-500 { color: #a0b1c2; }
.sx-auth-admin #error-message { color: #991b1b; }

/* Support and legal pages: readable editorial surfaces. */
.sx-document header { background: #050d19ed; border-bottom: 1px solid var(--sx-line); }
.sx-document main { max-width: 1040px; }
.sx-document main > .text-center { padding-block: 30px; }
.sx-document h1 { font-weight: 600; line-height: 1.15; }
.sx-document main .rounded-3xl, .sx-document main .rounded-2xl {
    background: linear-gradient(145deg, #132736aa, #0c1928cc); border: 1px solid var(--sx-line); border-radius: 20px;
}
.sx-document p, .sx-document li { line-height: 1.85; }
.sx-document main > .space-y-8, .sx-document main > .space-y-12 { max-width: 800px; margin-inline: auto; }

/* Operations desk: light data canvas, obsidian navigation. */
body.sx-admin { background: #f2f5f7; color: #233347; }
.sx-admin > .fixed.w-64 {
    width: 248px; background: radial-gradient(ellipse at 0% 0%, #123b35, transparent 55%), #081320;
    border-right: 1px solid #ffffff0a; box-shadow: none; overflow-y: auto;
}
.sx-admin > .fixed.w-64 > .p-6 { padding: 32px 26px 22px; border-bottom: 1px solid #ffffff0d; }
.sx-admin > .fixed.w-64 h1 { letter-spacing: -.05em; font-size: 25px; }
.sx-admin .nav-link { margin: 5px 14px; padding: 13px 16px; border-radius: 10px; border-left: 0; font-size: 12px; font-weight: 500; color: #a6b8c8; }
.sx-admin .nav-link i { width: 20px; text-align: center; }
.sx-admin .nav-link.active { color: #a7f3d0; background: #34d39916; box-shadow: inset 0 0 0 1px #34d39926; }
.sx-admin .nav-link:hover { color: #f0fdf4; background: #ffffff09; }
.sx-admin > .ml-64 { margin-left: 248px; padding: 40px; max-width: 1800px; }
.sx-admin .content-section > .flex:first-child { min-height: 70px; margin-bottom: 28px; }
.sx-admin h2 { font-weight: 700; }
.sx-admin .content-section .bg-white { border: 1px solid #dfe7ec; box-shadow: 0 3px 16px #132b3a04; border-radius: 18px; }
.sx-admin .content-section > .grid[aria-live] > div { padding: 22px; }
.sx-admin .content-section > .grid[aria-live] p[id] { color: #142c3a; font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.sx-admin .content-section > .grid[aria-live] .uppercase { text-transform: none; font-weight: 500; font-size: 11px; }
.sx-admin .btn-primary { background: #087c61; box-shadow: 0 4px 10px #087c6114; border-radius: 10px; font-size: 12px; font-weight: 600; min-height: 44px; }
.sx-admin .btn-primary:hover { background: #06644e; transform: none; }
.sx-admin .btn-secondary { background: #fff; border: 1px solid #d8e2e9; border-radius: 10px; font-size: 12px; min-height: 44px; font-weight: 600; }
.sx-admin .btn-secondary:hover { background: #eaf1f4; }
.sx-admin .form-input { background: #f8fafb; border-color: #d7e1e7; border-radius: 10px; min-height: 44px; }
.sx-admin table { font-size: 12px; }
.sx-admin thead { background: #edf3f5; }
.sx-admin th { text-transform: none; font-weight: 600; color: #526779; white-space: nowrap; }
.sx-admin td { font-variant-numeric: tabular-nums; }
.sx-admin table tbody tr:hover { background: #f0faf7; }
.sx-admin .content-section div:has(> table) { overflow-x: auto; }
.sx-admin .modal { background: #020b18a8; backdrop-filter: blur(5px); padding-block: 20px; }
.sx-admin .modal-content { border-radius: 22px; border: 1px solid #e2e8f0; box-shadow: 0 24px 80px #0003; }
.sx-admin .status-badge { font-size: 10px; font-weight: 600; text-transform: none; }

@media (min-width: 1024px) {
    .sx-public #hero > .relative { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 60px; }
    .sx-public #hero > .relative > div { grid-column: auto; min-width: 0; }
    .sx-public #hero h1 { font-size: clamp(4rem, 6.5vw, 6rem); }
    .sx-public #hero p.text-lg { font-size: 18px; line-height: 1.8; max-width: 510px; }
}
@media (max-width: 1023px) {
    .sx-auth { gap: 30px; padding: 32px; }
    .sx-auth-story h2 { font-size: 42px; }
    .sx-admin > .fixed.w-64 { width: 210px; }
    .sx-admin > .ml-64 { margin-left: 210px; padding: 24px; }
    .sx-client main > .relative.overflow-hidden { padding: 28px !important; }
}
@media (max-width: 767px) {
    .sx-public #hero { padding-top: 160px; padding-bottom: 64px; }
    .sx-public #guide, .sx-public #history, .sx-public #testimonials { padding-block: 64px; }
    .sx-auth { display: block; padding: 28px 20px; }
    .sx-auth > .w-full { margin: 0 auto; }
    .sx-auth .sx-auth-story { max-width: 460px; margin: 0 auto 32px; }
    .sx-auth-story .sx-wordmark { font-size: 17px; }
    .sx-auth-story .sx-eyebrow { margin-top: 26px; }
    .sx-auth-story h2 { font-size: 34px; max-width: 360px; }
    .sx-auth-story p, .sx-auth-art { display: none; }
    .sx-auth .glass-panel, .sx-auth-admin > .w-full > .bg-white { padding: 24px; }
    .sx-client main > .relative.overflow-hidden { padding: 24px 20px !important; }
    .sx-client .premium-stat { padding: 16px !important; }
    .sx-client main > .flex.p-1\.5 { overflow-x: auto; }
    .sx-client main > .flex.p-1\.5 button { padding-inline: 14px; font-size: 12px; white-space: nowrap; }
    .sx-admin > .fixed.w-64 { position: relative; width: 100%; height: auto; }
    .sx-admin > .fixed.w-64 > .p-6 { padding: 20px; }
    .sx-admin > .fixed.w-64 nav { display: flex; overflow-x: auto; margin: 0; padding: 8px; }
    .sx-admin .nav-link { flex: 0 0 auto; margin: 0 3px; padding: 12px; white-space: nowrap; }
    .sx-admin > .fixed.w-64 > .absolute { position: static; padding: 8px 20px 16px; }
    .sx-admin > .ml-64 { margin-left: 0; padding: 24px 16px; }
    .sx-admin .content-section > .flex:first-child { flex-wrap: wrap; gap: 16px; }
    .sx-admin .modal-content { padding: 22px; width: 94%; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
