/* Landing canlı demo stüdyosu — iframe izolasyonu, kapatınca yok edilir. */
.wv-demo-studio[hidden] {
  display: none !important;
}
.wv-demo-studio {
  position: fixed;
  inset: 0;
  /* Cookie (100010), sticky (100090), hero FAB (100080) üstünde — kapat tıklanabilir kalsın */
  z-index: 200000;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(201, 166, 90, 0.18), transparent 55%),
    #0b0906;
  color: #f7f1e6;
  direction: ltr;
  unicode-bidi: isolate;
  /* visualViewport yüksekliği (JS) — yoksa dvh */
  --wv-vv-h: 100dvh;
}
html.wv-demo-open,
html.wv-demo-open body,
body.wv-demo-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}
body.wv-demo-open.is-wv-scroll-lock.is-wv-scroll-lock--fixed {
  position: fixed !important;
  left: 0;
  right: 0;
  width: 100%;
}
/* Demo açıkken yüksek z-index chrome tıklamayı çalmasın (overlay html altında yaşar). */
html.wv-demo-open #rv-cookie-root,
html.wv-demo-open .oauth-disclosure,
html.wv-demo-open .sticky-cta {
  visibility: hidden !important;
  pointer-events: none !important;
}
/* Demo açıkken landing navbar / sticky / dil — tamamen yok ve tıklanamaz.
   .nav-scroll-drive visibility:!important savaşını da ezer. */
html.wv-demo-open .nav,
html.wv-demo-open .nav.nav-scroll-drive,
html.wv-demo-open .nav.scrolled,
html.wv-demo-open #nav,
html.wv-demo-open .mnav,
html.wv-demo-open #mnav,
html.wv-demo-open .nav-hamburger,
html.wv-demo-open #nav-hamburger,
html.wv-demo-open .sticky-cta,
html.wv-demo-open #sticky-cta,
body.wv-demo-open .nav,
body.wv-demo-open .nav.nav-scroll-drive,
body.wv-demo-open .nav.scrolled,
body.wv-demo-open #nav,
body.wv-demo-open .mnav,
body.wv-demo-open #mnav,
body.wv-demo-open .nav-hamburger,
body.wv-demo-open #nav-hamburger,
body.wv-demo-open .sticky-cta,
body.wv-demo-open #sticky-cta {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: none !important;
  clip-path: inset(50%) !important;
  z-index: -1 !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
}
.wv-demo-studio-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem 1.2rem;
  padding:
    max(0.75rem, env(safe-area-inset-top, 0px))
    max(1.1rem, env(safe-area-inset-right, 0px))
    0.45rem
    max(1.1rem, env(safe-area-inset-left, 0px));
  position: relative;
  z-index: 20;
}
.wv-demo-studio-kicker {
  margin: 0;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ddc08a;
  font-weight: 650;
}
.wv-demo-studio-title {
  margin: 0.12rem 0 0;
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.wv-demo-studio-sub {
  margin: 0.18rem 0 0;
  font-size: 0.78rem;
  color: rgba(247, 241, 230, 0.62);
}
.wv-demo-studio-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}
.wv-demo-device {
  display: inline-flex;
  padding: 0.18rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(244, 234, 214, 0.12);
}
.wv-demo-dev {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(247, 241, 230, 0.7);
  min-height: 2.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
}
.wv-demo-dev.is-on {
  color: #0e0c08;
  background: linear-gradient(135deg, #f4ead6, #c9a65a);
}
.wv-demo-kapat {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid rgba(244, 234, 214, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #f7f1e6;
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 30;
}
.wv-demo-kapat:hover {
  background: rgba(255, 255, 255, 0.12);
}
.wv-demo-kapat svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}
.wv-demo-studio-hint {
  margin: 0 1.1rem 0.55rem;
  font-size: 0.72rem;
  color: rgba(247, 241, 230, 0.48);
}
.wv-demo-stage {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0 0.85rem max(0.85rem, env(safe-area-inset-bottom, 0px));
  position: relative;
  z-index: 1;
  overflow: hidden;
  overflow-x: clip;
}
.wv-demo-phone {
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #111;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  transition: width 0.35s ease, max-width 0.35s ease, border-radius 0.35s ease;
  touch-action: manipulation;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.wv-demo-stage[data-device="mobile"] .wv-demo-phone {
  width: min(390px, 100%);
  max-width: 390px;
  border-radius: 1.6rem;
  border: 1px solid rgba(244, 234, 214, 0.16);
}
.wv-demo-phone iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: #fff;
  touch-action: pan-y;
}

/* Portrait mobil — yatay çevir önerisi (engellemez; X her zaman üstte) */
.wv-demo-rotate {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
  pointer-events: none;
  background: rgba(8, 6, 4, 0.32);
}
.wv-demo-rotate[hidden] {
  display: none !important;
}
.wv-demo-rotate-card {
  pointer-events: auto;
  position: relative;
  width: min(22rem, 100%);
  padding: 1.35rem 1.15rem 1.1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(244, 234, 214, 0.18);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(201, 166, 90, 0.22), transparent 55%),
    rgba(14, 12, 10, 0.95);
  color: #f7f1e6;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  text-align: center;
}
.wv-demo-rotate-x {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(247, 241, 230, 0.72);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.wv-demo-rotate-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.wv-demo-rotate-body {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(247, 241, 230, 0.78);
}
.wv-demo-rotate-cta {
  margin-top: 1rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 234, 214, 0.28);
  background: linear-gradient(135deg, #f4ead6, #c9a65a);
  color: #1a140c;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 650;
  cursor: pointer;
}

@media (max-width: 767.98px) {
  .wv-demo-studio-bar {
    padding:
      max(0.55rem, env(safe-area-inset-top, 0px))
      max(0.7rem, env(safe-area-inset-right, 0px))
      0.35rem
      max(0.7rem, env(safe-area-inset-left, 0px));
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
  }
  .wv-demo-studio-brand {
    display: none;
  }
  .wv-demo-studio-hint {
    display: none;
  }
  .wv-demo-device {
    display: none;
  }
  .wv-demo-studio-tools {
    width: auto;
    justify-content: flex-end;
    pointer-events: auto;
  }
  .wv-demo-kapat {
    width: 3rem;
    height: 3rem;
    min-width: 48px;
    min-height: 48px;
    background: rgba(12, 10, 8, 0.72);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  }
  .wv-demo-studio-title {
    font-size: 1rem;
  }
  .wv-demo-stage {
    padding: 0 0 max(0px, env(safe-area-inset-bottom, 0px));
  }
  .wv-demo-stage[data-device="mobile"] .wv-demo-phone,
  .wv-demo-stage[data-device="desktop"] .wv-demo-phone {
    width: 100%;
    max-width: none;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }
}

@media (max-width: 767.98px) and (orientation: landscape) {
  .wv-demo-rotate {
    display: none !important;
  }
  .wv-demo-studio-bar {
    padding-top: max(0.35rem, env(safe-area-inset-top, 0px));
    padding-bottom: 0.25rem;
    flex-shrink: 0;
  }
  .wv-demo-stage {
    padding-left: max(0px, env(safe-area-inset-left, 0px));
    padding-right: max(0px, env(safe-area-inset-right, 0px));
  }
  .wv-demo-stage[data-device="mobile"] .wv-demo-phone,
  .wv-demo-stage[data-device="desktop"] .wv-demo-phone {
    width: 100%;
    max-width: none;
    height: 100%;
  }
}

@media (min-width: 768px) {
  .wv-demo-rotate {
    display: none !important;
  }
}
