:root {
  --bg: #090513;
  --surface: rgba(17, 13, 28, 0.88);
  --surface-strong: rgba(28, 19, 44, 0.96);
  --card: rgba(255, 255, 255, 0.06);
  --card-strong: rgba(255, 255, 255, 0.1);
  --text: #f8f4ff;
  --muted: #cdc4dd;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ff8cbc;
  --accent-strong: #ff5d9f;
  --accent-soft: #ffd9ea;
  --champagne: #f2d8b7;
  --plum: #2a153f;
  --cyan: #96e6ff;
  --success: #8df2b6;
  --danger: #ff9eb9;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 28px;
  --radius-sm: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  background-color: var(--bg);
  background:
    radial-gradient(circle at top left, rgba(255, 184, 143, 0.16), transparent 22%),
    radial-gradient(circle at top right, rgba(145, 226, 255, 0.14), transparent 21%),
    radial-gradient(circle at 50% 15%, rgba(255, 108, 172, 0.15), transparent 22%),
    linear-gradient(180deg, #130b1d 0%, #090513 56%, #04020a 100%);
  color: var(--text);
  overscroll-behavior: none;
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

.page-shell {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}

.ambient-one {
  top: -40px;
  left: -20px;
  width: 280px;
  height: 280px;
  background: rgba(255, 144, 188, 0.18);
}

.ambient-two {
  right: -40px;
  top: 120px;
  width: 260px;
  height: 260px;
  background: rgba(150, 230, 255, 0.14);
}

.app-root {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.creator-marquee-band {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: 2px;
  margin-bottom: 6px;
  margin-left: -20px;
  margin-right: -20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-shell {
  display: flex;
  width: max-content;
  min-width: 100%;
  gap: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(16px);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 0 0 auto;
  min-width: max-content;
  padding: 14px 20px;
  animation: footerMarquee 26s linear infinite;
}

.marquee-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(37, 244, 238, 0.5);
  background:
    linear-gradient(135deg, rgba(37, 244, 238, 0.16), rgba(254, 44, 85, 0.16)),
    rgba(10, 10, 18, 0.9);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    -2px 0 0 rgba(37, 244, 238, 0.65),
    2px 0 0 rgba(254, 44, 85, 0.65);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.marquee-link:hover {
  transform: translateY(-1px);
  border-color: rgba(254, 44, 85, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    -3px 0 0 #25f4ee,
    3px 0 0 #fe2c55,
    0 10px 22px rgba(0, 0, 0, 0.22);
}

.marquee-link:focus-visible {
  outline: 2px solid #25f4ee;
  outline-offset: 3px;
}

.screen {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  padding: 20px;
  overflow: hidden;
  position: relative;
}

.screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 26%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-soft);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title,
.screen-title {
  margin: 18px 0 10px;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-title {
  font-size: clamp(2.4rem, 8vw, 4rem);
}

.screen-title {
  font-size: clamp(1.8rem, 6vw, 2.5rem);
}

.hero-copy,
.screen-copy,
.muted {
  color: var(--muted);
  line-height: 1.55;
}

.hero-copy {
  font-size: 1rem;
  margin-bottom: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.reveal-first {
  transition-delay: 0.08s;
}

.reveal-second {
  transition-delay: 0.32s;
}

.reveal-third {
  transition-delay: 0.56s;
}

.reveal-late {
  transition-delay: 0.7s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(16px) scale(0.992);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
  will-change: transform, opacity;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-layout {
  display: grid;
  gap: 18px;
  align-items: start;
}

.hero-lead {
  position: relative;
}

.hero-visual {
  order: -1;
}

.hero-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-chip {
  padding: 8px 12px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.05);
  color: var(--accent-soft);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 26px rgba(4, 5, 12, 0.16);
  backdrop-filter: blur(18px);
}

.hero-visual {
  position: relative;
  min-height: 380px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 30% 18%, rgba(255, 214, 234, 0.34), transparent 22%),
    radial-gradient(circle at 74% 22%, rgba(150, 230, 255, 0.2), transparent 20%),
    linear-gradient(160deg, rgba(53, 24, 72, 0.95), rgba(18, 11, 28, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 28px 70px rgba(0, 0, 0, 0.3);
}

.hero-grid-overlay,
.hero-grid-overlay::before,
.hero-grid-overlay::after {
  position: absolute;
  inset: 0;
  content: "";
}

.hero-grid-overlay {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
}

.hero-grid-overlay::before {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.16) 50%, transparent 100%);
  width: 44%;
  transform: translateX(42%);
  filter: blur(2px);
  opacity: 0.5;
}

.hero-grid-overlay::after {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.12) 45%, transparent 100%);
  height: 30%;
  transform: translateY(46%);
  opacity: 0.6;
}

.portrait-cluster {
  position: absolute;
  inset: 0;
}

.portrait-card {
  position: absolute;
  width: 56%;
  aspect-ratio: 0.78;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
}

.portrait-card.primary {
  left: 5%;
  top: 12%;
}

.hero-visual .portrait-card.primary {
  width: 76%;
  height: auto;
  aspect-ratio: 1039 / 1513;
  top: 4%;
  left: 2%;
}

.portrait-card.secondary {
  right: 4%;
  top: 26%;
  width: 42%;
  opacity: 0.92;
}

.portrait-card svg {
  width: 100%;
  height: 100%;
  display: block;
}

.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  filter: saturate(1.02) contrast(1.02);
}

.hero-visual .portrait-card img {
  transform: none;
  transform-origin: center center;
}

.scan-card,
.mini-glass-card {
  position: absolute;
  padding: 14px 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    linear-gradient(135deg, rgba(255, 90, 159, 0.08), rgba(150, 230, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(26px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 18px 38px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.scan-card::before,
.mini-glass-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 38%);
  pointer-events: none;
}

.scan-card {
  right: 6%;
  top: 9%;
  min-width: 156px;
  transform: rotate(-2deg);
  z-index: 3;
}

.mini-glass-card.top {
  left: 7%;
  bottom: 12%;
  min-width: 150px;
  transform: rotate(-4deg);
}

.mini-glass-card.bottom {
  right: 8%;
  bottom: 8%;
  min-width: 180px;
  transform: rotate(2deg);
}

.glass-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-soft);
}

.glass-value {
  margin-top: 8px;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.glass-copy {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.editorial-strip {
  display: grid;
  gap: 10px;
}

.editorial-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(255, 90, 159, 0.04), rgba(150, 230, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 14px 30px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.editorial-card strong {
  font-size: 1rem;
}

.primary-button,
.secondary-button,
.ghost-button,
.option-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.option-button:hover {
  transform: translateY(-1px);
}

.primary-button:disabled,
.secondary-button:disabled,
.ghost-button:disabled,
.option-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.primary-button {
  padding: 16px 18px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 20px 36px rgba(255, 77, 149, 0.24);
}

.primary-button:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)),
    linear-gradient(135deg, #67d9ff 0%, #3ec8ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 20px 36px rgba(62, 200, 255, 0.24);
}

.secondary-button {
  padding: 15px 18px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 18px 30px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(20px);
}

.ghost-button {
  padding: 14px 16px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

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

.stats-grid,
.benefits-grid,
.preview-grid,
.insight-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.stat-card,
.benefit-card,
.preview-card,
.result-card,
.list-card,
.insight-card {
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(255, 90, 159, 0.03), rgba(150, 230, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 18px 34px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(20px);
}

.hover-liquid:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
    linear-gradient(135deg, rgba(255, 90, 159, 0.06), rgba(103, 217, 255, 0.09));
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 22px 40px rgba(0, 0, 0, 0.18),
    0 0 32px rgba(103, 217, 255, 0.1);
  transform: translateY(-2px);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.stat-card::before,
.benefit-card::before,
.preview-card::before,
.result-card::before,
.list-card::before,
.insight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 36%);
  pointer-events: none;
}

.stat-value {
  font-size: 1.45rem;
  font-weight: 800;
}

.benefit-title,
.preview-label,
.result-label {
  font-size: 0.84rem;
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.benefit-copy,
.preview-copy,
.result-copy,
.list-card li,
.insight-copy {
  color: var(--muted);
}

.insight-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    linear-gradient(135deg, rgba(255, 214, 183, 0.06), rgba(150, 230, 255, 0.04));
}

.insight-title {
  font-size: 0.8rem;
  color: var(--champagne);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.result-list {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.plan-stack {
  display: grid;
  gap: 12px;
}

.plan-card {
  padding: 18px 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(255, 90, 159, 0.03), rgba(150, 230, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 18px 34px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(20px);
}

.progress-shell {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.progress-bar {
  position: relative;
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 100%);
  overflow: hidden;
}

.progress-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 36%,
    rgba(255, 255, 255, 0.34) 50%,
    rgba(255, 255, 255, 0.08) 64%,
    transparent 100%
  );
  transform: translateX(-140%);
  animation: quizProgressShimmer 2.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes quizProgressShimmer {
  0% {
    transform: translateX(-140%);
  }

  100% {
    transform: translateX(140%);
  }
}

.question-copy {
  margin-top: 0;
  color: var(--muted);
}

.quiz-flow-screen {
  display: flex;
  flex-direction: column;
  min-height: 820px;
}

.quiz-flow-back {
  margin-top: auto;
}

.option-button {
  text-align: left;
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(255, 90, 159, 0.03), rgba(150, 230, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 24px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px);
}

.option-button strong {
  display: block;
  margin-bottom: 4px;
}

.option-button span {
  color: var(--muted);
  font-size: 0.94rem;
}

.photo-dropzone {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.upload-prompt-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(255, 90, 159, 0.03), rgba(150, 230, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 18px 34px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(20px);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.upload-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 20px 38px rgba(0, 0, 0, 0.16);
}

.upload-plus {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  font-size: 2rem;
  line-height: 1;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.upload-prompt-copy {
  display: grid;
  gap: 4px;
  text-align: left;
}

.upload-prompt-copy strong {
  font-size: 1rem;
}

.upload-prompt-copy span {
  color: var(--muted);
  line-height: 1.45;
}

.photo-showcase {
  position: relative;
  min-height: 260px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 22%, rgba(255, 205, 226, 0.36), transparent 18%),
    radial-gradient(circle at 70% 28%, rgba(150, 230, 255, 0.18), transparent 18%),
    linear-gradient(160deg, rgba(42, 21, 63, 0.96), rgba(16, 9, 27, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.screen-analyzing {
  min-height: 100vh;
}

.analysis-photo-stage {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
  background:
    radial-gradient(circle at top left, rgba(255, 218, 236, 0.16), transparent 30%),
    rgba(10, 6, 18, 0.96);
}

.analysis-photo-stage img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.analysis-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 11, 28, 0.1), rgba(18, 11, 28, 0.48)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 42%);
}

.analysis-progress-shell {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.analysis-progress-copy {
  grid-area: 1 / 1;
}

.analysis-progress-copy {
  position: relative;
  display: grid;
  gap: 8px;
  place-items: center;
  min-width: 166px;
  max-width: 176px;
  padding: 18px 18px 16px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05)),
    rgba(24, 16, 40, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 38px rgba(8, 5, 18, 0.28),
    0 0 0 1px rgba(115, 220, 255, 0.04);
  backdrop-filter: blur(26px);
  overflow: hidden;
}

.analysis-progress-copy::before {
  content: "";
  position: absolute;
  inset: -18% auto -18% -42%;
  width: 52%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(140, 237, 255, 0.22), rgba(255, 255, 255, 0));
  transform: skewX(-18deg);
  filter: blur(4px);
  animation: analysisShimmerPass 2.6s ease-in-out infinite;
}

.analysis-progress-copy > * {
  position: relative;
  z-index: 1;
}

.analysis-progress-copy strong {
  font-size: 2.65rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.analysis-progress-copy span {
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.analysis-progress-copy small {
  max-width: 124px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  line-height: 1.35;
  text-align: center;
}

.analysis-linear-progress {
  width: 100%;
  height: 7px;
  margin-top: 2px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.analysis-linear-progress-fill {
  position: relative;
  width: calc(var(--analysis-progress) * 1%);
  height: 100%;
  min-width: 12%;
  border-radius: inherit;
  background: linear-gradient(90deg, #74d8ff, #9be9ff 58%, #d8fbff);
  box-shadow: 0 0 18px rgba(116, 216, 255, 0.34);
  transition: width 0.32s ease-out;
}

.analysis-linear-progress-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 48%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-100%);
  animation: analysisBarShimmer 1.8s linear infinite;
}

@keyframes analysisShimmerPass {
  0%,
  12% {
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }

  28%,
  72% {
    opacity: 1;
  }

  100% {
    transform: translateX(340%) skewX(-18deg);
    opacity: 0;
  }
}

@keyframes analysisBarShimmer {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(220%);
  }
}

.photo-showcase .portrait-card.primary {
  width: 74%;
  aspect-ratio: 1039 / 1513;
  top: 7%;
  left: 5%;
}

.photo-showcase .portrait-card img {
  transform: none;
  transform-origin: center center;
  object-fit: contain;
  object-position: center center;
  background: rgba(10, 6, 18, 0.92);
}

.photo-showcase .mini-glass-card.top {
  left: auto;
  right: 6%;
  top: 12%;
  bottom: auto;
}

.photo-showcase .mini-glass-card.bottom {
  left: auto;
  right: 8%;
  bottom: 10%;
}

.photo-preview {
  width: 100%;
  min-height: 260px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(10, 6, 18, 0.92);
}

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.exact-upload-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.preview-showcase {
  min-height: 360px;
}

.uploaded-result-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc((100% - 48px) * (var(--uploaded-frame-width, 100) / 100));
  height: calc((100% - 48px) * (var(--uploaded-frame-height, 100) / 100));
  max-width: calc(100% - 48px);
  max-height: calc(100% - 48px);
  display: grid;
  place-items: center;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at top left, rgba(255, 218, 236, 0.16), transparent 28%),
    rgba(10, 6, 18, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
}

.uploaded-result-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.exact-upload-stage {
  display: grid;
  place-items: center;
}

.small-note,
.micro-copy {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.analyzing-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(141, 242, 182, 0.5);
  animation: pulse 1.6s infinite;
}

.score-card {
  margin-top: 18px;
  padding: 20px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)),
    linear-gradient(160deg, rgba(255, 125, 184, 0.18), rgba(150, 230, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 22px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(22px);
}

.score-value {
  font-size: clamp(3.2rem, 16vw, 4.5rem);
  font-weight: 800;
  line-height: 0.9;
}

.score-subtitle {
  margin-top: 8px;
  color: var(--accent-soft);
}

.price-card {
  padding: 20px;
}

.unlock-price {
  margin-top: 10px;
  font-size: clamp(2rem, 10vw, 3rem);
  font-weight: 800;
  line-height: 0.95;
}

.email-form {
  display: grid;
  gap: 12px;
}

.text-input {
  width: 100%;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.text-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.error-text {
  color: var(--danger);
  margin: 0;
}

.success-pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(141, 242, 182, 0.14);
  color: var(--success);
  font-size: 0.84rem;
}

.button-row {
  display: grid;
  gap: 12px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5, 2, 10, 0.74);
  backdrop-filter: blur(16px);
}

.modal-card {
  width: min(100%, 560px);
  max-height: min(88vh, 860px);
  overflow: auto;
  display: grid;
  gap: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    linear-gradient(160deg, rgba(35, 18, 52, 0.96), rgba(11, 6, 20, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 28px 80px rgba(0, 0, 0, 0.42);
  padding: 28px;
}

.modal-title {
  margin: 6px 0 0;
  font-size: clamp(1.55rem, 6vw, 2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.modal-hero {
  display: grid;
  gap: 12px;
}

.checkout-price-line {
  display: grid;
  gap: 12px;
}

.checkout-price-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-soft);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.checkout-copy {
  max-width: 44rem;
}

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

.checkout-mini-fact {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-mini-fact span {
  color: var(--muted);
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.checkout-mini-fact strong {
  font-size: 0.98rem;
}

.currency-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.currency-chip {
  display: grid;
  gap: 10px;
  text-align: left;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.03);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 28px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.currency-chip strong {
  font-size: 0.96rem;
}

.currency-chip span,
.currency-chip small {
  color: var(--muted);
  font-size: 0.84rem;
}

.currency-chip small {
  display: block;
}

.currency-chip-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.currency-chip-meta {
  display: grid;
  gap: 8px;
}

.currency-chip-amount {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.coin-badge {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  color: #0c0916;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.coin-badge-btc {
  background: linear-gradient(135deg, #ffb55e, #ffdb7d);
}

.coin-badge-ltc {
  background: linear-gradient(135deg, #cfd8e6, #f6f7fb);
}

.coin-badge-trx {
  background: linear-gradient(135deg, #ff7a7a, #ffb1b1);
}

.coin-badge-usdttrc {
  background: linear-gradient(135deg, #74ffcb, #b9ffe5);
}

.coin-badge-generic {
  background: linear-gradient(135deg, #b4b7ff, #ebddff);
}

.currency-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.24);
}

.currency-chip.is-active {
  border-color: rgba(255, 208, 228, 0.48);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07)),
    linear-gradient(135deg, rgba(255, 125, 184, 0.12), rgba(150, 230, 255, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 18px 32px rgba(0, 0, 0, 0.16),
    0 0 24px rgba(255, 125, 184, 0.08);
}

.currency-chip.is-active .currency-chip-amount {
  color: var(--accent-soft);
}

.crypto-grid {
  display: grid;
  gap: 18px;
}

.checkout-link-button {
  justify-self: start;
}

.checkout-panel {
  align-content: start;
}

.checkout-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.checkout-panel-copy {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.qr-card {
  display: grid;
  gap: 18px;
  place-items: center;
  min-height: 320px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.04);
}

.qr-card img {
  width: min(100%, 260px);
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: contain;
  padding: 16px;
  border-radius: 24px;
  background: white;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.16);
}

.payment-panel {
  gap: 16px;
}

.payment-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.payment-fact-card {
  display: grid;
  min-width: 0;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-fact-card span {
  color: var(--muted);
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.payment-fact-card strong {
  font-size: 0.98rem;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.payment-mono {
  font-family: "SFMono-Regular", "Menlo", monospace;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-chip-pending,
.status-chip-creating {
  background: rgba(255, 225, 141, 0.12);
  color: #ffe59c;
}

.status-chip-paid {
  background: rgba(141, 242, 182, 0.16);
  color: var(--success);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1;
  border-radius: 999px;
}

.status-indicator-pending {
  color: #ffe59c;
  text-shadow: 0 0 12px rgba(255, 229, 156, 0.6);
  animation: statusPulse 1.25s ease-in-out infinite;
}

.status-indicator-paid {
  color: var(--success);
  text-shadow: 0 0 12px rgba(141, 242, 182, 0.45);
}

.copy-stack {
  display: grid;
  gap: 12px;
}

.copy-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.copy-card-inline {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.copy-card-label-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.copy-value {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(9, 5, 18, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.copy-button {
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.copy-button:disabled {
  opacity: 0.45;
}

.checkout-feedback {
  justify-self: start;
}

.crypto-address {
  word-break: break-all;
  font-family: "SFMono-Regular", "Menlo", monospace;
}

.modal-card .result-card {
  height: 100%;
  align-content: start;
}

.modal-card .email-form {
  margin-top: 4px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(141, 242, 182, 0.5);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(141, 242, 182, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(141, 242, 182, 0);
  }
}

@keyframes statusPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.92);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes footerMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

@media (min-width: 720px) {
  .app-root {
    width: min(100%, 980px);
    padding: 32px 24px 60px;
  }

  .screen {
    padding: 28px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
    gap: 28px;
  }

  .hero-visual {
    order: initial;
    min-height: 460px;
  }

  .creator-marquee-band {
    margin-top: 18px;
    margin-bottom: 10px;
    margin-left: -28px;
    margin-right: -28px;
  }

  .stats-grid,
  .benefits-grid,
  .preview-grid,
  .button-row,
  .insight-grid,
  .crypto-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .currency-picker {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .modal-card {
    width: min(100%, 980px);
    padding: 32px;
  }

  .checkout-price-line {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .photo-showcase {
    min-height: 320px;
  }

  .preview-showcase {
    min-height: 420px;
  }

  .quiz-flow-screen {
    min-height: 900px;
  }
}

@media (min-width: 720px) and (max-width: 880px) {
  .payment-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 719px) {
  .modal-card {
    width: min(100%, 620px);
    padding: 22px;
    gap: 16px;
  }

  .checkout-mini-facts,
  .payment-facts,
  .currency-picker {
    grid-template-columns: 1fr;
  }

  .copy-card-inline,
  .copy-card-label-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .copy-button,
  .checkout-link-button {
    width: 100%;
  }

  .checkout-panel-head {
    align-items: center;
  }
}
