:root {
  --bg: #030207;
  --bg-soft: #090512;
  --panel: rgba(16, 10, 28, 0.58);
  --panel-strong: rgba(23, 13, 40, 0.76);
  --text: #f7f3ff;
  --muted: #a99dbf;
  --line: rgba(184, 92, 255, 0.22);
  --violet: #9d35ff;
  --violet-soft: #6821d6;
  --magenta: #e14dff;
  --radius-pill: 999px;
  --shadow: 0 24px 80px rgba(54, 0, 116, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar,
html::-webkit-scrollbar {
  width: 0;
  height: 0;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 35%, rgba(126, 40, 255, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(3, 2, 7, 0.54), #030207 92%),
    url("assets/move-engine-background.png") center / cover no-repeat;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 2, 7, 0.92), rgba(3, 2, 7, 0.62) 50%, rgba(3, 2, 7, 0.92)),
    rgba(3, 2, 7, 0.62);
  pointer-events: none;
}

.site-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(157, 53, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 53, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  opacity: 0.34;
  pointer-events: none;
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(36px);
  pointer-events: none;
}

.ambient-one {
  width: 360px;
  height: 360px;
  top: 18%;
  left: 10%;
  background: rgba(125, 36, 255, 0.18);
  animation: drift 8s ease-in-out infinite;
}

.ambient-two {
  width: 420px;
  height: 420px;
  right: 9%;
  bottom: 10%;
  background: rgba(225, 77, 255, 0.12);
  animation: drift 9s ease-in-out infinite reverse;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 22px clamp(18px, 4vw, 64px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-width: 0;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.brand-image {
  display: block;
  width: 250px;
  height: 88px;
  object-fit: cover;
  object-position: center 54%;
  border-radius: 6px;
  filter: drop-shadow(0 0 16px rgba(160, 61, 255, 0.42));
}

.nav-panel,
.login-button {
  border: 1px solid rgba(202, 136, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(8, 5, 16, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 40px rgba(0, 0, 0, 0.28),
    0 0 30px rgba(112, 31, 220, 0.1);
  backdrop-filter: blur(18px);
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px;
  border-radius: var(--radius-pill);
}

.nav-link,
.login-button {
  border-radius: var(--radius-pill);
  border: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition:
    transform 180ms ease,
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.nav-link {
  min-width: 104px;
  padding: 12px 18px;
  background: transparent;
  color: rgba(247, 243, 255, 0.66);
  font-size: 12px;
  font-weight: 800;
}

.nav-link:hover,
.login-button:hover {
  color: #fff;
  transform: translateY(-1px);
}

.nav-link.active {
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.26), transparent 40%),
    linear-gradient(135deg, rgba(132, 44, 255, 0.95), rgba(89, 24, 185, 0.74));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 10px 28px rgba(117, 37, 255, 0.38);
}

.login-button {
  justify-self: end;
  padding: 14px 25px;
  background-color: rgba(8, 5, 16, 0.58);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 900;
}

.login-button.logged {
  border-color: rgba(157, 53, 255, 0.5);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(132, 44, 255, 0.92), rgba(88, 101, 242, 0.72));
  color: #fff;
  box-shadow: 0 14px 34px rgba(104, 33, 214, 0.34);
}

.account-area {
  position: relative;
  display: grid;
  justify-self: end;
  justify-items: end;
}

.account-area .login-button {
  justify-self: auto;
  max-width: min(260px, 34vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 32;
  width: min(310px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid rgba(202, 136, 255, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(225, 77, 255, 0.15), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(12, 7, 22, 0.96);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.58),
    0 0 36px rgba(157, 53, 255, 0.18);
  backdrop-filter: blur(18px);
  animation: menuIn 160ms ease both;
}

.account-menu[hidden] {
  display: none;
}

.account-menu-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.045);
}

.account-menu-avatar {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.24), transparent 46%),
    linear-gradient(135deg, #a640ff, #5865f2);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(157, 53, 255, 0.3);
}

.account-menu-card strong,
.account-menu-card small {
  display: block;
  min-width: 0;
}

.account-menu-card strong {
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu-card small {
  margin-top: 3px;
  color: rgba(247, 243, 255, 0.56);
  font-size: 12px;
  font-weight: 800;
}

.account-menu-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  border: 1px solid rgba(255, 93, 130, 0.24);
  border-radius: 15px;
  background: rgba(255, 93, 130, 0.08);
  color: #ffd6df;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-menu-logout:hover {
  border-color: rgba(255, 93, 130, 0.46);
  background: rgba(255, 93, 130, 0.13);
}

main {
  position: relative;
  min-height: 100vh;
}

.page-section {
  display: none;
  min-height: 100vh;
  padding: 132px clamp(20px, 5vw, 80px) 56px;
  animation: pageIn 420ms ease both;
}

.page-section.active {
  display: grid;
}

.home-section {
  place-items: center;
  align-content: center;
  gap: 18px;
}

.hero-copy {
  text-align: center;
  animation: riseIn 620ms ease both;
}

.eyebrow {
  margin: 0 0 10px;
  color: #d9bdff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 74px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-shadow: 0 0 36px rgba(157, 53, 255, 0.48);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-card {
  position: relative;
  width: min(320px, 72vw);
  aspect-ratio: 0.68;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform-style: preserve-3d;
  animation: cardEnter 720ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-card::before,
.license-frame-wrap::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -1;
  clip-path: polygon(50% 0, 95% 15%, 95% 84%, 50% 100%, 5% 84%, 5% 15%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(168, 62, 255, 0.2) 44%, rgba(168, 62, 255, 0)),
    linear-gradient(135deg, rgba(232, 198, 255, 0.42), rgba(117, 37, 255, 0.42));
  box-shadow:
    0 0 14px rgba(157, 53, 255, 0.24),
    0 0 36px rgba(116, 29, 221, 0.18);
  opacity: 0.72;
  mask-image: linear-gradient(180deg, #000 0%, #000 68%, rgba(0, 0, 0, 0.55) 82%, transparent 100%);
  pointer-events: none;
}

.card-frame {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: polygon(50% 0, 95% 15%, 95% 84%, 50% 100%, 5% 84%, 5% 15%);
  background:
    radial-gradient(circle at 50% 20%, rgba(150, 51, 255, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(21, 12, 34, 0.96), rgba(4, 3, 9, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(234, 204, 255, 0.18),
    inset 0 0 28px rgba(160, 61, 255, 0.14),
    0 30px 90px rgba(0, 0, 0, 0.58),
    0 0 34px rgba(145, 38, 255, 0.18);
}

.card-frame::before {
  content: "";
  position: absolute;
  inset: 3px;
  z-index: 2;
  clip-path: inherit;
  border: 1px solid rgba(223, 168, 255, 0.2);
  mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
  pointer-events: none;
}

.card-frame img {
  width: 100%;
  height: 100%;
  padding: 17px;
  object-fit: contain;
  object-position: center;
  transform: none;
  transition: transform 420ms ease, filter 420ms ease;
}

.hero-card .card-frame img {
  display: block;
  padding: 0;
  object-fit: cover;
  object-position: center 43%;
}

.card-fade {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(3, 2, 7, 0.86) 62%, #030207);
  pointer-events: none;
}

.hero-card:hover .card-frame img,
.plan-card:hover .plan-media img,
.license-card-button:hover .card-frame img {
  transform: scale(1.035);
  filter: saturate(1.12) contrast(1.08);
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.product-section,
.support-section,
.terms-section,
.tutorial-section {
  align-content: center;
}

.product-section {
  align-content: start;
  padding-top: 126px;
}

.presale-strip {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 16px;
  width: min(980px, 100%);
  margin: 0 auto 34px;
  padding: 14px 18px;
  border: 1px solid rgba(202, 136, 255, 0.22);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(8, 5, 16, 0.66);
  box-shadow: 0 18px 54px rgba(86, 18, 185, 0.22);
  backdrop-filter: blur(16px);
}

.presale-strip span {
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #a640ff, #5b18d2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.presale-strip strong {
  font-size: 15px;
}

.presale-strip small {
  justify-self: end;
  color: rgba(247, 243, 255, 0.58);
}

.license-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(154px, 1fr));
  gap: clamp(18px, 2vw, 26px);
  width: min(1320px, 100%);
  margin: 0 auto;
}

.license-card {
  --card-lift: 0px;
  min-width: 0;
}

.license-card.featured {
  --card-lift: -8px;
}

.license-card.selected {
  --card-lift: -12px;
}

.license-card-button {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  width: 100%;
  padding: 0 0 18px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateY(var(--card-lift));
  animation: cardEnter 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition:
    transform 220ms ease,
    filter 220ms ease;
}

.license-card-button:hover {
  transform: translateY(calc(var(--card-lift) - 8px)) scale(1.018);
  filter: saturate(1.08);
}

.license-card-button:active {
  transform: translateY(calc(var(--card-lift) - 3px)) scale(0.985);
}

.license-time,
.license-price {
  display: grid;
  justify-items: center;
  text-align: center;
}

.license-time {
  min-height: 32px;
  align-content: end;
  color: rgba(255, 255, 255, 0.96);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(157, 53, 255, 0.68);
}

.license-frame-wrap {
  position: relative;
  z-index: 0;
  display: block;
  width: min(176px, 100%);
  aspect-ratio: 0.68;
  transform-style: preserve-3d;
  transition:
    transform 260ms ease,
    filter 260ms ease;
}

.license-frame {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.license-frame img {
  display: block;
  padding: 0;
  object-fit: cover;
  object-position: center 43%;
}

.license-price {
  min-height: 82px;
  margin-top: 4px;
  align-content: start;
}

.license-price small {
  color: #d9bdff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.license-price strong {
  color: #fff;
  font-size: 25px;
  line-height: 1.1;
  text-shadow: 0 0 24px rgba(157, 53, 255, 0.52);
}

.license-price em {
  color: rgba(247, 243, 255, 0.46);
  font-size: 11px;
  font-style: normal;
  text-decoration: line-through;
}

.license-card-button:hover .license-frame-wrap {
  transform: translateY(-5px) rotateX(4deg) scale(1.025);
  filter: drop-shadow(0 18px 28px rgba(103, 26, 214, 0.2));
}

.license-card.selected .license-frame-wrap {
  animation: selectedCardPop 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: drop-shadow(0 20px 34px rgba(157, 53, 255, 0.34));
}

.license-card.selected .license-frame-wrap::before {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(225, 77, 255, 0.32) 42%, rgba(157, 53, 255, 0.08)),
    linear-gradient(135deg, rgba(232, 198, 255, 0.52), rgba(117, 37, 255, 0.58));
  box-shadow:
    0 0 18px rgba(225, 77, 255, 0.36),
    0 0 46px rgba(116, 29, 221, 0.28);
}

.license-card.selected .license-frame::before {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 0 0 1px rgba(225, 77, 255, 0.28),
    inset 0 0 28px rgba(157, 53, 255, 0.22);
}

.license-card.selected .license-frame {
  box-shadow:
    inset 0 0 0 1px rgba(234, 204, 255, 0.3),
    inset 0 0 32px rgba(160, 61, 255, 0.2),
    0 30px 90px rgba(0, 0, 0, 0.62),
    0 0 42px rgba(157, 53, 255, 0.36);
}

.license-card.selected .license-price strong,
.license-card.selected .license-time {
  color: #fff;
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.2),
    0 0 28px rgba(157, 53, 255, 0.76);
}

.checkout-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  width: min(920px, 100%);
  margin: 34px auto 0;
  padding: 20px;
  border: 1px solid rgba(202, 136, 255, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0 0, rgba(0, 174, 255, 0.13), transparent 30%),
    radial-gradient(circle at 100% 0, rgba(225, 77, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(8, 5, 16, 0.74);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.42),
    0 0 46px rgba(117, 37, 255, 0.16);
  backdrop-filter: blur(18px);
}

.checkout-copy h3 {
  margin-bottom: 7px;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.05;
  letter-spacing: 0;
}

.checkout-copy p:last-child {
  margin-bottom: 0;
  max-width: 590px;
}

.checkout-summary {
  display: grid;
  justify-items: end;
  gap: 10px;
  min-width: min(290px, 100%);
}

.checkout-summary span {
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.16),
    0 0 26px rgba(157, 53, 255, 0.55);
}

.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 50px;
  border: 0;
  border-radius: var(--radius-pill);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.24), transparent 36%),
    linear-gradient(135deg, #a640ff, #e14dff);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow:
    0 16px 38px rgba(104, 33, 214, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition:
    transform 180ms ease,
    filter 180ms ease,
    opacity 180ms ease;
}

.checkout-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.12);
}

.checkout-button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.checkout-status {
  min-height: 18px;
  margin: 0;
  color: rgba(247, 243, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.checkout-status.is-success {
  color: #59ffb8;
}

.checkout-status.is-error {
  color: #ff5d82;
}

.interface-showcase {
  display: grid;
  grid-template-columns: minmax(250px, 0.46fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  width: min(1240px, 100%);
  margin: 86px auto 0;
}

.interface-copy h3 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.5vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.interface-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border-radius: 30px;
  perspective: 1100px;
}

.interface-glow {
  position: absolute;
  inset: 12% 8%;
  border-radius: 32px;
  background: radial-gradient(circle, rgba(0, 145, 255, 0.26), transparent 64%);
  filter: blur(34px);
  animation: pulseGlow 3s ease-in-out infinite;
}

.interface-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(0, 174, 255, 0.35);
  border-radius: 26px;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 8%, rgba(0, 145, 255, 0.14), transparent 44%),
    rgba(3, 7, 18, 0.72);
  opacity: 0;
  transform: translateY(22px) rotateX(7deg) scale(0.96);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.58),
    0 0 48px rgba(0, 145, 255, 0.18);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 700ms ease;
  filter: blur(4px) saturate(0.8);
}

.interface-screen.active {
  opacity: 1;
  transform: translateY(0) rotateX(0deg) scale(1);
  filter: blur(0) saturate(1.05);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.plan-card,
.support-panel,
.terms-panel,
.empty-panel {
  border: 1px solid rgba(202, 136, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(8, 5, 16, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.plan-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 14px;
}

.plan-card.featured {
  border-color: rgba(225, 77, 255, 0.42);
  box-shadow:
    var(--shadow),
    0 0 52px rgba(151, 44, 255, 0.18);
}

.plan-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(157, 53, 255, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-media {
  position: relative;
  aspect-ratio: 1.22;
  overflow: hidden;
  border-radius: 20px;
  background: #080510;
}

.plan-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 36% 50%;
  transition: transform 420ms ease, filter 420ms ease;
}

.plan-body {
  padding: 20px 8px 8px;
}

.plan-body h3 {
  font-size: 22px;
}

.price {
  display: flex;
  align-items: end;
  gap: 8px;
  margin: 18px 0 18px;
}

.price strong {
  font-size: 34px;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.benefits {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: rgba(247, 243, 255, 0.78);
  font-size: 14px;
}

.benefits li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 16px rgba(157, 53, 255, 0.9);
}

.pix-button,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: var(--radius-pill);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.22), transparent 36%),
    linear-gradient(135deg, #a640ff, #5b18d2);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow: 0 16px 38px rgba(104, 33, 214, 0.34);
  cursor: pointer;
}

.support-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.support-panel {
  border-radius: 28px;
  padding: 30px;
}

.panel-number {
  display: inline-flex;
  margin-bottom: 34px;
  color: rgba(217, 189, 255, 0.64);
  font-size: 13px;
  font-weight: 900;
}

.terms-panel,
.empty-panel {
  width: min(820px, 100%);
  margin: 0 auto;
  border-radius: 34px;
  padding: clamp(28px, 5vw, 54px);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 2, 7, 0.76);
  backdrop-filter: blur(18px);
}

.modal-backdrop[hidden] {
  display: none;
}

.login-modal {
  position: relative;
  width: min(540px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 30px;
  border: 1px solid rgba(202, 136, 255, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(157, 53, 255, 0.28), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 38%),
    rgba(10, 6, 18, 0.94);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.68);
  animation: modalIn 240ms ease both;
  scrollbar-width: thin;
  scrollbar-color: rgba(157, 53, 255, 0.5) rgba(255, 255, 255, 0.04);
}

.login-modal::-webkit-scrollbar {
  width: 8px;
}

.login-modal::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(157, 53, 255, 0.5);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.auth-hero {
  padding-right: 44px;
}

.auth-hero h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 42px);
}

.auth-hero p:last-child {
  margin-bottom: 0;
}

.auth-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin: 24px 0 16px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.auth-mode-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: rgba(247, 243, 255, 0.64);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-mode-tabs button.active {
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.2), transparent 42%),
    linear-gradient(135deg, rgba(132, 44, 255, 0.95), rgba(89, 24, 185, 0.82));
  box-shadow: 0 12px 28px rgba(117, 37, 255, 0.32);
}

.auth-account-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid rgba(157, 53, 255, 0.26);
  border-radius: 20px;
  background: rgba(157, 53, 255, 0.08);
}

.auth-account-card[hidden] {
  display: none;
}

.account-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.22), transparent 42%),
    linear-gradient(135deg, #a640ff, #4f19bf);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.account-copy {
  display: grid;
  gap: 3px;
}

.account-copy strong {
  font-size: 14px;
}

.account-copy small {
  color: var(--muted);
  font-weight: 700;
}

.logout-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(247, 243, 255, 0.78);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-actions {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
}

.auth-actions[hidden] {
  display: none;
}

.auth-button {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 70px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
    rgba(255, 255, 255, 0.045);
  cursor: pointer;
  text-align: left;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    opacity 180ms ease;
}

.auth-button:hover {
  transform: translateY(-2px);
  border-color: rgba(157, 53, 255, 0.44);
  background: rgba(157, 53, 255, 0.1);
}

.auth-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.auth-button.loading {
  border-color: rgba(157, 53, 255, 0.62);
  box-shadow:
    inset 4px 0 0 #9d35ff,
    0 0 28px rgba(157, 53, 255, 0.22);
}

.auth-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.96);
}

.auth-icon img {
  width: 26px;
  height: 26px;
}

.auth-copy {
  display: grid;
  gap: 4px;
}

.auth-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.auth-copy strong {
  color: #fff;
  font-size: 18px;
}

.discord {
  border-color: rgba(88, 101, 242, 0.34);
  box-shadow: inset 4px 0 0 #5865f2;
}

.google {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 4px 0 0 rgba(255, 255, 255, 0.72);
}

.auth-oauth-panel {
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid rgba(255, 207, 106, 0.26);
  border-radius: 18px;
  background: rgba(255, 207, 106, 0.08);
  color: rgba(247, 243, 255, 0.82);
}

.auth-oauth-panel[hidden] {
  display: none;
}

.auth-oauth-panel strong {
  display: block;
  margin-bottom: 6px;
  color: #ffcf6a;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-oauth-panel p {
  margin: 0;
  color: rgba(247, 243, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

small {
  color: rgba(247, 243, 255, 0.54);
  line-height: 1.6;
}

.auth-status {
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 243, 255, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

.auth-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.auth-trust-row span {
  display: grid;
  min-height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(247, 243, 255, 0.66);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.auth-terms {
  margin: 12px 0 0;
  color: rgba(247, 243, 255, 0.48);
  font-size: 12px;
  line-height: 1.6;
}

.auth-dialog {
  width: min(940px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid rgba(202, 136, 255, 0.34);
  border-radius: 28px;
  overflow: hidden;
  background: #080510;
  color: var(--text);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.76),
    0 0 70px rgba(157, 53, 255, 0.26);
}

.auth-dialog::backdrop {
  background: rgba(3, 2, 7, 0.78);
  backdrop-filter: blur(14px);
}

.auth-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(340px, 1fr);
  min-height: 590px;
  max-height: calc(100vh - 32px);
}

.auth-dialog .modal-close {
  z-index: 3;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 22px;
}

.auth-brand-panel,
.auth-form-panel {
  padding: clamp(22px, 3vw, 28px);
}

.auth-brand-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(157, 53, 255, 0.12), rgba(3, 2, 7, 0.88)),
    url("assets/move-engine-background.png") center / cover no-repeat;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-brand-copy {
  max-width: 360px;
}

.auth-brand-copy h2 {
  margin: 12px 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.auth-brand-copy p:last-child {
  margin-bottom: 0;
}

.auth-form-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  overflow-y: auto;
  background:
    radial-gradient(circle at 100% 0, rgba(225, 77, 255, 0.13), transparent 34%),
    rgba(16, 10, 28, 0.94);
}

.auth-mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-right: 50px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.auth-mode-toggle button {
  min-height: 40px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.auth-mode-toggle button.is-active {
  background: linear-gradient(135deg, rgba(157, 53, 255, 0.9), rgba(225, 77, 255, 0.76));
  color: #fff;
  box-shadow: 0 12px 28px rgba(117, 37, 255, 0.32);
}

.auth-heading h2 {
  margin: 4px 0 8px;
  font-size: clamp(27px, 3vw, 39px);
  line-height: 1.05;
  letter-spacing: 0;
}

.auth-heading p:last-child {
  margin-bottom: 0;
}

.social-auth-grid {
  display: grid;
  gap: 10px;
}

.social-auth-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    opacity 180ms ease;
}

.social-auth-button:hover {
  transform: translateY(-1px);
  border-color: rgba(202, 136, 255, 0.44);
  background: rgba(157, 53, 255, 0.12);
}

.social-auth-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.social-auth-button.loading {
  border-color: rgba(157, 53, 255, 0.62);
  box-shadow:
    inset 4px 0 0 #9d35ff,
    0 0 28px rgba(157, 53, 255, 0.22);
}

.social-auth-button img {
  width: 23px;
  height: 23px;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: rgba(247, 243, 255, 0.46);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-field-grid {
  display: grid;
  gap: 12px;
}

.auth-field-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.auth-field-grid input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.auth-field-grid input:focus {
  border-color: rgba(202, 136, 255, 0.62);
  box-shadow: 0 0 0 3px rgba(157, 53, 255, 0.18);
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 24px;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.auth-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--violet);
}

.auth-link {
  border: 0;
  background: transparent;
  color: #d9bdff;
  cursor: pointer;
  font-weight: 900;
}

.primary-auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.22), transparent 36%),
    linear-gradient(135deg, #a640ff, #e14dff);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(104, 33, 214, 0.34);
}

.auth-dialog .auth-status {
  min-height: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ffcf6a;
  font-size: 13px;
  line-height: 1.45;
}

.auth-dialog .auth-status.is-success {
  color: #59ffb8;
}

.auth-dialog .auth-status.is-error {
  color: #ff5d82;
}

.auth-dialog .auth-terms {
  display: none;
}

.profile-dialog {
  width: min(500px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid rgba(202, 136, 255, 0.34);
  border-radius: 28px;
  overflow: hidden;
  background: #080510;
  color: var(--text);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.76),
    0 0 70px rgba(157, 53, 255, 0.26);
}

.profile-dialog::backdrop {
  background: rgba(3, 2, 7, 0.78);
  backdrop-filter: blur(14px);
}

.profile-shell {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(28px, 5vw, 42px);
  background:
    radial-gradient(circle at 100% 0%, rgba(225, 77, 255, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(16, 10, 28, 0.96);
}

.profile-dialog .modal-close {
  z-index: 2;
}

.profile-badge {
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(202, 136, 255, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(157, 53, 255, 0.12);
  color: #d9bdff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-shell h2 {
  margin: 0;
  padding-right: 40px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 0.96;
  letter-spacing: 0;
}

.profile-shell p {
  margin: 0;
}

.profile-field {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.profile-field input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 0 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
}

.profile-field input:focus {
  border-color: rgba(202, 136, 255, 0.62);
  box-shadow: 0 0 0 3px rgba(157, 53, 255, 0.18);
}

.profile-status {
  min-height: 20px;
  color: #ff5d82;
  font-size: 13px;
  font-weight: 800;
}

.payment-shell {
  display: grid;
  min-height: 100vh;
}

.payment-return-wrap {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(22px, 5vw, 72px);
}

.payment-return-card {
  width: min(720px, 100%);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(202, 136, 255, 0.28);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(225, 77, 255, 0.18), transparent 36%),
    radial-gradient(circle at 0 0, rgba(0, 174, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(10, 6, 18, 0.9);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.66),
    0 0 70px rgba(157, 53, 255, 0.22);
  backdrop-filter: blur(20px);
}

.payment-return-logo {
  display: block;
  width: 210px;
  height: 74px;
  margin: 0 0 22px;
  object-fit: cover;
  object-position: center 54%;
  border-radius: 6px;
  filter: drop-shadow(0 0 16px rgba(160, 61, 255, 0.38));
}

.payment-return-card h1 {
  margin-bottom: 14px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

.payment-return-card p {
  max-width: 560px;
}

.payment-meta,
.license-key-box {
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.payment-meta {
  padding: 14px 16px;
  color: rgba(247, 243, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.license-key-box {
  display: grid;
  gap: 7px;
  padding: 18px;
}

.license-key-box[hidden] {
  display: none;
}

.license-key-box span {
  color: #d9bdff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.license-key-box strong {
  color: #fff;
  font-size: clamp(22px, 4vw, 34px);
  overflow-wrap: anywhere;
  text-shadow: 0 0 26px rgba(157, 53, 255, 0.54);
}

.payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.payment-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(202, 136, 255, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-action.primary {
  border: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.22), transparent 36%),
    linear-gradient(135deg, #a640ff, #e14dff);
  box-shadow: 0 16px 38px rgba(104, 33, 214, 0.34);
}

.payment-action[hidden] {
  display: none;
}

@media (max-width: 980px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-brand-panel {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 620px) {
  .auth-dialog {
    width: min(calc(100vw - 18px), 520px);
    border-radius: 24px;
  }

  .auth-shell {
    min-height: 0;
  }

  .auth-brand-panel {
    min-height: 220px;
  }

  .auth-brand-panel,
  .auth-form-panel {
    padding: 24px;
  }

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

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(18px, -14px, 0) scale(1.05);
  }
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardEnter {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes selectedCardPop {
  0% {
    transform: translateY(0) scale(0.96);
  }

  55% {
    transform: translateY(-8px) scale(1.045);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.96);
  }

  50% {
    opacity: 0.92;
    transform: scale(1.04);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .brand {
    grid-column: 1;
  }

  .login-button {
    grid-column: 2;
  }

  .account-area {
    grid-column: 2;
  }

  .nav-panel {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 680px);
    overflow-x: auto;
    scrollbar-width: none;
  }

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

  .license-grid {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    width: min(720px, 100%);
  }

  .checkout-panel {
    grid-template-columns: 1fr;
    width: min(720px, 100%);
  }

  .checkout-summary {
    justify-items: stretch;
  }

  .checkout-summary span,
  .checkout-status {
    text-align: left;
  }

  .checkout-button {
    width: 100%;
    min-width: 0;
  }

  .presale-strip {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    border-radius: 28px;
  }

  .presale-strip small {
    justify-self: center;
  }

  .interface-showcase {
    grid-template-columns: 1fr;
    width: min(760px, 100%);
  }

  .interface-stage {
    min-height: 0;
  }

  .support-layout {
    grid-template-columns: 1fr;
    width: min(520px, 100%);
  }

  .page-section {
    padding-top: 166px;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 14px;
    padding: 16px;
  }

  .brand-image {
    width: 176px;
    height: 64px;
  }

  .login-button {
    padding: 12px 18px;
  }

  .account-area .login-button {
    max-width: 42vw;
  }

  .login-modal {
    padding: 24px;
    border-radius: 24px;
  }

  .auth-trust-row {
    grid-template-columns: 1fr;
  }

  .auth-account-card {
    grid-template-columns: 44px 1fr;
  }

  .logout-button {
    grid-column: 1 / -1;
  }

  .nav-panel {
    justify-content: start;
  }

  .nav-link {
    min-width: max-content;
    padding: 11px 14px;
    font-size: 11px;
  }

  .page-section {
    padding: 150px 16px 42px;
  }

  .hero-card {
    width: min(282px, 78vw);
  }

  .license-grid {
    grid-template-columns: repeat(2, minmax(132px, 1fr));
    gap: 18px 14px;
  }

  .license-frame-wrap {
    width: min(154px, 100%);
  }

  .license-frame {
    width: 100%;
  }

  .license-price strong {
    font-size: 22px;
  }

  .checkout-panel {
    margin-top: 26px;
    padding: 18px;
    border-radius: 20px;
  }

  .checkout-summary span {
    font-size: 30px;
  }

  .interface-stage {
    min-height: 0;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }
}
