/* 飞书风格卡片设计 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f7f8fa;
  min-height: 100vh;
  overflow-x: hidden;
  color: #1d2129;
}

/* 主容器 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 48px;
  padding-top: 24px;
}

.plane-icon {
  display: inline-block;
  margin-bottom: 24px;
}

.plane-icon-inner {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3370ff 0%, #165dff 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(51, 112, 255, 0.25);
}

.plane-icon-inner i {
  font-size: 40px;
  color: #fff;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  margin-bottom: 12px;
  color: #1d2129;
}

.subtitle {
  color: #86909c;
  font-size: 1rem;
  font-weight: 400;
}

/* Main 内容 */
main {
  flex: 1;
  margin-bottom: 40px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .cards-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* 飞书风格卡片 */
.card-glass {
  background: #ffffff;
  border: 1px solid #e5e6eb;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.card-glass:hover {
  border-color: #c9cdd4;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card-glass:active {
  transform: translateY(0);
}

/* 图标容器 */
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  flex-shrink: 0;
}

.card-icon i {
  font-size: 24px;
  color: #fff;
}

/* 图标颜色 */
.card-icon.default {
  background: linear-gradient(135deg, #3370ff 0%, #165dff 100%);
}

.card-icon.platinum {
  background: linear-gradient(135deg, #ff7d00 0%, #ff5722 100%);
}

.card-icon.emerald {
  background: linear-gradient(135deg, #00b42a 0%, #00a870 100%);
}

.card-icon.purple {
  background: linear-gradient(135deg, #722ed1 0%, #5b1fe3 100%);
}

.card-icon.cyan {
  background: linear-gradient(135deg, #14c9c9 0%, #0fb5b5 100%);
}

.card-icon.blue {
  background: linear-gradient(135deg, #3370ff 0%, #165dff 100%);
}

.card-icon.orange {
  background: linear-gradient(135deg, #ff7d00 0%, #ff5722 100%);
}

.card-icon.teal {
  background: linear-gradient(135deg, #0fb5b5 0%, #00a870 100%);
}

.card-icon.rose {
  background: linear-gradient(135deg, #f53f3f 0%, #e33e33 100%);
}

.card-icon.indigo {
  background: linear-gradient(135deg, #722ed1 0%, #5b1fe3 100%);
}

.card-icon.sky {
  background: linear-gradient(135deg, #168cff 0%, #0e42d2 100%);
}

.card-icon.pink {
  background: linear-gradient(135deg, #f53196 0%, #c91c7a 100%);
}

.card-icon.lime {
  background: linear-gradient(135deg, #9fdb1c 0%, #7cb305 100%);
}

.card-icon.amber {
  background: linear-gradient(135deg, #ff7d00 0%, #ff4d4f 100%);
}

/* 卡片内容 */
h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #1d2129;
  line-height: 1.4;
}

.card-tag {
    color: #86909c;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    flex-grow: 1;
}

.download-section {
    text-align: center;
    padding: 48px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 48px;
    background: linear-gradient(135deg, #3370ff 0%, #165dff 100%);
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(51, 112, 255, 0.35);
    min-width: 200px;
}

.download-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(51, 112, 255, 0.5);
}

.download-link i {
    font-size: 24px;
}

.download-desc {
    margin-top: 16px;
    color: #86909c;
    font-size: 15px;
    text-align: center;
}

/* Footer */
footer {
  text-align: center;
  padding-bottom: 32px;
  color: #c9cdd4;
  font-size: 13px;
}

footer p {
  margin-bottom: 8px;
}

footer p span {
  color: #86909c;
}
