/* =====================================================================
   SiberHat · Device Showcase — phone-showcase.css
   ---------------------------------------------------------------------
   Root component : .sh-device-showcase
   Scale          : --sh-device-width (tek değişken; 340–480px arası test edildi)
   Tüm iç ölçüler 430px tasarım ızgarasından --sh-u ile orantılanır.
   Global selector, reset, position:fixed YOK. Her kural root altında.
   ===================================================================== */

/* Laravel bridge: the outer wrapper remains the intro transform owner. */
.sh-hero-viz.hero-phone-entry {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
  padding: 0;
  overflow: visible;
  contain: none;
  isolation: isolate;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.sh-hero-viz.hero-phone-entry::before { content: none; }

.sh-hero .sh-hero-viz.hero-phone-entry > .sh-intro-panel-shell {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sh-hero .sh-hero-viz.hero-phone-entry > .sh-intro-panel-scan,
.sh-hero .sh-hero-viz.hero-phone-entry > .sh-intro-panel-rail {
  background: none !important;
  box-shadow: none !important;
  opacity: 0 !important;
}

.sh-device-showcase {
  /* ---- SCALE (tek kontrol noktası) ---- */
  --sh-device-width: 430px;
  --sh-u: calc(var(--sh-device-width) / 430);

  /* ---- palette ---- */
  --sh-ink-0: #080710;
  --sh-ink-1: #0c0918;
  --sh-ink-2: #121021;
  --sh-ink-3: #1b1230;
  --sh-purple: #a855f7;
  --sh-purple-soft: #d8b4fe;
  --sh-pink: #ec4899;
  --sh-text: #f5f2fa;
  --sh-muted: rgba(245,242,250,.50);
  --sh-border: rgba(216,180,254,.10);
  --sh-success: #22e0a1;
  --sh-success-glow: rgba(34,224,161,.40);

  --sh-sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sh-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sh-ease: cubic-bezier(.22,1,.36,1);

  /* ---- live feed geometry (handoff ile aynı değişken adları) ---- */
  --sh-row-height: calc(74 * var(--sh-u));
  --sh-row-gap: calc(11 * var(--sh-u));
  --sh-window-pad: calc(5 * var(--sh-u));

  /* ---- device shell (referans geometri) ---- */
  --sh-radius: calc(76 * var(--sh-u));            /* dış köşe */
  --sh-thickness-step: calc(3.2 * var(--sh-u));   /* 16 katman × 3.2 ≈ 51px gövde kalınlığı @430 */
  --sh-perspective: calc(1200 * var(--sh-u));
  --sh-cam-x: 150%;              /* kamera cihazın sağında → sağ yan yüz görünür */
  --sh-cam-y: 98%;               /* kamera alt kenar hizasında → alt yüz görünür */

  /* ---- pose ---- */
  --sh-tilt-y: -11deg;
  --sh-tilt-x: 4deg;
  --sh-tilt-z: 0deg;

  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: calc(64 * var(--sh-u)) calc(40 * var(--sh-u)) calc(104 * var(--sh-u));
  overflow: hidden;
  isolation: isolate;
  color: var(--sh-text);
  font-family: var(--sh-sans);
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.sh-device-showcase,
.sh-device-showcase *,
.sh-device-showcase *::before,
.sh-device-showcase *::after {
  box-sizing: border-box;
}

/* =====================================================================
   STAGE · halo · floor
   Kamera referanstaki gibi cihazın sağ-alt önünde: perspective-origin
   sağa/aşağı kaydırılır → ön yüz önden okunur, sağ ve alt yan yüz görünür.
   ===================================================================== */

.sh-device-stage {
  position: relative;
  perspective: var(--sh-perspective);
  perspective-origin: var(--sh-cam-x) var(--sh-cam-y);
}

.sh-device-halo {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: -2;
  width: calc(900 * var(--sh-u));
  height: calc(1140 * var(--sh-u));
  transform: translate(-50%, -50%);
  background:
    radial-gradient(closest-side at 54% 46%, rgba(168,85,247,.23), rgba(168,85,247,.08) 55%, transparent 82%),
    radial-gradient(closest-side at 50% 92%, rgba(236,72,153,.21), transparent 70%);
  pointer-events: none;
  animation: sh-device-breathe 8s ease-in-out infinite;
}

/* zemin: pembe-violet ışık çizgisi + yayılım + yumuşak yansıma */
.sh-device-floor {
  position: absolute;
  left: 50%;
  bottom: calc(-96 * var(--sh-u));
  z-index: -1;
  width: calc(820 * var(--sh-u));
  height: calc(160 * var(--sh-u));
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(236,72,153,.32), rgba(168,85,247,.13) 52%, transparent 100%);
  pointer-events: none;
}

.sh-device-floor::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 12%;
  top: calc(50% - calc(1.2 * var(--sh-u)));
  height: calc(2.4 * var(--sh-u));
  border-radius: 50%;
  background: linear-gradient(90deg,
    transparent, rgba(236,72,153,.48) 16%, rgba(255,220,250,.88) 46%, rgba(236,72,153,.52) 78%, transparent);
  box-shadow:
    0 0 calc(8 * var(--sh-u)) rgba(236,72,153,.62),
    0 0 calc(26 * var(--sh-u)) rgba(168,85,247,.38);
}

.sh-device-floor::after {
  /* cihazın parlak zemindeki yansıması: dikey ışık izleri */
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(470 * var(--sh-u));
  height: calc(78 * var(--sh-u));
  transform: translateX(-48%);
  background:
    repeating-linear-gradient(90deg,
      rgba(236,140,240,0) 0 calc(26 * var(--sh-u)), rgba(236,140,240,.06) calc(29 * var(--sh-u)), rgba(236,140,240,0) calc(34 * var(--sh-u))),
    radial-gradient(closest-side at 50% 0%, rgba(216,180,254,.20), rgba(236,72,153,.06) 60%, transparent);
  -webkit-mask: linear-gradient(180deg, #000, transparent);
          mask: linear-gradient(180deg, #000, transparent);
}

/* =====================================================================
   DEVICE — referans kasanın yeniden inşası
   outer chassis (extrude) → ince metal rim → siyah bezel → cam → ekran
   ===================================================================== */

.sh-device {
  position: relative;
  width: var(--sh-device-width);
  height: calc(864 * var(--sh-u));
  transform: rotateY(var(--sh-tilt-y)) rotateX(var(--sh-tilt-x)) rotateZ(var(--sh-tilt-z));
  transform-style: preserve-3d;
  transition: transform 1.6s var(--sh-ease);
}

.sh-device-showcase:hover .sh-device {
  transform: rotateY(calc(var(--sh-tilt-y) * .6)) rotateX(calc(var(--sh-tilt-x) * .6)) rotateZ(var(--sh-tilt-z));
}

/* --- chassis: silüetin z ekseninde 16 katmanı.
       Yalnız dış şeritleri görünür → sağ yan yüz + alt yüz. --- */
.sh-device-body {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  pointer-events: none;
}

.sh-device-body > i {
  --c: #24222a;
  position: absolute;
  inset: 0;
  border-radius: var(--sh-radius);
  background:
    /* cilalı metal: üstte parlak specular, ortada akan ışık, altta magenta yansıma; anten çizgileri */
    linear-gradient(180deg,
      rgba(255,240,255,.34) 0%,
      rgba(255,255,255,.10) 3.5%,
      rgba(255,255,255,.03) 9.6%,
      rgba(6,5,9,.9) 10.2%, rgba(6,5,9,.9) 10.9%,
      rgba(255,255,255,.06) 11.5%,
      rgba(0,0,0,.16) 30%,
      rgba(255,255,255,.14) 52%,
      rgba(0,0,0,.12) 74%,
      rgba(6,5,9,.9) 89.1%, rgba(6,5,9,.9) 89.8%,
      rgba(255,255,255,.05) 90.4%,
      rgba(236,72,153,.26) 96%,
      rgba(245,120,210,.44) 100%),
    var(--c);
  transform: translateZ(calc(var(--z) * var(--sh-thickness-step) * -1));
}

/* ön → arka: parlak chamfer · silver-lavender specular · koyu ayrım ·
   grafit → cilalı violet highlight bandı → grafit · ince pembe arka rim */
.sh-device-body > i:nth-child(1)  { --z: 1;  --c: #f0dcff; }
.sh-device-body > i:nth-child(2)  { --z: 2;  --c: #c6b6de; }
.sh-device-body > i:nth-child(3)  { --z: 3;  --c: #6c5a88; }
.sh-device-body > i:nth-child(4)  { --z: 4;  --c: #110e17; }
.sh-device-body > i:nth-child(5)  { --z: 5;  --c: #2d2737; }
.sh-device-body > i:nth-child(6)  { --z: 6;  --c: #3d3250; }
.sh-device-body > i:nth-child(7)  { --z: 7;  --c: #574474; }
.sh-device-body > i:nth-child(8)  { --z: 8;  --c: #8468ae; }
.sh-device-body > i:nth-child(9)  { --z: 9;  --c: #9c80c8; }
.sh-device-body > i:nth-child(10) { --z: 10; --c: #6a5490; }
.sh-device-body > i:nth-child(11) { --z: 11; --c: #443858; }
.sh-device-body > i:nth-child(12) { --z: 12; --c: #2f293b; }
.sh-device-body > i:nth-child(13) { --z: 13; --c: #252030; }
.sh-device-body > i:nth-child(14) { --z: 14; --c: #b27ada; }
.sh-device-body > i:nth-child(15) { --z: 15; --c: #281e35; }
.sh-device-body > i:nth-child(16) {
  --z: 16;
  --c: #0e0d12;
  box-shadow:
    calc(10 * var(--sh-u)) calc(-6 * var(--sh-u)) calc(30 * var(--sh-u)) rgba(196,120,255,.28),
    calc(8 * var(--sh-u)) calc(12 * var(--sh-u)) calc(32 * var(--sh-u)) rgba(236,72,153,.26),
    calc(-10 * var(--sh-u)) calc(-8 * var(--sh-u)) calc(34 * var(--sh-u)) rgba(236,72,153,.18),
    0 0 calc(56 * var(--sh-u)) rgba(168,85,247,.17),
    0 calc(40 * var(--sh-u)) calc(80 * var(--sh-u)) rgba(0,0,0,.72);
}

/* --- hardware keys: yan yüze oturan ince 3D parçalar --- */
.sh-device-key {
  position: absolute;
  width: calc(var(--sh-thickness-step) * 7);
  border-radius: calc(4 * var(--sh-u));
  transform-origin: 0 50%;
  transform-style: preserve-3d;
  background:
    linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.08) 50%, rgba(0,0,0,.30)),
    linear-gradient(180deg, #ecd8ff 0%, #7a6898 6%, #3a3148 24%, #241f2d 58%, #4a3d62 88%, #e2b2ff 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
}

.sh-device-key::before {
  /* tuşun kasaya bağlandığı kısa boyun */
  content: "";
  position: absolute;
  inset: calc(1 * var(--sh-u)) calc(1 * var(--sh-u));
  border-radius: inherit;
  background: #0d0913;
  transform: translateZ(calc(-1.6 * var(--sh-u)));
}

.sh-device-key--power {
  left: 100%;
  top: calc(214 * var(--sh-u));
  height: calc(116 * var(--sh-u));
  transform: translate3d(calc(1.8 * var(--sh-u)), 0, calc(var(--sh-thickness-step) * -4.5)) rotateY(90deg);
}

.sh-device-key--action,
.sh-device-key--vol-up,
.sh-device-key--vol-dn {
  left: 0;
  transform: translate3d(calc(-1.8 * var(--sh-u)), 0, calc(var(--sh-thickness-step) * -4.5)) rotateY(90deg);
  background: linear-gradient(180deg, #9a84bd, #2a2432 18%, #17141c 82%, #7a5aa0);
}

.sh-device-key--action { top: calc(176 * var(--sh-u)); height: calc(40 * var(--sh-u)); }
.sh-device-key--vol-up { top: calc(246 * var(--sh-u)); height: calc(68 * var(--sh-u)); }
.sh-device-key--vol-dn { top: calc(328 * var(--sh-u)); height: calc(68 * var(--sh-u)); }

/* --- ön metal rim (ince) --- */
.sh-device-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: calc(4 * var(--sh-u));
  border-radius: var(--sh-radius);
  background:
    linear-gradient(125deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,0) 7%, rgba(255,255,255,0) 44%, rgba(255,255,255,.12) 50%, rgba(255,255,255,0) 56%),
    linear-gradient(90deg, rgba(0,0,0,.30), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(225,200,255,.30)),
    linear-gradient(180deg, #7c6e94 0%, #2a2632 7%, #1a1820 48%, #26222e 90%, #8c5cb2 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.10),
    inset 0 calc(1 * var(--sh-u)) 0 rgba(255,255,255,.30);
}

/* rim light: üst-sağ, sağ, alt-sağ en güçlü; alt magenta orta; sol violet zayıf */
.sh-device-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: calc(1.8 * var(--sh-u));
  border-radius: inherit;
  background: conic-gradient(from 0deg at 50% 50%,
    rgba(226,206,255,.62) 0deg,
    rgba(250,238,255,1) 30deg,
    rgba(224,172,255,.90) 58deg,
    rgba(196,150,240,.62) 90deg,
    rgba(222,160,255,.78) 120deg,
    rgba(246,124,220,1) 148deg,
    rgba(236,72,153,.84) 178deg,
    rgba(190,96,220,.48) 210deg,
    rgba(150,104,210,.30) 250deg,
    rgba(170,120,235,.40) 290deg,
    rgba(236,206,255,.72) 324deg,
    rgba(226,206,255,.62) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

/* rim ile bezel arasındaki koyu ayrım çizgisi */
.sh-device-frame::after {
  content: "";
  position: absolute;
  inset: calc(3.6 * var(--sh-u));
  z-index: 2;
  border-radius: calc(var(--sh-radius) - calc(3.6 * var(--sh-u)));
  box-shadow:
    0 0 0 1px rgba(0,0,0,.95),
    0 0 0 calc(1.3 * var(--sh-u)) rgba(220,210,240,.30);
  pointer-events: none;
}

/* --- siyah bezel --- */
.sh-device-bezel {
  position: relative;
  height: 100%;
  padding: calc(14 * var(--sh-u));
  border-radius: calc(var(--sh-radius) - calc(4 * var(--sh-u)));
  background: #020103;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.05),
    inset 0 0 calc(3 * var(--sh-u)) calc(1 * var(--sh-u)) #000;
}

/* ön cam: üstten yumuşak ışık + dikey yansıma bandı + kenar falloff */
.sh-device-bezel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 30;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075) 0%, rgba(255,255,255,0) 9%),
    linear-gradient(90deg,
      rgba(255,255,255,.035) 0%, rgba(255,255,255,0) 8%,
      rgba(255,255,255,0) 64%, rgba(255,255,255,.035) 70%, rgba(255,255,255,0) 77%,
      rgba(255,255,255,0) 93%, rgba(216,180,254,.05) 100%),
    linear-gradient(118deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 30%);
  pointer-events: none;
}

/* --- screen glass --- */
.sh-device-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 calc(13 * var(--sh-u)) calc(8 * var(--sh-u));
  overflow: hidden;
  isolation: isolate;
  border-radius: calc(var(--sh-radius) - calc(18 * var(--sh-u)));
  background:
    radial-gradient(calc(540 * var(--sh-u)) calc(360 * var(--sh-u)) at 50% 104%, rgba(236,72,153,.15), transparent 70%),
    radial-gradient(calc(420 * var(--sh-u)) calc(420 * var(--sh-u)) at 108% -4%, rgba(168,85,247,.18), transparent 64%),
    radial-gradient(calc(300 * var(--sh-u)) calc(300 * var(--sh-u)) at -10% 40%, rgba(168,85,247,.06), transparent 70%),
    linear-gradient(180deg, var(--sh-ink-2) 0%, var(--sh-ink-1) 42%, #0a0815 100%);
}

/* cam yansıması */
.sh-device-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  border-radius: inherit;
  background:
    linear-gradient(118deg,
      rgba(255,255,255,.075) 0%,
      rgba(255,255,255,.028) 20%,
      transparent 34%,
      transparent 72%,
      rgba(216,180,254,.035) 88%,
      rgba(255,255,255,.05) 100%);
  box-shadow:
    inset 0 0 calc(26 * var(--sh-u)) rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.06);
  pointer-events: none;
}

/* =====================================================================
   STATUS BAR · DYNAMIC ISLAND
   ===================================================================== */

.sh-device-statusbar {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: calc(58 * var(--sh-u));
  padding: calc(4 * var(--sh-u)) calc(18 * var(--sh-u)) 0 calc(22 * var(--sh-u));
  color: var(--sh-text);
}

.sh-device-time {
  font: 600 calc(16.5 * var(--sh-u))/1 var(--sh-sans);
  letter-spacing: -.01em;
}

.sh-device-island {
  position: absolute;
  left: 50%;
  top: calc(8 * var(--sh-u));
  width: calc(130 * var(--sh-u));
  height: calc(42 * var(--sh-u));
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #0b0a10 0%, #000 55%);
  box-shadow:
    inset 0 calc(1 * var(--sh-u)) calc(1 * var(--sh-u)) rgba(255,255,255,.07),
    inset 0 calc(-1 * var(--sh-u)) calc(2 * var(--sh-u)) rgba(0,0,0,.9),
    0 0 0 calc(.6 * var(--sh-u)) rgba(255,255,255,.035),
    0 calc(2 * var(--sh-u)) calc(4 * var(--sh-u)) rgba(0,0,0,.55);
}

.sh-device-island-cam {
  position: absolute;
  right: calc(13 * var(--sh-u));
  top: 50%;
  width: calc(12 * var(--sh-u));
  height: calc(12 * var(--sh-u));
  transform: translateY(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 32%, rgba(190,200,255,.75) 0 calc(1.1 * var(--sh-u)), transparent calc(1.8 * var(--sh-u))),
    radial-gradient(circle at 62% 66%, rgba(168,85,247,.45) 0 calc(1.2 * var(--sh-u)), transparent calc(2.4 * var(--sh-u))),
    radial-gradient(circle, #1d2050 0 30%, #0b0c1c 52%, #050508 70%, #17151d 78%, #050508 90%);
  box-shadow: inset 0 0 0 calc(.6 * var(--sh-u)) rgba(255,255,255,.08);
}

.sh-device-sysicons {
  display: flex;
  align-items: center;
  gap: calc(6 * var(--sh-u));
  color: var(--sh-text);
}

.sh-device-sysicons svg {
  display: block;
  height: calc(12 * var(--sh-u));
  width: auto;
}

/* =====================================================================
   LIVE FEED — handoff sınıfları, telefon için yeniden giydirildi
   (JS'in ürettiği .sh-hero-* sınıfları korunur; tümü root altında scope'lu)
   ===================================================================== */

.sh-device-showcase .sh-hero-viz {
  position: relative;
  display: flex;
  flex: none;
  flex-direction: column;
}

/* --- header --- */
.sh-device-showcase .sh-hero-viz-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(12 * var(--sh-u));
  margin: calc(14 * var(--sh-u)) 0 calc(14 * var(--sh-u));
  padding: calc(13 * var(--sh-u)) calc(12 * var(--sh-u)) calc(13 * var(--sh-u)) calc(16 * var(--sh-u));
  border: 1px solid var(--sh-border);
  border-radius: calc(18 * var(--sh-u));
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)),
    rgba(14,11,26,.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.sh-device-showcase .sh-hero-viz-title {
  display: flex;
  align-items: center;
  gap: calc(9 * var(--sh-u));
  color: #ece4fb;
  font: 600 calc(16 * var(--sh-u))/1.1 var(--sh-sans);
  letter-spacing: -.01em;
}

.sh-device-showcase .sh-hero-viz-title > span {
  color: var(--sh-purple-soft);
  font-size: calc(15 * var(--sh-u));
  opacity: .85;
}

.sh-device-showcase .sh-hero-viz-badge {
  display: flex;
  align-items: center;
  gap: calc(7 * var(--sh-u));
  padding: calc(6 * var(--sh-u)) calc(12 * var(--sh-u));
  border: 1px solid rgba(34,224,161,.30);
  border-radius: 999px;
  color: var(--sh-success);
  background: rgba(34,224,161,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  font: 700 calc(11 * var(--sh-u))/1 var(--sh-mono);
  letter-spacing: .1em;
}

.sh-device-showcase .sh-hero-live-dot {
  position: relative;
  width: calc(6 * var(--sh-u));
  height: calc(6 * var(--sh-u));
  flex: none;
  border-radius: 50%;
  background: var(--sh-success);
  box-shadow: 0 0 calc(7 * var(--sh-u)) var(--sh-success);
}

.sh-device-showcase .sh-hero-live-dot::after {
  content: "";
  position: absolute;
  inset: calc(-3 * var(--sh-u));
  border: 1px solid var(--sh-success);
  border-radius: 50%;
  animation: sh-hero-ripple 2.4s ease-out infinite;
}

/* --- order window: 5 satırlık sabit pencere --- */
.sh-device-showcase .sh-hero-order-window {
  position: relative;
  height: calc(var(--sh-row-height) * 5 + var(--sh-row-gap) * 4 + var(--sh-window-pad) * 2);
  margin: 0 calc(var(--sh-window-pad) * -1);
  padding: var(--sh-window-pad);
  overflow: hidden;
  contain: layout paint;
}

.sh-device-showcase .sh-hero-order-list {
  position: relative;
}

/* --- row --- */
.sh-device-showcase .sh-hero-order-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(10 * var(--sh-u));
  height: var(--sh-row-height);
  margin-bottom: var(--sh-row-gap);
  padding: 0 calc(10 * var(--sh-u)) 0 calc(12 * var(--sh-u));
  overflow: hidden;
  border: 1px solid rgba(216,180,254,.085);
  border-radius: calc(16 * var(--sh-u));
  background:
    linear-gradient(180deg, rgba(255,255,255,.042), rgba(255,255,255,.012)),
    rgba(13,10,24,.88);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 calc(6 * var(--sh-u)) calc(14 * var(--sh-u)) rgba(0,0,0,.22);
  transition:
    height .45s var(--sh-ease),
    margin .45s var(--sh-ease),
    opacity .32s var(--sh-ease),
    border-color .35s var(--sh-ease),
    background .35s var(--sh-ease),
    box-shadow .35s var(--sh-ease);
}

.sh-device-showcase .sh-hero-order-row.sh-hero-enter {
  height: 0;
  margin-bottom: 0;
  border-width: 0;
  opacity: 0;
}

/* active (wait / proc): kontrollü violet rim */
.sh-device-showcase .sh-hero-order-row.sh-hero-active {
  border-color: rgba(168,85,247,.78);
  background:
    linear-gradient(90deg, rgba(168,85,247,.22), rgba(168,85,247,.05) 72%),
    rgba(17,11,32,.94);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    inset 0 0 calc(18 * var(--sh-u)) rgba(168,85,247,.14),
    0 0 calc(18 * var(--sh-u)) rgba(168,85,247,.30);
}

/* done: çok hafif semantic green hairline */
.sh-device-showcase .sh-hero-order-row:has(.sh-hero-st-ok) {
  border-color: rgba(34,224,161,.085);
}

.sh-device-showcase .sh-hero-sweep {
  display: none;
}

.sh-device-showcase .sh-hero-order-row.sh-hero-active .sh-hero-sweep {
  position: absolute;
  inset: 0 auto;
  display: block;
  width: 26%;
  background: linear-gradient(90deg, transparent, rgba(168,85,247,.30), transparent);
  animation: sh-hero-sweep 2.4s ease-in-out infinite;
  pointer-events: none;
}

.sh-device-showcase .sh-hero-order-row.sh-hero-done-flash {
  animation: sh-hero-done-flash .85s var(--sh-ease);
}

/* --- service icon (sprite veya ilk-harf fallback) --- */
.sh-device-showcase .sh-hero-order-svc {
  position: relative;
  z-index: 1;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: calc(40 * var(--sh-u));
  height: calc(40 * var(--sh-u));
  border-radius: calc(12 * var(--sh-u));
  color: #fff;
  font: 700 calc(17 * var(--sh-u))/1 var(--sh-sans);
  text-shadow: 0 1px 1px rgba(0,0,0,.25);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.14),
    0 calc(4 * var(--sh-u)) calc(10 * var(--sh-u)) rgba(0,0,0,.35);
}

.sh-device-showcase .sh-hero-order-svc::after {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  height: 44%;
  border-radius: calc(11 * var(--sh-u)) calc(11 * var(--sh-u)) 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,.26), transparent);
  pointer-events: none;
}

.sh-device-showcase .sh-hero-order-svc svg {
  width: calc(20 * var(--sh-u));
  height: calc(20 * var(--sh-u));
  fill: currentColor;
}

.sh-device-showcase .sh-hero-order-svc--whatsapp  { background: linear-gradient(145deg,#2ad575,#147a48); }
.sh-device-showcase .sh-hero-order-svc--telegram  { background: linear-gradient(145deg,#3dc5ff,#117db8); }
.sh-device-showcase .sh-hero-order-svc--instagram { background: linear-gradient(145deg,#ffc153,#e83769 55%,#9822c0); }
.sh-device-showcase .sh-hero-order-svc--facebook  { background: linear-gradient(145deg,#3ca0ff,#1046b0); }
.sh-device-showcase .sh-hero-order-svc--x         { background: linear-gradient(145deg,#404251,#12131e); }

/* --- info --- */
.sh-device-showcase .sh-hero-order-info {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.sh-device-showcase .sh-hero-order-name {
  overflow: hidden;
  color: var(--sh-text);
  font: 600 calc(14.2 * var(--sh-u))/1.2 var(--sh-sans);
  letter-spacing: -.005em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sh-device-showcase .sh-hero-order-meta {
  margin-top: calc(5 * var(--sh-u));
  overflow: hidden;
  color: var(--sh-muted);
  font: 500 calc(11.5 * var(--sh-u))/1.2 var(--sh-mono);
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* --- status pill --- */
.sh-device-showcase .sh-hero-order-status {
  position: relative;
  z-index: 1;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: calc(7 * var(--sh-u));
  min-width: calc(138 * var(--sh-u));
  height: calc(31 * var(--sh-u));
  padding: 0 calc(10 * var(--sh-u));
  overflow: hidden;
  border-radius: 999px;
  font: 700 calc(11 * var(--sh-u))/1 var(--sh-mono);
  letter-spacing: .035em;
  white-space: nowrap;
  transition: background .3s var(--sh-ease), border-color .3s var(--sh-ease), color .3s var(--sh-ease);
}

.sh-device-showcase .sh-hero-st-wait {
  border: 1px solid rgba(168,85,247,.72);
  color: #f1e6ff;
  background: linear-gradient(180deg, rgba(168,85,247,.20), rgba(168,85,247,.10));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 0 calc(14 * var(--sh-u)) rgba(168,85,247,.22);
}

.sh-device-showcase .sh-hero-st-proc {
  border: 1px solid rgba(236,72,153,.70);
  color: #fde4f1;
  background: linear-gradient(90deg, rgba(236,72,153,.20), rgba(168,85,247,.14));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 0 calc(14 * var(--sh-u)) rgba(236,72,153,.20);
}

.sh-device-showcase .sh-hero-st-ok {
  border: 1px solid rgba(34,224,161,.50);
  color: #b8ffe4;
  background: linear-gradient(180deg, rgba(34,224,161,.12), rgba(34,224,161,.05));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.sh-device-showcase .sh-hero-pip {
  width: calc(7 * var(--sh-u));
  height: calc(7 * var(--sh-u));
  flex: none;
  border-radius: 50%;
  background: #efe0ff;
  box-shadow: 0 0 calc(6 * var(--sh-u)) rgba(216,180,254,.8);
  animation: sh-hero-pip 1.1s ease-in-out infinite;
}

.sh-device-showcase .sh-hero-spin {
  width: calc(10 * var(--sh-u));
  height: calc(10 * var(--sh-u));
  flex: none;
  border: calc(1.6 * var(--sh-u)) solid rgba(253,228,241,.32);
  border-top-color: #fde4f1;
  border-radius: 50%;
  animation: sh-hero-spin .6s linear infinite;
}

.sh-device-showcase .sh-hero-st-ok svg {
  width: calc(12 * var(--sh-u));
  height: calc(12 * var(--sh-u));
  flex: none;
}

/* =====================================================================
   SUMMARY · metrics + social proof
   ===================================================================== */

.sh-device-summary {
  position: relative;
  margin-top: calc(14 * var(--sh-u));
  padding: calc(17 * var(--sh-u)) calc(16 * var(--sh-u)) calc(16 * var(--sh-u));
  border: 1px solid var(--sh-border);
  border-radius: calc(20 * var(--sh-u));
  background:
    linear-gradient(180deg, rgba(255,255,255,.042), rgba(255,255,255,.01)),
    rgba(13,10,24,.70);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.sh-device-showcase .sh-hero-viz-foot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(8 * var(--sh-u));
}

.sh-device-showcase .sh-hero-viz-stat {
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--sh-u));
  min-width: 0;
}

.sh-device-showcase .sh-hero-viz-stat:nth-child(2) { align-items: center; }
.sh-device-showcase .sh-hero-viz-stat:nth-child(3) { align-items: flex-end; }

.sh-device-showcase .sh-hero-viz-stat-label {
  color: var(--sh-muted);
  font: 600 calc(10 * var(--sh-u))/1 var(--sh-sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sh-device-showcase .sh-hero-viz-stat-value {
  color: var(--sh-text);
  font: 700 calc(21 * var(--sh-u))/1 var(--sh-mono);
  letter-spacing: -.01em;
  transition: color .3s var(--sh-ease), text-shadow .3s var(--sh-ease);
}

.sh-device-showcase .sh-hero-viz-stat-value.sh-hero-ac {
  color: var(--sh-purple-soft);
}

.sh-device-showcase .sh-hero-viz-stat-value.sh-hero-bump {
  color: var(--sh-success);
  text-shadow: 0 0 calc(18 * var(--sh-u)) var(--sh-success-glow);
}

/* --- social proof --- */
.sh-device-social {
  display: flex;
  align-items: center;
  gap: calc(14 * var(--sh-u));
  margin-top: calc(16 * var(--sh-u));
  padding-top: calc(16 * var(--sh-u));
  border-top: 1px solid rgba(216,180,254,.08);
}

.sh-device-avatars {
  display: flex;
  flex: none;
  padding-left: calc(9 * var(--sh-u));
}

.sh-device-avatar {
  --sk: #e8b896;
  --cl: #6d3fc0;
  --b1: #2a1b47;
  --b2: #160f26;
  width: calc(34 * var(--sh-u));
  height: calc(34 * var(--sh-u));
  margin-left: calc(-9 * var(--sh-u));
  border: calc(2 * var(--sh-u)) solid #8b5cf6;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, var(--sk) 0 calc(6.2 * var(--sh-u)), transparent calc(6.8 * var(--sh-u))),
    radial-gradient(ellipse calc(12 * var(--sh-u)) calc(9.5 * var(--sh-u)) at 50% 104%, var(--cl) 0 96%, transparent 100%),
    linear-gradient(160deg, var(--b1), var(--b2));
  box-shadow: 0 0 0 calc(2 * var(--sh-u)) var(--sh-ink-1), 0 calc(3 * var(--sh-u)) calc(8 * var(--sh-u)) rgba(0,0,0,.4);
}

.sh-device-avatar-image {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 720px) {
    html[data-site-theme="dark"] body.sh-home .sh-hero:not(.sh-intro-live) .sh-device-showcase .sh-hero-viz-foot {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

    html[data-site-theme="dark"] body.sh-home .sh-hero:not(.sh-intro-live) .sh-device-avatar {
        overflow: hidden;
        border-color: rgba(229, 231, 235, .72);
        background-image: none;
        background-color: #171321;
        box-shadow: 0 0 0 calc(1.2 * var(--sh-u)) rgba(168, 85, 247, .32), 0 calc(3 * var(--sh-u)) calc(9 * var(--sh-u)) rgba(0, 0, 0, .42);
    }

    html[data-site-theme="dark"] body.sh-home .sh-hero:not(.sh-intro-live) .sh-device-avatar-image {
        display: block;
    }
}

@media (min-width: 721px) {
    html[data-site-theme="dark"] body.sh-home .sh-hero:not(.sh-intro-live) .sh-device-avatar {
        overflow: hidden;
        border-color: rgba(216, 180, 254, .82);
        background-image: none;
        background-color: #171321;
        box-shadow: 0 0 0 calc(1.2 * var(--sh-u)) rgba(168, 85, 247, .32), 0 calc(3 * var(--sh-u)) calc(9 * var(--sh-u)) rgba(0, 0, 0, .42);
    }

    html[data-site-theme="dark"] body.sh-home .sh-hero:not(.sh-intro-live) .sh-device-avatar-image {
        display: block;
    }
}

.sh-device-avatar:nth-child(2) { --sk: #a8775a; --cl: #db2777; --b1: #3a1838; --b2: #1a0d1d; border-color: #a855f7; }
.sh-device-avatar:nth-child(3) { --sk: #f1cba8; --cl: #7c3aed; --b1: #251a4a; --b2: #120d24; border-color: #c084fc; }
.sh-device-avatar:nth-child(4) { --sk: #c98e6a; --cl: #9333ea; --b1: #2f1747; --b2: #160c22; border-color: #a855f7; }
.sh-device-avatar:nth-child(5) { --sk: #6f4a35; --cl: #c026d3; --b1: #3a1640; --b2: #1a0b1e; border-color: #d8b4fe; }

.sh-device-rating {
  min-width: 0;
}

.sh-device-stars {
  display: flex;
  gap: calc(2 * var(--sh-u));
  color: #f7c752;
  font-size: calc(13.5 * var(--sh-u));
  line-height: 1;
  text-shadow: 0 0 calc(8 * var(--sh-u)) rgba(247,199,82,.35);
}

.sh-device-rating-text {
  margin-top: calc(5 * var(--sh-u));
  color: rgba(245,242,250,.80);
  font: 500 calc(12.8 * var(--sh-u))/1.35 var(--sh-sans);
}

/* =====================================================================
   TRUST ROW · HOME INDICATOR
   ===================================================================== */

.sh-device-trust {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: calc(8 * var(--sh-u));
  margin-top: auto;
  padding: calc(12 * var(--sh-u)) calc(10 * var(--sh-u)) calc(4 * var(--sh-u));
}

.sh-device-trust-item {
  display: flex;
  align-items: center;
  gap: calc(7 * var(--sh-u));
  color: rgba(236,228,251,.82);
  font: 500 calc(12.8 * var(--sh-u))/1 var(--sh-sans);
  white-space: nowrap;
}

.sh-device-trust-item svg {
  width: calc(17 * var(--sh-u));
  height: calc(17 * var(--sh-u));
  flex: none;
  color: var(--sh-purple-soft);
}

.sh-device-trust-item--verified svg {
  color: var(--sh-purple);
  filter: drop-shadow(0 0 calc(5 * var(--sh-u)) rgba(168,85,247,.55));
}

.sh-device-home {
  flex: none;
  width: calc(130 * var(--sh-u));
  height: calc(5 * var(--sh-u));
  margin: calc(12 * var(--sh-u)) auto calc(2 * var(--sh-u));
  border-radius: 999px;
  background: rgba(245,242,250,.55);
}

/* =====================================================================
   KEYFRAMES (handoff ile aynı adlar + halo)
   ===================================================================== */

@keyframes sh-device-breathe {
  0%, 100% { opacity: .85; }
  50%      { opacity: 1; }
}

@keyframes sh-hero-ripple {
  from { transform: scale(.8); opacity: .6; }
  to   { transform: scale(2.2); opacity: 0; }
}

@keyframes sh-hero-sweep {
  from { transform: translateX(-130%); }
  to   { transform: translateX(340%); }
}

@keyframes sh-hero-done-flash {
  0%   { box-shadow: 0 0 0 transparent; border-color: var(--sh-purple); }
  35%  { box-shadow: 0 0 calc(22 * var(--sh-u)) var(--sh-success-glow); border-color: var(--sh-success); }
  100% { box-shadow: 0 0 0 transparent; border-color: rgba(216,180,254,.085); }
}

@keyframes sh-hero-pip {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .35; transform: scale(.75); }
}

@keyframes sh-hero-spin {
  to { transform: rotate(360deg); }
}

/* =====================================================================
   REDUCED MOTION — genel maketler statik kalır; HERO telefonu mobildeki
   tam animasyon akışını masaüstünde de korur.
   ===================================================================== */

@media (prefers-reduced-motion: reduce) {
  .sh-device-showcase:not(.sh-device-showcase--hero) *,
  .sh-device-showcase:not(.sh-device-showcase--hero) *::before,
  .sh-device-showcase:not(.sh-device-showcase--hero) *::after {
    animation: none !important;
    transition: none !important;
  }
  .sh-device-showcase:not(.sh-device-showcase--hero):hover .sh-device {
    transform: rotateY(var(--sh-tilt-y)) rotateX(var(--sh-tilt-x)) rotateZ(var(--sh-tilt-z));
  }
}
