:root {
  color-scheme: dark;
  --bg: #080a0f;
  --surface: #10131a;
  --surface-2: #151922;
  --surface-3: #1b202b;
  --line: #242a36;
  --line-bright: #343c4b;
  --text: #f7f8fb;
  --muted: #929aaa;
  --accent: #ff7a2f;
  --accent-2: #ff4f62;
  --success: #39d98a;
  --danger: #ff6577;
  --shadow: 0 28px 80px rgba(0, 0, 0, .36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 "Segoe UI", Inter, sans-serif; }
button, input, select { font: inherit; }
button { color: inherit; }
.hidden { display: none !important; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.muted { color: var(--muted); }
#public-view { overflow: hidden; }

.topbar { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(8,10,15,.9); backdrop-filter: blur(18px); }
.topbar-inner { min-height: 76px; display: flex; align-items: center; gap: 42px; }
.brand, .sidebar-brand { display: flex; align-items: center; gap: 12px; }
.brand { border: 0; background: transparent; padding: 0; cursor: pointer; text-align: left; }
.brand-mark, .mini-mark { display: grid; place-items: center; color: #0b0d12; background: linear-gradient(135deg, #ff9a35, var(--accent-2)); font-weight: 1000; transform: skew(-8deg); box-shadow: 0 8px 28px rgba(255,96,52,.22); }
.brand-mark { width: 40px; height: 40px; border-radius: 11px; font-size: 1.2rem; }
.brand strong, .sidebar-brand strong { display: block; font-size: 1.05rem; letter-spacing: .12em; }
.brand small, .sidebar-brand small { display: block; margin-top: -2px; color: var(--muted); font-size: .62rem; letter-spacing: .2em; }
.public-nav { display: flex; gap: 30px; margin-right: auto; }
.public-nav a { color: #b7bdc9; text-decoration: none; font-weight: 650; }
.public-nav a:hover { color: var(--text); }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.service-pill, .account-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); color: #b9c0cc; padding: 8px 12px; font-size: .78rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 14px rgba(57,217,138,.7); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; border: 1px solid var(--line-bright); border-radius: 9px; padding: 0 18px; background: var(--surface-2); color: var(--text); font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); border-color: #596274; }
.button-primary { border-color: transparent; background: linear-gradient(115deg, #ff9a32, var(--accent-2)); color: #090b10; box-shadow: 0 12px 28px rgba(255,95,55,.18); }
.button-primary:hover:not(:disabled) { border-color: transparent; box-shadow: 0 16px 34px rgba(255,95,55,.28); }
.button-secondary { background: var(--surface-3); }
.button-danger { color: #ff8795; border-color: rgba(255,101,119,.35); background: rgba(255,101,119,.08); }
.button-danger:hover { color: #fff; border-color: var(--danger); background: rgba(255,101,119,.18); }
.button-quiet { background: transparent; }
.button-wide { width: 100%; }
.button:disabled { opacity: .38; cursor: not-allowed; }

.hero { min-height: 680px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; position: relative; }
.hero::before { content: ""; position: absolute; left: -25%; top: -20%; width: 720px; height: 720px; background: radial-gradient(circle, rgba(255,91,45,.1), transparent 65%); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 12px; color: #b1b8c5; font-size: .7rem; font-weight: 850; letter-spacing: .18em; }
.eyebrow > span { display: inline-block; width: 20px; height: 2px; margin: 0 9px 3px 0; background: var(--accent); }
.hero h1 { margin: 0; font-size: clamp(3.7rem, 7.4vw, 6.6rem); line-height: .94; letter-spacing: -.065em; }
.hero h1 em { color: transparent; background: linear-gradient(90deg, #ff9b34, #ff5063); background-clip: text; font-style: normal; }
.lede { max-width: 640px; margin: 28px 0 0; color: #aeb5c2; font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; color: #77808e; font-size: .78rem; font-weight: 650; }
.hero-visual { min-height: 490px; display: grid; place-items: center; position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(circle, rgba(255,83,65,.18), transparent 62%); filter: blur(12px); }
.glow-orbit { position: absolute; border: 1px solid rgba(255,135,49,.12); border-radius: 50%; }
.orbit-one { width: 430px; height: 430px; }
.orbit-two { width: 540px; height: 540px; }
.secure-card { width: min(410px, 92%); position: relative; z-index: 1; padding: 28px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: linear-gradient(155deg, rgba(27,31,41,.98), rgba(13,16,23,.98)); box-shadow: var(--shadow); }
.secure-card-head { display: flex; align-items: center; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: #cbd0da; font-weight: 750; }
.mini-mark { width: 28px; height: 28px; border-radius: 7px; font-size: .8rem; }
.live-badge { margin-left: auto; border: 1px solid rgba(57,217,138,.22); border-radius: 999px; background: rgba(57,217,138,.08); color: var(--success); padding: 4px 8px; font-size: .6rem; letter-spacing: .15em; }
.shield { width: 78px; height: 88px; display: grid; place-items: center; margin: 34px auto 20px; background: linear-gradient(145deg, #ff9a32, #ff4f62); clip-path: polygon(50% 0, 92% 16%, 85% 70%, 50% 100%, 15% 70%, 8% 16%); }
.shield span { font-size: 2rem; font-weight: 900; color: #11131a; }
.secure-card h2, .secure-card > p { text-align: center; }
.secure-card h2 { margin: 0; font-size: 1.5rem; }
.secure-card > p { color: var(--muted); }
.verification-list { display: grid; gap: 10px; margin-top: 24px; }
.verification-list div { display: flex; justify-content: space-between; border-radius: 8px; background: rgba(255,255,255,.025); padding: 10px 12px; color: var(--muted); }
.verification-list strong { color: var(--success); font-size: .78rem; }

.section { padding: 100px 0; }
.section-heading { max-width: 680px; margin-bottom: 42px; }
.section-heading h2, .assurance h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -.045em; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 245px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(150deg, var(--surface-2), #0d1016); }
.feature-icon, .card-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,126,45,.25); border-radius: 10px; background: rgba(255,126,45,.08); color: var(--accent); font-weight: 850; }
.feature-card h3 { margin: 44px 0 8px; font-size: 1.25rem; }
.feature-card p { margin: 0; color: var(--muted); }
.product-grid { display: grid; gap: 18px; }
.product-card { min-height: 330px; position: relative; overflow: hidden; display: flex; align-items: flex-end; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.product-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,15,.96) 0%, rgba(8,10,15,.72) 42%, rgba(8,10,15,.12) 100%); }
.product-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-card-content { max-width: 590px; position: relative; z-index: 1; padding: clamp(28px, 5vw, 55px); }
.product-card h3 { margin: 6px 0 8px; font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.045em; }
.product-card p { color: #b6bdc9; }
.status-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid currentColor; border-radius: 999px; padding: 6px 10px; color: var(--success); background: rgba(57,217,138,.1); font-size: .7rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.status-badge.updating, .status-badge.maintenance { color: #ffb24a; background: rgba(255,178,74,.1); }
.status-badge.offline { color: var(--danger); background: rgba(255,101,119,.1); }
.assurance { display: flex; align-items: center; justify-content: space-between; gap: 50px; margin-bottom: 90px; padding: 54px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(120deg, rgba(255,125,45,.09), rgba(255,80,96,.03)); }
.assurance > div:first-child { max-width: 570px; }
.assurance-steps { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.assurance-steps span { border: 1px solid var(--line-bright); border-radius: 8px; background: var(--surface-2); padding: 9px 12px; font-size: .78rem; font-weight: 750; }
.assurance-steps i { color: var(--accent); font-style: normal; }

.auth-page { min-height: calc(100vh - 76px); display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-aside { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(48px, 8vw, 110px); background: radial-gradient(circle at 20% 10%, rgba(255,98,48,.2), transparent 36%), linear-gradient(145deg, #11151d, #090b10); }
.auth-aside h1 { max-width: 700px; margin: 12px 0 20px; font-size: clamp(3rem, 6vw, 6rem); line-height: .95; letter-spacing: -.06em; }
.auth-aside > div > p:last-child { max-width: 600px; color: #a5adba; font-size: 1.1rem; }
.auth-note { display: flex; align-items: center; gap: 12px; color: #d7dbe3; }
.auth-note small { display: block; color: var(--muted); }
.auth-panel { display: grid; place-items: center; position: relative; padding: 70px 34px; background: var(--bg); }
.back-button { position: absolute; top: 28px; left: 30px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.back-button:hover { color: var(--text); }
.auth-card { width: min(440px, 100%); }
.auth-mark { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 14px; background: linear-gradient(135deg, #ff9a32, #ff4f62); color: #101117; font-size: 1.5rem; font-weight: 1000; transform: skew(-7deg); }
.auth-card h2 { margin: 0; font-size: 2.6rem; letter-spacing: -.045em; }
.auth-card form { margin-top: 28px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: #697180; font-size: .75rem; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }

form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; color: #b5bdca; font-size: .82rem; font-weight: 650; }
input, select { width: 100%; min-height: 48px; border: 1px solid var(--line-bright); border-radius: 9px; outline: none; background: #0c0f15; color: var(--text); padding: 0 13px; }
input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,122,47,.1); }
.notice { min-height: 1.4em; margin: 12px 0 0; color: var(--muted); font-size: .82rem; }
.notice.error { color: var(--danger); }

.app-layout { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); background: #0b0e13; }
.sidebar { height: 100vh; position: sticky; top: 0; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #0d1016; padding: 25px 18px; }
.sidebar-brand { padding: 0 9px 25px; border-bottom: 1px solid var(--line); }
.sidebar-nav { display: grid; gap: 6px; margin-top: 24px; }
.nav-item { width: 100%; min-height: 46px; display: flex; align-items: center; gap: 12px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #8f98a8; padding: 0 13px; text-align: left; font-weight: 700; cursor: pointer; }
.nav-item span { width: 20px; color: #697282; text-align: center; }
.nav-item:hover, .nav-item.active { color: var(--text); background: var(--surface-2); }
.nav-item.active { border-color: rgba(255,122,47,.16); box-shadow: inset 3px 0 var(--accent); }
.mobile-sign-out { display: none; }
.sidebar-footer { margin-top: auto; border-top: 1px solid var(--line); padding-top: 18px; }
.sidebar-user { display: flex; align-items: center; gap: 11px; padding: 0 10px 15px; }
.sidebar-user > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, #ff9a32, #ff4f62); color: #111319; font-weight: 900; }
.sidebar-user strong, .sidebar-user small { display: block; max-width: 145px; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user small { color: var(--muted); }
.workspace { min-width: 0; }
.workspace-header { min-height: 91px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 18px clamp(24px, 4vw, 55px); background: rgba(13,16,22,.88); }
.workspace-header .eyebrow { margin-bottom: 2px; color: var(--accent); }
.workspace-header h2 { margin: 0; font-size: 1.55rem; }
.workspace-content { max-width: 1360px; padding: clamp(26px, 4vw, 54px); }
.welcome-banner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 190px; padding: 34px 38px; border: 1px solid rgba(255,122,47,.16); border-radius: 16px; background: radial-gradient(circle at 90% 10%, rgba(255,79,98,.14), transparent 35%), linear-gradient(130deg, #181b23, #10131a); }
.welcome-banner h3 { margin: 0; font-size: 2.25rem; letter-spacing: -.04em; }
.welcome-banner p:last-child { margin-bottom: 0; color: var(--muted); }
.license-badge { border: 1px solid rgba(57,217,138,.2); border-radius: 999px; background: rgba(57,217,138,.08); color: var(--success); padding: 10px 14px; font-size: .75rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.license-badge.inactive { border-color: rgba(255,101,119,.22); background: rgba(255,101,119,.08); color: var(--danger); }
.dashboard-grid, .admin-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; margin-top: 18px; }
.dashboard-card, .workspace-panel { border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.dashboard-card { padding: 26px; }
.dashboard-card h3 { margin: 8px 0; font-size: 1.25rem; }
.dashboard-card p { color: var(--muted); }
.release-card { display: grid; grid-template-columns: auto 1fr; gap: 0 18px; }
.release-card .release-meta, .release-card .button { grid-column: 2; }
.card-icon.success { border-color: rgba(57,217,138,.22); background: rgba(57,217,138,.08); color: var(--success); }
.release-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 24px; }
.release-meta span { border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); color: #9ea6b4; padding: 5px 8px; font-size: .7rem; font-weight: 750; }
.health-line { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 12px 0; color: var(--muted); }
.health-line strong { color: var(--success); font-size: .75rem; text-transform: uppercase; }
.workspace-panel[data-workspace-panel="manage"], .workspace-panel[data-workspace-panel="security"], .workspace-panel[data-workspace-panel="admin"] { padding: clamp(24px, 4vw, 38px); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.panel-heading h3 { margin: 0; font-size: 1.75rem; }
.panel-heading p:last-child { margin-bottom: 0; color: var(--muted); }
.settings-form { max-width: 760px; margin-top: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 6px; }
.form-footer .notice { margin: 0; }
.compact-form { align-content: start; }
.card-title { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.card-title h3, .card-title p { margin: 0; }
.key-output { display: block; overflow-wrap: anywhere; color: var(--accent); font: .78rem ui-monospace, Consolas, monospace; }
.purchase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; margin-top: 26px; }
.purchase-card { border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); padding: 22px; }
.purchase-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.purchase-card h4 { margin: 0; font-size: 1.2rem; }
.purchase-card p { margin: 4px 0 18px; color: var(--muted); }
.license-key { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line-bright); border-radius: 9px; background: #0b0e13; padding: 12px; color: var(--accent); font: .76rem ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.license-key button { flex: none; border: 0; background: transparent; color: #b8bfca; cursor: pointer; }
.purchase-meta { margin-top: 14px; color: var(--muted); font-size: .78rem; }
.admin-products { display: grid; gap: 12px; }
.admin-product { display: grid; grid-template-columns: minmax(150px,.7fr) minmax(150px,.5fr) minmax(220px,1fr) auto; gap: 12px; align-items: end; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); padding: 16px; }
.admin-product strong, .admin-product small { display: block; }
.admin-product small { color: var(--muted); }
.data-section { margin-top: 25px; }
.data-heading { display: flex; align-items: baseline; justify-content: space-between; }
.data-heading h3 { margin: 0 0 12px; }
.data-heading span { color: var(--muted); font-size: .78rem; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 11px; }
table { width: 100%; min-width: 680px; border-collapse: collapse; }
th, td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; }
th { background: #0d1016; color: #7f8897; font-size: .67rem; text-transform: uppercase; letter-spacing: .09em; }
td { color: #c4cad4; font-size: .84rem; }
.table-actions { display: flex; gap: 7px; }
.table-actions .button { min-height: 34px; padding: 0 10px; font-size: .72rem; }

.footer { min-height: 130px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: #656e7d; font-size: .78rem; }
.footer div { display: grid; }
.footer strong { color: #a7afbb; }

@media (max-width: 980px) {
  .public-nav, .service-pill { display: none; }
  .topbar-actions { margin-left: auto; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 100px 0 70px; }
  .hero-visual { min-height: 450px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-card h3 { margin-top: 25px; }
  .assurance { align-items: flex-start; flex-direction: column; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-aside { min-height: 390px; }
  .app-layout { grid-template-columns: 78px minmax(0,1fr); }
  .sidebar { padding-inline: 10px; }
  .sidebar-brand div, .sidebar-user div { display: none; }
  .sidebar-brand { justify-content: center; padding-inline: 0; }
  .nav-item { justify-content: center; padding: 0; font-size: 0; }
  .nav-item span { font-size: 1rem; }
  .sidebar-user { justify-content: center; padding-inline: 0; }
  .dashboard-grid, .admin-grid { grid-template-columns: 1fr; }
  .admin-product { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
  .shell { width: min(100% - 28px, 1180px); }
  .topbar-inner { min-height: 68px; }
  .hero h1 { font-size: 3.6rem; }
  .hero-visual { min-height: 390px; }
  .orbit-one { width: 330px; height: 330px; }
  .orbit-two { width: 390px; height: 390px; }
  .section { padding: 70px 0; }
  .assurance { padding: 30px; }
  .auth-aside { min-height: 330px; padding: 60px 28px; }
  .auth-note { display: none; }
  .auth-panel { padding: 80px 22px 50px; }
  .app-layout { display: block; padding-bottom: 74px; }
  .sidebar { width: 100%; height: 70px; position: fixed; inset: auto 0 0; z-index: 30; display: block; border: 1px solid var(--line); padding: 8px; }
  .sidebar-brand, .sidebar-footer { display: none; }
  .sidebar-nav { height: 100%; display: flex; justify-content: center; margin: 0; }
  .nav-item { width: 72px; }
  .mobile-sign-out { display: flex; }
  .workspace-header { min-height: 78px; padding: 14px 18px; }
  .account-chip { max-width: 180px; overflow: hidden; }
  .account-chip span:last-child { overflow: hidden; text-overflow: ellipsis; }
  .workspace-content { padding: 20px 14px; }
  .welcome-banner { align-items: flex-start; flex-direction: column; padding: 26px; }
  .welcome-banner h3 { font-size: 1.8rem; }
  .release-card { grid-template-columns: 1fr; }
  .release-card .release-meta, .release-card .button { grid-column: 1; }
  .release-card .card-icon { margin-bottom: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .admin-product { grid-template-columns: 1fr; }
  .footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 10px; }
}
