/* GlobalNet AI — home page visual layer.
   Only loaded by src/pages/home.html. style.css / site.js are untouched.
   磨砂玻璃浅色主题 v6：布局/尺寸/字号与旧版完全一致，只换颜色质感。
   演示框 450px 尺寸、头像、滚动逻辑保持用户定稿不动。 */

/* ---------- screen 1: hero — 玻璃大卡片承载标题（小样同款） ---------- */
.hv-hero{min-height:100vh;display:flex;align-items:center;padding:120px 0 70px}
.hv-hero .wrap{width:100%}
.hv-hero > .wrap{
  background:linear-gradient(150deg,rgba(255,255,255,.52),rgba(255,255,255,.28) 55%,rgba(210,225,245,.38));

  border:1px solid rgba(255,255,255,.65);border-radius:30px;
  padding:60px 52px;position:relative;
  box-shadow:0 24px 60px rgba(90,120,170,.28),inset 0 1px 0 rgba(255,255,255,.9);
}
/* 幻彩边缘光（小样同款 conic 描边） */
.hv-hero > .wrap::before{
  content:"";position:absolute;inset:-1px;border-radius:31px;padding:1.5px;pointer-events:none;
  background:conic-gradient(from 210deg,rgba(10,159,224,.55),rgba(255,255,255,.10) 25%,rgba(216,79,158,.50) 50%,rgba(255,255,255,.10) 75%,rgba(10,159,224,.55));
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
/* 火彩细线：模块分隔点缀（小样同款） */
.fireline{width:56px;height:2px;margin:0 auto 26px;border-radius:2px;
  background:linear-gradient(90deg,#8fd8ff,#b9a7ff,#ff9fd8,#8ff0d8,#8fd8ff);opacity:.9}
.hv-new{display:inline-flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:13.5px;color:#4d5c78;border:1px solid rgba(255,255,255,.7);background:rgba(255,255,255,.5);border-radius:999px;padding:9px 18px;margin-bottom:26px;max-width:100%;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.hv-new-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#0a9fe0;box-shadow:0 0 10px #0a9fe0;animation:pulse 2.2s infinite}
.hv-new b{color:var(--txt);font-weight:700}
.hv-new-sep{color:#9aa5bb}
.hv-textlink{display:inline-flex;align-items:center;gap:8px;color:#0b7cb8;font-weight:700;font-size:16px;padding:14px 6px;white-space:nowrap}
.hv-textlink:hover{text-decoration:underline;text-underline-offset:4px}
.hv-textlink .arr{display:inline-block;transition:transform .2s}
.hv-textlink:hover .arr{transform:translateX(5px)}
[dir="rtl"] .hv-textlink .arr{transform:scaleX(-1)}
[dir="rtl"] .hv-textlink:hover .arr{transform:scaleX(-1) translateX(5px)}

/* mock agent workbench — 磨砂玻璃窗口（尺寸与旧版完全一致） */
.hv-mock{margin:54px auto 0;max-width:450px;border:1px solid rgba(255,255,255,.75);border-radius:18px;
  background:linear-gradient(160deg,rgba(255,255,255,.68),rgba(255,255,255,.42) 60%,rgba(215,228,248,.5));

  overflow:hidden;box-shadow:0 30px 70px rgba(90,120,170,.32),inset 0 1px 0 rgba(255,255,255,.95)}
.hv-mock-bar{display:flex;align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid rgba(20,40,80,.08);background:rgba(255,255,255,.45)}
.hv-dots{display:flex;gap:6px}
.hv-dots i{width:10px;height:10px;border-radius:50%;background:#c6cfdd}
.hv-dots i:nth-child(1){background:#f06666}
.hv-dots i:nth-child(2){background:#f2c14c}
.hv-dots i:nth-child(3){background:#34d399}
.hv-mock-url{font-size:12.5px;color:#7d8aa3;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hv-mock-badge{font-size:11.5px;color:#7d8aa3;border:1px dashed rgba(20,40,80,.25);border-radius:999px;padding:3px 12px;white-space:nowrap}
.hv-mock-body{display:grid;grid-template-columns:1.25fr .75fr;height:300px;overflow:hidden}
.hv-stream{padding:16px;display:flex;flex-direction:column;gap:9px;border-right:1px solid rgba(20,40,80,.08);min-width:0;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(10,159,224,.5) transparent;background:rgba(255,255,255,.30)}
.hv-stream::-webkit-scrollbar{width:5px}
.hv-stream::-webkit-scrollbar-thumb{background:rgba(10,159,224,.5);border-radius:99px}
[dir="rtl"] .hv-stream{border-right:0;border-left:1px solid rgba(20,40,80,.08)}
.hv-msg{max-width:78%;padding:9px 13px;border-radius:14px;font-size:12.5px;line-height:1.55}
.hv-msg.user{align-self:flex-end;background:linear-gradient(135deg,#4a5cf5,#7a5cf5);color:#fff;border-bottom-right-radius:6px;box-shadow:0 6px 18px rgba(88,101,245,.35),inset 0 1px 0 rgba(255,255,255,.4)}
[dir="rtl"] .hv-msg.user{border-bottom-right-radius:16px;border-bottom-left-radius:6px}
.hv-msg.agent{align-self:flex-start;background:rgba(255,255,255,.85);border:1px solid rgba(20,40,80,.10);color:#1c2942;border-bottom-left-radius:6px;box-shadow:0 4px 14px rgba(90,120,170,.18),inset 0 1px 0 rgba(255,255,255,.9)}
[dir="rtl"] .hv-msg.agent{border-bottom-left-radius:16px;border-bottom-right-radius:6px}
/* chat rows with avatars */
.hv-row{display:flex;align-items:flex-end;gap:8px;max-width:100%;transition:opacity .45s}
.hv-row.user{justify-content:flex-end}
.hv-row.agent{justify-content:flex-start}
.hv-row .hv-msg{align-self:auto}
.hv-avatar{width:28px;height:28px;flex:0 0 28px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.hv-avatar svg{width:15px;height:15px;display:block}
.hv-avatar.user{background:rgba(20,40,80,.08);border:1px solid rgba(20,40,80,.14);color:#5b6a88}
.hv-avatar.agent{background:linear-gradient(135deg,#4a5cf5,#7a5cf5);color:#fff;box-shadow:0 4px 14px rgba(88,101,245,.45),inset 0 1px 0 rgba(255,255,255,.5)}
.hv-typing{align-self:flex-start;display:flex;gap:5px;padding:12px 16px;background:rgba(255,255,255,.85);border:1px solid rgba(20,40,80,.10);border-radius:14px;border-bottom-left-radius:6px}
[dir="rtl"] .hv-typing{border-bottom-left-radius:14px;border-bottom-right-radius:6px}
.hv-typing i{width:7px;height:7px;border-radius:50%;background:#8b94a7;animation:hvBlink 1.2s infinite}
.hv-typing i:nth-child(2){animation-delay:.2s}
.hv-typing i:nth-child(3){animation-delay:.4s}
@keyframes hvBlink{0%,100%{opacity:.35}50%{opacity:1}}
.hv-tasks{padding:16px;display:flex;flex-direction:column;gap:9px;background:rgba(215,228,248,.35);min-width:0}
.hv-task{display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.6);border:1px solid rgba(10,159,224,.30);border-radius:10px;padding:8px 11px;font-size:12px;line-height:1.45;color:#1c2942;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.hv-check{width:18px;height:18px;flex:0 0 18px;border-radius:50%;background:rgba(52,211,153,.20);color:#059669;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800}
.hv-live{margin-top:auto;display:flex;align-items:center;gap:8px;font-size:13px;color:#7d8aa3;padding-top:6px}
.hv-live-dot{width:9px;height:9px;border-radius:50%;background:#34d399;box-shadow:0 0 12px #34d399;animation:pulse 1.8s infinite}

/* intent strip */
.hv-intent{margin-top:42px;display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap}
.hv-intent-label{font-size:14px;color:#7d8aa3}
.hv-intent .btn{padding:13px 26px;font-size:14.5px}

/* ---------- screen 2: flow ---------- */
.hv-flow{display:grid;grid-template-columns:1fr 72px 1fr 72px 1fr 72px 1fr;align-items:stretch;margin-top:6px}
.hv-node{background:var(--card);
  border:1px solid rgba(255,255,255,.65);border-radius:18px;padding:26px 18px;text-align:center;cursor:pointer;color:var(--txt);
  font-family:inherit;display:flex;flex-direction:column;align-items:center;gap:10px;
  transition:border-color .25s,transform .25s,box-shadow .25s;min-width:0;width:100%;box-shadow:var(--glass-shadow)}
.hv-node:hover{transform:translateY(-4px);border-color:rgba(255,255,255,.9)}
.hv-node:focus-visible{outline:2px solid var(--acc2);outline-offset:3px}
.hv-node-num{font-size:12px;font-weight:800;letter-spacing:2px;color:#7d8aa3}
.hv-node-ico{width:56px;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center}
/* accent cycle: rose / blue / sky / green（浅色玻璃上的柔光标） */
.hv-flow .hv-node:nth-of-type(1) .hv-node-ico{background:rgba(216,79,158,.12);border:1px solid rgba(216,79,158,.45);color:#c2438b;box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 6px 18px rgba(216,79,158,.18)}
.hv-flow .hv-node:nth-of-type(2) .hv-node-ico{background:rgba(10,159,224,.12);border:1px solid rgba(10,159,224,.45);color:#0b7cb8;box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 6px 18px rgba(10,159,224,.18)}
.hv-flow .hv-node:nth-of-type(3) .hv-node-ico{background:rgba(2,132,199,.12);border:1px solid rgba(2,132,199,.45);color:#0284c7;box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 6px 18px rgba(2,132,199,.18)}
.hv-flow .hv-node:nth-of-type(4) .hv-node-ico{background:rgba(52,211,153,.14);border:1px solid rgba(52,211,153,.45);color:#059669;box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 6px 18px rgba(52,211,153,.20)}
.hv-flow .hv-node:nth-of-type(1):hover{border-color:rgba(216,79,158,.6)}
.hv-flow .hv-node:nth-of-type(1).open{border-color:#d84f9e;box-shadow:0 0 0 1px rgba(216,79,158,.3),0 12px 36px rgba(216,79,158,.22)}
.hv-flow .hv-node:nth-of-type(2):hover{border-color:rgba(10,159,224,.6)}
.hv-flow .hv-node:nth-of-type(2).open{border-color:#0a9fe0;box-shadow:0 0 0 1px rgba(10,159,224,.3),0 12px 36px rgba(10,159,224,.22)}
.hv-flow .hv-node:nth-of-type(3):hover{border-color:rgba(2,132,199,.6)}
.hv-flow .hv-node:nth-of-type(3).open{border-color:#0284c7;box-shadow:0 0 0 1px rgba(2,132,199,.3),0 12px 36px rgba(2,132,199,.22)}
.hv-flow .hv-node:nth-of-type(4):hover{border-color:rgba(52,211,153,.6)}
.hv-flow .hv-node:nth-of-type(4).open{border-color:#34d399;box-shadow:0 0 0 1px rgba(52,211,153,.3),0 12px 36px rgba(52,211,153,.22)}
.hv-node-title{font-size:19px;font-weight:800;letter-spacing:-.3px;color:var(--txt)}
.hv-node-desc{font-size:14px;color:var(--mut);line-height:1.65;max-height:0;overflow:hidden;transition:max-height .35s ease}
.hv-node.open .hv-node-desc{max-height:160px}
.hv-link{position:relative;align-self:center;height:2px;background:linear-gradient(90deg,transparent,rgba(10,159,224,.55),transparent)}
.hv-dot{position:absolute;top:-4px;left:0;width:10px;height:10px;border-radius:50%;background:#f06fae;box-shadow:0 0 14px rgba(240,111,174,.8);animation:hvTravel 2.4s linear infinite}
@keyframes hvTravel{0%{left:0;opacity:0}12%{opacity:1}88%{opacity:1}100%{left:calc(100% - 10px);opacity:0}}
[dir="rtl"] .hv-dot{animation-name:hvTravelR}
@keyframes hvTravelR{0%{right:0;opacity:0}12%{opacity:1}88%{opacity:1}100%{right:calc(100% - 10px);opacity:0}}

/* ---------- screen 3: services ---------- */
.hv-svc-num{font-size:13px;font-weight:800;letter-spacing:2.5px;color:#7d8aa3;margin-bottom:16px}
.hv-svc .hv-textlink{margin-top:16px;padding:6px 0;font-size:15px}
/* colored top edge per card（浅色玻璃上保留彩色顶边） */
.hv-svc::before{content:"";position:absolute;top:0;left:24px;right:24px;height:3px;border-radius:3px;background:#d84f9e;box-shadow:0 0 14px rgba(216,79,158,.6)}
.grid .hv-svc:nth-of-type(1)::before{background:#d84f9e;box-shadow:0 0 14px rgba(216,79,158,.6)}
.grid .hv-svc:nth-of-type(2)::before{background:#0a9fe0;box-shadow:0 0 14px rgba(10,159,224,.6)}
.grid .hv-svc:nth-of-type(3)::before{background:#34d399;box-shadow:0 0 14px rgba(52,211,153,.6)}
.grid .hv-svc:nth-of-type(2) .ico{color:#0b7cb8;background:rgba(10,159,224,.10);border:1px solid rgba(10,159,224,.35);box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}
.grid .hv-svc:nth-of-type(3) .ico{color:#059669;background:rgba(52,211,153,.12);border:1px solid rgba(52,211,153,.35);box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}

/* ---------- screen 4: before / after ---------- */
.hv-exbadge{display:inline-block;font-size:12.5px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#0b7cb8;border:1px dashed rgba(10,159,224,.5);border-radius:999px;padding:7px 18px;background:rgba(255,255,255,.45)}
.hv-ba{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:6px}
.hv-ba-col{border-radius:20px;padding:34px 30px;border:1px solid rgba(255,255,255,.65);
  background:var(--card);
  box-shadow:var(--glass-shadow)}
.hv-ba-title{font-size:20px;font-weight:800;margin-bottom:18px;letter-spacing:-.3px;color:var(--txt)}
.hv-ba-col ul{list-style:none;display:grid;gap:14px}
.hv-ba-before .hv-ba-title{color:#7d8aa3}
.hv-ba-before li{color:#7d8aa3;font-size:15.5px;line-height:1.65;padding-left:30px;position:relative}
.hv-ba-before li::before{content:"✕";position:absolute;left:2px;color:#f87171;font-weight:700}
.hv-ba-after{background:linear-gradient(150deg,rgba(255,255,255,.62),rgba(240,230,248,.45) 55%,rgba(215,228,248,.5));border-color:rgba(216,79,158,.45);
  box-shadow:0 24px 60px rgba(216,79,158,.18),inset 0 1px 0 rgba(255,255,255,.95)}
.hv-ba-after .hv-ba-title{color:var(--txt)}
.hv-ba-after li{color:#33415c;font-size:15.5px;line-height:1.65;padding-left:30px;position:relative}
.hv-ba-after li::before{content:"✓";position:absolute;left:2px;color:#059669;font-weight:800}
[dir="rtl"] .hv-ba-before li,[dir="rtl"] .hv-ba-after li{padding-left:0;padding-right:30px}
[dir="rtl"] .hv-ba-before li::before,[dir="rtl"] .hv-ba-after li::before{left:auto;right:2px}

/* ---------- screen 5: pilot timeline ---------- */
.hv-timeline{display:grid;grid-template-columns:repeat(4,1fr);margin:4px 0 44px;position:relative}
.hv-timeline::before{content:"";position:absolute;top:11px;left:7%;right:7%;height:2px;background:linear-gradient(90deg,transparent,rgba(216,79,158,.5),rgba(10,159,224,.5),transparent)}
[dir="rtl"] .hv-timeline::before{background:linear-gradient(270deg,transparent,rgba(216,79,158,.5),rgba(10,159,224,.5),transparent)}
.hv-tstep{padding:0 20px;position:relative;text-align:center;min-width:0}
.hv-tdot{width:22px;height:22px;border-radius:50%;background:#fff;margin:0 auto 18px;position:relative;z-index:1;box-shadow:0 4px 12px rgba(90,120,170,.25)}
.hv-tstep:nth-child(1) .hv-tdot{border:2px solid #f06fae}
.hv-tstep:nth-child(2) .hv-tdot{border:2px solid #0a9fe0}
.hv-tstep:nth-child(3) .hv-tdot{border:2px solid #0284c7}
.hv-tstep:nth-child(4) .hv-tdot{border:2px solid #34d399}
.hv-tstep b{display:block;font-size:15.5px;margin-bottom:8px;line-height:1.5;color:var(--txt)}
.hv-tstep span{color:var(--mut);font-size:14px;line-height:1.65}
.hv-pilot-foot{display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap;
  background:var(--card);
  border:1px solid rgba(255,255,255,.7);border-radius:24px;padding:38px 42px;box-shadow:var(--glass-shadow)}
.hv-pilot-price .hv-from{display:block;font-size:12.5px;letter-spacing:2px;text-transform:uppercase;color:#7d8aa3;font-weight:700}
.hv-pilot-price .hv-amt{display:block;font-size:clamp(42px,4.8vw,58px);font-weight:800;letter-spacing:-1.6px;background:var(--grad-text);-webkit-background-clip:text;background-clip:text;color:transparent;margin:8px 0}
.hv-pilot-price .hv-per{font-size:14.5px;color:var(--mut);line-height:1.7}
.hv-pilot-cta{display:flex;flex-direction:column;gap:16px;align-items:flex-start}
.hv-lands{max-width:760px;margin:34px auto 0;background:rgba(255,255,255,.5);
  border:1px solid rgba(255,255,255,.7);border-radius:16px;padding:26px 30px;box-shadow:var(--glass-shadow)}

/* ---------- screen 6: pricing, big type ---------- */
.hv-pricing .price-card .amt{font-size:clamp(54px,5.8vw,78px);letter-spacing:-2.2px;background:var(--grad-text);-webkit-background-clip:text;background-clip:text;color:transparent}
.hv-pricing .price-card .tier{font-size:14px;color:#0b7cb8}
.hv-pricing .price-card.hl{border:1px solid rgba(255,255,255,.9);background:linear-gradient(150deg,rgba(255,255,255,.66),rgba(255,255,255,.40) 55%,rgba(205,220,245,.5));box-shadow:0 28px 70px rgba(88,101,245,.30),inset 0 1px 0 rgba(255,255,255,1)}

/* ---------- screen 8: final CTA ---------- */
.hv-final{padding:130px 0;text-align:center}
.hv-final h2{font-size:clamp(32px,4.6vw,54px);font-weight:800;letter-spacing:-1.2px;margin-bottom:18px;line-height:1.15;color:var(--txt)}
.hv-final p{color:var(--mut);font-size:18px;max-width:620px;margin:0 auto 38px;line-height:1.7}
.hv-final-cta{display:flex;align-items:center;justify-content:center;gap:28px;flex-wrap:wrap}

/* ---------- responsive ---------- */
@media(max-width:900px){
  .hv-hero{padding-top:130px}
  .hv-hero > .wrap{padding:40px 26px;border-radius:24px}
  .hv-hero > .wrap::before{border-radius:25px}
  .hv-mock{margin-top:40px}
  .hv-mock-body{grid-template-columns:1fr;height:360px}
  .hv-stream{border-right:0;border-bottom:1px solid rgba(20,40,80,.08);min-height:0}
  [dir="rtl"] .hv-stream{border-left:0;border-bottom:1px solid rgba(20,40,80,.08)}
  .hv-flow{grid-template-columns:1fr}
  .hv-link{width:2px;height:46px;justify-self:center;background:linear-gradient(180deg,transparent,rgba(10,159,224,.55),transparent)}
  .hv-dot{top:0;left:-4px;animation-name:hvTravelD}
  [dir="rtl"] .hv-dot{animation-name:hvTravelD}
  @keyframes hvTravelD{0%{top:0;opacity:0}12%{opacity:1}88%{opacity:1}100%{top:calc(100% - 10px);opacity:0}}
  .hv-ba{grid-template-columns:1fr}
  .hv-timeline{grid-template-columns:1fr;gap:28px}
  .hv-timeline::before{left:10px;right:auto;top:5%;bottom:5%;width:2px;height:auto;background:linear-gradient(180deg,transparent,rgba(216,79,158,.5),rgba(10,159,224,.5),transparent)}
  [dir="rtl"] .hv-timeline::before{left:auto;right:10px}
  .hv-tstep{text-align:left;padding:0 0 0 46px}
  [dir="rtl"] .hv-tstep{text-align:right;padding:0 46px 0 0}
  .hv-tdot{position:absolute;left:0;top:2px;margin:0}
  [dir="rtl"] .hv-tdot{left:auto;right:0}
  .hv-pilot-foot{padding:32px 26px}
  .hv-final{padding:90px 0}
}
