/* Modern phone mockup styles */
.app-mockup {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
  animation: float 5s ease-in-out infinite;
  position: relative;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.phone-mockup {
  position: relative;
  width: 300px;
  height: 600px;
  perspective: 1000px;
}

.phone-frame {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #333, #222);
  border-radius: 36px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 0 8px #111,
    inset 0 0 10px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  border: 2px solid #444;
  transform-style: preserve-3d;
  transform: rotateY(-15deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.phone-frame:hover {
  transform: rotateY(-5deg) rotateX(2deg);
}

.phone-screen {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background-color: #F7FFF7;
  border-radius: 30px;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 30px;
  background-color: #111;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-speaker {
  width: 50px;
  height: 5px;
  background-color: #333;
  border-radius: 3px;
}

.phone-camera {
  position: absolute;
  right: 25px;
  top: 10px;
  width: 12px;
  height: 12px;
  background-color: #333;
  border-radius: 50%;
  border: 2px solid #222;
}

.phone-app-screen {
  position: absolute;
  top: 35px;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://i.imgur.com/ujQ87eN.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .app-content {
    flex-direction: column-reverse;
  }
  
  .app-mockup {
    margin-bottom: 2rem;
  }
  
  .phone-mockup {
    width: 280px;
    height: 560px;
  }
}

@media (max-width: 480px) {
  .phone-mockup {
    width: 260px;
    height: 520px;
  }
}