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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: #f5f7fa;
  min-height: 100vh;
}

.container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero 区域 */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 20px;
  text-align: center;
  color: white;
  position: relative;
}

/* 用户信息区域 */
.user-info {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.user-name {
  color: white;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.logout-btn {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.logout-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.profile-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  overflow: hidden;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-menu {
  position: absolute;
  right: 0;
  top: 56px;
  min-width: 220px;
  display: none;
  background: rgba(28, 34, 52, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  z-index: 50;
}

.profile-menu.show {
  display: block;
}

.profile-menu button {
  width: 100%;
  border: none;
  background: transparent;
  color: #fff;
  text-align: left;
  font-size: 14px;
  padding: 12px 14px;
  cursor: pointer;
}

.profile-menu button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-title {
  font-size: 56px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  animation: fadeInDown 0.8s;
}

.hero-subtitle {
  font-size: 24px;
  opacity: 0.95;
  animation: fadeInUp 0.8s;
}

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

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

/* 功能卡片网格 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  padding: 60px 0;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
}

.feature-card.coming-soon {
  opacity: 0.7;
  cursor: not-allowed;
}

.feature-card.coming-soon:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 10px;
  animation: bounce 2s infinite;
}

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

.feature-card:hover .feature-icon {
  animation: none;
  transform: scale(1.1);
  transition: transform 0.3s;
}

.feature-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 8px;
}

.feature-desc {
  color: #666;
  line-height: 1.5;
  margin-bottom: 10px;
  font-size: 13px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.tag {
  background: linear-gradient(135deg, #667eea15, #764ba215);
  color: #667eea;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.feature-btn {
  width: 100%;
  padding: 9px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

@media (max-width: 1600px) {
  .features-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.feature-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.coming-soon-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
  background: #2d3748;
  color: white;
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
}

.footer p {
  opacity: 0.8;
  font-size: 14px;
}

.profile-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
}

.profile-panel {
  width: min(460px, calc(100vw - 30px));
  background: #fff;
  border-radius: 14px;
  padding: 18px;
}

.profile-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.profile-panel-header h3 {
  margin: 0;
  color: #1f263b;
}

.profile-panel-header button {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: #eef2ff;
  cursor: pointer;
}

.profile-field {
  margin-bottom: 10px;
}

.profile-field label {
  display: block;
  font-size: 13px;
  color: #4a546b;
  margin-bottom: 4px;
}

.profile-field input {
  width: 100%;
  border: 1px solid #d5dcf0;
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 14px;
}

.profile-status {
  min-height: 20px;
  color: #2b6cdb;
  font-size: 13px;
  margin: 4px 0 10px;
}

.profile-save-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 响应式 */
@media (max-width: 768px) {
  .hero {
    padding: 80px 15px 50px;
  }
  
  .user-info {
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    gap: 10px;
  }

  .profile-menu {
    top: 48px;
    min-width: 200px;
  }
  
  .user-name {
    font-size: 13px;
  }
  
  .logout-btn {
    padding: 5px 12px;
    font-size: 12px;
  }
  
  .hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    padding: 30px 0;
    gap: 20px;
  }
  
  .feature-card {
    padding: 20px;
  }
  
  .feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
  }
  
  .feature-title {
    font-size: 22px;
    margin-bottom: 12px;
  }
  
  .feature-desc {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
  }
  
  .feature-tags {
    gap: 8px;
    margin-bottom: 20px;
  }
  
  .tag {
    font-size: 11px;
    padding: 5px 12px;
  }
  
  .feature-btn {
    padding: 12px;
    font-size: 15px;
  }
  
  .footer {
    padding: 30px 15px;
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 70px 10px 40px;
  }
  
  .user-info {
    top: 10px;
    right: 10px;
    left: 10px;
    padding: 8px 12px;
    gap: 8px;
    justify-content: space-between;
  }
  
  .user-name {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .profile-menu {
    top: 44px;
    min-width: 180px;
  }
  
  .logout-btn {
    padding: 5px 10px;
    font-size: 11px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 14px;
  }
  
  .features-grid {
    padding: 20px 0;
    gap: 15px;
  }
  
  .feature-card {
    padding: 15px;
  }
  
  .feature-icon {
    font-size: 36px;
  }
  
  .feature-title {
    font-size: 20px;
  }
  
  .feature-desc {
    font-size: 13px;
  }
}
