/* ==========================================================================
   M² Matrix · 落地页与认证
   ========================================================================== */

.landing{position:relative;z-index:1;padding-bottom:var(--footer-h)}

/* ---------- 背景装饰 ---------- */
.landing-bg{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;background:linear-gradient(180deg,#F7F9FD 0%,#F5F7FA 42%,#F3F6FC 100%)}
.blob{position:absolute;border-radius:50%;filter:blur(70px);opacity:.55}
.blob-a{width:520px;height:520px;top:-220px;right:-90px;background:radial-gradient(circle,#FFDDE0,#FFF0F1 70%)}
.blob-b{width:420px;height:420px;top:320px;left:-180px;background:radial-gradient(circle,#F4E2E4,#FAF2F3 70%)}
.blob-c{width:380px;height:380px;bottom:60px;right:6%;background:radial-gradient(circle,#F6E7E9,#FCF8F8 70%);opacity:.4}
.grid-dots{position:absolute;inset:0;background-image:radial-gradient(#EAC9CD 1px,transparent 1px);background-size:26px 26px;opacity:.35;mask-image:linear-gradient(180deg,#000 0%,transparent 72%)}

/* ---------- 顶部导航 ---------- */
.land-head{
  position:sticky;top:0;z-index:50;
  display:flex;align-items:center;gap:24px;
  max-width:1200px;margin:0 auto;padding:14px 32px;
  background:rgba(247,249,253,.82);backdrop-filter:blur(14px);
}
.brand{display:flex;align-items:center;flex:none}
.brand img{height:42px;width:auto}
.land-nav{display:flex;gap:26px;flex:1;justify-content:center}
.land-nav a{font-size:13.5px;color:var(--primary);font-weight:500;text-decoration:none;transition:color .15s}
.land-nav a:hover{color:var(--brand)}
.land-head-actions{display:flex;gap:8px;flex:none}

/* ---------- 首屏 ---------- */
.hero{
  max-width:1200px;margin:0 auto;padding:56px 32px 76px;
  display:grid;grid-template-columns:1.04fr .96fr;gap:56px;align-items:center;min-height:600px;
}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  height:30px;padding:0 13px;border-radius:99px;
  background:#fff;border:1px solid #F5DADD;box-shadow:0 2px 8px rgba(58,26,32,.05);
  font-size:12.5px;font-weight:600;color:var(--brand-dark);letter-spacing:.2px;
}
.eyebrow-dot{width:7px;height:7px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 3px #FFDADD}
.hero h1{
  margin:22px 0 18px;font-size:clamp(38px,4.4vw,60px);line-height:1.18;
  font-weight:800;letter-spacing:-1.5px;color:var(--ink);
}
.hero h1 span{background:linear-gradient(100deg,#E4323E 10%,#F4777F 52%,#5A2A33 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-desc{max-width:520px;font-size:15px;line-height:1.85;color:#7A6068}
.hero-cta{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap}
.hero-cta .btn-lg{min-width:150px}
.hero-stats{display:flex;align-items:center;gap:18px;margin-top:40px;flex-wrap:wrap}
.hero-stats > div{display:flex;flex-direction:column;gap:1px}
.hero-stats b{font-size:20px;font-weight:800;color:var(--ink);line-height:1.2}
.hero-stats span{font-size:11.5px;color:var(--muted)}
.hero-stats i{width:1px;height:28px;background:var(--border-strong)}
.hero-foot{margin-top:28px;font-size:11.5px;color:#A89499}

/* ---------- 产品预览 ---------- */
.hero-visual{position:relative;min-height:470px;display:flex;align-items:center;justify-content:center}
.preview-glow{position:absolute;width:88%;height:78%;border-radius:50%;background:radial-gradient(circle,rgba(228,50,62,.16),transparent 68%);filter:blur(30px)}
.preview-card{
  position:relative;z-index:2;width:min(440px,100%);
  background:#fff;border:1px solid #F4E3E5;border-radius:18px;
  box-shadow:0 24px 60px rgba(58,26,32,.14),0 2px 10px rgba(58,26,32,.05);
  overflow:hidden;transform:rotate(-1deg);
}
.pv-head{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--border);background:linear-gradient(90deg,#FBFCFF,#FCF8F8)}
.pv-logo{width:34px;height:34px;border-radius:10px}
.pv-title{font-size:13.5px;font-weight:700;color:var(--ink)}
.pv-sub{font-size:10.5px;color:var(--muted)}
.pv-live{margin-left:auto;display:inline-flex;align-items:center;gap:5px;font-size:11px;color:var(--success);background:var(--success-soft);padding:3px 9px;border-radius:99px;font-weight:600}
.pv-live i{width:6px;height:6px;border-radius:50%;background:var(--success)}
.pv-body{padding:18px 16px 12px;background:#F7FAFF;min-height:280px}
.pv-msg{font-size:12.5px;line-height:1.7}
.pv-user{background:#F8EBED;color:#87323C;padding:10px 13px;border-radius:14px 14px 4px 14px;margin-left:52px;margin-bottom:16px;width:fit-content;max-width:82%}
.pv-bot-name{font-size:10.5px;color:#B08C90;display:block;margin-bottom:6px;letter-spacing:.3px}
.pv-think{display:inline-block;background:#fff;border-radius:999px;padding:9px 16px;color:#8C5A60;font-size:12px;box-shadow:0 2px 10px rgba(58,26,32,.08);margin-bottom:10px}
.pv-answer{background:#fff;border-radius:4px 14px 14px 14px;padding:12px 14px;color:var(--text);box-shadow:0 2px 10px rgba(58,26,32,.05)}
.pv-answer b{color:var(--brand)}
.pv-list{margin:9px 0 0}
.pv-list li{display:flex;align-items:center;gap:8px;font-size:11.5px;color:#7A6068;padding:4px 0}
.pv-list li span{font-size:9.5px;font-weight:700;color:var(--brand);background:var(--brand-soft);width:20px;height:20px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;flex:none}
.pv-file{display:flex;align-items:center;gap:7px;margin-top:10px;background:#FCF8F8;border:1px dashed #EFD5D8;border-radius:9px;padding:8px 10px;font-size:11.5px;color:var(--primary)}
.pv-file .icon{color:var(--brand)}
.pv-file em{margin-left:auto;font-style:normal;color:var(--success);font-weight:600}
.pv-composer{display:flex;align-items:center;gap:9px;padding:12px 16px;border-top:1px solid var(--border);color:var(--muted);font-size:12px;background:#fff}
.pv-composer .icon{color:var(--brand)}
.pv-composer b{margin-left:auto;background:var(--brand);color:#fff;padding:5px 13px;border-radius:8px;font-size:11.5px;font-weight:600}
.preview-float{
  position:absolute;z-index:3;display:flex;align-items:center;gap:9px;
  background:#fff;border:1px solid var(--border);border-radius:12px;padding:10px 13px;
  box-shadow:0 10px 28px rgba(58,26,32,.12);font-size:11.5px;
}
.preview-float .icon{color:var(--brand);width:20px;height:20px}
.preview-float b{display:block;font-size:12px;color:var(--ink);font-weight:700}
.preview-float span{display:block;font-size:10.5px;color:var(--muted)}
.pf-top{top:24px;right:-6px;animation:m2float 5s ease-in-out infinite}
.pf-bottom{bottom:26px;left:-16px;animation:m2float 5s ease-in-out infinite 1.2s}
@keyframes m2float{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
.pf-chart{width:74px;height:30px}
.pf-chart svg{width:100%;height:100%}

/* ---------- 通用区块 ---------- */
.sec-head{text-align:center;max-width:680px;margin:0 auto 40px}
.sec-kicker{font-size:11px;font-weight:700;letter-spacing:2.4px;color:var(--brand);margin-bottom:10px}
.sec-head h2{font-size:clamp(23px,2.6vw,32px);font-weight:750;color:var(--ink);letter-spacing:-.6px;line-height:1.4}
.sec-head p{margin-top:10px;font-size:13.5px;color:#806B70;line-height:1.8}

/* ---------- 能力特性 ---------- */
.features{max-width:1200px;margin:0 auto;padding:64px 32px}
.feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.feature-card{
  background:#fff;border:1px solid var(--border);border-radius:16px;padding:24px 22px;
  box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s,border-color .2s;
}
.feature-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:#F2DCDF}
.fc-icon{width:44px;height:44px;border-radius:12px;background:var(--brand-soft);color:var(--brand);display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.fc-icon svg{width:23px;height:23px}
.feature-card h3{font-size:15.5px;font-weight:700;color:var(--ink);margin-bottom:9px}
.feature-card p{font-size:12.8px;line-height:1.8;color:#806B70;min-height:70px}
.fc-tag{display:inline-block;margin-top:14px;font-size:11px;color:var(--brand-dark);background:var(--brand-tint);border:1px solid #FFDADD;padding:3px 10px;border-radius:99px;font-weight:600}

/* ---------- 能力矩阵 ---------- */
.matrix{max-width:1200px;margin:0 auto;padding:32px 32px 72px}
.domain-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.domain-item{
  position:relative;background:#fff;border:1px solid var(--border);border-radius:14px;
  padding:20px 20px 18px;box-shadow:var(--shadow);overflow:hidden;transition:border-color .18s,transform .18s;
}
.domain-item:hover{border-color:#EED2D5;transform:translateY(-2px)}
.domain-item::after{content:"";position:absolute;right:-30px;top:-30px;width:100px;height:100px;border-radius:50%;background:radial-gradient(circle,#F9EEEF,transparent 70%)}
.dm-no{display:block;font-size:11px;font-weight:700;color:#E4B6BC;letter-spacing:1px;margin-bottom:8px}
.domain-item b{display:block;font-size:16px;color:var(--ink);font-weight:700}
.domain-item em{display:block;font-style:normal;font-size:12px;color:var(--muted);margin-top:4px}

/* ---------- 使用流程 ---------- */
.flow{max-width:1200px;margin:0 auto;padding:0 32px 72px}
.flow-steps{display:flex;align-items:stretch;justify-content:center;gap:0}
.flow-step{flex:1;max-width:300px;text-align:center;padding:0 18px}
.flow-step > span{
  display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:14px;
  background:linear-gradient(140deg,#F0575F,#E4323E);color:#fff;font-size:18px;font-weight:700;
  box-shadow:0 6px 18px rgba(228,50,62,.25);margin-bottom:16px;
}
.flow-step h3{font-size:15px;font-weight:700;color:var(--ink);margin-bottom:8px}
.flow-step p{font-size:12.5px;color:#806B70;line-height:1.8}
.flow-line{flex:0 0 60px;height:1px;background:linear-gradient(90deg,#F3C9CE,#F0E4E6);margin-top:22px}
.flow-cta{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:36px}
.flow-cta span{font-size:11.5px;color:var(--muted)}

/* ---------- 关于 ---------- */
.about{max-width:1200px;margin:0 auto;padding:0 32px 64px}
.about-inner{
  display:flex;align-items:center;gap:26px;
  background:linear-gradient(110deg,#3A1A20,#7A3540 60%,#E4323E);
  border-radius:20px;padding:34px 40px;color:#fff;box-shadow:0 16px 40px rgba(58,26,32,.18);
}
.about-inner img{width:62px;height:62px;flex:none;border-radius:16px;background:rgba(255,255,255,.1);padding:6px}
.about-inner h2{font-size:20px;font-weight:700;margin-bottom:8px}
.about-inner p{font-size:13px;line-height:1.85;color:rgba(255,255,255,.76);max-width:760px}

/* ---------- 认证浮层 ---------- */
.auth-overlay{position:fixed;inset:0;z-index:900;display:flex;align-items:center;justify-content:center;padding:24px}
.auth-backdrop{position:absolute;inset:0;background:rgba(58,26,32,.42);backdrop-filter:blur(5px);animation:m2fade .18s}
.auth-dialog{
  position:relative;z-index:1;width:min(860px,100%);max-height:calc(100vh - 48px);
  display:grid;grid-template-columns:.86fr 1.14fr;
  background:#fff;border-radius:20px;box-shadow:var(--shadow-lg);overflow:hidden;
  animation:m2pop .24s cubic-bezier(.2,.8,.3,1);
}
.auth-aside{
  position:relative;display:flex;flex-direction:column;justify-content:space-between;
  padding:30px 28px;color:#fff;overflow:hidden;
  background:linear-gradient(155deg,#3A1A20 0%,#6B2E38 55%,#E4323E 130%);
}
.auth-aside-logo{width:168px;height:auto;filter:brightness(0) invert(1);opacity:.95;position:relative;z-index:2}
.auth-aside-mid{position:relative;z-index:2;padding:22px 0}
.aam-kicker{font-size:10.5px;font-weight:700;letter-spacing:2.6px;color:#FFB3B9;margin-bottom:16px}
.auth-aside-mid h2{font-size:30px;line-height:1.4;font-weight:750;letter-spacing:-.5px}
.auth-aside-mid p{margin-top:16px;font-size:12.5px;line-height:1.85;color:rgba(255,255,255,.68);max-width:250px}
.auth-aside-dots{position:absolute;right:-40px;bottom:30px;width:230px;height:170px;opacity:.22;background-image:radial-gradient(#FFB3B9 1.4px,transparent 1.4px);background-size:16px 16px;transform:rotate(-12deg);mask-image:radial-gradient(circle,#000,transparent 72%)}
.auth-aside-foot{position:relative;z-index:2;font-size:10.5px;color:rgba(255,255,255,.5)}
.auth-main{position:relative;padding:34px 38px 26px;overflow-y:auto}
.auth-close{position:absolute;right:14px;top:14px}
.auth-tabs{display:flex;gap:4px;background:#F1F4FA;border-radius:11px;padding:4px;margin-bottom:26px}
.auth-tabs button{flex:1;height:34px;border-radius:8px;font-size:13px;font-weight:600;color:var(--muted);transition:all .16s}
.auth-tabs button:hover{color:var(--primary)}
.auth-tabs button.active{background:#fff;color:var(--brand-dark);box-shadow:0 1px 6px rgba(58,26,32,.10)}
.auth-panel{display:flex;flex-direction:column;gap:15px}
.auth-h h2{font-size:22px;font-weight:750;color:var(--ink);letter-spacing:-.3px}
.auth-h p{font-size:12.5px;color:var(--muted);margin-top:4px;margin-bottom:4px}
.auth-switch{text-align:center;font-size:12.5px;color:var(--muted);margin-top:2px}
.auth-switch a{font-weight:600}
.auth-demo{margin-top:18px;padding:9px 12px;border-radius:9px;background:#FCF8F8;border:1px dashed #EFD5D8;font-size:11px;color:#986C71;line-height:1.6}

/* ---------- 响应式 ---------- */
@media (max-width:1080px){
  .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero{gap:30px}
  .land-nav{gap:16px}
}
@media (max-width:900px){
  .hero{grid-template-columns:1fr;padding-top:36px;padding-bottom:44px}
  .hero-visual{min-height:420px;max-width:520px;margin:0 auto;width:100%}
  .flow-steps{flex-direction:column;align-items:center;gap:18px}
  .flow-line{width:1px;height:28px;flex:0 0 28px;margin:0;background:linear-gradient(180deg,#F3C9CE,#F0E4E6)}
  .auth-dialog{grid-template-columns:1fr;max-width:480px}
  .auth-aside{display:none}
}
@media (max-width:767px){
  .land-head{padding:10px 16px;gap:10px}
  .brand img{height:32px}
  .land-nav{display:none}
  .land-head-actions .btn-ghost{display:none}
  .hero{padding:28px 20px 40px;min-height:auto}
  .hero h1{font-size:38px;margin:18px 0 14px}
  .hero-desc{font-size:13.5px}
  .hero-cta .btn-lg{flex:1;min-width:0}
  .hero-stats{gap:12px}
  .hero-stats b{font-size:16px}
  .hero-visual{min-height:360px}
  .preview-card{transform:none}
  .pf-top{right:0;top:0}
  .pf-bottom{left:0;bottom:0}
  .features,.matrix,.flow,.about{padding-left:20px;padding-right:20px}
  .feature-grid,.domain-row{grid-template-columns:1fr}
  .feature-card p{min-height:0}
  .sec-head{margin-bottom:26px}
  .about-inner{flex-direction:column;align-items:flex-start;padding:24px}
  .auth-overlay{padding:0;align-items:flex-end}
  .auth-dialog{border-radius:20px 20px 0 0;max-height:92vh;width:100%}
  .auth-main{padding:26px 20px 22px}
}
