/* =====================================================================
   道猫 DaoCat 官网落地页 — 浅色橙调风格（对标官网现有视觉）
   米白底 + 深色导航栏 + 橙色 (#E85A2B) 主强调色 + 白卡片。
   说明：本文件对应 E:\DOM\_p_landing\index.html 的全部 class。
   ===================================================================== */

:root {
  --bg:          #F7F5F0;   /* 米白/奶油底 */
  --surface:     #FFFFFF;   /* 白卡片 */
  --surface-2:   #FBF1EA;   /* 极浅橙底（交替区块） */
  --card:        #FFFFFF;
  --card-border: rgba(20,20,20,0.07);
  --ink:         #1E1E1E;   /* 标题近黑 */
  --text:        #44474F;   /* 正文 */
  --muted:       #8A8F99;   /* 次要灰 */
  --accent:      #E85A2B;   /* 橙色主强调 */
  --accent-deep: #CF4521;   /* 橙色 hover */
  --accent-soft: #FBE6DF;   /* 浅橙底（徽章） */
  --navy:        #2B2B35;   /* 深色导航/页脚 */
  --navy-2:      #23252E;
  --radius:      18px;
  --radius-lg:   28px;
  --shadow:      0 16px 44px rgba(30,30,40,0.10);
  --shadow-sm:   0 6px 18px rgba(30,30,40,0.08);
  --maxw:        1180px;
  --sans:        "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
                -apple-system, BlinkMacSystemFont, "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(900px 480px at 88% -6%, rgba(232,90,43,0.10), transparent 60%),
    radial-gradient(820px 460px at 4% 8%, rgba(232,90,43,0.06), transparent 55%),
    var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===================== Header ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand span#brand-name { font-weight: 700; font-size: 22px; letter-spacing: 2px; color: #fff; }
.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; gap: 30px; align-items: center; }
.nav-list a { font-size: 15px; color: rgba(255,255,255,0.72); font-weight: 500; transition: color .2s ease; }
.nav-list a:hover { color: var(--accent); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 42px; height: 42px; background: transparent;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 10px;
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.main-nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.main-nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.main-nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== Hero ===================== */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(620px 420px at 80% 18%, rgba(232,90,43,0.10), transparent 65%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-deep);
  font-size: 13px; font-weight: 700; letter-spacing: 1px; margin-bottom: 22px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-title { font-weight: 800; font-size: clamp(2.1rem, 5.2vw, 3.5rem); line-height: 1.18; letter-spacing: 1px; color: var(--ink); margin-bottom: 20px; }
.hero-title-highlight { color: var(--accent); }
.hero-subtitle { color: var(--text); font-size: clamp(15px, 1.6vw, 17px); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform .18s ease, box-shadow .25s ease, background .25s ease, color .2s ease; border: 1px solid transparent; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(232,90,43,0.32); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--card-border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-merchant { background: transparent; color: var(--text); padding-left: 4px; padding-right: 4px; }
.btn-merchant:hover { color: var(--accent); }

.hero-visual { display: flex; justify-content: center; align-items: center; }
.logo-bloom {
  width: 300px; height: 300px; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--accent);
  box-shadow: 0 24px 60px rgba(232,90,43,0.30);
  animation: float 5s ease-in-out infinite;
}
.logo-bloom img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===================== Stats ===================== */
.stats { padding: 30px 0 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-item { text-align: center; padding: 26px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--card-border); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .25s ease; }
.stat-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stat-value { font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--accent); }
.stat-label { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ===================== Sections ===================== */
.section { padding: 86px 0; }
.section-alt { background: var(--surface-2); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 3px; color: var(--accent-deep); text-transform: uppercase; padding: 5px 14px; border-radius: 999px; background: var(--accent-soft); margin-bottom: 16px; }
.section-title { font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.4rem); letter-spacing: 1px; color: var(--ink); }
.section-subtitle { color: var(--muted); margin-top: 14px; font-size: 16px; }

/* ===================== Flywheel ===================== */
.flywheel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.flywheel-card { background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 28px 24px; transition: transform .2s ease, box-shadow .25s ease; box-shadow: var(--shadow-sm); }
.flywheel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.flywheel-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; background: var(--accent); margin-bottom: 16px; }
.flywheel-card h3 { font-size: 19px; margin-bottom: 8px; color: var(--ink); }
.flywheel-card p { color: var(--text); font-size: 14.5px; }

/* ===================== Points ===================== */
.points-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.point-card { background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 28px 26px; transition: transform .2s ease, box-shadow .25s ease; box-shadow: var(--shadow-sm); }
.point-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.point-card h3 { font-size: 19px; color: var(--accent-deep); margin-bottom: 10px; position: relative; padding-left: 18px; }
.point-card h3::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.point-card p { color: var(--text); font-size: 14.5px; }

/* ===================== AI ===================== */
.ai-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ai-content .section-tag { margin-bottom: 16px; }
.ai-content .section-title { text-align: left; }
.ai-content .section-subtitle { text-align: left; margin-left: 0; color: var(--muted); }
.ai-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
.ai-features li { background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 14.5px; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.ai-features li::before { content: "✦"; color: var(--accent); font-size: 13px; }

.ai-visual { display: flex; justify-content: center; }
.chat-mock { width: 100%; max-width: 360px; background: var(--surface); border: 1px solid var(--card-border); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.chat-header { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--accent); }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.9); }
.chat-name { font-weight: 700; font-size: 15px; color: #fff; }
.chat-status { font-size: 12px; color: rgba(255,255,255,0.85); }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.chat-bubble { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: 14px; line-height: 1.6; }
.chat-bubble.left { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--card-border); border-bottom-left-radius: 4px; color: var(--text); }
.chat-bubble.right { align-self: flex-end; background: var(--accent); color: #fff; font-weight: 500; border-bottom-right-radius: 4px; }

/* ===================== FAQ ===================== */
.faq .section-header { margin-bottom: 36px; }
.faq details { background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 22px 24px; transition: box-shadow .25s ease; box-shadow: var(--shadow-sm); }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { font-size: 17px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--accent); font-size: 22px; font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { margin-top: 14px; color: var(--text); line-height: 1.85; }

/* ===================== 业务版图 (Biz Map) ===================== */
.biz { padding: 86px 0; }
.biz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.biz-card { background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 22px 22px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease; }
.biz-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(232,90,43,0.35); }
.biz-card h3 { font-size: 17px; color: var(--ink); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.biz-card h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); flex: none; }
.biz-card p { color: var(--text); font-size: 13.5px; line-height: 1.7; }

/* ===================== Footer ===================== */
.site-footer { background: var(--navy); padding: 44px 0 28px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 10px; }
.footer-brand span { font-weight: 600; color: #fff; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 14px; transition: color .2s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.45); font-size: 13px; text-align: center; }
.footer-bottom p { margin: 2px 0; }

/* ===================== 道猫粉丝群 (Fans Group) ===================== */
.fans { padding: 86px 0; }
.fans-inner { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 48px; align-items: center; }
.fans-chat { display: flex; justify-content: center; }

.phone { width: 320px; max-width: 100%; background: #EDEDED; border-radius: 30px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(0,0,0,0.06); }
.phone-nav { background: #EDEDED; height: 62px; display: flex; align-items: flex-end; gap: 8px; padding: 0 14px 10px; border-bottom: 0.5px solid rgba(0,0,0,0.08); }
.phone-nav .pn-back { color: #181818; font-size: 22px; font-weight: 600; line-height: 1; }
.phone-nav .pn-title { flex: 1; text-align: center; font-size: 17px; font-weight: 600; color: #181818; }
.phone-nav .pn-more { color: #181818; font-size: 18px; letter-spacing: 1px; }
.phone-body { background: #EDEDED; padding: 14px 12px; min-height: 380px; display: flex; flex-direction: column; gap: 12px; }

.g-msg { display: flex; gap: 8px; max-width: 86%; }
.g-msg.self { align-self: flex-end; flex-direction: row-reverse; }
.g-body { display: flex; flex-direction: column; min-width: 0; }
.g-av { width: 38px; height: 38px; border-radius: 6px; flex: none; background: #d8d8d8; position: relative; overflow: hidden; }
.g-av img { width: 100%; height: 100%; object-fit: cover; }
.g-bot-tag { position: absolute; right: -3px; bottom: -3px; background: #E85A2B; color: #fff; font-size: 9px; line-height: 1; padding: 2px 4px; border-radius: 4px; font-weight: 600; }
.g-nick { font-size: 11px; color: #8a8a8f; margin-bottom: 3px; }
.g-bub { padding: 9px 12px; border-radius: 10px; font-size: 13.5px; line-height: 1.55; color: #181818; background: #fff; border-top-left-radius: 3px; }
.g-msg.self .g-bub { background: #95EC69; border-top-left-radius: 10px; border-top-right-radius: 3px; }
.g-sys { align-self: center; font-size: 11px; color: #fff; background: rgba(0,0,0,0.18); padding: 3px 8px; border-radius: 6px; max-width: 90%; text-align: center; }

.fans-info { }
.fans-caps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.fans-cap { background: var(--surface); border: 1px solid var(--card-border); border-radius: 14px; padding: 14px 16px; display: flex; gap: 10px; align-items: flex-start; }
.fc-ico { width: 32px; height: 32px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-deep); display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; font-size: 14px; }
.fans-cap h4 { font-size: 14.5px; color: var(--ink); margin-bottom: 3px; }
.fans-cap p { font-size: 12.5px; color: var(--text); line-height: 1.6; }
.fans-stats { display: flex; gap: 24px; margin-top: 22px; }
.fans-stat b { display: block; font-size: 22px; color: var(--accent); font-weight: 800; }
.fans-stat span { font-size: 12.5px; color: var(--muted); }
.fans-qr { margin-top: 22px; display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--card-border); border-radius: 16px; padding: 16px 18px; }
.qr-img { width: 84px; height: 84px; border-radius: 12px; background: #fff; border: 1px solid var(--card-border); overflow: hidden; flex: none; }
.qr-img img { width: 100%; height: 100%; object-fit: cover; }
.qr-txt b { font-size: 15px; color: var(--ink); }
.qr-txt p { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.6; }

/* ===================== 底部主 CTA（进入粉丝群） ===================== */
.cta-band { padding: 72px 0; background: var(--accent); }
.cta-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: #fff; letter-spacing: 1px; }
.cta-inner p { color: rgba(255,255,255,0.9); margin-top: 14px; font-size: 16px; }
.cta-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 15px 36px; border-radius: 999px; background: #fff; color: var(--accent-deep); font-weight: 700; font-size: 16px; box-shadow: 0 12px 30px rgba(0,0,0,0.18); transition: transform .18s ease; }
.cta-btn:hover { transform: translateY(-2px); }

/* ===================== Responsive ===================== */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { order: -1; }
  .logo-bloom { width: 220px; height: 220px; }
  .ai-inner { grid-template-columns: 1fr; gap: 32px; }
  .fans-inner { grid-template-columns: 1fr; gap: 32px; }
  .fans-chat { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .nav-list { position: absolute; top: 72px; right: 0; left: 0; flex-direction: column; gap: 4px; background: var(--navy-2); padding: 14px 24px 22px; border-bottom: 1px solid rgba(255,255,255,0.08); display: none; }
  .main-nav.open .nav-list { display: flex; }
  .nav-list a { padding: 10px 0; width: 100%; color: rgba(255,255,255,0.85); }
  .nav-list a::after { display: none; }
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 40px; }
  .hero-actions { gap: 10px; }
  .btn { flex: 1 1 auto; }
  .ai-features { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 460px) {
  .ai-features { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}
