:root {
  color-scheme: dark;
  --bg: #100719;
  --surface: rgba(25, 14, 43, 0.76);
  --surface-soft: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #fff8ff;
  --muted: #d4c6df;
  --soft: #a995bd;
  --pink: #ff5bd8;
  --rose: #ff9ac6;
  --violet: #7a4dff;
  --indigo: #2f1768;
  --cyan: #63ddff;
  --mint: #63f3bf;
  --amber: #ffc66d;
  --danger: #ff7480;
  --shadow: 0 26px 96px rgba(91, 42, 198, 0.3);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-theme="claude_pro"] {
  --pink: #ff5bd8;
  --rose: #ff9ac6;
  --violet: #7a4dff;
  --cyan: #63ddff;
  --shadow: 0 26px 96px rgba(122, 77, 255, 0.32);
}

body[data-theme="grok_pro"] {
  --pink: #2ad5ff;
  --rose: #82f0ff;
  --violet: #246bff;
  --cyan: #65f1ff;
  --shadow: 0 26px 96px rgba(36, 107, 255, 0.32);
}

body[data-theme="x_premium"] {
  --pink: #4aa3ff;
  --rose: #ffffff;
  --violet: #1a6fff;
  --cyan: #8fc7ff;
  --shadow: 0 26px 96px rgba(74, 163, 255, 0.25);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 21% 17%, rgba(255, 91, 216, 0.18), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(99, 221, 255, 0.12), transparent 28%),
    radial-gradient(circle at 58% 88%, rgba(122, 77, 255, 0.24), transparent 34%),
    linear-gradient(140deg, #0d0617 0%, #160924 48%, #090613 100%);
}

body[data-theme="grok_pro"] {
  background:
    radial-gradient(circle at 20% 16%, rgba(101, 241, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(36, 107, 255, 0.2), transparent 28%),
    radial-gradient(circle at 58% 88%, rgba(22, 44, 116, 0.36), transparent 34%),
    linear-gradient(140deg, #050b18 0%, #071d33 48%, #030712 100%);
}

body[data-theme="x_premium"] {
  background:
    radial-gradient(circle at 20% 16%, rgba(255, 255, 255, 0.13), transparent 26%),
    radial-gradient(circle at 82% 20%, rgba(74, 163, 255, 0.2), transparent 28%),
    radial-gradient(circle at 58% 88%, rgba(18, 56, 112, 0.32), transparent 34%),
    linear-gradient(140deg, #02040a 0%, #111827 52%, #05070d 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
  animation: grid-drift 16s linear infinite;
}

button,
input,
select {
  font: inherit;
}

.shell {
  width: min(1180px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 18px;
  display: grid;
  place-items: center;
}

.activation-card {
  width: min(1060px, 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px);
}

.activation-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 91, 216, 0.23), transparent 30%),
    radial-gradient(circle at 12% 86%, rgba(99, 221, 255, 0.1), transparent 28%);
}

.topbar,
.hero-grid,
.requirements,
.steps,
.flow-grid,
.status-panel,
.help-panel {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  animation: rise-in 520ms ease both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(140deg, var(--violet), var(--pink) 65%, var(--rose));
  box-shadow: 0 16px 38px rgba(255, 91, 216, 0.32);
  animation: brand-glow 3.2s ease-in-out infinite;
}

.eyebrow,
.hero-kicker {
  margin: 0 0 6px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.top-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 13px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.top-link.solid {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.lang-btn {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.lang-btn.active {
  color: #120719;
  background: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(260px, 0.94fr);
  gap: 28px;
  align-items: center;
  margin: 34px 0 22px;
  animation: rise-in 620ms 80ms ease both;
}

.hero-copy h2 {
  max-width: 650px;
  margin-bottom: 14px;
  font-size: clamp(34px, 5.7vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 600px;
  color: var(--muted);
  line-height: 1.65;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.trust-item {
  min-height: 84px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.trust-item:hover,
.flow-panel:hover,
.requirement:hover,
.status-panel:hover,
.help-panel:hover,
.bulk-panel:hover,
.faq-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 91, 216, 0.35);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
}

.trust-item span {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.trust-item strong {
  font-size: 14px;
  line-height: 1.35;
}

.visual {
  min-height: 340px;
  position: relative;
  display: grid;
  place-items: center;
  animation: float-visual 5.6s ease-in-out infinite;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(16px);
}

.aurora-a {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 91, 216, 0.32), transparent 68%);
}

.aurora-b {
  width: 190px;
  height: 190px;
  transform: translate(74px, 58px);
  background: radial-gradient(circle, rgba(99, 221, 255, 0.2), transparent 68%);
}

.cube {
  position: relative;
  width: 178px;
  height: 178px;
  transform: rotate(-30deg) skew(18deg, 18deg);
  animation: cube-breathe 3.8s ease-in-out infinite;
}

.cube-top,
.cube-left,
.cube-right {
  position: absolute;
  border-radius: 20px;
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.16);
}

.cube-top {
  inset: 0;
  background: linear-gradient(135deg, #ff63e4, #7c47ff 56%, #4b28bc);
}

.cube-left {
  width: 178px;
  height: 90px;
  left: -44px;
  bottom: -64px;
  transform: skewY(-36deg);
  background: linear-gradient(135deg, #ba43ff, #551cc0);
}

.cube-right {
  width: 90px;
  height: 178px;
  right: -64px;
  top: 44px;
  transform: skewX(-36deg);
  background: linear-gradient(160deg, #ff66da, #742df0 76%);
}

.star {
  position: absolute;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #fff3ff, var(--pink));
  clip-path: polygon(50% 0, 62% 34%, 100% 50%, 62% 66%, 50% 100%, 38% 66%, 0 50%, 38% 34%);
  filter: drop-shadow(0 0 24px rgba(255, 91, 216, 0.64));
}

.star-a {
  top: 38px;
  right: 54px;
  animation: twinkle 2.8s ease-in-out infinite;
}

.star-b {
  width: 42px;
  height: 42px;
  bottom: 50px;
  left: 34px;
  animation: twinkle 3.6s 400ms ease-in-out infinite;
}

.spark {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 22px rgba(122, 77, 255, 0.9);
}

.spark-a {
  left: 34px;
  top: 92px;
  animation: pulse-dot 2.5s ease-in-out infinite;
}

.spark-b {
  right: 28px;
  bottom: 94px;
  animation: pulse-dot 3s 250ms ease-in-out infinite;
}

.requirements {
  display: block;
  margin-bottom: 22px;
  animation: rise-in 620ms 140ms ease both;
}

.requirement {
  display: flex;
  gap: 14px;
  min-height: 104px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
}

.requirement.primary {
  border-color: rgba(255, 198, 109, 0.42);
  background: linear-gradient(145deg, rgba(255, 198, 109, 0.15), rgba(255, 91, 216, 0.08));
}

.requirement-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #130817;
  font-weight: 900;
  background: var(--amber);
}

.requirement:not(.primary) .requirement-icon {
  background: var(--cyan);
}

.requirement p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

[hidden] {
  display: none !important;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--soft);
}

.step::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.step:last-child::after {
  display: none;
}

.step span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.055);
}

.step p {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

.step.is-active,
.step.is-done {
  color: #fff;
}

.step.is-active span,
.step.is-done span {
  border-color: transparent;
  background: linear-gradient(135deg, var(--violet), var(--pink));
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  animation: rise-in 620ms 220ms ease both;
}

.flow-panel,
.status-panel,
.help-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.flow-panel {
  padding: 18px;
  transition: opacity 180ms ease, border-color 180ms ease, background 180ms ease;
}

.flow-panel.is-current {
  border-color: rgba(255, 91, 216, 0.45);
  background: linear-gradient(145deg, rgba(255, 91, 216, 0.11), rgba(255, 255, 255, 0.05));
}

.flow-panel.is-locked {
  opacity: 0.58;
}

.panel-heading span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.panel-heading h3 {
  margin-bottom: 8px;
  font-size: 21px;
  letter-spacing: 0;
}

.panel-heading p {
  min-height: 46px;
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.field-group {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

label {
  font-size: 13px;
  font-weight: 900;
}

input,
select {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 0 15px;
  color: var(--text);
  outline: none;
  background: rgba(9, 5, 19, 0.72);
}

input:disabled {
  opacity: 0.6;
}

input:focus,
select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 91, 216, 0.13);
}

select {
  cursor: pointer;
}

small {
  color: var(--soft);
  line-height: 1.45;
}

.primary-btn {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 17px;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  background: linear-gradient(135deg, #6f42ff, #ff49d9 62%, #ffa0ca);
  box-shadow: 0 16px 40px rgba(255, 73, 217, 0.24);
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: button-sheen 3.2s ease-in-out infinite;
}

.primary-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 20px 52px rgba(255, 73, 217, 0.34);
}

.primary-btn.secondary {
  background: linear-gradient(135deg, #24bfe7, #8053ff 54%, #ff5bd8);
}

.primary-btn:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  box-shadow: none;
}

.status-panel {
  margin-top: 16px;
  padding: 16px;
}

.progress-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

.progress-line {
  position: absolute;
  top: 38px;
  left: 48px;
  right: 48px;
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
}

.progress-item {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--soft);
  text-align: center;
}

.progress-item span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(9, 5, 19, 0.92);
}

.progress-item span::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: currentColor;
}

.progress-item p {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
}

.progress-item.active {
  color: var(--cyan);
}

.progress-item.active span {
  animation: progress-pulse 1.1s ease-in-out infinite;
  border-color: rgba(99, 221, 255, 0.6);
}

.progress-item.done {
  color: var(--mint);
}

.progress-item.done span {
  border-color: transparent;
  background: linear-gradient(135deg, var(--mint), var(--cyan));
  color: #071018;
}

.progress-item.done span::before {
  content: "✓";
  width: auto;
  height: auto;
  background: transparent;
  color: #071018;
  font-weight: 900;
}

.success-card {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  border: 1px solid rgba(99, 243, 191, 0.46);
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(99, 243, 191, 0.16), rgba(99, 221, 255, 0.08));
  animation: success-pop 460ms ease both;
}

.success-check {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #071018;
  font-size: 25px;
  font-weight: 900;
  background: var(--mint);
  box-shadow: 0 0 42px rgba(99, 243, 191, 0.45);
}

.success-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.status-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 20px var(--cyan);
}

.status-dot.busy {
  background: var(--amber);
  box-shadow: 0 0 20px var(--amber);
}

.status-dot.good {
  background: var(--mint);
  box-shadow: 0 0 20px var(--mint);
}

.status-dot.bad {
  background: var(--danger);
  box-shadow: 0 0 20px var(--danger);
}

.status-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.debug-box {
  margin: 14px 0 0;
  max-height: 220px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  color: #f1d9ff;
  background: rgba(0, 0, 0, 0.28);
}

.help-panel,
.bulk-panel {
  margin-top: 16px;
  padding: 14px 16px;
}

.help-panel summary,
.bulk-panel summary {
  cursor: pointer;
  font-weight: 900;
}

.help-panel ol {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.copy-script-btn {
  min-height: 46px;
  margin-top: 14px;
  border: 1px solid rgba(99, 221, 255, 0.34);
  border-radius: 14px;
  padding: 0 16px;
  color: #10111d;
  font-weight: 900;
  cursor: pointer;
  background: linear-gradient(135deg, var(--cyan), #ffffff);
}

.copy-script-btn.copied {
  background: linear-gradient(135deg, var(--mint), #ffffff);
}

.bulk-panel {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.bulk-inner {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

textarea {
  width: 100%;
  min-height: 130px;
  resize: vertical;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 14px 15px;
  color: var(--text);
  outline: none;
  background: rgba(9, 5, 19, 0.72);
}

textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 91, 216, 0.13);
}

.bulk-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}

.primary-btn.compact {
  width: auto;
  min-width: 150px;
  min-height: 52px;
  padding: 0 22px;
}

.bulk-results {
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.2);
}

.bulk-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
}

.bulk-row:last-child {
  border-bottom: 0;
}

.bulk-ok {
  color: var(--mint);
}

.bulk-used,
.bulk-disabled,
.bulk-error {
  color: var(--danger);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 2, 9, 0.72);
  backdrop-filter: blur(18px);
  animation: fade-in 180ms ease both;
}

.confirm-modal {
  width: min(520px, 100%);
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  padding: 24px;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 91, 216, 0.2), transparent 32%),
    rgba(25, 14, 43, 0.96);
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.45);
  animation: modal-in 220ms ease both;
}

.modal-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #160719;
  font-weight: 900;
  background: var(--amber);
}

.confirm-modal h2 {
  margin: 16px 0 10px;
  font-size: 26px;
}

.confirm-modal p {
  color: var(--muted);
  line-height: 1.6;
}

.confirm-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

.confirm-check input {
  width: 20px;
  min-height: 20px;
  margin-top: 1px;
  accent-color: var(--pink);
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

.modal-btn {
  min-height: 48px;
  border-radius: 14px;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
}

.modal-btn.ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.modal-btn.primary {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--pink));
}

.modal-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.faq-card {
  max-width: 980px;
}

.faq-hero {
  position: relative;
  z-index: 1;
  margin: 42px 0 24px;
  animation: rise-in 560ms ease both;
}

.faq-hero h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.03;
}

.faq-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.055);
  animation: rise-in 520ms ease both;
}

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

.faq-item p {
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.65;
}

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

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 52px 52px, 52px 52px;
  }
}

@keyframes brand-glow {
  0%,
  100% {
    box-shadow: 0 16px 38px rgba(255, 91, 216, 0.32);
  }
  50% {
    box-shadow: 0 20px 58px rgba(255, 91, 216, 0.62);
  }
}

@keyframes cube-breathe {
  0%,
  100% {
    transform: rotate(-30deg) skew(18deg, 18deg) scale(1);
  }
  50% {
    transform: rotate(-27deg) skew(18deg, 18deg) scale(1.06);
  }
}

@keyframes button-sheen {
  0%,
  45% {
    transform: translateX(-120%);
  }
  70%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes progress-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(99, 221, 255, 0.28);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(99, 221, 255, 0);
  }
}

@keyframes success-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.88;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.65;
  }
  50% {
    transform: scale(1.6);
    opacity: 1;
  }
}

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

@media (max-width: 860px) {
  .requirements,
  .flow-grid,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .visual {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .shell {
    padding: 12px;
  }

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

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

  .hero-grid {
    margin-top: 26px;
  }

  .hero-copy h2 {
    font-size: 36px;
  }

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

  .step::after {
    display: none;
  }

  .cube {
    width: 132px;
    height: 132px;
  }

  .cube-left {
    width: 132px;
    height: 68px;
    left: -33px;
    bottom: -48px;
  }

  .cube-right {
    width: 68px;
    height: 132px;
    right: -48px;
    top: 33px;
  }
}
