/* Hidden Form — v2: tur tip feed Instagram (slide-uri full-screen cu scroll-snap).
   Se încarcă peste css/site.css și refolosește variabilele temei Alb. */

html { scroll-snap-type: y mandatory; }
body.feed-body { overflow-x: hidden; }

/* ---------- Bara de sus ---------- */

.feed-top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}
.feed-top .skip {
  font-size: 13.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--separator);
  border-radius: 999px;
  padding: 8px 14px;
  backdrop-filter: blur(10px);
}
.feed-top .skip:hover { color: var(--text); text-decoration: none; }

/* ---------- Punctele de progres (ca story-urile) ---------- */

.dots {
  position: fixed;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(14, 15, 16, 0.18);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}
.dots button.on { background: var(--accent); height: 22px; border-radius: 6px; }

/* ---------- Slide-urile ---------- */

.slide {
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  place-items: center;
  padding: 70px 20px 34px;
}

.slide .inner {
  width: min(1020px, 100%);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 44px;
}
.slide.flip .inner { direction: rtl; }
.slide.flip .inner > * { direction: ltr; }
.slide .inner.one { grid-template-columns: 1fr; justify-items: center; text-align: center; }

.slide .copy { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.slide .copy.center { align-items: center; text-align: center; }

/* Apariție tip feed: textul urcă, telefonul vine de jos */
.slide .copy, .slide .shots {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.slide .shots { transition-delay: 0.12s; }
.slide.in .copy, .slide.in .shots { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; }
  .slide .copy, .slide .shots { opacity: 1; transform: none; transition: none; }
}

/* ---------- Telefoane ---------- */

.slide .shots { display: flex; justify-content: center; }
.slide .shots .phone {
  max-height: min(72svh, 640px);
  aspect-ratio: 1320 / 2868;
  width: auto;
}
.slide .shots .phone img { height: 100%; width: 100%; object-fit: cover; }

/* Trio-ul de teme: telefonul din mijloc ușor ridicat */
.shots.trio { gap: 16px; align-items: center; }
.shots.trio .phone { max-height: min(48svh, 430px); border-radius: 24px; }
.shots.trio .phone:nth-child(2) { transform: translateY(-14px); }

/* ---------- Statuile decorative pe intro și final ---------- */

.slide { position: relative; overflow: hidden; }
.slide .inner { position: relative; z-index: 1; }
.statue-bg {
  position: absolute;
  bottom: -30px;
  width: min(30vw, 320px);
  height: auto;
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}
.statue-bg.right { right: 2%; }
.statue-bg.left { left: 2%; }

@media (max-width: 820px) {
  .statue-bg { width: 44vw; opacity: 0.25; bottom: -16px; }
}

/* ---------- Intro și final ---------- */

.big-symbol { height: 84px; filter: brightness(0) opacity(0.9); margin-bottom: 4px; }

.scroll-hint {
  margin-top: 18px;
  font-size: 34px;
  line-height: 1;
  color: var(--accent);
  animation: hint 1.6s ease-in-out infinite;
}
@keyframes hint {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(10px); opacity: 0.4; }
}

.slide.final .accent { color: var(--accent); }

.store-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 10px 0 6px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: var(--text);
  color: #FFFFFF;
  border-radius: 14px;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
}
.store-btn small { font-size: 11px; font-weight: 400; opacity: 0.75; }
.store-btn.soon { opacity: 0.55; cursor: default; }
.store-ico {
  width: 26px; height: 26px;
  background: #FFFFFF;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M318 268c0-62 51-92 53-94-29-42-74-48-90-49-38-4-75 23-94 23-19 0-49-22-81-22-42 1-80 24-101 61-43 75-11 185 31 246 21 29 45 62 77 61 31-1 43-20 80-20 37 0 48 20 81 19 33 0 54-30 74-59 23-34 33-67 34-69-1 0-65-25-64-97zM255 77c17-20 28-48 25-77-24 1-54 16-71 37-16 18-30 47-26 75 27 2 55-14 72-35z"/></svg>') center / contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M318 268c0-62 51-92 53-94-29-42-74-48-90-49-38-4-75 23-94 23-19 0-49-22-81-22-42 1-80 24-101 61-43 75-11 185 31 246 21 29 45 62 77 61 31-1 43-20 80-20 37 0 48 20 81 19 33 0 54-30 74-59 23-34 33-67 34-69-1 0-65-25-64-97zM255 77c17-20 28-48 25-77-24 1-54 16-71 37-16 18-30 47-26 75 27 2 55-14 72-35z"/></svg>') center / contain no-repeat;
}
.store-ico.play {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M48 32 304 256 48 480c-10-9-16-22-16-38V70c0-16 6-29 16-38zm50-9 236 206-60 60L74 23c8-3 16-3 24 0zm0 466c-8 3-16 3-24 0l200-266 60 60L98 489zm300-204-72 63-66-66 66-66 72 63c14 12 14 30 0 6z"/></svg>') center / contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M48 32 304 256 48 480c-10-9-16-22-16-38V70c0-16 6-29 16-38zm50-9 236 206-60 60L74 23c8-3 16-3 24 0zm0 466c-8 3-16 3-24 0l200-266 60 60L98 489zm300-204-72 63-66-66 66-66 72 63c14 12 14 30 0 6z"/></svg>') center / contain no-repeat;
}

.slide.final .cta { margin-top: 12px; }
.tiny { font-size: 12.5px; color: var(--faint); margin-top: 20px; }
.tiny a { color: var(--faint); }

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .slide { padding: 64px 16px 26px; }
  .slide .inner,
  .slide.flip .inner {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 20px;
    justify-items: center;
    text-align: center;
  }
  .slide .copy { align-items: center; }
  .slide .copy h2 { font-size: clamp(1.5rem, 6.4vw, 2rem); }
  .slide .copy .lead { font-size: 15px; }
  .slide .shots .phone { max-height: 52svh; }
  .shots.trio { gap: 10px; }
  .shots.trio .phone { max-height: 34svh; border-radius: 18px; }
  .dots { right: 7px; }
  .feed-top .skip { font-size: 12.5px; padding: 7px 11px; }
}
