/* ==========================================================================
   CALIDAPACK · ÖNCE / SONRA + ÜRÜN DETAY
   show.mp4 karşılaştırma sahnesi ve ürün bilgi modalı.
   ========================================================================== */

/* ============================== SAHNE ==================================== */

.showcase {
  overflow: hidden;
}

.showcase-aurora {
  position: absolute;
  inset: -20% -10% auto;
  height: 78%;
  pointer-events: none;
  background:
    radial-gradient(46% 60% at 22% 40%, rgba(76, 157, 232, 0.16), transparent 70%),
    radial-gradient(40% 55% at 78% 30%, rgba(111, 227, 255, 0.12), transparent 72%),
    radial-gradient(30% 40% at 50% 90%, rgba(169, 155, 255, 0.08), transparent 70%);
  filter: blur(6px);
}

/* --------------------------- karşılaştırma ------------------------------- */

.ba {
  position: relative;
  max-width: 1120px;
  margin-inline: auto;
}

.ba-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(72vh, 720px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #02060c;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.66),
    0 0 0 1px rgba(111, 227, 255, 0.07),
    inset 0 0 90px rgba(3, 9, 18, 0.9);
}

.ba-canvas,
.ba-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.ba-canvas {
  object-fit: cover;
  filter: saturate(0.92);
}

/* Sağ taraf: kaynak akış, kesintisiz. Sol taraf canvasta 12 FPS çizilir. */
.ba-video {
  object-fit: cover;
  clip-path: inset(0 0 0 var(--split, 50%));
}

.ba-before-tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.22) 0 1px,
      rgba(0, 0, 0, 0) 1px 4px
    ),
    radial-gradient(120% 120% at 0% 50%, rgba(2, 6, 12, 0.55), transparent 62%);
  clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0);
  mix-blend-mode: multiply;
}

.ba-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 100% at 50% 50%, transparent 55%, rgba(2, 5, 11, 0.55) 100%),
    linear-gradient(180deg, rgba(2, 6, 12, 0.35), transparent 22%, transparent 78%, rgba(2, 6, 12, 0.55));
}

.ba-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  width: 2px;
  margin-left: -1px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(111, 227, 255, 0) 0%,
    rgba(111, 227, 255, 0.85) 18%,
    rgba(212, 243, 255, 1) 50%,
    rgba(111, 227, 255, 0.85) 82%,
    rgba(111, 227, 255, 0) 100%
  );
  box-shadow: 0 0 22px rgba(111, 227, 255, 0.55);
}

.ba-grip {
  position: absolute;
  top: 50%;
  left: var(--split, 50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 54px;
  height: 54px;
  margin: 0;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(155, 220, 255, 0.72);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, rgba(20, 48, 78, 0.96), rgba(4, 10, 19, 0.98));
  color: var(--ice-soft);
  cursor: ew-resize;
  box-shadow:
    0 0 0 7px rgba(3, 6, 13, 0.55),
    0 14px 34px rgba(0, 0, 0, 0.65),
    inset 0 0 18px rgba(111, 227, 255, 0.12);
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.ba-grip .icon {
  width: 13px;
  height: 13px;
  stroke-width: 2.2;
}

.ba-grip .ba-grip-l {
  transform: scaleX(-1);
}

.ba-grip:hover,
.ba-grip:focus-visible {
  border-color: var(--cyan);
  box-shadow:
    0 0 0 7px rgba(3, 6, 13, 0.55),
    0 0 28px rgba(111, 227, 255, 0.42),
    inset 0 0 22px rgba(111, 227, 255, 0.2);
}

.ba-grip:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.ba-stage.is-dragging .ba-grip {
  transform: translate(-50%, -50%) scale(1.07);
}

.ba-hud {
  position: absolute;
  top: 12px;
  z-index: 4;
  display: grid;
  gap: 3px;
  min-width: 152px;
  padding: 12px 14px 13px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(155deg, #071120 0%, #040b15 100%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
  font-family: var(--mono);
  pointer-events: none;
}

.ba-hud span {
  font-size: 7.5px;
  letter-spacing: 0.22em;
}

.ba-hud b {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.ba-hud b em {
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.ba-hud i {
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.16em;
  color: var(--faint);
}

.ba-hud-before {
  left: 12px;
  color: #ff9a9a;
  border-color: rgba(255, 130, 130, 0.34);
}

.ba-hud-after {
  right: 12px;
  color: var(--cyan);
  border-color: rgba(111, 227, 255, 0.34);
}

.ba-play {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(2, 6, 12, 0.52);
  color: var(--ice-soft);
  cursor: pointer;
  backdrop-filter: blur(2px);
}

.ba-play[hidden] {
  display: none;
}

.ba-play .icon {
  width: 46px;
  height: 46px;
  padding: 14px;
  border: 1px solid rgba(155, 220, 255, 0.6);
  border-radius: 50%;
  background: rgba(6, 16, 29, 0.8);
  box-shadow: 0 0 34px rgba(111, 227, 255, 0.3);
}

.ba-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--faint);
}

.ba-foot-note {
  color: var(--faint);
  opacity: 0.8;
}

/* --------------------------- sahne alt notu ------------------------------ */

.showcase-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1120px;
  margin: 26px auto 0;
}

.showcase-legend div {
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(6, 14, 25, 0.45);
}

.showcase-legend span {
  display: block;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.18em;
  color: var(--faint);
}

.showcase-legend strong {
  display: block;
  margin-top: 7px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ice-soft);
}

.showcase-legend em {
  font-style: normal;
  color: var(--cyan);
}

/* ============================ ÜRÜN KARTI ================================= */

.plan[data-plan] {
  cursor: pointer;
}

.plan[data-plan] .plan-head {
  padding-right: 32px;
}

.plan-info {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(6, 16, 29, 0.7);
  color: var(--ice);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.plan-info:hover,
.plan-info:focus-visible {
  color: #03111f;
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(111, 227, 255, 0.45);
  transform: scale(1.06);
}

.plan-info:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.plan:hover .plan-info {
  border-color: rgba(155, 220, 255, 0.6);
}

/* ====================== ÜRÜN KARTI RENKLERİ ============================== */

/* Strafe v2: koyu bordo / kırmızı */
.plan-featured {
  --acc: #ff6b7a;
  border-color: rgba(255, 107, 122, 0.34);
  background:
    radial-gradient(320px circle at var(--mx) var(--my), rgba(255, 90, 110, 0.14), transparent 64%),
    linear-gradient(160deg, rgba(58, 8, 16, 0.6), rgba(6, 3, 7, 0.95));
  box-shadow:
    0 0 0 1px rgba(255, 107, 122, 0.08),
    0 24px 80px rgba(120, 12, 30, 0.32),
    inset 0 0 50px rgba(255, 90, 110, 0.05);
}

.plan-featured:hover {
  border-color: rgba(255, 107, 122, 0.55);
}

.plan-featured .plan-price {
  background: linear-gradient(180deg, #ffffff 0%, #ffd9dd 55%, #ff6b7a 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.plan-featured .plan-badge {
  border-color: rgba(255, 107, 122, 0.5);
  background: #2a0509;
  color: #ff9aa4;
}

.plan-featured .plan-btn {
  background: linear-gradient(135deg, #ffd4d8 0%, #ff6b7a 46%, #c0273a 100%);
  color: #220307;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.3),
    0 12px 40px rgba(255, 90, 110, 0.24);
}

.plan-featured .plan-btn:hover {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 16px 52px rgba(255, 90, 110, 0.36);
}

/* Tam Paket: koyu mor */
.plan-pro {
  --acc: #a99bff;
  border-color: rgba(169, 155, 255, 0.3);
  background:
    radial-gradient(320px circle at var(--mx) var(--my), rgba(150, 120, 255, 0.16), transparent 64%),
    linear-gradient(160deg, rgba(32, 16, 60, 0.62), rgba(6, 4, 14, 0.95));
}

.plan-pro:hover {
  border-color: rgba(169, 155, 255, 0.52);
}

.plan-pro .plan-badge {
  border-color: rgba(169, 155, 255, 0.46);
  background: #170a2b;
  color: #c8bfff;
}

.plan-pro .plan-btn {
  border-color: rgba(169, 155, 255, 0.5);
  color: #d6d0ff;
}

.plan-pro .plan-btn:hover {
  border-color: var(--acc);
  background: rgba(169, 155, 255, 0.1);
}

/* ============================== MODAL ==================================== */

.pd-modal {
  --acc: #9bdcff;
  --acc-deep: #0a1c30;
  position: fixed;
  inset: 0;
  z-index: 420;
  display: grid;
  place-items: center;
  padding: 20px;
}

.pd-modal[data-plan="standard"] {
  --acc: #9bdcff;
  --acc-deep: #0a1c30;
}

.pd-modal[data-plan="performance"] {
  --acc: #ff6b7a;
  --acc-deep: #2a0509;
}

.pd-modal[data-plan="pro"] {
  --acc: #a99bff;
  --acc-deep: #170a2b;
}

.pd-modal[data-plan="betterhit"] {
  --acc: #ffb27d;
  --acc-deep: #2a1608;
}

.pd-modal[data-plan="cleaner"] {
  --acc: #8fe0c0;
  --acc-deep: #07231a;
}

.pd-modal[hidden] {
  display: none;
}

.pd-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 70% at 50% 40%, color-mix(in srgb, var(--acc) 10%, transparent), transparent 70%),
    rgba(2, 6, 12, 0.84);
  backdrop-filter: blur(16px);
  animation: pdFade 0.26s var(--ease);
}

@keyframes pdFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.pd-sheet {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  width: min(1120px, 100%);
  max-height: min(92vh, 830px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--acc) 34%, transparent);
  background:
    radial-gradient(110% 90% at 0% 0%, color-mix(in srgb, var(--acc) 14%, transparent), transparent 60%),
    linear-gradient(158deg, color-mix(in srgb, var(--acc-deep) 70%, #050a12), #04070d 65%);
  box-shadow:
    0 44px 130px rgba(0, 0, 0, 0.85),
    0 0 0 1px color-mix(in srgb, var(--acc) 10%, transparent),
    inset 0 0 120px color-mix(in srgb, var(--acc) 6%, transparent);
  transform-style: preserve-3d;
  transition: transform 0.3s var(--ease);
  animation: pdIn 0.36s var(--ease);
}

@keyframes pdIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* köşe çentikleri */

.pd-corner {
  position: absolute;
  z-index: 6;
  width: 30px;
  height: 30px;
  pointer-events: none;
  opacity: 0.85;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--acc) 55%, transparent));
}

.pd-corner-tl {
  top: 9px;
  left: 9px;
  border-top: 1px solid var(--acc);
  border-left: 1px solid var(--acc);
}

.pd-corner-tr {
  top: 9px;
  right: 9px;
  border-top: 1px solid var(--acc);
  border-right: 1px solid var(--acc);
}

.pd-corner-bl {
  bottom: 9px;
  left: 9px;
  border-bottom: 1px solid var(--acc);
  border-left: 1px solid var(--acc);
}

.pd-corner-br {
  bottom: 9px;
  right: 9px;
  border-bottom: 1px solid var(--acc);
  border-right: 1px solid var(--acc);
}

.pd-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent);
  border-radius: 50%;
  background: rgba(4, 10, 19, 0.8);
  color: var(--acc);
  cursor: pointer;
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.pd-close:hover,
.pd-close:focus-visible {
  border-color: var(--acc);
  transform: rotate(90deg);
}

.pd-close .icon {
  width: 15px;
  height: 15px;
}

/* ----------------------------- içerik ----------------------------------- */

.pd-content {
  position: relative;
  z-index: 3;
  max-height: min(92vh, 830px);
  overflow-y: auto;
  padding: 38px 38px 0;
  scrollbar-width: thin;
}

.pd-tier {
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.22em;
  color: var(--acc);
}

.pd-title {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #ffffff 0%, #e9f4ff 38%, var(--acc) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pd-lead {
  max-width: 52ch;
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: #b6cade;
}

.pd-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 800;
  color: var(--acc);
}

.pd-price > span {
  font-size: 16px;
}

.pd-price small {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--faint);
}

.pd-block {
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--acc) 18%, var(--line));
  background: rgba(4, 10, 19, 0.55);
  backdrop-filter: blur(6px);
}

.pd-block + .pd-block {
  margin-top: 12px;
}

.pd-block-title {
  display: block;
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--acc);
}

.pd-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pd-list li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #a9bed2;
}

.pd-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 7px;
  height: 1px;
  background: color-mix(in srgb, var(--acc) 60%, transparent);
}

.pd-list-check li::before {
  content: "✓";
  top: 0;
  width: auto;
  height: auto;
  background: none;
  color: var(--acc);
  font-size: 10px;
}

.pd-list .icon {
  width: 11px;
  height: 11px;
  margin-right: 6px;
  color: var(--acc);
  vertical-align: -1px;
}

.pd-list-plain li {
  padding-left: 0;
}

.pd-list-plain li::before {
  display: none;
}

.pd-note {
  margin: 14px 0 0;
  font-size: 8px;
  letter-spacing: 0.14em;
  line-height: 1.9;
  color: var(--faint);
}

.pd-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding: 16px 0 24px;
  background: linear-gradient(0deg, #04070d 55%, rgba(4, 7, 13, 0.9) 80%, transparent);
}

.pd-actions .btn {
  min-width: 150px;
}

.pd-actions .btn-primary {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--acc) 30%, #ffffff) 0%,
    var(--acc) 52%,
    color-mix(in srgb, var(--acc) 65%, #000000) 100%
  );
  color: #04101c;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 12px 38px color-mix(in srgb, var(--acc) 22%, transparent);
}

/* --------------------------- uygulama önizleme --------------------------- */

.pd-preview {
  position: relative;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 34px 24px 34px 34px;
  perspective: 1500px;
}

.app-shot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid color-mix(in srgb, var(--acc) 34%, transparent);
  border-radius: 8px;
  background: #04070d;
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.7),
    0 0 0 1px color-mix(in srgb, var(--acc) 10%, transparent),
    0 0 70px color-mix(in srgb, var(--acc) 14%, transparent);
  transform: rotateY(7deg) rotateX(2.4deg);
  transform-origin: left center;
  animation: appFloat 12s ease-in-out infinite;
}

.app-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 70px rgba(2, 5, 10, 0.5);
}

@keyframes appFloat {
  0%,
  100% {
    transform: rotateY(7deg) rotateX(2.4deg) translateY(0);
  }
  50% {
    transform: rotateY(5.5deg) rotateX(1.6deg) translateY(-7px);
  }
}

.app-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 42%;
  transform: scale(1.03);
  transform-origin: 52% 42%;
  filter: saturate(1) contrast(1.05) brightness(1.06);
  animation: appPan 22s ease-in-out infinite alternate;
}

@keyframes appPan {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.4%, -1.2%, 0);
  }
}

.app-tint {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--acc) 26%, transparent), transparent 48%),
    radial-gradient(90% 70% at 100% 100%, color-mix(in srgb, var(--acc) 18%, transparent), transparent 72%);
  mix-blend-mode: soft-light;
  opacity: 0.95;
}

.app-scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--acc) 10%, transparent) 48%,
    transparent 52%
  );
  background-size: 100% 240%;
  animation: appScan 8s linear infinite;
}

@keyframes appScan {
  from {
    background-position: 0 -120%;
  }
  to {
    background-position: 0 220%;
  }
}

.app-live {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  border: 1px solid color-mix(in srgb, var(--acc) 42%, transparent);
  background: rgba(3, 8, 15, 0.74);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.16em;
  color: #eaf5ff;
  backdrop-filter: blur(4px);
}

.app-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 8px var(--acc);
  animation: appPulse 1.8s ease-in-out infinite;
}

@keyframes appPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

.app-time {
  position: absolute;
  right: 10px;
  bottom: 9px;
  left: 10px;
  z-index: 4;
  height: 2px;
  overflow: hidden;
  background: rgba(126, 178, 255, 0.18);
}

.app-time i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--acc);
  box-shadow: 0 0 10px var(--acc);
  animation: appTime 16s linear infinite;
}

@keyframes appTime {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.app-cap {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.18em;
  text-align: center;
  color: var(--faint);
}

.app-cap span {
  color: color-mix(in srgb, var(--acc) 85%, #ffffff);
}

/* ----------------------------- kaydırma çubuğu ---------------------------- */

.pd-content {
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--acc) 45%, transparent) transparent;
}

.pd-content::-webkit-scrollbar {
  width: 8px;
}

.pd-content::-webkit-scrollbar-track {
  background: transparent;
}

.pd-content::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 6px;
  background: color-mix(in srgb, var(--acc) 40%, transparent);
  background-clip: content-box;
}

.pd-content::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--acc) 65%, transparent);
  background-clip: content-box;
}

/* ============================== RESPONSIVE =============================== */

@media (max-width: 980px) {
  .pd-sheet {
    grid-template-columns: 1fr;
    max-height: 92vh;
  }

  .pd-preview {
    order: -1;
    padding: 22px 22px 4px;
  }

  .app-shot {
    transform: none;
    animation: none;
  }

  .pd-content {
    max-height: none;
    padding: 22px 22px 0;
  }
}

@media (max-width: 640px) {
  .pd-modal {
    padding: 8px;
  }

  .pd-preview {
    display: none;
  }

  .pd-content {
    padding: 26px 18px 0;
  }

  .pd-actions .btn {
    flex: 1 1 100%;
  }

  .pd-close {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd-sheet,
  .pd-backdrop,
  .app-shot,
  .app-img,
  .app-scan,
  .app-time i,
  .app-live i {
    animation: none;
  }

  .pd-sheet {
    transition: none;
  }
}

html.is-plan-open,
html.is-plan-open body {
  overflow: hidden;
}

/* ============================== REFERANSLAR ============================== */

.refs {
  position: relative;
  isolation: isolate;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.refs-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.refs-title {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #eaf5ff;
}

.refs-title span {
  color: var(--cyan);
}

.refs-count {
  font-size: 8px;
  letter-spacing: 0.18em;
  color: var(--faint);
}

.refs-stage {
  position: relative;
  isolation: isolate;
}

.refs-marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.refs-track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 6px 0 12px;
  animation: refsScroll 40s linear infinite;
}

.refs-marquee:hover .refs-track,
.refs-marquee:focus-within .refs-track {
  animation-play-state: paused;
}

@keyframes refsScroll {
  to {
    transform: translateX(calc(-50% - 7px));
  }
}

.ref {
  position: relative;
  z-index: 1;
  flex: 0 0 330px;
  display: grid;
  align-content: start;
  gap: 12px;
  margin: 0;
  padding: 16px 18px 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(111, 227, 255, 0.07), transparent 55%),
    linear-gradient(160deg, rgba(10, 21, 36, 0.86), rgba(4, 9, 16, 0.93));
  transition:
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.ref-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--img) center / cover no-repeat;
  filter: blur(7px) saturate(0.95) brightness(0.95);
  opacity: 0.4;
  transform: scale(1.1);
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.35) 72%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.35) 72%, transparent);
  pointer-events: none;
  animation: refBgDrift 24s ease-in-out infinite alternate;
}

.ref:nth-child(2n) .ref-bg {
  animation-duration: 29s;
  animation-delay: -7s;
}

.ref:nth-child(3n) .ref-bg {
  animation-duration: 34s;
  animation-delay: -13s;
}

@keyframes refBgDrift {
  from {
    transform: scale(1.1) translate3d(-1.5%, 0, 0);
  }
  to {
    transform: scale(1.18) translate3d(1.5%, -2%, 0);
  }
}

.ref-top,
.ref-text,
.ref-foot {
  position: relative;
  z-index: 1;
}

.ref::before {
  content: "“";
  position: absolute;
  right: 10px;
  bottom: -22px;
  z-index: 2;
  font-family: var(--display);
  font-size: 96px;
  line-height: 1;
  color: var(--cyan);
  opacity: 0.06;
  pointer-events: none;
}

.ref::after {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.42;
  background:
    linear-gradient(rgba(155, 220, 255, 0.75), rgba(155, 220, 255, 0.75)) left top / 13px 1px no-repeat,
    linear-gradient(rgba(155, 220, 255, 0.75), rgba(155, 220, 255, 0.75)) left top / 1px 13px no-repeat,
    linear-gradient(rgba(155, 220, 255, 0.75), rgba(155, 220, 255, 0.75)) right top / 13px 1px no-repeat,
    linear-gradient(rgba(155, 220, 255, 0.75), rgba(155, 220, 255, 0.75)) right top / 1px 13px no-repeat,
    linear-gradient(rgba(155, 220, 255, 0.75), rgba(155, 220, 255, 0.75)) left bottom / 13px 1px no-repeat,
    linear-gradient(rgba(155, 220, 255, 0.75), rgba(155, 220, 255, 0.75)) left bottom / 1px 13px no-repeat,
    linear-gradient(rgba(155, 220, 255, 0.75), rgba(155, 220, 255, 0.75)) right bottom / 13px 1px no-repeat,
    linear-gradient(rgba(155, 220, 255, 0.75), rgba(155, 220, 255, 0.75)) right bottom / 1px 13px no-repeat;
  transition:
    opacity 0.35s var(--ease),
    inset 0.35s var(--ease);
}

.ref:hover {
  border-color: rgba(111, 227, 255, 0.55);
  transform: translateY(-5px);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.54),
    0 0 46px rgba(111, 227, 255, 0.22);
}

.ref:hover::after {
  inset: 5px;
  opacity: 0.95;
}

.ref:hover .ref-ava {
  transform: scale(1.06);
  box-shadow:
    0 0 0 2px rgba(4, 10, 20, 0.6),
    0 0 0 3px color-mix(in srgb, var(--c, #6fe3ff) 35%, transparent),
    0 0 34px color-mix(in srgb, var(--c, #6fe3ff) 75%, transparent);
}

.ref-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ref-ava {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0a1422;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  box-shadow:
    0 0 0 2px rgba(4, 10, 20, 0.6),
    0 0 0 3px color-mix(in srgb, var(--c, #6fe3ff) 22%, transparent),
    0 0 28px color-mix(in srgb, var(--c, #6fe3ff) 62%, transparent);
}

.ref-id {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ref-id b {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #eaf5ff;
}

.ref-id i {
  font-size: 6.5px;
  font-style: normal;
  letter-spacing: 0.06em;
  color: #52687d;
}

.ref-num {
  margin-left: auto;
  align-self: flex-start;
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--faint);
}

.ref-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
  color: #a9bed2;
}

.ref-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid rgba(155, 220, 255, 0.08);
}

.ref-react {
  padding: 2px 6px;
  border: 1px solid rgba(255, 207, 106, 0.22);
  font-size: 6px;
  letter-spacing: 0.14em;
  color: #ffcf6a;
}

.ref-plan {
  padding: 2px 6px;
  border: 1px solid rgba(111, 227, 255, 0.22);
  font-size: 6px;
  letter-spacing: 0.14em;
  color: #9bdcff;
}

/* Gerçek lisans rozeti: renk, üyenin aldığı ürünün plan rengidir. */
.ref-lic {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border: 1px solid color-mix(in srgb, var(--c, #6fe3ff) 45%, transparent);
  background: color-mix(in srgb, var(--c, #6fe3ff) 14%, transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--c, #6fe3ff) 18%, transparent);
  font-size: 6px;
  letter-spacing: 0.14em;
  color: var(--c, #9bdcff);
}

.ref-lic::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c, #6fe3ff);
  box-shadow: 0 0 6px var(--c, #6fe3ff);
}

.ref-ok {
  margin-left: auto;
  font-size: 6px;
  letter-spacing: 0.12em;
  color: #6fe3c4;
}

a.ref-ok {
  text-decoration: none;
  border-bottom: 1px dashed rgba(111, 227, 196, 0.35);
  padding-bottom: 1px;
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

a.ref-ok:hover {
  color: #bffff0;
  border-bottom-color: rgba(111, 227, 196, 0.85);
}

.refs-count.is-live {
  color: #6fe3c4;
}

.refs-count.is-live::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: #6fe3c4;
  vertical-align: middle;
  animation: refsLive 1.8s ease-in-out infinite;
}

@keyframes refsLive {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(111, 227, 196, 0.5);
  }
  50% {
    opacity: 0.45;
    box-shadow: 0 0 0 4px rgba(111, 227, 196, 0);
  }
}

.refs-note {
  position: relative;
  z-index: 1;
  margin: 4px 0 0;
  max-width: 720px;
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--faint);
}

.refs-note b {
  color: #9bdcff;
  font-weight: 600;
}

/* ============================ EK EFEKTLER ================================ */

.plans-bg {
  animation: plansDrift 24s linear infinite;
}

@keyframes plansDrift {
  to {
    background-position: 70px 70px, 70px 70px;
  }
}

.plan::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 34%,
    rgba(255, 255, 255, 0.07) 47%,
    transparent 61%
  );
  background-size: 260% 260%;
  background-position: 130% 0;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.plan:hover::after {
  opacity: 1;
  animation: planShine 1.1s var(--ease);
}

@keyframes planShine {
  from {
    background-position: 130% 0;
  }
  to {
    background-position: -40% 0;
  }
}

.plan-featured {
  animation: featuredPulse 5.5s ease-in-out infinite;
}

@keyframes featuredPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 107, 122, 0.08),
      0 24px 80px rgba(120, 12, 30, 0.32),
      inset 0 0 50px rgba(255, 90, 110, 0.05);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 107, 122, 0.2),
      0 28px 92px rgba(150, 16, 40, 0.44),
      inset 0 0 70px rgba(255, 90, 110, 0.09);
  }
}

@media (max-width: 640px) {
  .refs {
    margin-top: 34px;
  }

  .ref {
    flex-basis: 282px;
  }

  .refs-head {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .refs-track,
  .ref-bg,
  .plans-bg,
  .plan-featured,
  .plan:hover::after {
    animation: none;
  }

  .ref,
  .plan::after {
    transition: none;
  }
}

/* --- ürün tanıtım oynatıcısı (tanitim.js) --- */

.plan-desc {
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

.plan-desc::after {
  content: "▶";
  margin-left: 8px;
  font-size: 0.72em;
  color: var(--cyan);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.plan:hover .plan-desc,
.plan-desc:hover {
  color: var(--ice);
}

.plan:hover .plan-desc::after,
.plan-desc:hover::after {
  opacity: 1;
  transform: none;
}

.pvp {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.pvp-back {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 11, 0.86);
  backdrop-filter: blur(6px);
  animation: pvpFade 0.25s var(--ease);
}

.pvp-box {
  position: relative;
  width: min(1120px, 100%);
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  animation: pvpRise 0.32s var(--ease);
}

@keyframes pvpFade {
  from { opacity: 0; }
}

@keyframes pvpRise {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
}

.pvp-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.pvp-sn {
  font-family: var(--mono, 'JetBrains Mono', Consolas, monospace);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.pvp-x {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(7, 16, 29, 0.7);
  color: var(--ink-2);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.pvp-x:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.pvp-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.pvp-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line);
}

.pvp-dl,
.pvp-go {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 99px;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
}

.pvp-dl {
  color: #03121c;
  background: linear-gradient(120deg, var(--cyan), #a8f0ff);
  border-color: transparent;
}

.pvp-go:hover,
.pvp-dl:hover {
  transform: translateY(-1px);
}

.pvp-fine {
  margin-left: auto;
  font-size: 12px;
  color: var(--faint);
}

html.is-pvp-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .pvp {
    padding: 12px;
  }

  .pvp-foot {
    gap: 10px;
  }

  .pvp-fine {
    margin-left: 0;
    flex-basis: 100%;
  }
}
