* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background-color: #faf8ff;
  color: #1e1a2f;
  line-height: 1.5;
  scroll-behavior: smooth;
  cursor: default;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #ede9fe;
}
::-webkit-scrollbar-thumb {
  background: #8b5cf6;
  border-radius: 12px;
}

/* 容器通用 */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  background: none;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: white;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(124, 58, 237, 0.35);
  background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
}
.btn-outline {
  border: 2px solid #c084fc;
  color: #7c3aed;
  background: white;
}
.btn-outline:hover {
  background: #f3e8ff;
  border-color: #a855f7;
  transform: translateY(-2px);
}

/* Header 导航 */
.header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.85);
  z-index: 50;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  padding: 16px 0;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(120deg, #4f46e5, #be185d);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: -0.3px;
}
.logo-text span {
  font-size: 0.7rem;
  font-weight: 400;
  color: #5b21b6;
  display: block;
  line-height: 1.2;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: #2d2a3e;
  transition: 0.2s;
}
.nav-links a:hover {
  color: #8b5cf6;
}
.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero 区域 */
.hero {
  padding: 80px 0 60px;
  background: radial-gradient(
    circle at 10% 30%,
    rgba(139, 92, 246, 0.05),
    transparent 70%
  );
}
.hero-grid {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-content {
  flex: 1;
}
.hero-badge {
  background: #e9d5ff;
  color: #6b21a5;
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #2e1065, #a21caf);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.hero-content p {
  font-size: 1.2rem;
  color: #3b3652;
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-image {
  flex: 1;
  text-align: center;
}
.hero-image img {
  max-width: 100%;
  border-radius: 48px;
  box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease;
}
.hero-image img:hover {
  transform: scale(1.02);
}

/* 公司简介 */
.about {
  padding: 80px 0;
  background: white;
}
.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 48px;
  color: #1e1a2f;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-title span {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.about-grid {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  align-items: center;
}
.about-text {
  flex: 1;
}
.about-text p {
  font-size: 1.1rem;
  color: #2c2a3b;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* 产品特色 - 蓝莓壁纸核心 */
.features {
  padding: 80px 0;
  background: #f9f6fe;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.feature-card {
  background: white;
  border-radius: 32px;
  padding: 32px 24px;
  flex: 1 1 260px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.3s;
  border: 1px solid #ede9fe;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 35px -12px rgba(124, 58, 237, 0.15);
  border-color: #c4b5fd;
}
.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.feature-card p {
  color: #4a4762;
}

.showcase {
  padding: 80px 0;
  background: white;
}
.wallpaper-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.wallpaper-item {
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  border: 1px solid #f0eaff;
}
.wallpaper-item:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 35px -12px rgba(0, 0, 0, 0.2);
  border-color: #d8b4fe;
}
.wallpaper-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: 0.4s;
}
.wallpaper-info {
  padding: 18px;
  text-align: center;
  background: #fefcfd;
}
.wallpaper-info h4 {
  font-weight: 700;
  margin-bottom: 6px;
}
.download-btn {
  background: none;
  border: 1px solid #c084fc;
  margin-top: 10px;
  padding: 6px 18px;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #7c3aed;
  transition: 0.2s;
}
.download-btn:hover {
  background: #7c3aed;
  color: white;
  cursor: pointer;
}

/* 联系表单 + 预加入 */
.contact {
  padding: 80px 0;
  background: linear-gradient(120deg, #f3e8ff, #ffffff);
}
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  background: white;
  border-radius: 48px;
  padding: 40px;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.05);
}
.contact-info {
  flex: 1;
}
.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.contact-details {
  margin: 30px 0;
}

/* footer */
.footer {
  background: #0f0b1a;
  color: #cbc3f0;
  padding: 40px 0 28px;
  text-align: center;
}
.footer p {
  font-size: 0.85rem;
}

.footer a {
  color: #cbc3f0;
  text-decoration: none;
  transition: 0.2s;
  font-size: 0.85rem;
}
/* 响应式 */
@media (max-width: 900px) {
  .container {
    padding: 0 24px;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
    gap: 16px;
    background: white;
    padding: 24px;
    border-radius: 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  }
  .hero-content h1 {
    font-size: 2.4rem;
  }
  .hero-grid {
    flex-direction: column;
  }
  .about-grid {
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  .contact-container {
    padding: 24px;
  }
  .stat-card {
    padding: 20px;
  }
}

/* toast 小提示 */
.toast-msg {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #1f1a2e;
  color: white;
  padding: 12px 28px;
  border-radius: 60px;
  font-size: 0.9rem;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.8);
}
