/* ============================================================
   有来有去官网 - 样式表
   应痧图刮痧法作者孙云良  版权所有
   官网：https://www.100065.xyz/
   
   目录：
   1. 变量与基础
   2. 布局工具
   3. 导航栏
   4. 英雄区
   5. 数据栏
   6. 功能特性
   7. 使用方法
   8. 使用场景
   9. 下载区
   10. 常见问答
   11. 页脚
   12. 公共组件样式
   13. 动画
   14. 灵感日志页面
   15. 赞赏悬浮窗
   16. 响应式适配
   ============================================================ */


/* ==================== 1. 变量与基础 ==================== */
:root {
  /* 主色调 - 西游记水墨风 */
  --ink: #1a1a2e;          /* 深墨底色 */
  --ink-light: #2d2d44;    /* 浅墨色 */
  --gold: #daa520;         /* 金色 */
  --gold-light: #ffd700;   /* 亮金 */
  --crimson: #dc143c;      /* 朱红 */
  --crimson-dark: #8b0000; /* 深红 */

  /* 文字颜色 */
  --text-primary: #ffffff;
  --text-gold: var(--gold-light);
  --text-muted: rgba(255, 255, 255, 0.5);

  /* 各区块宽度（对照原版Tailwind容器） */
  --container-max: 1024px; /* 默认容器最大宽度 */
  --w-3xl: 768px;    /* max-w-3xl 下载区、FAQ */
  --w-4xl: 896px;    /* max-w-4xl 页脚 */
  --w-5xl: 1024px;   /* max-w-5xl 英雄区、数据栏、使用方法、使用场景 */
  --w-6xl: 1152px;   /* max-w-6xl 导航栏、功能特性 */

  /* 间距 */
  --section-padding: 100px;

  /* 圆角 */
  --radius: 12px;
  --radius-lg: 16px;

  /* 过渡 */
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica,
    Arial, sans-serif;
  background-color: var(--ink);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; color: inherit; border: none; background: none; }
svg { display: inline-block; vertical-align: middle; }


/* ==================== 2. 布局工具 ==================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.relative { position: relative; }
.text-center { text-align: center; }


/* ==================== 3. 导航栏 ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  transition: background-color 0.5s, box-shadow 0.5s;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(218, 165, 32, 0.1);
}

.nav-inner {
  max-width: var(--w-6xl);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  transition: transform var(--transition);
}

.nav-logo:hover img {
  transform: scale(1.1);
}

.logo-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--gold-light);
  letter-spacing: 0.1em;
}

.logo-sub {
  font-size: 12px;
  color: rgba(218, 165, 32, 0.4);
  margin-left: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-btn {
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(218, 165, 32, 0.15);
  border: 1px solid rgba(218, 165, 32, 0.3);
  color: var(--gold-light) !important;
  font-weight: 500;
  transition: all var(--transition);
}

.nav-btn:hover {
  background: rgba(218, 165, 32, 0.25);
  border-color: rgba(218, 165, 32, 0.5);
}


/* ==================== 4. 英雄区 ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,46,0.5), rgba(26,26,46,0.8), var(--ink));
}

/* 飘云 */
.cloud {
  position: absolute;
  color: var(--gold);
  animation: cloud-drift 8s ease-in-out infinite;
}

.cloud-1 { top: 12%; left: 5%; width: 176px; }
.cloud-2 { top: 22%; right: 10%; width: 144px; animation-delay: 0.3s; }
.cloud-3 { bottom: 30%; left: 12%; width: 128px; animation-delay: 0.5s; }

/* 光晕 */
.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.glow-gold {
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: rgba(218, 165, 32, 0.04);
  filter: blur(150px);
}

.glow-crimson {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: rgba(220, 20, 60, 0.04);
  filter: blur(100px);
}

.glow-gold-right {
  top: 0;
  right: 0;
  width: 384px;
  height: 384px;
  background: rgba(218, 165, 32, 0.02);
  filter: blur(150px);
}

.glow-crimson-left {
  bottom: 0;
  left: 0;
  width: 320px;
  height: 320px;
  background: rgba(220, 20, 60, 0.02);
  filter: blur(120px);
}

.glow-gold-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: rgba(218, 165, 32, 0.03);
  filter: blur(150px);
}

/* 英雄区内容 */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 24px;
  max-width: var(--w-5xl);  /* 1024px，原版 max-w-5xl */
  margin: 0 auto;
}

.hero-logo-float {
  animation: float 3s ease-in-out infinite;
  margin-bottom: 32px;
}

.seal-img {
  width: 112px;
  height: 112px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 0 60px rgba(218, 165, 32, 0.2);
  animation: pulse-gold 2s ease-in-out infinite;
}

.hero-title {
  font-size: 3.75rem;       /* 原版 text-6xl = 3.75rem(60px) */
  font-weight: 900;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #FFFFFF, #FFD700, #DC143C, #FFD700, #FFFFFF);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.hero-subtitle {
  font-size: 1.25rem;       /* 原版 text-xl = 1.25rem(20px) */
  color: rgba(218, 165, 32, 0.5);
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hero-tagline {
  font-size: 12px;
  color: rgba(218, 165, 32, 0.3);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.hero-divider {
  width: 128px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(218, 165, 32, 0.4), transparent);
  margin: 24px auto;
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin-bottom: 8px;
  max-width: 576px;   /* 原版 max-w-xl = 36rem = 576px */
  margin-left: auto;
  margin-right: auto;
}

.hero-desc-sub {
  font-size: 0.875rem;
  color: rgba(218, 165, 32, 0.5);
  letter-spacing: 0.15em;
  margin-bottom: 40px;
}

/* 按钮 - 原版：手机竖排，桌面横排 */
.hero-buttons {
  display: flex;
  flex-direction: column;   /* 手机竖排 */
  align-items: center;
  gap: 20px;                /* 原版 gap-5 = 1.25rem(20px) */
  margin-bottom: 40px;     /* 原版 mb-10 = 2.5rem(40px) */
}

/* 原版 sm: 断点 = 640px，按钮横排 */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;    /* 原版 sm:flex-row */
    justify-content: center;
  }
}

/* 原版 md: 断点 = 768px，文字尺寸升级 */
@media (min-width: 768px) {
  .hero-title {
    font-size: 6rem;        /* 原版 md:text-8xl = 6rem(96px) */
  }

  .hero-subtitle {
    font-size: 1.5rem;      /* 原版 md:text-2xl = 1.5rem(24px) */
  }

  .hero-desc {
    font-size: 1.25rem;     /* 原版 md:text-xl = 1.25rem(20px) */
  }

  .hero-desc-sub {
    font-size: 1rem;        /* 原版 md:text-base = 1rem(16px) */
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;      /* 原版 px-10 py-4 */
  border-radius: 999px;
  background: linear-gradient(to right, var(--crimson), var(--crimson-dark));
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;     /* 原版 text-lg = 1.125rem(18px) */
  border: 1px solid rgba(220, 20, 60, 0.5);
  box-shadow: 0 12px 30px rgba(220, 20, 60, 0.3);
  transition: all var(--transition);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(220, 20, 60, 0.5);
  transform: scale(1.05);
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;      /* 原版 px-8(32px) py-3.5(14px) */
  border-radius: 999px;
  border: 2px solid rgba(218, 165, 32, 0.2);  /* 原版 border-2 */
  color: rgba(218, 165, 32, 0.7);
  font-size: 14px;          /* 原版 text-sm */
  transition: all var(--transition);
}

.btn-secondary:hover {
  border-color: rgba(218, 165, 32, 0.4);
  color: var(--gold-light);
}

/* 英雄区底部标签 */
.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-size: 14px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.badge svg {
  color: var(--gold-light);
}

/* 底部箭头与山形 */
.hero-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(218, 165, 32, 0.25);
  animation: bounce 1s infinite;
}

.mountain-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 128px;
  color: var(--gold);
}

.mountain-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 96px;
  color: var(--gold);
  transform: rotate(180deg);
}


/* ==================== 5. 数据栏 ==================== */
.stats-bar {
  padding: 80px 0;
  border-top: 1px solid rgba(218, 165, 32, 0.05);
  border-bottom: 1px solid rgba(218, 165, 32, 0.05);
  background: linear-gradient(to bottom, var(--ink), rgba(45, 45, 68, 0.1), var(--ink));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.section-stats .container {
  max-width: var(--w-5xl);  /* 1024px，原版 max-w-5xl */
}

.stat-item {
  text-align: center;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(218, 165, 32, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: rgba(255, 215, 0, 0.7);
}

.stat-value {
  font-size: 1.875rem;       /* 原版 text-3xl = 1.875rem(30px) */
  font-weight: 700;
  color: var(--gold-light);
}

@media (min-width: 768px) {
  .stat-value {
    font-size: 2.25rem;      /* 原版 md:text-4xl = 2.25rem(36px) */
  }
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
  letter-spacing: 0.1em;
}


/* ==================== 6. 功能特性 ==================== */
.section-features {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-features .container {
  max-width: var(--w-6xl);  /* 1152px，原版 max-w-6xl */
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(218, 165, 32, 0.1);
  background: rgba(45, 45, 68, 0.5);
  backdrop-filter: blur(4px);
  transition: all 0.5s;
  cursor: default;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.05), transparent, rgba(220, 20, 60, 0.05));
  opacity: 0;
  transition: opacity 0.5s;
}

.feature-card:hover {
  border-color: rgba(218, 165, 32, 0.3);
  background: rgba(45, 45, 68, 0.7);
  box-shadow: 0 0 40px rgba(218, 165, 32, 0.08);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.15), rgba(220, 20, 60, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: var(--gold-light);
  transition: all var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.25), rgba(220, 20, 60, 0.25));
  transform: scale(1.1);
}

.feature-name {
  position: relative;
  z-index: 1;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 12px;
  transition: color var(--transition);
}

.feature-card:hover .feature-name {
  color: #fff;
}

.feature-desc {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}


/* ==================== 7. 使用方法 ==================== */
.section-howto {
  padding: var(--section-padding) 0;
  background: linear-gradient(to bottom, var(--ink), rgba(45, 45, 68, 0.15), var(--ink));
}

.section-howto .container {
  max-width: var(--w-5xl);  /* 1024px，原版 max-w-5xl */
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-bottom: 80px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-circle {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.15), rgba(220, 20, 60, 0.15));
  border: 2px solid rgba(218, 165, 32, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold-light);
  transition: all var(--transition);
}

.step-item:hover .step-circle {
  border-color: rgba(218, 165, 32, 0.5);
  box-shadow: 0 0 30px rgba(218, 165, 32, 0.15);
  transform: scale(1.05);
}

.step-number {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--crimson);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
}

.step-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 240px;
}

/* 额外提示 */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tip-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(45, 45, 68, 0.3);
  border: 1px solid rgba(218, 165, 32, 0.08);
  transition: all var(--transition);
}

.tip-card:hover {
  border-color: rgba(218, 165, 32, 0.15);
}

.tip-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(218, 165, 32, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255, 215, 0, 0.7);
}

.tip-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 215, 0, 0.9);
  margin-bottom: 4px;
}

.tip-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}


/* ==================== 8. 使用场景 ==================== */
.section-scenarios {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.section-scenarios .container {
  max-width: var(--w-5xl);  /* 1024px，原版 max-w-5xl */
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.scenario-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(218, 165, 32, 0.08);
  background: rgba(45, 45, 68, 0.3);
  transition: all var(--transition);
}

.scenario-card:hover {
  border-color: rgba(218, 165, 32, 0.2);
  background: rgba(45, 45, 68, 0.5);
  box-shadow: 0 0 30px rgba(218, 165, 32, 0.05);
}

.scenario-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.1), rgba(220, 20, 60, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-light);
  transition: all var(--transition);
}

.scenario-card:hover .scenario-icon {
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.2), rgba(220, 20, 60, 0.2));
}

.scenario-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.scenario-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}


/* ==================== 9. 下载区 ==================== */
.section-download {
  padding: var(--section-padding) 0;
  background: linear-gradient(to bottom, var(--ink), rgba(45, 45, 68, 0.15), var(--ink));
  position: relative;
  overflow: hidden;
}

.section-download .container {
  max-width: var(--w-3xl);  /* 768px，原版 max-w-3xl */
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 auto 40px;
}

.download-single {
  max-width: 380px;
  margin: 0 auto 40px;
}

.download-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(218, 165, 32, 0.12);
  background: rgba(45, 45, 68, 0.4);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.download-card:hover {
  border-color: rgba(218, 165, 32, 0.25);
  box-shadow: 0 0 30px rgba(218, 165, 32, 0.05);
}

.download-card-featured {
  border-color: rgba(220, 20, 60, 0.15);
}

.download-card-featured:hover {
  border-color: rgba(220, 20, 60, 0.3);
  box-shadow: 0 0 30px rgba(220, 20, 60, 0.08);
}

/* dl-badge removed - no longer needed with single download */

.dl-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--gold-light);
}

.dl-header span {
  font-weight: 700;
  font-size: 1.125rem;
}

.dl-size {
  font-size: 1.875rem;       /* 原版 text-3xl = 1.875rem(30px) */
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.dl-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

/* dl-btn-standard removed - single download only */

.dl-btn-featured {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius);
  background: linear-gradient(to right, var(--crimson), var(--crimson-dark));
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(220, 20, 60, 0.5);
  box-shadow: 0 8px 20px rgba(220, 20, 60, 0.2);
  transition: all var(--transition);
  cursor: pointer;
}

.dl-btn-featured:hover {
  box-shadow: 0 8px 30px rgba(220, 20, 60, 0.4);
  transform: scale(1.02);
}

.dl-btn-featured:active {
  transform: scale(0.98);
}

.download-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 40px;
}

.download-badges span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* download-notice removed - no longer needed */

/* ==================== 10. 常见问答 ==================== */
.section-faq {
  padding: 80px 0 100px;
}

.section-faq .container {
  max-width: var(--w-3xl);  /* 768px，原版 max-w-3xl */
}

.faq-list {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius);
  border: 1px solid rgba(218, 165, 32, 0.08);
  background: rgba(45, 45, 68, 0.2);
  transition: all var(--transition);
  cursor: pointer;
}

.faq-item:hover,
.faq-item.faq-open {
  border-color: rgba(218, 165, 32, 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}

.faq-question h4 {
  font-weight: 700;
  color: var(--gold-light);
  font-size: 14px;
  padding-right: 16px;
}

.faq-arrow {
  color: rgba(218, 165, 32, 0.5);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s, opacity 0.3s;
}

.faq-answer p {
  padding: 0 20px 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}


/* ==================== 11. 页脚 ==================== */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid rgba(218, 165, 32, 0.08);
}

.footer .container {
  max-width: var(--w-4xl);  /* 896px，原版 max-w-4xl */
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

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

.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 6px;
}

.footer-name {
  font-weight: 700;
  color: var(--gold-light);
  font-size: 16px;
  display: block;
}

.footer-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-divider {
  height: 1px;
  background: rgba(218, 165, 32, 0.08);
  margin-bottom: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom a {
  color: var(--gold);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}


/* ==================== 12. 公共组件样式 ==================== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(220, 20, 60, 0.1);
  border: 1px solid rgba(220, 20, 60, 0.2);
  color: var(--crimson);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 1.875rem;      /* 原版 text-3xl = 1.875rem(30px) */
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;        /* 原版 md:text-5xl = 3rem(48px) */
  }
}

.section-desc {
  color: rgba(255, 255, 255, 0.5);
  max-width: 576px;   /* 原版 max-w-xl = 36rem = 576px */
  margin: 0 auto;
  line-height: 1.7;
  font-size: 15px;
}


/* ==================== 13. 动画 ==================== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes cloud-drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(20px); }
}

@keyframes shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 60px rgba(218, 165, 32, 0.2); }
  50% { box-shadow: 0 0 80px rgba(218, 165, 32, 0.35); }
}

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


/* ==================== 14. 灵感日志页面 ==================== */

/* 导航高亮 */
.nav-link-active {
  color: var(--gold-light) !important;
}

/* 页面横幅 */
.journal-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--ink), rgba(45, 45, 68, 0.15), var(--ink));
}

.journal-hero-content {
  text-align: center;
  position: relative;
  z-index: 10;
}

.journal-title {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #FFFFFF, #FFD700, #DC143C, #FFD700, #FFFFFF);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

@media (min-width: 768px) {
  .journal-title {
    font-size: 3.75rem;
  }
}

.journal-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .journal-subtitle {
    font-size: 1.125rem;
  }
}

/* 日志通用区块 */
.section-journal {
  padding: var(--section-padding) 0;
}

.section-journal .container {
  max-width: var(--w-5xl);
}

.section-journal-alt {
  background: linear-gradient(to bottom, var(--ink), rgba(45, 45, 68, 0.15), var(--ink));
}

/* 创作初衷卡片 */
.journal-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.journal-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(218, 165, 32, 0.1);
  background: rgba(45, 45, 68, 0.5);
  backdrop-filter: blur(4px);
  transition: all 0.5s;
  cursor: default;
  overflow: hidden;
  position: relative;
}

.journal-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.05), transparent, rgba(220, 20, 60, 0.05));
  opacity: 0;
  transition: opacity 0.5s;
}

.journal-card:hover {
  border-color: rgba(218, 165, 32, 0.3);
  background: rgba(45, 45, 68, 0.7);
  box-shadow: 0 0 40px rgba(218, 165, 32, 0.08);
}

.journal-card:hover::before {
  opacity: 1;
}

.journal-card-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.15), rgba(220, 20, 60, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold-light);
  transition: all var(--transition);
}

.journal-card:hover .journal-card-icon {
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.25), rgba(220, 20, 60, 0.25));
  transform: scale(1.1);
}

.journal-card-title {
  position: relative;
  z-index: 1;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 12px;
  transition: color var(--transition);
}

.journal-card:hover .journal-card-title {
  color: #fff;
}

.journal-card-desc {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

/* 初衷总结 */
.journal-summary {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(220, 20, 60, 0.05);
  border: 1px solid rgba(220, 20, 60, 0.15);
}

.journal-summary-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.15), rgba(220, 20, 60, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-light);
}

.journal-summary-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

/* 起名灵感区块 */
.naming-story {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.naming-block {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(218, 165, 32, 0.1);
  background: rgba(45, 45, 68, 0.5);
  transition: all 0.5s;
}

.naming-block:hover {
  border-color: rgba(218, 165, 32, 0.25);
  background: rgba(45, 45, 68, 0.7);
  box-shadow: 0 0 30px rgba(218, 165, 32, 0.05);
}

.naming-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(218, 165, 32, 0.1);
  border: 1px solid rgba(218, 165, 32, 0.2);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.naming-label svg {
  color: var(--gold-light);
}

.naming-content p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 16px;
}

.naming-content p:last-child {
  margin-bottom: 0;
}

/* 时间线 */
.timeline {
  position: relative;
  padding-left: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom,
    rgba(218, 165, 32, 0.05),
    rgba(218, 165, 32, 0.2),
    rgba(218, 165, 32, 0.2),
    rgba(218, 165, 32, 0.05)
  );
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -48px;
  top: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.timeline-dot::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 16px rgba(218, 165, 32, 0.4);
}

.timeline-dot-origin::after {
  background: var(--crimson);
  box-shadow: 0 0 16px rgba(220, 20, 60, 0.4);
}

.timeline-dot-core::after,
.timeline-dot-upload::after,
.timeline-dot-qr::after,
.timeline-dot-ws::after,
.timeline-dot-wails::after,
.timeline-dot-current::after {
  background: var(--gold-light);
  box-shadow: 0 0 16px rgba(218, 165, 32, 0.4);
}

.timeline-dot-future {
  width: 32px;
  height: 32px;
  border: 2px dashed rgba(218, 165, 32, 0.3);
  background: rgba(218, 165, 32, 0.05);
}

.timeline-dot-future::after {
  background: rgba(218, 165, 32, 0.4);
  box-shadow: none;
}

.timeline-content {
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(218, 165, 32, 0.1);
  background: rgba(45, 45, 68, 0.5);
  transition: all 0.5s;
}

.timeline-content:hover {
  border-color: rgba(218, 165, 32, 0.25);
  background: rgba(45, 45, 68, 0.7);
  box-shadow: 0 0 30px rgba(218, 165, 32, 0.05);
}

.timeline-date {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(218, 165, 32, 0.1);
  border: 1px solid rgba(218, 165, 32, 0.2);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.timeline-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.timeline-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

/* 未来功能标签 */
.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.timeline-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(218, 165, 32, 0.08);
  border: 1px dashed rgba(218, 165, 32, 0.2);
  color: rgba(218, 165, 32, 0.6);
  font-size: 12px;
  font-weight: 500;
}

/* 时间线未来节点特殊样式 */
.timeline-item-future .timeline-content {
  border-style: dashed;
  border-color: rgba(218, 165, 32, 0.15);
  background: rgba(45, 45, 68, 0.3);
}


/* ==================== 15. 赞赏悬浮窗 ==================== */

/* 悬浮按钮 - 胶囊造型 */
.appreciation-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  height: 44px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.18), rgba(220, 20, 60, 0.15));
  border: 1px solid rgba(218, 165, 32, 0.3);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.4s ease;
  animation: fab-breathe 3s ease-in-out infinite;
  box-shadow: 0 4px 20px rgba(218, 165, 32, 0.15);
  white-space: nowrap;
}

.appreciation-fab:hover {
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.32), rgba(220, 20, 60, 0.25));
  border-color: rgba(218, 165, 32, 0.5);
  box-shadow: 0 4px 30px rgba(218, 165, 32, 0.3);
  transform: translateY(-2px);
  animation: none;
}

.appreciation-fab:active {
  transform: translateY(0) scale(0.97);
}

.appreciation-fab svg {
  color: var(--gold-light);
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.4));
  flex-shrink: 0;
}

.appreciation-fab-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.2);
}

/* 悬浮按钮呼吸光晕 */
@keyframes fab-breathe {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(218, 165, 32, 0.15), 0 0 0 0 rgba(218, 165, 32, 0);
  }
  50% {
    box-shadow: 0 4px 24px rgba(218, 165, 32, 0.25), 0 0 0 6px rgba(218, 165, 32, 0.05);
  }
}

/* 弹出面板 */
.appreciation-panel {
  position: fixed;
  bottom: 92px;
  right: 32px;
  z-index: 998;
  width: 440px;
  border-radius: var(--radius-lg);
  background: rgba(26, 26, 46, 0.97);
  border: 1px solid rgba(218, 165, 32, 0.25);
  backdrop-filter: blur(24px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), 0 0 80px rgba(218, 165, 32, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.95);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.appreciation-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* 面板顶部装饰 */
.appreciation-panel-header {
  position: relative;
  padding: 24px 24px 0;
  text-align: center;
}

.appreciation-panel-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.08), rgba(220, 20, 60, 0.06));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.appreciation-panel-title {
  position: relative;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.appreciation-panel-subtitle {
  position: relative;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
}

/* 二维码区域 */
.appreciation-panel-qr {
  padding: 20px 24px;
  text-align: center;
}

.appreciation-qr-wrapper {
  position: relative;
  display: inline-block;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.appreciation-qr-wrapper img {
  width: 320px;
  height: 320px;
  display: block;
  border-radius: 4px;
}

/* 二维码角标装饰 */
.appreciation-qr-wrapper::before,
.appreciation-qr-wrapper::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gold);
}

.appreciation-qr-wrapper::before {
  top: 4px;
  left: 4px;
  border-right: none;
  border-bottom: none;
  border-radius: 4px 0 0 0;
}

.appreciation-qr-wrapper::after {
  bottom: 4px;
  right: 4px;
  border-left: none;
  border-top: none;
  border-radius: 0 0 4px 0;
}

/* 面板底部提示 */
.appreciation-panel-footer {
  padding: 0 24px 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.6;
}

/* 关闭按钮 */
.appreciation-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  transition: all var(--transition);
  cursor: pointer;
  z-index: 10;
}

.appreciation-close:hover {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

/* 遮罩层（移动端使用） */
.appreciation-overlay {
  position: fixed;
  inset: 0;
  z-index: 997;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.appreciation-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 赞赏悬浮窗 - 响应式 */
@media (max-width: 768px) {
  .appreciation-fab {
    bottom: 24px;
    right: 20px;
    height: 40px;
    padding: 0 14px 0 11px;
    gap: 6px;
  }

  .appreciation-fab-text {
    font-size: 12px;
  }

  .appreciation-panel {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(100%);
  }

  .appreciation-panel.active {
    transform: translateY(0);
  }

  .appreciation-qr-wrapper img {
    width: 280px;
    height: 280px;
  }
}

@media (max-width: 480px) {
  .appreciation-fab {
    bottom: 20px;
    right: 16px;
    height: 38px;
    padding: 0 12px 0 10px;
    gap: 5px;
  }

  .appreciation-fab-text {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .appreciation-qr-wrapper img {
    width: 260px;
    height: 260px;
  }
}


/* ==================== 16. 响应式适配 ==================== */

/* 平板竖屏 */
@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
  }

  .nav-links a:not(.nav-btn):not(.nav-link-active) {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .scenarios-grid {
    grid-template-columns: 1fr;
  }

  .download-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.5rem;      /* 原版 text-2xl = 1.5rem(24px) 平板适配 */
  }

  .footer-top {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }

  .hero-badges {
    gap: 20px;
  }

  /* 灵感日志 - 平板适配 */
  .journal-cards {
    grid-template-columns: 1fr;
  }

  .journal-summary {
    flex-direction: column;
  }

  .naming-block {
    padding: 20px;
  }

  .timeline {
    padding-left: 36px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-dot {
    left: -36px;
    width: 24px;
    height: 24px;
  }

  .timeline-dot::after {
    width: 8px;
    height: 8px;
  }

  .timeline-content {
    padding: 16px 20px;
  }
}

/* 手机 */
@media (max-width: 480px) {
  :root {
    --section-padding: 64px;
  }

  /* 原版移动端不缩小英雄标题，保持 text-6xl(3.75rem) */

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn-primary {
    padding: 14px 32px;
    font-size: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    text-align: center;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-badges {
    flex-direction: column;
    gap: 12px;
  }

  .section-title {
    font-size: 1.875rem;    /* 原版 text-3xl = 1.875rem(30px) 手机适配 */
  }

  /* 灵感日志 - 手机适配 */
  .journal-hero {
    padding: 120px 0 60px;
  }

  .journal-title {
    font-size: 2rem;
  }

  .naming-content p {
    font-size: 14px;
  }

  .timeline-desc {
    font-size: 13px;
  }
}
