/* iPhone 15 样式模拟 */
.iphone-frame {
  width: 375px;
  height: 812px;
  background: #000;
  border-radius: 40px;
  padding: 8px;
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
  position: relative;
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

/* 状态栏 */
.status-bar {
  height: 44px;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

/* Home Indicator */
.home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 134px;
  height: 5px;
  background: #000;
  border-radius: 3px;
  opacity: 0.3;
}

/* 动画效果 */
.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.bounce-animation {
  animation: bounce 1s ease-in-out;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* 语音输入动画 */
.voice-wave {
  animation: voice-wave 1.5s ease-in-out infinite;
}

@keyframes voice-wave {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* 卡片阴影 */
.card-shadow {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 渐变背景 */
.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ai-gradient {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* 按钮样式 */
.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* 消息气泡 */
.message-bubble {
  max-width: 80%;
  word-wrap: break-word;
  animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 拖拽卡片 */
.draggable-card {
  transition: all 0.3s ease;
  cursor: grab;
}

.draggable-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.draggable-card:active {
  cursor: grabbing;
  transform: scale(1.02);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .iphone-frame {
    width: 100%;
    max-width: 375px;
    height: auto;
    min-height: 600px;
  }
}
