/* HantarSMS 首页(en / zh / ms)改版 2026-10-24
 *
 * 只给三个首页用(body.home),其他页面继续只用 site.css,改这里不会波及内页。
 *
 * 【设计取向】老板觉得旧首页「太 AI」:AI 生成的人像、四宫格图标卡、胶囊标签、深蓝科技背景、
 *   满屏同款圆角阴影卡片。这版改成:
 *   - 视觉主角是「收件人手机上真正看到的东西」—— 用 CSS 画的 iPhone 锁屏 + 66886 通知
 *     (风格参考老板给的锁屏图,内容换成我们自己的,不用别人的素材)
 *   - 少用卡片,多用排版:编号、细分隔线、两栏、时间线
 *   - 只留品牌两种蓝 + 中性灰,不要大面积渐变和光效
 *
 * 【SEO】H1、title、meta 不在这里动;这里只管样式。
 */

body.home{--rule:#DCE3EE;--soft:#F5F8FC}
body.home section{padding:88px 0}
body.home section.tight{padding:64px 0}
body.home h2.sec{font-size:clamp(26px,3.4vw,36px);line-height:1.2;letter-spacing:-.6px;font-weight:750;margin:0 0 14px}
body.home .kicker{display:block;font:600 13px/1 system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--blue);margin-bottom:14px}
body.home .lede{font-size:17.5px;color:var(--dim);max-width:640px;margin:0 0 8px}
body.home .center .lede{margin-left:auto;margin-right:auto}

/* ───────── Hero ───────── */
body.home .hero{padding:72px 0 0;background:linear-gradient(180deg,#F3F7FD 0%,#fff 100%);overflow:hidden}
body.home .hero .wrap{grid-template-columns:1.1fr .9fr;gap:56px;align-items:end}
body.home .hero-txt{padding-bottom:72px}
body.home .hero h1{font-weight:800;letter-spacing:-1.4px;line-height:1.08;font-size:clamp(34px,5.4vw,58px)}
body.home .hero .trust{font-size:14px;color:var(--dim);margin-top:18px}
body.home .hero-phone{position:relative;display:flex;justify-content:center}
/* 手机底部被下面的事实条切掉一截,像从页面里「长」出来;三条通知都要露全 */
body.home .hero-phone .ph{position:relative;margin-bottom:-36px}
body.home .hero-phone .ph-clock{font-size:68px;margin-top:36px}
body.home .hero-phone .ph-notes{top:178px}

/* 送达网络 + 几个硬事实:一行字,不做卡片 */
body.home .facts{border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);background:#fff;position:relative;z-index:1}
body.home .facts .wrap{display:grid;grid-template-columns:repeat(4,1fr)}
body.home .fact{padding:22px 20px 20px;border-left:1px solid var(--rule)}
body.home .fact:first-child{border-left:0;padding-left:0}
body.home .fact b{display:block;font-size:24px;line-height:1.15;color:var(--ink);letter-spacing:-.4px;font-weight:750}
body.home .fact span{display:block;font-size:14px;line-height:1.45;color:var(--dim);margin-top:4px}
body.home .nets{padding:14px 0;font-size:14px;color:var(--dim);text-align:center;border-bottom:1px solid var(--rule)}
body.home .nets b{color:var(--ink);font-weight:600}

/* ───────── 手机(CSS 画的 iPhone 锁屏)───────── */
.ph{width:300px;max-width:100%;padding:11px;border-radius:52px;background:#16181D;
  box-shadow:0 0 0 1.5px #3A3D45 inset,0 30px 60px -20px rgba(0,8,72,.35);flex:none}
.ph-scr{position:relative;height:610px;border-radius:42px;overflow:hidden;color:#fff;
  background:
    radial-gradient(120% 70% at 85% 95%,#2B5CE6 0%,rgba(43,92,230,0) 60%),
    radial-gradient(90% 60% at 10% 10%,#7BE3CF 0%,rgba(123,227,207,0) 65%),
    linear-gradient(165deg,#5ED3C5 0%,#2FA9C8 38%,#2E6FD9 72%,#2441A8 100%)}
/* 墙纸上那道斜向的亮面,跟参考图一样 */
.ph-scr:before{content:'';position:absolute;inset:-20% -40% auto auto;width:120%;height:120%;
  background:linear-gradient(115deg,rgba(255,255,255,0) 40%,rgba(255,255,255,.16) 41%,rgba(255,255,255,0) 70%);transform:rotate(8deg)}
.ph-island{position:absolute;top:11px;left:50%;width:96px;height:28px;margin-left:-48px;background:#0A0B0E;border-radius:20px}
.ph-bar{position:relative;display:flex;justify-content:space-between;align-items:center;padding:15px 28px 0 30px;font:600 14px/1 system-ui,sans-serif}
.ph-bar i{display:inline-flex;gap:5px;align-items:center}
.ph-bar svg{height:11px;width:auto;fill:#fff}
.ph-clock{position:relative;text-align:center;margin-top:44px;font:300 76px/1 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:-2px}
.ph-date{position:relative;text-align:center;font:500 16px/1 system-ui,sans-serif;margin-top:10px;opacity:.95}
.ph-notes{position:absolute;left:10px;right:10px;top:212px;display:flex;flex-direction:column;gap:8px}
.ph-note{background:rgba(246,247,250,.86);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
  color:#101318;border-radius:20px;padding:10px 13px 12px;box-shadow:0 2px 10px rgba(0,0,0,.08)}
.ph-note-h{display:flex;align-items:center;gap:8px;font:500 12.5px/1 system-ui,sans-serif;color:#5B616E;margin-bottom:6px}
.ph-note-h img,.ph-app{width:22px;height:22px;border-radius:6px;flex:none}
.ph-app{background:linear-gradient(180deg,#5CF777 0%,#0CBD2A 100%);display:inline-flex;align-items:center;justify-content:center}
.ph-app svg{width:14px;height:14px;fill:#fff}
.ph-note-h em{margin-left:auto;font-style:normal}
.ph-note b{display:block;font:600 14px/1.25 system-ui,sans-serif;margin-bottom:2px}
.ph-note p{margin:0;font:400 14px/1.35 system-ui,sans-serif;color:#1B1F27}
/* 通知依次滑入。prefers-reduced-motion 的人不动 */
@media (prefers-reduced-motion:no-preference){
  .hero-phone .ph-note{animation:noteIn .55s cubic-bezier(.2,.8,.2,1) both}
  .hero-phone .ph-note:nth-child(2){animation-delay:.35s}
  .hero-phone .ph-note:nth-child(3){animation-delay:.7s}
  @keyframes noteIn{from{opacity:0;transform:translateY(-14px) scale(.98)}to{opacity:1;transform:none}}
}
/* 裁切版:只露手机上半截,底边直切,跟参考图一样 */
.ph-crop{height:400px;overflow:hidden;display:flex;justify-content:center;
  border-bottom:1px solid var(--rule)}
.ph-crop .ph{width:270px;border-radius:48px}
.ph-crop .ph-scr{height:560px;border-radius:38px}
.ph-crop .ph-clock{font-size:58px;margin-top:30px}
.ph-crop .ph-date{font-size:14px}
.ph-crop .ph-notes{top:150px}
.ph-crop .ph-note p{font-size:13.5px}

/* ───────── 用途:三台手机 ───────── */
body.home .uses{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:44px}
body.home .use .ph-crop{background:var(--soft);border-radius:20px 20px 0 0;padding-top:26px}
body.home .use h3{font-size:19px;margin:20px 0 6px;letter-spacing:-.2px}
body.home .use p{margin:0;color:var(--dim);font-size:15.5px}
body.home .more-uses{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:40px;padding-top:28px;border-top:1px solid var(--rule)}
body.home .more-uses h3{font-size:16px;margin:0 0 4px}
body.home .more-uses p{margin:0;color:var(--dim);font-size:15px}

/* ───────── 真实后台截图:图文左右交替,不套卡片 ───────── */
body.home .shot-row{display:grid;grid-template-columns:1.35fr 1fr;gap:48px;align-items:center;margin-top:48px}
body.home .shot-row.rev{grid-template-columns:1fr 1.35fr}
body.home .shot-row.rev .shot-img{order:2}
body.home .shot-img{border-radius:12px;overflow:hidden;border:1px solid #1F2A44;background:#0F1729;
  box-shadow:0 24px 48px -24px rgba(0,8,72,.45)}
body.home .shot-img .chrome{display:flex;gap:6px;padding:10px 12px;background:#18223A}
body.home .shot-img .chrome i{width:9px;height:9px;border-radius:50%;background:#3A4766}
body.home .shot-img img{display:block;width:100%}
body.home .shot-txt h3{font-size:22px;letter-spacing:-.3px;margin:0 0 10px}
body.home .shot-txt p{color:var(--dim);margin:0}

/* ───────── 为什么选我们:编号 + 细线,不用图标卡 ───────── */
body.home .why{display:grid;grid-template-columns:repeat(2,1fr);gap:0 56px;margin-top:36px}
body.home .why-item{display:grid;grid-template-columns:56px 1fr;padding:26px 0;border-top:1px solid var(--rule)}
body.home .why-item .n{font:700 15px/1.6 ui-monospace,Consolas,monospace;color:var(--blue)}
body.home .why-item h3{font-size:19px;margin:0 0 6px;letter-spacing:-.2px}
body.home .why-item p{margin:0;color:var(--dim)}

/* ───────── 不按行业拒绝 ───────── */
body.home .industry{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
body.home .industry .sub{text-align:left;margin:0 0 14px;max-width:none}
body.home .ind-list{list-style:none;margin:6px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--rule)}
body.home .ind-list li{padding:13px 0;border-bottom:1px solid var(--rule);font-weight:550;color:var(--ink);display:flex;gap:10px;align-items:center}
body.home .ind-list li:before{content:'';width:7px;height:7px;border-radius:50%;background:var(--blue);flex:none}
body.home .ind-list li.ask{grid-column:1 / -1;font-weight:600}
body.home .ind-list li.ask:before{display:none}
body.home .ind-list li.ask a{color:var(--link)}
body.home .lawline{margin-top:28px;padding:18px 0 0 20px;border-left:3px solid var(--ink);color:var(--dim);font-size:15px}
body.home .lawline b{color:var(--ink)}

/* ───────── 5 分钟上手:横向时间线 ───────── */
body.home .steps{list-style:none;margin:44px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:28px;counter-reset:st}
body.home .steps li{position:relative;padding-top:52px;counter-increment:st}
body.home .steps li:before{content:counter(st);position:absolute;top:0;left:0;width:36px;height:36px;border-radius:50%;
  background:var(--ink);color:#fff;font:700 15px/36px system-ui,sans-serif;text-align:center}
body.home .steps li:after{content:'';position:absolute;top:18px;left:46px;right:-18px;height:1px;background:var(--rule)}
body.home .steps li:last-child:after{display:none}
body.home .steps h3{font-size:18px;margin:0 0 6px}
body.home .steps p{margin:0;color:var(--dim);font-size:15.5px}

/* ───────── 算费用:左说明右计算器 ───────── */
body.home .calc-wrap{display:grid;grid-template-columns:.9fr 1.1fr;gap:56px;align-items:center}
body.home .calc{max-width:none!important;margin:0!important;border:1px solid var(--rule);border-radius:16px;box-shadow:none;background:#fff}
body.home .calc-out{background:var(--soft);border:0;border-radius:10px}

/* ───────── 常见问题:左标题右列表 ───────── */
body.home .faq-wrap{display:grid;grid-template-columns:.8fr 1.2fr;gap:56px}
body.home .faq-wrap details{border:0;border-bottom:1px solid var(--rule);border-radius:0;padding:18px 0;margin:0;background:none}
body.home .faq-wrap details:first-of-type{border-top:1px solid var(--rule)}
body.home .faq-links{line-height:2.1;font-size:15px}

/* ───────── 能做什么:链接列表 ───────── */
body.home .hub{display:grid;grid-template-columns:repeat(3,1fr);gap:0 40px;margin-top:32px}
body.home .hub a.hub-item{display:block;padding:20px 0;border-top:1px solid var(--rule);color:inherit;text-decoration:none}
body.home .hub a.hub-item:hover h3{color:var(--link)}
body.home .hub h3{font-size:17px;margin:0 0 4px;display:flex;justify-content:space-between;gap:10px;transition:color .15s}
body.home .hub h3:after{content:'→';color:var(--blue);font-weight:400}
body.home .hub p{margin:0;color:var(--dim);font-size:15px}
body.home .hub-foot{margin-top:28px;color:var(--dim)}

/* ───────── 团队:WhatsApp 对话框(替换原来 AI 生成的合照)───────── */
body.home .chat{max-width:440px;margin-left:auto;border-radius:18px;overflow:hidden;border:1px solid var(--rule);
  box-shadow:0 24px 48px -28px rgba(0,8,72,.35);background:#EFE7DD;font:14.5px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif}
body.home .chat-h{display:flex;align-items:center;gap:10px;padding:12px 16px;background:#fff;border-bottom:1px solid #E6E1D8}
body.home .chat-h .av{width:36px;height:36px;border-radius:50%;background:var(--ink);display:flex;align-items:center;justify-content:center;flex:none}
body.home .chat-h .av img{width:36px;height:36px;border-radius:50%;display:block}
body.home .chat-h b{display:block;color:#111;font-size:15px}
body.home .chat-h span{font-size:12.5px;color:#667781}
body.home .chat-b{padding:16px 14px 18px;display:flex;flex-direction:column;gap:8px}
body.home .bub{max-width:82%;padding:7px 10px 18px;border-radius:10px;position:relative;color:#111B21;box-shadow:0 1px .5px rgba(0,0,0,.13)}
body.home .bub.in{background:#fff;align-self:flex-start;border-top-left-radius:2px}
body.home .bub.out{background:#D9FDD3;align-self:flex-end;border-top-right-radius:2px}
body.home .bub time{position:absolute;right:8px;bottom:4px;font-size:11px;color:#667781}
body.home .chat-day{align-self:center;font-size:12px;color:#54656F;background:#fff;border-radius:8px;padding:3px 10px;box-shadow:0 1px .5px rgba(0,0,0,.1)}

/* ───────── 结尾 CTA:纯深蓝,不用科技背景图 ───────── */
body.home .final{background:var(--ink);color:#C9D2EE;padding:80px 0}
body.home .final h2.sec{color:#fff}
body.home .final .wrap{display:grid;grid-template-columns:1.2fr .8fr;gap:48px;align-items:center}
body.home .final p{margin:0;font-size:17px}
body.home .final .cta{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}

/* ───────── 手机宽度 ───────── */
@media (max-width:900px){
  body.home section{padding:60px 0}
  body.home section.tight{padding:48px 0}
  body.home .hero{padding-top:40px}
  body.home .hero .wrap{grid-template-columns:1fr;gap:8px}
  body.home .hero-txt{padding-bottom:28px}
  body.home .hero-art,body.home .hero-phone{order:0}
  body.home .hero-phone .ph{margin-bottom:-160px;transform:scale(.92);transform-origin:top center}
  body.home .facts .wrap{grid-template-columns:1fr 1fr}
  body.home .fact{padding:16px 14px}
  body.home .fact:nth-child(3){border-left:0;padding-left:0}
  body.home .fact:nth-child(n+3){border-top:1px solid var(--rule)}
  body.home .fact b{font-size:17px}
  body.home .why-item{grid-template-columns:40px 1fr}
  body.home .hero-phone .ph{width:280px}
  body.home .uses,body.home .more-uses,body.home .hub{grid-template-columns:1fr}
  body.home .uses{gap:40px}
  body.home .shot-row,body.home .shot-row.rev{grid-template-columns:1fr;gap:18px;margin-top:36px}
  body.home .shot-row.rev .shot-img{order:0}
  body.home .why{grid-template-columns:1fr}
  body.home .industry,body.home .calc-wrap,body.home .faq-wrap{grid-template-columns:1fr;gap:28px}
  body.home .steps{grid-template-columns:1fr;gap:0;margin-top:28px}
  body.home .steps li{padding:0 0 26px 56px}
  body.home .steps li:after{top:44px;bottom:6px;left:18px;right:auto;width:1px;height:auto}
  body.home .steps li:last-child{padding-bottom:0}
  body.home .final .wrap{grid-template-columns:1fr;gap:24px}
  body.home .final .cta{justify-content:flex-start}
  body.home .chat{margin:0 auto}
}
@media (max-width:420px){
  body.home .ind-list{grid-template-columns:1fr}
  .ph-crop .ph{width:250px}
}
