/* ===== 喵次元 官网样式 ===== */
/* 配色方案提取自 app logo：珊瑚橙 + 金黄 + 青绿 + 柔粉 */

:root {
  --color-primary: #FF8C69;      /* 珊瑚橙 - 主色 */
  --color-primary-dark: #F06B47;
  --color-primary-light: #FFB8A0;
  --color-gold: #FFD93D;         /* 金黄 - 辅助色 */
  --color-teal: #4ECDC4;         /* 青绿 - 强调色 */
  --color-pink: #FFB3BA;         /* 柔粉 - 点缀 */
  --color-dark: #3D2C2E;         /* 暖深棕 - 文字 */
  --color-dark-light: #6B585A;
  --color-bg: #FFF8F3;           /* 暖奶油 - 背景 */
  --color-bg-alt: #FFEDE3;       /* 浅橙 - 次背景 */
  --color-white: #FFFFFF;
  --color-border: #FFE0D0;
  --shadow-sm: 0 4px 12px rgba(255, 140, 105, 0.12);
  --shadow-md: 0 8px 30px rgba(255, 140, 105, 0.18);
  --shadow-lg: 0 20px 60px rgba(255, 140, 105, 0.25);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  background: var(--color-bg);
  color: var(--color-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 顶部导航 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 248, 243, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-gold));
  object-fit: cover;
}

.nav-logo span {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark-light);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--color-primary-dark);
  background: var(--color-bg-alt);
}

.nav-download-btn {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)) !important;
  color: var(--color-white) !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(255, 140, 105, 0.4);
}

.nav-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 105, 0.5);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-dark);
  border-radius: 3px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== 首屏 Hero ===== */
.hero {
  position: relative;
  padding: 140px 0 80px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 217, 61, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(78, 205, 196, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(255, 140, 105, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #FFF8F3 0%, #FFEDE3 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 179, 186, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatBlob 8s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatBlob 10s ease-in-out infinite reverse;
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--color-primary-dark);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--color-teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .tagline {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.hero .desc {
  font-size: 16px;
  color: var(--color-dark-light);
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}

.meta-item .label {
  color: var(--color-dark-light);
}

.meta-item .value {
  font-weight: 700;
  color: var(--color-primary-dark);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  font-size: 17px;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 140, 105, 0.4);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 140, 105, 0.55);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--color-white);
  color: var(--color-primary-dark);
  font-size: 17px;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid var(--color-primary);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
}

/* ===== 截图展示区 ===== */
.screenshots {
  position: relative;
  height: 520px;
  perspective: 1200px;
}

.screenshot {
  position: absolute;
  width: 260px;
  height: 460px;
  border-radius: 32px;
  background: linear-gradient(160deg, #fff 0%, var(--color-bg-alt) 100%);
  border: 6px solid var(--color-white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s, z-index 0s;
  z-index: 1;
}

.screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-gold));
}

.screenshot::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: var(--color-white);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.screenshot.shot-1 {
  top: 20px;
  left: 0;
  transform: rotate(-10deg) scale(0.92);
}

.screenshot.shot-2 {
  top: 0;
  left: 50%;
  transform: translateX(-50%) scale(1);
  z-index: 3;
}

.screenshot.shot-3 {
  top: 20px;
  right: 0;
  transform: rotate(10deg) scale(0.92);
}

.screenshot:hover {
  z-index: 10 !important;
  transform: scale(1.08) rotate(0deg) !important;
  box-shadow: 0 30px 70px rgba(255, 140, 105, 0.4);
}

.screenshots:hover .screenshot:not(:hover) {
  opacity: 0.55;
  filter: blur(1px);
}

/* ===== 数据统计 ===== */
.stats {
  padding: 60px 0;
  background: var(--color-white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item .num {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-primary), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-item .stat-label {
  font-size: 15px;
  color: var(--color-dark-light);
  margin-top: 6px;
}

/* ===== 通用区块标题 ===== */
.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255, 140, 105, 0.12);
  color: var(--color-primary-dark);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-dark-light);
  max-width: 620px;
  margin: 0 auto;
}

/* ===== 功能优点 ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  padding: 36px 28px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(255, 140, 105, 0.15), rgba(255, 217, 61, 0.15));
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-dark);
}

.feature-card p {
  font-size: 14px;
  color: var(--color-dark-light);
  line-height: 1.7;
}

/* ===== 用户评价 ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.review-card {
  padding: 28px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  flex-shrink: 0;
}

.avatar-1 { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); }
.avatar-2 { background: linear-gradient(135deg, var(--color-gold), #F5A623); }
.avatar-3 { background: linear-gradient(135deg, var(--color-teal), #38A89F); }
.avatar-4 { background: linear-gradient(135deg, var(--color-pink), #FF8FA3); }
.avatar-5 { background: linear-gradient(135deg, #B388EB, #8B5CF6); }
.avatar-6 { background: linear-gradient(135deg, #5BC0BE, #4ECDC4); }

.review-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
}

.review-info .role {
  font-size: 13px;
  color: var(--color-dark-light);
}

.stars {
  color: var(--color-gold);
  font-size: 16px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 14px;
  color: var(--color-dark-light);
  line-height: 1.75;
  margin-bottom: 14px;
}

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-tags span {
  padding: 4px 12px;
  background: var(--color-bg-alt);
  color: var(--color-primary-dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-dark);
  user-select: none;
}

.faq-question .icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--color-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
  background: var(--color-primary);
  color: var(--color-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 28px;
  color: var(--color-dark-light);
  font-size: 15px;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 28px 22px;
}

/* ===== 下载区域 ===== */
.download-section {
  position: relative;
  padding: 100px 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 217, 61, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(78, 205, 196, 0.18) 0%, transparent 50%),
    linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  overflow: hidden;
}

.download-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.download-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.download-section .section-tag {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.download-section .section-title {
  color: var(--color-white);
}

.download-section .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.download-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 40px;
}

.download-info span {
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 14px;
  backdrop-filter: blur(4px);
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 38px;
  background: var(--color-white);
  color: var(--color-dark);
  border-radius: var(--radius-md);
  font-size: 17px;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  justify-content: center;
}

.download-btn:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.download-btn.android {
  background: linear-gradient(135deg, #3DDC84, #2BA86B);
  color: var(--color-white);
}

.download-btn.ios {
  background: linear-gradient(135deg, #1C1C1E, #434343);
  color: var(--color-white);
}

.download-btn .platform-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.download-btn .platform-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.download-btn .platform-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
}

.download-btn .platform-text .small {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.85;
}

.download-tip {
  margin-top: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== 页脚 ===== */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 50px 0 30px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-gold));
}

.footer-logo span {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-white);
}

.footer-copy {
  font-size: 13px;
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .hero h1 { font-size: 40px; }
  .hero-grid { gap: 40px; }
  .screenshots { height: 460px; }
  .screenshot { width: 220px; height: 400px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 32px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--color-white);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform 0.35s ease;
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; text-align: center; padding: 14px; }
  .menu-toggle { display: flex; }

  .hero { padding: 110px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 34px; }
  .hero .tagline { font-size: 18px; }

  .screenshots { height: 420px; max-width: 340px; margin: 0 auto; }
  .screenshot { width: 200px; height: 370px; }

  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat-item .num { font-size: 38px; }

  .features-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }

  .download-buttons { flex-direction: column; align-items: center; }
  .download-btn { width: 100%; max-width: 320px; }

  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero-meta { flex-direction: column; gap: 10px; }
  .screenshots { height: 360px; }
  .screenshot { width: 170px; height: 310px; }
}
