/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #2ecc71;
  --green-dark: #27ae60;
  --green-light: #e8faf2;
  --blue: #3498db;
  --blue-light: #e8f4ff;
  --yellow: #f1c40f;
  --yellow-light: #fffbe8;
  --orange: #e67e22;
  --orange-light: #fff3e8;
  --text: #1a2332;
  --text-muted: #6b7a8d;
  --border: #e8edf2;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,.07);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-icon { font-size: 22px; color: var(--green); }
.logo-text { font-size: 18px; font-weight: 700; color: var(--text); }
.nav-links {
  display: flex; gap: 28px; list-style: none; margin-left: auto;
}
.nav-links a {
  text-decoration: none; color: var(--text-muted); font-size: 15px;
  transition: color .2s;
}
.nav-links a:hover { color: var(--green); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 50px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  cursor: pointer; border: none; transition: all .2s;
}
.btn-nav {
  background: var(--green); color: white;
  padding: 8px 20px; font-size: 14px;
}
.btn-nav:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-primary {
  background: var(--green); color: white;
  padding: 14px 32px; font-size: 16px;
  box-shadow: 0 4px 20px rgba(46,204,113,.35);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(46,204,113,.4); }
.btn-ghost {
  background: transparent; color: var(--text-muted);
  border: 1.5px solid var(--border);
  padding: 14px 28px; font-size: 16px;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-download {
  background: var(--text); color: white;
  padding: 13px 26px; font-size: 15px;
}
.btn-download:hover { background: #2c3e50; transform: translateY(-2px); }

/* ===== Section commons ===== */
.section-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  background: var(--green-light); color: var(--green-dark);
  font-size: 13px; font-weight: 600; letter-spacing: .06em;
  padding: 4px 14px; border-radius: 50px; margin-bottom: 16px;
}
.section-tag.light { background: rgba(255,255,255,.2); color: white; }
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-desc { font-size: 17px; color: var(--text-muted); max-width: 520px; margin: 0 auto; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  padding: 120px 24px 80px;
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; gap: 60px;
}
.hero-content { flex: 1; max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-light); color: var(--green-dark);
  font-size: 13px; font-weight: 600; padding: 6px 16px;
  border-radius: 50px; margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900; line-height: 1.15;
  margin-bottom: 20px; color: var(--text);
}
.highlight { color: var(--green); }
.hero-desc {
  font-size: 17px; color: var(--text-muted);
  line-height: 1.75; margin-bottom: 36px; max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 26px; font-weight: 800; color: var(--text); }
.stat-label { font-size: 13px; color: var(--text-muted); }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ===== Hero Image ===== */
.hero-visual { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; }
.hero-img-wrap {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}
.hero-img-glow {
  position: absolute;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(46,204,113,.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-img {
  position: relative; z-index: 1;
  max-width: 480px; width: 100%;
  object-fit: contain;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.12));
}

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

/* ===== Features ===== */
.features { padding: 100px 0; background: #fafcfb; }

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

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,.09);
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-icon.green { background: var(--green-light); color: var(--green-dark); }
.feature-icon.blue  { background: var(--blue-light);  color: var(--blue); }
.feature-icon.yellow{ background: var(--yellow-light); color: #c9a800; }
.feature-icon.orange{ background: var(--orange-light); color: var(--orange); }

.feature-body { display: flex; flex-direction: column; gap: 10px; }
.feature-body h3 { font-size: 17px; font-weight: 700; color: var(--text); }
.feature-body p  { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

.feature-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 4px;
}
.feature-tags span {
  font-size: 12px; color: var(--text-muted);
  background: var(--border);
  padding: 3px 10px; border-radius: 50px;
}

/* ===== How it works ===== */
.how-it-works { padding: 100px 0; }
.steps {
  display: flex; align-items: flex-start; gap: 16px;
  justify-content: center; flex-wrap: wrap;
}
.step {
  flex: 1; min-width: 200px; max-width: 280px;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  font-size: 40px; font-weight: 900; color: var(--green-light);
  -webkit-text-stroke: 2px var(--green);
  margin-bottom: 16px; display: block;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.step-arrow {
  font-size: 24px; color: var(--green); align-self: center;
  padding-top: 0; opacity: .5;
}

/* ===== Download ===== */
.download {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
  color: white;
}
.download-inner {
  display: flex; align-items: center; gap: 80px; flex-wrap: wrap;
}
.download-text { flex: 1; min-width: 280px; }
.download-text h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  line-height: 1.2; margin-bottom: 16px; color: white;
}
.download-text p { font-size: 17px; color: rgba(255,255,255,.65); margin-bottom: 32px; }
.download-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.download-note { font-size: 13px; color: rgba(255,255,255,.4); }
.download-qr { display: flex; justify-content: center; align-items: center; }
.qr-box {
  border-radius: 20px;
  padding: 0; text-align: center;
}
.qr-placeholder { margin-bottom: 10px; }
.qr-placeholder img { width: 420px; height: auto; border-radius: 16px; display: block; }
.qr-label { font-size: 13px; color: rgba(255,255,255,.6); font-weight: 500; }

/* ===== Footer ===== */
.footer {
  background: #111820; padding: 32px 24px;
}
.footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer .logo-text { color: white; font-size: 16px; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,.35); margin-left: auto; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.4); text-decoration: none; }
.footer-links a:hover { color: var(--green); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero { flex-direction: column; padding-top: 100px; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { width: 100%; }
  .hero-img { max-width: 320px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .download-inner { flex-direction: column; text-align: center; }
  .download-btns { justify-content: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-copy { margin-left: 0; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
}
