/* ==========================================================================
   DC-X1 konfigüratör · hedefler · özellikler
   ========================================================================== */
.cfg { background: radial-gradient(70% 60% at 20% 0%, rgba(217, 119, 87, .07), transparent 70%), var(--bg); }
.cfg__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(14px, 1.6vw, 20px); align-items: stretch; }
.cfg__stage {
  position: relative; min-height: 560px; border-radius: calc(var(--radius) + 6px); overflow: hidden; border: 1px solid var(--line);
  background:
    radial-gradient(60% 55% at 50% 52%, rgba(217, 119, 87, .12), transparent 70%),
    linear-gradient(180deg, #0b131b, #070c11 70%);
}
.cfg__stage::before { /* teknik ızgara */
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(75% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(75% 70% at 50% 50%, #000, transparent);
}
.cfg__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; cursor: grab; opacity: 0; transition: opacity .8s var(--ease); }
.cfg__stage canvas:active { cursor: grabbing; }
.cfg__stage.is-ready canvas { opacity: 1; }
.cfg__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.cfg__stage.is-fallback .cfg__fallback { opacity: 1; }
.cfg__stage.is-fallback .cfg__loading, .cfg__stage.is-fallback .cfg__views, .cfg__stage.is-fallback .cfg__hint { display: none; }
.cfg__loading {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; pointer-events: none;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: opacity .5s;
}
.cfg__loading span { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--accent); animation: spin .9s linear infinite; }
.cfg__stage.is-ready .cfg__loading { opacity: 0; }
.cfg__tag {
  position: absolute; z-index: 2; left: 20px; top: 18px; display: inline-flex; align-items: center; gap: 12px; pointer-events: none;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2);
}
.cfg__tag b { color: var(--fg); font-weight: 600; }
.cfg__tag i { font-style: normal; color: var(--muted); }
.cfg__tag .dot { background: var(--accent-2); }
.cfg__views {
  position: absolute; z-index: 2; right: 16px; top: 14px; display: flex; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(6, 10, 14, .6); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.cfg__views button { border: 0; background: none; padding: 7px 13px; border-radius: 999px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--fg-2); transition: background .3s, color .3s; }
.cfg__views button:hover { color: var(--fg); }
.cfg__views button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.cfg__hint {
  position: absolute; z-index: 2; left: 50%; bottom: 16px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; pointer-events: none; white-space: nowrap;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.cfg__hint svg { width: 18px; height: 18px; }

.cfg__panel {
  display: flex; flex-direction: column; gap: 22px; padding: 26px; border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.cfg__group { display: grid; gap: 12px; }
.cfg__group h3 { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cfg__group h3 small { font-size: 12px; letter-spacing: .04em; text-transform: none; color: var(--fg); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: var(--surface); color: var(--fg-2); border-radius: 12px; padding: 9px 14px; font-size: 13.5px; transition: border-color .3s, background .3s, color .3s; }
.opt:hover { border-color: rgba(255, 255, 255, .34); color: var(--fg); }
.opt.is-on { border-color: var(--accent); background: var(--accent-dim); color: var(--fg); }
.opt__sw { display: none; }
.opts--sw { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.opts--sw .opt { flex-direction: column; align-items: stretch; gap: 8px; padding: 8px 8px 9px; text-align: center; }
.opts--sw .opt__sw { display: block; aspect-ratio: 5 / 3; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .1); background-size: cover; }
.opts--sw .opt__name { font-size: 12px; line-height: 1.2; }
.opts--mini { display: flex; gap: 10px; margin-top: 2px; }
.opts--mini .opt { flex-direction: row; padding: 4px; border-radius: 999px; }
.opts--mini .opt__sw { width: 22px; aspect-ratio: 1; border-radius: 50%; }
.opts--mini .opt__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.cfg__tools { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tool {
  display: grid; justify-items: center; gap: 6px; padding: 11px 4px 9px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--fg-2);
  font-size: 12px; transition: border-color .3s, color .3s, background .3s;
}
.tool svg { width: 20px; height: 20px; }
.tool:hover { color: var(--fg); border-color: rgba(255, 255, 255, .34); }
.tool[aria-pressed="true"] { color: var(--accent); border-color: rgba(217, 119, 87, .45); background: var(--accent-dim); }
.cfg__cta { margin-top: auto; justify-content: space-between; }

@media (max-width: 1080px) { .cfg__grid { grid-template-columns: minmax(0, 1fr); } .cfg__stage { min-height: 0; aspect-ratio: 4 / 3; } }
@media (max-width: 640px) {
  .cfg__stage { aspect-ratio: 1 / 1.05; }
  .cfg__views { left: 12px; right: 12px; top: auto; bottom: 44px; justify-content: space-between; }
  .cfg__views button { flex: 1; padding: 8px 4px; }
  .cfg__tag { left: 14px; top: 14px; }
  .cfg__panel { padding: 18px; }
}

/* Hedefler */
.specs { border-block: 1px solid var(--line); background: var(--bg-2); }
.specs__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.specs__row li { padding: 8px clamp(14px, 2.4vw, 36px); display: grid; gap: 8px; border-left: 1px solid var(--line); }
.specs__row li:first-child { border-left: 0; padding-left: 0; }
.specs__row b { display: flex; align-items: baseline; gap: 8px; font-family: var(--f-display); font-stretch: 105%; font-weight: 600; font-size: clamp(38px, 5vw, 72px); line-height: 1; letter-spacing: -.04em; color: var(--fg); font-variant-numeric: tabular-nums; }
.specs__row b small { font-size: .3em; letter-spacing: 0; color: var(--accent); font-family: var(--f-mono); font-weight: 500; text-transform: uppercase; }
.specs__row li > span { color: var(--muted); font-size: 14px; }
.specs__note { margin: 28px 0 0; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--muted); }
@media (max-width: 760px) {
  .specs__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .specs__row li:nth-child(odd) { border-left: 0; padding-left: 0; }
}
.features .card { min-height: 260px; display: flex; flex-direction: column; gap: 10px; }
.features .card h3 { font-family: var(--f-display); font-size: 22px; margin-top: 18px; }
.features .card p { color: var(--muted); font-size: 15px; }

/* ---- 3D sahne: hero'daki stüdyo grisi ---- */
.cfg__stage { background: radial-gradient(75% 70% at 50% 42%, #55565b, #303033 62%, #232326); }
.cfg__stage::before { opacity: .18; }
.cfg__stage .cfg__tag, .cfg__stage .cfg__hint { color: #d6dde3; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.cfg__glb { align-self: center; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.cfg__glb small { color: var(--accent); letter-spacing: .06em; }
.cfg__glb:hover { color: var(--fg); }

/* ---- Ürün sahnesi: tek büyük görsel + sekmeler ---- */
.pshow { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.pshow__stage {
  position: sticky; top: 96px; overflow: hidden;
  border-radius: calc(var(--radius) + 6px); border: 1px solid var(--line);
  background: radial-gradient(78% 72% at 50% 44%, #5a5b60, #35363a 58%, #1e1f22);
  --c: var(--accent);
}
.pshow__stage[data-active="iff"] { --c: var(--accent-2); }
.pshow__stage[data-active="wall"] { --c: #ffb547; }
.pshow__stage[data-active="dss"] { --c: #7ab4ff; }
.pshow__frame { position: relative; aspect-ratio: 1459 / 886; overflow: hidden; } /* kare kırpması (%12 / %6, %76 x %82) ile aynı oran */
.pshow__img { /* hero karesinin kırpılmış hali; her mod kendi cam rengi ile çapraz geçiş yapar */
  position: absolute; left: -15.789%; top: -7.317%; width: 131.579%; height: 121.951%; max-width: none;
  opacity: 0; transition: opacity .9s var(--ease);
}
.pshow__img.is-on { opacity: 1; }
.pshow__img[data-mode="com"] { filter: hue-rotate(62deg) saturate(1.25); }
.pshow__img[data-mode="iff"] { filter: hue-rotate(14deg) saturate(1.7) brightness(1.04); }
.pshow__img[data-mode="wall"] { filter: hue-rotate(-40deg) saturate(1.9) sepia(.22); }
.pshow__img[data-mode="dss"] { filter: hue-rotate(158deg) saturate(1.7); }

/* Ekran camın içinde: cam geometrisine eğik, kenarları camla kırpılı, hafif yansımalı */
.pshow__lens {
  position: absolute; left: 38.4%; top: 38.6%; width: 24.6%; height: 39.4%;
  transform: perspective(520px) rotateY(-11deg) rotate(-1.2deg); transform-origin: 50% 50%;
  clip-path: inset(0 round 20% / 17%); color: var(--c); mix-blend-mode: screen; pointer-events: none;
}
.pshow__lens::before { /* tarama çizgileri */
  content: ""; position: absolute; inset: 0; z-index: 2; opacity: .3;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 3px);
}
.pshow__lens::after { /* cam yansıması */
  content: ""; position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(118deg, rgba(255, 255, 255, .06), transparent 40%, transparent 72%, rgba(255, 255, 255, .03));
}
.pshow__hud {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 12% 11%;
  opacity: 0; filter: blur(.35px) drop-shadow(0 0 4px currentColor); transform: scale(.96);
  transition: opacity .55s var(--ease), transform .7s var(--ease);
}
.pshow__hud.is-on { opacity: .8; transform: none; }
.pshow__hud--wall { color: #ffb547; }
.pshow__hud--iff { color: var(--accent-2); }
.pshow__hud--dss { color: #7ab4ff; }

/* HUD hareketleri (yalnızca görünür olan) */
.pshow__hud.is-on .needle { transform-origin: 60px 58px; animation: ps-needle 7s ease-in-out infinite; }
.pshow__hud.is-on .ring { transform-origin: 60px 58px; animation: ps-spin 24s linear infinite; }
.pshow__hud.is-on .pulse { transform-origin: 52px 40px; animation: ps-pulse 2.2s ease-out infinite; }
.pshow__hud.is-on .friend circle { animation: ps-blink 2.6s ease-in-out infinite; }
.pshow__hud.is-on .friend circle:nth-child(2) { animation-delay: .5s; }
.pshow__hud.is-on .friend circle:nth-child(3) { animation-delay: 1s; }
.pshow__hud.is-on .friend circle:nth-child(4) { animation-delay: 1.5s; }
.pshow__hud.is-on .foe { animation: ps-blink 1.1s steps(2) infinite; }
.pshow__hud.is-on .body { transform-origin: 62px 60px; animation: ps-breathe 2.4s ease-in-out infinite; }
.pshow__hud.is-on .scan { animation: ps-scan 3.2s linear infinite; }
.pshow__hud.is-on .route { stroke-dasharray: 4 4; animation: ps-dash 1.6s linear infinite; }
.pshow__hud.is-on .goal { transform-origin: 104px 22px; animation: ps-pulse 1.8s ease-out infinite; }
.pshow__hud.is-on .prog { transform-origin: 9px 98px; animation: ps-grow 6s ease-in-out infinite; }
@keyframes ps-needle { 0%, 100% { transform: rotate(18deg); } 50% { transform: rotate(52deg); } }
@keyframes ps-spin { to { transform: rotate(360deg); } }
@keyframes ps-pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes ps-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes ps-breathe { 0%, 100% { transform: scale(1); opacity: .75; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes ps-scan { 0% { transform: translateY(0); opacity: 0; } 10%, 90% { opacity: 1; } 100% { transform: translateY(78px); opacity: 0; } }
@keyframes ps-dash { to { stroke-dashoffset: -16; } }
@keyframes ps-grow { 0% { transform: scaleX(.25); } 70%, 100% { transform: scaleX(1); } }

.pshow__badge {
  position: absolute; z-index: 4; left: 16px; top: 14px; display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 12px 7px 9px; border-radius: 999px; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: #e8eef3; background: rgba(8, 12, 16, .62); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pshow__badge .dot { background: var(--c); box-shadow: 0 0 10px var(--c); transition: background .5s; }

/* Sekmeler */
.pshow__tabs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pshow__tab {
  position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; width: 100%; text-align: left;
  padding: 18px 20px 20px; color: inherit; font: inherit; cursor: pointer; overflow: hidden;
  border-radius: calc(var(--radius) - 2px); border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
  transition: border-color .4s, background .4s;
}
.pshow__tab:hover { border-color: var(--line-2); }
.pshow__tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pshow__tab.is-on { border-color: rgba(255, 255, 255, .22); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); }
.pshow__num { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--muted); transition: color .4s; }
.pshow__tab.is-on .pshow__num { color: var(--accent); }
.pshow__tabtitle { font-family: var(--f-display); font-size: clamp(17px, 1.4vw, 21px); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; color: var(--fg-2); transition: color .4s; }
.pshow__tab.is-on .pshow__tabtitle { color: var(--fg); }
.pshow__more { grid-column: 2; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.pshow__tab.is-on .pshow__more { grid-template-rows: 1fr; }
.pshow__moreIn { overflow: hidden; display: grid; gap: 12px; min-height: 0; }
.pshow__lead { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.pshow__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pshow__tags span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.pshow__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; opacity: 0; }
.pshow__tab.is-on .pshow__bar { opacity: 1; animation: ps-fill 7s linear forwards; }
.pshow.is-paused .pshow__tab.is-on .pshow__bar { animation-play-state: paused; }
@keyframes ps-fill { to { transform: scaleX(1); } }

.product-variants__foot { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 900px) {
  .pshow { grid-template-columns: minmax(0, 1fr); }
  .pshow__stage { position: relative; top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pshow__hud, .pshow__hud * { animation: none !important; transition: none !important; }
  .pshow__bar { display: none; }
}

/* Haberleşme HUD'u: konuşan kanal ve sinyal çubukları */
.pshow__hud.is-on .eq rect { transform-box: fill-box; transform-origin: 50% 100%; animation: ps-eq 0.9s ease-in-out infinite; }
.pshow__hud.is-on .eq rect:nth-child(2) { animation-delay: .15s; }
.pshow__hud.is-on .eq rect:nth-child(3) { animation-delay: .3s; }
.pshow__hud.is-on .eq rect:nth-child(4) { animation-delay: .45s; }
.pshow__hud.is-on .eq rect:nth-child(5) { animation-delay: .6s; }
.pshow__hud.is-on .eq--idle rect { animation: none; transform: scaleY(.25); opacity: .45; }
.pshow__hud.is-on .talk { animation: ps-blink 1.2s ease-in-out infinite; }
.pshow__hud.is-on .sig rect { animation: ps-blink 2.4s ease-in-out infinite; }
.pshow__hud.is-on .sig rect:nth-child(2) { animation-delay: .3s; }
.pshow__hud.is-on .sig rect:nth-child(3) { animation-delay: .6s; }
@keyframes ps-eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.pshow__hud--com.is-on .eq rect { transform-origin: 50% 50%; }
.pshow__hud--com.is-on .pulse { transform-box: fill-box; transform-origin: 50% 50%; }
.pshow__hud--com { filter: blur(.15px) drop-shadow(0 0 3px currentColor); }
