/* 会员管家 Club2026 官方站样式
   品牌主色 #63BBD0（与 App theme.ts 一致） */
:root {
  --primary: #63BBD0;
  --primary-dark: #3a9bb0;
  --primary-soft: #e7f5f8;
  --text: #2f3542;
  --sub: #8b8f9a;
  --border: #eceef2;
  --bg: #ffffff;
  --bg-soft: #f5f6fa;
  --shadow: 0 10px 30px rgba(99, 187, 208, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 20px; }
.brand-logo { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; display: block; }
.brand-en { font-size: 13px; color: var(--sub); font-weight: 500; margin-left: 8px; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--text); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--primary-dark); }
.lang-switch { display: flex; gap: 4px; background: var(--bg-soft); padding: 3px; border-radius: 20px; }
.lang-btn { border: 0; background: transparent; padding: 5px 14px; border-radius: 18px; cursor: pointer; font-size: 14px; color: var(--sub); }
.lang-btn.active { background: #fff; color: var(--primary-dark); font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

/* ---- Hero ---- */
.hero { padding: 70px 0 90px; background: linear-gradient(180deg, var(--primary-soft) 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.h-s1 { color: var(--sub); font-size: 30px; font-weight: 500; }
.h-s2 { color: var(--text); font-size: 44px; font-weight: 800; line-height: 1.2; }
.hero-desc { margin: 22px 0 30px; color: var(--sub); font-size: 17px; max-width: 500px; }
.hero-cta { display: flex; gap: 14px; }
.hero-download { margin-top: 22px; }
.hero-download .hd-label { font-size: 15px; font-weight: 600; color: var(--sub); margin-bottom: 10px; }
.hero-download .hd-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-download .btn-dl,
.btn-dl {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 24px rgba(99, 187, 208, 0.30);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn-dl:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(99, 187, 208, 0.42); filter: brightness(1.04); }
.btn-dl:active { transform: translateY(0); box-shadow: 0 6px 16px rgba(99, 187, 208, 0.28); }
.btn-dl:focus-visible { outline: 3px solid rgba(99, 187, 208, 0.55); outline-offset: 2px; }
.btn-dl .dl-ico { width: 28px; height: 28px; flex: none; display: flex; align-items: center; justify-content: center; }
.btn-dl .dl-ico svg { width: 26px; height: 26px; max-width: 26px; max-height: 26px; display: block; }
.btn-dl .dl-text { display: flex; flex-direction: column; line-height: 1.18; text-align: left; }
.btn-dl .dl-sub { font-size: 11px; font-weight: 500; opacity: .9; letter-spacing: .4px; }
.btn-dl .dl-main { font-size: 16px; font-weight: 800; white-space: nowrap; }
.hero-img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); display: block; }

.btn { border: 0; cursor: pointer; font-size: 16px; font-weight: 700; padding: 13px 28px; border-radius: 30px; transition: all .2s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: #fff; color: var(--primary-dark); border: 2px solid var(--primary); }
.btn-ghost:hover { background: var(--primary-soft); }
.btn-lg { font-size: 18px; padding: 15px 42px; }

/* ---- Sections ---- */
.section-head { text-align: center; padding: 30px 0 44px; }
.section-head h2 { font-size: 32px; font-weight: 800; }
.section-head p { color: var(--sub); margin-top: 12px; font-size: 16px; }

.features { padding: 30px 0 80px; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 16px;
  padding: 26px 22px; transition: all .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.card-ico { font-size: 32px; margin-bottom: 14px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--sub); font-size: 14px; }

.how { background: var(--bg-soft); padding: 60px 0 80px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 10px; }
.step { text-align: center; padding: 30px 20px; }
.step-num {
  width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff;
  font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--sub); }

.languages { padding: 70px 0; }
.lang-list { font-size: 18px; letter-spacing: .5px; }

/* ---- CTA ---- */
.cta { padding: 20px 0 90px; }
.cta-box {
  text-align: center; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border-radius: 24px; padding: 64px 40px;
}
.cta-box h2 { font-size: 32px; font-weight: 800; }
.cta-box p { margin: 16px 0 28px; font-size: 17px; opacity: .95; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-box .btn-primary { background: #fff; color: var(--primary-dark); }
.cta-box .btn-primary:hover { background: var(--primary-soft); }

/* ---- Contact (WhatsApp) ---- */
.contact { padding: 0 0 90px; }
.contact-box { text-align: center; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 24px; padding: 56px 40px; }
.contact-box h2 { font-size: 30px; font-weight: 800; }
.contact-box p { color: var(--sub); margin: 14px auto 26px; font-size: 16px; max-width: 560px; }
.btn-wa { display: inline-flex; align-items: center; gap: 12px; padding: 13px 28px; border-radius: 14px; background: linear-gradient(135deg, #25D366, #1ebe5d); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.30); transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37,211,102,.42); filter: brightness(1.04); }
.btn-wa:active { transform: translateY(0); }
.btn-wa:focus-visible { outline: 3px solid rgba(37,211,102,.5); outline-offset: 2px; }
.btn-wa .wa-ico { width: 30px; height: 30px; flex: none; display: flex; align-items: center; justify-content: center; }
.btn-wa .wa-ico svg { width: 28px; height: 28px; display: block; }
.btn-wa .wa-text { display: flex; flex-direction: column; line-height: 1.18; text-align: left; }
.btn-wa .wa-sub { font-size: 11px; font-weight: 500; opacity: .9; letter-spacing: .4px; }
.btn-wa .wa-main { font-size: 17px; font-weight: 800; white-space: nowrap; }

/* ---- Footer ---- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; padding: 26px 24px; font-size: 14px; color: var(--sub); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .h-s2 { font-size: 34px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}