:root {
  --bg: #050a12;
  --bg-deep: #02050a;
  --surface: rgba(12, 23, 38, 0.82);
  --surface-solid: #0b1624;
  --surface-soft: rgba(16, 30, 48, 0.64);
  --surface-hover: rgba(25, 44, 68, 0.8);
  --border: rgba(139, 179, 214, 0.16);
  --border-strong: rgba(92, 242, 223, 0.32);
  --text: #eef8ff;
  --text-soft: #b3c3d4;
  --text-muted: #7f93a8;
  --cyan: #5cf2df;
  --cyan-strong: #25d9c2;
  --indigo: #7b89ff;
  --success: #6ce7ad;
  --warning: #ffc96b;
  --danger: #ff7d8f;
  --info: #76bfff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 2%, rgba(36, 191, 183, 0.13), transparent 31rem),
    radial-gradient(circle at 7% 28%, rgba(77, 91, 225, 0.11), transparent 29rem),
    linear-gradient(180deg, #07101b 0%, var(--bg) 42%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: "Tajawal", "Noto Kufi Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(111, 188, 220, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 188, 220, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(92, 242, 223, 0.66);
  outline-offset: 3px;
}

::selection {
  background: rgba(92, 242, 223, 0.26);
  color: #fff;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 999;
  padding: 10px 15px;
  border-radius: 9px;
  background: var(--cyan);
  color: #03110e;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: 92px;
}

.section-compact {
  padding-block: 64px;
}

.section-header {
  display: grid;
  max-width: 720px;
  margin-block-end: 38px;
  gap: 12px;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-block-start: 0;
}

h1,
h2,
h3 {
  color: #f7fbff;
  line-height: 1.22;
  text-wrap: balance;
}

h1 {
  margin-block-end: 22px;
  font-size: clamp(2.45rem, 6vw, 5.25rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-block-end: 10px;
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-block-end: 10px;
  font-size: 1.18rem;
}

.lead {
  color: var(--text-soft);
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
  line-height: 1.85;
}

.muted {
  color: var(--text-muted);
}

.soft {
  color: var(--text-soft);
}

.text-cyan {
  color: var(--cyan);
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  border-block-end: 1px solid transparent;
  background: rgba(5, 10, 18, 0.64);
  backdrop-filter: blur(18px) saturate(130%);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.scrolled {
  border-color: var(--border);
  background: rgba(5, 10, 18, 0.91);
}

.nav-row {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(92, 242, 223, 0.36);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(92, 242, 223, 0.14), rgba(123, 137, 255, 0.13));
  box-shadow: inset 0 0 18px rgba(92, 242, 223, 0.08);
  color: var(--cyan);
  font-family: "Segoe UI", sans-serif;
  font-size: 1.2rem;
  line-height: 1;
}

.brand-word {
  display: grid;
  gap: 0;
  font-family: "Segoe UI", sans-serif;
  font-size: 1.04rem;
  letter-spacing: 0.17em;
  line-height: 1;
}

.brand-word small {
  margin-block-start: 5px;
  color: var(--text-muted);
  font-family: "Tajawal", "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0;
}

.main-nav,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link {
  position: relative;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 650;
  transition: color 150ms ease, background 150ms ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(119, 160, 198, 0.09);
  color: #fff;
}

.nav-link.active::after {
  position: absolute;
  inset-inline: 12px;
  inset-block-end: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  content: "";
}

.icon-button,
.menu-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface-soft);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.icon-button:hover,
.menu-button:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.icon-button:active,
.menu-button:active {
  transform: translateY(1px);
}

.menu-button {
  display: none;
}

.mobile-nav {
  display: none;
  padding-block: 0 18px;
}

.mobile-nav.open {
  display: grid;
  gap: 5px;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #70d8ff);
  box-shadow: 0 12px 28px rgba(40, 205, 190, 0.16);
  color: #031410;
}

.btn-primary:hover:not(:disabled) {
  box-shadow: 0 16px 38px rgba(40, 205, 190, 0.24);
}

.btn-secondary {
  border-color: var(--border);
  background: rgba(14, 29, 47, 0.72);
  color: var(--text);
}

.btn-secondary:hover:not(:disabled) {
  border-color: var(--border-strong);
  background: rgba(23, 43, 66, 0.9);
}

.btn-ghost {
  border-color: transparent;
  background: transparent;
  color: var(--text-soft);
}

.btn-danger {
  border-color: rgba(255, 125, 143, 0.28);
  background: rgba(255, 125, 143, 0.08);
  color: #ffb5c0;
}

.btn-sm {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 0.86rem;
}

.btn-wide {
  width: 100%;
}

.btn:disabled,
.btn.disabled {
  border-color: var(--border);
  background: rgba(16, 27, 41, 0.64);
  box-shadow: none;
  color: #718397;
  cursor: not-allowed;
  transform: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  padding-block: 86px 72px;
}

.hero::after {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 13%;
  z-index: -1;
  width: min(56vw, 670px);
  height: min(56vw, 670px);
  border: 1px solid rgba(92, 242, 223, 0.08);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 242, 223, 0.08), transparent 66%);
  content: "";
  filter: blur(1px);
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  gap: clamp(45px, 7vw, 94px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 span {
  display: block;
  background: linear-gradient(120deg, var(--cyan), #93d8ff 48%, #a7adff);
  background-clip: text;
  color: transparent;
}

.hero-copy .lead {
  max-width: 650px;
  margin-block-end: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.microcopy {
  display: flex;
  margin-block-start: 18px;
  align-items: center;
  gap: 9px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.microcopy.flush {
  margin: 0;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--warning);
  box-shadow: 0 0 0 5px rgba(255, 201, 107, 0.08);
}

.status-dot.online {
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(108, 231, 173, 0.08);
}

.status-dot.offline {
  background: var(--danger);
  box-shadow: 0 0 0 5px rgba(255, 125, 143, 0.08);
}

.status-strip {
  display: flex;
  margin-block-start: 35px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 201, 107, 0.18);
  border-radius: 15px;
  background: rgba(255, 201, 107, 0.055);
}

.status-strip strong {
  display: block;
  margin-block-end: 2px;
  color: #ffe0a5;
  font-size: 0.91rem;
}

.status-strip p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.status-strip .btn {
  flex: 0 0 auto;
}

.product-shell {
  position: relative;
  padding: 1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(92, 242, 223, 0.5), rgba(123, 137, 255, 0.06) 45%, rgba(123, 137, 255, 0.46));
  box-shadow: var(--shadow), 0 0 90px rgba(50, 190, 180, 0.08);
}

.product-shell::before {
  position: absolute;
  inset: 12% -6% -8% 26%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(57, 219, 202, 0.1);
  content: "";
  filter: blur(60px);
}

.product-window {
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 1px);
  background: rgba(6, 13, 23, 0.97);
}

.window-topbar {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 17px;
  border-block-end: 1px solid var(--border);
  background: rgba(14, 25, 40, 0.84);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34485e;
}

.window-topbar small {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.window-content {
  display: grid;
  grid-template-columns: 75px 1fr;
  min-height: 455px;
}

.window-rail {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 13px;
  padding-block: 20px;
  border-inline-end: 1px solid var(--border);
  background: rgba(7, 15, 26, 0.74);
}

.rail-logo,
.rail-item {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
}

.rail-logo {
  margin-block-end: 10px;
  background: linear-gradient(145deg, var(--cyan), #7fb4ff);
  color: #03100f;
  font-family: "Segoe UI", sans-serif;
  font-weight: 900;
}

.rail-item {
  border: 1px solid transparent;
  background: rgba(114, 154, 190, 0.06);
  color: #71879c;
  font-size: 0.9rem;
  font-weight: 800;
}

.rail-item.active {
  border-color: rgba(92, 242, 223, 0.25);
  background: rgba(92, 242, 223, 0.09);
  color: var(--cyan);
}

.window-main {
  padding: 22px;
}

.game-head {
  display: flex;
  margin-block-end: 19px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.game-ident {
  display: flex;
  align-items: center;
  gap: 12px;
}

.game-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid rgba(123, 137, 255, 0.3);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(123, 137, 255, 0.2), rgba(92, 242, 223, 0.1));
  color: #dbe1ff;
  font-size: 0.78rem;
  font-weight: 900;
}

.game-ident strong {
  display: block;
  font-size: 0.95rem;
}

.game-ident small {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.illustrative-label {
  padding: 5px 9px;
  border: 1px solid rgba(118, 191, 255, 0.22);
  border-radius: 999px;
  background: rgba(118, 191, 255, 0.07);
  color: #a9d6ff;
  font-size: 0.67rem;
  font-weight: 750;
}

.scan-panel {
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(14, 27, 43, 0.9), rgba(9, 19, 32, 0.82));
}

.scan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.scan-row + .scan-row {
  margin-block-start: 13px;
  padding-block-start: 13px;
  border-block-start: 1px solid var(--border);
}

.scan-label {
  color: var(--text-muted);
  font-size: 0.71rem;
}

.scan-value {
  color: #eaf5fd;
  font-size: 0.82rem;
  font-weight: 750;
  text-align: end;
}

.scan-value.ok {
  color: var(--success);
}

.progress-track {
  overflow: hidden;
  height: 7px;
  margin-block: 17px 9px;
  border-radius: 999px;
  background: rgba(131, 169, 199, 0.1);
}

.progress-fill {
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan-strong), var(--indigo));
  box-shadow: 0 0 14px rgba(92, 242, 223, 0.26);
}

.metric-grid {
  display: grid;
  margin-block-start: 15px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.metric {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(13, 26, 42, 0.58);
}

.metric small {
  display: block;
  margin-block-end: 4px;
  color: var(--text-muted);
  font-size: 0.65rem;
}

.metric strong {
  font-size: 0.78rem;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--border);
  background: rgba(10, 20, 33, 0.58);
}

.trust-item {
  display: grid;
  padding: 18px;
  place-items: center;
  gap: 5px;
  text-align: center;
}

.trust-item + .trust-item {
  border-inline-start: 1px solid var(--border);
}

.trust-item strong {
  color: #e8f8ff;
  font-size: 0.91rem;
}

.trust-item small {
  color: var(--text-muted);
  font-size: 0.73rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(16, 31, 49, 0.72), rgba(8, 17, 29, 0.74));
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.12);
}

.card::after {
  position: absolute;
  inset-inline-end: -80px;
  inset-block-start: -80px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(92, 242, 223, 0.035);
  content: "";
  filter: blur(4px);
}

.card p:last-child {
  margin-block-end: 0;
}

.card-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-block-end: 18px;
  place-items: center;
  border: 1px solid rgba(92, 242, 223, 0.2);
  border-radius: 13px;
  background: rgba(92, 242, 223, 0.07);
  color: var(--cyan);
  font-size: 1rem;
  font-weight: 900;
}

.card p {
  color: var(--text-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.step {
  position: relative;
  padding: 25px 21px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(10, 21, 35, 0.69);
}

.step-number {
  display: inline-grid;
  width: 33px;
  height: 33px;
  margin-block-end: 23px;
  place-items: center;
  border: 1px solid rgba(123, 137, 255, 0.32);
  border-radius: 10px;
  background: rgba(123, 137, 255, 0.09);
  color: #bdc4ff;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.91rem;
}

.split-panel {
  display: grid;
  overflow: hidden;
  grid-template-columns: 1.05fr 0.95fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(15, 29, 47, 0.84), rgba(7, 15, 26, 0.86));
  box-shadow: var(--shadow);
}

.split-copy {
  padding: clamp(30px, 5vw, 62px);
}

.split-visual {
  display: grid;
  min-height: 380px;
  padding: 34px;
  place-items: center;
  border-inline-start: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 50%, rgba(92, 242, 223, 0.1), transparent 48%),
    linear-gradient(135deg, rgba(92, 242, 223, 0.02), rgba(123, 137, 255, 0.07));
}

.memory-stack {
  display: grid;
  width: min(100%, 360px);
  gap: 12px;
}

.memory-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(7, 16, 27, 0.78);
}

.memory-row.active {
  border-color: rgba(92, 242, 223, 0.34);
  box-shadow: 0 12px 30px rgba(31, 197, 181, 0.09);
}

.memory-row small {
  color: var(--text-muted);
}

.memory-row strong {
  font-size: 0.9rem;
}

.check-list,
.plain-list {
  display: grid;
  margin: 22px 0 0;
  padding: 0;
  gap: 12px;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-inline-start: 29px;
  color: var(--text-soft);
}

.check-list li::before {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.5em;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 6px;
  background: rgba(92, 242, 223, 0.1);
  color: var(--cyan);
  content: "✓";
  font-size: 0.7rem;
  font-weight: 900;
}

.plain-list li::before {
  position: absolute;
  inset-inline-start: 7px;
  inset-block-start: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.faq-list {
  display: grid;
  max-width: 850px;
  margin-inline: auto;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(11, 22, 36, 0.67);
}

.faq-item summary {
  position: relative;
  padding: 19px 52px 19px 20px;
  color: #edf7ff;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

[dir="ltr"] .faq-item summary {
  padding: 19px 20px 19px 52px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  position: absolute;
  inset-inline-start: 20px;
  inset-block-start: 50%;
  color: var(--cyan);
  content: "+";
  font-family: "Segoe UI", sans-serif;
  font-size: 1.25rem;
  transform: translateY(-50%);
}

.faq-item[open] summary::before {
  content: "−";
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--text-soft);
}

.faq-answer p {
  margin: 0;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 10% 50%, rgba(92, 242, 223, 0.09), transparent 37%),
    linear-gradient(135deg, rgba(16, 36, 54, 0.88), rgba(12, 20, 38, 0.9));
}

.cta-panel h2 {
  margin-block-end: 8px;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.cta-panel p {
  margin: 0;
  color: var(--text-soft);
}

.site-footer {
  padding-block: 58px 28px;
  border-block-start: 1px solid var(--border);
  background: rgba(2, 6, 11, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(130px, 0.7fr));
  gap: 38px;
}

.footer-brand p {
  max-width: 360px;
  margin-block-start: 18px;
  color: var(--text-muted);
  font-size: 0.91rem;
}

.footer-col strong {
  display: block;
  margin-block-end: 13px;
  font-size: 0.87rem;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-block: 8px;
  color: var(--text-muted);
  font-size: 0.87rem;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  margin-block-start: 44px;
  padding-block-start: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-block-start: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
}

.page-hero {
  padding-block: 74px 40px;
  text-align: center;
}

.page-hero .lead {
  max-width: 720px;
  margin-inline: auto;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.2rem);
}

.launch-notice,
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 17px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(14, 28, 44, 0.72);
  color: var(--text-soft);
}

.launch-notice {
  max-width: 760px;
  margin: 0 auto 34px;
  border-color: rgba(255, 201, 107, 0.22);
  background: rgba(255, 201, 107, 0.055);
}

.maintenance-notice {
  margin-block-start: 14px;
}

.alert strong {
  display: block;
  color: var(--text);
}

.alert-warning {
  border-color: rgba(255, 201, 107, 0.24);
  background: rgba(255, 201, 107, 0.055);
}

.alert-danger {
  border-color: rgba(255, 125, 143, 0.24);
  background: rgba(255, 125, 143, 0.055);
}

.alert-success {
  border-color: rgba(108, 231, 173, 0.24);
  background: rgba(108, 231, 173, 0.055);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.plan-card {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(16, 31, 50, 0.83), rgba(7, 15, 26, 0.8));
}

.plan-card.featured {
  border-color: rgba(92, 242, 223, 0.38);
  box-shadow: 0 22px 58px rgba(39, 204, 188, 0.09);
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.plan-name {
  font-size: 1.15rem;
  font-weight: 850;
}

.pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(111, 151, 190, 0.07);
  color: var(--text-soft);
  font-size: 0.68rem;
  font-weight: 750;
}

.pill-cyan {
  border-color: rgba(92, 242, 223, 0.25);
  background: rgba(92, 242, 223, 0.075);
  color: var(--cyan);
}

.pill-warning {
  border-color: rgba(255, 201, 107, 0.22);
  background: rgba(255, 201, 107, 0.065);
  color: #ffd996;
}

.plan-price {
  min-height: 76px;
  margin-block: 27px 8px;
}

.plan-price strong {
  display: block;
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.25;
}

.plan-price small {
  color: var(--text-muted);
}

.plan-desc {
  min-height: 82px;
  color: var(--text-soft);
  font-size: 0.89rem;
}

.plan-features {
  display: grid;
  margin: 14px 0 24px;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.plan-features li {
  position: relative;
  padding-inline-start: 23px;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.plan-features li::before {
  position: absolute;
  inset-inline-start: 0;
  color: var(--cyan);
  content: "✓";
  font-weight: 900;
}

.plan-card .btn {
  margin-block-start: auto;
}

.auth-section {
  display: grid;
  min-height: calc(100vh - var(--header-height));
  padding-block: 64px;
  align-items: center;
}

.auth-shell {
  display: grid;
  overflow: hidden;
  max-width: 980px;
  margin-inline: auto;
  grid-template-columns: 0.92fr 1.08fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(8, 17, 29, 0.9);
  box-shadow: var(--shadow);
}

.auth-aside {
  display: grid;
  padding: clamp(28px, 5vw, 55px);
  align-content: space-between;
  background:
    radial-gradient(circle at 30% 10%, rgba(92, 242, 223, 0.13), transparent 47%),
    linear-gradient(145deg, rgba(15, 40, 57, 0.9), rgba(15, 21, 43, 0.92));
}

.auth-aside h1 {
  margin-block-start: 54px;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.auth-aside p {
  color: var(--text-soft);
}

.auth-panel {
  padding: clamp(28px, 5vw, 55px);
}

.auth-panel h2 {
  font-size: 1.7rem;
}

.auth-panel > p {
  color: var(--text-muted);
}

.form {
  display: grid;
  margin-block-start: 26px;
  gap: 17px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.align-end {
  align-content: end;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.field label {
  color: #dceaf4;
  font-size: 0.86rem;
  font-weight: 750;
}

.input-wrap {
  position: relative;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  background: rgba(4, 11, 19, 0.72);
  color: var(--text);
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.textarea {
  min-height: 112px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(92, 242, 223, 0.55);
  background: rgba(5, 13, 23, 0.92);
  box-shadow: 0 0 0 4px rgba(92, 242, 223, 0.075);
}

.input:disabled,
.select:disabled,
.textarea:disabled {
  color: #65788d;
  cursor: not-allowed;
}

.password-toggle {
  position: absolute;
  inset-inline-end: 7px;
  inset-block-start: 50%;
  min-height: 34px;
  padding-inline: 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.75rem;
  transform: translateY(-50%);
}

.password-input {
  padding-inline-end: 64px;
}

.form-note,
.field-error {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.field-error {
  color: #ffacb7;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.text-link {
  color: var(--cyan);
  font-weight: 750;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.portal-shell {
  display: grid;
  min-height: calc(100vh - var(--header-height));
  grid-template-columns: 255px minmax(0, 1fr);
}

.portal-sidebar {
  position: sticky;
  inset-block-start: var(--header-height);
  height: calc(100vh - var(--header-height));
  padding: 26px 17px;
  border-inline-end: 1px solid var(--border);
  background: rgba(6, 13, 23, 0.68);
}

.portal-user {
  margin-block-end: 22px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(15, 29, 46, 0.58);
}

.portal-user strong,
.portal-user small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-user small {
  margin-block-start: 4px;
  color: var(--text-muted);
}

.portal-nav {
  display: grid;
  gap: 5px;
}

.portal-link {
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border-radius: 11px;
  color: var(--text-soft);
  font-size: 0.89rem;
  font-weight: 700;
}

.portal-link:hover,
.portal-link.active {
  background: rgba(92, 242, 223, 0.075);
  color: var(--cyan);
}

.portal-link .nav-glyph {
  display: inline-grid;
  width: 24px;
  place-items: center;
  color: currentColor;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
}

.portal-main {
  min-width: 0;
  padding: 38px clamp(20px, 4vw, 48px) 70px;
}

.portal-heading {
  display: flex;
  margin-block-end: 27px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.portal-heading h1 {
  margin-block-end: 5px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.portal-heading p {
  margin: 0;
  color: var(--text-muted);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.stat-card {
  padding: 19px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(12, 25, 41, 0.68);
}

.stat-card small {
  display: block;
  margin-block-end: 7px;
  color: var(--text-muted);
}

.stat-card strong {
  font-size: 1.35rem;
}

.panel {
  margin-block-start: 18px;
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(10, 21, 35, 0.7);
}

.panel-head {
  display: flex;
  margin-block-end: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel-head h2,
.panel-head h3 {
  margin: 0;
  font-size: 1.12rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 13px;
}

.data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 14px 15px;
  border-block-end: 1px solid var(--border);
  text-align: start;
}

.data-table th {
  background: rgba(15, 30, 48, 0.72);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.data-table td {
  color: var(--text-soft);
  font-size: 0.86rem;
}

.data-table tr:last-child td {
  border-block-end: 0;
}

.mobile-records {
  display: none;
}

.record-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(13, 26, 42, 0.64);
}

.record-card + .record-card {
  margin-block-start: 10px;
}

.record-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-block: 6px;
}

.record-line span:first-child {
  color: var(--text-muted);
}

.empty-state {
  display: grid;
  min-height: 260px;
  padding: 34px;
  place-items: center;
  align-content: center;
  border: 1px dashed rgba(132, 173, 207, 0.22);
  border-radius: 16px;
  text-align: center;
}

.empty-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-block-end: 17px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: rgba(102, 149, 187, 0.07);
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 900;
}

.empty-state h2,
.empty-state h3 {
  margin-block-end: 8px;
}

.empty-state p {
  max-width: 510px;
  margin-block-end: 18px;
  color: var(--text-muted);
}

.skeleton {
  overflow: hidden;
  min-height: 18px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(98, 132, 160, 0.07), rgba(129, 168, 198, 0.14), rgba(98, 132, 160, 0.07));
  background-size: 220% 100%;
  animation: shimmer 1.5s infinite linear;
}

.skeleton + .skeleton {
  margin-block-start: 11px;
}

.simple-page {
  min-height: calc(100vh - var(--header-height));
  padding-block: 75px 100px;
}

.content-card {
  max-width: 850px;
  margin-inline: auto;
  padding: clamp(27px, 5vw, 52px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(10, 21, 35, 0.76);
}

.content-card h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.content-card h2 {
  margin-block-start: 36px;
  font-size: 1.32rem;
}

.content-card p,
.content-card li {
  color: var(--text-soft);
}

.draft-badge {
  display: inline-flex;
  margin-block-end: 22px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 201, 107, 0.24);
  border-radius: 999px;
  background: rgba(255, 201, 107, 0.06);
  color: #ffd78d;
  font-size: 0.72rem;
  font-weight: 800;
}

.coming-3d {
  display: grid;
  min-height: 420px;
  place-items: center;
  text-align: center;
}

.orbital-mark {
  position: relative;
  display: grid;
  width: 130px;
  height: 130px;
  margin-block-end: 28px;
  place-items: center;
  border: 1px solid rgba(92, 242, 223, 0.28);
  border-radius: 35px;
  background: linear-gradient(145deg, rgba(92, 242, 223, 0.1), rgba(123, 137, 255, 0.1));
  box-shadow: 0 24px 70px rgba(55, 212, 199, 0.08);
  color: var(--cyan);
  font-family: "Segoe UI", sans-serif;
  font-size: 2rem;
  font-weight: 900;
}

.orbital-mark::before,
.orbital-mark::after {
  position: absolute;
  inset: -16px;
  border: 1px solid rgba(123, 137, 255, 0.14);
  border-radius: 44px;
  content: "";
  transform: rotate(12deg);
}

.orbital-mark::after {
  inset: -31px;
  border-color: rgba(92, 242, 223, 0.07);
  transform: rotate(-9deg);
}

.error-page {
  display: grid;
  min-height: calc(100vh - var(--header-height));
  padding: 40px;
  place-items: center;
  text-align: center;
}

.error-code {
  margin-block-end: 6px;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  background-clip: text;
  color: transparent;
  font-family: "Segoe UI", sans-serif;
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.toast-region {
  position: fixed;
  inset-inline-end: 20px;
  inset-block-end: 20px;
  z-index: 300;
  display: grid;
  width: min(390px, calc(100% - 40px));
  gap: 10px;
}

.toast {
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  background: rgba(10, 21, 35, 0.97);
  box-shadow: var(--shadow);
  color: var(--text-soft);
  animation: toast-in 180ms ease-out;
}

.toast strong {
  display: block;
  color: var(--text);
}

.toast.error {
  border-color: rgba(255, 125, 143, 0.34);
}

.toast.success {
  border-color: rgba(108, 231, 173, 0.34);
}

.dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  padding: 20px;
  place-items: center;
  background: rgba(1, 4, 8, 0.75);
  backdrop-filter: blur(8px);
}

.dialog-card {
  width: min(100%, 470px);
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #0a1523;
  box-shadow: var(--shadow);
}

.dialog-actions {
  display: flex;
  margin-block-start: 24px;
  justify-content: flex-end;
  gap: 10px;
}

.boot-screen {
  display: grid;
  min-height: 100vh;
  place-items: center;
  align-content: center;
  gap: 18px;
  color: var(--text-muted);
}

.boot-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 17px;
  background: rgba(92, 242, 223, 0.07);
  color: var(--cyan);
  font-family: "Segoe UI", sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  animation: pulse 1.8s infinite ease-in-out;
}

.noscript {
  position: fixed;
  inset: 20px;
  z-index: 999;
  padding: 20px;
  border: 1px solid rgba(255, 125, 143, 0.4);
  border-radius: 14px;
  background: #190b10;
  color: #ffdce1;
  text-align: center;
}

@keyframes shimmer {
  to { background-position: -220% 0; }
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  50% { box-shadow: 0 0 34px rgba(92, 242, 223, 0.13); transform: scale(1.025); }
}

@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .product-shell {
    max-width: 690px;
    margin-inline: auto;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-card {
    min-height: 400px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding-block: 72px;
  }

  .nav-actions > .btn,
  .nav-actions > .nav-link {
    display: none;
  }

  .hero {
    padding-block: 60px;
  }

  .card-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-panel,
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .split-visual {
    min-height: 320px;
    border-block-start: 1px solid var(--border);
    border-inline-start: 0;
  }

  .auth-aside {
    min-height: 290px;
  }

  .auth-aside h1 {
    margin-block-start: 35px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .portal-shell {
    grid-template-columns: 1fr;
  }

  .portal-sidebar {
    position: static;
    height: auto;
    padding: 10px 14px;
    border-block-end: 1px solid var(--border);
    border-inline-end: 0;
  }

  .portal-user {
    display: none;
  }

  .portal-nav {
    display: flex;
    overflow-x: auto;
    padding-block: 5px;
    scrollbar-width: none;
  }

  .portal-nav::-webkit-scrollbar {
    display: none;
  }

  .portal-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .portal-main {
    padding-block-start: 26px;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(2.2rem, 12vw, 3.6rem);
  }

  .brand-word small {
    display: none;
  }

  .hero-actions,
  .cta-panel,
  .footer-bottom,
  .portal-heading,
  .status-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-panel .btn {
    width: 100%;
  }

  .status-strip .btn {
    width: 100%;
  }

  .window-content {
    grid-template-columns: 54px 1fr;
  }

  .window-main {
    padding: 15px;
  }

  .window-rail {
    padding-block: 15px;
  }

  .rail-logo,
  .rail-item {
    width: 32px;
    height: 32px;
  }

  .game-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-bar,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .trust-item + .trust-item {
    border-block-start: 1px solid var(--border);
    border-inline-start: 0;
  }

  .card-grid,
  .steps,
  .pricing-grid,
  .stat-grid,
  .field-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .plan-card {
    min-height: auto;
  }

  .plan-desc {
    min-height: 0;
  }

  .auth-section {
    padding-block: 25px;
  }

  .auth-aside {
    min-height: 245px;
  }

  .auth-panel,
  .auth-aside {
    padding: 27px 22px;
  }

  .form-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .table-wrap {
    display: none;
  }

  .mobile-records {
    display: block;
  }

  .dialog-actions {
    flex-direction: column-reverse;
  }

  .dialog-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
