/* 囤囤落地页样式 —— 桌面优先，≤768px 单列，容器 1080px */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--tt-bg);
  color: var(--tt-text);
  font-family: var(--tt-font-body);
  font-size: 16px;
  line-height: 1.7;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

h1, h2, h3, .hero-brand, .nav-brand {
  font-family: var(--tt-font-display);
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--tt-bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--tt-border);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 56px;
}
.site-nav a {
  color: var(--tt-text-2);
  text-decoration: none;
  font-size: 14px;
}
.site-nav a:hover { color: var(--tt-primary-strong); }
.nav-brand {
  color: var(--tt-text);
  font-size: 20px;
  font-weight: 700;
  margin-right: auto;
}

/* ---------- 按钮 ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--tt-radius-full);
  background: var(--tt-primary);
  color: var(--tt-on-primary);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--tt-dur-fast) var(--tt-ease-out),
              box-shadow var(--tt-dur-fast) var(--tt-ease-out),
              background var(--tt-dur-fast) var(--tt-ease-out);
}
.btn-primary:hover {
  background: var(--tt-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--tt-shadow-2);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--tt-radius-full);
  border: 1px solid var(--tt-border);
  color: var(--tt-primary-strong);
  font-size: 16px;
  text-decoration: none;
  transition: transform var(--tt-dur-fast) var(--tt-ease-out),
              box-shadow var(--tt-dur-fast) var(--tt-ease-out);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: var(--tt-shadow-1);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, var(--tt-primary-soft) 0 180px, transparent 180px),
    radial-gradient(circle at 88% 82%, var(--tt-mint-soft) 0 220px, transparent 220px);
  filter: blur(80px);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  gap: 40px;
  width: 100%;
}
.hero-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.hero-brand {
  font-size: 56px;
  font-weight: 700;
  color: var(--tt-text);
  line-height: 1.1;
}
.hero h1 {
  font-size: 32px;
  color: var(--tt-text);
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 16px;
  color: var(--tt-text-2);
  max-width: 420px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-meta {
  font-size: 13px;
  color: var(--tt-text-3);
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-img {
  border-radius: var(--tt-radius-l);
  animation: hero-float 4s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(-8px); }
  50% { transform: translateY(8px); }
}
.seed {
  position: absolute;
  width: 14px;
  height: 20px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--tt-primary);
  opacity: .6;
  animation: seed-float 4s ease-in-out infinite;
}
.seed-1 { top: 8%; left: 6%; animation-delay: 0s; }
.seed-2 { top: 64%; left: -2%; animation-delay: 1.3s; }
.seed-3 { top: 30%; right: 4%; animation-delay: 2.6s; }
@keyframes seed-float {
  0%, 100% { transform: translateY(-10px) rotate(-8deg); }
  50% { transform: translateY(10px) rotate(8deg); }
}

/* ---------- 节标题 ---------- */
.section-title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 96px;
  height: 8px;
  margin: 12px auto 0;
  background: var(--tt-primary);
  border-radius: var(--tt-radius-full);
  mask-image: radial-gradient(circle at 4px 4px, black 3px, transparent 3.5px);
  mask-size: 12px 8px;
  opacity: .8;
}

/* ---------- 功能 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.feature-card {
  background: var(--tt-surface);
  border-radius: var(--tt-radius-l);
  box-shadow: var(--tt-shadow-1);
  padding: 28px;
  transition: transform var(--tt-dur) var(--tt-ease-out),
              box-shadow var(--tt-dur) var(--tt-ease-out);
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--tt-shadow-2);
}
.feature-card img { margin-bottom: 16px; }
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 15px;
  color: var(--tt-text-2);
}

/* ---------- 截图 ---------- */
.shot-scroller {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 16px 4px 24px;
  scroll-snap-type: x mandatory;
  mask-image: linear-gradient(to right, transparent, black 32px, black calc(100% - 32px), transparent);
}
.shot-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.shot-card img {
  display: block;
  width: 640px;
  height: 400px;
  max-width: 82vw;
  object-fit: cover;
  border: 8px solid var(--tt-surface);
  border-radius: var(--tt-radius-l);
  box-shadow: var(--tt-shadow-2);
  transition: transform var(--tt-dur) var(--tt-ease-out);
}
.shot-card img:hover { transform: scale(1.02); }
.shot-card figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--tt-text-2);
  text-align: center;
}

/* ---------- 下载 ---------- */
.download { background: var(--tt-surface-2); }
.download-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--tt-surface);
  border-radius: var(--tt-radius-l);
  box-shadow: var(--tt-shadow-2);
  padding: 48px 40px;
  text-align: center;
}
.download-card img { margin-bottom: 16px; }
.download-card h2 {
  font-size: 24px;
  margin-bottom: 24px;
}
.version-list {
  font-size: 14px;
  margin-bottom: 28px;
}
.version-list > div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--tt-border);
}
.version-list dt { color: var(--tt-text-2); }
.version-list dd { color: var(--tt-text); font-weight: 600; }
.download-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--tt-text-3);
}

/* ---------- 使用指南 / 激活说明共用步骤条 ---------- */
.guide-steps, .redeem-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.guide-step, .redeem-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.step-badge {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: var(--tt-radius-full);
  background: var(--tt-primary);
  color: var(--tt-on-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}
.step-body p {
  font-size: 15px;
  color: var(--tt-text-2);
}
.guide-step { align-items: center; }
.step-thumb {
  flex: 0 0 auto;
  width: 120px;
  height: 90px;
  margin-left: auto;
  border-radius: var(--tt-radius-m);
  border: 1px dashed var(--tt-border);
}
.step-thumb-1 { background: var(--tt-primary-soft); }
.step-thumb-2 { background: var(--tt-mint-soft); }
.step-thumb-3 { background: var(--tt-pink-soft); }
.guide-tail {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
}
.guide-tail a {
  color: var(--tt-text-2);
  text-decoration: none;
}
.guide-tail a:hover { color: var(--tt-primary-strong); }

/* ---------- 激活说明 ---------- */
.redeem {
  display: grid;
  grid-template-columns: 1fr 220px;
  align-items: center;
  gap: 40px;
  margin-bottom: 56px;
}
.redeem-visual {
  display: flex;
  justify-content: center;
}
.skin-strip {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.skin-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--tt-surface);
  border: 1px solid var(--tt-border);
  border-radius: var(--tt-radius-full);
  padding: 10px 20px;
  box-shadow: var(--tt-shadow-1);
}
.skin-dots { display: flex; gap: 6px; }
.skin-dots i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .06);
}
.skin-name { font-size: 14px; color: var(--tt-text); }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px dashed var(--tt-border);
  padding: 40px 0;
  text-align: center;
  font-size: 13px;
  color: var(--tt-text-3);
}
.site-footer img { margin-bottom: 8px; }
.site-footer p { margin: 2px 0; }

/* ---------- 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 300ms var(--tt-ease-out),
              transform 300ms var(--tt-ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 移动端 ---------- */
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-img { width: 100%; height: auto; }
  .hero-brand { font-size: 40px; }
  .feature-grid { grid-template-columns: 1fr; }
  .guide-step { flex-wrap: wrap; }
  .step-thumb { margin-left: 56px; }
  .redeem { grid-template-columns: 1fr; }
  .site-nav { gap: 18px; overflow-x: auto; }
}

/* ---------- reduced-motion 降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img, .seed { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn-primary, .btn-ghost, .feature-card, .shot-card img { transition: none; }
}
