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

:root {
  --bg: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #e8e8ed;
  --grad: linear-gradient(135deg, #2997ff, #5e5ce6);
  --radius: 20px;
  --shadow-sm: 0 2px 14px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 24px 60px rgba(41, 151, 255, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.hl {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 头部 */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 245, 247, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

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

.logo {
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-text {
  color: var(--text);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 1;
}

.main-nav .nav-refund {
  color: #5e5ce6;
  font-weight: 600;
  opacity: 1;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text);
  cursor: pointer;
  line-height: 1;
}

/* 首屏 */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
}

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

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
}

.b1 {
  width: 420px;
  height: 420px;
  left: -80px;
  top: -60px;
  background: radial-gradient(circle, rgba(41, 151, 255, 0.5), transparent 70%);
}

.b2 {
  width: 360px;
  height: 360px;
  right: -60px;
  top: 40px;
  background: radial-gradient(circle, rgba(94, 92, 230, 0.45), transparent 70%);
}

.b3 {
  width: 320px;
  height: 320px;
  left: 50%;
  bottom: -100px;
  background: radial-gradient(circle, rgba(41, 151, 255, 0.35), transparent 70%);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 980px;
  background: rgba(41, 151, 255, 0.08);
  color: #5e5ce6;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(44px, 9vw, 84px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.hero-sub {
  margin: 20px auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 34px;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 28px rgba(41, 151, 255, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(41, 151, 255, 0.42);
}

.btn-ghost {
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

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

.btn-light {
  background: #fff;
  color: #5e5ce6;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* 区块 */
.section {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  margin-top: 14px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-desc {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
}

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

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(41, 151, 255, 0.28);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

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

.feature-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* 图片展示 */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 2560 / 1181;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

/* 文章 */
.article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.article-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.4;
}

.article-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.article-card p:last-child {
  margin-bottom: 0;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-list details {
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 56px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: #5e5ce6;
  transition: transform 0.25s ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list details p {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
}

/* 退款区块 */
.refund-box {
  background: var(--grad);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 24px 60px rgba(94, 92, 230, 0.3);
}

.refund-text {
  color: #fff;
}

.refund-text h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}

.refund-text p {
  opacity: 0.92;
  font-size: 15px;
  max-width: 560px;
}

/* 移动端悬浮栏 */
.mobile-cta {
  display: none;
}

/* 页脚 */
.footer {
  padding: 48px 0 40px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.footer-nav {
  margin-bottom: 18px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 2px;
}

.footer-nav a:hover {
  color: #5e5ce6;
}

.footer-hot {
  max-width: 860px;
  margin: 0 auto 18px;
  color: #b0b0b5;
  line-height: 1.9;
}

.footer-copy {
  color: #b0b0b5;
}

/* 首屏错峰淡入 */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .eyebrow { animation: rise 0.6s ease both; }
.hero .hero-title { animation: rise 0.6s ease 0.08s both; }
.hero .hero-sub { animation: rise 0.6s ease 0.16s both; }
.hero .hero-actions { animation: rise 0.6s ease 0.24s both; }

/* 响应式 */
@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 58px;
  }

  .main-nav {
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 24px;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f2;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 64px 0 48px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-actions {
    gap: 12px;
  }

  .btn {
    padding: 15px 28px;
    font-size: 15px;
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .image-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .article-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .refund-box {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }

  .mobile-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }

  .mobile-cta .btn {
    flex: 1;
  }

  body:has(.mobile-cta) {
    padding-bottom: 84px;
  }
}

/* 下载页 */
.hero-compact {
  padding: 56px 0 32px;
}

.hero-compact .hero-title {
  font-size: clamp(34px, 7vw, 60px);
}

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

.device-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 40px 28px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.device-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(41, 151, 255, 0.28);
}

.device-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.device-icon svg {
  width: 32px;
  height: 32px;
}

.device-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.device-sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.device-card .btn {
  align-self: stretch;
}

/* 退款页 */
.refund-form-box {
  max-width: 560px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.refund-hint {
  background: rgba(41, 151, 255, 0.08);
  color: #5e5ce6;
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 26px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #f7f7f9;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #5e5ce6;
  box-shadow: 0 0 0 3px rgba(94, 92, 230, 0.12);
}

.form-submit {
  width: 100%;
}

.refund-success {
  display: none;
  margin-top: 18px;
  text-align: center;
  color: #1f9d55;
  font-size: 14px;
  font-weight: 500;
}

.refund-notes {
  max-width: 560px;
  margin: 40px auto 0;
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.refund-notes h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.refund-notes ul {
  list-style: none;
  padding: 0;
}

.refund-notes li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.refund-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
}

@media (max-width: 640px) {
  .device-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .device-card {
    padding: 32px 24px 28px;
  }

  .device-card .btn {
    padding: 16px 20px;
    font-size: 17px;
  }

  .refund-form-box {
    padding: 28px 20px;
  }
}

/* 文章页 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin: 32px 0 16px;
}

.breadcrumb a {
  color: #5e5ce6;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .sep {
  color: #c7c7cc;
}

.breadcrumb .current {
  color: var(--text);
}

.post {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius);
  padding: 44px 48px;
  box-shadow: var(--shadow-sm);
}

.post h1 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 24px;
}

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

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

.post p a {
  color: #5e5ce6;
  text-decoration: none;
  font-weight: 500;
}

.post p a:hover {
  text-decoration: underline;
}

.other-guides {
  max-width: 760px;
  margin: 28px auto 0;
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
}

.other-guides h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.guide-links a {
  display: inline-block;
  padding: 10px 18px;
  background: #f5f5f7;
  border-radius: 980px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.guide-links a:hover {
  background: var(--grad);
  color: #fff;
}

/* 首页文章卡 */
.article-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.article-card h3 a:hover {
  color: #5e5ce6;
}

.read-more {
  display: inline-block;
  margin-top: 8px;
  color: #5e5ce6;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
}

.read-more:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .post {
    padding: 28px 20px;
  }

  .post h1 {
    font-size: 24px;
  }

  .other-guides {
    padding: 26px 22px;
  }
}
