@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800;900&family=Space+Grotesk:wght@600;700;800&display=swap");

body::after {
  background:
    radial-gradient(620px circle at var(--pointer-x, 62%) var(--pointer-y, 20%), rgba(255, 194, 71, 0.13), transparent 62%),
    radial-gradient(220px circle at var(--pointer-x, 62%) var(--pointer-y, 20%), rgba(255, 255, 255, 0.05), transparent 62%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 18%, transparent 80%, rgba(0, 0, 0, 0.56));
}

button {
  font: inherit;
}

html {
  font-family:
    "Manrope",
    "Segoe UI",
    Arial,
    sans-serif;
  scroll-padding-top: 92px;
}

h1,
h2,
h3 {
  font-family:
    "Space Grotesk",
    "Manrope",
    "Segoe UI",
    Arial,
    sans-serif;
  font-weight: 800;
}

h1 {
  max-width: 620px;
  font-size: 4.75rem;
  line-height: 0.96;
}

h2 {
  max-width: 860px;
  font-size: 4.625rem;
  line-height: 1;
}

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

.hero-console {
  grid-template-columns: minmax(500px, 0.82fr) minmax(560px, 1fr);
  gap: 60px;
}

.console-frame {
  align-self: center;
}

@media (max-width: 1240px) {
  .hero-console {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .console-frame {
    width: min(760px, 100%);
  }
}

.hero-subline {
  max-width: 650px;
  color: rgba(255, 243, 223, 0.72);
  font-size: 1.0625rem;
  font-weight: 700;
}

.section-heading p,
.access-copy p {
  color: rgba(255, 243, 223, 0.66);
  font-weight: 650;
}

.rail-mark {
  position: relative;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 194, 71, 0.1), rgba(255, 116, 23, 0.045)),
    rgba(5, 3, 2, 0.88);
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 32px rgba(255, 168, 31, 0.12);
}

.rail-item {
  position: relative;
  z-index: 2;
  border-color: transparent;
  background: transparent;
  color: rgba(255, 243, 223, 0.54);
  transition:
    color 420ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 420ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 420ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.rail::before {
  position: absolute;
  top: 82px;
  left: 21px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 194, 71, 0.34);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 230, 140, 0.18), transparent 72%),
    linear-gradient(180deg, rgba(255, 194, 71, 0.13), rgba(255, 116, 23, 0.07));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 42px rgba(255, 136, 0, 0.13),
    0 0 0 1px rgba(255, 236, 178, 0.04);
  content: "";
  pointer-events: none;
  transform: translateY(calc(var(--rail-active-index, 0) * 62px));
  transition: transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rail-item:hover {
  border-color: rgba(255, 194, 71, 0.2);
  background: rgba(255, 194, 71, 0.045);
  color: rgba(255, 213, 94, 0.9);
  transform: translateY(-1px);
}

.rail-item.active {
  border-color: transparent;
  background: transparent;
  color: var(--gold);
  box-shadow: none;
}

.rail-item:focus-visible {
  outline: 2px solid rgba(255, 194, 71, 0.55);
  outline-offset: 4px;
}

.rail-item::after {
  position: absolute;
  left: 56px;
  z-index: 4;
  min-width: 88px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 5, 3, 0.94);
  color: var(--text);
  content: attr(data-label);
  opacity: 0;
  padding: 8px 10px;
  pointer-events: none;
  transform: translateX(-10px) scale(0.98);
  transform-origin: left center;
  transition:
    opacity 260ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
}

.rail-item:hover::after {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.rail-icon {
  position: relative;
  display: block;
  width: 18px !important;
  height: 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 0.92;
  transition:
    opacity 420ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 420ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rail-item.active .rail-icon,
.rail-item:hover .rail-icon {
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(255, 194, 71, 0.22));
  transform: scale(1.06);
}

.grid-icon {
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 7px 7px,
    linear-gradient(currentColor, currentColor) 11px 0 / 7px 7px,
    linear-gradient(currentColor, currentColor) 0 11px / 7px 7px,
    linear-gradient(currentColor, currentColor) 11px 11px / 7px 7px;
  background-repeat: no-repeat;
}

.bars-icon {
  background:
    linear-gradient(currentColor, currentColor) 0 13px / 4px 5px,
    linear-gradient(currentColor, currentColor) 7px 7px / 4px 11px,
    linear-gradient(currentColor, currentColor) 14px 2px / 4px 16px;
  background-repeat: no-repeat;
}

.stack-icon,
.stack-icon::before,
.stack-icon::after {
  border: 1px solid currentColor;
  border-radius: 3px;
}

.stack-icon::before,
.stack-icon::after {
  position: absolute;
  content: "";
  inset: 3px;
}

.stack-icon::after {
  inset: 6px;
}

.shield-icon {
  clip-path: polygon(50% 0, 88% 15%, 80% 76%, 50% 100%, 20% 76%, 12% 15%);
  background: currentColor;
}

.arrow-icon::before {
  position: absolute;
  inset: 4px 2px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.arrow-icon::after {
  position: absolute;
  top: 8px;
  right: 5px;
  left: 2px;
  height: 2px;
  background: currentColor;
  content: "";
}

.command-search {
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.command-search:hover,
.command-search:focus-visible {
  border-color: rgba(255, 194, 71, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 34px rgba(255, 194, 71, 0.08);
  outline: none;
}

.nav-links a.active {
  color: var(--gold);
}

.language-switch {
  display: inline-flex;
  overflow: hidden;
  align-items: center;
  border: 1px solid rgba(255, 194, 71, 0.18);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 194, 71, 0.055), rgba(255, 116, 23, 0.025)),
    rgba(6, 4, 3, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 34px rgba(0, 0, 0, 0.22);
}

.language-switch button {
  min-width: 38px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.language-switch button + button {
  border-left: 1px solid rgba(255, 194, 71, 0.12);
}

.language-switch button:hover,
.language-switch button:focus-visible {
  color: var(--gold);
  outline: none;
}

.language-switch button.is-active {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 232, 143, 0.24), transparent 80%),
    rgba(255, 194, 71, 0.14);
  color: var(--gold);
}

.command-palette {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: start center;
  background:
    radial-gradient(560px circle at var(--pointer-x, 50%) 10%, rgba(255, 194, 71, 0.12), transparent 62%),
    rgba(0, 0, 0, 0.58);
  opacity: 0;
  padding: 112px 18px 18px;
  pointer-events: none;
  transition: opacity 180ms ease;
  backdrop-filter: blur(12px);
}

.command-palette.is-open {
  opacity: 1;
  pointer-events: auto;
}

.palette-panel {
  width: min(680px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 194, 71, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(20, 14, 9, 0.98), rgba(7, 4, 3, 0.98)),
    radial-gradient(circle at 18% 0%, rgba(255, 194, 71, 0.12), transparent 20rem);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 40px 120px rgba(0, 0, 0, 0.72);
  transform: translateY(-10px) scale(0.98);
  transition: transform 180ms ease;
}

.command-palette.is-open .palette-panel {
  transform: translateY(0) scale(1);
}

.palette-input-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 194, 71, 0.13);
  padding: 14px;
}

.palette-mark,
#palette-close {
  display: inline-grid;
  min-width: 38px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 194, 71, 0.18);
  border-radius: 7px;
  background: rgba(255, 194, 71, 0.055);
  color: var(--gold);
  font-weight: 950;
}

#palette-input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  outline: none;
}

#palette-input::placeholder {
  color: var(--faint);
}

#palette-close {
  cursor: pointer;
  font-size: 11px;
}

.palette-list {
  display: grid;
  gap: 6px;
  padding: 10px;
}

.palette-list button {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) 1fr;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 0 14px;
  text-align: left;
}

.palette-list button:hover,
.palette-list button.is-active {
  border-color: rgba(255, 194, 71, 0.18);
  background: rgba(255, 194, 71, 0.075);
}

.palette-list span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.palette-list small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.motion-button {
  position: relative;
  border-color: rgba(255, 220, 128, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 236, 154, 1) 0%, rgba(255, 184, 54, 0.98) 50%, rgba(255, 116, 23, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    inset 0 -14px 26px rgba(111, 45, 0, 0.14),
    0 18px 46px rgba(255, 123, 18, 0.22),
    0 0 0 1px rgba(255, 244, 204, 0.08);
}

.motion-button::before {
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius) - 1px);
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.32) 45%, transparent 62%);
  content: "";
  opacity: 0;
  transform: translateX(-80%);
  transition:
    opacity 220ms ease,
    transform 680ms ease;
}

.motion-button:hover::before {
  opacity: 1;
  transform: translateX(80%);
}

.motion-button:hover,
.quiet-button:hover,
.discord-link:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 24px 70px rgba(255, 142, 24, 0.2);
}

.button-arrow {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(18, 8, 1, 0.16);
  border-radius: 7px;
  background: rgba(18, 8, 1, 0.08);
  font-size: 17px;
  line-height: 1;
}

.status-pill i {
  background: var(--gold);
  box-shadow: 0 0 18px rgba(255, 194, 71, 0.58);
}

.console-window-bar em,
.job-row .ready,
.metric-grid small {
  color: var(--gold);
}

.console-window-bar em {
  border-color: rgba(255, 194, 71, 0.22);
  background: rgba(255, 194, 71, 0.08);
}

.dot.amber {
  background: var(--amber);
}

.metric-grid article.signal-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 194, 71, 0.14), transparent 12rem),
    linear-gradient(135deg, rgba(255, 125, 24, 0.08), rgba(255, 194, 71, 0.025));
}

.console-frame,
.system-board,
.pricing-panel {
  position: relative;
  isolation: isolate;
}

.console-frame::before,
.system-board::before,
.pricing-panel::before,
.tool-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(115deg, rgba(255, 243, 207, 0.08), transparent 22%, transparent 70%, rgba(255, 159, 34, 0.12)),
    radial-gradient(circle at 18% 0%, rgba(255, 207, 87, 0.1), transparent 18rem);
  content: "";
  opacity: 0.82;
  pointer-events: none;
}

.console-frame {
  animation: consoleFloat 7s ease-in-out infinite;
}

.console-window-bar em {
  animation: softPulse 2.8s ease-in-out infinite;
}

.metric-grid article,
.tool-card,
.job-row,
.signal-list p {
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
}

.metric-grid article:hover,
.tool-card:hover,
.job-row:hover,
.signal-list p:hover {
  border-color: rgba(255, 194, 71, 0.34);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32), 0 0 42px rgba(255, 142, 24, 0.08);
  transform: translateY(-3px);
}

.chart-lines i {
  animation: barBreath 3.6s ease-in-out infinite;
}

.chart-lines i:nth-child(2) {
  animation-delay: 120ms;
}

.chart-lines i:nth-child(3) {
  animation-delay: 240ms;
}

.chart-lines i:nth-child(4) {
  animation-delay: 360ms;
}

.chart-lines i:nth-child(5) {
  animation-delay: 480ms;
}

.chart-lines i:nth-child(6) {
  animation-delay: 600ms;
}

.status-pill {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 38px rgba(255, 194, 71, 0.08);
}

.section::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 194, 71, 0.08), transparent);
  content: "";
  pointer-events: none;
}

@keyframes consoleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes barBreath {
  0%,
  100% {
    filter: saturate(1);
    transform: scaleY(1);
  }
  50% {
    filter: saturate(1.18) brightness(1.08);
    transform: scaleY(1.035);
  }
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 194, 71, 0);
  }
  50% {
    box-shadow: 0 0 26px rgba(255, 194, 71, 0.16);
  }
}

.job-row .ready {
  border-color: rgba(255, 194, 71, 0.28);
}

@media (max-width: 820px) {
  body::after {
    background:
      radial-gradient(420px circle at var(--pointer-x, 62%) var(--pointer-y, 20%), rgba(255, 194, 71, 0.08), transparent 64%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 52%, rgba(0, 0, 0, 0.36));
  }

  h1 {
    max-width: 600px;
    font-size: 4rem;
    line-height: 0.98;
  }

  h2 {
    font-size: 3.25rem;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 3.15rem;
    line-height: 1;
  }

  h2 {
    font-size: 2.75rem;
  }

  .top-actions {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
  }

  .top-actions .language-switch {
    width: max-content;
  }
}
