/* Ziddi Techies .COM — 3D Visual Showcase & Interactive Mockups Extension */

/* 3D Perspective Parent Container */
.perspective-container{
  perspective: 1200px;
  transform-style: preserve-3d;
}

/* 3D Interactive Device Frame */
.device-mockup-3d{
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: 16px 16px 0 0;
  background: #0d1122;
  border-bottom: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
  transform: rotateX(8deg) rotateY(-4deg) scale(0.98);
  transform-origin: center bottom;
  transition: transform .5s cubic-bezier(.2,1,.3,1), box-shadow .5s cubic-bezier(.2,1,.3,1);
  box-shadow: 0 25px 50px -15px rgba(0,0,0,.7), 0 0 30px -10px rgba(139,92,246,.2);
}

.client-card:hover .device-mockup-3d{
  transform: rotateX(0deg) rotateY(0deg) scale(1);
  box-shadow: 0 30px 65px -12px rgba(0,0,0,.9), 0 0 45px -5px rgba(34,211,238,.35);
}

/* Featured Card Extra Deep 3D Viewport */
.featured-card .device-mockup-3d{
  height: 340px;
  transform: rotateX(6deg) rotateY(-3deg) scale(0.99);
}
.featured-card:hover .device-mockup-3d{
  transform: rotateX(0deg) rotateY(0deg) scale(1);
}

/* Device Chrome Header Bar */
.device-browser-bar{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: 32px;
  background: rgba(13, 17, 34, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}
.browser-dots{display:flex;gap:5px}
.browser-dots span{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: block;
}
.browser-dots span:nth-child(1){background:#ef4444}
.browser-dots span:nth-child(2){background:#eab308}
.browser-dots span:nth-child(3){background:#22c55e}

.browser-url-badge{
  font-family: monospace;
  font-size: .68rem;
  color: #cbd5e1;
  background: rgba(255,255,255,.06);
  padding: 2px 10px;
  border-radius: 999px;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.browser-live-status{
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .65rem;
  color: #34d399;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.live-pulse{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulse 1.8s infinite;
}
@keyframes pulse{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.4;transform:scale(1.3)}
}

/* Smooth Auto-Scroll Visual Canvas on Hover */
.device-scroll-canvas{
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background: #090c17;
}

.device-scroll-canvas img{
  width: 100%;
  height: auto;
  display: block;
  transform: translateY(0);
  transition: transform 6s cubic-bezier(.25,1,.5,1);
}

/* Auto-scroll downward when hovering over the card */
.client-card:hover .device-scroll-canvas img{
  transform: translateY(calc(-100% + 208px));
}
.featured-card:hover .device-scroll-canvas img{
  transform: translateY(calc(-100% + 308px));
}

/* Glass Floating Feature Badges */
.floating-feature-tag{
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 10;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(7, 9, 17, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14);
  color: #22d3ee;
  box-shadow: 0 8px 18px -4px rgba(0,0,0,.6);
  pointer-events: none;
}

/* Visual Mockup Fallback Posters (When full page capture is styling) */
.styled-brand-hero-art{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 24px;
}
.styled-brand-hero-art::before{
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .4;
  filter: blur(2px);
  transition: transform .6s ease, opacity .6s ease;
}
.client-card:hover .styled-brand-hero-art::before{
  transform: scale(1.08);
  opacity: .55;
}

.brand-hero-glow-title{
  position: relative;
  z-index: 2;
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0,0,0,.9);
}
.brand-hero-glow-sub{
  position: relative;
  z-index: 2;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-top: 6px;
  text-shadow: 0 2px 10px rgba(0,0,0,.9);
}

/* Interactive Floating Tech Icons */
.floating-tech-badges{
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 10;
  display: flex;
  gap: 6px;
}
.f-badge{
  font-size: .62rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(16, 20, 38, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.12);
  color: #d9c8ff;
}

/* Subtle mouse shine effect */
.shine-reflection{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 50%, rgba(0,0,0,.35) 100%);
  z-index: 5;
}
