/* ===================================================
   RunEasy — Mockup Carousel Section
   Interactive carousel with arrow navigation — no card borders
   =================================================== */

.mockup-section { padding: 100px 0 80px; position: relative; overflow: hidden; }

.mockup-carousel {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  height: 620px;
  perspective: 1200px;
}

/* Each slide — NO card wrapper, just image + text */
.mockup-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  background: none;
  border: none;
  box-shadow: none;
}

.mockup-card img {
  width: 260px;
  height: auto;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.5));
  transition: filter 0.4s;
}

.mockup-card[data-pos="center"] img {
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 30px rgba(0, 212, 255, 0.08));
}

.mockup-card-text {
  text-align: center;
  padding: 0 4px;
  transition: opacity 0.4s;
}

.mockup-card-text h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f0f2f8;
  margin-bottom: 8px;
}

.mockup-card-text p {
  font-size: 0.88rem;
  color: rgba(240, 242, 248, 0.55);
  line-height: 1.6;
}

/* Positions */
.mockup-card[data-pos="left"] {
  transform: translate(-140%, -50%) rotate(-5deg) scale(0.75);
  z-index: 10;
  opacity: 0.4;
}
.mockup-card[data-pos="left"]:hover { opacity: 0.8; z-index: 35; }
.mockup-card[data-pos="left"] .mockup-card-text { opacity: 0; }

.mockup-card[data-pos="center"] {
  transform: translate(-50%, -50%) scale(1);
  z-index: 30;
  opacity: 1;
}

.mockup-card[data-pos="right"] {
  transform: translate(40%, -50%) rotate(5deg) scale(0.75);
  z-index: 10;
  opacity: 0.4;
}
.mockup-card[data-pos="right"]:hover { opacity: 0.8; z-index: 35; }
.mockup-card[data-pos="right"] .mockup-card-text { opacity: 0; }

.mockup-card[data-pos="hidden"] {
  transform: translate(-50%, -50%) scale(0.5);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

/* Nav arrows */
.mockup-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
  position: relative;
  z-index: 40;
}

.mockup-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(to bottom, rgba(35, 38, 45, 0.9), rgba(24, 26, 32, 0.9));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  border-left: none;
  border-right: none;
  box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(240, 242, 248, 0.5);
  cursor: pointer;
  transition: all 0.2s;
}
.mockup-nav-btn:hover { color: #fff; }
.mockup-nav-btn:active { transform: translateY(2px); box-shadow: none; }
.mockup-nav-btn svg { width: 20px; height: 20px; transition: transform 0.2s; }
.mockup-nav-btn:hover svg { transform: translateX(-2px); }
.mockup-nav-btn:last-child:hover svg { transform: translateX(2px); }

/* Ambient glow */
.mockup-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.05), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Mobile */
@media (max-width: 900px) {
  .mockup-card { width: 240px; }
  .mockup-card img { width: 200px; }
}

@media (max-width: 600px) {
  .mockup-carousel { 
    height: auto; 
    min-height: 480px; 
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .mockup-card { 
    position: static !important; 
    top: auto !important; 
    left: auto !important; 
    width: 100% !important; 
    margin-bottom: 16px; 
    display: none !important; 
    transform: none !important;
    opacity: 1 !important;
  }
  .mockup-card[data-pos="center"] { 
    display: flex !important; 
  }
  .mockup-card[data-pos="center"] .mockup-card-text { 
    opacity: 1 !important; 
  }
  .mockup-card img { 
    width: 100% !important;
    max-width: 260px !important; 
    margin: 0 auto;
  }
  .mockup-card-text {
    padding: 0 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mockup-card { transition: none; }
}
