:root {
  --bg: #020b29;
  --bg-soft: #071742;
  --panel: #0b2158;
  --panel-soft: #122c6f;
  --line: rgba(147, 186, 255, 0.26);
  --text: #f3f7ff;
  --text-soft: #9fb4df;
  --accent: #19d4ff;
  --accent-2: #ffd84e;
  --accent-3: #43f2c8;
  --danger: #ff6f8c;
  --shadow: 0 18px 45px rgba(2, 7, 27, 0.45);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 12% 8%, #123189 0%, transparent 28%),
    radial-gradient(circle at 88% 20%, #177479 0%, transparent 24%),
    radial-gradient(circle at 40% 80%, #1a254e 0%, transparent 26%),
    var(--bg);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.35;
  z-index: -1;
}

.bg-glow--one {
  width: 420px;
  height: 420px;
  background: #17d8ff;
  top: -180px;
  left: -160px;
}

.bg-glow--two {
  width: 420px;
  height: 420px;
  background: #ffe062;
  bottom: -220px;
  right: -190px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(2, 11, 41, 0.92), rgba(2, 11, 41, 0.67));
  border-bottom: 1px solid rgba(164, 193, 255, 0.15);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

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

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px;
}

.brand span {
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--text-soft);
  font-weight: 700;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(84, 136, 255, 0.18);
}

.topbar__cta {
  margin-left: auto;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(30, 74, 160, 0.4);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 16px;
  border: 1px solid transparent;
  padding: 14px 20px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, #28e1ff 0%, #2c6aff 55%, #1f5be8 100%);
  color: #f8fbff;
  box-shadow: 0 14px 30px rgba(16, 67, 184, 0.42);
}

.btn--primary:hover {
  box-shadow: 0 22px 34px rgba(16, 67, 184, 0.48);
}

.btn--secondary,
.btn--ghost {
  background: rgba(11, 38, 105, 0.6);
  border-color: rgba(138, 180, 255, 0.4);
  color: #d9e9ff;
}

.btn--secondary:hover,
.btn--ghost:hover {
  background: rgba(27, 69, 165, 0.7);
}

.hero {
  padding: 58px 0 30px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.hero__eyebrow,
.section__eyebrow {
  margin: 0;
  color: #93e8ff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  font-size: 0.76rem;
}

.hero h1 {
  margin: 16px 0 12px;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.hero h1 span {
  background: linear-gradient(100deg, #fff7ad 0%, #74fff1 50%, #7db7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  max-width: 560px;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero__chips span {
  border: 1px solid rgba(144, 183, 255, 0.38);
  background: rgba(12, 37, 98, 0.63);
  color: #d8e8ff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.92rem;
}

.quote {
  margin: 24px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  border-left: 3px solid var(--accent-2);
  background: rgba(15, 34, 87, 0.72);
  color: #f2f7ff;
  font-weight: 600;
  max-width: 560px;
}

.hero__visual {
  display: flex;
  justify-content: flex-end;
}

.phone-mock {
  width: min(100%, 500px);
  border-radius: 30px;
  border: 1px solid rgba(161, 197, 255, 0.37);
  background: linear-gradient(180deg, rgba(11, 28, 73, 0.96), rgba(7, 20, 59, 0.98));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-mock__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(149, 183, 255, 0.2);
  padding: 12px 16px;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2cff9a;
  box-shadow: 0 0 0 4px rgba(44, 255, 154, 0.2);
}

.phone-mock__body {
  padding: 12px;
}

.phone-mock__title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 800;
}

.hero-showcase {
  margin: 0;
}

.hero-showcase img {
  border-radius: 16px;
  border: 1px solid rgba(180, 214, 255, 0.62);
  box-shadow: 0 10px 24px rgba(10, 28, 76, 0.4);
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: rgba(7, 20, 59, 0.95);
}

.js [data-random-hero-result] {
  opacity: 0;
  visibility: hidden;
}

.js [data-random-hero-result].is-random-ready {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease;
}

.hero-flow {
  display: grid;
  grid-template-columns: 0.88fr auto 0.88fr;
  align-items: center;
  gap: 10px;
}

.hero-flow figure,
.hero-flow__result {
  margin: 0;
}

.hero-flow figure img,
.hero-flow__result img {
  border-radius: 16px;
  border: 1px solid rgba(157, 191, 255, 0.36);
  width: 100%;
  object-fit: cover;
}

.hero-flow figure img {
  aspect-ratio: 1 / 1;
  object-position: center top;
}

.hero-flow__result img {
  aspect-ratio: 16 / 9;
  border-color: rgba(180, 214, 255, 0.62);
  box-shadow: 0 10px 24px rgba(10, 28, 76, 0.4);
}

.hero-flow figcaption,
.hero-flow__result figcaption {
  margin-top: 6px;
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.8rem;
}

.hero-flow__result figcaption {
  color: #f2f8ff;
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-flow__plus {
  font-size: 1.85rem;
  line-height: 1;
  font-weight: 800;
  color: #f4f9ff;
}

.hero-flow__arrow {
  margin: 8px 0;
  text-align: center;
  color: #d8e9ff;
  font-size: 1.15rem;
  font-weight: 800;
}

.stats {
  padding: 12px 0 40px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stats article {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(157, 191, 255, 0.32);
  background: linear-gradient(180deg, rgba(9, 27, 72, 0.88), rgba(7, 20, 55, 0.94));
}

.stats strong {
  display: block;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 1rem;
}

.stats p {
  margin: 9px 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.section {
  padding: 54px 0;
}

.section__head {
  margin-bottom: 24px;
}

.section h2 {
  margin: 10px 0 0;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.58rem);
  line-height: 1.15;
}

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

.step-card {
  position: relative;
  padding: 24px 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(161, 194, 255, 0.33);
  background: linear-gradient(140deg, rgba(19, 51, 132, 0.56), rgba(9, 24, 69, 0.94));
}

.step-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: 1px solid rgba(150, 187, 255, 0.45);
  background: rgba(87, 137, 255, 0.22);
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 0.9rem;
  flex: 0 0 auto;
}

.step-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.step-card p {
  margin: 10px 0 0;
  color: var(--text-soft);
}

.demo-hub {
  padding-top: 48px;
}

.demo-hub__head {
  text-align: center;
}

.demo-hub__head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.3vw, 3.1rem);
}

.demo-hub__head h2 span {
  color: #6feeff;
}

.demo-hub__head p {
  margin: 14px auto 0;
  max-width: 860px;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.8vw, 1.24rem);
}

.demo-tabs {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid rgba(164, 194, 255, 0.3);
  border-radius: 16px;
  background: rgba(7, 22, 61, 0.78);
  padding: 10px;
}

.demo-tab {
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 9px 12px;
  background: rgba(13, 37, 98, 0.62);
  color: #b7cbe9;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.demo-tab:hover {
  color: #e6f0ff;
  border-color: rgba(162, 194, 255, 0.34);
}

.demo-tab.is-active {
  color: #fff;
  border-color: rgba(113, 235, 255, 0.55);
  background: linear-gradient(140deg, rgba(47, 128, 255, 0.8), rgba(34, 215, 255, 0.68));
  box-shadow: 0 8px 18px rgba(19, 75, 177, 0.36);
}

.demo-stage {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.demo-stage.is-switching {
  opacity: 0.74;
  transform: scale(0.995);
}

.demo-stage__text,
.demo-stage__visual {
  border: 1px solid rgba(167, 196, 255, 0.31);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(11, 34, 92, 0.9), rgba(5, 18, 51, 0.96));
  padding: 16px;
}

.demo-stage__text {
  display: flex;
  flex-direction: column;
}

.demo-stage__visual {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.demo-stage__text h3 {
  margin: 0;
  font-size: clamp(1.36rem, 2.3vw, 2rem);
  line-height: 1.2;
}

.demo-stage__text > p {
  margin: 11px 0 0;
  color: #d4e5ff;
  font-size: 1.05rem;
}

.preset-compose {
  margin-top: 14px;
}

.preset-compose.is-hidden {
  display: none;
}

.preset-compose__label {
  margin: 0 0 10px;
  color: #98b4e8;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.preset-compose__row {
  display: grid;
  grid-template-columns: 0.95fr auto 0.95fr;
  align-items: center;
  gap: 10px;
}

.preset-compose__style {
  margin: 0;
}

.preset-compose__style img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(157, 191, 255, 0.34);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.preset-compose__plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f2f8ff;
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
}

.preset-compose__upload {
  border-radius: 16px;
  border: 2px dashed rgba(131, 169, 237, 0.46);
  background: rgba(10, 31, 83, 0.78);
  min-height: 100%;
  aspect-ratio: 3 / 4;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.preset-compose__upload-icon {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(40, 84, 175, 0.34);
  font-size: 1.9rem;
}

.preset-compose__upload-text {
  color: #eaf3ff;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.08;
  text-align: center;
}

.reference-compose {
  --compose-media-h: clamp(125px, 14.5vw, 210px);
  margin-top: 14px;
}

.reference-compose.is-hidden {
  display: none;
}

.reference-compose__label {
  margin: 0 0 10px;
  color: #98b4e8;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.reference-compose__row {
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.reference-compose__upload,
.reference-compose__selfie {
  flex: 0 0 auto;
}

.reference-compose__upload {
  width: calc(var(--compose-media-h) * 0.75);
  height: var(--compose-media-h);
  border-radius: 16px;
  border: 2px dashed rgba(131, 169, 237, 0.46);
  background: rgba(10, 31, 83, 0.78);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.reference-compose__upload-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(40, 84, 175, 0.34);
  font-size: 1.35rem;
}

.reference-compose__upload-text {
  color: #eaf3ff;
  font-size: clamp(0.94rem, 1.03vw, 1.24rem);
  font-weight: 800;
  line-height: 1.03;
  text-align: center;
}

.reference-compose__plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f2f8ff;
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
}

.reference-compose__selfie {
  width: calc(var(--compose-media-h) * 0.75);
  height: var(--compose-media-h);
  margin: 0;
  position: relative;
}

.reference-compose__selfie img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  border: 1px solid rgba(157, 191, 255, 0.34);
  object-fit: cover;
  object-position: center top;
}

.demo-stage__catalog-link {
  margin-top: 10px;
  align-self: flex-end;
  color: #7cecff;
  font-size: 0.93rem;
  font-weight: 800;
  border-bottom: 1px dashed rgba(124, 236, 255, 0.72);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.demo-stage__catalog-link:hover {
  color: #b3f8ff;
  border-color: rgba(179, 248, 255, 0.9);
}

.demo-stage__catalog-link.is-hidden {
  display: none;
}

.demo-stage__prompt {
  margin-top: 15px;
  border: 1px solid rgba(162, 194, 255, 0.35);
  border-radius: 12px;
  background: rgba(8, 26, 70, 0.84);
  padding: 11px 12px;
}

.demo-stage__prompt-label {
  margin: 0;
  color: #f2f8ff;
  font-size: 0.95rem;
  font-weight: 800;
}

.demo-stage__prompt-text {
  margin: 8px 0 0;
  color: #aecdff;
  font-size: 0.95rem;
}

.demo-stage__prompt.is-hidden {
  display: none;
}

.demo-stage__bullets {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.demo-stage__bullets li + li {
  margin-top: 6px;
}

.demo-stage.is-preset {
  --preset-media-h: clamp(125px, 14.5vw, 210px);
}

.demo-stage.is-preset .preset-compose__row {
  grid-template-columns: auto auto auto;
  justify-content: flex-start;
}

.demo-stage.is-preset .preset-compose__style img,
.demo-stage.is-preset .preset-compose__upload {
  width: calc(var(--preset-media-h) * 0.75);
  height: var(--preset-media-h);
  aspect-ratio: 3 / 4;
}

.demo-stage.is-preset .preset-compose__style img {
  object-fit: contain;
  background: rgba(7, 20, 59, 0.92);
}

.demo-stage.is-preset .preset-compose__plus {
  font-size: 2.2rem;
}

.demo-stage.is-preset .preset-compose__upload-icon {
  width: 56px;
  height: 56px;
  font-size: 1.35rem;
}

.demo-stage.is-preset .preset-compose__upload-text {
  font-size: clamp(0.92rem, 1.05vw, 1.25rem);
}

.demo-stage__gallery {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.demo-stage__card {
  margin: 0;
  position: relative;
  border: 2px solid rgba(111, 238, 255, 0.5);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(7, 20, 59, 0.92);
}

.demo-stage__card img {
  width: 100%;
  height: 100%;
  min-height: clamp(180px, 17vw, 260px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.demo-stage__card figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(2, 13, 41, 0.74);
  border: 1px solid rgba(175, 205, 255, 0.36);
  color: #e9f3ff;
  font-size: 0.74rem;
  font-weight: 700;
}

.demo-stage__gallery .demo-stage__card:nth-child(n + 3) {
  display: none;
}

.demo-stage-flat {
  margin-top: 16px;
  border: 1px solid rgba(167, 196, 255, 0.31);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(11, 34, 92, 0.9), rgba(5, 18, 51, 0.96));
  padding: 16px;
}

.demo-stage-flat__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.demo-stage-flat__intro h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.demo-stage-flat__intro p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96rem;
  max-width: 560px;
}

.demo-stage-flat__gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.demo-stage-flat__card {
  margin: 0;
  position: relative;
  border: 2px solid rgba(111, 238, 255, 0.5);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(7, 20, 59, 0.92);
}

.demo-stage-flat__card--avatar {
  border-color: rgba(149, 189, 255, 0.56);
}

.demo-stage-flat__card img {
  width: 100%;
  height: 100%;
  min-height: clamp(170px, 15vw, 250px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.demo-stage-flat__card figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(2, 13, 41, 0.74);
  border: 1px solid rgba(175, 205, 255, 0.36);
  color: #e9f3ff;
  font-size: 0.74rem;
  font-weight: 700;
}

.before-after-showcase {
  margin-top: 16px;
  border: 1px solid rgba(167, 196, 255, 0.31);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(11, 34, 92, 0.9), rgba(5, 18, 51, 0.96));
  padding: 18px 16px 16px;
  text-align: center;
}

.before-after-showcase h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
  line-height: 1.15;
}

.before-after-showcase > p {
  margin: 10px 0 14px;
  color: var(--text-soft);
  font-size: clamp(0.95rem, 1.6vw, 1.12rem);
}

.before-after-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  justify-items: center;
}

.before-after-showcase__grid .before-after {
  margin-bottom: 0;
  width: min(100%, 340px);
}

.before-after--portrait {
  margin: 0;
  max-width: 340px;
}

.before-after--portrait .before-after__track {
  aspect-ratio: 3 / 4;
  max-height: 500px;
}

.before-after--portrait input[type="range"] {
  max-width: 330px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.before-after {
  --ba-position: 58%;
  border: 1px solid rgba(159, 192, 255, 0.3);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(13, 35, 92, 0.85), rgba(7, 20, 52, 0.95));
  padding: 14px;
}

.before-after__scenario {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 800;
  text-align: left;
}

.before-after__title {
  font-weight: 800;
  margin-bottom: 12px;
}

.before-after--slider {
  margin-bottom: 14px;
}

.before-after__track {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(164, 195, 255, 0.4);
  aspect-ratio: 16 / 9;
  cursor: ew-resize;
  touch-action: none;
}

.before-after__track > img,
.before-after__after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after__after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--ba-position)) 0 0);
}

.before-after__divider {
  position: absolute;
  left: var(--ba-position);
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 2px solid rgba(255, 255, 255, 0.88);
  transform: translateX(-1px);
  pointer-events: none;
  z-index: 3;
}

.before-after__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: rgba(8, 28, 78, 0.86);
  box-shadow: 0 8px 20px rgba(2, 10, 34, 0.45);
}

.before-after__handle::before {
  content: "⇆";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
}

.before-after__label {
  position: absolute;
  top: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(5, 15, 44, 0.75);
  border: 1px solid rgba(183, 208, 255, 0.48);
}

.before-after__label.before {
  left: 10px;
}

.before-after__label.after {
  right: 10px;
}

.before-after input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  --ba-progress: 58%;
  width: 100%;
  margin-top: 12px;
  height: 24px;
  background: transparent;
}

.before-after input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(
    90deg,
    rgba(255, 216, 78, 0.96) 0%,
    rgba(255, 216, 78, 0.96) var(--ba-progress),
    rgba(170, 190, 230, 0.35) var(--ba-progress),
    rgba(170, 190, 230, 0.35) 100%
  );
}

.before-after input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  background: #ffe178;
  box-shadow: 0 6px 14px rgba(4, 16, 48, 0.4);
  cursor: ew-resize;
}

.before-after input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(
    90deg,
    rgba(255, 216, 78, 0.96) 0%,
    rgba(255, 216, 78, 0.96) var(--ba-progress),
    rgba(170, 190, 230, 0.35) var(--ba-progress),
    rgba(170, 190, 230, 0.35) 100%
  );
}

.before-after input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  background: #ffe178;
  box-shadow: 0 6px 14px rgba(4, 16, 48, 0.4);
  cursor: ew-resize;
}

.before-after input[type="range"]:focus-visible {
  outline: 2px solid rgba(255, 225, 120, 0.95);
  outline-offset: 3px;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

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

.before-after__pair figure {
  margin: 0;
}

.before-after__pair img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(160, 195, 255, 0.35);
}

.before-after__pair figcaption {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quote-card {
  margin: 0;
  border-radius: 18px;
  border: 1px solid rgba(167, 196, 255, 0.34);
  background: linear-gradient(150deg, rgba(10, 28, 76, 0.9), rgba(5, 17, 47, 0.95));
  padding: 18px;
}

.quote-card p {
  margin: 0;
  font-size: 1rem;
}

.quote-card footer {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.miniapp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: flex-start;
}

.miniapp-hub .miniapp + .miniapp {
  margin-top: 54px;
}

.miniapp__content .section__eyebrow {
  margin-top: 0;
}

.miniapp__content p:not(.section__eyebrow) {
  color: var(--text-soft);
  margin-top: 10px;
}

.miniapp__content h2 span {
  color: #6feeff;
}

.check-list {
  margin: 14px 0 24px;
  padding-left: 18px;
  color: #d4e5ff;
}

.check-list li + li {
  margin-top: 7px;
}

.miniapp__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.miniapp__actions--after {
  display: none;
}

.miniapp-card {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(168, 198, 255, 0.3);
  background: linear-gradient(170deg, rgba(9, 24, 66, 0.95), rgba(4, 13, 39, 0.98));
  box-shadow: var(--shadow);
}

.miniapp-card__head {
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 1.08rem;
  margin: 0 0 12px;
}

.ideas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ideas-tile {
  margin: 0;
  position: relative;
}

.ideas-tile img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(159, 193, 255, 0.3);
}

.ideas-tile figcaption {
  position: absolute;
  left: 7px;
  bottom: 7px;
}

.ideas-tile figcaption span {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #eaf3ff;
  border: 1px solid rgba(168, 201, 255, 0.42);
  background: rgba(6, 19, 52, 0.78);
}

.photos-card {
  padding: 16px;
}

.photos-card__title {
  margin: 0;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 1.22rem;
}

.photos-card__filters {
  margin-top: 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.photos-filter {
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(162, 195, 255, 0.28);
  background: rgba(14, 36, 94, 0.6);
  color: #dce9ff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  text-align: center;
}

.photos-filter--icon {
  width: 46px;
  padding: 0;
  font-size: 1.3rem;
}

.photos-gallery {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.photos-item {
  margin: 0;
  position: relative;
}

.photos-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(159, 193, 255, 0.3);
}

.photos-item__category {
  position: absolute;
  left: 8px;
  bottom: 8px;
  margin: 0;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #eaf3ff;
  border: 1px solid rgba(168, 201, 255, 0.42);
  background: rgba(6, 19, 52, 0.78);
}

.photos-item__fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(5, 17, 45, 0.45);
  border: 1px solid rgba(178, 206, 255, 0.38);
  color: #f4f8ff;
  font-size: 1.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.photos-nav {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.photos-nav span {
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-soft);
  border: 1px solid rgba(162, 195, 255, 0.28);
  border-radius: 10px;
  padding: 8px 4px;
  background: rgba(14, 36, 94, 0.6);
}

.photos-nav span.is-active {
  color: #acd1ff;
  border-color: rgba(122, 182, 255, 0.48);
  background: rgba(28, 76, 176, 0.42);
}

[data-random-avatar-result],
[data-random-idea-tile],
[data-random-photo-item] {
  opacity: 0;
  visibility: hidden;
}

[data-random-avatar-result].is-random-ready,
[data-random-idea-tile].is-random-ready,
[data-random-photo-item].is-random-ready {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.24s ease;
}

@media (min-width: 1021px) {
  .miniapp--ideas {
    grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.76fr);
  }

  .miniapp--ideas .miniapp__mock {
    width: min(100%, 660px);
    justify-self: end;
  }

  .miniapp--ideas .miniapp-card {
    padding: 16px;
  }

  .miniapp--ideas .ideas-grid {
    gap: 7px;
  }

  .miniapp--photos {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
  }

  .miniapp--photos .miniapp__mock {
    width: min(100%, 540px);
    justify-self: end;
  }

  .miniapp--photos .photos-card {
    padding: 12px;
  }

  .miniapp--photos .photos-filter {
    min-height: 40px;
  }

  .miniapp--photos .photos-gallery {
    gap: 5px;
  }

  .miniapp--photos .photos-item img {
    aspect-ratio: 4 / 5;
    border-radius: 10px;
  }

  .miniapp--photos .photos-item__fav {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
}

.tariff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.tariff-card {
  position: relative;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(165, 194, 255, 0.35);
  background: linear-gradient(145deg, rgba(15, 40, 108, 0.74), rgba(7, 20, 55, 0.94));
}

.tariff-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(11, 29, 74, 0.8);
  font-size: 0.7rem;
  font-weight: 800;
}

.tariff-card__count {
  margin: 0;
  color: #d0e5ff;
  font-weight: 700;
}

.tariff-card__price {
  margin: 8px 0 6px;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 1.6rem;
}

.tariff-card__unit {
  margin: 0 0 10px;
  color: #b8cbef;
  font-size: 0.88rem;
  font-weight: 700;
}

.tariff-card__note {
  margin: 0 0 14px;
  color: var(--text-soft);
  min-height: 2.7em;
}

.tariff-card .btn {
  width: 100%;
}

.tariff-card--hot {
  border-color: rgba(255, 216, 78, 0.56);
  box-shadow: 0 16px 32px rgba(23, 72, 167, 0.35);
}

.tariff-card--best {
  border-color: rgba(67, 242, 200, 0.5);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.price-card {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(164, 194, 255, 0.34);
  background: linear-gradient(145deg, rgba(19, 47, 121, 0.72), rgba(9, 23, 64, 0.95));
}

.price-card h3 {
  margin: 0;
}

.price-card p {
  margin: 11px 0;
  color: var(--text-soft);
}

.price-card ul {
  margin: 0;
  padding-left: 18px;
  color: #d6e7ff;
}

.price-card li + li {
  margin-top: 7px;
}

.price-card code {
  background: rgba(9, 18, 40, 0.72);
  border: 1px solid rgba(163, 194, 255, 0.24);
  border-radius: 8px;
  padding: 2px 6px;
}

#prices .section__head p {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  max-width: 640px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border-radius: 14px;
  border: 1px solid rgba(157, 192, 255, 0.32);
  background: rgba(11, 30, 80, 0.7);
  padding: 13px 14px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  position: relative;
  padding-right: 18px;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -1px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--text-soft);
}

.cta-section__inner {
  text-align: center;
  border: 1px solid rgba(156, 190, 255, 0.34);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(15, 38, 92, 0.86), rgba(26, 89, 146, 0.54));
  padding: clamp(28px, 5vw, 58px);
  box-shadow: var(--shadow);
}

.cta-section__inner h2 {
  margin: 0;
  font-family: "Unbounded", "Manrope", sans-serif;
}

.cta-section__inner p {
  color: var(--text-soft);
  margin: 12px auto 0;
  max-width: 760px;
}

.cta-section__actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cta-section__actions .btn {
  position: relative;
  white-space: nowrap;
  line-height: 1.1;
}

.cta-section__actions .btn:hover {
  transform: none;
}

.footer {
  border-top: 1px solid rgba(157, 192, 255, 0.25);
  padding: 22px 0 36px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-soft);
}

.footer__inner strong {
  font-family: "Unbounded", "Manrope", sans-serif;
  color: #f2f7ff;
}

.footer__inner p {
  margin: 8px 0 0;
  max-width: 560px;
}

.footer__links {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer__links a {
  border: 1px solid rgba(161, 194, 255, 0.34);
  background: rgba(10, 27, 71, 0.62);
  border-radius: 11px;
  padding: 8px 11px;
  font-weight: 700;
}

.btn--sticky-look {
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 900;
  background: linear-gradient(130deg, #27e0ff, #2e70ff);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 12px 28px rgba(16, 67, 184, 0.44);
}

.btn--sticky-look:hover {
  transform: none;
  box-shadow: 0 14px 30px rgba(16, 67, 184, 0.48);
}

.btn--pill-radius {
  border-radius: 999px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

@media (max-width: 1020px) {
  .topbar__cta {
    display: none;
  }

  .hero__grid,
  .miniapp {
    grid-template-columns: 1fr;
  }

  .stats__grid,
  .steps,
  .tariff-grid,
  .quote-grid,
  .before-after-grid,
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-stage {
    grid-template-columns: 1fr;
  }

  .demo-stage-flat__intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .demo-stage-flat__gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .before-after-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__visual {
    justify-content: center;
  }

  .miniapp__actions--content {
    display: none;
  }

  .miniapp__actions--after {
    display: flex;
    margin-top: 12px;
  }

  .miniapp__actions--after .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(5, 15, 42, 0.97);
    border: 1px solid rgba(164, 194, 255, 0.34);
    border-radius: 14px;
    padding: 10px;
    box-shadow: var(--shadow);
    margin-left: 0;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
  }

  .hero {
    padding-top: 40px;
  }

  .hero h1 {
    line-height: 1.15;
  }

  .hero__cta-row {
    flex-wrap: nowrap;
  }

  .hero__cta-row .btn {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 12px 14px;
    font-size: 1rem;
    white-space: nowrap;
  }

  .hero .quote {
    display: none;
  }

  .miniapp--ideas .miniapp__content,
  .miniapp--photos .miniapp__content {
    text-align: center;
  }

  .miniapp--ideas .miniapp__content p:not(.section__eyebrow),
  .miniapp--photos .miniapp__content p:not(.section__eyebrow) {
    margin-left: auto;
    margin-right: auto;
  }

  .miniapp--ideas .check-list,
  .miniapp--photos .check-list {
    display: block;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    padding-left: 18px;
  }

}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 24px);
  }

  .stats__grid,
  .steps,
  .tariff-grid,
  .quote-grid,
  .before-after-grid,
  .price-grid,
  .before-after__pair {
    grid-template-columns: 1fr;
  }

  .hero-flow {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px;
    align-items: center;
  }

  .before-after-showcase__grid {
    grid-template-columns: 1fr;
  }

  .hero-flow figure img {
    aspect-ratio: 3 / 4;
  }

  .hero-flow__plus {
    margin: 0;
    transform: none;
    font-size: 2.4rem;
  }

  .hero-flow__result img {
    aspect-ratio: 4 / 3;
  }

  .demo-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-tab {
    width: 100%;
    text-align: left;
  }

  .demo-stage__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-stage-flat {
    padding: 12px;
  }

  .demo-stage-flat__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .demo-stage-flat__card--avatar {
    grid-column: 1 / -1;
    width: min(260px, 100%);
    justify-self: center;
  }

  .preset-compose__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .preset-compose__plus {
    margin: 0 auto;
    transform: rotate(90deg);
    font-size: 2.6rem;
  }

  .reference-compose__row {
    grid-template-columns: auto auto auto;
    justify-content: flex-start;
    gap: 10px;
  }

  .reference-compose__upload,
  .reference-compose__selfie {
    width: calc(var(--compose-media-h) * 0.75);
  }

  .reference-compose__plus {
    margin: 0;
    transform: none;
    font-size: 3rem;
  }

  .demo-stage__catalog-link {
    align-self: flex-start;
  }

  .before-after__track {
    aspect-ratio: 3 / 4;
  }

  .ideas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photos-card__filters {
    grid-template-columns: 42px minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px;
  }

  .photos-filter {
    min-height: 42px;
    padding: 0 8px;
    font-size: 0.94rem;
    white-space: nowrap;
  }

  .photos-filter--icon {
    width: 42px;
    font-size: 1.2rem;
  }

  .photos-filter:last-child {
    grid-column: auto;
  }

  .photos-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #prices .section__head {
    text-align: center;
  }

  .footer__inner {
    flex-direction: column;
  }

  .footer__links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
