﻿:root {
  --white: #ffffff;
  --text: #0f1a2e;
  --muted: #66758b;
  --line: rgba(132, 164, 198, 0.24);
  --blue: #168fe3;
  --blue-dark: #066db5;
  --cyan: #54d9ff;
  --rose: #ff8aa5;
  --peach: #fff1eb;
  --mint: #e9fff8;
  --glass: rgba(255, 255, 255, 0.74);
  --shadow: 0 24px 70px rgba(37, 82, 118, 0.14);
  --shadow-strong: 0 34px 90px rgba(44, 96, 137, 0.22);
  --radius: 8px;
  --max: 1380px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 18% -8%, rgba(84, 217, 255, 0.22), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(255, 138, 165, 0.17), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #eef8ff 54%, #ffffff 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  background-image:
    linear-gradient(rgba(23, 78, 116, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 78, 116, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 48%, transparent 84%);
}

body::after {
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0%, rgba(84, 217, 255, 0.12) 34%, transparent 52%),
    linear-gradient(295deg, transparent 0%, rgba(255, 138, 165, 0.10) 26%, transparent 44%);
  animation: auroraShift 12s ease-in-out infinite alternate;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 20px;
  z-index: 20;
  width: min(100% - 64px, var(--max));
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 50px rgba(35, 88, 130, 0.10);
  backdrop-filter: blur(18px);
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 850;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(22, 143, 227, 0.20);
}

.brand span {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.18;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
  color: #56657a;
  font-size: 15px;
  font-weight: 720;
}

.nav a {
  position: relative;
  padding: 10px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover,
.nav a.active { color: var(--text); }
.nav a:hover::after,
.nav a.active::after { transform: scaleX(1); }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-1px); }
.button-primary {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 16px 38px rgba(22, 143, 227, 0.28);
}
.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(120, 163, 199, 0.24);
  box-shadow: 0 12px 30px rgba(60, 103, 132, 0.08);
}
.button-large { min-height: 58px; padding: 0 28px; font-size: 18px; }

.section {
  position: relative;
  width: min(100% - 64px, var(--max));
  margin: 0 auto;
  padding: 72px 0;
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(410px, 520px) minmax(0, 1fr);
  gap: clamp(72px, 6.8vw, 112px);
  align-items: center;
  padding-top: 42px;
  padding-bottom: 18px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.hero-badge {
  width: max-content;
  max-width: 100%;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(137, 180, 215, 0.28);
  border-radius: 999px;
  padding: 0 18px;
  color: #38618a;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 34px rgba(55, 101, 140, 0.08);
  font-size: 14px;
  font-weight: 720;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 520px;
  font-size: clamp(48px, 4.45vw, 72px);
  line-height: 1.01;
  letter-spacing: 0;
}

.hero h1 { margin-top: 24px; }
.hero h1 span {
  color: transparent;
  background: linear-gradient(135deg, #3978ff 0%, #23c2ff 78%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p,
.page-hero p,
.section-heading p,
.preview-band p,
.photo-transform p,
.audio-item p,
.path-card p,
.text-examples p {
  color: var(--muted);
  line-height: 1.64;
}

.hero-copy > p {
  max-width: 500px;
  margin: 28px 0 0;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 24px;
  width: 560px;
  max-width: calc(100vw - 64px);
  margin-top: 32px;
}

.hero-proof span {
  min-width: 0;
  min-height: 48px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 11px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #162438;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-proof i {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #147fe0;
  background:
    radial-gradient(circle at 34% 28%, #ffffff 0%, rgba(255, 255, 255, 0.92) 38%, transparent 39%),
    linear-gradient(135deg, #ffffff, rgba(232, 248, 255, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(119, 184, 230, 0.22),
    0 12px 28px rgba(23, 143, 227, 0.13);
  font-style: normal;
}

.hero-proof svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-proof b {
  display: block;
  align-self: end;
  font-size: 15px;
  line-height: 1.12;
  font-weight: 820;
  white-space: nowrap;
}

.hero-proof small {
  display: block;
  margin-top: 5px;
  color: #5f7088;
  font-size: 12.75px;
  line-height: 1.2;
  font-weight: 540;
  white-space: nowrap;
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 800px);
  filter: drop-shadow(0 32px 78px rgba(52, 98, 132, 0.18));
  transform: translateX(18px);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 18% 7% 8% 14%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 52% 48%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.42) 34%, rgba(84, 217, 255, 0.08) 58%, transparent 76%);
  filter: blur(24px);
  animation: floatSlow 7s ease-in-out infinite alternate;
}

.hero-visual img {
  width: 100%;
  opacity: 0.99;
  mix-blend-mode: multiply;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 10%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 10%, #000 86%, transparent 100%);
  mask-composite: intersect;
}

.product-paths {
  padding-top: 28px;
}

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

.path-card,
.greeting-stack article,
.audio-item,
.text-examples article,
.before-after figure {
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.path-card {
  position: relative;
  min-height: 235px;
  padding: 32px 30px 28px;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.path-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), transparent 44%),
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.72), transparent 24%);
  pointer-events: none;
}

.path-card::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -42px;
  width: 190px;
  height: 150px;
  border-radius: 50%;
  opacity: 0.75;
  pointer-events: none;
}

.path-card:hover {
  transform: translateY(-4px);
  border-color: rgba(84, 217, 255, 0.52);
  box-shadow: var(--shadow-strong);
}

.path-icon,
.path-card h2,
.path-card p,
.path-card span {
  position: relative;
  z-index: 1;
}

.path-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #6da6ff, var(--blue));
  box-shadow: 0 18px 34px rgba(22, 143, 227, 0.22);
  font-size: 30px;
  font-weight: 850;
}

.path-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.path-card h2 {
  margin: 34px 0 12px;
  font-size: 30px;
  line-height: 1.04;
}

.path-card p {
  max-width: 290px;
  margin: 0;
  font-size: 16px;
  line-height: 1.56;
}

.path-card span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-top: 20px;
  border: 1px solid rgba(95, 138, 172, 0.20);
  border-radius: 50%;
  color: #53657a;
  background: rgba(255, 255, 255, 0.74);
}

.path-song { background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), #eef9ff); }
.path-card-art { background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), var(--peach)); }
.path-greeting { background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), var(--mint)); }
.path-song::after { background: radial-gradient(circle, rgba(84, 217, 255, 0.34), transparent 68%); }
.path-card-art::after { background: radial-gradient(circle, rgba(255, 138, 165, 0.28), transparent 68%); }
.path-greeting::after { background: radial-gradient(circle, rgba(122, 229, 204, 0.30), transparent 68%); }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 28px;
}

.section-heading h2,
.preview-band h2,
.how-section h2,
.photo-transform h2,
.cta-section h2 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.section-heading p {
  max-width: 520px;
  margin: 0;
}

.how-section.compact {
  padding-top: 64px;
}

.preview-band,
.photo-transform {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
  gap: 36px;
  align-items: center;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--blue-dark);
  font-weight: 850;
}

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

.greeting-stack article,
.audio-item,
.text-examples article {
  padding: 22px;
}

.audio-item {
  display: flex;
  flex-direction: column;
  min-height: 258px;
}

.greeting-stack p,
.text-examples p {
  margin-bottom: 0;
}

.audio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.audio-grid.compact {
  grid-template-columns: repeat(2, 1fr);
}

.audio-item span,
.text-examples span {
  display: block;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.audio-item strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
}

.audio-item p {
  margin-bottom: 18px;
}

audio {
  width: 100%;
  margin-top: auto;
}

.card-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.card-gallery.large {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item,
.card-gallery img,
.before-after img {
  width: 100%;
  aspect-ratio: 1;
}

.gallery-item {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-item::after {
  content: "Открыть";
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  color: #18324f;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 28px rgba(32, 83, 124, 0.14);
  font-size: 12px;
  font-weight: 820;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
  backdrop-filter: blur(14px);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.card-gallery img,
.before-after img {
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px rgba(48, 88, 118, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
  box-shadow: 0 24px 64px rgba(48, 88, 118, 0.18);
}

.page-hero {
  padding-top: 92px;
  padding-bottom: 48px;
}

.examples-page .page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(380px, 0.7fr);
  gap: 48px;
  align-items: center;
}

.hero-mini-gallery {
  position: relative;
  min-height: 220px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 28% 42%, rgba(84, 217, 255, 0.22), transparent 30%),
    radial-gradient(circle at 72% 48%, rgba(255, 138, 165, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(237, 249, 255, 0.42));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.hero-mini-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 20px 52px rgba(48, 88, 118, 0.14);
}

.hero-mini-gallery img:nth-child(1) {
  transform: rotate(-4deg) translateY(10px);
}

.hero-mini-gallery img:nth-child(2) {
  transform: translateY(-10px);
}

.hero-mini-gallery img:nth-child(3) {
  transform: rotate(4deg) translateY(12px);
}

.page-hero p {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: 18px;
}

.cards-section {
  padding-top: 54px;
}

.cards-section .section-heading {
  margin-bottom: 24px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(12, 25, 43, 0.52);
  backdrop-filter: blur(18px);
}

.lightbox.is-open {
  display: grid;
}

.lightbox-image {
  max-width: min(92vw, 1040px);
  max-height: 86vh;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 38px 120px rgba(4, 19, 34, 0.38);
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  color: #142238;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(5, 22, 38, 0.18);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.text-examples p {
  font-size: 18px;
}

.text-examples .poem-text {
  font-size: 17px;
  line-height: 1.72;
}

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

figure {
  margin: 0;
  padding: 12px;
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.how-section,
.cta-section {
  text-align: center;
}

.final-cta {
  padding-top: 44px;
  padding-bottom: 36px;
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px 36px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 42%, rgba(84, 217, 255, 0.20), transparent 30%),
    radial-gradient(circle at 82% 48%, rgba(255, 138, 165, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(241, 251, 255, 0.66));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
  text-align: left;
}

.cta-panel::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: -42px;
  width: 210px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 217, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.cta-panel h2,
.cta-panel p,
.cta-panel .button {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  margin: 0;
  max-width: none;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.05;
}

.cta-panel p {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.how-section h2 {
  margin: 0 auto 30px;
}

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

.steps article {
  position: relative;
  min-height: 118px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 16px;
  padding: 26px 26px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(246, 252, 255, 0.66));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  overflow: hidden;
  text-align: left;
}

.steps article::after {
  content: "";
  position: absolute;
  inset: auto -36px -56px auto;
  width: 160px;
  height: 118px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 217, 255, 0.17), transparent 70%);
  pointer-events: none;
}

.steps span {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #48b4ff, var(--blue-dark));
  box-shadow: 0 14px 28px rgba(22, 143, 227, 0.22);
  font-weight: 850;
  position: relative;
  z-index: 1;
}

.steps strong,
.steps p {
  position: relative;
  z-index: 1;
}

.steps strong {
  display: block;
  color: #132136;
  font-size: 18px;
  line-height: 1.15;
}

.steps p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.footer {
  width: min(100% - 64px, var(--max));
  margin: 0 auto;
  padding: 34px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.footer a {
  color: var(--blue-dark);
  font-weight: 800;
}

/* Premium polish pass: the same pearl/cyber direction, with cleaner rhythm. */
.site-header {
  box-shadow:
    0 18px 50px rgba(35, 88, 130, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.button-primary {
  position: relative;
  overflow: hidden;
}

.button-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.34) 42%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.button-primary:hover::before {
  transform: translateX(120%);
}

.button-primary,
.button-primary:visited {
  color: #fff;
}

.button-primary > *,
.button-primary {
  isolation: isolate;
}

.hero {
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: -1;
  width: min(720px, 54vw);
  height: 110px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(84, 217, 255, 0.18), transparent 68%),
    radial-gradient(ellipse at 70% 52%, rgba(255, 138, 165, 0.12), transparent 58%);
  filter: blur(18px);
  transform: translateX(-12%);
}

.hero-badge {
  position: relative;
  gap: 10px;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 18px rgba(84, 217, 255, 0.62);
}

.hero-proof {
  position: relative;
}

.hero-proof::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(84, 217, 255, 0.34), rgba(255, 138, 165, 0.20), transparent);
  pointer-events: none;
}

.hero-proof span {
  position: relative;
  border-radius: 14px;
  transition: transform 180ms ease;
}

.hero-proof span:hover {
  transform: translateY(-2px);
}

.hero-proof i {
  position: relative;
  z-index: 1;
}

.path-card {
  min-height: 288px;
  display: flex;
  flex-direction: column;
}

.path-card small {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-top: 22px;
  padding: 7px 10px;
  border: 1px solid rgba(120, 163, 199, 0.18);
  border-radius: 999px;
  color: #50647d;
  background: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  line-height: 1;
  font-weight: 780;
}

.path-card h2 {
  margin-top: 18px;
}

.path-card p {
  min-height: 50px;
}

.path-card > span {
  margin-top: auto;
}

.path-song::after {
  width: 240px;
  height: 174px;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(71, 164, 255, 0.24) 8% 10%, transparent 10% 18%, rgba(113, 203, 255, 0.26) 18% 21%, transparent 21% 30%, rgba(130, 115, 255, 0.18) 30% 33%, transparent 33% 100%),
    radial-gradient(circle, rgba(84, 217, 255, 0.28), transparent 64%);
  transform: rotate(-8deg);
}

.path-card-art::after {
  width: 210px;
  height: 168px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.80), rgba(255, 215, 224, 0.32)),
    radial-gradient(circle at 42% 36%, rgba(255, 138, 165, 0.32), transparent 52%);
  transform: rotate(-10deg);
}

.path-greeting::after {
  width: 230px;
  height: 154px;
  background:
    linear-gradient(128deg, rgba(255, 255, 255, 0.70), transparent 34%),
    radial-gradient(circle at 52% 48%, rgba(121, 226, 205, 0.28), transparent 62%);
  transform: rotate(8deg);
}

.steps {
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 48px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(22, 143, 227, 0.14), rgba(84, 217, 255, 0.36), rgba(255, 138, 165, 0.22));
}

.steps article {
  min-height: 152px;
  transform: translateZ(0);
}

.steps article:hover {
  border-color: rgba(84, 217, 255, 0.42);
  box-shadow: var(--shadow-strong);
}

.steps span {
  outline: 8px solid rgba(255, 255, 255, 0.74);
}

.home-cta {
  padding-top: 22px;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.examples-page .page-hero {
  position: relative;
}

.examples-page .page-hero::before {
  content: "";
  position: absolute;
  right: 6%;
  bottom: 24px;
  z-index: -1;
  width: 460px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(84, 217, 255, 0.16), transparent 68%);
  filter: blur(16px);
}

.hero-mini-gallery {
  min-height: 260px;
  transform: translateZ(0);
}

.hero-mini-gallery img {
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.hero-mini-gallery:hover img:nth-child(1) {
  transform: rotate(-6deg) translateY(7px) translateX(-3px);
}

.hero-mini-gallery:hover img:nth-child(2) {
  transform: translateY(-16px);
}

.hero-mini-gallery:hover img:nth-child(3) {
  transform: rotate(6deg) translateY(9px) translateX(3px);
}

.audio-item {
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(247, 252, 255, 0.70));
}

.audio-item p {
  min-height: 54px;
}

.audio-item audio {
  height: 42px;
  border-radius: 999px;
}

.text-examples article {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(84, 217, 255, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(248, 252, 255, 0.70));
}

.text-examples article::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -52px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 165, 0.13), transparent 66%);
}

.text-examples span,
.poem-text {
  position: relative;
  z-index: 1;
}

.poem-text {
  text-wrap: pretty;
}

.card-gallery {
  align-items: stretch;
}

.gallery-item {
  box-shadow: 0 18px 48px rgba(48, 88, 118, 0.10);
}

.gallery-item:focus-visible {
  outline: 3px solid rgba(84, 217, 255, 0.62);
  outline-offset: 4px;
}

@media (min-width: 981px) {
  .hero {
    grid-template-columns: minmax(410px, 545px) minmax(0, 1fr);
    gap: clamp(62px, 5.8vw, 100px);
  }

  .hero-visual img {
    animation: giftFloat 7.5s ease-in-out infinite alternate;
  }

  .product-paths {
    padding-top: 42px;
  }
}

@keyframes auroraShift {
  0% { opacity: 0.72; transform: translate3d(-16px, -10px, 0); }
  100% { opacity: 1; transform: translate3d(18px, 12px, 0); }
}

@keyframes floatSlow {
  0% { transform: translate3d(0, 0, 0) rotate(-2deg); }
  100% { transform: translate3d(10px, -12px, 0) rotate(2deg); }
}

@keyframes giftFloat {
  0% { transform: translate3d(0, 0, 0) rotate(-0.6deg); }
  100% { transform: translate3d(0, -10px, 0) rotate(0.6deg); }
}

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

@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .hero {
    grid-template-columns: minmax(360px, 470px) minmax(0, 1fr);
    gap: 44px;
  }
  .hero-proof {
    width: 100%;
  }
  .hero h1 {
    font-size: clamp(44px, 4.6vw, 58px);
  }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .hero,
  .examples-page .page-hero,
  .preview-band,
  .photo-transform {
    grid-template-columns: 1fr;
  }
  .examples-page .page-hero::after {
    display: none;
  }
  .card-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-visual {
    justify-self: start;
    width: min(100%, 760px);
    transform: none;
  }
  .path-grid,
  .audio-grid,
  .audio-grid.compact,
  .card-gallery.large,
  .steps,
  .examples-grid {
    grid-template-columns: 1fr;
  }
  .section-heading { display: block; }
  .section-heading p { margin-top: 12px; }
  .cta-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-panel p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 620px) {
  .site-header,
  .section,
  .footer {
    width: min(100% - 28px, 390px);
  }
  .site-header {
    top: 14px;
  }
  .brand {
    gap: 10px;
  }
  .brand span {
    display: block;
    max-width: 176px;
    font-size: 13px;
    line-height: 1.15;
  }
  .site-header .button {
    width: 44px;
    padding: 0;
    font-size: 0;
  }
  .site-header .button::before {
    content: "MAX";
    position: static;
    inset: auto;
    background: none;
    transform: none;
    transition: none;
    font-size: 11px;
  }
  .site-header .button:hover::before {
    transform: none;
  }
  .section {
    padding: 56px 0;
  }
  .hero {
    min-height: auto;
    gap: 30px;
    padding-top: 46px;
  }
  .hero h1,
  .page-hero h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.03;
  }
  .hero-copy > p,
  .page-hero p {
    font-size: 16px;
  }
  .hero-actions {
    display: grid;
  }
  .hero-proof {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .path-card h2,
  .audio-item strong,
  .text-examples p {
    overflow-wrap: anywhere;
  }
  .before-after {
    grid-template-columns: 1fr;
  }
  .card-gallery {
    grid-template-columns: 1fr;
  }
  .lightbox {
    padding: 14px;
  }
  .lightbox-close {
    top: 14px;
    right: 14px;
  }
  .footer {
    flex-direction: column;
  }
}

@media (max-width: 980px) {
  .hero-proof::before,
  .steps::before,
  .examples-page .page-hero::before {
    display: none;
  }

  .page-hero-actions {
    margin-top: 22px;
  }

  .path-card {
    min-height: 250px;
  }
}

@media (max-width: 620px) {
  .hero::after {
    display: none;
  }

  .page-hero-actions,
  .page-hero-actions .button {
    width: 100%;
  }

  .path-card small {
    margin-top: 18px;
  }

  .steps article {
    min-height: 142px;
  }

  .audio-item p {
    min-height: auto;
  }
}
