/* ===== talai 官网落地页样式 ===== */
:root{
  --primary:#FF5C8A;
  --primary-deep:#F03D74;
  --primary-soft:#FFE4EE;
  --deep:#2A1A3D;
  --text:#3E2C50;
  --muted:#6F5E7C;
  --bg:#FFF9FB;
  --bg-soft:#FFF0F6;
  --card:#FFFFFF;
  --border:#F4D8E5;
  --green:#2EC57E;
  --radius:18px;
  --shadow:0 10px 30px rgba(240,61,116,.08);
  --shadow-hover:0 18px 42px rgba(240,61,116,.16);
  --nav-h:72px;
  --white:#fff;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--nav-h) + 8px)}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  background:var(--bg);
  color:var(--text);
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none}
button{font-family:inherit;cursor:pointer}
.container{max-width:1180px;margin:0 auto;padding:0 24px}

/* 通用卡片 */
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:transform .25s,box-shadow .25s;
}
.card:hover{transform:translateY(-6px);box-shadow:var(--shadow-hover)}

/* 通用按钮 */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(90deg,var(--primary),var(--primary-deep));
  color:var(--white);
  border-radius:999px;
  border:none;
  font-weight:700;
  transition:transform .25s,box-shadow .25s;
  box-shadow:var(--shadow);
}
.btn:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover)}

/* 章节标题 */
.sec-title{
  font-size:36px;font-weight:800;color:var(--deep);
  text-align:center;line-height:1.35;
}
.sec-title.left{text-align:left}
.sec-title.light{color:var(--white)}
.sec-sub{text-align:center;color:var(--muted);margin:14px auto 44px;font-size:16px}

/* ===== 1. 导航 ===== */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:100;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);
  transition:box-shadow .3s;
}
.nav.scrolled{box-shadow:0 6px 24px rgba(42,26,61,.08)}
.nav-inner{
  max-width:1180px;margin:0 auto;padding:0 24px;
  height:var(--nav-h);
  display:flex;align-items:center;gap:32px;
}
.logo{
  display:inline-flex;align-items:center;gap:8px;
  min-height:44px;
  font-size:24px;font-weight:800;color:var(--deep);
  letter-spacing:.5px;
}
.logo-heart{color:var(--primary);font-size:22px}
.logo-sub{
  font-size:12px;font-weight:600;color:var(--primary-deep);
  background:var(--primary-soft);
  padding:3px 10px;border-radius:999px;
}
.nav-menu{display:flex;gap:26px;margin-left:auto}
.nav-menu a{
  font-size:15px;font-weight:600;color:var(--text);
  padding:8px 4px;position:relative;
}
.nav-menu a::after{
  content:"";position:absolute;left:0;right:0;bottom:0;
  height:3px;border-radius:3px;background:linear-gradient(90deg,var(--primary),var(--primary-deep));
  transform:scaleX(0);transition:transform .25s;
}
.nav-menu a:hover{color:var(--primary-deep)}
.nav-menu a:hover::after{transform:scaleX(1)}
.nav-download{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;
  font-size:14px;font-weight:700;color:var(--white);
  background:linear-gradient(90deg,var(--primary),var(--primary-deep));
  padding:9px 20px;border-radius:999px;
  box-shadow:var(--shadow);
  transition:transform .25s,box-shadow .25s;
}
.nav-download:hover{transform:translateY(-2px);box-shadow:var(--shadow-hover)}

/* ===== 2. Hero ===== */
.hero{
  padding:calc(var(--nav-h) + 56px) 0 72px;
  background:linear-gradient(180deg,var(--bg-soft) 0%,var(--bg) 100%);
}
.hero-inner{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.hero-inner>*, .about-grid>*, .custom-grid>*{min-width:0}
.hero h1{font-size:46px;font-weight:800;color:var(--deep);line-height:1.3}
.h1-sub{color:var(--primary);font-weight:800}
.h1-ver{
  font-size:16px;font-weight:700;color:var(--muted);
  background:var(--primary-soft);
  padding:5px 12px;border-radius:999px;
  vertical-align:middle;margin-left:8px;
}
.hero-desc{font-size:17px;color:var(--muted);margin:20px 0 30px;line-height:1.9;max-width:520px}
.btn-hero{font-size:17px;padding:16px 44px}

.persona-block{margin-top:40px}
.persona-title{font-size:15px;font-weight:700;color:var(--muted);margin-bottom:16px}
.persona-row{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;max-width:560px}
.persona-item{
  display:flex;flex-direction:column;align-items:center;gap:8px;
  padding:10px 6px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  transition:transform .25s,box-shadow .25s;
}
.persona-item:hover{transform:translateY(-4px);box-shadow:var(--shadow-hover)}
.persona-item img{
  width:64px;height:64px;border-radius:50%;
  border:2px solid var(--primary-soft);
  object-fit:cover;
}
.persona-item span{font-size:14px;font-weight:700;color:var(--text)}

/* 聊天窗口 */
.hero-chat{display:flex;justify-content:center}
.chat-card{
  width:100%;max-width:420px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:26px;
  box-shadow:0 20px 50px rgba(240,61,116,.14);
  overflow:hidden;
}
.chat-head{
  display:flex;align-items:center;gap:12px;
  padding:14px 18px;
  background:var(--card);
  border-bottom:1px solid var(--border);
}
.chat-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover}
.chat-head-info{display:flex;flex-direction:column;line-height:1.4}
.chat-name{font-size:15px;font-weight:700;color:var(--deep)}
.chat-status{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:6px}
.chat-status .dot{width:8px;height:8px;border-radius:50%;background:var(--green);flex:none}
.chat-body{
  height:390px;overflow-y:auto;
  background:var(--bg-soft);
  padding:18px 16px;
  display:flex;flex-direction:column;gap:12px;
}
.msg{display:flex;align-items:flex-end;gap:8px}
.msg p{
  max-width:78%;
  padding:11px 15px;border-radius:16px;
  font-size:14px;line-height:1.65;
}
.msg-ai p{
  background:var(--card);
  border:1px solid var(--border);
  border-bottom-left-radius:5px;
  color:var(--text);
}
.msg-user{justify-content:flex-end}
.msg-user p{
  background:linear-gradient(90deg,var(--primary),var(--primary-deep));
  color:var(--white);
  border-bottom-right-radius:5px;
}
.msg-avatar{width:26px;height:26px;border-radius:50%;flex:none;object-fit:cover}
.chat-input{
  display:flex;align-items:center;gap:10px;
  padding:12px 14px;
  background:var(--card);
  border-top:1px solid var(--border);
}
.chat-input input{
  flex:1;min-width:0;
  height:44px;padding:0 18px;
  border:1px solid var(--border);
  border-radius:999px;
  background:var(--bg);
  font-size:16px;color:var(--text);
  outline:none;
}
.chat-send{
  height:44px;min-width:64px;padding:0 18px;
  border:none;border-radius:999px;
  background:linear-gradient(90deg,var(--primary),var(--primary-deep));
  color:var(--white);font-size:14px;font-weight:700;
  box-shadow:var(--shadow);
  transition:opacity .3s,transform .25s,box-shadow .25s;
}
.chat-send:hover{transform:translateY(-2px);box-shadow:var(--shadow-hover)}
.chat-send.disabled{
  background:linear-gradient(90deg,#E6CBD6,#D9BCC9);
  box-shadow:none;cursor:default;
  transform:none;
}

/* ===== 3. 三步上手 ===== */
.how{padding:88px 0;background:var(--bg)}
.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.how-card{padding:32px 28px}
.step-num{
  display:inline-flex;align-items:center;justify-content:center;
  width:52px;height:52px;border-radius:14px;
  background:linear-gradient(135deg,var(--primary),var(--primary-deep));
  color:var(--white);font-size:20px;font-weight:800;
  box-shadow:var(--shadow);
}
.how-card h3{font-size:20px;font-weight:700;color:var(--deep);margin:16px 0 10px}
.how-card p{color:var(--muted);font-size:15px}

/* ===== 4. 产品介绍 ===== */
.about{padding:88px 0;background:var(--bg-soft)}
.about-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:56px;align-items:center}
.about-img-wrap,.custom-img-wrap{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.about-img,.custom-img{width:100%;height:auto}
.about-text p{color:var(--muted);margin:18px 0 26px;font-size:16px;line-height:1.9}
.check-list{display:flex;flex-direction:column;gap:16px}
.check-list li{display:flex;align-items:flex-start;gap:14px}
.check-ic{
  width:26px;height:26px;flex:none;border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--primary-deep));
  position:relative;margin-top:4px;
}
.check-ic::after{
  content:"";position:absolute;left:8px;top:5px;
  width:8px;height:12px;
  border:solid var(--white);border-width:0 2.5px 2.5px 0;
  transform:rotate(45deg);
}
.check-list li strong{display:block;font-size:16px;font-weight:700;color:var(--deep)}
.check-list li span{font-size:14px;color:var(--muted)}

/* ===== 5. 四大核心功能 ===== */
.features{padding:88px 0;background:var(--bg)}
.feat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.feat-card{padding:30px 26px}
.feat-ic{
  width:56px;height:56px;border-radius:16px;
  background:var(--primary-soft);color:var(--primary-deep);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:18px;
}
.feat-ic svg{width:28px;height:28px}
.feat-card h3{font-size:19px;font-weight:700;color:var(--deep);margin-bottom:10px}
.feat-pain{font-size:14px;color:var(--primary-deep);background:var(--primary-soft);border-radius:10px;padding:8px 12px;line-height:1.6;margin-bottom:12px}
.feat-desc{font-size:14px;color:var(--muted)}

/* ===== 6. 优势对比 ===== */
.compare{padding:88px 0;background:var(--bg-soft)}
.compare-wrap{
  border-radius:var(--radius);
  border:1px solid var(--border);
  overflow:auto;
  box-shadow:var(--shadow);
  background:var(--card);
}
.compare-table{
  width:100%;border-collapse:collapse;
  table-layout:fixed;
  min-width:640px;
}
.compare-table th,.compare-table td{
  padding:16px 18px;text-align:center;
  font-size:14.5px;line-height:1.6;
  border-bottom:1px solid var(--border);
  white-space:nowrap;
}
.compare-table thead th{
  background:var(--deep);color:var(--white);
  font-weight:700;font-size:15px;
}
.compare-table tbody th{
  background:var(--bg);
  color:var(--deep);font-weight:700;
  text-align:center;font-size:14px;
}
.compare-table tbody tr:last-child th,.compare-table tbody tr:last-child td{border-bottom:none}
.compare-table .col-hot{background:var(--primary-soft);color:var(--primary-deep);font-weight:600}
.compare-table thead .col-hot{background:linear-gradient(90deg,var(--primary),var(--primary-deep));color:var(--white)}
.compare-hint{display:none;text-align:center;color:var(--muted);font-size:14px;margin-top:14px}

/* ===== 7. 使用场景 ===== */
.scenes{padding:88px 0;background:var(--bg)}
.scene-list{
  display:grid;grid-template-columns:1fr 1fr;gap:14px 40px;
  max-width:860px;margin:0 auto 56px;
}
.scene-list li{
  display:flex;align-items:center;gap:14px;
  font-size:15.5px;color:var(--text);
  background:var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px 18px;
}
.vs-grid{
  display:grid;grid-template-columns:1fr auto 1fr;
  gap:32px;align-items:center;
  max-width:980px;margin:0 auto;
}
.vs-card{padding:34px 30px}
.vs-card h3{font-size:21px;font-weight:800;color:var(--deep);margin-bottom:18px}
.vs-card ul{display:flex;flex-direction:column;gap:12px}
.vs-card li{
  font-size:14.5px;color:var(--muted);
  padding-left:22px;position:relative;
}
.vs-card li::before{
  content:"";position:absolute;left:2px;top:9px;
  width:9px;height:9px;border-radius:50%;
}
.vs-bad h3{color:var(--muted)}
.vs-bad li::before{background:#D8CBD8}
.vs-bad{opacity:.88}
.vs-good{border-color:transparent;background:linear-gradient(180deg,#FFF3F8,var(--card));box-shadow:0 14px 40px rgba(240,61,116,.14)}
.vs-good li::before{background:var(--primary)}
.vs-badge{
  width:66px;height:66px;border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--primary-deep));
  color:var(--white);font-size:18px;font-weight:800;
  display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow-hover);
  letter-spacing:1px;
}

/* ===== 8. 数据 ===== */
.data{
  padding:88px 0;
  background:radial-gradient(900px 420px at 50% -60px, rgba(255,92,138,.28), transparent 70%), var(--deep);
}
.data-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-top:8px}
.data-item{text-align:center}
.data-num{
  font-size:52px;font-weight:800;color:var(--white);
  letter-spacing:1px;line-height:1.2;
}
.data-item p{color:#C9B7DD;font-size:15px;margin-top:8px}

/* ===== 9. 人设定制 ===== */
.custom{padding:88px 0;background:var(--bg)}
.custom-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:center}
.custom-text p{color:var(--muted);margin:18px 0 24px;font-size:16px;line-height:1.9}.custom-points{display:grid;grid-template-columns:1fr 1fr;gap:12px 28px;margin-bottom:30px}
.custom-points li{
  font-size:14.5px;color:var(--text);
  background:var(--bg-soft);
  border:1px solid var(--border);
  border-radius:12px;
  padding:10px 16px;
  font-weight:600;
}
.btn-custom{font-size:16px;padding:14px 38px}

/* ===== 10. 用户评价 ===== */
.reviews{padding:88px 0;background:var(--bg-soft)}
.rev-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.rev-card{padding:28px 26px}
.rev-head{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.rev-avatar{
  width:46px;height:46px;border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--primary-deep));
  color:var(--white);font-size:19px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
  flex:none;
}
.rev-head strong{display:block;font-size:16px;color:var(--deep)}
.rev-stars{color:var(--primary);font-size:14px;letter-spacing:2px}
.rev-card p{font-size:14.5px;color:var(--muted);line-height:1.85}

/* ===== 11. 隐私安全 ===== */
.privacy{padding:88px 0;background:var(--bg)}
.priv-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.priv-card{padding:30px 26px}
.priv-ic{
  width:52px;height:52px;border-radius:16px;
  background:var(--primary-soft);color:var(--primary-deep);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:18px;
}
.priv-ic svg{width:26px;height:26px}
.priv-card h3{font-size:18px;font-weight:700;color:var(--deep);margin-bottom:10px}
.priv-card p{font-size:14px;color:var(--muted)}

/* ===== 12. 版本更新 ===== */
.updates{padding:88px 0;background:var(--bg-soft)}
.update-card{max-width:760px;margin:0 auto;padding:36px 40px}
.update-head{display:flex;align-items:center;gap:16px;margin-bottom:24px;flex-wrap:wrap}
.update-ver{
  font-size:22px;font-weight:800;color:var(--white);
  background:linear-gradient(90deg,var(--primary),var(--primary-deep));
  padding:8px 22px;border-radius:999px;
}
.update-date{font-size:14px;color:var(--muted)}
.update-list{display:flex;flex-direction:column;gap:12px}
.update-list li{
  font-size:15px;color:var(--text);
  padding-left:26px;position:relative;
}
.update-list li::before{
  content:"";position:absolute;left:4px;top:10px;
  width:8px;height:8px;border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--primary-deep));
}

/* ===== 13. FAQ ===== */
.faq{padding:88px 0;background:var(--bg)}
.faq-list{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:16px}
.faq-item{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  transition:box-shadow .25s;
}
.faq-item.open{box-shadow:var(--shadow)}
.faq-q{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:20px 24px;background:none;border:none;
  font-size:16px;font-weight:700;color:var(--deep);
  text-align:left;
}
.faq-ic{
  width:34px;height:34px;flex:none;border-radius:50%;
  background:var(--primary-soft);color:var(--primary-deep);
  position:relative;transition:transform .3s;
}
.faq-ic::before,.faq-ic::after{
  content:"";position:absolute;background:currentColor;border-radius:2px;
}
.faq-ic::before{left:15px;top:9px;width:3px;height:16px}
.faq-ic::after{left:9px;top:15px;width:16px;height:3px}
.faq-item.open .faq-ic{transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease}
.faq-a-inner{padding:0 24px 20px}
.faq-a-inner p{font-size:15px;color:var(--muted);line-height:1.85}

/* ===== 14. 下载区域 ===== */
.download{
  padding:96px 0;
  background:linear-gradient(135deg,var(--primary-deep),var(--primary) 60%,#FF8FB0);
  text-align:center;
  position:relative;overflow:hidden;
}
.dl-title{font-size:38px;font-weight:800;color:var(--white);line-height:1.4}
.dl-ver{
  font-size:20px;font-weight:700;color:var(--white);
  background:rgba(255,255,255,.22);
  padding:4px 14px;border-radius:999px;
  vertical-align:middle;margin-left:8px;
}
.dl-meta{color:rgba(255,255,255,.9);font-size:14px;margin:14px 0 32px}
.dl-btns{display:flex;justify-content:center;gap:20px;flex-wrap:wrap}
.btn-dl{
  background:var(--white);color:var(--primary-deep);
  font-size:17px;padding:16px 40px;
  box-shadow:0 12px 32px rgba(120,20,60,.25);
}
.btn-dl:hover{box-shadow:0 18px 42px rgba(120,20,60,.35)}
.dl-tip{
  color:var(--white);font-size:15px;
  margin-top:28px;
  background:rgba(255,255,255,.16);
  display:inline-block;padding:10px 24px;border-radius:999px;
}

/* ===== 15. 页脚 ===== */
.footer{
  background:var(--deep);
  padding:34px 0;
  text-align:center;
}
.footer p{color:#B8A8CC;font-size:14px}
.footer-link{color:var(--white);font-weight:700}
.footer-link:hover{color:var(--primary)}

/* ===== 16. 返回顶部 ===== */
.back-top{
  position:fixed;right:24px;bottom:24px;z-index:99;
  width:46px;height:46px;border-radius:50%;
  border:none;
  background:linear-gradient(135deg,var(--primary),var(--primary-deep));
  color:var(--white);
  display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow-hover);
  opacity:0;pointer-events:none;
  transform:translateY(12px);
  transition:opacity .3s,transform .3s;
}
.back-top svg{width:22px;height:22px}
.back-top.show{opacity:1;pointer-events:auto;transform:translateY(0)}
.back-top:hover{transform:translateY(-3px)}

/* ===== 响应式 ===== */
@media (max-width:1100px){
  .hero h1{font-size:38px}
  .persona-row{grid-template-columns:repeat(3,1fr)}
  .feat-grid,.priv-grid{grid-template-columns:repeat(2,1fr)}
  .data-grid{grid-template-columns:repeat(2,1fr)}
  .rev-grid{grid-template-columns:repeat(2,1fr)}
  .data-num{font-size:44px}
}
@media (max-width:900px){
  .nav-menu{display:none}
  .nav-download{margin-left:auto}
  .hero-inner{grid-template-columns:1fr;gap:48px}
  .hero{padding-top:calc(var(--nav-h) + 44px)}
  .hero-text{text-align:center}
  .hero-desc{margin-left:auto;margin-right:auto}
  .persona-row{margin:0 auto}
  .about-grid,.custom-grid{grid-template-columns:1fr;gap:36px}
  .about-text,.custom-text{text-align:center}
  .about-text .sec-title.left,.custom-text .sec-title.left{text-align:center}
  .check-list{max-width:440px;margin:0 auto}
  .custom-points{max-width:480px;margin:0 auto 30px}
  .custom-text p{max-width:560px;margin-left:auto;margin-right:auto}
  .vs-grid{grid-template-columns:1fr;gap:20px}
  .vs-badge{margin:0 auto}
  .scene-list{grid-template-columns:1fr}
  .sec-title{font-size:30px}
  .dl-title{font-size:30px}
}
@media (max-width:768px){
  .container{padding:0 20px}
  .nav-inner{padding:0 20px}
  .how-grid,.rev-grid{grid-template-columns:1fr}
  .feat-grid,.priv-grid,.data-grid{grid-template-columns:repeat(2,1fr)}
  .compare-hint{display:block}
  .compare-table{min-width:640px}
  .dl-btns{flex-direction:column;gap:14px;padding:0 20px}
  .btn-dl{width:100%;font-size:16px}
  .btn-hero{width:100%;max-width:420px}
  .hero-desc{font-size:16px}
  .hero{padding-bottom:56px}
  .how,.about,.features,.compare,.scenes,.custom,.reviews,.privacy,.updates,.faq{padding:64px 0}
  .data{padding:64px 0}
  .download{padding:72px 0}
  .dl-meta{font-size:12px}
  .scene-list li{font-size:14.5px}
  .sec-sub{margin-bottom:32px}
}
@media (max-width:640px){
  .chat-body{height:310px}
  .data-num{font-size:36px}
  .data-item p{font-size:14px}
  .feat-grid,.priv-grid,.rev-grid{grid-template-columns:1fr}
  .persona-item img{width:56px;height:56px}
  .how-card{padding:26px 22px}
  .hero h1{font-size:30px}
  .dl-title{font-size:26px}
  .dl-ver{font-size:15px;padding:3px 10px}
  .btn-hero{font-size:16px;padding:14px 0}
  .back-top{right:16px;bottom:16px}
}
