:root {
  --accent: #5e76ff;
  --accent-hot: #ff6f3d;
  --accent-green: #40d890;
  --bg: #0e1424;
  --panel: #1b2335;
  --panel-strong: #111827;
  --line: rgba(255, 255, 255, 0.14);
  --text: #f6f8ff;
  --muted: #aab5cc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", "Noto Sans SC", sans-serif;
  line-height: 1.5;
}

body[data-page="home"] {
  background: #030408;
  background-color: #030408;
}

body[data-page="home"] main {
  background: #030408;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  width: 100%;
}

main > section[id] {
  scroll-margin-top: 92px;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  min-height: 76px;
  padding: 0 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.84), rgba(5, 7, 13, 0.38) 78%, rgba(5, 7, 13, 0));
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 19px;
  font-weight: 900;
}

.brand span {
  color: #f8fbff;
  font-weight: 900;
  letter-spacing: 0.01em;
  transition: none;
}

.brand:hover span,
.brand:focus-visible span {
  transform: none;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  padding: 26px 0 22px;
  opacity: 0.86;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-drop-trigger {
  position: relative;
  border: 0;
  padding: 26px 0 22px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  opacity: 0.86;
}

.nav-drop-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-drop-trigger:hover,
.nav-drop-trigger.active,
.nav-dropdown.open .nav-drop-trigger {
  opacity: 1;
}

.nav-drop-trigger:hover::after,
.nav-drop-trigger.active::after,
.nav-dropdown.open .nav-drop-trigger::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  z-index: 20;
  display: grid;
  min-width: 210px;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 8px;
  background: rgba(12, 18, 32, 0.96);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(16px);
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown.open .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-menu a {
  border-radius: 6px;
  padding: 10px 12px;
  color: #eaf0ff;
  font-size: 14px;
  opacity: 0.82;
}

.nav-menu a::after {
  display: none;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: rgba(94, 118, 255, 0.18);
  opacity: 1;
}

.locale-switch {
  justify-self: end;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-width: 220px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  font-weight: 700;
}

.auth-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.auth-login-link,
.auth-console-link,
.auth-link-button,
.auth-user-pill {
  position: relative;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  white-space: nowrap;
}

.auth-login-link {
  min-width: 82px;
  min-height: 42px;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.28);
  padding: 0 20px;
  background:
    linear-gradient(135deg, rgba(88, 122, 232, 0.9), rgba(74, 158, 226, 0.76));
  box-shadow:
    0 9px 22px rgba(69, 103, 224, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #fff;
}

.auth-console-link {
  min-width: 118px;
  min-height: 42px;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(174, 213, 255, 0.42);
  padding: 0 19px;
  background:
    linear-gradient(135deg, rgba(69, 103, 224, 0.92), rgba(67, 151, 224, 0.78));
  box-shadow:
    0 12px 26px rgba(52, 113, 216, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  color: #fff;
  font-weight: 850;
  gap: 8px;
}

.auth-console-link--special {
  min-width: 148px;
  padding-inline: 22px;
  border-color: rgba(214, 235, 255, 0.72);
  background:
    linear-gradient(135deg, rgba(74, 119, 226, 0.96), rgba(72, 153, 222, 0.86));
  box-shadow:
    0 14px 30px rgba(48, 105, 205, 0.3),
    0 0 0 1px rgba(205, 231, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.locale-switch--authenticated .auth-console-link--special,
.locale-switch--authenticated .auth-link-button,
.locale-switch--authenticated .language-toggle {
  width: 148px;
  min-width: 148px;
  min-height: 42px;
}

.auth-console-glyph {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(238, 248, 255, 0.48);
  border-radius: 8px;
  background: rgba(8, 24, 48, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: #edf7ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.auth-login-link::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.26) 42%, transparent 64%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-105%);
  transition: opacity 180ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-console-link::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.32), transparent 26%),
    linear-gradient(115deg, transparent 0%, rgba(205, 235, 255, 0.3) 42%, transparent 66%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-96%);
  transition: opacity 180ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-login-link:hover::before,
.auth-login-link:focus-visible::before,
.auth-console-link:hover::before,
.auth-console-link:focus-visible::before {
  opacity: 1;
  transform: translateX(105%);
}

.auth-link-button {
  min-width: 76px;
  min-height: 42px;
  padding: 0 18px;
  cursor: pointer;
}

.auth-user-pill {
  max-width: 132px;
  overflow: hidden;
  border-color: rgba(64, 216, 144, 0.3);
  background: rgba(64, 216, 144, 0.1);
  color: #dfffee;
  text-overflow: ellipsis;
}

.auth-login-link:hover,
.auth-console-link:hover,
.auth-link-button:hover,
.auth-login-link:focus-visible,
.auth-console-link:focus-visible,
.auth-link-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  outline: none;
  transform: translateY(-1px);
}

.auth-login-link:hover,
.auth-login-link:focus-visible,
.auth-console-link:hover,
.auth-console-link:focus-visible {
  box-shadow:
    0 12px 28px rgba(69, 103, 224, 0.28),
    0 0 0 3px rgba(88, 150, 238, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.auth-login-link:active {
  transform: translateY(0) scale(0.98);
}

.auth-console-link:active {
  transform: translateY(0) scale(0.98);
}

.language-toggle {
  display: inline-flex;
  min-width: 76px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(94, 118, 255, 0.2);
  outline: none;
  transform: translateY(-1px);
}

.toast-stack {
  position: fixed;
  top: 96px;
  right: 24px;
  z-index: 100;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.site-toast {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  padding: 13px 15px;
  background: rgba(13, 20, 36, 0.94);
  color: #eef3ff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(16px);
}

.site-toast-success {
  border-color: rgba(64, 216, 144, 0.34);
}

.site-toast-error {
  border-color: rgba(255, 111, 97, 0.42);
}

.site-toast-warning {
  border-color: rgba(255, 191, 87, 0.42);
}

.site-toast.leaving {
  opacity: 0;
  transform: translateY(-8px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.hero-media,
.hero-media video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: #03050b;
}

.hero-media video {
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.74)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.7));
}

body[data-page="home"] .hero {
  background: #030408;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1260px, calc(100% - 36px));
  padding: 120px 0 76px;
}

.hero-eyebrow {
  display: inline-flex;
  margin: 0 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 9px 17px;
  background: rgba(8, 10, 16, 0.28);
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  backdrop-filter: blur(10px);
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 112px;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p:not(.hero-eyebrow) {
  max-width: 1120px;
  margin: 0 auto;
  font-size: 46px;
  font-weight: 500;
  line-height: 1.08;
}

.hero-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 14px;
  margin-top: 78px;
}

.action {
  position: relative;
  display: inline-flex;
  min-width: 132px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 750;
  overflow: hidden;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.action:hover {
  transform: translateY(-2px);
}

.action.primary {
  background: var(--accent);
}

.action.ghost {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(8, 10, 16, 0.24);
  backdrop-filter: blur(10px);
}

.action.wide {
  min-width: 178px;
}

@media (min-width: 821px) {
  .hero-actions .action {
    flex: 0 0 auto;
    min-width: 172px;
    min-height: 50px;
    padding-right: 28px;
    padding-left: 28px;
  }

  .hero-actions .action.primary {
    min-width: 220px;
  }
}

@media (min-width: 821px) and (max-width: 1040px) {
  .hero-actions {
    gap: 8px;
  }

  .hero-actions .action {
    min-width: 142px;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 13px;
  }

  .hero-actions .action.primary {
    min-width: 190px;
  }
}

.hero-actions .action {
  isolation: isolate;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hero-actions .action::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background:
    radial-gradient(circle at 22% 18%, rgba(124, 142, 226, 0.22), transparent 34%),
    radial-gradient(circle at 80% 32%, rgba(68, 144, 222, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(98, 116, 214, 0.36), rgba(8, 10, 16, 0.12));
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-actions .action::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(8, 10, 16, 0.32);
}

.hero-actions .action.primary::after {
  background: linear-gradient(135deg, rgba(69, 103, 224, 0.94), rgba(45, 136, 214, 0.78));
}

.hero-actions .action:hover,
.hero-actions .action:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(69, 103, 224, 0.34), rgba(45, 136, 214, 0.24));
  box-shadow:
    0 15px 34px rgba(22, 26, 44, 0.3),
    0 0 0 3px rgba(118, 132, 224, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  outline: none;
}

.hero-actions .action:hover::before,
.hero-actions .action:focus-visible::before,
.hero-actions .action:active::before {
  opacity: 1;
  transform: scale(1.02);
}

.hero-actions .action:active {
  background:
    linear-gradient(135deg, rgba(55, 82, 194, 0.68), rgba(38, 118, 194, 0.56));
  transform: translateY(0) scale(0.97);
  box-shadow:
    0 9px 22px rgba(22, 26, 44, 0.28),
    0 0 0 4px rgba(118, 132, 224, 0.1);
}

@media (max-width: 820px) {
  .hero-actions {
    flex-wrap: wrap;
  }
}

.workflow-section,
.surface-section,
.model-section,
.scene-reconstruction-section,
.features-section,
.download-section,
.site-footer {
  width: min(1420px, calc(100% - 140px));
  margin: 0 auto;
}

.workflow-section {
  position: relative;
  z-index: 0;
  padding: 84px 0 64px;
  isolation: isolate;
}

.surface-section,
.scene-reconstruction-section,
.features-section {
  position: relative;
  z-index: 0;
  padding: 76px 0;
  isolation: isolate;
}

.workflow-section::before,
.surface-section::before,
.scene-reconstruction-section::before,
.features-section::before,
.download-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}

.workflow-section::before {
  background:
    radial-gradient(circle at center, rgba(167, 139, 250, 0.1) 0 1px, transparent 1px) 0 0 / 42px 42px,
    radial-gradient(ellipse 32% 50% at 50% 42%, rgba(255, 61, 110, 0.09), transparent 68%),
    linear-gradient(180deg, #030408 0%, #070610 52%, #030408 100%);
}

.surface-section::before {
  background:
    radial-gradient(ellipse 42% 40% at 18% 8%, rgba(59, 130, 246, 0.08), transparent 70%),
    radial-gradient(ellipse 42% 42% at 82% 4%, rgba(255, 61, 110, 0.06), transparent 72%),
    linear-gradient(180deg, #030408 0%, #08111b 100%);
  border-top: 1px solid rgba(96, 165, 250, 0.05);
}

.scene-reconstruction-section::before {
  background:
    radial-gradient(ellipse 46% 48% at 18% 18%, rgba(34, 211, 238, 0.07), transparent 70%),
    radial-gradient(ellipse 48% 48% at 82% 14%, rgba(167, 139, 250, 0.12), transparent 72%),
    linear-gradient(180deg, #08111b 0%, #07101c 44%, #060914 100%);
  border-top: 1px solid rgba(96, 165, 250, 0.06);
  border-bottom: 1px solid rgba(167, 139, 250, 0.08);
}

.features-section::before {
  background:
    radial-gradient(ellipse 48% 42% at 16% 18%, rgba(34, 197, 94, 0.06), transparent 68%),
    radial-gradient(ellipse 48% 48% at 84% 10%, rgba(139, 92, 246, 0.09), transparent 68%),
    linear-gradient(180deg, #08111b 0%, #050911 100%);
  border-top: 1px solid var(--line);
}

body[data-page="home"] .workflow-section::before,
body[data-page="home"] .surface-section::before,
body[data-page="home"] .scene-reconstruction-section::before,
body[data-page="home"] .features-section::before,
body[data-page="home"] .download-section::before {
  content: none;
  display: none;
  border: 0;
  background: none;
}

.section-header {
  margin-bottom: 32px;
}

.section-header.centered {
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 9px;
  color: #9cafef;
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-header h2,
.model-copy h2,
.download-section h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: 0;
}

.section-header p:not(.eyebrow),
.download-copy p,
.model-copy p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
}

.section-header.centered p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
}

.workflow-demo-frame,
.playable-scene-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    #03060e;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  padding: 12px;
}

.workflow-demo-frame {
  border: 0;
  background: transparent;
  box-shadow: none;
  width: 70%;
  margin: 0 auto;
  padding: 0;
}

.scene-reconstruction-section .playable-scene-frame {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.playable-scene-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #000;
  object-fit: contain;
}

.scene-demo-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 48%, rgba(94, 118, 255, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(3, 6, 14, 0.08), rgba(3, 6, 14, 0.42));
  font: inherit;
  font-size: clamp(16px, 1.7vw, 24px);
  font-weight: 750;
  cursor: pointer;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
  transition: opacity 180ms ease, background 180ms ease;
}

.scene-demo-play::before {
  display: none;
}

.scene-demo-play-icon {
  position: relative;
  flex: 0 0 auto;
  width: clamp(48px, 4.2vw, 64px);
  height: clamp(48px, 4.2vw, 64px);
  border-radius: 999px;
  background:
    linear-gradient(135deg, #7b8cff, #ff73cf);
  box-shadow: 0 16px 44px rgba(126, 117, 255, 0.42);
}

.scene-demo-play-icon::before {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  width: 0;
  height: 0;
  border-top: clamp(10px, 0.9vw, 14px) solid transparent;
  border-bottom: clamp(10px, 0.9vw, 14px) solid transparent;
  border-left: clamp(16px, 1.35vw, 22px) solid #fff;
  transform: translate(-50%, -50%);
}

.playable-scene-frame.is-playing .scene-demo-play {
  opacity: 0;
  pointer-events: none;
}

.scene-demo-play:hover {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 115, 207, 0.2), transparent 24%),
    linear-gradient(180deg, rgba(3, 6, 14, 0.04), rgba(3, 6, 14, 0.34));
}

.workflow-carousel {
  user-select: none;
  touch-action: pan-y;
}

.workflow-carousel-track {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
}

.workflow-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateX(4%);
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.workflow-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.workflow-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.workflow-original-video-slide {
  overflow: hidden;
  background: #030408;
}

.workflow-original-video-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #030408;
}

.workflow-original-video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: transparent;
  object-fit: cover;
}

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 52px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(3, 6, 14, 0.5);
  color: #fff;
  cursor: pointer;
  font-size: 52px;
  line-height: 1;
  opacity: 0.78;
  transform: translateY(-50%);
  transition:
    opacity 180ms ease,
    background 180ms ease,
    transform 180ms ease;
  backdrop-filter: blur(10px);
}

.workflow-section .carousel-control {
  width: 36px;
  height: 53px;
  font-size: 36px;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  background: rgba(94, 118, 255, 0.56);
  opacity: 1;
  outline: none;
  transform: translateY(-50%) scale(1.03);
}

.carousel-control-prev {
  left: 28px;
}

.carousel-control-next {
  right: 28px;
}

.carousel-dots {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition:
    width 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background 180ms ease;
}

.carousel-dots button.active {
  width: 28px;
  background: var(--accent-green);
}

.workflow-steps,
.surface-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.workflow-steps {
  margin-top: 18px;
}

.workflow-steps article,
.surface-card,
.feature-card,
.terminal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    var(--panel-strong);
  padding: 22px;
}

.surface-grid {
  gap: 20px;
}

.surface-card {
  min-height: 224px;
  padding: 26px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(11, 16, 28, 0.54);
}

.workflow-steps article {
  min-height: 210px;
}

.workflow-step-highlight {
  background:
    linear-gradient(180deg, rgba(94, 118, 255, 0.2), rgba(255, 255, 255, 0.035)),
    var(--panel-strong);
}

.workflow-icon,
.workflow-logo,
.engine-icons {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  margin-bottom: 22px;
}

.workflow-icon {
  color: var(--accent-green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.workflow-logo img {
  width: 48px;
  height: 48px;
}

.engine-icons {
  gap: 8px;
}

.engine-icons img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.workflow-steps h3,
.surface-card h3,
.feature-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: 0;
}

.workflow-steps p,
.surface-card p,
.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.surface-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--accent-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.surface-card h3 {
  margin-bottom: 14px;
  font-size: 23px;
  line-height: 1.18;
}

.surface-card p {
  color: rgba(229, 238, 249, 0.76);
  font-size: 16.5px;
  line-height: 1.6;
}

.model-section {
  position: relative;
  display: grid;
  width: min(1000px, calc(100% - 140px));
  margin: -18px auto 56px;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 42px;
  align-items: center;
  padding: 50px 48px;
  overflow: hidden;
  border: 1px solid rgba(156, 175, 239, 0.2);
  border-radius: 36px;
  background:
    radial-gradient(circle at 14% 18%, rgba(64, 216, 144, 0.13), transparent 30%),
    radial-gradient(circle at 82% 22%, rgba(94, 118, 255, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(8, 12, 24, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 30px 90px rgba(0, 0, 0, 0.28);
  isolation: isolate;
}

.model-section::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 35px;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.04) 50%, transparent 66%),
    radial-gradient(circle at center, rgba(156, 175, 239, 0.11) 0 1px, transparent 1px);
  background-size: 100% 100%, 44px 44px;
  opacity: 0.74;
}

.model-copy {
  width: min(100%, 480px);
  justify-self: end;
  transform: none;
}

.model-copy h2 {
  display: inline-flex;
  align-items: center;
  padding: 13px 16px;
  border: 1px solid rgba(255, 223, 106, 0.22);
  border-radius: 14px;
  background: rgba(8, 12, 24, 0.62);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 16px 42px rgba(0, 0, 0, 0.22);
  color: #fff8d2;
}

.model-copy p {
  font-size: 18px;
  line-height: 1.8;
}

.seed-system {
  position: relative;
  display: grid;
  width: min(100%, 560px);
  min-height: 350px;
  justify-self: end;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
  transform: none;
}

.seed-system::before,
.seed-system::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.seed-system::before {
  background: none;
  opacity: 0;
}

.seed-system::after {
  background: radial-gradient(circle at 50% 48%, rgba(255, 220, 102, 0.18), transparent 42%);
  filter: blur(18px);
  opacity: 0.86;
}

.seed-ring {
  position: absolute;
  border: 1px solid rgba(156, 175, 239, 0.28);
  border-radius: 50%;
  box-shadow: inset 0 0 34px rgba(94, 118, 255, 0.08);
  animation: seedOrbitSpin 20s linear infinite;
}

.seed-ring::after {
  content: "";
  position: absolute;
  top: 22%;
  right: 9%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 239, 173, 0.96);
  box-shadow:
    0 0 12px rgba(255, 239, 173, 0.9),
    0 0 28px rgba(255, 194, 64, 0.48);
}

.ring-one {
  width: 340px;
  height: 340px;
}

.ring-two {
  width: 226px;
  height: 226px;
  border-color: rgba(64, 216, 144, 0.26);
  animation-duration: 13s;
  animation-direction: reverse;
}

.ring-two::after {
  top: auto;
  right: auto;
  bottom: 16%;
  left: 14%;
  width: 6px;
  height: 6px;
  background: rgba(137, 255, 191, 0.94);
  box-shadow:
    0 0 14px rgba(137, 255, 191, 0.72),
    0 0 28px rgba(64, 216, 144, 0.36);
}

.seed-core {
  position: relative;
  z-index: 1;
  display: flex;
  width: 166px;
  height: 194px;
  align-items: center;
  justify-content: center;
  animation: seedFloat 5.4s ease-in-out infinite;
  will-change: transform;
}

.seed-core-glow {
  position: absolute;
  inset: -8px -30px -14px;
  border-radius: 52% 52% 50% 50% / 45% 45% 62% 62%;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 254, 201, 0.92), transparent 24%),
    radial-gradient(circle at 50% 62%, rgba(255, 208, 74, 0.46), transparent 52%),
    radial-gradient(circle at 50% 50%, rgba(255, 233, 110, 0.26), transparent 74%);
  filter: blur(20px);
  opacity: 0.95;
  animation: seedGlowPulse 3.2s ease-in-out infinite;
}

.magic-seed {
  position: relative;
  width: 126px;
  height: 178px;
  overflow: hidden;
  border-radius: 52% 52% 50% 50% / 42% 42% 64% 64%;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 251, 199, 0.72), transparent 32%),
    linear-gradient(180deg, rgba(255, 247, 141, 0.74) 0%, rgba(247, 195, 70, 0.58) 52%, rgba(224, 143, 40, 0.52) 100%);
  border: 1px solid rgba(255, 244, 163, 0.72);
  box-shadow:
    inset 10px 8px 28px rgba(255, 248, 170, 0.18),
    inset -18px -28px 42px rgba(131, 75, 18, 0.18),
    inset 0 0 38px rgba(255, 251, 184, 0.24),
    0 0 46px rgba(255, 229, 95, 0.62),
    0 18px 70px rgba(246, 176, 53, 0.3);
  transform: rotate(178deg);
  backdrop-filter: blur(1px);
  animation: seedWarmPulse 3.8s ease-in-out infinite;
}

.magic-seed span {
  position: absolute;
  display: block;
}

.magic-seed::before {
  content: "";
  position: absolute;
  inset: 6px 10px 12px;
  border-radius: inherit;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.1) 24%, transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 42%, rgba(255, 255, 255, 0.08) 100%);
  mix-blend-mode: screen;
  opacity: 0.68;
}

.seed-shell {
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 42% 28%, rgba(255, 255, 218, 0.88), rgba(255, 224, 120, 0.5) 22%, transparent 34%),
    radial-gradient(circle at 50% 56%, rgba(255, 230, 119, 0.56), transparent 48%);
}

.seed-inner-core {
  left: 50%;
  top: 92px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 44% 38%, rgba(255, 255, 255, 0.98), rgba(255, 246, 177, 0.9) 28%, rgba(255, 174, 45, 0.54) 64%, transparent 72%);
  box-shadow:
    0 0 14px rgba(255, 255, 255, 0.86),
    0 0 38px rgba(255, 211, 79, 0.72),
    0 0 72px rgba(255, 166, 45, 0.42);
  transform: translate(-50%, -50%);
  animation: seedInnerPulse 2.4s ease-in-out infinite;
}

.seed-highlight {
  top: 26px;
  left: 30px;
  width: 24px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.62), rgba(255, 244, 157, 0.12) 58%, transparent 72%);
  filter: blur(1.5px);
  opacity: 0.58;
  animation: seedHighlightShift 4.2s ease-in-out infinite;
}

.seed-star,
.seed-spark {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.9),
    0 0 18px rgba(255, 215, 73, 0.7);
  animation: seedStarTwinkle 2.8s ease-in-out infinite;
}

.seed-star {
  width: 4px;
  height: 4px;
}

.seed-spark {
  width: 2px;
  height: 2px;
  opacity: 0.72;
}

.seed-star-a {
  top: 78px;
  left: 38px;
}

.seed-star-b {
  top: 82px;
  right: 36px;
  animation-delay: -0.8s;
}

.seed-star-c {
  bottom: 42px;
  left: 56px;
  animation-delay: -1.4s;
}

.seed-star-d {
  right: 46px;
  bottom: 52px;
  animation-delay: -2s;
}

.seed-star-e {
  top: 116px;
  left: 48px;
  animation-delay: -2.4s;
}

.seed-spark-a {
  top: 96px;
  left: 48px;
}

.seed-spark-b {
  top: 112px;
  right: 52px;
  animation-delay: -1.1s;
}

.seed-spark-c {
  top: 66px;
  left: 68px;
  animation-delay: -1.8s;
}

.seed-particle {
  position: absolute;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 111, 61, 0.28));
  box-shadow: 0 0 18px rgba(255, 111, 61, 0.38);
  animation: seedParticleFloat 4.8s ease-in-out infinite;
}

.seed-particle-a {
  top: 72px;
  right: 120px;
}

.seed-particle-b {
  bottom: 88px;
  left: 112px;
  width: 6px;
  height: 6px;
  animation-delay: -1.6s;
}

.seed-particle-c {
  right: 168px;
  bottom: 60px;
  width: 10px;
  height: 10px;
  animation-delay: -3.1s;
}

.seed-label {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(7, 11, 22, 0.72);
  color: #e9eeff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
  animation: seedNodeFloat 5.2s ease-in-out infinite;
}

.seed-world {
  top: 66px;
  left: 62px;
}

.seed-assets {
  top: 152px;
  right: 52px;
  animation-delay: -1.8s;
}

.seed-reason {
  left: 146px;
  bottom: 64px;
  animation-delay: -3.3s;
}

@keyframes seedOrbitSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes seedFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes seedGlowPulse {
  0%,
  100% {
    opacity: 0.78;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes seedWarmPulse {
  0%,
  100% {
    filter: saturate(1) brightness(1);
    box-shadow:
      inset 10px 8px 28px rgba(255, 248, 170, 0.18),
      inset -18px -28px 42px rgba(131, 75, 18, 0.18),
      inset 0 0 38px rgba(255, 251, 184, 0.24),
      0 0 46px rgba(255, 229, 95, 0.62),
      0 18px 70px rgba(246, 176, 53, 0.3);
  }

  50% {
    filter: saturate(1.12) brightness(1.08);
    box-shadow:
      inset 14px 10px 34px rgba(255, 255, 255, 0.24),
      inset -16px -26px 42px rgba(131, 75, 18, 0.12),
      inset 0 0 48px rgba(255, 251, 184, 0.34),
      0 0 62px rgba(255, 236, 128, 0.82),
      0 20px 78px rgba(246, 176, 53, 0.38);
  }
}

@keyframes seedHighlightShift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translate3d(4px, -3px, 0) scale(1.06);
    opacity: 0.68;
  }
}

@keyframes seedInnerPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0.86;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 1;
  }
}

@keyframes seedStarTwinkle {
  0%,
  100% {
    opacity: 0.32;
    transform: translateY(0) scale(0.72);
  }

  45% {
    opacity: 1;
    transform: translateY(-5px) scale(1.2);
  }

  70% {
    opacity: 0.62;
    transform: translateY(-9px) scale(0.9);
  }
}

@keyframes seedNodeFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes seedParticleFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(0.9);
    opacity: 0.45;
  }

  50% {
    transform: translate3d(0, -12px, 0) scale(1.15);
    opacity: 1;
  }
}

.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 304px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: clamp(16px, 1.6vw, 22px);
  background:
    radial-gradient(ellipse 60% 100% at 0% 100%, rgba(96, 165, 250, 0.08), transparent 62%),
    radial-gradient(ellipse 60% 100% at 100% 0%, rgba(244, 114, 182, 0.08), transparent 62%),
    linear-gradient(180deg, rgba(26, 30, 54, 0.96), rgba(14, 16, 30, 0.96));
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.32),
    0 0 18px rgba(59, 130, 246, 0.04),
    0 0 24px rgba(139, 92, 246, 0.04);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.25), rgba(168, 85, 247, 0.25), rgba(255, 255, 255, 0.04));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  opacity: 0.78;
  pointer-events: none;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card--asset-chain::after {
  background:
    linear-gradient(90deg, rgba(12, 15, 28, 0.99) 0%, rgba(12, 15, 28, 0.9) 56%, rgba(12, 15, 28, 0.48) 100%),
    linear-gradient(180deg, rgba(26, 30, 54, 0.42), rgba(14, 16, 30, 0.9)),
    url("assets/feature-card-no-threshold-bg.webp") right center / cover no-repeat;
}

.feature-card--studio-agents::after {
  background:
    linear-gradient(90deg, rgba(12, 15, 28, 0.99) 0%, rgba(12, 15, 28, 0.91) 58%, rgba(12, 15, 28, 0.5) 100%),
    linear-gradient(180deg, rgba(26, 30, 54, 0.42), rgba(14, 16, 30, 0.9)),
    url("assets/feature-card-studio-agents-bg.webp") right center / cover no-repeat;
}

.feature-card--quick-access::after {
  background:
    linear-gradient(90deg, rgba(12, 15, 28, 0.99) 0%, rgba(12, 15, 28, 0.91) 58%, rgba(12, 15, 28, 0.48) 100%),
    linear-gradient(180deg, rgba(26, 30, 54, 0.34), rgba(14, 16, 30, 0.82)),
    url("assets/feature-card-quick-access-bg.webp") right center / cover no-repeat;
}

.feature-card--level-scenes::after {
  background:
    linear-gradient(90deg, rgba(12, 15, 28, 0.99) 0%, rgba(12, 15, 28, 0.91) 58%, rgba(12, 15, 28, 0.48) 100%),
    linear-gradient(180deg, rgba(26, 30, 54, 0.34), rgba(14, 16, 30, 0.82)),
    url("assets/feature-card-level-scenes-bg.webp") right center / cover no-repeat;
}

.feature-card--agent-evolution::after {
  background:
    linear-gradient(90deg, rgba(12, 15, 28, 0.99) 0%, rgba(12, 15, 28, 0.9) 56%, rgba(12, 15, 28, 0.48) 100%),
    linear-gradient(180deg, rgba(26, 30, 54, 0.34), rgba(14, 16, 30, 0.82)),
    url("assets/feature-card-agent-evolution-bg.webp") right center / cover no-repeat;
}

.feature-card--local-privacy::after {
  background:
    linear-gradient(90deg, rgba(12, 15, 28, 0.99) 0%, rgba(12, 15, 28, 0.91) 58%, rgba(12, 15, 28, 0.48) 100%),
    linear-gradient(180deg, rgba(26, 30, 54, 0.34), rgba(14, 16, 30, 0.82)),
    url("assets/feature-card-local-privacy-bg.webp") right center / cover no-repeat;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(167, 139, 250, 0.48);
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.42),
    0 0 30px rgba(59, 130, 246, 0.16),
    0 0 38px rgba(168, 85, 247, 0.18);
}

.feature-tag {
  align-self: flex-start;
  display: inline-block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.feature-tag.blue {
  color: #60a5fa;
}

.feature-tag.purple {
  color: #a78bfa;
}

.feature-tag.red {
  color: #fb7185;
}

.feature-tag.yellow {
  color: #facc15;
}

.feature-tag.green {
  color: #40d890;
}

.feature-tag.cyan {
  color: #22d3ee;
}

.feature-tag.orange {
  color: #fb923c;
}

.feature-tag.pink {
  color: #f472b6;
}

.feature-card h3 {
  margin-bottom: 12px;
  color: #f1f5f9;
  font-size: clamp(19px, 1.38vw, 22px);
  font-weight: 800;
  line-height: 1.28;
}

.feature-card p {
  flex: 1;
  margin-bottom: 16px;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.68;
}

.feature-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.feature-card li {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.045);
  color: #dbe4f3;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.download-section {
  position: relative;
  z-index: 0;
  display: block;
  padding: 76px 0 104px;
  isolation: isolate;
}

.download-section::before {
  background:
    radial-gradient(ellipse 42% 44% at 50% 0%, rgba(96, 165, 250, 0.08), transparent 70%),
    linear-gradient(180deg, #050911 0%, #020408 100%);
}

.download-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.download-copy p {
  margin-right: auto;
  margin-left: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.cta-actions .action {
  min-width: 190px;
}

.installer-downloads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin-top: 24px;
}

.installer-downloads a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease;
}

.installer-downloads a:hover {
  border-color: rgba(255, 255, 255, 0.44);
  transform: translateY(-2px);
}

.terminal-card {
  font-family: "SFMono-Regular", Consolas, monospace;
}

.terminal-card p {
  margin: 0 0 16px;
  color: #e8eefc;
  font-size: 13px;
}

.terminal-card p:last-child {
  margin-bottom: 0;
}

.terminal-card span {
  color: var(--accent-green);
  padding-right: 10px;
}

.terminal-success {
  color: #bdf7d6;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.45fr);
  gap: 48px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 42px 0 38px;
  color: var(--muted);
}

.footer-brand strong {
  color: var(--text);
  font-size: 19px;
}

.site-footer p {
  margin: 8px 0 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 24px;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-col strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  color: #d8def2;
  font-weight: 700;
}

.footer-col span {
  opacity: 0.78;
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 0;
  font-size: 13px;
}

body.subpage {
  min-height: 100vh;
  background: #0e1424;
  transition: none;
}

body.subpage[data-page="vision"],
body.subpage[data-page="investors"] {
  background: #0e1424;
  background-color: #0e1424;
}

body.subpage[data-page="vision"] .subpage-main,
body.subpage[data-page="investors"] .subpage-main {
  background: #0e1424;
}

body.subpage[data-page="cli"] {
  background: #0e1424;
  background-color: #0e1424;
}

body.subpage[data-page="cli"] .subpage-main {
  background: #0e1424;
}

.subpage-main {
  padding-top: 76px;
}

.page-hero,
.content-band,
.docs-layout {
  width: min(1420px, calc(100% - 140px));
  margin: 0 auto;
}

.page-hero {
  display: grid;
  min-height: 480px;
  align-content: center;
  justify-items: center;
  padding: 112px 0 84px;
  text-align: center;
}

.page-hero.split,
.content-band.split {
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-hero h1 {
  max-width: 1120px;
  margin: 0;
  font-size: clamp(42px, 5.4vw, 80px);
  line-height: 1.04;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 20px);
  line-height: 1.58;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.content-band {
  padding: 76px 0;
}

.subpage:not([data-page="cli"]) .page-hero {
  min-height: 280px;
  padding: 96px 0 20px;
}

.subpage:not([data-page="cli"]) .page-hero + .content-band {
  padding-top: 22px;
}

.subpage:not([data-page="cli"]) .page-hero + .docs-layout {
  padding-top: 8px;
}

.subpage[data-page="investors"] .page-hero + .content-band {
  padding-bottom: 24px;
}

.subpage[data-page="investors"] .page-hero + .content-band + .content-band {
  padding-top: 24px;
}

.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(94, 118, 255, 0.22), transparent 34%),
    radial-gradient(circle at 84% 16%, rgba(64, 216, 144, 0.12), transparent 30%),
    linear-gradient(180deg, #0b1020 0%, #0e1424 64%, #0a0f1b 100%);
}

.auth-main {
  min-height: 100vh;
  padding: 136px 0 72px;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
  gap: 26px;
  width: min(560px, calc(100% - 56px));
  margin: 0 auto;
  align-items: stretch;
}

.invite-shell {
  grid-template-columns: minmax(280px, 0.85fr) minmax(520px, 1.15fr);
  justify-content: stretch;
  width: min(1080px, calc(100% - 56px));
}

.auth-copy,
.auth-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(13, 20, 36, 0.82);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.3);
}

.auth-copy {
  padding: 36px;
}

.auth-kicker {
  display: inline-flex;
  margin-bottom: 22px;
  border: 1px solid rgba(64, 216, 144, 0.28);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(64, 216, 144, 0.08);
  color: var(--accent-green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-copy h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(38px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

.auth-copy p {
  max-width: 58ch;
  margin: 22px 0 0;
  color: rgba(229, 238, 249, 0.76);
  font-size: 17px;
  line-height: 1.78;
}

.auth-proof-grid {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.auth-proof-grid article {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 16px;
  background: rgba(3, 6, 14, 0.28);
}

.auth-proof-grid strong,
.auth-proof-grid span {
  display: block;
}

.auth-proof-grid strong {
  color: #edf4ff;
  font-size: 15px;
}

.auth-proof-grid span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.auth-card {
  padding: 34px;
}

.auth-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 30px;
  line-height: 1.12;
}

.auth-subtitle {
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.cli-login-banner {
  margin-bottom: 20px;
  border: 1px solid rgba(96, 165, 250, 0.26);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(59, 130, 246, 0.12);
  color: #cde0ff;
  font-size: 13px;
  line-height: 1.6;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: #aeb9cf;
  font-size: 14px;
  font-weight: 700;
}

.auth-form label em {
  color: #66728a;
  font-style: normal;
  font-weight: 600;
}

.auth-form input[type="tel"],
.auth-form input[type="text"],
.auth-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(3, 6, 14, 0.36);
  color: #eef3ff;
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.auth-form textarea {
  resize: vertical;
  line-height: 1.6;
}

.auth-form input:focus,
.auth-form textarea:focus {
  border-color: rgba(94, 118, 255, 0.62);
  background: rgba(3, 6, 14, 0.48);
}

.auth-form input::placeholder,
.auth-form textarea::placeholder {
  color: #566277;
}

.inline-field {
  display: flex;
  gap: 10px;
}

.secondary-form-button {
  min-width: 112px;
  border: 1px solid rgba(96, 165, 250, 0.26);
  border-radius: 10px;
  padding: 0 14px;
  background: rgba(96, 165, 250, 0.1);
  color: #93c5fd;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.secondary-form-button:hover:not(:disabled) {
  border-color: rgba(147, 197, 253, 0.54);
  background: rgba(96, 165, 250, 0.18);
}

.secondary-form-button:disabled,
.auth-submit:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.check-row {
  display: flex !important;
  grid-template-columns: none;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px !important;
  color: #93a0b8 !important;
  font-size: 13px !important;
  line-height: 1.65;
}

.check-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.agreement-row a {
  color: #b8c9ff;
}

.agreement-row a:hover {
  color: #eef3ff;
}

.form-status {
  min-height: 20px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.form-status[data-status="success"] {
  color: var(--accent-green);
}

.form-status[data-status="warning"] {
  color: #ffd08a;
}

.form-status[data-status="error"] {
  color: #ffaaa1;
}

.auth-submit {
  border: 0;
  border-radius: 10px;
  padding: 14px 18px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 850;
  transition: opacity 180ms ease, transform 180ms ease;
}

.auth-submit:hover:not(:disabled) {
  transform: translateY(-1px);
}

.invite-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.full-field {
  grid-column: 1 / -1;
}

.result-card {
  align-self: center;
  text-align: center;
}

.result-mark {
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(64, 216, 144, 0.38);
  border-radius: 50%;
  background: rgba(64, 216, 144, 0.14);
  color: var(--accent-green);
  font-size: 28px;
  font-weight: 900;
}

.result-card p {
  margin: 14px auto 24px;
  color: var(--muted);
  line-height: 1.7;
}

.payment-result-main {
  min-height: calc(100vh - 88px);
  display: grid;
  place-items: center;
}

.payment-result-shell {
  width: min(520px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 44px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    var(--panel-strong);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
  text-align: center;
}

.payment-result-icon {
  display: inline-grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  font-size: 34px;
  font-weight: 900;
}

.payment-result-icon.success {
  border: 1px solid rgba(52, 211, 153, 0.42);
  background: rgba(52, 211, 153, 0.13);
  color: #6ee7b7;
}

.payment-result-icon.pending {
  border: 1px solid rgba(96, 165, 250, 0.42);
  background: rgba(59, 130, 246, 0.13);
  color: #bfdbfe;
  animation: spin 1.5s linear infinite;
}

.payment-result-icon.failed {
  border: 1px solid rgba(248, 113, 113, 0.42);
  background: rgba(127, 29, 29, 0.18);
  color: #fecaca;
}

.payment-result-kicker {
  margin: 0 0 8px;
  color: var(--accent-blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.payment-result-state h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 4vw, 42px);
}

.payment-result-desc,
.payment-result-hint,
.payment-result-amount {
  margin: 14px auto 0;
  color: var(--muted);
  line-height: 1.7;
}

.payment-result-desc strong,
.payment-result-amount strong {
  color: #f8fbff;
}

.payment-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.command-panel,
.belief-panel,
.pricing-card,
.docs-sidebar,
.doc-section,
.command-grid article,
.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    var(--panel-strong);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.command-panel {
  padding: 26px;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.command-panel.compact {
  margin-top: 20px;
}

.command-panel p {
  margin: 0 0 16px;
  color: #e8eefc;
  font-size: 13px;
}

.command-panel p:last-child {
  margin-bottom: 0;
}

.command-panel span {
  color: var(--accent-green);
  padding-right: 10px;
}

.cli-download-hero .command-panel {
  align-self: center;
  justify-self: center;
  width: min(100%, 560px);
  margin-top: 6px;
  padding: 22px 24px;
  text-align: left;
  transform: none;
}

.cli-download-hero .command-panel p {
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.45;
}

.cli-download-hero .command-panel span {
  padding-right: 8px;
}

.belief-panel {
  padding: 28px;
}

.belief-panel strong {
  display: block;
  color: var(--text);
  font-size: 22px;
  line-height: 1.12;
}

.belief-panel p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(17, 24, 39, 0.72);
}

.process-list strong {
  color: var(--accent-green);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.process-list span {
  color: #d9e1f5;
}

.command-grid,
.pricing-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.command-grid article,
.faq-grid article {
  padding: 22px;
}

.command-grid code {
  display: block;
  margin-bottom: 20px;
  color: #dbe4ff;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.command-grid p,
.faq-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.faq-grid h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.18;
}

.pricing-card {
  min-height: 360px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pricing-card.featured {
  background:
    linear-gradient(180deg, rgba(94, 118, 255, 0.22), rgba(255, 255, 255, 0.035)),
    var(--panel-strong);
}

.pricing-card > span {
  display: inline-flex;
  margin-bottom: 32px;
  color: var(--accent-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-card h2 {
  margin: 0 0 12px;
  font-size: 31px;
  line-height: 1.06;
}

.pricing-card p,
.pricing-card li {
  color: var(--muted);
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 24px 0 22px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.pricing-card li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 9px 12px 9px 10px;
  background: rgba(3, 6, 14, 0.28);
  font-size: 14px;
  line-height: 1.42;
}

.pricing-card li::before {
  content: "✓";
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  margin-top: 2px;
  border: 1px solid rgba(34, 197, 94, 0.42);
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.14);
  color: var(--accent-green);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.docs-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 0 0 76px;
}

.docs-sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 6px;
  padding: 14px;
}

.docs-sidebar a {
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 700;
}

.docs-sidebar a:hover,
.docs-sidebar a:focus-visible {
  background: rgba(94, 118, 255, 0.18);
  color: var(--text);
  outline: none;
}

.docs-content {
  display: grid;
  gap: 18px;
}

.doc-section {
  padding: 28px;
  scroll-margin-top: 108px;
}

.doc-section h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.7vw, 32px);
  line-height: 1.1;
}

.doc-section p {
  color: var(--muted);
  line-height: 1.74;
}

.doc-section h3 {
  margin: 20px 0 10px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.18;
}

.doc-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.doc-split article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 18px;
  background: rgba(4, 8, 18, 0.28);
}

.doc-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.74;
}

.doc-list code,
.doc-section code {
  border-radius: 5px;
  padding: 2px 5px;
  background: rgba(3, 6, 14, 0.5);
  color: #eaf0ff;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.94em;
}

.example-copy {
  border: 1px solid rgba(94, 118, 255, 0.26);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(94, 118, 255, 0.1);
  color: #dfe7ff !important;
  font-weight: 700;
}

.download-video-card {
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(3, 6, 14, 0.42);
}

.download-video-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.install-command-row {
  display: grid;
  grid-template-columns: minmax(178px, auto) minmax(360px, 1fr) minmax(92px, auto);
  gap: 12px;
  align-items: center;
  justify-content: stretch;
  width: min(100%, 940px);
  margin: 36px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  padding: 12px;
  background: rgba(7, 11, 22, 0.38);
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.18);
}

.install-command-row .action {
  min-height: 54px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 850;
}

.install-command-row code,
.install-command-row button,
.installer-links a,
.pricing-tab,
.message-form input,
.message-form textarea,
.enterprise-contact-form input,
.enterprise-contact-form textarea,
.custom-input-block input {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 6, 14, 0.42);
  color: #eef3ff;
}

.install-command-row code {
  min-width: 0;
  padding: 16px 18px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 16px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: left;
}

.install-command-row button {
  height: 54px;
  padding: 0 22px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.installer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.installer-links a {
  padding: 10px 16px;
  color: #dce5fb;
  font-size: 13px;
  font-weight: 800;
}

.installer-panel {
  width: min(100%, 940px);
  margin: 18px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 20px;
  background: rgba(7, 11, 22, 0.42);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
}

.installer-panel-copy {
  text-align: center;
}

.installer-panel-copy strong {
  display: block;
  color: #f8fbff;
  font-size: 20px;
  font-weight: 900;
}

.installer-panel-copy p {
  max-width: 760px;
  margin: 9px auto 0;
  color: #aebbd3;
  font-size: 14px;
  line-height: 1.55;
}

.hero-installer-download-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.hero-installer-download-list .installer-download-link {
  min-height: 90px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  padding: 16px 18px;
}

.hero-installer-download-list .installer-download-link span {
  font-size: 17px;
}

.hero-installer-download-list .installer-download-link small {
  font-size: 13px;
  text-align: left;
}

.hero-subactions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.hero-subactions a {
  color: var(--text);
}

.product-preview-section {
  width: min(1120px, calc(100% - 140px));
  margin: 24px auto 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #050812;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
}

.subpage[data-page="cli"] .page-hero {
  min-height: auto;
  padding-bottom: 0;
}

.product-preview-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-grid.plain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid.plain article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    var(--panel-strong);
}

.feature-grid.plain h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.12;
}

.feature-grid.plain p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.pricing-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 8px;
  width: min(760px, 100%);
  margin: 34px auto 0;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  padding: 7px;
  background: rgba(17, 24, 39, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 48px rgba(0, 0, 0, 0.22);
}

.pricing-tab {
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  padding: 0 28px;
  background: transparent;
  color: #9fbbe0;
  font-size: clamp(1.05rem, 1.25vw, 1.22rem);
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.pricing-tab.active {
  background: #f8fafc;
  color: #020617;
  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.pricing-tab:hover,
.pricing-tab:focus-visible {
  color: #f8fbff;
  outline: none;
}

.pricing-tab.active:hover,
.pricing-tab.active:focus-visible {
  color: #020617;
  transform: translateY(-1px);
}

@media (max-width: 560px) {
  .pricing-tabs {
    grid-template-columns: 1fr;
    width: min(100%, 360px);
    border-radius: 24px;
  }

  .pricing-tab {
    min-height: 48px;
    border-radius: 18px;
  }
}

.token-panel {
  display: none;
}

.token-panel.active {
  display: grid;
}

.enterprise-contact-form.token-panel.active,
.custom-card.token-panel.active {
  display: grid;
}

.package-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.package-grid[data-token-panel="team"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1120px;
  margin-inline: auto;
}

.package-grid .pricing-card {
  min-height: auto;
}

.compact-plan {
  position: relative;
}

.popular-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0 !important;
  color: #fff !important;
}

.price-block {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 18px 0 10px;
}

.price-block strong {
  color: var(--text);
  font-size: 38px;
  line-height: 1;
}

.price-block span,
.price-block em,
.accent-usage span {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.price-block em {
  color: var(--muted);
  font-style: normal;
}

.accent-usage,
.rate-pill {
  color: var(--accent-green) !important;
  font-weight: 800;
}

.rate-pill {
  display: inline-flex;
  margin: 8px 0;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
}

.pricing-card .action {
  margin-top: auto;
  margin-bottom: 4px;
}

.pricing-card li.excluded {
  opacity: 0.72;
  text-decoration: none;
}

.pricing-card li.excluded::before {
  content: "×";
  border-color: rgba(255, 111, 97, 0.42);
  background: rgba(255, 111, 97, 0.13);
  color: #ff9b90;
}

.action.disabled {
  opacity: 0.56;
  pointer-events: none;
}

.notice-panel {
  width: min(1120px, calc(100% - 140px));
  margin: 0 auto 42px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(94, 118, 255, 0.1);
}

.notice-panel strong {
  color: var(--text);
  font-size: 18px;
}

.notice-panel p {
  margin: 8px 0 0;
  color: var(--muted);
}

.enterprise-contact-form,
.message-form {
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(17, 24, 39, 0.58);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.18);
  gap: 14px;
}

.enterprise-contact-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.message-form {
  display: grid;
  min-height: 590px;
  gap: 17px;
  padding-bottom: 26px;
}

.message-form .action {
  align-self: end;
  margin-top: auto;
  margin-bottom: 2px;
}

.contact-form-heading,
.full-row {
  grid-column: 1 / -1;
}

.enterprise-contact-form h2,
.message-form h3,
.contact-block h3,
.intro-copy h2,
.values-card h3 {
  margin: 0 0 12px;
  color: var(--text);
}

.message-form p,
.contact-form-heading p {
  margin: 0 0 12px;
  color: var(--muted);
}

.enterprise-contact-form label,
.message-form label,
.custom-input-block {
  display: grid;
  gap: 9px;
  color: #dfe7fa;
  font-weight: 800;
}

.message-form input,
.message-form textarea,
.enterprise-contact-form input,
.enterprise-contact-form textarea,
.custom-input-block input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  font: inherit;
}

.message-form textarea,
.enterprise-contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.token-pricing-page {
  min-height: calc(100vh - 76px);
  padding-bottom: 42px;
  background: #0e1424;
  color: #eef2ff;
}

.token-pricing-page .pricing-hero {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(1420px, calc(100% - 140px));
  margin: 0 auto;
  padding: clamp(22px, 3.2vw, 42px) clamp(20px, 5vw, 88px) 16px;
  text-align: center;
}

.token-pricing-page .pricing-hero h1 {
  margin: 0;
  max-width: 1280px;
  color: #f8fafc;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.token-pricing-page .pricing-hero p {
  margin: 0;
  color: #9fbbe0;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.45;
}

.token-pricing-page .pricing-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(138px, 1fr));
  gap: 6px;
  width: min(420px, 100%);
  margin-top: clamp(18px, 2.4vw, 30px);
  padding: 5px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 34px;
  background: rgba(17, 24, 39, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.token-pricing-page .pricing-tab {
  min-height: 36px;
  border: 0;
  border-radius: 28px;
  background: transparent;
  color: #9fbbe0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  padding: 0 18px;
  white-space: nowrap;
}

.token-pricing-page .pricing-tab.active {
  background: #f8fafc;
  color: #020617;
}

.token-pricing-page .token-panel {
  display: none;
}

.token-pricing-page .token-panel.active {
  display: grid;
}

.token-pricing-page .package-grid {
  justify-content: center;
  gap: 40px;
  width: auto;
  margin: 0 auto;
  padding: 18px clamp(20px, 4vw, 72px) 42px;
}

.token-pricing-page .package-grid--plans {
  grid-template-columns: repeat(3, minmax(252px, 288px));
}

.token-pricing-page .package-grid--personal {
  grid-template-columns: repeat(4, minmax(236px, 260px));
}

.token-pricing-page .package-grid--team {
  grid-template-columns: repeat(3, minmax(252px, 288px));
}

.token-pricing-page .package-grid--single {
  grid-template-columns: minmax(252px, 588px);
}

.token-pricing-page .pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 620px;
  padding: 24px 20px 22px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 70% 42% at 50% 0%, rgba(14, 165, 233, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(13, 18, 28, 0.94), rgba(8, 11, 18, 0.96));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  text-align: left;
}

.token-pricing-page .pricing-card.recommended {
  border-color: rgba(14, 165, 233, 0.28);
  background:
    radial-gradient(ellipse 78% 46% at 50% 0%, rgba(14, 165, 233, 0.045), transparent 72%),
    linear-gradient(180deg, rgba(13, 18, 28, 0.94), rgba(8, 11, 18, 0.96));
  box-shadow:
    0 0 0 1px rgba(14, 165, 233, 0.04),
    0 20px 52px rgba(0, 0, 0, 0.28);
}

.token-pricing-page .popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  right: auto;
  min-width: 128px;
  margin: 0;
  border-radius: 999px;
  background: rgba(19, 127, 176, 0.78);
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 28px;
  text-align: center;
  transform: translateX(-50%);
}

.token-pricing-page .card-top {
  min-height: 82px;
  text-align: center;
}

.token-pricing-page .pricing-card h2 {
  margin: 0 0 9px;
  color: #f8fafc;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.2;
}

.token-pricing-page .pricing-card p {
  margin: 0;
  color: #9fbbe0;
  font-size: 14px;
  line-height: 1.5;
}

.token-pricing-page .price-block {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  margin: 2px 0 0;
}

.token-pricing-page .currency {
  color: #f8fafc;
  font-size: 28px;
  font-weight: 900;
}

.token-pricing-page .price-block strong {
  color: #f8fafc;
  font-size: clamp(32px, 2.8vw, 40px);
  font-weight: 900;
  line-height: 1;
}

.token-pricing-page .period {
  color: #6f8bad;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.token-pricing-page .accent-usage {
  margin-top: 4px;
  color: #25bfff;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.token-pricing-page .rights-list {
  display: grid;
  gap: 14px;
  width: auto;
  margin: 24px 0 22px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(148, 163, 184, 0.13);
  list-style: none;
  text-align: left;
}

.token-pricing-page .rights-list li {
  position: relative;
  display: block;
  min-height: 22px;
  border: 0;
  border-radius: 0;
  padding: 0 0 0 34px;
  background: transparent;
  color: #dbeafe;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.42;
}

.token-pricing-page .rights-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.16);
  color: #35c9ff;
  font-size: 12px;
  font-weight: 900;
}

.token-pricing-page .rights-list li.excluded {
  color: #8fa1b8;
  opacity: 1;
  text-decoration: none;
}

.token-pricing-page .rights-list li.excluded::before {
  content: "×";
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
}

.token-pricing-page .card-action {
  display: grid;
  place-items: center;
  width: 100%;
  height: 52px;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.06));
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.token-pricing-page .pricing-card.recommended .card-action,
.token-pricing-page .enterprise-contact-form .card-action {
  border-color: rgba(14, 165, 233, 0.55);
  background: #20aeea;
  box-shadow: 0 18px 34px rgba(14, 165, 233, 0.28);
}

.token-pricing-page .card-action:hover,
.token-pricing-page .card-action:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  transform: translateY(-1px);
}

.token-pricing-page .card-action.disabled {
  opacity: 0.56;
  pointer-events: none;
}

.token-pricing-page .enterprise-contact-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(760px, 100%);
  justify-self: center;
  margin-top: 4px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 70% 42% at 50% 0%, rgba(14, 165, 233, 0.06), transparent 70%),
    linear-gradient(180deg, rgba(13, 18, 28, 0.94), rgba(8, 11, 18, 0.96));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.token-pricing-page .contact-form-heading,
.token-pricing-page .full-row {
  grid-column: 1 / -1;
}

.token-pricing-page .contact-form-heading h3 {
  margin: 0 0 8px;
  color: #f8fafc;
  font-size: 22px;
}

.token-pricing-page .contact-form-heading p {
  margin: 0;
  color: #9fbbe0;
  font-size: 14px;
}

.token-pricing-page .enterprise-contact-form label {
  display: grid;
  gap: 8px;
}

.token-pricing-page .enterprise-contact-form label span {
  color: #dbeafe;
  font-size: 14px;
  font-weight: 800;
}

.token-pricing-page .enterprise-contact-form input,
.token-pricing-page .enterprise-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.42);
  color: #e2e8f0;
  font: inherit;
  outline: none;
}

.token-pricing-page .enterprise-contact-form input {
  height: 46px;
  padding: 0 14px;
}

.token-pricing-page .enterprise-contact-form textarea {
  min-height: 132px;
  padding: 14px;
  resize: vertical;
}

.token-pricing-page .enterprise-contact-form button.full-row {
  justify-self: center;
  max-width: 280px;
}

@media (max-width: 1180px) {
  .token-pricing-page .package-grid--plans,
  .token-pricing-page .package-grid--personal,
  .token-pricing-page .package-grid--team {
    grid-template-columns: repeat(2, minmax(252px, 288px));
  }

  .token-pricing-page .package-grid--single {
    grid-template-columns: minmax(252px, 588px);
  }

  .token-pricing-page .enterprise-contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .token-pricing-page .pricing-hero {
    width: min(100% - 34px, 720px);
    padding: 34px 20px 18px;
  }

  .token-pricing-page .pricing-tabs {
    grid-template-columns: 1fr;
    width: min(100%, 360px);
    margin-top: 16px;
    border-radius: 22px;
  }

  .token-pricing-page .pricing-tab {
    border-radius: 16px;
  }

  .token-pricing-page .package-grid,
  .token-pricing-page .package-grid--plans,
  .token-pricing-page .package-grid--personal,
  .token-pricing-page .package-grid--team,
  .token-pricing-page .package-grid--single {
    grid-template-columns: 1fr;
  }

  .token-pricing-page .package-grid {
    padding: 20px;
  }
}

@media (max-width: 560px) {
  .token-pricing-page .pricing-card {
    min-height: 0;
    padding: 24px 22px 22px;
  }

  .token-pricing-page .rights-list li {
    font-size: 16px;
  }
}

.message-form em {
  color: #ff6f3d;
  font-style: normal;
}

.legal-hero {
  min-height: 300px !important;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(129, 140, 248, 0.24);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(99, 102, 241, 0.16);
  color: #c7d2fe;
  font-size: 13px;
  font-weight: 800;
}

.legal-date {
  margin-top: 12px !important;
  color: #94a3b8 !important;
  font-size: 14px !important;
}

.legal-document {
  display: grid;
  width: min(980px, calc(100% - 140px));
  gap: 18px;
  margin: 0 auto 76px;
}

.legal-card {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  padding: 28px 30px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(10, 15, 28, 0.92));
  box-shadow:
    0 14px 40px rgba(2, 6, 23, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.legal-card h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.2;
}

.legal-card p,
.legal-card li {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.9;
}

.legal-card p {
  margin: 0 0 12px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
  padding-left: 20px;
}

.custom-card {
  width: min(760px, 100%);
  margin: 0 auto;
}

.custom-input-block {
  margin: 18px 0;
}

.contact-grid.single {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 640px;
  margin: 0 auto;
}

.contact-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(17, 24, 39, 0.58);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.18);
}

.contact-card span {
  display: block;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-card strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
}

.contact-card a {
  color: #dfe7ff;
  font-size: 18px;
  font-weight: 800;
}

.divider {
  height: 1px;
  margin: 18px 0;
  background: var(--line);
}

.intro-copy {
  max-width: 1120px;
}

.intro-copy h2,
.values-card > h3 {
  text-align: center;
}

.intro-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.values-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.52);
}

.sidebar-group {
  display: grid;
  gap: 4px;
}

.sidebar-group + .sidebar-group {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.sidebar-group strong {
  padding: 8px 12px 4px;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.doc-installers {
  margin-top: 20px;
}

.installer-download-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.installer-download-link {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(96, 165, 250, 0.14);
  border-radius: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(30, 41, 71, 0.96), rgba(17, 24, 48, 0.98));
  color: #f8fafc;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.installer-download-link:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.38);
  background: linear-gradient(135deg, rgba(37, 52, 89, 0.98), rgba(24, 32, 62, 0.98));
}

.installer-download-link span {
  color: #f8fafc;
  font-size: 15px;
  font-weight: 800;
}

.installer-download-link small {
  color: #93c5fd;
  font-size: 12px;
  line-height: 1.35;
  text-align: right;
}

.console-app-page {
  height: 100vh;
  overflow: hidden;
  background: #070b14;
}

.console-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  height: 100vh;
  background: #070b14;
  color: #e5e7eb;
}

.console-app-sidebar {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.1), transparent 34%),
    linear-gradient(180deg, #0a0f18 0%, #0b1019 100%);
  box-shadow:
    inset -1px 0 0 rgba(255, 255, 255, 0.02),
    18px 0 40px rgba(0, 0, 0, 0.18);
}

.console-logo {
  display: block;
  margin: 16px 16px 10px;
  border: 1px solid rgba(0, 0, 0, 0.64);
  border-radius: 20px;
  padding: 16px 16px 14px;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(10, 15, 26, 0.94));
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.console-logo-mark {
  color: #60a5fa;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.console-logo-subtitle {
  margin-top: 6px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-app-menu {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 4px 12px 92px;
}

.console-menu-group {
  display: grid;
}

.console-menu-item,
.console-submenu a {
  display: flex;
  width: 100%;
  align-items: center;
  border: 0;
  color: #94a3b8;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-align: left;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.console-menu-item {
  height: 46px;
  gap: 10px;
  margin-bottom: 6px;
  border-radius: 14px;
  padding: 0 14px;
  background: transparent;
}

.console-menu-icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 9px;
  background: rgba(96, 165, 250, 0.12);
  color: #60a5fa;
  font-size: 10px;
  font-weight: 900;
}

.console-menu-trigger i {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.console-menu-group.open .console-menu-trigger i {
  transform: rotate(225deg) translateY(-2px);
}

.console-menu-item:hover,
.console-menu-item:focus-visible,
.console-submenu a:hover,
.console-submenu a:focus-visible {
  background: rgba(59, 130, 246, 0.1);
  color: #f8fafc;
  outline: none;
  transform: translateX(2px);
}

.console-menu-item.active {
  color: #f8fafc;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.16));
  box-shadow:
    0 10px 24px rgba(37, 99, 235, 0.18),
    inset 0 0 0 1px rgba(96, 165, 250, 0.14);
}

.console-submenu {
  display: grid;
  margin: -2px 0 8px;
}

.console-submenu a {
  min-height: 38px;
  border-radius: 12px;
  padding: 0 12px 0 48px;
  color: #8aa0bf;
  font-size: 13px;
}

.console-user-section {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  width: 220px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 16px 16px;
  background:
    linear-gradient(180deg, rgba(9, 14, 24, 0.96), rgba(7, 11, 20, 0.98));
  box-sizing: border-box;
}

.console-user-info {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.console-user-avatar {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.95), transparent 18%),
    linear-gradient(135deg, #60a5fa, #2563eb);
  box-shadow: 0 0 18px rgba(96, 165, 250, 0.24);
}

.console-user-detail {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.console-user-name {
  overflow: hidden;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-user-credits {
  color: #94a3b8;
  font-size: 11px;
}

.console-logout-icon {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #64748b;
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  line-height: 1;
  transition: color 0.2s, transform 0.2s, border-color 0.2s;
}

.console-logout-icon:hover,
.console-logout-icon:focus-visible {
  border-color: rgba(245, 108, 108, 0.36);
  color: #f56c6c;
  outline: none;
  transform: translateY(-1px);
}

.console-content-shell {
  position: relative;
  min-width: 0;
  min-height: 0;
}

.app-language-switch {
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 30;
  min-width: 58px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  color: #f8fafc;
  padding: 0 14px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.app-language-switch:hover,
.app-language-switch:focus-visible {
  border-color: rgba(96, 165, 250, 0.34);
  background: rgba(96, 165, 250, 0.18);
  outline: none;
  transform: translateY(-1px);
}

.console-mobile-topbar,
.console-mobile-backdrop {
  display: none;
}

.console-el-main {
  display: flex;
  height: 100vh;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, #070b14 0%, #0a1018 100%);
  padding: 20px;
  box-sizing: border-box;
}

.dashboard-page {
  height: 100%;
  overflow: auto;
  border-radius: 28px;
  padding: 20px;
  box-sizing: border-box;
  background:
    radial-gradient(ellipse 34% 28% at 12% 5%, rgba(59, 130, 246, 0.14), transparent 72%),
    radial-gradient(ellipse 36% 30% at 86% 8%, rgba(168, 85, 247, 0.1), transparent 72%),
    linear-gradient(180deg, #090c14 0%, #0b1019 35%, #0a0f17 100%);
  color: #e5e7eb;
}

.dashboard-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.hero-title {
  margin: 0;
  color: #f8fafc;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 920px;
  margin: 10px 0 0;
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.8;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badge {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.72);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 750;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.panel,
.summary-card {
  border: 1px solid rgba(0, 0, 0, 0.7);
  border-radius: 22px;
  background: rgba(15, 18, 27, 0.88);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
}

.summary-card {
  padding: 18px 18px 16px;
}

.panel-title {
  color: #f3f4f6;
  font-size: 14px;
  font-weight: 800;
}

.panel-desc {
  margin-top: 6px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.6;
}

.metric-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.metric-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.metric-dot {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 50%;
  box-shadow: 0 0 18px currentColor;
}

.metric-dot.blue { color: #3b82f6; background: #3b82f6; }
.metric-dot.purple { color: #a855f7; background: #a855f7; }
.metric-dot.green { color: #22c55e; background: #22c55e; }
.metric-dot.cyan { color: #06b6d4; background: #06b6d4; }
.metric-dot.orange { color: #f59e0b; background: #f59e0b; }
.metric-dot.pink { color: #ec4899; background: #ec4899; }
.metric-dot.indigo { color: #6366f1; background: #6366f1; }
.metric-dot.amber { color: #facc15; background: #facc15; }

.metric-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.metric-label {
  color: #9ca3af;
  font-size: 12px;
}

.metric-value {
  color: #f9fafb;
  font-size: 24px;
  line-height: 1.25;
}

.dashboard-main {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) 320px;
  gap: 16px;
  margin-top: 16px;
}

.chart-panel {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 20px;
}

.side-stack {
  display: grid;
  gap: 16px;
}

.side-panel {
  padding: 18px;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.panel-header.compact {
  display: block;
  margin-bottom: 14px;
}

.panel-total {
  color: #facc15;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.chart-area {
  position: relative;
  flex: 1;
  min-height: 360px;
  margin-top: 20px;
  padding-top: 16px;
}

.chart-grid {
  position: absolute;
  inset: 0 0 44px;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  pointer-events: none;
}

.chart-grid-line {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chart-columns {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 14px;
  align-items: end;
}

.chart-column {
  display: flex;
  height: 100%;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
}

.bar-shell {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 220px;
  flex: 1 1 auto;
  align-items: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 18px 18px 10px 10px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04));
}

.bar-fill {
  width: 100%;
  min-height: 0;
  border-radius: 12px 12px 8px 8px;
  background: linear-gradient(180deg, var(--chart-start, #facc15) 0%, var(--chart-end, #f59e0b) 100%);
  box-shadow: 0 12px 30px var(--chart-shadow, rgba(245, 158, 11, 0.28));
  transition: height 0.45s ease;
}

.bar-value {
  margin-top: 10px;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 800;
}

.bar-label {
  margin-top: 6px;
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.mobile-chart-list {
  display: none;
  gap: 14px;
  margin-top: 18px;
}

.mobile-chart-item {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.mobile-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #f8fafc;
  font-size: 13px;
}

.mobile-chart-track {
  height: 10px;
  margin-top: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-chart-fill {
  min-width: 10px;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--chart-start, #facc15) 0%, var(--chart-end, #f59e0b) 100%);
}

.mobile-chart-percent {
  margin-top: 8px;
  color: #9ca3af;
  font-size: 12px;
}

.insight-list,
.tips-list,
.quick-list,
.rank-list {
  display: grid;
  gap: 12px;
}

.insight-item,
.tip-item,
.rank-item {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
}

.insight-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.insight-item strong,
.rank-left strong,
.tip-item strong {
  color: #f9fafb;
}

.insight-label {
  color: #9ca3af;
  font-size: 12px;
}

.quick-item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  color: #f3f4f6;
  text-align: left;
  transition: all 0.18s ease;
}

.quick-item:hover,
.quick-item:focus-visible {
  border-color: rgba(96, 165, 250, 0.28);
  background: rgba(59, 130, 246, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.quick-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.quick-copy span {
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.5;
}

.quick-action {
  color: #93c5fd;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.bottom-grid .panel {
  padding: 18px;
}

.rank-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.rank-left {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.rank-left > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.rank-left span,
.tip-item span {
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.7;
}

.rank-index {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.12);
  color: #facc15;
  font-weight: 800;
}

.rank-percent {
  color: #f8fafc;
  font-size: 13px;
  font-weight: 800;
}

.tip-item {
  display: grid;
  gap: 6px;
}

.empty-state,
.empty-inline {
  color: #6b7280;
  font-size: 13px;
}

.empty-state {
  display: flex;
  min-height: 280px;
  align-items: center;
  justify-content: center;
}

.console-mobile-backdrop[hidden],
[data-console-admin-only][hidden],
.mobile-chart-list[hidden],
.chart-area[hidden],
.console-view[hidden],
.empty-state[hidden],
.empty-inline[hidden] {
  display: none !important;
}

.console-view {
  display: none;
}

.console-view.active {
  display: block;
}

.recharge-page,
.finance-page,
.console-docs-page,
.workspace-page,
.generator-page,
.admin-page {
  height: 100%;
  overflow: auto;
  border-radius: 28px;
  box-sizing: border-box;
  color: #eef2ff;
}

.recharge-page {
  padding: 22px;
  background:
    radial-gradient(ellipse 42% 32% at 18% 4%, rgba(14, 165, 233, 0.2), transparent 70%),
    radial-gradient(ellipse 44% 34% at 86% 12%, rgba(244, 114, 182, 0.12), transparent 68%),
    linear-gradient(180deg, #030712 0%, #0b1020 46%, #050712 100%);
}

.finance-page,
.console-docs-page,
.workspace-page,
.generator-page,
.admin-page {
  padding: 20px;
  background:
    radial-gradient(ellipse 34% 28% at 12% 5%, rgba(59, 130, 246, 0.14), transparent 72%),
    radial-gradient(ellipse 36% 30% at 86% 8%, rgba(168, 85, 247, 0.1), transparent 72%),
    linear-gradient(180deg, #090c14 0%, #0b1019 35%, #0a0f17 100%);
}

.recharge-hero {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px 20px 12px;
  text-align: center;
}

.recharge-hero h1 {
  margin: 0;
  color: #f8fafc;
  font-size: 38px;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: 0;
}

.recharge-hero p {
  max-width: 760px;
  margin: 0;
  color: #9fbbe0;
  font-size: 15px;
  line-height: 1.65;
}

.recharge-page .pricing-tabs {
  display: grid;
  grid-template-columns:
    minmax(120px, 0.9fr)
    minmax(108px, 0.78fr)
    minmax(226px, 1.55fr)
    minmax(196px, 1.35fr);
  gap: 6px;
  width: min(800px, calc(100% - 32px));
  margin-top: 10px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 34px;
  padding: 5px;
  background: rgba(17, 24, 39, 0.7);
}

.recharge-page .pricing-tab {
  min-height: 36px;
  border: 0;
  border-radius: 28px;
  background: transparent;
  color: #9fbbe0;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  overflow: hidden;
  padding: 0 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recharge-page .pricing-tab.active {
  background: #f8fafc;
  color: #020617;
}

.recharge-page .package-grid {
  justify-content: center;
  gap: 28px;
  padding: 18px clamp(16px, 2vw, 36px) 30px;
}

.recharge-page .package-grid--plans {
  grid-template-columns: repeat(3, minmax(252px, 288px));
}

.recharge-page .package-grid--personal {
  grid-template-columns: repeat(4, minmax(228px, 260px));
  overflow-x: auto;
}

.recharge-page .package-grid--single {
  grid-template-columns: minmax(252px, 588px);
}

.recharge-page .pricing-card {
  min-height: 620px;
  border-color: rgba(148, 163, 184, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 70% 42% at 50% 0%, rgba(14, 165, 233, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(13, 18, 28, 0.94), rgba(8, 11, 18, 0.96));
}

.recharge-page .rights-list {
  margin: 24px 0 22px;
  padding: 24px 0 0;
}

.custom-input-block {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.custom-input-block label {
  color: #9fbbe0;
  font-size: 13px;
  font-weight: 800;
}

.custom-input-block input,
.console-form input,
.console-form select,
.console-form textarea,
.enterprise-contact-form input,
.enterprise-contact-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  background: rgba(3, 7, 18, 0.72);
  color: #f8fafc;
  font: inherit;
  padding: 0 12px;
}

.console-form .console-check-field {
  min-height: 42px;
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  padding: 0 12px;
  background: rgba(3, 7, 18, 0.44);
}

.console-form .console-check-field input {
  width: 18px;
  min-height: 18px;
  accent-color: #60a5fa;
  padding: 0;
}

.console-form textarea,
.enterprise-contact-form textarea {
  min-height: 108px;
  padding-top: 10px;
  resize: vertical;
}

.finance-hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding: 24px;
}

.hero-kicker {
  color: #60a5fa;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finance-hero h1 {
  margin: 8px 0 10px;
  color: #f8fafc;
  font-size: 30px;
  letter-spacing: 0;
}

.finance-hero p {
  margin: 0;
  color: #9ca3af;
  line-height: 1.8;
}

.finance-hero .hero-actions,
.toolbar-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

.action-primary,
.action-secondary {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #eff6ff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0 16px;
}

.action-primary {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.86), rgba(99, 102, 241, 0.82));
}

.action-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: #dbeafe;
}

.action-secondary.danger-soft {
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(127, 29, 29, 0.14);
  color: #fecaca;
}

.hero-stat {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-stat span {
  display: block;
  margin-bottom: 8px;
  color: #9ca3af;
  font-size: 12px;
}

.hero-stat strong {
  color: #f8fafc;
  font-size: 22px;
}

.finance-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.summary-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 18px currentColor;
}

.summary-dot.blue { color: #60a5fa; background: #60a5fa; }
.summary-dot.green { color: #22c55e; background: #22c55e; }
.summary-dot.orange { color: #f59e0b; background: #f59e0b; }

.summary-label {
  color: #9ca3af;
  font-size: 12px;
}

.summary-value {
  margin-top: 6px;
  color: #f8fafc;
  font-size: 24px;
  font-weight: 800;
}

.table-panel,
.content-panel,
.docs-shortcut-grid {
  padding: 18px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.toolbar-select,
.toolbar-picker {
  min-height: 40px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  background: rgba(3, 7, 18, 0.72);
  color: #e5e7eb;
  font: inherit;
  padding: 0 10px;
}

.toolbar-select {
  width: 180px;
}

.dark-table-wrap {
  overflow-x: auto;
}

.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.pagination-wrap[hidden] {
  display: none;
}

.pagination-button {
  min-height: 34px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  padding: 0 13px;
  background: rgba(15, 23, 42, 0.72);
  color: #dbeafe;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.pagination-button:hover,
.pagination-button:focus-visible {
  border-color: rgba(96, 165, 250, 0.42);
  outline: none;
  background: rgba(30, 64, 175, 0.26);
}

.pagination-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.pagination-status {
  color: #9fbbe0;
  font-size: 13px;
  font-weight: 800;
}

.dark-table {
  width: 100%;
  border-collapse: collapse;
  color: #dbeafe;
  font-size: 13px;
}

.dark-table th,
.dark-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 13px 12px;
  text-align: left;
  white-space: nowrap;
}

.dark-table th {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 850;
}

.align-right {
  text-align: right !important;
}

.align-center {
  text-align: center !important;
}

.money-text {
  color: #facc15;
  font-weight: 850;
}

.token-text {
  color: #fb7185;
  font-weight: 850;
}

.status-tag {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 850;
}

.status-tag.success,
.status-tag.approved {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
}

.status-tag.pending {
  background: rgba(250, 204, 21, 0.14);
  color: #fde68a;
}

.status-tag.rejected {
  background: rgba(248, 113, 113, 0.14);
  color: #fca5a5;
}

.status-tag.info {
  background: rgba(96, 165, 250, 0.14);
  color: #bfdbfe;
}

.mobile-record-list {
  display: none;
  gap: 12px;
}

.mobile-record-card,
.title-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.mobile-record-header,
.mobile-record-footer,
.title-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-record-label,
.mobile-record-item span,
.muted-text,
.title-card span {
  color: #9ca3af;
  font-size: 12px;
}

.mobile-record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.mobile-record-item {
  display: grid;
  gap: 4px;
}

.mobile-record-item strong,
.mobile-record-header strong,
.title-card strong {
  color: #f8fafc;
}

.dark-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.dark-tab {
  min-height: 36px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #9fbbe0;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 0 16px;
}

.dark-tab.active {
  background: #f8fafc;
  color: #020617;
}

.records-desc {
  margin-bottom: 16px;
}

.title-grid,
.docs-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.title-card {
  display: grid;
  gap: 10px;
}

.title-tags {
  display: flex;
  gap: 8px;
}

.table-link {
  border: 0;
  background: transparent;
  color: #93c5fd;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 0;
}

.table-link.danger {
  color: #fca5a5;
}

.docs-shortcut-grid a {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.docs-shortcut-grid strong {
  color: #f8fafc;
}

.docs-shortcut-grid span {
  color: #9ca3af;
  font-size: 13px;
}

.workspace-chat-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(420px, 1.6fr) minmax(220px, 0.78fr);
  gap: 16px;
}

.workspace-session-panel,
.workspace-chat-panel,
.workspace-knowledge-panel,
.workspace-agent-card {
  padding: 18px;
}

.workspace-session-list,
.workspace-check-list,
.workspace-step-list,
.workspace-manual-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.workspace-session {
  display: grid;
  gap: 5px;
  width: 100%;
  border: 2px solid rgba(0, 0, 0, 0.72);
  border-radius: 14px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.62);
  color: #cbd5e1;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.workspace-session.active {
  border-color: rgba(96, 165, 250, 0.58);
  background: rgba(37, 99, 235, 0.16);
}

.workspace-session strong {
  color: #f8fafc;
  font-size: 13px;
}

.workspace-session span,
.workspace-session i,
.workspace-check-list span,
.workspace-message .message-time,
.workspace-manual-list,
.workspace-step small {
  color: #9ca3af;
  font-size: 12px;
  font-style: normal;
}

.workspace-session i {
  width: max-content;
  color: #fca5a5;
}

.workspace-empty-note,
.workspace-empty-state {
  color: #9ca3af;
  font-size: 13px;
}

.workspace-message .message-text p,
.workspace-message .message-text ul,
.workspace-message .message-text ol,
.workspace-message .message-text blockquote,
.workspace-markdown-table-wrap {
  margin: 0 0 12px;
}

.workspace-message .message-text p:last-child,
.workspace-message .message-text ul:last-child,
.workspace-message .message-text ol:last-child,
.workspace-message .message-text blockquote:last-child,
.workspace-markdown-table-wrap:last-child {
  margin-bottom: 0;
}

.workspace-message .message-text h1,
.workspace-message .message-text h2,
.workspace-message .message-text h3,
.workspace-message .message-text h4,
.workspace-message .message-text h5 {
  margin: 0 0 10px;
  color: #f8fafc;
  font-size: 15px;
  line-height: 1.35;
}

.workspace-message .message-text ul,
.workspace-message .message-text ol {
  padding-left: 20px;
}

.workspace-message .message-text li + li {
  margin-top: 5px;
}

.workspace-message .message-text blockquote {
  border-left: 3px solid rgba(96, 165, 250, 0.7);
  padding: 8px 10px;
  border-radius: 0 10px 10px 0;
  background: rgba(37, 99, 235, 0.12);
  color: #cbd5e1;
}

.workspace-message .message-text code {
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 6px;
  padding: 1px 5px;
  background: rgba(15, 23, 42, 0.72);
  color: #bfdbfe;
  font-size: 0.92em;
}

.workspace-message .message-text a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.workspace-markdown-table-wrap {
  overflow-x: auto;
  border: 2px solid rgba(0, 0, 0, 0.72);
  border-radius: 12px;
  background: rgba(6, 18, 40, 0.54);
}

.workspace-markdown-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 320px;
}

.workspace-markdown-table th,
.workspace-markdown-table td {
  padding: 9px 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  text-align: left;
  vertical-align: top;
}

.workspace-markdown-table th {
  color: #f8fafc;
  background: rgba(37, 99, 235, 0.18);
  font-weight: 700;
}

.workspace-markdown-table tr:last-child td {
  border-bottom: 0;
}

.workspace-empty-state {
  display: grid;
  min-height: 320px;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
}

.workspace-empty-state div {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(147, 197, 253, 0.18);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #bfdbfe;
  font-weight: 900;
}

.workspace-messages {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 420px;
  max-height: min(56vh, 620px);
  overflow: auto;
  border: 2px solid rgba(0, 0, 0, 0.72);
  border-radius: 18px;
  padding: 16px;
  background: rgba(2, 6, 23, 0.42);
}

.workspace-message {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
}

.workspace-message.user {
  direction: rtl;
}

.workspace-message.user > * {
  direction: ltr;
}

.message-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.16);
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 900;
}

.workspace-message.user .message-avatar {
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
}

.workspace-message .message-content {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.workspace-message.user .message-content {
  justify-items: end;
}

.workspace-message .message-text {
  max-width: min(680px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #e5e7eb;
  font-size: 13px;
  line-height: 1.75;
}

.workspace-message.user .message-text {
  background: rgba(37, 99, 235, 0.22);
  color: #eff6ff;
}

.workspace-input-area {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 14px;
}

.workspace-input-area.no-upload {
  grid-template-columns: minmax(0, 1fr) auto;
}

.workspace-input-area textarea,
.workspace-example {
  min-height: 88px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(3, 7, 18, 0.72);
  color: #f8fafc;
  font: inherit;
  padding: 12px;
  resize: vertical;
}

.workspace-check-list label {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.thinking-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.thinking-dots {
  display: inline-flex;
  gap: 4px;
}

.thinking-dots i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #60a5fa;
  animation: thinking-bounce 1.25s ease-in-out infinite;
}

.thinking-dots i:nth-child(2) {
  animation-delay: 0.18s;
}

.thinking-dots i:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes thinking-bounce {
  0%, 80%, 100% {
    opacity: 0.42;
    transform: scale(0.62);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}

.workspace-agent-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.2fr);
  gap: 16px;
  margin-bottom: 16px;
}

.workspace-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  border: 2px solid rgba(0, 0, 0, 0.72);
  border-radius: 14px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.62);
}

.workspace-step span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  grid-row: span 2;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.22);
  color: #bfdbfe;
  font-weight: 900;
}

.workspace-step strong,
.workspace-agent-card .panel-title {
  color: #f8fafc;
}

.workspace-manual-list {
  padding-left: 18px;
}

.manual-url-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  margin-top: 12px;
}

.workspace-example {
  width: 100%;
  margin-top: 12px;
  font-size: 12px;
}

.workspace-usage-hint {
  margin-top: 16px;
}

.workspace-copy-example {
  margin-top: 8px;
}

.generator-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(320px, 1.1fr) minmax(320px, 1.18fr);
  gap: 16px;
}

.generator-sidebar,
.generator-form-panel,
.generator-task-panel,
.admin-form-panel {
  padding: 18px;
}

.generator-side-list,
.generator-task-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.generator-side-list article,
.generator-task {
  display: grid;
  gap: 8px;
  border: 2px solid rgba(0, 0, 0, 0.72);
  border-radius: 16px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(30, 64, 175, 0.16), rgba(15, 23, 42, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.generator-side-list strong,
.generator-task strong {
  color: #f8fafc;
}

.generator-side-list span,
.generator-task p,
.generator-task span {
  margin: 0;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.6;
}

.generator-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.generator-tags button {
  min-height: 30px;
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #bfdbfe;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  padding: 0 10px;
}

.generator-tags button:hover,
.generator-tags button:focus-visible {
  border-color: rgba(191, 219, 254, 0.42);
  outline: none;
  background: rgba(59, 130, 246, 0.2);
}

.generator-balance-panel {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  border: 2px solid rgba(0, 0, 0, 0.72);
  border-radius: 16px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(14, 165, 233, 0.16), rgba(15, 23, 42, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.generator-balance-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.generator-balance-head strong {
  color: #f8fafc;
  font-size: 13px;
}

.generator-balance-head .table-link {
  white-space: nowrap;
}

.generator-balance-body {
  display: grid;
  gap: 8px;
}

.generator-balance-body p {
  margin: 0;
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.6;
}

.generator-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  padding-top: 8px;
}

.generator-balance-row span {
  color: #93a4bd;
  font-size: 12px;
}

.generator-balance-row strong {
  color: #dbeafe;
  font-size: 12px;
  text-align: right;
  word-break: break-word;
}

.generator-task-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.generator-task-head div {
  display: grid;
  gap: 4px;
}

.generator-task-actions {
  display: flex;
  gap: 12px;
}

.task-meta-line {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: #93a4bd;
  font-size: 12px;
}

.task-meta-line span {
  color: #bfdbfe;
  font-weight: 900;
}

.task-meta-line code {
  overflow: hidden;
  max-width: 100%;
  color: #e5e7eb;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.generator-progress {
  position: relative;
  overflow: hidden;
  height: 20px;
  border: 1px solid rgba(147, 197, 253, 0.18);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
}

.generator-progress i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.9), rgba(59, 130, 246, 0.9));
}

.generator-progress span {
  position: relative;
  z-index: 1;
  display: grid;
  height: 100%;
  place-items: center;
  color: #f8fafc;
  font-size: 11px;
  font-weight: 900;
}

.task-result-link {
  width: max-content;
  max-width: 100%;
  color: #93c5fd;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.task-result-link:hover,
.task-result-link:focus-visible {
  color: #dbeafe;
  outline: none;
  text-decoration: underline;
}

.table-action-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.new-key-alert {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto) auto;
  gap: 12px;
  align-items: center;
  margin: 14px 0;
  border: 2px solid rgba(0, 0, 0, 0.72);
  border-radius: 16px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(15, 23, 42, 0.82));
  color: #dbeafe;
}

.new-key-alert code {
  overflow: hidden;
  color: #f8fafc;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.generator-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.generator-form label:has(textarea),
.generator-form button {
  grid-column: 1 / -1;
}

.admin-form-panel {
  margin-bottom: 16px;
}

.settings-tool-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
  padding: 18px;
}

.settings-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.settings-status-card {
  display: grid;
  gap: 7px;
  min-height: 116px;
  border: 2px solid rgba(0, 0, 0, 0.72);
  border-radius: 16px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(30, 64, 175, 0.15), rgba(8, 13, 24, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.settings-status-card span {
  color: #93c5fd;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.settings-status-card strong {
  color: #f8fafc;
  font-size: 18px;
  line-height: 1.28;
}

.settings-status-card small {
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.45;
}

.settings-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.settings-tool-grid button {
  min-height: 42px;
}

.settings-detected-list {
  display: grid;
  gap: 10px;
}

.settings-detected-list div {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.72);
}

.settings-detected-list strong {
  color: #f8fafc;
}

.settings-detected-list span {
  color: #9ca3af;
  font-size: 12px;
}

.admin-inline-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-inline-form button {
  align-self: end;
}

.admin-action-form,
.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.admin-action-form {
  grid-template-columns: 1fr;
}

.credit-selected-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.credit-selected-card div {
  display: grid;
  gap: 6px;
  border: 2px solid rgba(0, 0, 0, 0.72);
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.18), rgba(8, 13, 24, 0.78));
}

.credit-selected-card span,
.admin-inline-hint {
  color: #9ca3af;
  font-size: 13px;
}

.credit-selected-card strong {
  color: #f8fafc;
  font-size: 18px;
}

.admin-inline-hint {
  margin: 14px 0;
}

.admin-subtable {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.admin-package-table input,
.admin-package-table select {
  width: 100%;
  min-width: 110px;
  min-height: 34px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  background: rgba(3, 7, 18, 0.72);
  color: #f8fafc;
  font: inherit;
  padding: 0 9px;
}

.admin-package-table td:nth-child(4) input {
  min-width: 220px;
}

.admin-filter-row {
  justify-content: flex-end;
}

.admin-filter-row .toolbar-picker {
  width: 170px;
}

.admin-voice-filter-row .toolbar-picker {
  width: 190px;
}

.admin-voice-filter-row .toolbar-picker:last-of-type {
  width: 240px;
}

.admin-secondary-table {
  margin-top: 16px;
}

.admin-table .status-tag {
  min-width: 72px;
  justify-content: center;
}

.console-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.console-modal[hidden] {
  display: none !important;
}

.console-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(4px);
}

.console-modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid rgba(0, 0, 0, 0.7);
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(15, 18, 27, 0.98), rgba(8, 11, 18, 0.98));
  color: #e5e7eb;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

.console-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  cursor: pointer;
  font: inherit;
  font-size: 20px;
}

.console-modal h3 {
  margin: 0 40px 16px 0;
  color: #f8fafc;
  font-size: 22px;
}

.console-form {
  display: grid;
  gap: 14px;
}

.console-form label {
  display: grid;
  gap: 7px;
  color: #9fbbe0;
  font-size: 13px;
  font-weight: 800;
}

.console-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

.dialog-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #9ca3af;
  font-size: 12px;
}

.order-list {
  display: grid;
  gap: 10px;
}

.order-item {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.order-item span {
  display: grid;
  gap: 3px;
  color: #f8fafc;
}

.order-item small {
  color: #9ca3af;
}

.dialog-total {
  margin-top: 12px;
  color: #f8fafc;
  font-weight: 700;
  text-align: right;
}

.confirm-card {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.confirm-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.55;
}

.confirm-card b {
  color: #f8fafc;
}

@media (max-width: 1280px) {
  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-main {
    grid-template-columns: 1fr;
  }

  .side-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .console-app-page {
    overflow: hidden;
  }

  .console-layout {
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .console-app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 40;
    width: min(82vw, 280px);
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.24s ease;
  }

  .console-layout.mobile-nav-open .console-app-sidebar {
    transform: translateX(0);
  }

  .console-mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 39;
    display: block;
    border: 0;
    background: rgba(2, 6, 23, 0.58);
    backdrop-filter: blur(2px);
  }

  .console-logo {
    margin: 14px 14px 10px;
    padding: 14px;
  }

  .console-logo-mark {
    font-size: 22px;
  }

  .console-user-section {
    width: 100%;
  }

  .console-desktop-language {
    display: none;
  }

  .console-mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px 0;
    background: linear-gradient(180deg, rgba(7, 11, 20, 0.96), rgba(7, 11, 20, 0.72));
  }

  .console-mobile-menu-btn,
  .console-mobile-language-btn,
  .console-mobile-logout-btn {
    display: inline-flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.92);
    color: #e2e8f0;
    cursor: pointer;
    font: inherit;
    padding: 0 14px;
  }

  .console-mobile-menu-btn {
    width: 40px;
    padding: 0;
    font-size: 18px;
  }

  .console-mobile-language-btn,
  .console-mobile-logout-btn {
    font-size: 13px;
    font-weight: 750;
  }

  .console-mobile-brand {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .console-mobile-brand span {
    color: #f8fafc;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.1;
  }

  .console-mobile-brand small {
    color: #64748b;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .console-el-main {
    height: calc(100vh - 54px);
    padding: 12px;
  }

  .dashboard-page {
    border-radius: 20px;
    padding: 14px;
  }

  .dashboard-hero,
  .panel-header,
  .quick-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .summary-grid,
  .bottom-grid,
  .side-stack {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 13px;
    line-height: 1.7;
  }

  .metric-value {
    font-size: 20px;
  }

  .chart-panel {
    min-height: auto;
  }

  .chart-area {
    display: none;
  }

  .mobile-chart-list {
    display: grid;
  }

  .mobile-chart-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .recharge-page,
  .finance-page,
  .console-docs-page,
  .workspace-page,
  .generator-page,
  .admin-page {
    border-radius: 20px;
    padding: 14px;
  }

  .recharge-hero h1 {
    font-size: 28px;
  }

  .recharge-page .pricing-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    border-radius: 22px;
  }

  .recharge-page .package-grid--plans,
  .recharge-page .package-grid--personal,
  .recharge-page .package-grid--single {
    grid-template-columns: minmax(238px, 1fr);
    overflow: visible;
    padding-inline: 0;
  }

  .recharge-page .pricing-card {
    min-height: auto;
  }

  .finance-hero,
  .toolbar,
  .finance-hero .hero-actions,
  .quick-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .finance-hero h1 {
    font-size: 24px;
  }

  .finance-summary-grid,
  .title-grid,
  .docs-shortcut-grid {
    grid-template-columns: 1fr;
  }

  .generator-grid,
  .workspace-chat-grid,
  .workspace-agent-grid,
  .settings-status-grid,
  .settings-tool-grid,
  .new-key-alert,
  .generator-form,
  .admin-inline-form,
  .workspace-input-area,
  .manual-url-row {
    grid-template-columns: 1fr;
  }

  .generator-task-head,
  .admin-filter-row,
  .workspace-step {
    align-items: flex-start;
    flex-direction: column;
  }

  .workspace-messages {
    min-height: 320px;
    max-height: 52vh;
  }

  .finance-page .dark-table-wrap {
    display: none;
  }

  .mobile-record-list {
    display: grid;
  }

  .mobile-record-grid {
    grid-template-columns: 1fr;
  }

  .toolbar-controls,
  .toolbar-select,
  .toolbar-picker,
  .action-primary,
  .action-secondary {
    width: 100%;
  }

  .console-modal {
    padding: 14px;
  }

  .dialog-meta,
  .order-item,
  .console-modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .rank-item,
  .insight-item {
    align-items: flex-start;
    flex-direction: column;
  }
}

.console-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 48% 28% at 12% 10%, rgba(94, 118, 255, 0.18), transparent 72%),
    radial-gradient(ellipse 38% 24% at 88% 4%, rgba(64, 216, 144, 0.12), transparent 70%),
    var(--bg);
}

.console-main {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: 24px;
  width: min(1500px, calc(100% - 72px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 104px 0 34px;
}

.console-sidebar,
.console-panel,
.console-summary-card,
.console-hero-panel {
  border: 2px solid rgba(0, 0, 0, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(12, 18, 33, 0.86);
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.24);
}

.console-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  min-height: calc(100vh - 130px);
  padding: 20px;
}

.console-sidebar-brand {
  display: grid;
  gap: 3px;
  margin-bottom: 24px;
}

.console-sidebar-brand strong {
  color: #f8fbff;
  font-size: 20px;
  line-height: 1.1;
}

.console-sidebar-brand span {
  color: #93a4c8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-menu {
  display: grid;
  gap: 8px;
}

.console-menu a {
  display: flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 13px;
  color: #b9c4dd;
  font-size: 14px;
  font-weight: 850;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.console-menu a:hover,
.console-menu a:focus-visible,
.console-menu a.active {
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(69, 103, 224, 0.16);
  color: #f8fbff;
  outline: none;
}

.console-menu a:hover,
.console-menu a:focus-visible {
  transform: translateX(2px);
}

.console-account-card {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: rgba(4, 8, 18, 0.38);
}

.console-account-card span {
  color: #f8fbff;
  font-weight: 850;
}

.console-account-card strong {
  color: #8be7bc;
  font-size: 13px;
}

.console-account-card button {
  width: 100%;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #dce5fb;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}

.console-workspace {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.console-hero-panel {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
}

.console-kicker {
  margin: 0 0 8px;
  color: #8eb8ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.console-hero-panel h1 {
  margin: 0;
  color: #f8fbff;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

.console-hero-panel p:not(.console-kicker) {
  max-width: 720px;
  margin: 12px 0 0;
  color: #aebbd3;
  font-size: 16px;
  line-height: 1.65;
}

.console-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.console-hero-badges span {
  border: 1px solid rgba(96, 165, 250, 0.26);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(96, 165, 250, 0.12);
  color: #dbeafe;
  font-size: 12px;
  font-weight: 850;
}

.console-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.console-summary-card {
  display: grid;
  gap: 14px;
  min-height: 172px;
  padding: 18px;
}

.console-summary-card > span,
.console-panel-head strong {
  color: #f8fbff;
  font-size: 17px;
  font-weight: 900;
}

.console-summary-card div {
  display: grid;
  gap: 4px;
}

.console-summary-card small,
.console-insight-list span,
.console-panel-head p,
.console-quick-list span,
.console-tips-list span,
.console-rank-item small {
  color: #97a8c7;
}

.console-summary-card strong {
  color: #f8fbff;
  font-size: 21px;
  line-height: 1.15;
}

.console-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.72fr);
  align-items: start;
  gap: 18px;
}

.console-panel {
  padding: 20px;
}

.console-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.console-panel-head.compact {
  display: grid;
  gap: 6px;
}

.console-panel-head p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

.console-panel-head > span {
  color: #cfe0ff;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.console-chart {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  min-height: 320px;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 26px 18px 18px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 72px),
    rgba(3, 7, 16, 0.34);
}

.console-chart-column {
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 8px;
  height: 270px;
  min-width: 0;
  text-align: center;
}

.console-bar-shell {
  display: flex;
  min-height: 0;
  align-items: end;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.console-bar-fill {
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--bar-start), var(--bar-end));
  box-shadow: 0 0 24px rgba(96, 165, 250, 0.22);
}

.console-chart-column strong {
  color: #eef4ff;
  font-size: 13px;
}

.console-chart-column span {
  color: #aebbd3;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.console-side-stack {
  display: grid;
  gap: 18px;
}

.console-insight-list,
.console-quick-list,
.console-tips-list,
.console-rank-list {
  display: grid;
  gap: 10px;
}

.console-insight-list div,
.console-tips-list div,
.console-rank-item,
.console-quick-list a {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  background: rgba(4, 8, 18, 0.32);
}

.console-insight-list div,
.console-rank-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.console-insight-list strong,
.console-rank-item strong,
.console-tips-list strong,
.console-quick-list strong {
  color: #f8fbff;
  font-size: 14px;
}

.console-quick-list a,
.console-tips-list div {
  display: grid;
  gap: 4px;
}

.console-quick-list a {
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.console-quick-list a:hover,
.console-quick-list a:focus-visible {
  border-color: rgba(96, 165, 250, 0.38);
  background: rgba(69, 103, 224, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.console-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.console-rank-item div {
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 10px;
}

.console-rank-item div span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  grid-row: span 2;
  border-radius: 8px;
  background: rgba(94, 118, 255, 0.18);
  color: #c7d2fe;
  font-size: 12px;
  font-weight: 900;
}

.console-rank-item em {
  color: #8be7bc;
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .site-nav {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: auto;
    padding: 16px 24px;
  }

  .brand,
  .locale-switch {
    justify-self: center;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 18px 28px;
  }

  .nav-links a {
    padding: 6px 0;
  }

  .nav-links a::after {
    bottom: -3px;
  }

  .locale-switch {
    min-width: 0;
    border-left: 0;
    padding-left: 0;
  }

  .auth-shell,
  .invite-shell {
    grid-template-columns: 1fr;
  }

  .auth-copy {
    padding: 30px;
  }

  .hero-content {
    padding-top: 190px;
  }

  .model-section,
  .download-section,
  .page-hero.split,
  .content-band.split,
  .doc-split,
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .model-copy {
    justify-self: start;
    transform: none;
  }

  .seed-system {
    justify-self: center;
  }

  .cli-download-hero .command-panel {
    width: 100%;
    justify-self: stretch;
    align-self: auto;
    transform: none;
  }

  .workflow-steps,
  .surface-grid,
  .features-grid,
  .feature-grid.plain,
  .command-grid,
  .pricing-grid,
  .package-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .console-main {
    grid-template-columns: 1fr;
    width: min(100% - 44px, 960px);
    padding-top: 190px;
  }

  .console-sidebar {
    position: static;
    min-height: auto;
  }

  .console-summary-grid,
  .console-bottom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .console-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .console-chart {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .workflow-section,
  .surface-section,
  .model-section,
  .scene-reconstruction-section,
  .features-section,
  .download-section,
  .site-footer,
  .page-hero,
  .content-band,
  .docs-layout,
  .product-preview-section,
  .legal-document,
  .notice-panel {
    width: min(100% - 34px, 720px);
  }

  .hero h1 {
    font-size: 60px;
  }

  .hero p:not(.hero-eyebrow) {
    font-size: 28px;
  }

  .hero-actions {
    margin-top: 46px;
  }

  .section-header h2,
  .model-copy h2,
  .download-section h2 {
    font-size: 30px;
  }

  .workflow-steps,
  .surface-grid,
  .features-grid,
  .feature-grid.plain,
  .installer-downloads,
  .command-grid,
  .pricing-grid,
  .package-grid,
  .faq-grid,
  .docs-sidebar {
    grid-template-columns: 1fr;
  }

  .install-command-row,
  .enterprise-contact-form {
    grid-template-columns: 1fr;
  }

  .hero-installer-download-list {
    grid-template-columns: 1fr;
  }

  .hero-installer-download-list .installer-download-link {
    align-items: center;
  }

  .hero-installer-download-list .installer-download-link small {
    text-align: center;
  }

  .page-hero {
    min-height: auto;
    padding: 156px 0 64px;
  }

  .subpage:not([data-page="cli"]) .page-hero {
    padding: 118px 0 20px;
  }

  .subpage:not([data-page="cli"]) .page-hero + .content-band {
    padding-top: 22px;
  }

  .page-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .page-hero p:not(.eyebrow) {
    font-size: 17px;
  }

  .model-section {
    margin-top: -8px;
    margin-bottom: 42px;
  }

  .feature-card {
    min-height: 276px;
  }

  .seed-system {
    min-height: 360px;
  }

  .ring-one {
    width: 264px;
    height: 264px;
  }

  .ring-two {
    width: 176px;
    height: 176px;
  }

  .seed-core {
    width: 124px;
    height: 154px;
  }

  .magic-seed {
    width: 92px;
    height: 130px;
  }

  .seed-inner-core {
    top: 70px;
    width: 34px;
    height: 34px;
  }

  .seed-label {
    display: none;
  }

  .console-main {
    width: min(100% - 34px, 720px);
    padding-top: 210px;
  }

  .console-hero-panel {
    display: grid;
    padding: 22px;
  }

  .console-hero-badges {
    justify-content: flex-start;
  }

  .console-summary-grid,
  .console-bottom-grid {
    grid-template-columns: 1fr;
  }

  .console-panel-head {
    display: grid;
  }

  .console-panel-head > span {
    white-space: normal;
  }

  .console-chart {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: auto;
  }

  .console-chart-column {
    height: 220px;
  }
}

@media (max-width: 560px) {
  main > section[id] {
    scroll-margin-top: 186px;
  }

  .site-nav {
    align-items: start;
  }

  .nav-links {
    justify-content: flex-start;
    font-size: 14px;
  }

  .brand,
  .locale-switch {
    justify-self: start;
  }

  .locale-switch,
  .auth-nav {
    flex-wrap: wrap;
  }

  .auth-main {
    padding-top: 188px;
  }

  .auth-shell {
    width: min(100% - 28px, 520px);
  }

  .auth-card,
  .auth-copy {
    padding: 22px;
  }

  .auth-copy h1 {
    font-size: 40px;
  }

  .console-main {
    width: min(100% - 26px, 520px);
    padding-top: 220px;
  }

  .console-sidebar,
  .console-panel,
  .console-summary-card,
  .console-hero-panel {
    padding: 16px;
  }

  .console-chart {
    gap: 12px;
    padding: 18px 12px 14px;
  }

  .console-chart-column {
    height: 188px;
  }

  .console-insight-list div,
  .console-rank-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .inline-field {
    display: grid;
  }

  .secondary-form-button {
    min-height: 44px;
  }

  .invite-form {
    grid-template-columns: 1fr;
  }

  .hero-content {
    width: min(100% - 28px, 460px);
    padding-top: 176px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero p:not(.hero-eyebrow) {
    font-size: 23px;
  }

  .action {
    width: min(100%, 300px);
  }

  .workflow-demo-frame {
    width: 100%;
    padding: 8px;
  }

  .carousel-control {
    width: 38px;
    height: 56px;
    font-size: 38px;
  }

  .carousel-control-prev {
    left: 14px;
  }

  .carousel-control-next {
    right: 14px;
  }

  .carousel-dots {
    right: 16px;
    bottom: 16px;
    gap: 6px;
  }

  .carousel-dots button {
    width: 7px;
    height: 7px;
  }

  .carousel-dots button.active {
    width: 20px;
  }

  .workflow-steps article,
  .surface-card,
  .feature-card,
  .terminal-card,
  .command-panel,
  .belief-panel,
  .pricing-card,
  .doc-section,
  .command-grid article,
  .faq-grid article {
    padding: 16px;
  }

  .surface-card {
    min-height: 220px;
    padding: 24px 22px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
