/* =========================================================
   OgarniamRemont.pl — landing: below-the-fold sections
   (features, pricing, social proof, FAQ, 2nd CTA, footer,
   waitlist modal) and final responsive overrides.
   Tokens, base, nav, hero and shared components are defined
   in style.css.
   ========================================================= */

/* ============= FEATURES ============= */
.features { padding: 24px 0 80px; }
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 32px 0;
}
.feature--reverse .feature__copy { order: 2; }
.feature--reverse .feature__visual { order: 1; }
.feature__copy h3 { margin-bottom: 10px; }
.feature__copy p { color: var(--c-ink-muted); }
.feature__copy strong { color: var(--c-ink); }
.feature__soon-note {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--c-ink-muted);
}
.feature--soon .feature__visual { opacity: .72; filter: saturate(.85); }
.feature--soon .feature__list li { color: rgba(26, 19, 37, .88); }
.feature--soon .feature__list li::before { opacity: .75; }
.feature__list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.feature__list li { position: relative; padding-left: 28px; color: var(--c-ink); }
.feature__list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--c-purple-50);
  color: var(--c-purple);
  font-size: 12px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ============= PRICING ============= */
.pricing {
  padding: 80px 0;
  background: var(--c-bg-soft);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.plan:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(78, 17, 132, .3); }
.plan--featured { border: 2px solid var(--c-orange); box-shadow: var(--shadow-md); }
.plan__ribbon {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--c-orange);
  color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: .03em; text-transform: uppercase;
  white-space: nowrap;
}
.plan__ribbon--trial {
  background: var(--c-purple);
}
.plan__ribbon--soon {
  background: rgba(78, 17, 132, .12);
  color: var(--c-purple);
  border: 1px solid rgba(78, 17, 132, .18);
}
.plan h3 { font-size: 20px; margin-bottom: 6px; }
.plan__price { margin: 0; }
.plan__price strong { font-size: 32px; letter-spacing: -.02em; }
.plan__price span { color: var(--c-ink-muted); font-weight: 500; }
.plan__lede { color: var(--c-ink-muted); font-size: 14px; margin: 0; }
.plan__note { color: var(--c-ink-muted); font-size: 13px; margin: 10px 0 0; }
.plan__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plan__list li { position: relative; padding-left: 22px; font-size: 15px; }
.plan__list li::before { content: "✓"; position: absolute; left: 0; color: var(--c-purple); font-weight: 800; }
.plan__cta { margin-top: auto; align-self: stretch; text-align: center; }
.pricing__foot { text-align: center; color: var(--c-ink-muted); margin: 40px 0 0; font-size: 14px; }

.plan--soon { opacity: .78; }
.plan--soon:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--c-line); }
.btn--disabled { pointer-events: none; opacity: .65; filter: saturate(.85); }

/* ============= MORE SOCIAL PROOF ============= */
.proof { padding: 80px 0; }
.proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.proof__card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.proof__big {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  background: linear-gradient(90deg, var(--c-purple), var(--c-orange));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin: 0 0 8px;
  letter-spacing: -.02em;
}
.proof__label { color: var(--c-ink-muted); margin: 0; }
.proof__label strong { color: var(--c-ink); }
.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.testimonial {
  margin: 0;
  background: var(--c-purple-50);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid rgba(78, 17, 132, .12);
}
.testimonial blockquote {
  margin: 0 0 12px;
  font-size: 18px; line-height: 1.5;
  color: var(--c-ink); font-weight: 500;
}
.testimonial figcaption { color: var(--c-ink-muted); font-size: 14px; }

/* ============= FAQ ============= */
.faq {
  padding: 80px 0;
  background: var(--c-bg-soft);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.faq__list { display: grid; gap: 12px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 18px 22px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.faq__item[open] { border-color: rgba(78, 17, 132, .25); box-shadow: var(--shadow-sm); }
.faq__item summary {
  cursor: pointer;
  font-weight: 600; font-size: 17px;
  color: var(--c-ink);
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--c-purple);
  font-weight: 700;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq__item[open] summary::after { content: "−"; }
.faq__answer { margin-top: 14px; color: var(--c-ink-muted); font-size: 16px; }
.faq__answer strong { color: var(--c-ink); }

/* ============= 2nd CTA ============= */
.cta2 {
  padding: 96px 0;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(254, 144, 77, .18), transparent 60%),
    linear-gradient(135deg, var(--c-purple), var(--c-purple-dark));
  color: #fff;
  text-align: center;
}
.cta2 h2 { color: #fff; font-size: clamp(32px, 4vw, 52px); margin-bottom: 14px; }
.cta2 p { color: rgba(255, 255, 255, .85); max-width: 640px; margin: 0 auto 28px; font-size: 18px; }
.cta2__note { margin-top: 18px; color: rgba(255, 255, 255, .7); font-size: 14px; }

/* ============= WAITLIST MODAL ============= */
.waitlist-modal[hidden] { display: none !important; }
.waitlist-modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.waitlist-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 19, 37, .55);
  cursor: pointer;
}
.waitlist-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-line);
}
.waitlist-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--c-ink-muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.waitlist-modal__close:hover { color: var(--c-ink); background: var(--c-bg-soft); }
.waitlist-modal__title { margin: 0 40px 10px 0; font-size: 22px; color: var(--c-ink); }
.waitlist-modal__lede { margin: 0 0 20px; font-size: 15px; color: var(--c-ink-muted); line-height: 1.5; }
.waitlist-modal__form { display: flex; flex-direction: column; gap: 10px; }
.waitlist-modal__label { font-size: 14px; font-weight: 600; color: var(--c-ink); }
.waitlist-modal__input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  font-size: 16px;
  font-family: inherit;
}
.waitlist-modal__input:focus {
  outline: 2px solid rgba(78, 17, 132, .35);
  outline-offset: 2px;
  border-color: var(--c-purple);
}
.waitlist-modal__thanks { margin: 16px 0 0; font-size: 15px; color: var(--c-ink-muted); line-height: 1.5; }

body.waitlist-modal-open { overflow: hidden; }
body.image-lightbox-open { overflow: hidden; }

/* ============= IMAGE LIGHTBOX ============= */
.image-lightbox[hidden] { display: none !important; }
.image-lightbox:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 16px 48px;
}
.image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(26, 19, 37, .92);
  cursor: pointer;
}
.image-lightbox__frame {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1600px);
  max-height: min(88vh, 1200px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-lightbox__img {
  max-width: 100%;
  max-height: min(88vh, 1200px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 12px 48px rgba(0, 0, 0, .45);
  cursor: default;
}
.image-lightbox__close {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-lightbox__close:hover { background: rgba(255, 255, 255, .22); }
.image-lightbox__hint {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  max-width: min(560px, 92vw);
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, .78);
  pointer-events: none;
}

/* ============= FOOTER ============= */
.footer { background: var(--c-ink); color: rgba(255, 255, 255, .8); padding: 36px 0; }
.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand { min-width: 200px; }
.nav__logo--footer .nav__logo-text { color: #fff; }
.nav__logo--footer .nav__logo-text strong { color: var(--c-orange); }
.footer__copy { margin: 10px 0 0; font-size: 14px; color: rgba(255, 255, 255, .65); }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
}
.footer__links a {
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.footer__links a:hover { color: #fff; text-decoration: underline; }

/* ============= RESPONSIVE ============= */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .hero { padding: 40px 0 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__visual { order: -1; }
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 24px 0; }
  .feature--reverse .feature__copy { order: 0; }
  .feature--reverse .feature__visual { order: 0; }
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .proof__grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav__inner { height: 60px; gap: 12px; }
  .nav__cta { padding: 10px 14px; font-size: 14px; }
  .pricing__grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: flex-start; }
  .hero__cta .btn { width: 100%; }
  .footer__inner { flex-direction: column; text-align: center; }
}
