* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; font: 15px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, .button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: color-mix(in srgb, var(--accent) 26%, transparent); }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 52px 0 88px; }
.top { position: sticky; top: 0; z-index: 80; border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent); background: color-mix(in srgb, var(--bg-elevated) 86%, transparent); backdrop-filter: blur(18px); }
.top-inner { width: min(1240px, calc(100% - 40px)); min-height: 74px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; letter-spacing: -.3px; }
.brand-mark { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 78%, #65b7ff), var(--accent)); box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 26%, transparent); }
.top nav { display: flex; align-items: center; gap: 5px; }
.top nav > a { color: var(--text-soft); padding: 10px 13px; border-radius: 10px; font-weight: 650; transition: .2s ease; }
.top nav > a:hover { color: var(--text); background: var(--surface-soft); }
.top .nav-cta { color: #fff; background: var(--accent); padding-inline: 17px; box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 22%, transparent); }
.top .nav-cta:hover { color: #fff; background: color-mix(in srgb, var(--accent) 88%, #000); }
.nav-tools { display: flex; align-items: center; gap: 3px; margin-left: 8px; padding-left: 10px; border-left: 1px solid var(--line); }
.lang-link { min-width: 32px; padding: 7px 6px !important; text-align: center; border-radius: 8px !important; font-size: 12px; }
.lang-link.active { color: var(--accent) !important; background: color-mix(in srgb, var(--accent) 10%, transparent) !important; }
.theme-toggle, .mobile-menu { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--text); background: var(--surface-solid); cursor: pointer; transition: .2s ease; }
.theme-toggle:hover, .mobile-menu:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.mobile-menu { display: none; }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -.035em; }
h1 { font-size: clamp(34px, 5vw, 60px); margin-bottom: 18px; }
h2 { font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 14px; }
h3 { font-size: 19px; margin-bottom: 10px; }
p { color: var(--text-soft); }
.muted, .subtitle, .form-note { color: var(--text-soft); }
.eyebrow, .hero-badge { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px; color: var(--accent); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.badge { display: inline-flex; align-items: center; width: max-content; padding: 5px 10px; border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line)); border-radius: 999px; color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface-solid)); font-size: 11px; line-height: 1.4; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

.card { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); }
.button, button:not(.theme-toggle):not(.mobile-menu):not(.modal-x):not(.announcement-close):not(.icon-btn):not(.admin-menu-button):not([data-admin-menu-close]) { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--accent); border-radius: 11px; color: #fff; background: var(--accent); font-weight: 780; cursor: pointer; transition: .2s ease; }
.button:hover, button:not(.theme-toggle):not(.mobile-menu):not(.modal-x):not(.announcement-close):not(.icon-btn):not(.admin-menu-button):not([data-admin-menu-close]):hover { transform: translateY(-1px); background: color-mix(in srgb, var(--accent) 88%, #000); box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 22%, transparent); }
.button.secondary, button.secondary { color: var(--text); border-color: var(--line); background: var(--surface-solid); box-shadow: none; }
.button.secondary:hover, button.secondary:hover { color: var(--accent); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--surface-solid)); }
button.danger, .danger { color: var(--danger) !important; border-color: color-mix(in srgb, var(--danger) 28%, var(--line)) !important; background: var(--danger-soft) !important; box-shadow: none !important; }
button:disabled { opacity: .6; cursor: wait; transform: none !important; }

label { display: grid; gap: 7px; margin-bottom: 16px; color: var(--text); font-weight: 700; font-size: 13px; }
label small { color: var(--text-faint); font-weight: 500; }
input, select, textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 11px; outline: none; color: var(--text); background: var(--surface-solid); transition: border-color .2s, box-shadow .2s, background .2s; }
textarea { min-height: 128px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--text-faint); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 11%, transparent); }
input[type="checkbox"], input[type="radio"] { min-height: 0; accent-color: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.row, .section-head, .page-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-head { margin-bottom: 22px; }
.section-head h2, .section-head h3, .page-title h1 { margin-bottom: 4px; }
.section-head p, .section-head small, .page-title p { margin: 0; color: var(--text-soft); }
.page-title { align-items: flex-end; margin-bottom: 30px; }
.page-title h1 { font-size: clamp(32px, 4vw, 46px); }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 22px; color: var(--text-soft); font-weight: 700; }
.back-link:hover { color: var(--accent); }

.hero { position: relative; min-height: 610px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 62px; margin-top: -52px; margin-inline: calc((100vw - min(1180px, calc(100vw - 40px))) / -2); padding: 86px max(20px, calc((100vw - 1180px) / 2)) 78px; overflow: hidden; background: radial-gradient(circle at 78% 28%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 30%), linear-gradient(135deg, var(--hero-start), var(--hero-end)); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .23; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to right, #000, transparent 78%); }
.hero-content, .hero-visual { position: relative; z-index: 1; }
.hero h1 { max-width: 760px; color: var(--text); }
.hero h1::after { content: "."; color: var(--accent); }
.hero-content > p { max-width: 660px; font-size: 19px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 40px; }
.hero-actions .button { min-height: 52px; padding-inline: 24px; }
.hero-proof { display: flex; gap: 34px; }
.hero-proof div { display: grid; }
.hero-proof strong { font-size: 20px; }
.hero-proof span { color: var(--text-soft); font-size: 12px; }
.hero-visual { min-height: 440px; display: grid; place-items: center; }
.visual-glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 24%, transparent); filter: blur(70px); }
.dashboard-preview { position: relative; width: min(480px, 100%); padding: 22px; transform: perspective(900px) rotateY(-4deg) rotateX(2deg); box-shadow: var(--shadow-lg); }
.preview-head { display: flex; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid var(--line); color: var(--text-soft); font-size: 12px; font-weight: 750; }
.preview-dots { color: var(--line-strong); letter-spacing: 4px; }
.preview-balance { position: relative; margin: 20px 0; padding: 22px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 75%, #193b74), color-mix(in srgb, var(--accent) 55%, #0d213f)); overflow: hidden; }
.preview-balance::after { content: ""; position: absolute; width: 150px; height: 150px; right: -40px; top: -70px; border: 26px solid rgba(255,255,255,.08); border-radius: 50%; }
.preview-balance small, .preview-balance strong { display: block; color: #fff; }
.preview-balance strong { margin-top: 6px; font-size: 30px; letter-spacing: -.04em; }
.preview-balance span { position: absolute; right: 20px; bottom: 22px; padding: 4px 8px; border-radius: 8px; background: rgba(255,255,255,.14); font-size: 11px; }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.preview-grid span { display: grid; gap: 3px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; color: var(--text-soft); font-size: 11px; }
.preview-grid b { color: var(--text); font-size: 23px; }
.preview-row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; }
.preview-row i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); font-style: normal; }
.preview-row span { display: grid; }
.preview-row small { color: var(--text-soft); }
.preview-row em { color: var(--success); font-style: normal; }

.benefit-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin: -1px 0 88px; border: 1px solid var(--line); border-radius: 0 0 20px 20px; background: var(--surface-solid); box-shadow: var(--shadow-sm); }
.benefit-strip > div { display: grid; grid-template-columns: 46px 1fr; align-items: center; column-gap: 13px; padding: 24px 28px; border-right: 1px solid var(--line); }
.benefit-strip > div:last-child { border-right: 0; }
.benefit-strip span { grid-row: 1 / 3; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); }
.benefit-strip small { color: var(--text-soft); }
.featured-section { padding: 18px 0 60px; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product { min-height: 290px; display: flex; flex-direction: column; padding: 25px; transition: .25s ease; }
.product:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--shadow-md); }
.product-card-top { min-height: 54px; display: flex; align-items: flex-start; justify-content: space-between; }
.product-symbol, .metric-icon { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--surface-soft)); font-size: 20px; }
.product h2 { margin: 22px 0 10px; font-size: 22px; }
.product > p { flex: 1; }
.product-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.product-card-foot > div { display: grid; }
.product-card-foot small { color: var(--text-faint); font-size: 11px; }
.product-card-foot strong { font-size: 19px; }
.product-card-foot a:not(.button) { color: var(--accent); font-weight: 800; }
.catalog-head { max-width: 740px; margin: 16px 0 50px; }
.catalog-head p { font-size: 18px; }
.cta-section { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 82px; padding: 42px; border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line)); border-radius: 24px; background: linear-gradient(130deg, color-mix(in srgb, var(--accent) 10%, var(--surface-solid)), var(--surface-solid)); box-shadow: var(--shadow-md); }
.cta-section h2 { max-width: 650px; }
.cta-section p { margin-bottom: 0; }

.auth-shell { min-height: 650px; display: grid; grid-template-columns: 1fr minmax(380px, 480px); align-items: center; gap: 80px; }
.auth-copy h1 { font-size: clamp(38px, 5vw, 58px); }
.auth-copy > p { max-width: 630px; font-size: 18px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.trust-list span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-soft); background: var(--surface-solid); font-size: 12px; }
.auth-card { padding: 30px; box-shadow: var(--shadow-md); }
.auth-card h2 { margin: 14px 0 24px; }
.auth-card button { width: 100%; margin-top: 4px; }
.form-note { margin: 18px 0 0; text-align: center; font-size: 13px; }

.panel-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 34px; align-items: start; }
.sidebar { position: sticky; top: 100px; padding: 19px; border-radius: 22px; color: var(--sidebar-text); background: var(--sidebar-bg); box-shadow: var(--shadow-md); }
.sidebar-user { display: flex; align-items: center; gap: 12px; padding: 7px 5px 18px; }
.sidebar-user .avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: var(--accent); font-weight: 800; }
.sidebar-user h3 { margin: 0; color: #fff; font-size: 15px; }
.sidebar-user small { color: #879bb8; }
.balance-card { display: grid; gap: 4px; margin-bottom: 13px; padding: 15px; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(255,255,255,.05); }
.balance-card small { color: #8fa2bd; }
.balance-card strong { color: #fff; font-size: 20px; }
.sidebar nav { display: grid; gap: 4px; }
.sidebar nav a { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 10px; color: #aabbd2; font-weight: 650; transition: .2s; }
.sidebar nav a span { width: 21px; color: #7890ae; text-align: center; }
.sidebar nav a:hover, .sidebar nav a.active { color: #fff; background: rgba(255,255,255,.08); }
.sidebar nav a.active span { color: #6ab2ff; }
.content { min-width: 0; }
.content .page-title h1 { font-size: 40px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.metric { min-height: 112px; display: flex; align-items: center; gap: 15px; padding: 20px; }
.metric > div { display: grid; gap: 3px; }
.metric small { color: var(--text-soft); }
.metric strong { font-size: 24px; line-height: 1.2; }
.dashboard-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.action-card { display: flex; align-items: center; gap: 15px; padding: 21px; }
.action-card > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); font-size: 20px; }
.action-card div { display: grid; }
.action-card small { color: var(--text-soft); }

.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-card { padding: 24px; }
.service-card-head { display: flex; justify-content: space-between; align-items: flex-start; }
.service-card h3 { margin: 18px 0 6px; font-size: 22px; }
.service-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; padding: 16px; border-radius: 13px; background: var(--surface-soft); }
.service-card dl div { display: grid; gap: 2px; }
.service-card dt { color: var(--text-faint); font-size: 11px; }
.service-card dd { margin: 0; font-size: 12px; font-weight: 700; }
.download-button { width: 100%; }
.status-badge { display: inline-flex; align-items: center; justify-content: center; gap: 5px; width: max-content; padding: 5px 9px; border-radius: 999px; font-size: 11px; line-height: 1.35; font-weight: 800; }
.status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-active, .status-approved, .status-success, .status-answered { color: var(--success); background: var(--success-soft); }
.status-pending, .status-open, .status-warning { color: var(--warning); background: var(--warning-soft); }
.status-rejected, .status-cancelled, .status-expired, .status-error, .status-closed { color: var(--danger); background: var(--danger-soft); }
.status-info { color: var(--accent); background: var(--info-soft); }

.order-list, .notification-list { display: grid; gap: 13px; }
.order-card { padding: 20px; }
.order-card, .order-main, .order-meta { display: flex; align-items: center; gap: 15px; }
.order-card { justify-content: space-between; flex-wrap: wrap; }
.order-main { min-width: 280px; }
.order-main h3, .order-main p { margin: 0; }
.order-main p { margin-top: 4px; font-size: 12px; }
.order-id { min-width: 52px; padding: 8px 10px; border-radius: 10px; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); font-weight: 850; text-align: center; }
.order-meta strong { font-size: 17px; }
.order-fields { flex-basis: 100%; padding-top: 14px; border-top: 1px solid var(--line); }
.order-fields summary { color: var(--accent); font-weight: 750; cursor: pointer; }
.order-fields dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.order-fields dl div { padding: 10px 12px; border-radius: 10px; background: var(--surface-soft); }
.order-fields dt { color: var(--text-faint); font-size: 11px; }
.order-fields dd { margin: 2px 0 0; font-weight: 700; }
.notification { display: flex; gap: 14px; padding: 20px; }
.notification-dot { width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--accent); }
.notification h3, .notification p { margin-bottom: 5px; }
.notification small { color: var(--text-faint); }

.wallet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-card, .methods-card, .transaction-card { padding: 25px; }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix span { display: grid; place-items: center; width: 46px; border: 1px solid var(--line-strong); border-right: 0; border-radius: 11px 0 0 11px; color: var(--text-soft); background: var(--surface-soft); }
.input-prefix input { border-radius: 0 11px 11px 0; }
.payment-method { display: flex; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.payment-method:last-child { border-bottom: 0; }
.method-icon, .transaction-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); font-weight: 850; }
.payment-method p { margin: 3px 0 0; font-size: 12px; }
.transaction-card { grid-column: 1 / -1; }
.transaction-row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 13px; padding: 14px 0; border-top: 1px solid var(--line); }
.transaction-row div { display: grid; }
.transaction-row small { color: var(--text-faint); }
.transaction-icon.positive { color: var(--success); background: var(--success-soft); }
.transaction-icon.negative { color: var(--danger); background: var(--danger-soft); }

.support-dashboard { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(420px, 1.2fr); gap: 20px; align-items: start; }
.ticket-create { position: sticky; top: 100px; padding: 25px; }
.ticket-create-icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 15px; color: #fff; background: var(--accent); font-size: 22px; box-shadow: 0 12px 25px color-mix(in srgb, var(--accent) 22%, transparent); }
.ticket-inbox { min-width: 0; }
.ticket-list { display: grid; gap: 10px; }
.ticket-item { display: grid; grid-template-columns: 9px 1fr auto auto; align-items: center; gap: 13px; padding: 18px; transition: .2s ease; }
.ticket-item:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); transform: translateX(3px); }
.ticket-item > div { display: grid; }
.ticket-item small { color: var(--text-faint); }
.ticket-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-faint); }
.ticket-status-dot.status-open { background: var(--warning); box-shadow: 0 0 0 4px var(--warning-soft); }
.ticket-status-dot.status-answered { background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }
.ticket-status-dot.status-closed { background: var(--text-faint); }
.ticket-arrow { color: var(--text-faint); font-size: 23px; }

.conversation-page { max-width: 920px; margin: auto; }
.conversation-head { margin-bottom: 24px; }
.conversation-head h1 { margin-top: 12px; font-size: 35px; }
.ticket-chat { display: grid; gap: 18px; min-height: 240px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: color-mix(in srgb, var(--surface-soft) 68%, transparent); }
.message { display: flex; align-items: flex-end; gap: 11px; max-width: 82%; }
.message.admin { justify-self: start; }
.message.me { justify-self: end; flex-direction: row-reverse; }
.message-avatar { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: #fff; background: var(--accent); font-weight: 800; }
.message.me .message-avatar { color: var(--text); background: var(--surface-solid); border: 1px solid var(--line); }
.message-bubble { padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; background: var(--surface-solid); box-shadow: var(--shadow-sm); }
.message.me .message-bubble { color: #fff; border-color: var(--accent); border-radius: 16px 16px 4px 16px; background: var(--accent); }
.message-meta { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 7px; font-size: 11px; }
.message-meta time { color: var(--text-faint); }
.message.me .message-meta time { color: rgba(255,255,255,.7); }
.message-bubble p { margin: 0; color: inherit; }
.reply-box { margin-top: 16px; padding: 20px; }
.reply-box textarea { min-height: 95px; }
.closed-note { margin-top: 16px; padding: 18px; color: var(--text-soft); text-align: center; }

.product-detail { max-width: 1120px; margin: auto; }
.product-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(370px, .75fr); gap: 58px; align-items: start; }
.product-copy { padding: 25px 0; }
.product-copy .badge { margin-bottom: 16px; }
.product-copy h1 { font-size: clamp(42px, 6vw, 66px); }
.product-lead { font-size: 20px; }
.product-description { margin: 26px 0; color: var(--text-soft); font-size: 16px; }
.product-trust { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0; }
.product-trust span { padding: 8px 11px; border-radius: 9px; color: var(--success); background: var(--success-soft); font-size: 12px; font-weight: 700; }
.checkout-card { position: sticky; top: 100px; padding: 25px; box-shadow: var(--shadow-md); }
.checkout-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; padding-bottom: 15px; border-bottom: 1px solid var(--line); color: var(--text-soft); font-size: 12px; font-weight: 750; }
.checkout-head small { color: var(--success); }
.plan-list { display: grid; gap: 9px; margin-bottom: 20px; }
.plan { margin: 0; cursor: pointer; }
.plan > input { position: absolute; opacity: 0; pointer-events: none; }
.plan-body { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 15px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface-solid); transition: .2s; }
.plan-body > span { display: grid; }
.plan-body small { color: var(--text-soft); }
.plan-body strong { font-size: 17px; }
.plan input:checked + .plan-body { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--surface-solid)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 9%, transparent); }
.custom-fields { margin-top: 22px; }
.form-divider { position: relative; margin: 25px 0 20px; text-align: center; }
.form-divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.form-divider span { position: relative; padding: 0 10px; color: var(--text-faint); background: var(--surface-solid); font-size: 11px; font-weight: 750; text-transform: uppercase; }
.required { color: var(--danger); }
.purchase-button { width: 100%; justify-content: space-between !important; margin-top: 5px; }
.checkout-note { margin: 13px 0 0; color: var(--text-faint); font-size: 11px; text-align: center; }

.empty-state { grid-column: 1 / -1; padding: 46px 24px; text-align: center; }
.empty-state > span { width: 56px; height: 56px; display: grid; place-items: center; margin: 0 auto 15px; border-radius: 17px; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); font-size: 22px; }
.empty-state p { margin-bottom: 20px; }

.flash { margin-bottom: 18px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; font-weight: 650; }
.flash.success { color: var(--success); border-color: color-mix(in srgb, var(--success) 22%, var(--line)); background: var(--success-soft); }
.flash.error { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 22%, var(--line)); background: var(--danger-soft); }
.announcement-bar { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 46px; padding: 9px 44px; color: #fff; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 84%, #102443), var(--accent)); font-size: 13px; }
.announcement-bar > div { display: flex; gap: 9px; }
.announcement-action { padding: 4px 10px; border-radius: 8px; color: #fff; background: rgba(255,255,255,.14); font-weight: 800; }
.announcement-close { position: absolute; right: 15px; border: 0; color: #fff; background: transparent; font-size: 22px; cursor: pointer; }
.modal { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 20px; }
.modal.show { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3,10,22,.68); backdrop-filter: blur(8px); }
.modal-dialog { position: relative; z-index: 1; width: min(470px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 30px; border: 1px solid var(--line); border-radius: 22px; color: var(--text); background: var(--surface-solid); box-shadow: var(--shadow-lg); }
.modal-x { position: absolute; right: 15px; top: 13px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 10px; color: var(--text-soft); background: var(--surface-soft); cursor: pointer; }
.modal-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 15px; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); font-size: 22px; }
.modal-icon.warn { color: var(--warning); background: var(--warning-soft); }
.modal-actions { display: flex; gap: 10px; margin-top: 22px; }
.modal-balance-details { display: grid; gap: 8px; margin-top: 18px; padding: 14px; border-radius: 12px; background: var(--surface-soft); }
.modal-balance-details div { display: flex; justify-content: space-between; gap: 20px; }
.modal-balance-details span { color: var(--text-soft); }
.toast-stack { position: fixed; right: 22px; bottom: 22px; z-index: 300; display: grid; gap: 10px; width: min(380px, calc(100% - 44px)); }
.toast { padding: 13px 15px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; color: var(--text); background: var(--surface-solid); box-shadow: var(--shadow-md); animation: toast-in .25s ease both; }
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

footer { border-top: 1px solid var(--line); background: var(--surface-solid); }
.footer-inner { width: min(1180px, calc(100% - 40px)); min-height: 86px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--text-soft); font-size: 12px; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-visual { min-height: 360px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .panel-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .sidebar nav { grid-template-columns: repeat(3, 1fr); }
  .product-hero { grid-template-columns: 1fr; }
  .checkout-card { position: static; }
  .auth-shell { gap: 42px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 26px, 1180px); padding-top: 34px; }
  .top-inner { width: calc(100% - 26px); min-height: 66px; }
  .mobile-menu { display: inline-grid; }
  .top nav { position: absolute; left: 13px; right: 13px; top: 70px; display: none; align-items: stretch; flex-direction: column; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-solid); box-shadow: var(--shadow-md); }
  .top nav.open { display: flex; }
  .nav-tools { margin: 5px 0 0; padding: 10px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero { min-height: auto; margin-top: -34px; margin-inline: -13px; padding: 58px 20px; }
  .hero h1 { font-size: 39px; }
  .hero-proof { gap: 18px; }
  .hero-visual { min-height: 300px; }
  .dashboard-preview { transform: none; }
  .benefit-strip { grid-template-columns: 1fr; margin-bottom: 55px; }
  .benefit-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .benefit-strip > div:last-child { border-bottom: 0; }
  .products, .service-grid, .wallet-grid, .support-dashboard, .auth-shell { grid-template-columns: 1fr; }
  .auth-copy { display: none; }
  .auth-shell { min-height: auto; }
  .auth-card { padding: 23px; }
  .grid, .grid2 { grid-template-columns: 1fr; }
  .page-title, .section-head, .cta-section { align-items: flex-start; flex-direction: column; }
  .stats { grid-template-columns: 1fr 1fr; }
  .dashboard-actions { grid-template-columns: 1fr; }
  .sidebar nav { grid-template-columns: 1fr 1fr; }
  .ticket-create { position: static; }
  .message { max-width: 95%; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (max-width: 470px) {
  .stats, .sidebar nav, .service-card dl { grid-template-columns: 1fr; }
  .hero-actions, .hero-actions .button, .cta-section .button { width: 100%; }
  .hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-proof strong { font-size: 16px; }
  .preview-grid { grid-template-columns: 1fr; }
  .ticket-item { grid-template-columns: 8px 1fr auto; }
  .ticket-item .status-badge { display: none; }
  .order-card { align-items: flex-start; }
  .order-meta { width: 100%; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }
}
