/* Partner süreci — interaktif telefon demosu */

.lp-phone {
  position: relative;
  width: 290px;
}

.lp-phone-glow {
  position: absolute;
  inset: 10% -12% -8%;
  background: radial-gradient(ellipse 70% 55% at 50% 45%, rgba(232, 84, 47, 0.18) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.lp-flow-demo .lp-phone-glow {
  background: radial-gradient(ellipse 70% 55% at 50% 45%, rgba(232, 84, 47, 0.14) 0%, transparent 68%);
}

.lp-phone-shell {
  position: relative;
  z-index: 1;
  background: linear-gradient(155deg, #3d3a45 0%, #1e1c24 35%, #121018 70%, #2a2830 100%);
  border-radius: 44px;
  padding: 11px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 0 2px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 32px 64px rgba(0, 0, 0, 0.55),
    0 8px 20px rgba(0, 0, 0, 0.35);
}

/* Yan düğmeler */
.lp-phone-btn {
  position: absolute;
  background: linear-gradient(90deg, #2a2830, #1a1820);
  border-radius: 2px;
  z-index: 0;
}
.lp-phone-btn--silent { left: -2px; top: 108px; width: 3px; height: 28px; }
.lp-phone-btn--vol-up { left: -2px; top: 152px; width: 3px; height: 44px; }
.lp-phone-btn--vol-down { left: -2px; top: 206px; width: 3px; height: 44px; }
.lp-phone-btn--power { right: -2px; top: 148px; width: 3px; height: 64px; }

/* Dynamic Island */
.lp-phone-island {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.lp-phone-island-cam {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3a4a5a 0%, #0a0c10 55%, #000 100%);
  box-shadow: inset 0 0 2px rgba(100, 140, 200, 0.3);
}

.lp-phone-bezel {
  background: #000;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
}
.lp-phone-bezel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.09) 0%,
    transparent 38%,
    transparent 62%,
    rgba(255, 255, 255, 0.04) 100%
  );
  pointer-events: none;
  z-index: 8;
}

.lp-phone-screen {
  background: var(--bg);
  color: var(--ink);
  border-radius: 34px;
  height: 520px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* iOS status bar */
.lp-phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
  background: var(--bg);
}
.lp-phone-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
}
.lp-phone-battery { opacity: 0.85; }

.lp-phone-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 4px;
  background: var(--ink);
  border-radius: 4px;
  opacity: 0.18;
  z-index: 6;
  pointer-events: none;
}

/* Ekran içeriği — status bar altında */
.lp-demo-view {
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateX(28px);
  transition: opacity 0.38s ease, transform 0.38s ease, visibility 0.38s;
  pointer-events: none;
  overflow-y: auto;
  scrollbar-width: none;
  color: var(--ink);
}
.lp-demo-view::-webkit-scrollbar { display: none; }
.lp-demo-view.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}
.lp-demo-view.is-exit {
  opacity: 0;
  transform: translateX(-28px);
}

/* Tap ripple */
.lp-demo-ripple {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(232, 84, 47, 0.35);
  border: 2px solid rgba(232, 84, 47, 0.6);
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
}
.lp-demo-ripple.is-tap {
  animation: lp-demo-tap 0.55s ease forwards;
}
@keyframes lp-demo-tap {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(0.4); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.2); }
}

/* Uygulama içi UI */
.lp-demo-appbar {
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.lp-demo-appbar span { color: var(--accent); }

.lp-demo-body {
  padding: 10px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}
.lp-demo-body--panel { gap: 8px; }
.lp-demo-body--ops { text-align: center; }

.lp-demo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 12px rgba(22, 20, 26, 0.05);
  flex: 1;
}

.lp-demo-tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 999px;
}
.lp-demo-tag--live {
  background: var(--green-soft);
  color: var(--green);
}

.lp-demo-h {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  color: var(--ink);
}

.lp-demo-sub {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.45;
}

.lp-demo-input {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.lp-demo-input::placeholder {
  color: #b8b3ad;
  font-weight: 500;
}
.lp-demo-input.is-typing {
  border-color: rgba(232, 84, 47, 0.45);
  box-shadow: 0 0 0 3px rgba(232, 84, 47, 0.08);
}
.lp-demo-input:not(:placeholder-shown) {
  border-color: rgba(22, 20, 26, 0.15);
  background: var(--surface);
}

.lp-demo-toast {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green-soft);
  border: 1px solid rgba(29, 138, 85, 0.25);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--green);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  margin: 0;
}
.lp-demo-toast.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  max-height: 80px;
  padding: 10px 12px;
  border-width: 1px;
  margin-bottom: 0;
}
.lp-demo-toast-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.lp-demo-field label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 3px;
}
.lp-demo-val {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}

.lp-demo-btn {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 11.5px;
  font-weight: 800;
  background: linear-gradient(180deg, #ec5f3a 0%, var(--accent) 100%);
  color: #fff;
  margin-top: auto;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(232, 84, 47, 0.35);
  flex-shrink: 0;
}
.lp-demo-btn--sm { padding: 8px 12px; font-size: 10.5px; }
.lp-demo-btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.lp-demo-btn--green { background: var(--green); }
.lp-demo-btn.is-pressed {
  transform: scale(0.96);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.15);
}
.lp-demo-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  animation: none;
}
.lp-demo-hotspot {
  animation: lp-demo-pulse 2s ease infinite;
}
@keyframes lp-demo-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 84, 47, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(232, 84, 47, 0); }
}
.lp-demo-btn--ghost.lp-demo-hotspot {
  animation-name: lp-demo-pulse-ghost;
}
@keyframes lp-demo-pulse-ghost {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 20, 26, 0.12); }
  50% { box-shadow: 0 0 0 6px rgba(22, 20, 26, 0); }
}
.lp-demo-btn--green.lp-demo-hotspot {
  animation-name: lp-demo-pulse-green;
}
@keyframes lp-demo-pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29, 138, 85, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(29, 138, 85, 0); }
}

/* Ürün fotoğrafları */
.lp-demo-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.lp-demo-prod-img {
  border-radius: 8px;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f1efec;
}
.lp-demo-prod small {
  font-size: 8px;
  color: var(--muted);
  font-weight: 600;
}

/* Adım 2: DnD panel */
.lp-demo-dnd {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
  min-height: 0;
}
.lp-demo-pool {
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow-y: auto;
  max-height: 200px;
  scrollbar-width: none;
}
.lp-demo-pool::-webkit-scrollbar { display: none; }
.lp-demo-prod .lp-demo-prod-img { max-height: 48px; aspect-ratio: 3/4; }
.lp-demo-prod {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  font-size: 9px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.lp-demo-prod span { font-weight: 700; line-height: 1.2; }
.lp-demo-prod b { color: var(--accent); font-size: 10px; }
.lp-demo-prod.is-added {
  opacity: 0.25;
  transform: scale(0.92);
}
.lp-demo-vitrin {
  background: var(--accent-soft);
  border: 1.5px dashed rgba(232, 84, 47, 0.35);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.lp-demo-vitrin-label {
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
}
.lp-demo-vitrin-slot {
  flex: 1;
  min-height: 36px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  border: 1px dashed rgba(232, 84, 47, 0.2);
  transition: background 0.3s ease;
}
.lp-demo-vitrin-slot.is-filled {
  border-style: solid;
  border-color: transparent;
  overflow: hidden;
}
.lp-demo-fly-clone {
  position: absolute;
  z-index: 40;
  width: 52px;
  pointer-events: none;
  transition: top 0.55s cubic-bezier(0.4, 0, 0.2, 1), left 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.lp-demo-fly-clone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Adım 3: Mağaza */
.lp-demo-urlbar {
  background: #eeecea;
  padding: 6px 10px;
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.lp-demo-store-hero {
  background: var(--ink);
  color: #fff;
  padding: 16px 14px;
  text-align: center;
  position: relative;
}
.lp-demo-store-hero .lp-demo-tag {
  position: absolute;
  top: 10px;
  right: 10px;
}
.lp-demo-store-by {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.lp-demo-store-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.lp-demo-store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 14px;
  flex: 1;
}
.lp-demo-store-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
}
.lp-demo-store-item .lp-demo-prod-img { border-radius: 6px; }
.lp-demo-view[data-step="2"] .lp-demo-btn {
  margin: auto 14px 14px;
  flex-shrink: 0;
}

/* Adım 4: Paylaş */
.lp-demo-share-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}
.lp-demo-share-preview {
  display: flex;
  gap: 10px;
  align-items: center;
}
.lp-demo-share-thumb {
  width: 44px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f1efec;
}
.lp-demo-share-thumb .lp-demo-photo,
.lp-demo-order-img .lp-demo-photo {
  border-radius: 8px;
}
.lp-demo-share-preview b {
  display: block;
  font-size: 11px;
  margin-bottom: 2px;
}
.lp-demo-share-preview span {
  font-size: 9px;
  color: var(--muted);
}
.lp-demo-socials {
  display: flex;
  gap: 6px;
}
.lp-demo-social {
  flex: 1;
  text-align: center;
  font-size: 8.5px;
  font-weight: 800;
  padding: 8px 4px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.lp-demo-social--ig { color: #c13584; }
.lp-demo-social--wa { color: #25d366; }
.lp-demo-social--tt { color: var(--ink); }
.lp-demo-social.is-shared {
  transform: scale(1.04);
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.9);
}

/* Adım 5: Sipariş */
.lp-demo-notif {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  font-size: 10px;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.lp-demo-notif.is-show {
  opacity: 1;
  transform: translateY(0);
}
.lp-demo-notif-icon { color: var(--accent); flex-shrink: 0; }
.lp-demo-notif b { display: block; font-size: 11px; }
.lp-demo-notif span { color: var(--muted); font-size: 9px; }
.lp-demo-order-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 10px;
}
.lp-demo-order-product {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.lp-demo-order-img {
  width: 44px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1efec;
  flex-shrink: 0;
}
.lp-demo-order-product b {
  display: block;
  font-size: 11px;
  line-height: 1.3;
  margin-bottom: 2px;
}
.lp-demo-order-product span {
  font-size: 9px;
  color: var(--muted);
}
.lp-demo-store-price {
  font-size: 10px;
  font-weight: 800;
}
.lp-demo-order-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px dashed var(--line);
}
.lp-demo-order-row:last-of-type { border: none; }
.lp-demo-order-row b { font-size: 10.5px; }
.lp-demo-order-status {
  margin-top: 8px;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--green);
  background: var(--green-soft);
  padding: 6px;
  border-radius: 8px;
}

/* Adım 6: Operasyon */
.lp-demo-ops-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  height: 80px;
  margin: 8px 0;
  position: relative;
}
.lp-demo-package,
.lp-demo-truck { color: var(--accent); }
.lp-demo-package {
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.lp-demo-truck {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.lp-demo-ops-visual.is-shipping .lp-demo-package {
  transform: scale(0.8);
  opacity: 0.4;
}
.lp-demo-ops-visual.is-shipping .lp-demo-truck {
  opacity: 1;
  transform: translateX(0);
  animation: lp-demo-drive 1.2s ease infinite alternate;
}
@keyframes lp-demo-drive {
  from { transform: translateX(0); }
  to { transform: translateX(12px); }
}
.lp-demo-ops-steps {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 4px;
}
.lp-demo-ops-step {
  font-size: 8px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--line);
  color: var(--muted);
}
.lp-demo-ops-step.is-done {
  background: var(--green-soft);
  color: var(--green);
}
.lp-demo-ops-step.is-active {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* Adım 7: Komisyon */
.lp-demo-earn-card {
  background: linear-gradient(145deg, var(--green-soft) 0%, var(--surface) 100%);
  border: 1px solid rgba(29, 138, 85, 0.2);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}
.lp-demo-earn-label {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
}
.lp-demo-earn-amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.03em;
  margin: 6px 0 10px;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}
.lp-demo-earn-amount.is-show {
  transform: scale(1);
  opacity: 1;
}
.lp-demo-earn-break {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 9px;
  color: var(--muted);
}
.lp-demo-earn-break b {
  display: block;
  color: var(--ink);
  font-size: 10px;
  margin-top: 2px;
}
.lp-demo-balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 11px;
}
.lp-demo-balance b {
  font-size: 14px;
  color: var(--green);
}

/* Demo kontrolleri */
.lp-demo-ui {
  margin-top: 20px;
  text-align: center;
  width: 100%;
  max-width: 320px;
}

.lp-demo-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}
.lp-demo-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.25s ease, transform 0.25s ease;
}
.lp-demo-dots span.is-active {
  background: var(--accent);
  transform: scale(1.25);
}
.lp-demo-dots span.is-done {
  background: rgba(29, 138, 85, 0.45);
}

.lp-demo-step-label {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}
.lp-demo-step-desc {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-bottom: 14px;
  min-height: 36px;
}

.lp-demo-next {
  background: var(--ink);
  border: none;
  color: #fff;
  border-radius: 999px;
  padding: 11px 24px;
  font-size: 13px;
  font-weight: 800;
  transition: background 0.2s ease, transform 0.15s ease;
}
.lp-demo-next:hover {
  background: var(--accent);
  transform: translateY(-1px);
}
.lp-demo-next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* Responsive */
@media (max-width: 800px) {
  .lp-flow-demo { margin-top: 0; }
}

@media (max-width: 640px) {
  .lp-phone { width: 268px; }
  .lp-phone-screen { height: 480px; }
  .lp-phone-btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-demo-view,
  .lp-demo-hotspot,
  .lp-demo-ripple,
  .lp-demo-truck,
  .lp-demo-earn-amount {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
