/* ============================================================
   Kirame — Device Mockups (telefon / foldable / desktop)
   Global kutubxona: har qanday landing sahifada ishlaydi.
   Monochrome qoidalar: faqat #111/#FFF/#F7F7F7/#E4E4E4/#737373.
   ============================================================ */

/* Umumiy showcase maydoni */
.ar-devices {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

/* ---------- Telefon (9:16) ---------- */
.ar-phone {
  width: 240px;
  height: 480px; /* 9:16 */
  background: #111111;
  border-radius: 34px;
  padding: 10px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28), inset 0 0 0 2px #333333;
  position: relative;
  flex-shrink: 0;
}
.ar-phone-screen {
  width: 100%;
  height: 100%;
  background: #F7F7F7;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.ar-phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 18px;
  background: #111111;
  border-radius: 999px;
  z-index: 5;
}
.ar-phone-status {
  height: 34px;
  background: #FFFFFF;
  border-bottom: 1px solid #E4E4E4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-size: 0.6rem;
  font-weight: 800;
  color: #111111;
  flex-shrink: 0;
}
.ar-phone-body {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #F7F7F7;
}
.ar-phone-nav {
  height: 40px;
  background: #FFFFFF;
  border-top: 1px solid #E4E4E4;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-shrink: 0;
}
.ar-phone-nav span {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: #E4E4E4;
  display: block;
}
.ar-phone-nav span.active { background: #111111; }

/* ---------- Foldable (ochiq: 22:18 ga yaqin, bukilgan chiziq bilan) ---------- */
.ar-foldable {
  width: 560px;
  max-width: 92vw;
  height: 400px;
  background: #111111;
  border-radius: 26px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28), inset 0 0 0 2px #333333;
  position: relative;
  flex-shrink: 0;
}
.ar-foldable-screen {
  width: 100%;
  height: 100%;
  background: #F7F7F7;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.ar-foldable-hinge {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  transform: translateX(-50%);
  background: linear-gradient(to right, #E4E4E4 0%, #737373 50%, #E4E4E4 100%);
  z-index: 4;
}
.ar-foldable-pane {
  overflow: hidden;
  background: #FFFFFF;
}
.ar-foldable-pane + .ar-foldable-pane { border-left: 1px solid transparent; }

/* ---------- Desktop / noutbuk (16:9) ---------- */
.ar-desktop {
  width: 640px;
  max-width: 94vw;
  flex-shrink: 0;
}
.ar-desktop-screen {
  background: #111111;
  border-radius: 14px 14px 0 0;
  padding: 12px 12px 0;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
}
.ar-desktop-view {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #F7F7F7;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ar-desktop-base {
  height: 14px;
  background: #E4E4E4;
  border-radius: 0 0 16px 16px;
  margin: 0 -22px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* ---------- Umumiy mockup UI yordamchilari ---------- */
.ar-mu-bar { /* app bar */
  height: 42px;
  background: #FFFFFF;
  border-bottom: 1px solid #E4E4E4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  flex-shrink: 0;
}
.ar-mu-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #111111;
  color: #FFFFFF;
  font-size: 0.55rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
}
.ar-mu-title { font-size: 0.72rem; font-weight: 800; color: #111111; }
.ar-mu-spacer { flex: 1; }
.ar-mu-chip {
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: #F7F7F7;
  border: 1px solid #E4E4E4;
  font-size: 0.56rem;
  font-weight: 800;
  color: #111111;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ar-mu-chip.dark { background: #111111; color: #FFFFFF; border-color: #111111; }

.ar-mu-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px; }
.ar-mu-card {
  background: #FFFFFF;
  border: 1px solid #E4E4E4;
  border-radius: 12px;
  padding: 10px;
}
.ar-mu-card .k { font-size: 0.56rem; font-weight: 700; color: #737373; text-transform: uppercase; letter-spacing: 0.06em; }
.ar-mu-card .v { font-size: 0.95rem; font-weight: 900; color: #111111; font-family: 'Space Grotesk', sans-serif; }
.ar-mu-card.dark { background: #111111; border-color: #111111; }
.ar-mu-card.dark .k { color: #A3A3A3; }
.ar-mu-card.dark .v { color: #FFFFFF; }

.ar-mu-rows { display: flex; flex-direction: column; gap: 6px; padding: 0 12px 10px; }
.ar-mu-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #E4E4E4;
  border-radius: 10px;
  padding: 8px 10px;
}
.ar-mu-thumb { width: 26px; height: 26px; border-radius: 7px; background: #E4E4E4; flex-shrink: 0; }
.ar-mu-line { height: 7px; border-radius: 999px; background: #E4E4E4; flex: 1; }
.ar-mu-line.short { flex: 0.5; }
.ar-mu-line.dark { background: #111111; opacity: 0.85; }
.ar-mu-badge {
  font-size: 0.55rem; font-weight: 900; padding: 2px 7px; border-radius: 999px;
  background: #F7F7F7; border: 1px solid #E4E4E4; color: #111111;
}
.ar-mu-badge.dark { background: #111111; color: #FFF; border-color: #111; }

.ar-mu-btnrow { display: flex; gap: 6px; padding: 0 12px 12px; margin-top: auto; }
.ar-mu-btn {
  flex: 1;
  height: 30px;
  border-radius: 9px;
  background: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  color: #FFFFFF;
}
.ar-mu-btn.ghost { background: #FFFFFF; border: 1px solid #E4E4E4; color: #111111; }

/* AuraCard vizual (kartochka) */
.ar-mu-auracard {
  margin: 10px 12px;
  background: #111111;
  border-radius: 14px;
  padding: 12px 14px;
  color: #FFFFFF;
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}
.ar-mu-auracard .brand { display: flex; align-items: center; gap: 6px; font-weight: 900; font-size: 0.68rem; }
.ar-mu-auracard .chip { width: 24px; height: 17px; border-radius: 4px; background: #F7F7F7; margin-left: auto; }
.ar-mu-auracard .num { font-family: 'Space Grotesk', monospace; letter-spacing: 0.14em; font-size: 0.8rem; margin-top: 12px; color: #F7F7F7; }
.ar-mu-auracard .meta { display: flex; justify-content: space-between; margin-top: 10px; font-size: 0.55rem; color: #A3A3A3; text-transform: uppercase; letter-spacing: 0.06em; }

/* POS terminal (Local) ekrani */
.ar-mu-pos { display: flex; flex-direction: column; height: 100%; }
.ar-mu-pos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px 12px; }
.ar-mu-pos-key {
  height: 30px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #E4E4E4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 800;
  color: #111111;
}
.ar-mu-pos-key.dark { background: #111111; color: #FFF; border-color: #111; }

/* Mockup ichidagi mini web vitrina */
.ar-mu-web { display: flex; flex-direction: column; height: 100%; }
.ar-mu-web-hero {
  margin: 10px 12px 0;
  background: #111111;
  border-radius: 12px;
  padding: 14px;
  color: #FFFFFF;
}
.ar-mu-web-hero .t { font-family: 'Space Grotesk', sans-serif; font-weight: 900; font-size: 0.85rem; }
.ar-mu-web-hero .s { font-size: 0.6rem; color: #A3A3A3; margin-top: 3px; }
.ar-mu-web-hero .b { margin-top: 8px; display: inline-flex; background: #FFFFFF; color: #111; font-size: 0.55rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }

/* Responsive: kichik ekranda mockuplar kichrayadi */
@media (max-width: 900px) {
  .ar-devices { gap: 22px; }
  .ar-phone { width: 200px; height: 400px; }
  .ar-foldable { height: 320px; }
  .ar-desktop { width: 520px; }
}
@media (max-width: 560px) {
  .ar-devices { gap: 16px; }
  .ar-phone { width: 172px; height: 344px; }
  .ar-foldable { display: none; }
  .ar-desktop { width: 100%; }
}

/* Reduce-motion hurmati */
@media (prefers-reduced-motion: reduce) {
  .ar-devices *, .ar-phone, .ar-foldable, .ar-desktop {
    transition: none !important;
    animation: none !important;
  }
}
