/* ============================================
   CosmosYi 官网 - 共享样式表
   极简清新设计系统
   ============================================ */

/* ---------- 设计变量 ---------- */
:root {
  /* 主色调 - 暖橙黄（CTA / 强调） */
  --primary: #E6CDF8;
  --primary-dark: #d5aaf3;
  --primary-soft: rgba(230, 205, 248, 0.12);

  /* 辅助强调色 */
  --accent: #E78FD6;       /* 粉紫：outline hover / 特殊 tag */
  --secondary: #58BBBD;    /* 青绿：数据展示 / 链接 */
  --tertiary: #C4C8D9;     /* 灰紫蓝：次级文字装饰 */

  /* 中性色 - 深色基底 */
  --bg: #0d1117;
  --bg-alt: #161b22;
  --bg-dark: #010409;
  --bg-card: #1c2128;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --text-light: #6e7681;
  --border: #30363d;
  --border-light: #21262d;

  /* 功能色 */
  --danger: #ef4444;

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;

  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-primary: 0 8px 24px rgba(230, 205, 248, 0.2);

  /* 布局 */
  --container: 1140px;
  --nav-height: 68px;
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ---------- 容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-dark);
  /* box-shadow: var(--shadow-primary); */
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  /* box-shadow: 0 12px 28px rgba(230, 205, 248, 0.35); */
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.btn-ghost {
  background: var(--bg-alt);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.btn-lg {
  padding: 15px 36px;
  font-size: 16px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}

.nav-logo img {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
}

.nav-logo span {
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

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

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 通用区块 ---------- */
section {
  padding: 90px 0;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

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

/* ---------- Hero 区 ---------- */
.hero {
  /* 高度为 3/4 屏，内容垂直居中 */
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 64px;
  position: relative;
  overflow: hidden;
  /* 更换 Hero 背景图：将下方 url() 中的地址替换为新图片即可（建议 16:9 横图） */
  background:
    linear-gradient(180deg, rgba(13, 17, 23, 0.78) 0%, rgba(13, 17, 23, 0.94) 100%),
    url("../img/banner.jpg") center / cover no-repeat,
    var(--bg);
  background-color: var(--bg);
}

.hero .container {
  position: relative;
  z-index: 2;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

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

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #E6CDF8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat .num {
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
}

.hero-stat .label {
  font-size: 14px;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual .phone {
  width: 320px;
  border-radius: 36px;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--bg-card);
  background: var(--bg-card);
  position: relative;
  z-index: 2;
}

.hero-visual .blob {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(230, 205, 248, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* ---------- 功能卡片 ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.feature-card {
  padding: 0 0 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.feature-image {
  width: 100%;
  aspect-ratio: 7 / 5;
  overflow: hidden;
  margin-bottom: 20px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-image img {
  transform: scale(1.05);
}

.feature-card h3,
.feature-card p {
  padding: 0 24px;
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ---------- 截图展示 ---------- */
.showcase {
  background: var(--bg-alt);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.showcase-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-card);
  transition: transform 0.3s;
}

.showcase-item:hover {
  transform: translateY(-6px);
}

.showcase-item img {
  width: 100%;
  object-fit: cover;
}

.showcase-item .caption {
  padding: 20px 24px;
}

.showcase-item .caption h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.showcase-item .caption p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- 用户评价 ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.testimonial-card {
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

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

.testimonial-text {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 16px;
}

.testimonial-user .name {
  font-weight: 600;
  font-size: 15px;
}

.testimonial-user .role {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- CTA 下载区 ---------- */
.cta-section {
  padding: 80px 0;
}

.cta-box {
  background: linear-gradient(135deg, #FFFFFF 0%, #E6CDF8 100%);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -100px;
  right: -80px;
}

.cta-box::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  bottom: -80px;
  left: -60px;
}

.cta-box h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
}

.cta-box p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 32px;
  position: relative;
}

.cta-box .btn {
  background: var(--bg-dark);
  color: var(--primary);
  position: relative;
}

.cta-box .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

/* ---------- 下载页 ---------- */
.download-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 180px;
  text-align: center;
  background: linear-gradient(180deg, var(--primary-soft) 0%, var(--bg) 100%);
}

.download-hero h1 {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.download-hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 36px;
}

.download-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.download-btn-wrap {
  position: relative;
}

.download-trigger {
  cursor: default;
}

.download-qr {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 20;
  white-space: nowrap;
}

.download-qr::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.download-qr img {
  width: 180px;
  max-width: none;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
}

.download-qr span {
  font-size: 12px;
  color: var(--text-muted);
}

.download-btn-wrap:hover .download-qr {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.download-meta {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-light);
  letter-spacing: 0.3px;
}

/* ---------- 产品故事区（交替图文） ---------- */
.feature-story {
  padding: 88px 0;
}

.feature-story.alt {
  background: var(--bg-alt);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-grid.reverse .story-text {
  grid-column: 2;
  grid-row: 1;
}

.story-grid.reverse .story-image {
  grid-column: 1;
  grid-row: 1;
}

.story-text .section-tag {
  margin-bottom: 16px;
}

.story-text h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.story-text p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.story-features li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-features li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

.story-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.story-image img {
  max-width: 300px;
  width: 100%;
  aspect-ratio: 5 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

/* 更新日志 */
.changelog {
  max-width: 760px;
  margin: 56px auto 0;
}

.changelog-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.changelog-item:last-child {
  border-bottom: none;
}

.changelog-version {
  flex-shrink: 0;
  width: 100px;
}

.changelog-version .ver-num {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.changelog-version .ver-date {
  font-size: 13px;
  color: var(--text-muted);
}

.changelog-content h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.changelog-content ul {
  list-style: none;
}

.changelog-content ul li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 3px 0;
  padding-left: 18px;
  position: relative;
}

.changelog-content ul li::before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: 4px;
}

/* ---------- 关于我们页 ---------- */
.about-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--primary-soft) 0%, var(--bg) 100%);
}

.about-hero .section-tag {
  margin-bottom: 16px;
}

.about-hero h1 {
  font-size: 50px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 22px;
}

.about-hero h1 .gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #E6CDF8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

.about-hero-desc {
  max-width: 640px;
  margin: 0 auto;
}

.about-hero-desc p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.about-hero-desc p:last-child {
  margin-bottom: 0;
}

/* 价值观卡片 */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.value-card {
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.value-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 时间线 */
.journey-section {
  background: var(--bg-alt);
}

.timeline {
  max-width: 760px;
  margin: 56px auto 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, #FFFFFF 0%, #E6CDF8 100%);
}

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

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

.timeline-dot {
  position: absolute;
  left: 4px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.timeline-time {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.timeline-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 团队 */
.team-section {
  background: var(--bg);
}

.company-intro {
  max-width: 740px;
  margin: 32px auto 0;
}

.company-intro p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.company-intro p:last-child {
  margin-bottom: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.team-card {
  padding: 36px 28px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s ease;
}

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

.team-avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFFFFF 0%, #E6CDF8 100%);
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.team-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 14px;
}

.team-quote {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h5 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-col ul li {
  padding: 6px 0;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

/* 联系信息 */
.footer-contact ul li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact .contact-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-contact .contact-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.5;
}

.footer-contact .contact-text:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.2s;
}

.footer-social a:hover {
  background: var(--primary);
}

/* 备案信息 */
.footer-beian {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
}

.footer-beian a {
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-beian a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-beian .beian-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: block;
}

.footer-beian-sep {
  color: rgba(255, 255, 255, 0.2);
}

/* ---------- 滚动入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ---------- Toast 提示 ---------- */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-dark);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ---------- 工具类 ---------- */
.hidden {
  display: none !important;
}

.invisible {
  visibility: hidden;
}

/* ---------- 响应式 ---------- */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual .phone {
    width: 260px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-desc {
    font-size: 17px;
  }

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

  .showcase-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  section {
    padding: 56px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* 导航 */
  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-alt);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open a {
    text-align: center;
    padding: 4px 0;
  }

  .nav-links.open a.active::after {
    display: none;
  }

  /* Hero */
  .hero {
    padding-top: calc(var(--nav-height) + 48px);
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: 30px;
    letter-spacing: -1px;
    margin-bottom: 18px;
  }

  .hero-desc {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .hero-actions {
    gap: 12px;
    margin-bottom: 32px;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 0;
  }

  .hero-actions .btn-lg {
    padding: 13px 20px;
    font-size: 15px;
  }

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

  .hero-stat .num {
    font-size: 22px;
  }

  .hero-stat .label {
    font-size: 12px;
  }

  .hero-visual .phone {
    width: 220px;
    border-width: 6px;
  }

  .hero-visual .blob {
    width: 320px;
    height: 320px;
  }

  /* 通用标题 */
  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .section-tag {
    font-size: 12px;
    margin-bottom: 14px;
  }

  /* 功能卡片 */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card h3,
  .feature-card p {
    padding: 0 20px;
  }

  .feature-card h3 {
    font-size: 18px;
  }

  .feature-card p {
    font-size: 14px;
  }

  /* 截图展示 */
  .showcase-grid {
    gap: 20px;
  }

  /* 评价 */
  .testimonial-card {
    padding: 28px 24px;
  }

  /* CTA */
  .cta-box {
    padding: 40px 22px;
  }

  .cta-box h2 {
    font-size: 24px;
  }

  .cta-box p {
    font-size: 15px;
  }

  /* 下载页 */
  .download-hero {
    padding-top: calc(var(--nav-height) + 48px);
    padding-bottom: 64px;
  }

  .download-hero h1 {
    font-size: 28px;
  }

  .download-hero p {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .download-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .download-actions .btn-lg {
    width: 100%;
  }

  .download-qr {
    display: none;
  }

  /* 产品故事区 */
  .feature-story {
    padding: 56px 0;
  }

  .story-grid,
  .story-grid.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .story-grid.reverse .story-text,
  .story-grid.reverse .story-image {
    grid-column: 1;
    grid-row: auto;
  }

  .story-image {
    order: -1;
  }

  .story-image img {
    max-width: 260px;
  }

  .story-text h2 {
    font-size: 28px;
  }

  .story-text p {
    font-size: 16px;
  }

  /* 更新日志 */
  .changelog-item {
    gap: 16px;
    padding: 20px 0;
  }

  .changelog-version {
    width: 72px;
  }

  .changelog-version .ver-num {
    font-size: 15px;
  }

  .changelog-version .ver-date {
    font-size: 12px;
  }

  /* 关于我们页 */
  .about-hero {
    padding-top: calc(var(--nav-height) + 48px);
  }

  .about-hero h1 {
    font-size: 30px;
  }

  .about-hero p,
  .about-hero-desc p {
    font-size: 15px;
  }

  .company-intro p {
    font-size: 15px;
    line-height: 1.8;
  }

  .value-card,
  .team-card {
    padding: 28px 24px;
  }

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

  .timeline-item {
    padding-left: 40px;
  }

  /* 页脚 */
  .footer {
    padding: 48px 0 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .footer-beian {
    flex-direction: column;
    gap: 6px;
    line-height: 1.6;
  }

  .footer-beian-sep {
    display: none;
  }
}

/* 超小屏适配 */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 26px;
  }

  .hero-stats {
    gap: 12px;
  }

  .hero-stat .num {
    font-size: 19px;
  }

  .section-title {
    font-size: 23px;
  }

  .download-hero h1,
  .about-hero h1 {
    font-size: 24px;
  }

  .cta-box h2 {
    font-size: 21px;
  }
}
