/* Искра — 18+ dating lander */
:root {
  --void: #0b1120;
  --graphite: #131b2e;
  --surface: #1a2438;
  --accent: #14b8a6;
  --accent-bright: #2dd4bf;
  --accent-hot: #f97316;
  --accent-cool: #38bdf8;
  --accent-deep: #0d9488;
  --text: rgba(255, 255, 255, 0.9);
  --muted: rgba(255, 255, 255, 0.55);
  --glass: rgba(19, 27, 46, 0.72);
  --border: rgba(255, 255, 255, 0.09);
  --radius: 0.875rem;
  --radius-lg: 1.125rem;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --sticky-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--void);
  overflow-x: hidden;
}

body.sticky-visible {
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  body.sticky-visible {
    padding-bottom: 0;
  }
}

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 100% 70% at 10% 0%, rgba(20, 184, 166, 0.22), transparent 55%),
    radial-gradient(ellipse 80% 60% at 90% 30%, rgba(56, 189, 248, 0.14), transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(249, 115, 22, 0.12), transparent 55%),
    var(--void);
}

.bg-fade {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 0%, var(--void) 55%, var(--void) 100%);
  pointer-events: none;
}

.wrap {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 17, 32, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: #fff;
}

.logo-mark {
  color: var(--accent-hot);
  font-size: 0.9rem;
}

.logo span.gradient,
.gradient {
  background: linear-gradient(90deg, var(--accent-bright), var(--accent-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent-bright);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-switch {
  display: inline-flex;
  padding: 0.2rem;
  gap: 0.15rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.lang-btn {
  padding: 0.3rem 0.65rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.is-active {
  color: #fff;
  background: linear-gradient(120deg, var(--accent-deep), var(--accent-hot));
  box-shadow: 0 0 16px -6px rgba(249, 115, 22, 0.55);
}

.nav-live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem 0.65rem;
  font-size: 0.72rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

@media (min-width: 768px) {
  .nav-live {
    display: none;
  }
}

.nav-live strong {
  color: #fff;
  font-weight: 600;
}

.nav-live-dot,
.online-sm {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.85);
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--accent-deep), var(--accent), var(--accent-hot));
  box-shadow: 0 0 28px -8px rgba(20, 184, 166, 0.45);
}

.btn-primary:hover {
  box-shadow: 0 0 36px -4px rgba(249, 115, 22, 0.35);
  transform: scale(1.02);
}

.btn-ghost {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(45, 212, 191, 0.35);
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 0.9375rem;
  border-radius: var(--radius-lg);
}

/* Hero split */
.hero {
  padding: 2rem 0 1.5rem;
}

.hero-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    min-height: calc(88vh - 5rem);
  }
}

.hero-content {
  text-align: center;
}

@media (min-width: 900px) {
  .hero-content {
    text-align: left;
  }

  .hero-cta {
    justify-content: flex-start;
  }
}

.badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 0.95rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
  border: 1px solid rgba(45, 212, 191, 0.45);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.18) 0%, rgba(11, 17, 32, 0.92) 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset;
  backdrop-filter: blur(10px);
}

.badge-gold {
  color: #fde68a;
  border-color: rgba(249, 115, 22, 0.5);
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.2) 0%, rgba(11, 17, 32, 0.92) 100%);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.15);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 32rem;
}

@media (min-width: 900px) {
  .hero p {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.hero-note {
  margin: 1.25rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
}

/* Hero slider */
.hero-stack {
  position: relative;
  width: min(100%, 22rem);
  aspect-ratio: 3 / 4;
  margin: 0 auto 2.25rem;
}

.hero-slider-stage {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65);
  background: var(--graphite);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity 0.65s ease, transform 0.65s ease, visibility 0.65s;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slide .photo-slot {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide .photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.22);
  transform-origin: center 32%;
}

.hero-stack-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(11, 17, 32, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
}

.hero-slider-dots {
  position: absolute;
  bottom: -1.65rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 4;
}

.hero-slider-dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.hero-slider-dot.is-active {
  background: var(--accent-hot);
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.45);
  transform: scale(1.15);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: opacity 0.3s ease;
    transform: none;
  }
}

/* Photo placeholders */
.photo-slot {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background:
    linear-gradient(145deg, rgba(19, 27, 46, 0.95), rgba(26, 36, 56, 0.95)),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 2px,
      transparent 2px,
      transparent 8px
    );
}

.photo-slot img,
.photo-slot video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.photo-slot.is-placeholder img,
.photo-slot.is-placeholder video {
  display: none;
}

.photo-slot.is-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.photo-slot.is-placeholder::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.2)' stroke-width='1.5'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E") center 42% no-repeat;
  background-size: 2.5rem;
  padding-top: 2.5rem;
}

.photo-slot--blur {
  overflow: hidden;
}

.photo-slot--blur img {
  filter: blur(14px) saturate(1.1);
  transform: scale(1.12);
  transform-origin: center center;
}

/* Stats bar */
.stats-bar {
  padding: 0 0 1rem;
  margin-top: -0.5rem;
}

.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 1.15rem 1rem;
  border-radius: var(--radius-lg);
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  font-weight: 700;
  background: linear-gradient(90deg, #fff, var(--accent-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.stat strong.stat-pulse {
  animation: stat-pulse 0.55s ease;
}

.stat--live strong {
  background: linear-gradient(90deg, var(--accent-bright), var(--accent-hot));
  -webkit-background-clip: text;
  background-clip: text;
}

@keyframes stat-pulse {
  0% { transform: scale(1); filter: brightness(1); }
  40% { transform: scale(1.06); filter: brightness(1.25); }
  100% { transform: scale(1); filter: brightness(1); }
}

.stat span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Sections */
section {
  padding: 3.5rem 0;
}

.section-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: 700;
  text-align: center;
}

.section-sub {
  margin: 0 auto 2rem;
  max-width: 28rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
}

/* Profile grid — компактные карточки */
.grid-profiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  max-width: 56rem;
  margin: 0 auto;
}

.grid-profiles--browse {
  max-width: 22rem;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .grid-profiles--browse {
    max-width: 26rem;
    gap: 0.85rem;
  }
}

@media (min-width: 768px) {
  .grid-profiles--browse {
    max-width: 32rem;
    gap: 1rem;
  }
}

.section-browse .profile-card {
  width: 100%;
}

.section-browse .profile-card .ph {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: none;
  height: auto;
}

.section-browse .profile-card .photo-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.section-browse .profile-card .photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.section-browse .profile-lock-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
}

.section-browse .profile-lock-overlay span {
  font-size: 0.62rem;
  padding: 0.35rem 0.6rem;
  white-space: nowrap;
}

.profile-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(19, 27, 46, 0.55);
  transition: transform 0.2s, box-shadow 0.2s;
}

.profile-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -10px rgba(20, 184, 166, 0.2);
}

.profile-card .ph {
  position: relative;
  aspect-ratio: 3 / 4;
  max-height: 7.5rem;
  overflow: hidden;
}

@media (min-width: 480px) {
  .profile-card .ph {
    max-height: 8.5rem;
  }
}

@media (min-width: 768px) {
  .profile-card .ph {
    max-height: 9.5rem;
  }
}

.profile-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  touch-action: manipulation;
  user-select: none;
}

.profile-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.profile-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 8;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 0.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(11, 17, 32, 0.45);
  backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s, background 0.2s;
}

.profile-carousel:hover .profile-carousel-btn,
.profile-carousel-btn:focus {
  opacity: 0.95;
}

.profile-carousel-btn--prev { left: 0.2rem; }
.profile-carousel-btn--next { right: 0.2rem; }

.profile-carousel-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  display: flex;
  gap: 0.25rem;
  padding: 0.15rem 0.35rem;
  border-radius: 999px;
  background: rgba(11, 17, 32, 0.45);
}

.profile-carousel-dot {
  width: 0.28rem;
  height: 0.28rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.profile-carousel-dot.is-active {
  background: var(--accent-bright);
  box-shadow: 0 0 6px rgba(45, 212, 191, 0.55);
  transform: scale(1.15);
}

.profile-card .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 35%, var(--void) 100%);
}

.online {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 0.45rem;
  height: 0.45rem;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.85);
  z-index: 12;
  animation: online-pulse 1.5s ease-in-out infinite;
}

@keyframes online-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(34, 197, 94, 0.95); }
  50% { opacity: 0.65; box-shadow: 0 0 16px rgba(52, 211, 153, 0.9); }
}

.badge-fast {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  z-index: 12;
  padding: 0.15rem 0.4rem;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fde68a;
  background: rgba(249, 115, 22, 0.22);
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  max-width: calc(100% - 1.5rem);
  line-height: 1.2;
}

.profile-lock-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: rgba(8, 8, 8, 0.25);
}

.profile-lock-overlay span {
  padding: 0.35rem 0.65rem;
  font-size: 0.58rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(11, 17, 32, 0.82);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: var(--accent-bright);
  backdrop-filter: blur(10px);
}

.profile-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.45rem 0.5rem;
  z-index: 9;
  pointer-events: none;
}

.profile-meta strong {
  font-family: var(--font-display);
  font-size: 0.72rem;
  line-height: 1.2;
}

.profile-meta span {
  display: block;
  font-size: 0.58rem;
  color: var(--muted);
  margin-top: 0.05rem;
}

.profile-bio {
  margin: 0;
  padding: 0.4rem 0.5rem;
  font-size: 0.58rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.68);
  border-top: 1px solid var(--border);
  background: rgba(14, 20, 34, 0.95);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 599px) {
  .profile-bio {
    display: none;
  }
}

.profile-bio-label {
  display: none;
}

.profile-actions {
  padding: 0.4rem;
  border-top: 1px solid var(--border);
}

.profile-actions--dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
}

.profile-actions button {
  padding: 0.38rem 0.2rem;
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--accent-bright);
  background: rgba(20, 184, 166, 0.12);
  border: none;
  border-radius: calc(var(--radius) - 0.15rem);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.profile-actions button:hover {
  background: rgba(20, 184, 166, 0.22);
}

.profile-actions .profile-msg {
  color: #fff;
  background: linear-gradient(120deg, var(--accent-deep), var(--accent-hot));
}

/* Steps & benefits */
.grid-3 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  padding: 1.35rem;
}

.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cool);
  letter-spacing: 0.1em;
}

.step h3 {
  margin: 0.65rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

#how {
  padding-bottom: 3rem;
}

#how .closing-stack {
  margin-top: 2rem;
}

.grid-ben.compact {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .grid-ben.compact {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ben {
  padding: 1.15rem;
}

.ben-bar {
  width: 2.5rem;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hot));
  margin-bottom: 0.65rem;
}

.ben h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
}

.ben p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.section-profiles {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.section-profiles .swipe-demo {
  max-width: 24rem;
  margin: 0 auto;
}

.section-browse {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* Swipe demo */
.swipe-demo {
  position: relative;
  max-width: 22rem;
  margin: 0 auto;
  padding: 1.25rem;
  overflow: hidden;
}

.swipe-demo-stage {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.swipe-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.92) translateY(12px);
  transition: opacity 0.35s, transform 0.35s;
  pointer-events: none;
}

.swipe-card.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  z-index: 2;
}

.swipe-card.is-exit-like {
  opacity: 0;
  transform: translateX(120%) rotate(12deg);
  transition: transform 0.4s, opacity 0.35s;
}

.swipe-card.is-exit-pass {
  opacity: 0;
  transform: translateX(-120%) rotate(-12deg);
  transition: transform 0.4s, opacity 0.35s;
}

.swipe-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0.85rem 1rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 17, 32, 0.75) 35%, rgba(11, 17, 32, 0.96) 100%);
}

.swipe-card-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.swipe-card-info span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.swipe-card-comment {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.4;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
}

.swipe-demo-progress {
  text-align: center;
  margin: 1rem 0 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.swipe-demo-progress span {
  color: var(--accent-hot);
  font-weight: 700;
}

.swipe-demo-actions {
  display: flex;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.25s;
}

.swipe-demo-actions.is-hidden {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

.swipe-btn {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swipe-btn--pass {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
}

.swipe-btn--like {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent-hot));
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.28);
}

.swipe-btn:active {
  transform: scale(0.92);
}

.swipe-match {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
}

.swipe-match.hidden {
  display: none;
}

.swipe-match-inner {
  text-align: center;
}

.swipe-match h3 {
  margin: 0.75rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.swipe-match p {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Closing: отзывы + финальный CTA в одной колонке */
.section-closing {
  padding-bottom: 3rem;
}

.closing-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 32rem;
  margin: 0 auto;
  width: 100%;
}

/* Reviews carousel */
.reviews-carousel {
  width: 100%;
  padding: 1.35rem 1.25rem 1rem;
  overflow: hidden;
}

.reviews-track {
  position: relative;
  min-height: 5.5rem;
  text-align: center;
}

.quote {
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  inset: 0;
  transition: opacity 0.4s ease, visibility 0.4s;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.quote.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
  pointer-events: auto;
}

.quote p {
  margin: 0;
  font-style: italic;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
  max-width: 26rem;
}

.quote cite {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-hot);
}

.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

.reviews-btn {
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
}

.reviews-dots {
  display: flex;
  gap: 0.4rem;
}

.reviews-dot {
  width: 0.4rem;
  height: 0.4rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.reviews-dot.is-active {
  background: var(--accent-bright);
  box-shadow: 0 0 8px rgba(45, 212, 191, 0.45);
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 1.75rem 1.25rem 1.5rem;
  border: 1px solid rgba(45, 212, 191, 0.2);
  background: linear-gradient(160deg, rgba(13, 148, 136, 0.12), var(--graphite), rgba(249, 115, 22, 0.08));
}

.final-cta-count {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.final-cta-count strong {
  font-size: 1.35rem;
  color: var(--accent-hot);
  font-family: var(--font-display);
}

.final-cta h2 {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.2vw, 1.55rem);
  line-height: 1.35;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-foot {
  margin: 1.15rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.52);
  letter-spacing: 0.02em;
}

.center-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Sticky bar */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(11, 17, 32, 0.94);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(20px);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

@media (min-width: 768px) {
  .sticky-bar {
    display: none;
  }
}

.sticky-bar.is-visible {
  transform: translateY(0);
}

.sticky-bar-live {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.sticky-bar-live strong {
  color: #fff;
}

.sticky-bar .btn {
  flex-shrink: 0;
  padding: 0.65rem 1.1rem;
  font-size: 0.8rem;
}

/* Footer */
footer {
  padding: 2.5rem 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

@media (max-width: 767px) {
  footer {
    padding-bottom: 1rem;
  }
}

footer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-brand {
  font-weight: 700;
}

footer a {
  color: var(--accent-bright);
  text-decoration: none;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .online {
    animation: none;
  }
}
