/* ===== SVT Dating — Pink / Purple / Black — Progressive Landing ===== */
:root {
  --bg: #0a0a0e;
  --bg-elevated: #12101a;
  --bg-card: #16131f;
  --bg-glass: rgba(22, 19, 31, 0.7);
  --text: #f5f3ff;
  --text-muted: #b8b0d0;
  --accent: #ec4899;
  --accent-secondary: #a855f7;
  --accent-gradient: linear-gradient(135deg, #ec4899 0%, #e0409e 18%, #c855b8 38%, #a855f7 58%, #7c6cf2 78%, #6366f1 100%);
  --accent-gradient-smooth: linear-gradient(135deg, #ec4899 0%, #e0409e 18%, #c855b8 38%, #a855f7 58%, #7c6cf2 78%, #6366f1 100%);
  --accent-muted: rgba(236, 72, 153, 0.2);
  --accent-glow: rgba(236, 72, 153, 0.4);
  --border: rgba(168, 85, 247, 0.15);
  --radius: 16px;
  --radius-pill: 9999px;
  --radius-lg: 24px;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 82px;
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px var(--accent-glow);
}

@media (prefers-color-scheme: light) {
  :root.auto-theme,
  :root:not([data-theme="dark"]) {
    --bg: #faf5ff;
    --bg-elevated: #fff;
    --bg-card: #fff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --text: #1e1b24;
    --text-muted: #6b5b7a;
    --accent-muted: rgba(236, 72, 153, 0.12);
    --border: rgba(168, 85, 247, 0.2);
  }
}

[data-theme="light"] {
  --bg: #faf5ff;
  --bg-elevated: #fff;
  --bg-card: #fff;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --text: #1e1b24;
  --text-muted: #6b5b7a;
  --accent-muted: rgba(236, 72, 153, 0.12);
  --border: rgba(168, 85, 247, 0.2);
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse 100% 80% at 50% -20%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(236, 72, 153, 0.08) 0%, transparent 45%);
  overflow-x: hidden;
}

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

a:hover {
  color: var(--accent-secondary);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

/* ===== Header — glass ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), background var(--transition);
}

.header--scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .header--scrolled {
  box-shadow: 0 4px 24px rgba(168, 85, 247, 0.08);
}

[data-theme="light"] .header,
.auto-theme .header {
  background: var(--bg-glass);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.header__inner .header__brand {
  justify-self: start;
}

.header__auth {
  display: none;
  align-items: center;
  gap: 12px;
  justify-self: center;
}

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

.header__brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.header__brand .header__logo-img {
  height: 68px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  flex-shrink: 0;
}

.header__brand:hover .logo {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header__tagline {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.header__brand .logo {
  font-size: 1.35rem;
}

.logo:hover {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.header__inner .nav {
  justify-self: center;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
}

.header__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  margin-right: 20px;
}

.header__controls .theme-switcher {
  margin-left: 0;
}


.theme-switcher,
.lang-switcher {
  display: flex;
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.theme-switcher__btn,
.lang-switcher__btn {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  font-weight: 500;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.theme-switcher__btn:hover,
.lang-switcher__btn:hover {
  color: var(--text);
  background: var(--accent-muted);
}

.theme-switcher__btn[aria-pressed="true"],
.lang-switcher__btn.active,
.lang-switcher__btn[aria-pressed="true"] {
  background: var(--accent-gradient-smooth);
  background-size: 100% 100%;
  background-origin: border-box;
  background-clip: padding-box;
  color: #fff;
}

.lang-switcher__btn {
  min-width: 44px;
}

.nav__controls--mobile {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 20px 0 0;
  margin-top: 20px;
  border-top: 1px solid var(--border);
}

@media (max-width: 767px) {
  .nav__controls--mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .nav__controls--mobile {
    display: none !important;
  }
}

.header__btn {
  display: none;
  text-decoration: none;
  flex-shrink: 0;
}

.header__cta {
  display: none;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .header__btn,
  .header__cta {
    display: inline-flex;
  }
}

.header__cta--mobile {
  display: inline-flex;
}

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

.burger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  border-radius: var(--radius);
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.burger:hover {
  background: var(--accent-muted);
}

.burger span {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

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

@media (max-width: 767px) {
  .nav {
    display: none !important;
  }
}

.nav--open {
  display: flex;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: transparent;
  }

  .nav--open {
    position: static;
    flex-direction: row;
    background: transparent;
  }
}

/* ===== Buttons — pill form style ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.35);
}

.btn--primary {
  background: var(--accent-gradient-smooth);
  background-size: 100% 100%;
  background-origin: border-box;
  background-clip: border-box;
  color: #fff;
  -webkit-text-fill-color: #fff;
  border: 2px solid transparent;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.btn--primary:active,
.btn--primary:focus {
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: var(--accent-gradient-smooth);
  background-size: 100% 100%;
}

.btn--primary:hover {
  box-shadow: 0 8px 32px rgba(236, 72, 153, 0.45);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: rgba(236, 72, 153, 0.5);
}

.btn--outline:hover {
  background: var(--accent-muted);
  border-color: var(--accent);
  color: var(--text);
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero__label {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin: 0 0 20px;
  padding: 8px 16px;
  background: var(--accent-muted);
  border-radius: var(--radius-pill);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: var(--text-muted);
  margin: 0 0 48px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(236, 72, 153, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 70%, rgba(168, 85, 247, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

/* Hero hearts: two hearts meet in center and merge (lightweight CSS only) */
.hero__hearts {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__heart {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(55vw, 320px);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.14;
}

.hero__heart-path {
  fill: var(--accent);
  stroke: rgba(168, 85, 247, 0.25);
  stroke-width: 0.5;
  transform-origin: center;
}

.hero__heart--left {
  margin-left: -45vw;
  animation: heroHeartLeft 14s ease-in-out infinite;
}

.hero__heart--right {
  margin-left: 45vw;
  animation: heroHeartRight 14s ease-in-out infinite;
}

.hero__heart--merged {
  opacity: 0;
  animation: heroHeartMerged 14s ease-in-out infinite;
}

@keyframes heroHeartLeft {
  0%, 100% { margin-left: -45vw; opacity: 0.14; transform: translate(-50%, -50%) scale(1); }
  32% { margin-left: 0; opacity: 0.14; transform: translate(-50%, -50%) scale(1); }
  38% { margin-left: 0; opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
  62% { margin-left: 0; opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
  68% { margin-left: 0; opacity: 0.14; transform: translate(-50%, -50%) scale(1); }
  100% { margin-left: -45vw; opacity: 0.14; transform: translate(-50%, -50%) scale(1); }
}

@keyframes heroHeartRight {
  0%, 100% { margin-left: 45vw; opacity: 0.14; transform: translate(-50%, -50%) scale(1); }
  32% { margin-left: 0; opacity: 0.14; transform: translate(-50%, -50%) scale(1); }
  38% { margin-left: 0; opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
  62% { margin-left: 0; opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
  68% { margin-left: 0; opacity: 0.14; transform: translate(-50%, -50%) scale(1); }
  100% { margin-left: 45vw; opacity: 0.14; transform: translate(-50%, -50%) scale(1); }
}

@keyframes heroHeartMerged {
  0%, 32% { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
  38% { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
  42% { opacity: 0.22; transform: translate(-50%, -50%) scale(1.08); }
  58% { opacity: 0.22; transform: translate(-50%, -50%) scale(1.05); }
  62% { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
  68%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
}

/* ===== Section titles ===== */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  text-align: center;
  margin: 0 0 56px;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* ===== Intro ===== */
.intro {
  padding: 100px 0;
}

.intro__text {
  max-width: 660px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.8;
}

/* ===== Benefits — cards with gradient border ===== */
.benefits {
  padding: 100px 0;
  background: var(--bg-elevated);
}

.benefits__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .benefits__list {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  padding: 32px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.12);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(236, 72, 153, 0.25);
  border-color: rgba(168, 85, 247, 0.4);
}

.benefit-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 14px;
  margin-bottom: 20px;
}

.benefit-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--text);
}

.benefit-card__text {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== How it works ===== */
.how {
  padding: 100px 0;
}

.how__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.step {
  text-align: center;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.38);
  background: radial-gradient(circle at top left, rgba(236, 72, 153, 0.08), transparent 55%),
              radial-gradient(circle at bottom right, rgba(129, 140, 248, 0.1), transparent 55%);
}

.step::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 220deg, rgba(236, 72, 153, 0.0), rgba(236, 72, 153, 0.6), rgba(56, 189, 248, 0.0), rgba(129, 140, 248, 0.7), rgba(236, 72, 153, 0.0));
  opacity: 0;
  transition: opacity 0.35s ease-out;
  z-index: 0;
}

.step:hover::before {
  opacity: 1;
  animation: stepBorderSpin 10s linear infinite;
}

.step__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  font-size: 2.1rem;
  margin-bottom: 20px;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.6), transparent 55%),
              radial-gradient(circle at 80% 90%, rgba(251, 113, 133, 0.9), rgba(147, 51, 234, 0.85));
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
  color: #fff;
  transform-origin: center;
  transition: transform 0.35s ease-out, box-shadow 0.35s ease-out, filter 0.35s ease-out;
}

.how__steps .step:nth-child(1) .step__icon {
  background: radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.7), transparent 55%),
              radial-gradient(circle at 80% 90%, rgba(251, 113, 133, 1), rgba(244, 63, 94, 0.95));
}

.how__steps .step:nth-child(2) .step__icon {
  background: radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.7), transparent 55%),
              radial-gradient(circle at 80% 90%, rgba(129, 140, 248, 1), rgba(56, 189, 248, 0.95));
}

.how__steps .step:nth-child(3) .step__icon {
  background: radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.7), transparent 55%),
              radial-gradient(circle at 80% 90%, rgba(251, 191, 36, 1), rgba(249, 115, 22, 0.95));
}

.step:hover .step__icon {
  transform: translateY(-4px) scale(1.05) rotate(-2deg);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.5);
  filter: drop-shadow(0 0 14px rgba(244, 114, 182, 0.8));
  animation: stepIconPulse 1.6s ease-in-out infinite;
}

.step__title {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--text);
}

.step__text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@keyframes stepBorderSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes stepIconPulse {
  0%, 100% { transform: translateY(-4px) scale(1.05) rotate(-2deg); opacity: 1; }
  40% { transform: translateY(-8px) scale(1.12) rotate(0deg); opacity: 1; }
  70% { transform: translateY(-2px) scale(1.03) rotate(2deg); opacity: 0.9; }
}

@keyframes stepIconMobileFloat {
  0% { transform: translateY(0) scale(1); opacity: 0.96; }
  25% { transform: translateY(-4px) scale(1.03); opacity: 1; }
  50% { transform: translateY(2px) scale(0.99); opacity: 0.95; }
  75% { transform: translateY(-3px) scale(1.02); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 0.96; }
}

/* ===== Gallery — Profile, Connection, Assistant + animations ===== */
.gallery {
  padding: 100px 0;
  background: var(--bg-elevated);
}

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

@media (max-width: 900px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }
}

.gallery__item {
  text-align: center;
}

.gallery__placeholder {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.1);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.gallery__placeholder:hover {
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.2);
}

.gallery__svg-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: transform 0.4s ease;
}

.gallery__placeholder:hover .gallery__svg-wrap {
  transform: scale(1.08);
}

.gallery__svg {
  width: 100%;
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(168, 85, 247, 0.15));
}

.gallery__svg circle,
.gallery__svg path,
.gallery__svg rect {
  transform-box: fill-box;
  transform-origin: center;
}

/* Profile block — card, avatar, pulse dot */
.gallery-svg-card {
  fill: var(--bg-elevated);
  stroke: rgba(168, 85, 247, 0.25);
  stroke-width: 1;
  transition: stroke 0.3s ease;
}

.gallery__placeholder--profile:hover .gallery-svg-card {
  stroke: rgba(236, 72, 153, 0.4);
}

.gallery-svg-avatar {
  stroke: rgba(168, 85, 247, 0.4);
  stroke-width: 1.5;
}

.gallery-svg-avatar--profile {
  fill: var(--accent-muted);
  animation: svgAvatarPulse 2.5s ease-in-out infinite;
}

.gallery-svg-line {
  fill: var(--text-muted);
  opacity: 0.7;
}

.gallery-svg-line--short {
  opacity: 0.4;
}

.gallery-svg-dot {
  fill: var(--accent);
}

.gallery-svg-dot--pulse {
  animation: svgDotPulse 1.5s ease-in-out infinite;
}

@keyframes svgDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.5); }
}

/* Connection block — two avatars, waves */
.gallery-svg-avatar--left {
  fill: rgba(236, 72, 153, 0.3);
  stroke: rgba(236, 72, 153, 0.5);
  stroke-width: 1.5;
  animation: svgFloat 3s ease-in-out infinite;
}

.gallery-svg-avatar--right {
  fill: rgba(168, 85, 247, 0.3);
  stroke: rgba(168, 85, 247, 0.5);
  stroke-width: 1.5;
  animation: svgFloat 3s ease-in-out infinite 0.5s;
}

.gallery-svg-wave {
  fill: none;
  stroke: rgba(168, 85, 247, 0.5);
  stroke-width: 2;
  stroke-linecap: round;
  animation: svgWave 2s ease-in-out infinite;
}

.gallery-svg-wave--2 { animation-delay: 0.2s; }
.gallery-svg-wave--3 { animation-delay: 0.4s; }

/* Assistant block — bot head, antenna, glow */
.gallery-svg-bot-head {
  fill: var(--bg-elevated);
  stroke: rgba(168, 85, 247, 0.4);
  stroke-width: 1.5;
}

.gallery-svg-bot-face {
  fill: var(--accent-muted);
  stroke: rgba(236, 72, 153, 0.3);
  stroke-width: 1;
}

.gallery-svg-eye {
  fill: var(--accent);
  animation: svgBlink 4s ease-in-out infinite;
}

.gallery-svg-smile {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
}

.gallery-svg-antenna {
  fill: none;
  stroke: rgba(168, 85, 247, 0.6);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.gallery-svg-dot--glow {
  fill: var(--accent);
  animation: svgDotGlow 2s ease-in-out infinite;
}

@keyframes svgAvatarPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.95; }
}

@keyframes svgFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.05); }
}

@keyframes svgWave {
  0%, 100% { opacity: 0.5; stroke-dashoffset: 0; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes svgBlink {
  0%, 40%, 60%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.1); }
}

@keyframes svgDotGlow {
  0%, 100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.6)); }
  50% { opacity: 0.8; transform: scale(1.35); filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.9)); }
}

.gallery__item p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Features — 3 in a row, outline ===== */
.features {
  padding: 100px 0;
}

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

@media (max-width: 900px) {
  .features__grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  padding: 30px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.12);
  transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  border-color: rgba(236, 72, 153, 0.4);
  background: var(--accent-muted);
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(168, 85, 247, 0.15);
}

.feature-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--text);
}

.feature-card__text {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== Safety ===== */
.safety {
  padding: 72px 0;
  background: var(--bg-elevated);
}

.safety__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 28px 48px;
  justify-content: center;
  align-items: center;
}

.safety__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

.safety__icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  line-height: 1;
}

/* ===== Pricing ===== */
.pricing {
  padding: 100px 0;
}

.pricing__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.price-card {
  display: block;
  position: relative;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  pointer-events: auto;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.price-card * {
  pointer-events: none;
}

.price-card .btn {
  min-width: 0;
}

.price-card:not(.price-card--selected) .btn.btn--primary {
  background: transparent;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  border-color: rgba(236, 72, 153, 0.65);
  box-shadow: none;
}

.price-card--selected .btn.btn--primary {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.45);
}

.price-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: var(--shadow-soft);
}

.price-card--selected,
.price-card:not(.price-card--featured):active {
  border-color: rgba(236, 72, 153, 0.5);
  background: linear-gradient(180deg, var(--accent-muted) 0%, var(--bg-card) 100%);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.15);
}

.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
}

.price-card__name {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}

.price-card__tokens {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.price-card__price {
  margin: 0 0 28px;
  font-size: 1rem;
  color: var(--text-muted);
}

.price-card__amount {
  font-size: 1.9rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
  background: var(--bg-elevated);
}

.faq__list {
  max-width: 660px;
  margin: 0 auto;
  padding: 0;
}

.faq__item {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.faq__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.faq__question {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px;
  cursor: pointer;
}

.faq__answer {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.cta__inner {
  position: relative;
  z-index: 1;
}

.cta__hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.cta__heart {
  position: absolute;
  width: 80px;
  height: auto;
  top: 50%;
  left: 50%;
}

.cta__heart--1 {
  margin-left: -180px;
  margin-top: -60px;
  color: rgba(236, 72, 153, 0.4);
  animation: ctaHeartFloat 12s ease-in-out infinite, ctaHeartTwinkle 3.5s ease-in-out infinite;
}

.cta__heart--2 {
  margin-left: 20px;
  margin-top: -20px;
  width: 100px;
  color: rgba(168, 85, 247, 0.36);
  animation: ctaHeartFloat 14s ease-in-out infinite 1.2s, ctaHeartTwinkle 4s ease-in-out infinite 1.2s;
}

.cta__heart--3 {
  margin-left: 160px;
  margin-top: -70px;
  width: 60px;
  color: rgba(236, 72, 153, 0.34);
  animation: ctaHeartFloat 10s ease-in-out infinite 2.2s, ctaHeartTwinkle 3.2s ease-in-out infinite 2.2s;
}

.cta__heart--4 {
  margin-left: -60px;
  margin-top: 40px;
  width: 52px;
  color: rgba(244, 114, 182, 0.42);
  animation: ctaHeartFloat 11s ease-in-out infinite 1.4s, ctaHeartTwinkle 2.6s ease-in-out infinite 0.6s;
}

.cta__heart--5 {
  margin-left: 110px;
  margin-top: 30px;
  width: 46px;
  color: rgba(129, 140, 248, 0.45);
  animation: ctaHeartFloat 13s ease-in-out infinite 0.8s, ctaHeartTwinkle 3s ease-in-out infinite 1.8s;
}

@keyframes ctaHeartFloat {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

@keyframes ctaHeartTwinkle {
  0%, 100% { opacity: 0.35; filter: drop-shadow(0 0 0 rgba(248, 250, 252, 0)); }
  40% { opacity: 0.95; filter: drop-shadow(0 0 18px rgba(248, 250, 252, 0.9)); }
  70% { opacity: 0.55; filter: drop-shadow(0 0 10px rgba(248, 250, 252, 0.5)); }
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.cta__text {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 40px;
}

.cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* ===== Footer ===== */
.footer {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.footer__inner {
  display: grid;
  gap: 28px;
  text-align: center;
}

@media (min-width: 640px) {
  .footer__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    text-align: left;
  }
  .footer__copy { justify-self: end; text-align: right; }
}

.footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.footer__brand-link:hover .logo {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__logo-img {
  height: 56px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer__brand .logo {
  display: inline-block;
  margin-bottom: 0;
  font-size: 1.55rem;
}

.footer__copy {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ===== Mobile & tablet — adapt for small screens ===== */
@media (max-width: 767px) {
  :root {
    --header-h: 88px;
  }

  .header .container {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }

  .header__inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto;
    gap: 16px;
    min-height: var(--header-h);
    align-items: center;
  }

  .header__brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
  }

  .header__brand .header__logo-img {
    height: 52px;
    max-width: 120px;
  }

  .header__brand .logo {
    font-size: 1.15rem;
  }

  .header__tagline {
    font-size: 0.65rem;
  }

  .header__auth {
    display: none !important;
  }

  .header__controls {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    gap: 8px;
    margin-right: 0;
  }

  .header__controls .theme-switcher {
    margin-left: 0;
  }

  .burger {
    display: none !important;
  }

  .theme-switcher__btn,
  .lang-switcher__btn {
    min-height: 36px;
    min-width: 36px;
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .lang-switcher__btn {
    min-width: 36px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: var(--header-h);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .hero__inner {
    padding: 20px 0 50px;
  }

  .hero__label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    padding: 6px 14px;
    margin-bottom: 16px;
  }

  .hero__title {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
    margin-bottom: 14px;
  }

  .hero__subtitle {
    font-size: 1rem;
    margin-bottom: 32px;
    padding: 0 8px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 48px auto 0;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .hero__heart {
    width: min(50vw, 200px);
  }

  .hero__heart--left { margin-left: -42vw; }
  .hero__heart--right { margin-left: 42vw; }

  @keyframes heroHeartLeft {
    0%, 100% { margin-left: -42vw; }
    32% { margin-left: 0; }
    38% { margin-left: 0; }
    62% { margin-left: 0; }
    68% { margin-left: 0; }
    100% { margin-left: -42vw; }
  }

  @keyframes heroHeartRight {
    0%, 100% { margin-left: 42vw; }
    32% { margin-left: 0; }
    38% { margin-left: 0; }
    62% { margin-left: 0; }
    68% { margin-left: 0; }
    100% { margin-left: 42vw; }
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 36px;
  }

  .safety__list {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
    max-width: 360px;
    margin: 0 auto;
    padding: 0;
  }

  .safety__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    white-space: normal;
    text-align: left;
    width: 100%;
  }

  .safety__item .safety__icon {
    flex-shrink: 0;
  }

  .safety__item > span:last-child {
    flex: 1;
    line-height: 1.4;
  }

  .intro,
  .benefits,
  .how,
  .safety,
  .pricing,
  .cta {
    padding: 56px 0;
  }

  .intro__text,
  .benefit-card__text,
  .step__text,
  .gallery__item p,
  .feature-card__text {
    font-size: 0.95rem;
  }

  .benefit-card,
  .step,
  .feature-card {
    padding: 24px 20px;
  }

  .price-card {
    padding: 28px 24px;
  }

  .cta__title {
    font-size: clamp(1.5rem, 6vw, 1.9rem);
  }

  .cta__text {
    margin-bottom: 28px;
  }

  .cta__buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .cta__buttons .btn {
    width: 100%;
    min-height: 48px;
  }

  .footer {
    padding: 40px 0 24px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .footer__inner {
    gap: 20px;
  }

  .footer__logo-img {
    height: 60px;
    max-width: 160px;
  }

  .footer__brand .logo {
    font-size: 1.35rem;
  }

  .footer__copy {
    font-size: 1rem;
  }

}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.75rem;
  }

  .benefits__list,
  .gallery__grid,
  .features__grid {
    grid-template-columns: 1fr;
  }

  .how__steps {
    grid-template-columns: 1fr;
  }

  .how__steps .step {
    transform: none;
  }

  .how__steps .step__icon {
    animation: stepIconMobileFloat 3.2s ease-in-out infinite;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
  }

}

/* Tablet: 2 columns for benefits/features/gallery where useful */
@media (min-width: 768px) and (max-width: 1024px) {
  .benefits__list {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .gallery__grid .gallery__item:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover,
  .benefit-card:hover,
  .step:hover,
  .price-card:hover,
  .feature-card:hover {
    transform: none;
  }
  .hero__heart--left,
  .hero__heart--right,
  .hero__heart--merged {
    animation: none;
  }
  .hero__heart--merged { opacity: 0; }
  .hero__heart--left { margin-left: -25vw; opacity: 0.08; }
  .hero__heart--right { margin-left: 25vw; opacity: 0.08; }
  .cta__heart { animation: none; }
  .gallery__placeholder-anim,
  .gallery-svg-avatar--profile,
  .gallery-svg-dot--pulse,
  .gallery-svg-avatar--left,
  .gallery-svg-avatar--right,
  .gallery-svg-wave,
  .gallery-svg-eye,
  .gallery-svg-dot--glow {
    animation: none;
  }
}
