:root {
  color-scheme: dark;
  --bg: #040706;
  --bg-2: #070d0b;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-2: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.115);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #eef2f7;
  --muted: #a6b1be;
  --dim: #7d8996;
  --silver: #e7edf4;
  --silver-2: #b7c2d0;
  --mint: #8fe3c0;
  --mint-2: #53c79a;
  --danger: #ff9aa5;
  --danger-2: #e06f7e;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
  font-family: var(--font);
}

::selection {
  background: rgba(143, 227, 192, 0.28);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #050907;
}

::-webkit-scrollbar-thumb {
  background: #26332e;
  border-radius: 99px;
  border: 2px solid #050907;
}

::-webkit-scrollbar-thumb:hover {
  background: #35463f;
}

[hidden] {
  display: none !important;
}

img,
svg {
  display: block;
}

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

button {
  color: inherit;
}

:focus-visible {
  outline: 2px solid rgba(190, 225, 255, 0.85);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: #101613;
  font-weight: 700;
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: none;
}

/* Background */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1100px 700px at 72% -10%, rgba(70, 150, 120, 0.10), transparent 65%),
    radial-gradient(900px 600px at 0% 20%, rgba(150, 175, 200, 0.08), transparent 60%),
    linear-gradient(160deg, #080f0c 0%, #040706 45%, #030504 100%);
}

.bg-tower {
  position: absolute;
  top: -6%;
  right: -4%;
  width: min(980px, 78vw);
  height: min(720px, 62vh);
  background: url("/assets/hero-tower.png") center / cover no-repeat;
  opacity: 0.28;
  filter: saturate(0.8) contrast(1.05);
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 78%);
  mask-image: radial-gradient(closest-side, #000 35%, transparent 78%);
}

.bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 72%);
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}

.bg-glow-a {
  width: 520px;
  height: 520px;
  right: 8%;
  top: 18%;
  background: rgba(64, 190, 140, 0.18);
}

.bg-glow-b {
  width: 460px;
  height: 460px;
  left: -12%;
  top: 48%;
  background: rgba(140, 170, 200, 0.10);
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 5, 4, 0.1), rgba(3, 5, 4, 0.6) 70%, #030504 100%),
    radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.5) 100%);
}

/* Boot */

.boot {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  background:
    radial-gradient(600px 400px at 50% 38%, rgba(90, 170, 140, 0.10), transparent 70%),
    #040706;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.boot.done {
  opacity: 0;
  visibility: hidden;
}

.boot img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.55);
}

.boot-word {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.34em;
}

.boot-word b {
  font-weight: 800;
  color: #b9c4d1;
}

.boot-bar {
  width: 180px;
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.boot-bar i {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, #cfd9e5, transparent);
  animation: bootSlide 1.15s ease-in-out infinite;
}

.boot > span {
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@keyframes bootSlide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(340%); }
}

/* Layout */

.section-shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.view {
  animation: viewIn 0.35s ease both;
}

@keyframes viewIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.section {
  position: relative;
  padding: 96px 0;
  scroll-margin-top: 100px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head h2 {
  margin: 14px 0 14px;
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.section-head p {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.035);
  color: #b9c4d0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(143, 227, 192, 0.8);
}

.text-gradient {
  background: linear-gradient(180deg, #ffffff 4%, #dfe6ee 42%, #aab6c4 82%, #8e9aa8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass {
  border: 1px solid var(--line);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.038) 45%, rgba(255, 255, 255, 0.022));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.19),
    inset 0 -1px 0 rgba(255, 255, 255, 0.035),
    0 26px 70px rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font: 600 13px/1.2 var(--font);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
}

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

.btn:active {
  transform: translateY(0) scale(0.96);
}

/* Press feedback */

.pressable {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.press-ripple {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.52) 0%, rgba(143, 227, 192, 0.24) 42%, rgba(255, 255, 255, 0) 70%);
  transform: translate(-50%, -50%) scale(0.1);
  opacity: 0.9;
  animation: press-ripple 0.55s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

.btn-primary > .press-ripple {
  background: radial-gradient(circle, rgba(17, 23, 20, 0.22) 0%, rgba(17, 23, 20, 0.07) 45%, rgba(17, 23, 20, 0) 70%);
}

@keyframes press-ripple {
  60% {
    opacity: 0.55;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

.btn:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.btn-primary {
  border-color: transparent;
  background: linear-gradient(180deg, #f4f8fc 0%, #d7dee7 45%, #b6c1ce 100%);
  color: #111714;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 10px 28px rgba(190, 210, 230, 0.16);
}

.btn-primary:hover {
  filter: brightness(1.04);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: #e4eaf1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-danger-ghost {
  border-color: rgba(255, 154, 165, 0.22);
  background: rgba(224, 111, 126, 0.08);
  color: #ffc0c7;
}

.btn-danger-ghost:hover {
  background: rgba(224, 111, 126, 0.16);
}

.btn-sm {
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 12px;
}

.btn-lg {
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.btn.is-loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 0, 0, 0.25);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-ghost.is-loading::after {
  border-color: rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(4, 7, 6, 0.68);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.header-inner {
  width: min(1240px, calc(100% - 40px));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.brand:active {
  transform: scale(0.97);
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.brand-word {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.19em;
  color: #f4f7fb;
  white-space: nowrap;
}

.brand-word b {
  font-weight: 800;
  color: #b9c4d1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  color: #9ba7b4;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.18s ease, transform 0.2s ease;
}

.desktop-nav a:active {
  transform: scale(0.94);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d9e2ed, transparent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover {
  color: #fff;
}

.desktop-nav a:hover::after {
  opacity: 0.7;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.lang-switch button,
.mobile-langs button {
  min-width: 34px;
  height: 27px;
  padding: 0 7px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #84909d;
  font: 700 9px/1 var(--font);
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.2s ease;
}

.lang-switch button:active,
.mobile-langs button:active {
  transform: scale(0.9);
}

.lang-switch button:hover,
.mobile-langs button:hover {
  color: #fff;
}

.lang-switch button.active,
.mobile-langs button.active {
  background: linear-gradient(180deg, #eef4fa, #bdc8d5);
  color: #0e1512;
}

.header-account {
  color: #d9e1ea;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

.menu-toggle {
  transition: transform 0.2s ease;
}

.menu-toggle:active {
  transform: scale(0.92);
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 4px auto;
  background: #e9eef4;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 16px;
  right: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(7, 12, 10, 0.94);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
}

.mobile-menu nav {
  display: grid;
  gap: 2px;
}

.mobile-menu nav a {
  padding: 12px 10px;
  border-radius: 10px;
  color: #d3dbe4;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.18s ease, transform 0.2s ease;
}

.mobile-menu nav a:active {
  transform: scale(0.98);
}

.mobile-menu nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mobile-langs {
  display: flex;
  gap: 5px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 76px);
  padding: 70px 0 96px;
}

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

.hero h1 {
  margin: 22px 0 22px;
  max-width: 760px;
  font-size: clamp(50px, 7.4vw, 92px);
  font-weight: 800;
  line-height: 0.97;
  letter-spacing: -0.055em;
}

.hero-sub {
  max-width: 550px;
  margin: 0 0 28px;
  color: #a9b4c1;
  font-size: 17px;
  line-height: 1.72;
}

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

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 540px;
  margin: 18px 0 0;
  color: #7f8b98;
  font-size: 11px;
  line-height: 1.55;
}

.hero-note svg {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  color: #82c8aa;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats div {
  display: grid;
  gap: 2px;
}

.hero-stats b {
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.hero-stats span {
  color: #7e8a97;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  min-width: 0;
  perspective: 1500px;
}

.client-mock {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin-left: auto;
  padding-bottom: 10px;
  transform: rotateY(-5deg) rotateX(2.5deg);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.client-mock:hover {
  transform: rotateY(-1.5deg) rotateX(0.5deg) translateY(-4px);
}

.mock-bg {
  position: absolute;
  inset: 0 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(4, 8, 7, 0.12), rgba(4, 8, 7, 0.55)),
    url("/assets/hero-tower.png") center / cover no-repeat;
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(0, 0, 0, 0.35) inset;
  overflow: hidden;
}

.mock-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3, 6, 5, 0.45));
}

.mock-window {
  position: relative;
  z-index: 2;
  margin: 26px 22px 34px;
  min-height: 388px;
  padding: 13px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  background: rgba(5, 10, 8, 0.38);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 24px 60px rgba(0, 0, 0, 0.35);
}

.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 4px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #cfd8e2;
}

.mock-brand img {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}

.mock-user {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  color: #aab5c1;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.mock-user i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px rgba(143, 227, 192, 0.9);
}

.mock-body {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 136px;
  gap: 9px;
  flex: 1;
  padding-top: 11px;
}

.mock-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.22);
}

.mock-tab {
  padding: 7px 8px;
  border-radius: 7px;
  color: #87929e;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.mock-tab.active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(190, 201, 213, 0.82));
  color: #121916;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.25);
}

.mock-side-foot {
  margin-top: auto;
  padding: 5px 8px;
  color: #56615c;
  font: 7px/1 var(--mono);
}

.mock-main {
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.18);
}

.mock-section-title {
  margin: 0 0 8px;
  color: #69746f;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mock-module {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  color: #bac4cf;
  font-size: 8px;
  font-weight: 600;
}

.mock-module:last-of-type {
  border-bottom: 0;
}

.toggle {
  position: relative;
  width: 22px;
  height: 12px;
  flex: 0 0 22px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.toggle::after {
  content: "";
  position: absolute;
  top: 1.5px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #78838d;
}

.toggle.on {
  background: rgba(143, 227, 192, 0.22);
  border-color: rgba(143, 227, 192, 0.35);
}

.toggle.on::after {
  left: 11px;
  background: #baf3dc;
  box-shadow: 0 0 8px rgba(143, 227, 192, 0.8);
}

.mock-slider {
  display: grid;
  grid-template-columns: 34px 1fr 20px;
  align-items: center;
  gap: 6px;
  padding: 12px 7px 4px;
  color: #77827d;
  font-size: 7px;
}

.mock-slider i {
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}

.mock-slider b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6fc6a4, #c8f3e1);
}

.mock-slider em {
  color: #b9c5cf;
  font-style: normal;
  text-align: right;
}

.mock-hud {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hud-card {
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hud-label {
  color: #728077;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hud-target {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 7px 0 7px;
}

.hud-avatar {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(143, 227, 192, 0.65), rgba(80, 120, 150, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hud-target b {
  display: block;
  font-size: 8px;
  line-height: 1.1;
}

.hud-target small {
  display: block;
  margin-top: 2px;
  color: #91a09a;
  font-size: 6px;
}

.hud-bar {
  height: 3px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.hud-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6fd3a9, #c8f4e2);
}

.hud-effect {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.18);
  color: #a7b3ad;
  font-size: 6px;
  letter-spacing: 0.04em;
}

.hud-effect i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9fe7c8;
  box-shadow: 0 0 10px rgba(143, 227, 192, 0.9);
}

.mock-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #6e7a74;
  font: 7px/1 var(--mono);
}

.mock-chip {
  position: absolute;
  z-index: 3;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 99px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.055));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 24px rgba(0, 0, 0, 0.3);
  color: #cfd8e1;
  font: 600 8px/1 var(--mono);
  letter-spacing: 0.05em;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: floatChip 6s ease-in-out infinite;
}

.chip-a {
  top: 10%;
  left: -20px;
}

.chip-b {
  right: -14px;
  top: 44%;
  animation-delay: -2s;
}

.chip-c {
  left: 8%;
  bottom: -14px;
  animation-delay: -4s;
}

@keyframes floatChip {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -7px, 0); }
}

/* Features */

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

.feature-card {
  padding: 26px;
  border-radius: 20px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #c9d3de;
}

.feature-icon svg {
  width: 21px;
  height: 21px;
}

.feature-card h3 {
  margin: 0 0 9px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: #94a0ad;
  font-size: 13px;
  line-height: 1.65;
}

/* Modules */

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

.module-card {
  position: relative;
  min-height: 250px;
  padding: 24px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.module-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 227, 192, 0.10), transparent 68%);
  pointer-events: none;
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 227, 192, 0.22);
}

.module-tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  color: #8e9aa7;
  font: 600 8px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.module-card h3 {
  margin: 0 0 9px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.module-card p {
  margin: 0;
  max-width: 330px;
  color: #94a0ad;
  font-size: 13px;
  line-height: 1.65;
}

.module-visual {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.module-visual span {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.16);
  color: #77847f;
  font: 500 8px/1 var(--mono);
}

/* Steps */

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

.step-card {
  position: relative;
  min-height: 190px;
  padding: 26px;
  border-radius: 20px;
  overflow: hidden;
}

.step-num {
  display: block;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.16);
  font: 800 34px/1 var(--mono);
  letter-spacing: -0.05em;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  color: #94a0ad;
  font-size: 13px;
  line-height: 1.65;
}

.section-note {
  margin: 22px 0 0;
  color: #7d8996;
  font-size: 12px;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.032) 48%, rgba(255, 255, 255, 0.018));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.17),
    0 24px 60px rgba(0, 0, 0, 0.36);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
}

.plan-card.popular {
  border-color: rgba(143, 227, 192, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 0 1px rgba(143, 227, 192, 0.05),
    0 30px 80px rgba(37, 150, 110, 0.10);
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 8px;
  border: 1px solid rgba(143, 227, 192, 0.24);
  border-radius: 99px;
  background: rgba(143, 227, 192, 0.10);
  color: #b9f0dc;
  font: 700 8px/1 var(--font);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan-name {
  margin: 0 0 6px;
  padding-right: 70px;
  font-size: 15px;
  font-weight: 700;
}

.plan-desc {
  min-height: 38px;
  margin: 0 0 22px;
  color: #8e9aa7;
  font-size: 12px;
  line-height: 1.55;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 4px;
}

.plan-price b {
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}

.plan-price span {
  color: #8c98a5;
  font-size: 12px;
}

.plan-period {
  margin: 0 0 22px;
  color: #788490;
  font-size: 11px;
}

.plan-features {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  list-style: none;
}

.plan-features li {
  position: relative;
  padding-left: 21px;
  color: #a4afbb;
  font-size: 12px;
  line-height: 1.45;
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 4px;
  width: 8px;
  height: 4px;
  border-left: 1.5px solid #9fe7c8;
  border-bottom: 1.5px solid #9fe7c8;
  transform: rotate(-45deg);
}

.plan-cta {
  margin-top: auto;
}

.pricing-note {
  margin: 22px 0 0;
  color: #7d8996;
  font-size: 12px;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 8px;
}

.faq-item {
  border-radius: 16px;
  padding: 0 22px;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
  color: #dfe6ee;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary i {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.faq-item summary i::before,
.faq-item summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 1px;
  background: #a8b4c0;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.faq-item summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item p {
  margin: 0;
  padding: 0 0 20px;
  max-width: 900px;
  color: #98a4b0;
  font-size: 13px;
  line-height: 1.7;
}

/* CTA */

.cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding: 44px;
  border-radius: 28px;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -80%;
  width: 520px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(143, 227, 192, 0.18), transparent 72%);
  filter: blur(16px);
  pointer-events: none;
}

.cta-copy h2 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.cta-copy p {
  margin: 0;
  max-width: 620px;
  color: #9aa6b2;
  font-size: 14px;
}

.cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Footer */

.site-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(0, 0, 0, 0.22));
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.7fr));
  gap: 40px;
  padding: 60px 0 40px;
}

.footer-brand p {
  max-width: 330px;
  margin: 18px 0 0;
  color: #7f8b98;
  font-size: 12px;
  line-height: 1.65;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-social a {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  color: #aab5c1;
  font-size: 10px;
  font-weight: 600;
}

.footer-social a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-col h3 {
  margin: 0 0 6px;
  color: #d9e1e9;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col a {
  width: fit-content;
  color: #7f8b98;
  font-size: 12px;
  transition: color 0.18s ease, transform 0.2s ease;
}

.footer-col a:active {
  transform: scale(0.95);
}

.footer-col a:hover {
  color: #e4eaf1;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #606c77;
  font-size: 10px;
}

/* Pages */

.page {
  padding: 120px 0 90px;
  min-height: calc(100vh - 260px);
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.page-head h1 {
  margin: 14px 0 10px;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.page-head p {
  max-width: 620px;
  margin: 0;
  color: #98a4b0;
  font-size: 14px;
  line-height: 1.65;
}

/* Auth */

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 438px;
  gap: 30px;
  align-items: stretch;
  max-width: 1120px;
}

.auth-visual {
  position: relative;
  min-height: 590px;
  border-radius: 28px;
  overflow: hidden;
}

.auth-visual-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 7, 0.15), rgba(4, 8, 7, 0.82)),
    url("/assets/hero-tower.png") center / cover no-repeat;
  opacity: 0.72;
}

.auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 22%, rgba(143, 227, 192, 0.14), transparent 55%);
  pointer-events: none;
}

.auth-visual-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 590px;
  padding: 38px;
}

.auth-visual-content h2 {
  max-width: 520px;
  margin: 18px 0 14px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.auth-visual-content p {
  max-width: 460px;
  margin: 0;
  color: #a6b1bd;
  font-size: 14px;
  line-height: 1.65;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 25px;
  color: #b6c1cc;
  font-size: 12px;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 4px;
  width: 9px;
  height: 5px;
  border-left: 1.5px solid #9fe7c8;
  border-bottom: 1.5px solid #9fe7c8;
  transform: rotate(-45deg);
}

.auth-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  border-radius: 28px;
}

.auth-card-head {
  margin-bottom: 24px;
  text-align: center;
}

.auth-card-head img {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.auth-card-head h1 {
  margin: 0 0 7px;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.auth-card-head p {
  margin: 0;
  color: #8793a0;
  font-size: 12px;
  line-height: 1.55;
}

.form {
  display: grid;
  gap: 14px;
}

.form.compact {
  gap: 11px;
}

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

.field > span {
  color: #8f9ba8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field small {
  color: #68747f;
  font-size: 10px;
  line-height: 1.45;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.28);
  color: #eef2f7;
  font: 13px/1.4 var(--font);
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: #5d6873;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(143, 227, 192, 0.42);
  background: rgba(0, 0, 0, 0.36);
  box-shadow: 0 0 0 3px rgba(143, 227, 192, 0.07);
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #eef2f7;
  transition: background-color 9999s ease-in-out 0s;
}

.input-wrap {
  position: relative;
}

.input-wrap input {
  padding-right: 45px;
}

.eye {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #77838f;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.eye:active {
  transform: translateY(-50%) scale(0.88);
}

.eye:hover {
  color: #dbe3ec;
  background: rgba(255, 255, 255, 0.06);
}

.eye svg {
  width: 17px;
  height: 17px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #8c98a4;
  font-size: 11px;
  line-height: 1.5;
  cursor: pointer;
}

.check input {
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  accent-color: #9fe7c8;
}

.check a {
  color: #cfd8e1;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.22);
  text-underline-offset: 2px;
}

.form-error {
  min-height: 0;
  margin: 0;
  color: #ff9aa5;
  font-size: 11px;
  line-height: 1.45;
}

.form-error:empty {
  display: none;
}

.switch-line {
  margin: 16px 0 0;
  color: #798591;
  font-size: 11px;
  text-align: center;
}

.switch-line a {
  color: #dce4ed;
  font-weight: 600;
}

.switch-line a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

#forgotLine {
  margin-top: 8px;
}

/* Account */

.account-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px;
  border-radius: 24px;
}

.account-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 13px;
  background: linear-gradient(150deg, #f2f6fb, #a8b4c3);
  color: #121915;
  font-size: 19px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 8px 20px rgba(0, 0, 0, 0.3);
}

.avatar-lg {
  width: 62px;
  height: 62px;
  flex-basis: 62px;
  border-radius: 18px;
  font-size: 26px;
}

.account-identity h1 {
  margin: 0 0 4px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  word-break: break-word;
}

.account-identity p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  color: #7f8b98;
  font-size: 11px;
}

.dot-sep {
  color: #4f5b65;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 21px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.045);
  color: #a8b4c0;
  font: 600 9px/1 var(--font);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.pill.ok {
  border-color: rgba(143, 227, 192, 0.22);
  background: rgba(143, 227, 192, 0.09);
  color: #b9f0dc;
}

.pill.warn {
  border-color: rgba(255, 200, 120, 0.22);
  background: rgba(255, 200, 120, 0.08);
  color: #f0d49a;
}

.pill.bad {
  border-color: rgba(255, 154, 165, 0.22);
  background: rgba(255, 154, 165, 0.08);
  color: #ffc0c7;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.card {
  padding: 26px;
  border-radius: 22px;
}

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

.card-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-note {
  margin: 14px 0 0;
  color: #7f8b98;
  font-size: 11px;
  line-height: 1.55;
}

.big-value {
  margin: 6px 0 2px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.hwid-value {
  display: block;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.24);
  color: #a8b4c0;
  font: 10px/1.55 var(--mono);
  word-break: break-all;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.link-arrow {
  color: #aab6c2;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.link-arrow:hover {
  color: #fff;
}

.account-orders,
.account-download {
  grid-column: span 2;
}

.orders-list {
  display: grid;
  gap: 8px;
}

.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.14);
}

.order-main {
  min-width: 0;
}

.order-main b {
  display: block;
  font-size: 12px;
  font-weight: 650;
}

.order-main small {
  display: block;
  margin-top: 3px;
  color: #6f7b87;
  font: 9px/1.4 var(--mono);
  word-break: break-all;
}

.order-side {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.order-price {
  color: #d7e0e9;
  font: 600 11px/1 var(--mono);
}

.orders-empty {
  padding: 22px 16px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #77838f;
  font-size: 11px;
  text-align: center;
}

.account-download > p:first-of-type {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.account-download .btn {
  margin-top: 12px;
}

/* Buy */

.buy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 18px;
  align-items: start;
}

.buy-main {
  display: grid;
  gap: 18px;
}

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

.buy-plan {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.buy-plan:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.buy-plan:active {
  transform: translateY(0) scale(0.975);
}

.buy-plan.selected {
  border-color: rgba(143, 227, 192, 0.45);
  background: rgba(143, 227, 192, 0.065);
  box-shadow: 0 0 0 1px rgba(143, 227, 192, 0.08), 0 16px 40px rgba(30, 130, 95, 0.08);
}

.buy-plan .plan-badge {
  top: 12px;
  right: 12px;
}

.buy-plan .plan-name {
  padding-right: 50px;
  font-size: 13px;
}

.buy-plan .plan-desc {
  min-height: 0;
  margin-bottom: 14px;
  font-size: 11px;
}

.buy-plan .plan-price b {
  font-size: 28px;
}

.buy-plan .plan-period {
  margin-bottom: 0;
}

.buy-form h2 {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.buy-form .field + .field {
  margin-top: 16px;
}

.inline {
  display: flex;
  gap: 8px;
}

.inline input {
  flex: 1;
  min-width: 0;
}

.hint {
  min-height: 0;
  margin: 6px 0 0;
  color: #7f8b98;
  font-size: 10px;
}

.hint.ok {
  color: #9fe7c8;
}

.hint.bad {
  color: #ff9aa5;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  color: #a1adb9;
  font-size: 11px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.2s ease;
}

.choice:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #e4eaf1;
}

.choice:active {
  transform: scale(0.96);
}

.choice.selected {
  border-color: rgba(143, 227, 192, 0.35);
  background: rgba(143, 227, 192, 0.08);
  color: #c9f4e3;
}

.choice input {
  width: 12px;
  height: 12px;
  margin: 0;
  accent-color: #9fe7c8;
}

.fineprint {
  margin: 12px 0 0;
  color: #68747f;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.buy-summary {
  position: sticky;
  top: 100px;
  padding: 26px;
  border-radius: 22px;
}

.buy-summary h2 {
  margin: 0 0 20px;
  font-size: 17px;
  font-weight: 750;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  color: #8d99a6;
  font-size: 12px;
}

.summary-row b {
  color: #dbe3ec;
  font-weight: 600;
  text-align: right;
}

.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a8b4c0;
  font-size: 12px;
}

.summary-total b {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.support-link {
  display: inline-flex;
  margin-top: 16px;
  color: #bfe9d7;
  font-size: 11px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(143, 227, 192, 0.3);
  text-underline-offset: 3px;
}

.order-success {
  margin-top: 20px;
  padding: 32px;
  border-radius: 24px;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border: 1px solid rgba(143, 227, 192, 0.3);
  border-radius: 15px;
  background: rgba(143, 227, 192, 0.1);
  color: #b9f0dc;
}

.success-icon svg {
  width: 22px;
  height: 22px;
}

.order-success h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.order-success > p {
  max-width: 720px;
  margin: 0;
  color: #98a4b0;
  font-size: 13px;
  line-height: 1.65;
}

.order-code {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
}

.order-code span {
  color: #77838f;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-code code {
  color: #dce5ee;
  font: 600 12px/1 var(--mono);
}

/* Legal */

.legal {
  max-width: 820px;
}

.legal h1 {
  margin: 20px 0 8px;
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.legal-updated {
  margin: 0 0 34px;
  color: #7c8894;
  font-size: 11px;
}

.legal h2 {
  margin: 30px 0 10px;
  font-size: 17px;
  font-weight: 700;
}

.legal p {
  margin: 0;
  color: #99a5b1;
  font-size: 13px;
  line-height: 1.75;
}

.back-link {
  display: inline-flex;
  color: #8d99a6;
  font-size: 11px;
  font-weight: 600;
}

.back-link:hover {
  color: #fff;
}

.empty-state {
  display: grid;
  justify-items: center;
  padding: 80px 0;
  text-align: center;
}

.empty-code {
  color: rgba(255, 255, 255, 0.12);
  font: 800 clamp(90px, 16vw, 180px)/0.8 var(--mono);
  letter-spacing: -0.08em;
}

.empty-state h1 {
  margin: 24px 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.empty-state p {
  margin: 0 0 24px;
  color: #8d99a6;
  font-size: 13px;
}

/* Toasts */

.toasts {
  position: fixed;
  z-index: 120;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 8px;
  width: min(360px, calc(100vw - 36px));
  pointer-events: none;
}

.toast {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(8, 14, 11, 0.94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  color: #dbe4ec;
  font-size: 12px;
  line-height: 1.45;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
}

.toast.show {
  opacity: 1;
  transform: none;
}

.toast-success {
  border-color: rgba(143, 227, 192, 0.28);
}

.toast-error {
  border-color: rgba(255, 154, 165, 0.3);
  color: #ffd0d5;
}

.toast-info {
  border-color: rgba(190, 215, 240, 0.2);
}

/* Dialog */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(520px 360px at 50% 32%, rgba(150, 190, 210, 0.10), transparent 70%),
    rgba(2, 5, 4, 0.64);
  opacity: 0;
  transition: opacity 0.18s ease;
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
}

.overlay.open {
  opacity: 1;
}

.dialog {
  position: relative;
  width: 100%;
  max-width: 382px;
  padding: 28px 26px 24px;
  border-radius: 28px;
  border-color: rgba(255, 255, 255, 0.22);
  overflow: hidden;
  text-align: center;
  transform: translateY(12px) scale(0.96);
  transition: transform 0.24s cubic-bezier(0.2, 0.9, 0.3, 1.15);
}

.overlay.open .dialog {
  transform: none;
}

.dialog::before {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  top: -55%;
  height: 120%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(190, 225, 255, 0.26), rgba(160, 210, 235, 0.07) 55%, transparent 72%);
  filter: blur(14px);
  animation: liquidSheen 8s ease-in-out infinite;
}

.dialog::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
}

@keyframes liquidSheen {
  0%, 100% { transform: translate3d(-7%, 0, 0); }
  50% { transform: translate3d(7%, 3%, 0); }
}

.dialog-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 17px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.045));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 24px rgba(0, 0, 0, 0.35);
  color: #e3e9f4;
}

.dialog-icon svg {
  width: 23px;
  height: 23px;
}

.dialog h2 {
  position: relative;
  margin: 15px 0 7px;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.dialog p {
  position: relative;
  margin: 0;
  color: #a8b2c2;
  font-size: 13px;
  line-height: 1.55;
}

.dialog-input {
  position: relative;
  margin-top: 16px;
  text-align: left;
}

.dialog-actions {
  position: relative;
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.dialog-actions .btn {
  flex: 1;
  margin: 0;
  padding: 12px;
}

.dialog-actions .btn-primary.danger {
  background: linear-gradient(180deg, rgba(255, 188, 196, 0.96), rgba(224, 112, 126, 0.92));
  color: #25090c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 10px 26px rgba(220, 100, 120, 0.28);
}

#dialogError {
  position: relative;
  margin-top: 10px;
}

body.dialog-open {
  overflow: hidden;
}

/* Responsive */

@media (max-width: 1120px) {
  .hero {
    gap: 30px;
  }

  .mock-body {
    grid-template-columns: 78px minmax(0, 1fr) 122px;
  }

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

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

  .menu-toggle {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 54px;
  }

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

  .hero-visual {
    max-width: 760px;
    margin: 8px auto 0;
    width: 100%;
  }

  .client-mock {
    margin-inline: auto;
  }

  .auth-layout {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .auth-visual {
    min-height: 360px;
  }

  .auth-visual-content {
    min-height: 360px;
    padding: 30px;
  }

  .auth-visual-content h2 {
    font-size: 36px;
  }

  .check-list {
    display: none;
  }

  .buy-layout {
    grid-template-columns: 1fr;
  }

  .buy-summary {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .section-shell {
    width: min(1240px, calc(100% - 32px));
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    padding: 44px 0 64px;
  }

  .hero h1 {
    font-size: clamp(44px, 12vw, 68px);
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-stats {
    gap: 22px;
    margin-top: 32px;
  }

  .hero-stats b {
    font-size: 22px;
  }

  .feature-grid,
  .module-grid,
  .step-grid,
  .pricing-grid,
  .buy-plans {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: 220px;
  }

  .cta {
    grid-template-columns: 1fr;
    padding: 30px;
  }

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

  .account-actions {
    width: 100%;
  }

  .account-actions .btn {
    flex: 1;
  }

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

  .account-orders,
  .account-download {
    grid-column: auto;
  }

  .page {
    padding: 96px 0 70px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 44px;
  }

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

@media (max-width: 640px) {
  .header-inner {
    width: calc(100% - 28px);
    min-height: 68px;
  }

  .lang-switch,
  .header-account {
    display: none;
  }

  .header-actions {
    gap: 7px;
  }

  .brand-word {
    font-size: 12px;
    letter-spacing: 0.13em;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
  }

  .mock-window {
    margin: 16px 12px 24px;
    min-height: 320px;
  }

  .mock-body {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .mock-hud {
    display: none;
  }

  .mock-chip {
    display: none;
  }

  .mock-side-foot {
    display: none;
  }

  .order-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-side {
    width: 100%;
    justify-content: space-between;
  }

  .inline {
    flex-direction: column;
  }

  .auth-card {
    padding: 24px;
  }

  .auth-visual-content {
    padding: 24px;
  }

  .auth-visual-content h2 {
    font-size: 30px;
  }

  .dialog {
    padding: 24px 20px 20px;
  }
}

@media (max-width: 430px) {
  .hero-actions .btn {
    width: 100%;
  }

  .header-download {
    padding-inline: 11px;
    font-size: 11px;
  }

  .buy-plan .plan-badge {
    position: static;
    width: fit-content;
    margin-bottom: 8px;
  }

  .buy-plan .plan-name {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pressable {
    overflow: visible;
  }

  .press-ripple {
    display: none;
  }

  .btn:active,
  .choice:active,
  .buy-plan:active,
  .menu-toggle:active,
  .eye:active,
  .desktop-nav a:active,
  .mobile-menu nav a:active,
  .footer-col a:active,
  .lang-switch button:active,
  .mobile-langs button:active {
    transform: none;
  }

  .eye:active {
    transform: translateY(-50%);
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .view,
  .overlay,
  .dialog {
    animation: none !important;
  }
}
