/* ==========================================================================
   sms-logo — homepage hero (single source of truth)

   Desktop contract mirrors the number-certification homepage used on
   www.zhihejutong.com: a 696px surface, 96px (py-24) container padding,
   a 500x560 right visual stage and a vertically centred 244x500 phone.
   Placement is inherited from custom-style.css
   (.hero-call-visual / .hero-call-phone / .hero-call-tip-*); this file only
   supplies SMS-specific colour and the SMS conversation screen.
   ========================================================================== */

.sms-hero{height:696px;min-height:696px;overflow:hidden;background:#eef3ff url('../images/bannerbg.png') center/100% 100% no-repeat}
.sms-hero>.container>.max-w-xl{max-width:620px}
.sms-hero h1{font-size:clamp(32px,3vw,48px);line-height:1.16;font-weight:800;color:#0f172a;letter-spacing:-.02em}
.sms-hero h1 .gradient-text{color:#2563eb}
.sms-hero .typed-content{white-space:nowrap;color:#1f2937}
.sms-hero .text-lg{color:#1e293b}
.sms-hero .hero-call-tip{background:#fff;color:#2563eb}

/* Phone: fill the screen with an SMS conversation instead of the call states */
.sms-hero .hero-call-screen{display:flex;flex-direction:column;background:#eef3fb;color:#1f2937;border-radius:30px}
.sms-hero .hero-call-status{padding:14px 16px 6px;color:#334155}

.sms-phone-head{display:flex;align-items:center;gap:9px;padding:10px 14px;background:#fff;border-bottom:1px solid #e8edf5}
.sms-phone-logo{display:flex;flex:0 0 34px;width:34px;height:34px;align-items:center;justify-content:center;overflow:hidden;border-radius:10px;background:#fff}
.sms-phone-logo img{width:100%;height:100%;object-fit:cover}
.sms-phone-head b{display:block;font-size:14px;color:#12203a}
.sms-phone-head small{display:block;margin-top:2px;font-size:10px;color:#7b879b}
.sms-phone-head i{margin-left:auto;color:#9aa4b4;font-size:18px}

.sms-phone-thread{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;padding:14px}
.sms-phone-msg{max-width:92%;margin:0 0 12px;padding:10px 12px;border-radius:4px 14px 14px 14px;background:#fff;box-shadow:0 4px 12px rgba(28,47,84,.06)}
.sms-phone-msg b{display:block;font-size:12px;color:#2563eb}
.sms-phone-msg p{margin:4px 0 0;font-size:11px;line-height:1.6;color:#4b5565}

.sms-phone-bar{display:flex;align-items:center;gap:8px;padding:10px 14px 14px;background:#fff;border-top:1px solid #e8edf5;color:#9aa4b4;font-size:11px}
.sms-phone-bar span{flex:1;padding:7px 12px;border:1px solid #e5eaf2;border-radius:999px}

@media(max-width:1279px){
  .sms-hero{height:auto;min-height:620px}
  .sms-hero .hero-call-visual{display:none}
  .sms-hero>.container>.max-w-xl{max-width:100%}
  .sms-hero h1{font-size:clamp(30px,6vw,42px)}
}
@media(max-width:640px){
  .sms-hero h1{font-size:32px}
  .sms-hero .text-lg{font-size:16px}
}

/* ==========================================================================
   效果预览页 (page/preview.html)
   ========================================================================== */

.sms-eyebrow{color:#2563eb!important;letter-spacing:.14em;font-size:12px!important;font-weight:700}
.preview-hero{padding:86px 0;background:#f8fafc}
.preview-hero h1{text-align:center;font-size:44px;font-weight:800}
.preview-hero>div>p:not(.sms-eyebrow){text-align:center;color:#64748b}
.preview-tabs{display:flex;justify-content:center;gap:8px;margin:36px 0}
.preview-tabs button{border:1px solid #bfdbfe;background:#fff;color:#2563eb;padding:12px 24px;border-radius:999px}
.preview-tabs button.is-active{background:#2563eb;color:#fff}
.preview-panel{display:none;grid-template-columns:repeat(3,1fr);gap:24px}
.preview-panel.is-active{display:grid}
.preview-device{background:#fff;border:1px solid #dbeafe;border-radius:22px;padding:22px;min-height:250px;box-shadow:0 18px 40px #1e3a8a12}
.preview-device h3{margin:0 0 28px;text-align:center}
.preview-device article{display:flex;gap:12px;align-items:center;background:#eff6ff;padding:16px;border-radius:16px}
.preview-device article img{width:38px;height:38px;border-radius:10px}
.preview-device article span{display:block;color:#64748b;font-size:13px;margin-top:4px}
.preview-device small{color:#94a3b8}
.preview-device .bubble{background:#2563eb;color:#fff;padding:14px;border-radius:16px 16px 4px;max-width:85%;margin:50px auto 0 0}
.preview-device time{margin-left:auto;color:#94a3b8;font-size:12px}
@media(max-width:800px){.preview-panel.is-active{display:block}.preview-device{margin-bottom:16px}.preview-hero h1{font-size:34px}.preview-tabs{flex-wrap:wrap}}

/* 短信列表：号码与预览文本过长时溢出隐藏 */
.sms-device-list .sms-list-row{min-width:0}
.sms-device-list .sms-list-row>div{min-width:0;flex:1 1 auto}
.sms-device-list .sms-list-row b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sms-device-list .sms-list-row p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* 立即体验：短信会话标题下的码号（类似 hero） */
.sms-chat-title .sms-chat-id{display:flex;flex-direction:column;min-width:0}
.sms-chat-title .sms-chat-id b{font-size:15px}
.sms-chat-title .sms-chat-id small{margin-top:2px;color:#7b879b;font-size:10px}

/* 提交弹窗：验证码输入框与其它字段字号统一 */
.auth-modal .auth-captcha{font-size:13px;font-weight:600}

/* 放大：企业短信品牌认证优势（认证前 / 认证后 对比图） */
.home-advantage-section .advantage-phone{width:470px;flex:0 0 470px}
.home-advantage-section .advantage-phone>img{width:410px!important}
@media(max-width:1279px){
  .home-advantage-section .advantage-phone{width:400px;flex:0 0 400px}
  .home-advantage-section .advantage-phone>img{width:340px!important}
}
@media(max-width:900px){
  .home-advantage-section .advantage-phone{width:min(45vw,390px);flex-basis:min(45vw,390px)}
  .home-advantage-section .advantage-phone>img{width:min(38vw,340px)!important}
}

/* ==========================================================================
   关于我们：短信列表品牌认证效果（CSS 手绘手机 + 动效）
   ========================================================================== */

.ab-phone-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:520px;padding:20px 0}
.ab-phone-stage::before{content:"";position:absolute;left:4%;right:4%;top:0;bottom:0;border-radius:24px;background:linear-gradient(140deg,#eef4ff,#dfe9ff 55%,#f7faff);z-index:0}
.ab-phone{position:relative;z-index:1;width:268px;padding:9px;border-radius:40px;background:#17213b;box-shadow:0 30px 60px rgba(24,63,145,.24)}
.ab-phone::before{content:"";position:absolute;left:50%;top:16px;width:62px;height:5px;border-radius:999px;background:#3b4a66;transform:translateX(-50%);z-index:3}
.ab-phone-screen{position:relative;overflow:hidden;border-radius:32px;background:#f2f5fa;padding:24px 0 8px}
.ab-status{display:flex;align-items:center;justify-content:space-between;padding:0 16px 8px;font-size:10px;font-weight:700;color:#334155}
.ab-status span:last-child{display:flex;gap:4px}
.ab-list-title{display:flex;align-items:center;justify-content:space-between;padding:2px 16px 10px;font-size:17px;font-weight:800;color:#12203a}
.ab-list{display:flex;flex-direction:column}
.ab-row{position:relative;display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-top:1px solid #e8edf5;background:#fff;overflow:hidden}
.ab-logo{display:flex;flex:0 0 36px;width:36px;height:36px;align-items:center;justify-content:center;overflow:hidden;border-radius:10px;background:#fff;box-shadow:0 0 0 2px rgba(52,112,255,.22)}
.ab-logo img{width:100%;height:100%;object-fit:cover}
.ab-avatar{display:flex;flex:0 0 36px;width:36px;height:36px;align-items:center;justify-content:center;border-radius:50%;background:#e5eaf2;color:#9aa4b4;font-size:15px}
.ab-body{min-width:0;flex:1 1 auto}
.ab-body b{display:block;font-size:12px;color:#12203a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ab-body p{margin:3px 0 0;font-size:10px;line-height:1.55;color:#7b879b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ab-row time{flex:0 0 auto;font-size:9px;color:#9aa4b4}
.ab-row-brand{background:linear-gradient(90deg,#e6efff,#fbfdff)}
.ab-row-brand::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 40%,rgba(52,112,255,.16) 50%,transparent 60%);transform:translateX(-100%);animation:abScan 3.2s ease-in-out infinite;pointer-events:none}
.ab-badge{position:absolute;right:-16px;top:92px;display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;background:#fff;box-shadow:0 14px 28px rgba(24,63,145,.18);color:#2563eb;font-size:12px;font-weight:700;animation:abFloat 3.4s ease-in-out infinite}
.ab-badge i{font-size:15px}

@keyframes abScan{0%{transform:translateX(-100%)}55%{transform:translateX(100%)}100%{transform:translateX(100%)}}
@keyframes abFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}

@media(max-width:800px){
  .ab-phone-stage{min-height:480px}
  .ab-phone{width:240px}
  .ab-badge{right:-6px}
}
@media(prefers-reduced-motion:reduce){
  .ab-row-brand::after,.ab-badge{animation:none}
}

/* 联系我们：验证码输入框文字样式与其它表单字段统一 */
.contact-page-shell .contact-form-captcha input[name=captcha]{font-size:13px;color:#354663;line-height:1.5;height:48px}

/* 移动端：长邮箱等不可断词内容避免撑出横向滚动 */
footer a[href^="mailto:"],
.contact-page-shell a[href^="mailto:"]{overflow-wrap:anywhere;word-break:break-all}



