/* 极简主义样式 - 参考 studiodopa.com */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0a;
  --bg-secondary: #141414;
  --text: #ffffff;
  --text-light: #9ca3af;
  --border: #2a2a2a;
  --primary: #00d4ff;
  --primary-dark: #0099cc;
  --primary-light: rgba(0,212,255,0.1);
  --accent: #00ff88;
  --shadow: 0 20px 60px rgba(0,0,0,0.8);
  --shadow-glow: 0 0 40px rgba(0,212,255,0.3);
  --radius: 32px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0,212,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0,255,136,0.06) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(0,212,255,0.04) 0%, transparent 50%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 导航 */
.header {
  padding: 40px 0;
  animation: fadeIn 0.6s ease;
}

.logo {
  display: inline-block;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.logo:hover {
  opacity: 1;
}

/* 主内容 */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

/* 标题区域 */
.hero-text {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeInUp 0.8s ease;
}

.title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 18px;
  color: var(--text-light);
  font-weight: 400;
}

/* 手机容器 */
.phones-container {
  display: flex;
  gap: 120px;
  margin-bottom: 80px;
  animation: fadeInUp 1s ease 0.2s backwards;
}

/* 手机组 */
.phone-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* 手机样式 */
.phone {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #1f1f1f, #0d0d0d);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow), var(--shadow-glow);
  border: 1px solid rgba(0,212,255,0.2);
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow), 0 0 60px rgba(0,212,255,0.4);
  border-color: rgba(0,212,255,0.4);
}

/* 手机截图 */
.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 8px);
}

.phone-left {
  transform: rotate(-2deg);
}

.phone-right {
  transform: rotate(2deg);
}

/* 旧的聊天样式 - 已替换为截图 */

/* App 信息 */
.app-info {
  text-align: center;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.app-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.app-desc {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  letter-spacing: 0.01em;
}

.features {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.features span {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

/* App Store Badge */
.app-store-link {
  display: inline-block;
  margin-top: 8px;
  transition: all 0.3s ease;
  filter: brightness(0.9);
}

.app-store-badge {
  height: 40px;
  width: auto;
  display: block;
}

.app-store-link:hover {
  transform: translateY(-2px) scale(1.05);
  filter: brightness(1.1) drop-shadow(0 4px 20px rgba(0,212,255,0.4));
}


/* 页脚 */
.footer {
  text-align: center;
  padding: 40px 0;
  color: var(--text-light);
  font-size: 14px;
  animation: fadeIn 1s ease 0.6s backwards;
}

.footer p {
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.footer-links .separator {
  color: var(--text-light);
  opacity: 0.5;
}

.footer a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s;
}

.footer a:hover {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0,212,255,0.5);
}

/* 动画 */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes msgFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* 响应式设计 */
@media (max-width: 920px) {
  .phones-container {
    flex-direction: column;
    gap: 60px;
  }
  
  .phone-left,
  .phone-right {
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero-text {
    margin-bottom: 60px;
  }
  
  .phone {
    width: 240px;
    height: 480px;
  }
  
  .phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .app-store-badge {
    height: 36px;
  }
}