*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  color: #1f2430;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }

:root {
  --primary: #ff8a3d;
  --primary-dark: #e56a15;
  --gold: #f5b642;
  --bg-alt: #fff6ea;
  --border: #ececec;
  --text: #1f2430;
  --muted: #6b7180;
  --shadow: 0 8px 24px rgba(255, 138, 61, 0.18);
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; }
.logo-icon { font-size: 24px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, #ff8a3d, #e56a15);
  color: #fff !important; padding: 8px 18px; border-radius: 999px;
}

/* Hero */
.hero {
  background: radial-gradient(ellipse at top left, #ffe6cc 0%, #fff 45%),
              radial-gradient(ellipse at bottom right, #ffd9a8 0%, #fff 55%);
  padding: 80px 0 100px;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: #ffe6d1; color: var(--primary-dark);
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: 64px; line-height: 1.1; margin-bottom: 20px; }
.lead { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; margin-bottom: 40px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, #ff8a3d, #e56a15);
  color: #fff; box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,138,61,.32); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid #d9d9d9; }
.btn-ghost:hover { background: #fafafa; }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-white:hover { background: #fff6ea; }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.stats { display: flex; gap: 40px; }
.stats > div { display: flex; flex-direction: column; }
.stats strong { font-size: 26px; color: var(--primary-dark); }
.stats span { font-size: 13px; color: var(--muted); }

/* Phone mock */
.hero-visual { display: flex; justify-content: center; }
.phone {
  width: 300px; height: 600px; border-radius: 44px;
  background: linear-gradient(160deg, #2b2f3a, #14161d);
  padding: 14px; box-shadow: 0 30px 60px rgba(20,22,29,0.35);
  position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 22px; background: #14161d; border-radius: 20px;
}
.phone-screen {
  background: linear-gradient(180deg, #fff6ea, #fff);
  border-radius: 32px; width: 100%; height: 100%;
  padding: 50px 14px 16px; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.screen-header {
  font-weight: 700; font-size: 15px; text-align: center; margin-bottom: 10px; color: var(--primary-dark);
}
.banner-mock {
  background: linear-gradient(135deg, #ff8a3d, #f5b642);
  color: #fff; border-radius: 14px; padding: 20px 14px; text-align: center;
  font-weight: 700; margin-bottom: 12px;
}
.cat-mock { display: flex; justify-content: space-between; margin-bottom: 12px; }
.cat-mock span {
  background: #fff; border: 1px solid var(--border); padding: 6px 10px;
  border-radius: 10px; font-size: 12px;
}
.hot-title { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.hot-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.hot-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px 4px; text-align: center; }
.hot-img { font-size: 26px; margin-bottom: 4px; }
.hot-price { font-size: 11px; color: var(--primary-dark); font-weight: 700; }
.phone-tab {
  margin-top: auto; padding: 10px; text-align: center; background: #fff;
  border-top: 1px solid var(--border); border-radius: 0 0 24px 24px; margin: auto -14px -16px;
  font-size: 14px; letter-spacing: 4px;
}

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 40px; text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--muted); font-size: 17px; margin-bottom: 56px; }

/* Grid */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  padding: 32px 24px; transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); border-color: #ff8a3d33; }
.card-icon { font-size: 44px; margin-bottom: 16px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }

/* Flow */
.flow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.flow-step {
  flex: 1; text-align: center; background: #fff; padding: 24px 16px;
  border: 1px solid var(--border); border-radius: 20px;
}
.flow-num {
  width: 44px; height: 44px; margin: 0 auto 12px;
  background: linear-gradient(135deg, #ff8a3d, #e56a15); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px;
}
.flow-step h4 { font-size: 16px; margin-bottom: 4px; }
.flow-step p { margin: 0; color: var(--muted); font-size: 13px; }
.flow-arrow { color: var(--primary); font-size: 24px; font-weight: 700; }

/* Screens preview */
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: end; }
.screen-item { display: flex; flex-direction: column; align-items: center; }
.mini-phone {
  width: 260px; background: #fff; border: 6px solid #14161d;
  border-radius: 32px; padding: 20px 16px;
  box-shadow: 0 20px 40px rgba(20,22,29,0.18);
}
.mini-title { font-weight: 800; font-size: 16px; margin-bottom: 12px; text-align: center; }
.mini-points { font-size: 14px; color: var(--muted); text-align: center; }
.mini-streak { font-size: 12px; color: var(--primary-dark); text-align: center; margin-bottom: 12px; font-weight: 700; }
.calendar { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; margin-bottom: 14px; }
.cal-day {
  height: 28px; border-radius: 6px; background: #f6f6f6;
  display: flex; align-items: center; justify-content: center; font-size: 12px;
}
.cal-day.off { background: transparent; color: var(--muted); font-size: 11px; }
.cal-day.done { background: #ffe6d1; color: var(--primary-dark); font-weight: 700; }
.cal-day.today { background: linear-gradient(135deg, #ff8a3d, #e56a15); color: #fff; font-weight: 700; }
.mini-btn {
  background: linear-gradient(135deg, #ff8a3d, #e56a15);
  color: #fff; text-align: center; padding: 10px; border-radius: 999px;
  font-weight: 700; font-size: 14px;
}
.prod-img {
  font-size: 80px; text-align: center; background: #fff6ea;
  border-radius: 14px; padding: 20px; margin-bottom: 12px;
}
.prod-name { font-weight: 700; margin-bottom: 6px; }
.prod-price { color: #999; text-decoration: line-through; font-size: 13px; }
.prod-points { color: var(--primary-dark); font-weight: 800; font-size: 18px; margin: 4px 0; }
.prod-sale { color: var(--muted); font-size: 12px; margin-bottom: 14px; }
.user-row { display: flex; align-items: center; gap: 12px; padding: 8px 0 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; background: #ffe6d1;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.user-name { font-weight: 700; }
.user-phone { color: var(--muted); font-size: 12px; }
.asset-card {
  background: linear-gradient(135deg, #ff8a3d, #f5b642);
  color: #fff; border-radius: 14px; padding: 14px; text-align: center; margin-bottom: 12px;
}
.asset-label { font-size: 12px; opacity: 0.9; }
.asset-value { font-size: 26px; font-weight: 800; }
.asset-money { font-size: 12px; opacity: 0.9; }
.menu-list > div {
  padding: 10px 8px; border-bottom: 1px solid var(--border); font-size: 14px;
}
.menu-list > div:last-child { border-bottom: none; }
.screen-caption { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* Rules */
.rules {
  max-width: 780px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.rule {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 18px; font-size: 15px;
}

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 22px; margin-bottom: 12px; cursor: pointer;
}
.faq summary {
  list-style: none; font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after { content: "+"; color: var(--primary); font-size: 22px; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin: 12px 0 0; font-size: 15px; }

/* Download */
.download {
  background: linear-gradient(135deg, #ff8a3d 0%, #e56a15 100%);
  color: #fff; text-align: center;
}
.download h2 { font-size: 40px; margin-bottom: 12px; }
.download p { font-size: 17px; opacity: 0.95; margin-bottom: 32px; }
.download-cta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.download .small { font-size: 13px; opacity: 0.85; }

/* Footer */
.footer { background: #14161d; color: #b6bac5; padding: 60px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.footer .logo { color: #fff; }
.footer-desc { color: #8b8f9c; margin-top: 8px; font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h5 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer-cols a { display: block; padding: 4px 0; color: #b6bac5; font-size: 14px; }
.footer-cols a:hover { color: #fff; }
.footer-copy {
  text-align: center; color: #6b6f7d; font-size: 13px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid #262933;
}

/* Responsive */
@media (max-width: 960px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 60px 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 44px; }
  .hero-visual { order: -1; }
  .phone { width: 240px; height: 480px; }
  .grid-3 { grid-template-columns: repeat(1, 1fr); }
  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .screens { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-title { font-size: 30px; }
}
