﻿body {
  background: linear-gradient(to bottom, #fff 0%, #f5f5f7 100%);
  color: #222;
  margin: 0;
  padding: 0;
  font-family: -apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;
}

.main-header {
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s;
  backdrop-filter: none;
  padding: 0 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-header.header-blur {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
}

.container.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 32px;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #2563eb;
  letter-spacing: 1px;
}
.logo span {
  color: #333333 !important;
}

nav {
  display: flex;
  gap: 32px;
}
nav a {
  color: #222;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}
nav a:hover {
  color: #2563eb;
}

.nav-user {
  margin-left: 24px;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 0.7em 2.2em;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37,99,235,0.08);
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover {
  background: #1746a2;
}
.btn-outline {
  border: 1.5px solid #2563eb;
  color: #2563eb;
  background: #fff;
  border-radius: 24px;
  padding: 0.5em 1.5em;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
  background: #2563eb;
  color: #fff;
}
.btn-lg {
  font-size: 1.2rem;
  padding: 0.9em 2.8em;
}
.btn-md {
  font-size: 1rem;
  padding: 0.7em 2em;
}
.btn-sm {
  font-size: 0.95rem;
  padding: 0.5em 1.2em;
}
.btn-primary.disabled {
  background: #bcd0fa;
  color: #fff;
  cursor: not-allowed;
}

.gradient-bg {
  background: linear-gradient(120deg, #e0e7ff 0%, #f7faff 100%);
}

/* 首页Hero区优化 */
.hero.gradient-bg {
  background: none;
  position: relative;
  padding: 80px 0 0 0;
}
.hero-bg-blur1, .hero-bg-blur2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.32;
  z-index: 0;
  pointer-events: none;
}
.hero-bg-blur1 {
  width: 600px;
  height: 600px;
  left: 18%;
  top: -120px;
  background: radial-gradient(50% 50% at 50% 50%, #4772fa 0, rgba(71, 114, 250, 0) 100%);
  opacity: 0.5;
  z-index: 1;
}
.hero-bg-blur2 {
  width: 480px;
  height: 480px;
  left: 38%;
  top: 60px;
  background: radial-gradient(50% 50% at 50% 50%, #93dde5 0, rgba(147, 221, 229, 0) 100%);
  opacity: 0.45;
  z-index: 1;
}
.hero-center {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding-top: 60px;
  margin-top: 60px;
}
.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 32px;
}
.hero-desc {
  font-size: 1.25rem;
  color: #555;
  margin-bottom: 48px;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 60px;
}
.hero-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-card {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  margin-top: 48px;
  margin-bottom: 0;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(37,99,235,0.13), 0 2px 8px rgba(0,0,0,0.04);
  padding: 0;
  max-width: 820px;
  width: 100%;
  height: 100%;         /* 关键：固定高度 */
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(-2deg);
  overflow: hidden;      /* 关键：图片不会溢出 */
}
.main-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* 关键：铺满且不变形 */
  border-radius: 0;      /* 由父容器控制圆角 */
  box-shadow: none;
  display: block;
}

.card-section {
  margin-top: 48px;
  margin-bottom: 0;
}
.section-flex {
  display: flex;
  align-items: center;
  gap: 48px;
}
.section-img img {
  width: 320px;
  max-width: 100%;
}
.section-text {
  flex: 1;
}
.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 18px;
}

.visual-gallery {
  display: flex;
  gap: 32px;
  margin: 32px 0 16px 0;
  flex-wrap: wrap;
}
.visual-card {
  background: #f7faff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(37,99,235,0.04);
  padding: 18px 12px 10px 12px;
  text-align: center;
  width: 160px;
}
.visual-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 8px;
}
.visual-desc {
  color: #555;
  font-size: 1.1rem;
  text-align: center;
}

.focus-content {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 24px;
}
.focus-item {
  background: #f7faff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(37,99,235,0.04);
  padding: 24px 18px 16px 18px;
  text-align: center;
  width: 180px;
}
.focus-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

.growth-content {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 24px;
}
.growth-item {
  background: #f7faff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(37,99,235,0.04);
  padding: 24px 18px 16px 18px;
  text-align: center;
  width: 180px;
}
.growth-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

.theme-gallery {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin: 32px 0 16px 0;
}
.theme-gallery img {
  width: 100px;
  height: 180px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(37,99,235,0.04);
}
.theme-desc {
  color: #555;
  font-size: 1.1rem;
  text-align: center;
}

.download-main {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 24px;
  justify-content: center;
}
.download-info {
  flex: 1;
}
.download-btns {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
.download-qrcode {
  text-align: center;
}
.download-qrcode img {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(37,99,235,0.04);
}

.main-footer {
  background: #fff;
  padding: 32px 0 24px 0;
  margin-top: 64px;
  border-top: 1px solid #e5eaf3;
}
.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  color: #888;
  font-size: 1rem;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

/* 卡片内容区布局 */
.card-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.card-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(37,99,235,0.07), 0 1.5px 4px rgba(0,0,0,0.03);
  max-width: 1100px;
  margin: 48px auto 0 auto;
  padding: 0;
  overflow: visible;
}
.card-img {
  flex: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 220px;
  padding: 40px 0 40px 40px;
}
.card-img img, .card-img .img-placeholder {
  width: 100%;
  max-width: 320px;
  border-radius: 18px;
  /* 移除阴影和背景色 */
  box-shadow: none;
  background: none;
}
.card-text {
  flex: 1.5;
  padding: 40px 48px 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 18px;
}
.card-desc {
  font-size: 1.08rem;
  color: #6b7a90;
  line-height: 1.7;
}
.card-label {
  color: #2563eb;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.card-container + .card-container {
  margin-top: 36px;
}
/* 交错排布 */
.card-inner.reverse {
  flex-direction: row-reverse;
}
.card-img.reverse {
  padding: 40px 40px 40px 0;
}
.card-text.reverse {
  padding: 40px 0 40px 48px;
}
@media (max-width: 900px) {
  .card-inner, .card-inner.reverse {
    flex-direction: column !important;
    gap: 18px;
    align-items: flex-start;
  }
  .card-img, .card-img.reverse, .card-text, .card-text.reverse {
    padding: 24px 12px 0 12px;
  }
}

@media (max-width: 900px) {
  .container.nav-container, .card-container {
    padding: 0 12px;
  }
  .hero-content, .section-flex, .download-main {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .main-preview, .section-img img {
    width: 100%;
    max-width: 100%;
  }
  .visual-gallery, .focus-content, .growth-content, .theme-gallery, .download-btns {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .hero-center {
    padding-top: 32px;
    margin-top: 24px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-image-card {
    max-width: 98vw;
    padding: 12px 4px 8px 4px;
  }
  .main-preview {
    max-width: 98vw;
  }
}

@media (max-width: 600px) {
  .main-header {
    height: auto;
  }
  .container.nav-container {
    flex-direction: column;
    height: auto;
    padding: 0 6px;
    gap: 8px;
  }
  .card-container {
    padding: 24px 6px 16px 6px;
    border-radius: 12px;
  }
  .section-title {
    font-size: 1.3rem;
  }
  .hero-text h1 {
    font-size: 1.5rem;
  }
}

/* 图片加载动画 */
.img-animate {
  opacity: 0;
  transform: translateY(24px);
  animation: imgFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes imgFadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* 首页主卡片图片缩放动画 */
.main-preview.img-animate {
  opacity: 0;
  transform: scale(0.92);
  animation: mainImgZoomIn 0.9s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes mainImgZoomIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* 其他卡片图片渐显动画 */
.card-img .img-animate {
  opacity: 0;
  transform: none;
  animation: cardImgFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes cardImgFadeIn {
  to {
    opacity: 1;
  }
}
