/* ============================================================
   TrollStore 巨魔商店 · 官网风格单页
   配色取自 Logo：蓝色渐变 (#00C6FF → #0072FF) + 深邃藏青底色
   ============================================================ */

:root {
  --blue-1: #00c6ff;
  --blue-2: #0072ff;
  --blue-deep: #004fc4;
  --bg: #060d1d;
  --bg-2: #0a1530;
  --card: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --text: #eaf2ff;
  --text-dim: #9db2d0;
  --grad: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  --radius: 18px;
  --shadow-glow: 0 10px 40px rgba(0, 114, 255, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

.container { width: min(1200px, 92%); margin: 0 auto; }

img { display: block; }

a { text-decoration: none; color: inherit; }

/* ============ 通用按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 38px; font-size: 1.05rem; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 50px rgba(0, 140, 255, 0.5); }
.btn-ghost {
  border: 1px solid var(--card-border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover { border-color: var(--blue-1); color: var(--blue-1); transform: translateY(-3px); }

/* ============ 顶部导航 ============ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.navbar.scrolled {
  background: rgba(6, 13, 29, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--grad); /* src 留空时仍呈现品牌色块 */
  box-shadow: 0 4px 16px rgba(0, 114, 255, 0.45);
}
.brand-name { font-size: 1.15rem; font-weight: 800; letter-spacing: 0.5px; }
.brand-name em {
  font-style: normal;
  font-size: 0.8rem;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--grad);
  color: #fff;
  vertical-align: 2px;
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: 0.98rem;
  color: var(--text-dim);
  position: relative;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta {
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff !important;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px); }
.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: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.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); }

/* ============ 首屏 Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 15% 20%, rgba(0, 198, 255, 0.22), transparent 60%),
    radial-gradient(700px 500px at 85% 75%, rgba(0, 114, 255, 0.25), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 198, 255, 0.4);
  background: rgba(0, 198, 255, 0.08);
  color: var(--blue-1);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-1);
  box-shadow: 0 0 12px var(--blue-1);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.hero-text h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 1px;
}
.hero-text h1 span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  margin: 22px 0 26px;
  color: var(--text-dim);
  font-size: 1.06rem;
  max-width: 540px;
}
.hero-desc strong { color: var(--blue-1); }

/* 版本号 & 更新日期 */
.hero-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.meta-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
}
.meta-label { font-size: 0.85rem; color: var(--text-dim); }
.meta-value {
  font-weight: 800;
  font-size: 1.02rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============ 截图叠加展示 ============ */
.hero-shots {
  position: relative;
  height: 560px;
  perspective: 1200px;
}
.shot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), z-index 0s, filter 0.5s ease;
  filter: brightness(0.75) saturate(0.9);
}
.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19;
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(160deg, #1c2c4d, #0a142c);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  background:
    radial-gradient(120px 120px at 50% 30%, rgba(0,198,255,0.25), transparent 70%),
    linear-gradient(160deg, #10203f, #060d1d); /* src 留空时的占位底 */
}
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 22px;
  border-radius: 12px;
  background: #05090f;
  z-index: 2;
}
/* 默认扇形排布 */
.shot-1 { transform: translate(-105%, -50%) rotate(-10deg); z-index: 1; }
.shot-2 { transform: translate(-50%, -50%) scale(1.06); z-index: 2; filter: brightness(1); }
.shot-3 { transform: translate(5%, -50%) rotate(10deg); z-index: 1; }
/* 鼠标悬停哪张 → 哪张置顶放大 */
.hero-shots:hover .shot-2 { filter: brightness(0.75) saturate(0.9); }
.hero-shots .shot:hover {
  z-index: 10;
  transform: translate(-50%, -50%) scale(1.14);
  filter: brightness(1);
}
/* 移动端轻浮动动画 */
@media (hover: none) {
  .shot { animation: floatY 6s ease-in-out infinite; }
  .shot-2 { animation-delay: 1.2s; }
  .shot-3 { animation-delay: 2.4s; }
}
@keyframes floatY {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -14px; }
}

.scroll-down {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
}
.scroll-down::before {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--blue-1);
  animation: wheel 1.8s infinite;
}
@keyframes wheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ============ 数据亮点 ============ */
.stats {
  padding: 60px 0;
  background: linear-gradient(90deg, rgba(0,198,255,0.07), rgba(0,114,255,0.07));
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { color: var(--text-dim); font-size: 0.95rem; }

/* ============ 通用区块 ============ */
.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(0, 198, 255, 0.1);
  border: 1px solid rgba(0, 198, 255, 0.35);
  color: var(--blue-1);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; }
.section-head p { color: var(--text-dim); margin-top: 12px; }

/* ============ 功能特性 ============ */
.features { background: var(--bg-2); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature-card {
  padding: 38px 32px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 198, 255, 0.5);
  box-shadow: 0 18px 50px rgba(0, 114, 255, 0.22);
}
.f-icon {
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  border-radius: 16px;
  background: var(--grad);
  box-shadow: 0 8px 24px rgba(0, 114, 255, 0.4);
  margin-bottom: 22px;
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-dim); font-size: 0.96rem; }

/* ============ 用户评价 ============ */
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.review-card {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.review-card:hover { transform: translateY(-6px); border-color: rgba(0, 198, 255, 0.45); }
.stars { color: #ffc940; letter-spacing: 4px; font-size: 1.05rem; margin-bottom: 16px; }
.review-text { color: var(--text); font-size: 1rem; margin-bottom: 24px; }
.review-user { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 6px 18px rgba(0, 114, 255, 0.4);
  flex-shrink: 0;
}
.review-user strong { display: block; font-size: 1rem; }
.review-user span { color: var(--text-dim); font-size: 0.85rem; }

/* ============ 常见问题 ============ */
.faq { background: var(--bg-2); }
.faq-container { max-width: 800px; }
.faq-item {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: var(--card);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item.open { border-color: rgba(0, 198, 255, 0.55); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.chev {
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-right: 2px solid var(--blue-1);
  border-bottom: 2px solid var(--blue-1);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}
.faq-item.open .chev { transform: rotate(225deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p {
  padding: 0 24px 22px;
  color: var(--text-dim);
  font-size: 0.96rem;
}

/* ============ 下载区域 ============ */
.download {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  background:
    radial-gradient(500px 320px at 50% 0%, rgba(0, 198, 255, 0.2), transparent 65%),
    var(--bg);
  text-align: center;
}
.download-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.download-logo {
  width: 96px; height: 96px;
  border-radius: 26px;
  object-fit: cover;
  background: var(--grad);
  box-shadow: 0 16px 50px rgba(0, 114, 255, 0.55);
  margin-bottom: 8px;
  animation: logoFloat 5s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.download h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 900; }
.download p { color: var(--text-dim); }
.download-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.download-meta strong { color: var(--blue-1); }
.download-meta .sep { width: 1px; height: 16px; background: var(--card-border); }
.btn-download {
  margin-top: 14px;
  padding: 20px 64px;
  font-size: 1.2rem;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 50px rgba(0, 114, 255, 0.5);
  position: relative;
  overflow: hidden;
}
.btn-download::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: shine 3s infinite;
}
@keyframes shine {
  0% { left: -80%; }
  55%, 100% { left: 130%; }
}
.btn-download:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 20px 60px rgba(0, 140, 255, 0.65); }
.download-tip { color: var(--text-dim); font-size: 0.85rem; }

/* ============ 页脚 ============ */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--card-border);
  background: var(--bg-2);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-dim); font-size: 0.95rem; transition: color 0.25s ease; }
.footer-links a:hover { color: var(--blue-1); }
.copyright { color: var(--text-dim); font-size: 0.85rem; }

/* ============ 滚动入场动画 ============ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 70px; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-meta, .hero-actions { justify-content: center; }
  .hero-shots { height: 500px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px; right: 0;
    width: min(320px, 82vw);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 24px;
    background: rgba(6, 13, 29, 0.97);
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    border-radius: 0 0 0 18px;
    transform: translateX(110%);
    transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { width: 100%; padding: 10px 4px; }
  .nav-cta { text-align: center; margin-top: 8px; }

  .hero { padding-top: 110px; }
  .hero-shots { height: 430px; }
  .shot { width: 200px; }
  .shot-1 { transform: translate(-98%, -50%) rotate(-8deg); }
  .shot-3 { transform: translate(-2%, -50%) rotate(8deg); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .section { padding: 80px 0; }
  .feature-grid, .review-grid { grid-template-columns: 1fr; }
  .download { padding: 90px 0; }
  .btn-download { padding: 17px 44px; font-size: 1.05rem; }
  .download-meta { flex-direction: column; gap: 6px; }
  .download-meta .sep { display: none; }
}

@media (max-width: 420px) {
  .hero-shots { height: 380px; }
  .shot { width: 168px; }
  .meta-chip { padding: 8px 14px; }
  .btn-lg { padding: 14px 30px; font-size: 0.98rem; }
}
