/* ===== FortuneKid 官网样式 ===== */

:root {
  --bg: #fffdf9;
  --bg-alt: #fff5e9;
  --ink: #2b2320;
  --ink-soft: #6b6058;
  --accent: #ff8a3d;      /* 温暖橙 */
  --accent-2: #ffc93c;    /* 阳光黄 */
  --accent-3: #4ec3b0;    /* 薄荷绿 */
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(43, 35, 32, 0.08);
  --radius: 18px;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI",
    "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== 导航 ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 48px);
  background: rgba(255, 253, 249, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(43, 35, 32, 0.06);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; }
.brand-mark { font-size: 1.5rem; }
.nav-links { display: flex; gap: clamp(14px, 3vw, 32px); font-weight: 600; color: var(--ink-soft); }
.nav-links a:hover { color: var(--accent); }

/* ===== Hero ===== */
.hero {
  padding: clamp(64px, 12vw, 140px) clamp(20px, 5vw, 48px);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(255, 201, 60, 0.35), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(78, 195, 176, 0.22), transparent 55%),
    var(--bg);
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; }
.eyebrow { letter-spacing: 0.28em; font-weight: 700; color: var(--accent); font-size: 0.8rem; margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.lede { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--ink-soft); max-width: 620px; margin-bottom: 32px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255, 138, 61, 0.35); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid rgba(43, 35, 32, 0.12); }

/* ===== 通用 section ===== */
.section { padding: clamp(56px, 9vw, 100px) clamp(20px, 5vw, 48px); }
.section-alt { background: var(--bg-alt); }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 18px; }
.section-lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 640px; margin-bottom: 40px; }

/* ===== 数据条 ===== */
.stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 5vw, 60px); }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--accent); }
.stat-label { color: var(--ink-soft); font-weight: 600; }

/* ===== 卡片 ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease;
}
.card:hover { transform: translateY(-4px); }
.card-icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); }

/* ===== 联系 ===== */
.contact { text-align: center; }
.contact .section-lead { margin: 0 auto 28px; }
.contact-mail {
  display: inline-block;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 800;
  color: var(--accent);
  padding: 14px 34px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
}
.contact-mail:hover { color: #fff; background: var(--accent); }
.addr { margin-top: 22px; color: var(--ink-soft); font-size: 0.95rem; }

/* ===== 页脚 ===== */
.footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  border-top: 1px solid rgba(43, 35, 32, 0.06);
}

/* ===== 响应式 ===== */
@media (max-width: 560px) {
  .nav-links { gap: 14px; font-size: 0.9rem; }
  .brand-name { display: none; }
}
