/* ==========================================
   无畏契约辅助 - 基础结构样式 (Stripe风格)
   关键视觉样式由 script.js 动态注入
   缺少 JS 时网站将显示为错乱状态
   ========================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html:not(.noon) body {
            filter: blur(10px);
            -webkit-filter: blur(10px);
        }
        body {
            transition: filter 0.5s ease, opacity 0.5s ease;
        }


body {
  font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 32px;
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.nav-logo-icon {
  font-size: 14px;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  transition: opacity 0.15s;
}

.nav-cta {
  padding: 7px 16px;
  border-radius: 4px;
  font-weight: 500 !important;
  font-size: 14px !important;
  transition: all 0.15s !important;
}

/* ---- Hero ---- */
.hero {
  padding: 140px 32px 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 56px;
}

.btn-purple {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.15s;
}

.btn-purple svg {
  transition: transform 0.15s;
}

.btn-purple:hover svg {
  transform: translateX(3px);
}

.btn-ghost {
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 400;
  border: 1px solid;
  transition: all 0.15s;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 20px;
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.metric-plus {
  font-weight: 400;
  font-size: 18px;
}

.metric-label {
  font-size: 13px;
  margin-top: 2px;
}

.metric-divider {
  width: 1px;
  height: 36px;
}

/* ---- Hero Visual Card ---- */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 360px;
  border-radius: 6px;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
}

.hero-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero-card-body {
  padding: 20px 24px 28px;
}

.hero-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.hero-card-label {
  font-size: 14px;
}

.hero-card-value {
  font-size: 14px;
  font-weight: 500;
}

.hero-card-value-on {
  font-size: 13px;
}

/* ---- Section Head ---- */
.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 16px;
  line-height: 1.55;
}

/* ---- Features ---- */
.features {
  padding: 100px 32px;
}

.features-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 28px;
  border-radius: 6px;
  border: 1px solid;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
}

.feature-icon {
  margin-bottom: 18px;
  display: inline-block;
}

.feature-name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.feature-points {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-points li {
  font-size: 13px;
  font-weight: 500;
  padding-left: 14px;
  position: relative;
}

.feature-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

/* ---- Gallery ---- */
.gallery {
  padding: 100px 32px;
}

.image-gallery {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 24px;
}

.gallery-card {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-card:hover {
  transform: scale(1.01);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.gallery-card-label {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
}

/* ---- Downloads ---- */
.downloads {
  padding: 100px 32px;
}

.downloads-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.download-card {
  padding: 28px 20px;
  border-radius: 6px;
  border: 1px solid;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.download-card:hover {
  transform: translateY(-3px);
}

.download-icon {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}

.download-name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.download-desc {
  font-size: 13px;
  margin-bottom: 18px;
}

.btn-download {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid;
  transition: all 0.15s;
}

/* ---- Refund ---- */
.refund {
  padding: 100px 32px;
}

.refund-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 48px;
  border-radius: 6px;
  border: 1px solid;
}

.refund-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}

.refund-title {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 300;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.refund-desc {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.btn-refund {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.15s;
}

.btn-refund svg {
  transition: transform 0.15s;
}

.btn-refund:hover svg {
  transform: translateX(3px);
}

/* ---- Footer ---- */
.footer {
  padding: 56px 32px 28px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid;
  margin-bottom: 20px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 13px;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  font-size: 14px;
  transition: opacity 0.15s;
}

.footer-nav a:hover {
  opacity: 0.7;
}

.footer-bottom p {
  font-size: 13px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-card {
    max-width: 100%;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

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

  .refund-inner {
    padding: 40px 24px;
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero-metrics {
    gap: 12px;
  }

  .metric-value {
    font-size: 22px;
  }

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

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

  .download-platforms {
    grid-template-columns: 1fr 1fr;
  }

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

  .refund-steps-list {
    flex-direction: column;
    gap: 16px;
  }

  .refund-step-arrow {
    transform: rotate(90deg);
  }
}

/* ==========================================
   下载页 (download.html) 专属样式
   ========================================== */

.download-page {
  padding-top: 64px;
}

.download-hero {
  text-align: center;
  padding: 80px 32px 56px;
}

.download-hero-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.download-hero-desc {
  font-size: 16px;
  line-height: 1.55;
  max-width: 400px;
  margin: 0 auto;
}

.download-platforms {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.btn-download-lg {
  padding: 12px 24px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-download-lg svg {
  transition: transform 0.15s;
}

.btn-download-lg:hover svg {
  transform: translateX(3px);
}

.download-refund {
  padding: 60px 32px 80px;
}

/* ==========================================
   退款页 (refund.html) 专属样式
   ========================================== */

.refund-page {
  padding-top: 64px;
}

.refund-hero {
  text-align: center;
  padding: 80px 32px 56px;
}

.refund-hero-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
  margin-top: 8px;
}

.refund-hero-desc {
  font-size: 17px;
  line-height: 1.55;
  max-width: 460px;
  margin: 0 auto;
}

.refund-info {
  padding: 0 32px 80px;
}

.refund-info-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.refund-info-card {
  padding: 28px;
  border-radius: 6px;
  border: 1px solid;
  text-align: center;
}

.refund-info-icon {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}

.refund-info-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.refund-info-desc {
  font-size: 14px;
  line-height: 1.55;
}

.refund-steps {
  padding: 0 32px 80px;
}

.refund-steps-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}

.refund-step {
  flex: 1;
  text-align: center;
  padding: 24px 16px;
}

.refund-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 14px;
}

.refund-step-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.refund-step-desc {
  font-size: 14px;
  line-height: 1.55;
}

.refund-step-arrow {
  display: flex;
  align-items: center;
  padding-top: 32px;
  flex-shrink: 0;
}

.refund-cta-section {
  padding: 0 32px 80px;
}
