/* ===== Variables ===== */
:root {
  --green: #07c160;
  --green-dark: #06a452;
  --green-light: #e8f8ef;
  --green-glow: rgba(7, 193, 96, 0.35);
  --bg-dark: #0b1410;
  --bg-card: #111a15;
  --text: #1a2e23;
  --text-muted: #5a6f64;
  --text-light: #8fa89a;
  --white: #ffffff;
  --border: rgba(7, 193, 96, 0.12);
  --shadow: 0 20px 60px rgba(7, 60, 35, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: 'Outfit', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', sans-serif;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: #f6faf8;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; }

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px var(--green-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--green-glow);
}

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-ghost:hover { background: rgba(255,255,255,0.14); }

.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-xl { padding: 18px 40px; font-size: 17px; }

/* 下载按钮流光（参考金舟多聊：中心扩散波纹） */
.btn-shine {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 0;
  height: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.22);
  transform: translate(-50%, -50%);
  animation: btn-diffusion 1.5s linear infinite;
  pointer-events: none;
}

.btn-primary .btn-shine {
  animation: btn-diffusion-lg 1.5s linear infinite;
}

.btn-primary > *:not(.btn-shine),
.float-download > *:not(.btn-shine) {
  position: relative;
  z-index: 1;
}

@keyframes btn-diffusion {
  0% {
    width: 0;
    height: 0;
  }
  100% {
    width: 400px;
    height: 400px;
  }
}

@keyframes btn-diffusion-lg {
  0% {
    width: 0;
    height: 0;
  }
  100% {
    width: 600px;
    height: 600px;
  }
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 20, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.3s;
}

.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.3); }

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo { width: 36px; height: 36px; border-radius: 8px; }

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover { color: var(--green); }

.header-cta { flex-shrink: 0; }

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px 24px;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mobile-nav a { color: rgba(255,255,255,0.8); font-size: 15px; padding: 8px 0; }
.mobile-nav.open { display: flex; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 80px;
  background: var(--bg-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(7,193,96,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(7,193,96,0.08) 0%, transparent 50%),
    linear-gradient(160deg, #0b1410 0%, #0f1f18 50%, #0b1410 100%);
}

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

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(7,193,96,0.15);
  border: 1px solid rgba(7,193,96,0.3);
  border-radius: 999px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.text-gradient {
  background: linear-gradient(135deg, #4ade80, var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  max-width: 480px;
  margin-bottom: 24px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-bottom: 32px;
}

.hero-tags li {
  padding: 6px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}

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

.hero-meta { color: rgba(255,255,255,0.4); font-size: 13px; }

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-image-wrap img { width: 100%; }

.hero-float-card {
  position: absolute;
  padding: 10px 16px;
  background: rgba(255,255,255,0.95);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 3s ease-in-out infinite;
}

.card-1 { top: 16%; left: -10px; animation-delay: 0s; }
.card-2 { bottom: 20%; right: -10px; animation-delay: 1.5s; }

.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-green { background: var(--green); }
.dot-blue { background: #3b82f6; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== Sections ===== */
.section { padding: 88px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}

.section-head p { color: var(--text-muted); font-size: 16px; }

/* ===== Features ===== */
.features { background: var(--white); }

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

.feature-card {
  padding: 32px 28px;
  background: #f6faf8;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 16px;
}

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

.feature-card p { color: var(--text-muted); font-size: 14px; }

/* ===== Showcase ===== */
.showcase-alt { background: #f0f7f3; }

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

.showcase-row.reverse { direction: rtl; }
.showcase-row.reverse > * { direction: ltr; }

.showcase-text h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.3;
}

.check-list {
  list-style: none;
  margin-bottom: 32px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 15px;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.showcase-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ===== Scenes ===== */
.scenes { background: var(--white); }

.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.scene-card {
  padding: 28px 24px;
  background: linear-gradient(145deg, #f6faf8, #edf5f0);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.scene-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.scene-card p { font-size: 14px; color: var(--text-muted); }

.scene-banner img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

/* ===== Steps ===== */
.steps { background: var(--bg-dark); }

.steps .section-head h2 { color: var(--white); }

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.step-item {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  width: 200px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 12px;
}

.step-item h3 { color: var(--white); font-size: 16px; margin-bottom: 8px; }
.step-item p { color: rgba(255,255,255,0.5); font-size: 13px; }

.step-arrow { color: rgba(255,255,255,0.2); font-size: 24px; }

/* ===== Reviews ===== */
.reviews { background: #f0f7f3; }

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

.review-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.review-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.review-card footer {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
}

/* ===== Download CTA ===== */
.download-cta {
  background: linear-gradient(135deg, #0b1410 0%, #0f2a1c 100%);
  padding: 80px 0;
}

.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.download-text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.download-text > p { color: rgba(255,255,255,0.6); margin-bottom: 24px; }

.download-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.download-info li { color: rgba(255,255,255,0.55); font-size: 14px; }
.download-info strong { color: rgba(255,255,255,0.85); margin-right: 8px; }

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

.download-detect {
  margin: 16px 0 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  min-height: 20px;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.download-btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.download-btn.is-recommended {
  box-shadow: 0 8px 32px rgba(7, 193, 96, 0.35);
}

.download-btn-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  font-size: 12px;
  font-weight: 600;
  vertical-align: middle;
}

.download-other {
  margin-top: 4px;
  width: 100%;
}

.download-other-title {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
}

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

.download-other-links a {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-other-links a:hover {
  color: var(--green);
}

.download-loading {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
}

.download-hint {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== Disclaimer ===== */
.disclaimer-strip {
  background: linear-gradient(90deg, #fff3e0 0%, #ffe8e8 50%, #fff3e0 100%);
  border-top: 3px solid #ff6b35;
  border-bottom: 3px solid #ff6b35;
  padding: 16px 0;
  animation: disclaimer-pulse 2.5s ease-in-out infinite;
}

@keyframes disclaimer-pulse {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(255, 107, 53, 0); }
  50% { box-shadow: inset 0 0 24px rgba(255, 107, 53, 0.12); }
}

.disclaimer-strip-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.disclaimer-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: #e65100;
}

.disclaimer-strip-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 15px;
  color: #bf360c;
  line-height: 1.6;
}

.disclaimer-strip-text strong {
  font-size: 16px;
  color: #d84315;
  white-space: nowrap;
}

.disclaimer-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto 20px;
  padding: 16px 20px;
  background: rgba(255, 107, 53, 0.15);
  border: 2px solid #ff6b35;
  border-radius: 12px;
  text-align: left;
}

.disclaimer-box svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #ff8a50;
  margin-top: 2px;
}

.disclaimer-box p {
  font-size: 14px;
  color: #ffccbc;
  line-height: 1.7;
}

.disclaimer-box strong {
  color: #ffab91;
}

.footer-disclaimer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 640px;
  margin: 12px auto 0;
  padding: 12px 20px;
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.35);
  border-radius: 8px;
  color: #ffab91;
  font-size: 13px;
  line-height: 1.6;
}

.footer-disclaimer svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #ff6b35;
}

.footer-disclaimer strong {
  color: #ff8a50;
}

/* ===== Footer ===== */
.site-footer {
  background: #080f0c;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-logo { border-radius: 6px; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--green); }

.footer-copy, .footer-icp {
  color: rgba(255,255,255,0.3);
  font-size: 12px;
  margin-top: 6px;
}

/* ===== Float Download ===== */
.float-download {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 32px var(--green-glow);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulse-btn 2.5s ease-in-out infinite;
  overflow: hidden;
}

.float-download svg { width: 18px; height: 18px; }

.float-download:hover {
  transform: scale(1.05);
  animation: none;
}

@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 8px 32px var(--green-glow); }
  50% { box-shadow: 0 8px 48px rgba(7,193,96,0.55); }
}

/* ===== Modal ===== */
.modal[hidden] { display: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.modal-body h3 { font-size: 20px; margin-bottom: 16px; }
.modal-body p { color: var(--text-muted); font-size: 14px; margin-bottom: 12px; line-height: 1.8; }

/* ===== Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-row { grid-template-columns: 1fr; gap: 32px; }
  .showcase-row.reverse { direction: ltr; }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .step-arrow { display: none; }
  .steps-grid { gap: 16px; }
}

@media (max-width: 640px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .feature-grid { grid-template-columns: 1fr; }
  .scene-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .download-inner { flex-direction: column; text-align: center; }
  .download-info { align-items: center; }
  .hero-float-card { display: none; }
  .float-download { right: 16px; bottom: 20px; padding: 12px 20px; font-size: 14px; }
  .disclaimer-strip-text { font-size: 14px; }
  .disclaimer-strip-text strong { font-size: 14px; }
}
