:root{
  --accent: #1a73e8;
  --wrap: 1100px;
  --gap: 22px;
  --border: rgba(255,255,255,.2);
  --brand: #1a73e8;
  --wa-green: #2b71ff;
  --wa-dark: #111;
  --wa-gray: #555;
}

/* ===== 基础重置 ===== */
*,
*::before,
*::after{
  box-sizing: border-box;
}

html,
body{
  margin: 0;
  padding: 0;
}

html{
  -webkit-text-size-adjust: 100%;
}

body{
  min-width: 320px;
  font-family: system-ui, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #111;
  background: linear-gradient(135deg, #fdfbfb 0%, #e6f0ff 40%, #f3e9ff 70%, #ffe6f3 100%);
  overflow-x: hidden;
}

img{
  display: block;
  max-width: 100%;
  height: auto;
}

a{
  color: var(--brand);
  text-decoration: none;
}

a:hover{
  text-decoration: underline;
}

h1{
  margin: 0 0 16px;
}

/* ===== 通用容器 ===== */
.container{
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== 头部 ===== */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.logo{
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #111;
}

.logo img{
  height: 32px;
  width: auto;
}

.nav{
  display: flex;
  gap: 20px;
}

.nav a{
  font-weight: 500;
  color: #111;
}

.twitter-link{
  display: flex;
  align-items: center;
  margin-left: 15px;
}

.twitter-link img{
  width: 24px;
  height: 24px;
}

/* ===== 主体与底部 ===== */
.site-main{
  min-height: calc(100vh - 64px);
  padding: 88px 0 24px;
}

.site-footer{
  margin-top: 32px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.site-footer .wrap{
  padding: 18px 16px;
  color: #666;
}

/* ===== 首页 Hero ===== */
.home-hero{
  display: block;
  margin-top: 10px;
}

.home-hero__left{
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.home-logo{
  width: 110px;
  height: 110px;
  margin: 6px auto 10px;
}

.home-title h1{
  margin: 0;
  font-size: 36px;
  font-weight: 500;
  color: #333;
}

.home-subtitle{
  margin: 6px 0 16px;
  font-size: 16px;
  color: #7b8794;
}

/* ===== 设备图片区 ===== */
.device-mac,
.device-phones .phone,
.phone{
  padding: 6px 0 18px;
  text-align: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.device-mac img,
.device-phones .phone img,
.device-mac .art img,
.phone .art img{
  display: block;
  margin: 0 auto;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform .25s ease, box-shadow .25s ease;
}

.device-mac img{
  width: 100%;
  max-width: 400px;
}

.device-phones{
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 380px));
  gap: 64px;
  justify-content: center;
  align-items: start;
  margin: 24px 0 6px;
}

.device-phones .phone img{
  width: auto;
  max-width: 100%;
  height: 300px;
  object-fit: contain;
}

.device-mac:hover img,
.device-phones .phone:hover img,
.phone:hover .art img{
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(26,115,232,.22);
}

.desktop-link,
.device-phones .phone figcaption,
.phone figcaption{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  color: #2f6cd6;
  font-size: 20px;
  line-height: 1.2;
}

.desktop-link b,
.phone figcaption b,
.device-phones .phone figcaption b{
  font-weight: 700;
  color: var(--accent);
}

.desktop-link .icon,
.device-phones .phone figcaption .icon,
.phone figcaption .icon,
.icon{
  width: 26px;
  height: 26px;
}

.accent{
  width: 68%;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 3px;
  opacity: .85;
  background: var(--accent);
  transition: width .25s ease, opacity .2s ease;
}

.device-mac:hover .accent,
.phone:hover .accent,
.device-phones .phone:hover .accent{
  width: 86%;
  opacity: 1;
}

/* ===== 右侧侧栏 ===== */
.home-aside-floating{
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
}

.aside-box{
  padding-left: 12px;
  border-left: 4px solid #2f6cd6;
}

.aside-title{
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  color: #2f6cd6;
  text-decoration: none;
  color: inherit;
}

.aside-news{
  margin: 0;
  padding: 0;
  list-style: none;
}

.aside-news li{
  margin: 6px 0 10px;
}

.aside-news .d{
  margin-bottom: 2px;
  font-size: 11px;
  color: #7b8797;
}

.aside-news .t{
  font-size: 12px;
  line-height: 1.4;
  color: #1a3d7a;
  text-decoration: none;
}

.aside-news .t:hover{
  text-decoration: underline;
}

/* ===== 绿色横向卡片轮播 ===== */
.wa-strip{
  max-width: 1280px;
  margin: 32px auto;
  padding: 28px 18px 38px;
  background: #e9fbe3;
  border-radius: 28px;
}

.wa-strip__head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 6px 14px;
}

.wa-strip__title{
  margin: 0;
  font-size: clamp(24px, 4.5vw, 40px);
  line-height: 1.15;
  color: #0f1f2e;
}

.wa-strip__desc{
  max-width: 720px;
  margin: 0;
  font-size: 14.5px;
  color: #334155;
}

.wa-strip__viewport{
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 40px;
}

.wa-strip__viewport::before,
.wa-strip__viewport::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  transition: opacity .2s ease;
}

.wa-strip__viewport::before{
  left: 0;
  opacity: 0;
  background: linear-gradient(90deg, #ffffff 45%, rgba(233,251,227,0));
}

.wa-strip__viewport::after{
  right: 0;
  opacity: 0;
  background: linear-gradient(-90deg, #ffffff 45%, rgba(233,251,227,0));
}

.wa-strip__viewport.is-left::before{
  opacity: 1;
}

.wa-strip__viewport.is-right::after{
  opacity: 1;
}

.wa-carousel{
  --visible: 4;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 2px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.wa-carousel::-webkit-scrollbar{
  height: 8px;
}

.wa-carousel::-webkit-scrollbar-thumb{
  background: rgba(48,36,211,.35);
  border-radius: 999px;
}

.wa-item{
  flex: 0 0 calc((100% - (var(--visible) - 1) * 16px) / var(--visible));
  min-width: 240px;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid rgba(11,172,46,.08);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(24,155,35,.08);
  scroll-snap-align: start;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.wa-item:hover{
  transform: translateY(-2px);
  border-color: rgba(36,48,211,.55);
  box-shadow: 0 12px 28px rgba(16,24,40,.12);
}

.wa-item__title{
  margin: 0 0 8px;
  font-size: 16.5px;
  color: #0f172a;
}

.wa-item__text{
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: #334155;
}

.wa-arrow{
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 24px;
  line-height: 1;
  color: #24d366;
  background: #fff;
  border: 1px solid rgba(38,35,201,.16);
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.wa-arrow:hover{
  transform: translateY(calc(-50% - 1px));
  border-color: #24d366;
  box-shadow: 0 8px 18px rgba(48,36,211,.22);
}

.wa-arrow--prev{
  left: 4px;
}

.wa-arrow--next{
  right: 4px;
}

/* ===== 轻量 Footer ===== */
.wa-lite-footer{
  background: transparent;
  color: #0b1320;
}

.wa-lite__inner{
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 20px 56px;
}

.wa-lite__logo{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.wa-lite__logo-img{
  width: auto;
  height: 24px;
}

.wa-lite__logo-text{
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .2px;
}

.wa-lite__headline{
  margin: 8px 0 6px;
  font-size: 28px;
  font-weight: 800;
}

.wa-lite__sub{
  margin: 0;
  font-size: 16px;
  color: #6b7280;
}

.wa-lite__title{
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
}

.wa-lite__list{
  margin: 0;
  padding: 0;
  list-style: none;
}

.wa-lite__link{
  display: block;
  padding: 10px 0;
  font-size: 20px;
  color: #0b1320;
  text-decoration: none;
  transition: color .15s ease, opacity .15s ease;
}

.wa-lite__link:hover{
  color: #2b71ff;
  opacity: .9;
}

/* ===== 内容模块 ===== */
.wa-section{
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.wa-section.reverse{
  flex-direction: row-reverse;
}

.wa-text{
  flex: 1;
}

.wa-text h2{
  margin-bottom: 16px;
  font-size: 32px;
  color: var(--wa-dark);
}

.wa-text p{
  font-size: 18px;
  line-height: 1.6;
  color: var(--wa-gray);
}

.wa-text ul{
  margin: 16px 0;
  padding-left: 20px;
}

.wa-text ul li{
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--wa-dark);
}

.wa-text strong{
  color: var(--wa-green);
}

.wa-img{
  flex: 1;
  text-align: center;
}

.wa-img img{
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
}

/* ===== 数据卡片 ===== */
.stats-section{
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.stats-title{
  margin-bottom: 48px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
}

.stats-title span{
  color: #2b71ff;
}

.stats-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card{
  padding: 32px 20px;
  background: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.stat-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

.stat-number{
  margin-bottom: 10px;
  font-size: 30px;
  font-weight: 800;
  color: #2b71ff;
}

.stat-label{
  font-size: 16px;
  color: #444;
}

/* ===== 文字说明区 ===== */
.vpn-section{
  padding: 60px 20px;
  text-align: center;
}

.vpn-section .text-box{
  max-width: 800px;
  margin: 0 auto;
}

.vpn-section .title{
  margin-bottom: 18px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: #1f2a44;
}

.vpn-section .desc{
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #5f6b85;
  white-space: pre-line;
}

/* ===== 下载按钮 ===== */
.wa-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wa-hero__actions.left{
  justify-content: flex-start;
}

.download-btn{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  padding: 10px 18px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  color: #fff;
  background: #000;
  border-radius: 6px;
  text-decoration: none;
  transition: background .3s ease;
}

.download-btn:hover{
  background: #222;
}

.download-btn .btn-icon{
  width: 28px;
  height: 28px;
}

.download-btn span{
  display: flex;
  flex-direction: column;
  font-weight: bold;
}

.download-btn span small{
  font-size: 11px;
  font-weight: normal;
  color: #ccc;
  text-transform: uppercase;
}

/* ===== WPS Hero ===== */
.wa-hero.wps-hero{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 1280px;
  margin: 28px auto 40px;
  padding-top: 12px;
  padding-bottom: 0;
  text-align: center;
}

.wps-hero__brand{
  margin-top: 6px;
}

.wps-hero__logo{
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto 6px;
}

.wps-hero__title{
  margin: 10px 0 2px;
  font-size: clamp(28px, 4.8vw, 44px);
  font-weight: 700;
  letter-spacing: .2px;
  color: #111;
}

.wps-hero__subtitle{
  margin: 6px 0 14px;
  font-size: clamp(14px, 2.2vw, 16px);
  letter-spacing: .6em;
  color: #6b7280;
}

.wa-hero.wps-hero .wa-hero__actions{
  justify-content: center;
}

.download-btn--primary.download-btn--lg{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
  height: 50px;
  padding: 0 28px;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 700;
  line-height: 50px;
  letter-spacing: .4px;
  text-align: center;
  color: #fff;
  background: linear-gradient(90deg, #ff6a6a 0%, #ff2db2 55%, #ff7b7b 100%);
  border: none;
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(255,68,140,.25);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.download-btn--primary.download-btn--lg:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(255,68,140,.34);
  filter: saturate(1.04);
}

.download-btn--primary.download-btn--lg .icon-caret{
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #fff;
}

.wps-hero__screen img{
  display: block;
  width: min(800px, 95vw);
  height: auto;
  margin: 40px auto 0;
  border-radius: 18px;
  box-shadow: 0 28px 72px rgba(17,24,39,.12);
}

/* ===== 美洽 Hero ===== */
.mq-hero{
  padding: 110px 0 80px;
}

.mq-hero__inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.mq-hero__text{
  flex: none;
}

.mq-hero__kicker{
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  font-size: 14px;
  color: #2563eb;
  background: rgba(37,99,235,.06);
  border-radius: 999px;
}

.mq-hero__title{
  margin: 0 0 18px;
  font-size: 44px;
  line-height: 1.25;
  color: #111827;
}

.mq-hero__title span{
  color: transparent;
  background: linear-gradient(90deg, #2b71ff 0%, #715bff 40%, #f43f5e 90%);
  -webkit-background-clip: text;
  background-clip: text;
}

.mq-hero__subtitle{
  max-width: 520px;
  margin: 0 auto 30px;
  font-size: 17px;
  line-height: 1.8;
  color: #4b5563;
}

.mq-hero__actions{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}

.mq-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

.mq-btn--primary{
  color: #fff;
  background: #2b71ff;
  box-shadow: 0 12px 32px rgba(37,99,235,.35);
}

.mq-btn--primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(37,99,235,.45);
}

.mq-btn--ghost{
  color: #1f2933;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(148,163,184,.6);
}

.mq-btn--ghost:hover{
  color: #2b71ff;
  background: #fff;
  border-color: #2b71ff;
}

.mq-hero__brands{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.mq-hero__brands-label{
  font-size: 12px;
  color: #94a3b8;
}

.mq-hero__brands-logos{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.mq-brand{
  padding: 4px 8px;
  font-size: 13px;
  color: #6b7280;
  background: rgba(255,255,255,.85);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(15,23,42,.04);
}

.mq-hero__chat{
  display: flex;
  flex: none;
  justify-content: center;
}

.mq-chat-card{
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 420px;
  max-width: 100%;
}

.mq-chat-row{
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mq-chat-row--customer{
  justify-content: flex-end;
}

.mq-chat-row--customer .mq-avatar{
  order: 2;
}

.mq-chat-row--customer .mq-bubble{
  order: 1;
}

.mq-avatar{
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  overflow: hidden;
  background: #e5e7eb;
  border-radius: 50%;
}

.mq-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mq-avatar--agent{
  box-shadow: 0 0 0 2px rgba(37,99,235,.18);
}

.mq-avatar--customer{
  box-shadow: 0 0 0 2px rgba(251,191,36,.18);
}

.mq-bubble{
  max-width: 260px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.7;
  border-radius: 18px;
}

.mq-bubble--agent{
  color: #111827;
  background: #f1f5f9;
  border-radius: 18px 18px 18px 6px;
}

.mq-bubble--customer{
  color: #fff;
  background: #2b71ff;
  border-radius: 18px 18px 6px 18px;
}

.mq-bubble__header{
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.mq-bubble__name{
  font-size: 12px;
  font-weight: 600;
}

.mq-bubble__text{
  margin: 0;
}

.mq-hero__hint{
  display: none;
}

/* ===== 响应式 ===== */
@media (max-width: 1100px){
  .wa-carousel{
    --visible: 3;
  }
}

@media (max-width: 960px){
  .home-aside-floating{
    position: static;
    width: auto;
    margin: 0 0 16px;
  }

  .home-hero__left{
    max-width: 92vw;
  }

  .device-phones{
    grid-template-columns: 1fr;
  }

  .device-phones .phone img{
    height: 280px;
  }

  .home-title h1{
    font-size: 28px;
  }

  .home-logo{
    width: 96px;
    height: 96px;
  }

  .mq-hero{
    padding: 90px 0 50px;
  }

  .mq-hero__inner{
    padding: 0 16px;
  }
}

@media (max-width: 900px){
  .wa-lite__inner{
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .stats-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px){
  .wps-hero__logo{
    width: 76px;
  }
}

@media (max-width: 820px){
  .wa-carousel{
    --visible: 2;
  }
}

@media (max-width: 768px){
  .site-header .nav,
  .site-header .twitter-link{
    display: none !important;
  }

  .site-header .wrap{
    justify-content: center !important;
  }

  .site-header .logo{
    margin: 0 auto;
  }

  .wa-section,
  .wa-section.reverse{
    flex-direction: column;
    text-align: center;
  }

  .wa-img img{
    max-width: 80%;
  }
}

@media (max-width: 640px){
  .wa-lite__inner{
    grid-template-columns: 1fr;
  }

  .wa-lite__headline{
    font-size: 24px;
  }

  .wa-lite__link{
    font-size: 18px;
  }

  .mq-hero__title{
    font-size: 32px;
  }

  .mq-chat-card{
    width: 100%;
  }
}

@media (max-width: 560px){
  .stats-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px){
  .wa-carousel{
    --visible: 1;
  }

  .wps-hero__logo{
    width: 64px;
  }

  .download-btn--primary.download-btn--lg{
    min-width: 240px;
    font-size: 18px;
  }
}