/* ===== 悦恋官网 styles ===== */
:root {
  --grad: linear-gradient(135deg, #23B5B2 0%, #157C7A 100%);
  --grad-rev: linear-gradient(315deg, #23B5B2 0%, #157C7A 100%);
  --teal: #1A9795;
  --teal-lt: #56c7c4;
  --pink: #FF6B9D;
  --ink: #14201f;
  --t1: #2c3a39;
  --t2: #5f6f6e;
  --t3: #9aa7a6;
  --bg: #ffffff;
  --bg-soft: #f2faf9;
  --line: #e3efee;
  --radius: 18px;
  --shadow: 0 10px 40px rgba(26, 151, 149, 0.13);
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--t1); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
  padding: 14px 30px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--grad); color: #fff; border: none; cursor: pointer;
  box-shadow: 0 8px 24px rgba(26, 151, 149, 0.32);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(26, 151, 149, 0.42); }
.btn::after { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); }
.btn:hover::after { animation: shine .8s ease; }
@keyframes shine { to { left: 130%; } }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--teal); box-shadow: none; border: 1.5px solid var(--teal-lt); }
.btn-ghost:hover { background: rgba(26,151,149,.06); box-shadow: none; }
.btn-ghost::after { display: none; }

/* 导航 */
.site-header {
  position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { border-radius: 10px; }
.brand-name { font-size: 20px; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; color: var(--t1); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--teal); }
.nav-links a.btn { color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* Hero */
.hero {
  position: relative; overflow: hidden; background: var(--bg-soft);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("assets/hero/bg.webp") center right / cover no-repeat;
}
/* 左侧浅色蒙版，保证文字可读 */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, #f4faf9 0%, rgba(244,250,249,.92) 34%, rgba(244,250,249,.55) 50%, rgba(244,250,249,0) 66%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; padding: 90px 24px 96px; }
.hero-copy { max-width: 540px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--teal); background: rgba(26,151,149,.1); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { font-size: 50px; line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; }
.hero-sub { margin: 22px 0 30px; font-size: 17px; color: var(--t2); max-width: 480px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-stats { display: flex; align-items: flex-start; gap: 40px; margin-top: 8px; list-style: none; }
.hero-stats li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hero-stats strong { font-size: 26px; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 13px; color: var(--t2); }

/* section */
.section { padding: 86px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.section-head h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.01em; }
.section-head p { margin-top: 14px; color: var(--t2); font-size: 17px; }

/* 特色 — 为什么选择悦恋 */
.features-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.features-visual { display: flex; justify-content: center; }
.features-visual img { width: 100%; max-width: 640px; height: auto; filter: drop-shadow(0 24px 50px rgba(26,151,149,.18)); }
.features-head h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.01em; }
.features-head p { margin: 14px 0 10px; color: var(--t2); font-size: 16px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.feature-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; transition: transform .25s ease, box-shadow .25s ease;
}
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { flex: none; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.feature-icon img { width: 44px; height: 44px; }
.feature-item h3 { font-size: 18px; margin-bottom: 6px; }
.feature-item p { color: var(--t2); font-size: 14px; }

/* 生活方式连接 banner */
.connect { position: relative; overflow: hidden; color: #fff; }
.connect::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("assets/connect/bg.webp") center / cover no-repeat;
}
.connect::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(13,46,45,.92) 0%, rgba(15,58,56,.72) 42%, rgba(20,70,68,.28) 100%);
}
.connect-inner { position: relative; z-index: 2; padding: 110px 24px; max-width: var(--maxw); }
.connect-inner h2 { font-size: 34px; font-weight: 800; color: #fff; max-width: 620px; letter-spacing: -.01em; }
.connect-inner p { margin-top: 20px; font-size: 16px; line-height: 1.9; color: rgba(255,255,255,.88); max-width: 560px; }

/* 社交搭子 */
.partner { position: relative; overflow: hidden; }
.partner::before {
  content: ""; position: absolute; top: 60px; left: -120px; width: 420px; height: 420px; z-index: 0; pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(86,199,196,.45), rgba(86,199,196,.18) 62%, transparent 72%);
  -webkit-mask: radial-gradient(closest-side, transparent 38%, #000 40%);
  mask: radial-gradient(closest-side, transparent 38%, #000 40%);
  filter: blur(2px);
}
.partner .container { position: relative; z-index: 1; }
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.partner-card { transition: transform .25s ease; }
.partner-card:hover { transform: translateY(-6px); }
.partner-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-soft); }
.partner-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.partner-card:hover .partner-photo img { transform: scale(1.06); }
.partner-label { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 16px; font-weight: 700; color: var(--t1); }
.partner-label .partner-ic { width: 22px; height: 22px; }

/* 嘉宾 — 深绿区 */
.section-guests { background: linear-gradient(160deg, #1b4d4b 0%, #123c3a 100%); }
.section-guests .section-head h2 { color: #fff; }
.section-guests .section-head p { color: rgba(255,255,255,.8); }

/* 特色 步骤 / 攒局玩法 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; transition: transform .25s ease, box-shadow .25s ease; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--t2); font-size: 15px; }
.cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.cats span { font-size: 15px; font-weight: 600; color: var(--teal); background: #fff; border: 1px solid var(--line); padding: 10px 20px; border-radius: 999px; box-shadow: 0 4px 14px rgba(26,151,149,.06); transition: transform .2s ease, box-shadow .2s ease; }
.cats span:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* 嘉宾 & 攒局 */
.guest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.guest-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.guest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.guest-photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-soft); }
.guest-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.guest-card:hover .guest-photo img { transform: scale(1.05); }
.guest-host { position: absolute; bottom: 12px; left: 12px; font-size: 12px; font-weight: 600; color: #fff; background: var(--grad); padding: 5px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(26,151,149,.35); }
.guest-body { padding: 16px 16px 18px; }
.guest-name { font-size: 17px; font-weight: 700; display: flex; align-items: baseline; gap: 8px; }
.guest-name span { font-size: 13px; font-weight: 500; color: var(--t3); }
.guest-bio { margin-top: 8px; font-size: 13px; color: var(--t2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.guest-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.guest-tags i { font-style: normal; font-size: 12px; color: var(--teal); background: rgba(26,151,149,.1); padding: 4px 10px; border-radius: 999px; }

/* 下载 */
.download { background: var(--bg-soft); }
.download-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; background: var(--grad); border-radius: 28px; padding: 56px; color: #fff; box-shadow: 0 24px 60px rgba(26,151,149,.35); }
.download-copy h2 { font-size: 32px; font-weight: 800; color: #fff; }
.download-copy p { margin: 16px 0 22px; font-size: 17px; color: rgba(255,255,255,.92); }
.download-points { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.download-points li { position: relative; padding-left: 26px; font-size: 15px; color: rgba(255,255,255,.95); }
.download-points li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; }
.qr-wrap { background: #fff; border-radius: 20px; padding: 22px; text-align: center; }
.qr-wrap img { width: 100%; max-width: 220px; margin: 0 auto; border-radius: 12px; }
.qr-tip { margin-top: 12px; font-size: 14px; color: var(--t2); }

/* 页脚 */
.site-footer { background: #11201f; color: #c9d9d8; padding: 56px 0 28px; }
.footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand-top { display: flex; align-items: center; gap: 12px; }
.footer-brand-top img { border-radius: 10px; }
.footer-brand-top strong { color: #fff; font-size: 22px; }
.footer-slogan { font-size: 14px; color: #80918f; letter-spacing: .04em; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.footer-col p { font-size: 13px; line-height: 2; color: #80918f; }
.footer-col a { color: #80918f; transition: color .2s; }
.footer-col a:hover { color: var(--teal-lt); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; }
.footer-bottom p { font-size: 13px; color: #6c7c7b; }
.footer-bottom a { color: #6c7c7b; transition: color .2s; }
.footer-bottom a:hover { color: var(--teal-lt); }

/* 进场动画 */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-copy > * { opacity: 0; transform: translateY(22px); animation: fadeUp .8s cubic-bezier(.22,.61,.36,1) forwards; }
.js .hero-copy > *:nth-child(1) { animation-delay: .05s; }
.js .hero-copy > *:nth-child(2) { animation-delay: .15s; }
.js .hero-copy > *:nth-child(3) { animation-delay: .25s; }
.js .hero-copy > *:nth-child(4) { animation-delay: .35s; }
.js .hero-copy > *:nth-child(5) { animation-delay: .45s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.js .features-visual { opacity: 0; animation: phoneIn 1s cubic-bezier(.22,.61,.36,1) .2s forwards; }
@keyframes phoneIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero-copy > *, .js .features-visual { opacity: 1 !important; transform: none !important; }
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .features-inner { grid-template-columns: 1fr; gap: 36px; }
  .features-visual { order: -1; }
  .features-visual img { max-width: 380px; }
  .features-head { text-align: center; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 44px; }
}
@media (max-width: 768px) {
  .nav-links { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px; transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a.btn { margin-top: 14px; border-bottom: none; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero::before { background: linear-gradient(180deg, rgba(244,250,249,.96) 0%, rgba(244,250,249,.82) 46%, rgba(244,250,249,.5) 70%, rgba(244,250,249,.2) 100%); }
  .hero::after { background-position: center bottom; opacity: .5; }
  .hero-inner { padding: 48px 24px 56px; }
  .hero-copy { text-align: center; max-width: none; }
  .hero h1 { font-size: 34px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 300px; margin: 8px auto 0; }
  .hero-stats li { align-items: center; }

  .connect-inner { padding: 72px 24px; text-align: center; }
  .connect-inner h2, .connect-inner p { margin-left: auto; margin-right: auto; }

  .steps { grid-template-columns: 1fr; }
  .guest-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 28px; }
  .download-inner { grid-template-columns: 1fr; padding: 36px 24px; text-align: center; }
  .download-points { align-items: center; }
  .download-points li { text-align: left; }

  .footer-main { flex-direction: column; align-items: center; gap: 28px; text-align: center; padding-bottom: 28px; }
  .footer-brand { align-items: center; }
  .footer-cols { flex-direction: column; gap: 24px; align-items: center; width: 100%; }
  .footer-col h4 { margin-bottom: 8px; }
  .footer-bottom { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 30px; }
  .hero-stats { gap: 16px 24px; }
  .hero-stats strong { font-size: 22px; }
  .partner-grid { gap: 16px; }
  .partner-label { font-size: 14px; }
}
