* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --brand: #10b981;
  --brand-dark: #059669;
  --brand-light: #6ee7b7;
  --brand-bg: #ecfdf5;
  --brand-bg2: #d1fae5;
  --text: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --surface: #ffffff;
  --bg: #f8fafc;
  --border: #e5e7eb;
  --shadow: 0 4px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 60px rgba(16,185,129,.12);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1120px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}
.nav-brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--brand-dark); text-decoration: none; }

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 24px 100px;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(16,185,129,.18), transparent),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(5,150,105,.08), transparent),
    linear-gradient(180deg, #f0fdf4 0%, var(--bg) 100%);
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.hero-tagline {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-secondary);
  box-shadow: var(--shadow);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 16px rgba(16,185,129,.35);
}
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--brand-dark); }

/* Section */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 24px;
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-head p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Feature cards grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--brand-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }

/* Showcase blocks */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}
.showcase:last-child { margin-bottom: 0; }
.showcase.reverse .showcase-text { order: 2; }
.showcase.reverse .showcase-media { order: 1; }
.showcase-text h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.showcase-text p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.showcase-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.showcase-text li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 22px;
  position: relative;
}
.showcase-text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
}
.showcase-media {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.phone-frame {
  width: min(220px, 42vw);
  aspect-ratio: 1260 / 2844;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid #1a1a1a;
  background: #1a1a1a;
  flex-shrink: 0;
}
.phone-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.phone-frame.sm { width: min(180px, 36vw); }

/* 同一行内并排的手机截图统一宽度与高度 */
.showcase-media:has(.phone-frame) .phone-frame,
.showcase-media:has(.phone-frame) .phone-frame.sm {
  width: min(200px, 38vw);
}

.browser-frame {
  width: min(560px, 92vw);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.browser-frame img { display: block; width: 100%; height: auto; }

@media (max-width: 768px) {
  .showcase { grid-template-columns: 1fr; gap: 28px; }
  .showcase.reverse .showcase-text,
  .showcase.reverse .showcase-media { order: unset; }
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
}
.gallery-item img { width: 100%; display: block; }
.gallery-item figcaption {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  border-top: 1px solid var(--border);
}

/* Platforms */
.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.platform-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
}

/* Downloads */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.download-card:hover {
  text-decoration: none;
  border-color: var(--brand-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.download-icon { font-size: 32px; }
.download-card strong { font-size: 16px; }
.download-meta {
  font-size: 13px;
  color: var(--text-muted);
}
.download-btn {
  margin-top: 8px;
  padding: 6px 20px;
  background: var(--brand-bg);
  color: var(--brand-dark);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.download-web {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 12px;
}
.faq-item h4 { font-size: 15px; margin-bottom: 6px; }
.faq-item p { font-size: 14px; color: var(--text-secondary); }

/* Contact */
.contact-qr-only {
  display: flex;
  justify-content: center;
  padding: 0 16px;
}
.contact-qr-only img {
  display: block;
  width: min(280px, 72vw);
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}

/* Footer */
.footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 48px 24px;
  text-align: center;
  font-size: 14px;
}
.footer strong { color: #fff; }
.footer p { margin: 6px 0; }

.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
