/* 官网首页「Próximamente / 即将推出」行业区 + 联系区 WhatsApp 名片（2026-11-20 v1 上线；11-21 v2 打磨）。
 * 只用 up- / wa- / ct-cards / ct-has-wa 前缀，不改 v3 / ind 的样式。配 js/upcoming.js。
 * v2：卡片画面内嵌、标题旁小图标、底行价格 / Ver más；动画默认静止，鼠标停在卡上才慢慢动；手机一行一张紧凑小卡；「想第一个用」WhatsApp 绿色按钮。 */
.up-sec { background: radial-gradient(900px 420px at 50% 100%, rgba(245,163,0,.06), transparent 70%), var(--bg); }
.up-sec .sec-head { max-width: 50rem; }
.up-kick { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; background: #fff4d6; color: #8a5a00; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.up-kick i { width: 8px; height: 8px; border-radius: 50%; background: #f5a300; animation: upPulse 2.4s infinite; }
@keyframes upPulse { 0% { box-shadow: 0 0 0 0 rgba(245,163,0,.5); } 70% { box-shadow: 0 0 0 8px rgba(245,163,0,0); } 100% { box-shadow: 0 0 0 0 rgba(245,163,0,0); } }

/* 九个行业的颜色 */
.up-t1 { --u1: #ea580c; --u2: #f59e0b; --ud1: #2a1204; --ud2: #4a2208; --ug: rgba(249,115,22,.30); }
.up-t2 { --u1: #db2777; --u2: #f59e0b; --ud1: #2a0816; --ud2: #47122b; --ug: rgba(219,39,119,.28); }
.up-t3 { --u1: #0284c7; --u2: #8b5cf6; --ud1: #04192e; --ud2: #0d2c52; --ug: rgba(56,189,248,.28); }
.up-t4 { --u1: #4d7c0f; --u2: #0ea5e9; --ud1: #0a1f08; --ud2: #123614; --ug: rgba(190,242,100,.22); }
.up-t5 { --u1: #a21caf; --u2: #ec4899; --ud1: #24072a; --ud2: #3d0f45; --ug: rgba(244,114,182,.26); }
.up-t6 { --u1: #b45309; --u2: #64748b; --ud1: #1a1407; --ud2: #2e2410; --ug: rgba(251,191,36,.22); }
.up-t7 { --u1: #2563eb; --u2: #ef4444; --ud1: #071533; --ud2: #10265a; --ug: rgba(96,165,250,.28); }
.up-t8 { --u1: #0e7490; --u2: #6366f1; --ud1: #03192a; --ud2: #0a2a44; --ug: rgba(125,211,252,.24); }
.up-t9 { --u1: #1f6bff; --u2: #19b4ff; --ud1: #061634; --ud2: #0a2250; --ug: rgba(31,107,255,.34); }

/* 卡片 */
.up-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.up-grid:empty { min-height: 1450px; }
.up-card { position: relative; display: flex; flex-direction: column; border-radius: 20px; background: var(--card); border: 1px solid var(--card-line); box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.05); overflow: hidden; cursor: pointer; transition: transform .25s ease, box-shadow .25s, border-color .25s; }
.up-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--u1) 40%, var(--card-line)); box-shadow: 0 2px 4px rgba(15,23,42,.04), 0 22px 48px color-mix(in srgb, var(--u1) 18%, transparent); }
.up-card.rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease var(--d, 0s), transform .8s cubic-bezier(.2,.75,.2,1) var(--d, 0s), box-shadow .25s, border-color .25s; }
.up-card.rv.in { opacity: 1; transform: none; }
.up-card.rv.in:hover { transform: translateY(-4px); transition: transform .25s ease, box-shadow .25s, border-color .25s; }
.up-hit { position: absolute; inset: 0; z-index: 3; border: 0; padding: 0; margin: 0; background: transparent; cursor: pointer; border-radius: inherit; }
.up-hit:focus-visible { outline: 3px solid var(--u1); outline-offset: -3px; }
.up-vis, .up-dv { position: relative; overflow: hidden; background: radial-gradient(240px 150px at 70% 40%, var(--ug), transparent 70%), linear-gradient(160deg, var(--ud1), var(--ud2)); }
.up-vis { height: 150px; margin: 10px 10px 0; border-radius: 14px; }
.up-vis svg, .up-dv svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.up-body { padding: 16px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.up-hd { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.up-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--u1); background: color-mix(in srgb, var(--u1) 10%, var(--card)); }
.up-ico svg { width: 22px; height: 22px; }
.up-tt { min-width: 0; }
.up-card h3 { font-size: 18.5px; font-weight: 800; line-height: 1.22; margin: 0; }
.up-sub { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.up-d { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.up-ai { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 14px; font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.up-ai .ic { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--u1); }
.up-ai b { color: var(--u1); font-weight: 800; }
.up-ft { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--card-line); }
.up-tag { font-size: 12.5px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.up-tag.up-free { color: #15803d; }
.up-more { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 13.5px; color: var(--u1); }
.up-more .ic { width: 15px; height: 15px; transition: transform .2s; }
.up-card:hover .up-more .ic { transform: translateX(3px); }
.up-chev { display: none; }

/* 标签：Próximamente（黄）/ Disponible（绿），点不闪 */
.up-pill { position: absolute; left: 10px; top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }
.up-pill i { width: 6px; height: 6px; border-radius: 50%; }
.up-soon { background: rgba(255,244,214,.96); color: #8a5a00; } .up-soon i { background: #f5a300; }
.up-on { background: rgba(220,252,231,.96); color: #166534; } .up-on i { background: #16a34a; }

/* 以后还会有 */
.up-later { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 28px; padding: 16px 20px; border-radius: 16px; background: color-mix(in srgb, var(--card) 60%, transparent); border: 1px solid var(--card-line); }
.up-later b { font-size: 13.5px; margin-right: 6px; color: var(--muted); font-weight: 700; }
.up-later span { padding: 5px 12px; border-radius: 999px; font-size: 13px; background: var(--card); border: 1px solid var(--card-line); color: var(--ink); }

/* 简介弹窗 */
html.up-lock, html.up-lock body { overflow: hidden; }
.up-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.up-modal[hidden] { display: none; }
.up-back { position: absolute; inset: 0; background: rgba(6,12,28,.58); backdrop-filter: blur(4px); opacity: 0; transition: opacity .22s; }
.up-dlg { position: relative; width: min(860px, 100%); max-height: calc(100vh - 48px); overflow: auto; border-radius: 24px; background: var(--card); color: var(--ink); box-shadow: 0 40px 120px rgba(0,0,0,.4); opacity: 0; transform: translateY(20px) scale(.98); transition: opacity .22s, transform .28s cubic-bezier(.2,.75,.2,1); outline: none; }
.up-modal.on .up-back { opacity: 1; }
.up-modal.on .up-dlg { opacity: 1; transform: none; }
.up-dv { height: 180px; }
.up-x { position: absolute; right: 12px; top: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(255,255,255,.94); color: #0f172a; box-shadow: 0 6px 18px rgba(0,0,0,.22); }
.up-x .ic { width: 20px; height: 20px; }
.up-dc { padding: 22px 30px 26px; }
.up-dc .up-hd { margin-bottom: 12px; gap: 14px; }
.up-dc .up-ico { width: 48px; height: 48px; border-radius: 14px; } .up-dc .up-ico svg { width: 26px; height: 26px; }
.up-dc h3 { font-size: 28px; font-weight: 800; line-height: 1.15; margin: 2px 0 0; }
.up-dc .up-sub { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--u1); }
.up-dc .up-d { font-size: 16px; margin-bottom: 20px; }
.up-cols { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; margin-bottom: 18px; }
.up-cols h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14.5px; font-weight: 800; }
.up-cols h4 .ic { width: 18px; height: 18px; color: var(--u1); }
.up-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.up-cols li { display: flex; gap: 8px; align-items: flex-start; }
.up-cols li .ic { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--u1); stroke-width: 2.4; }
.up-aibox { padding: 16px 18px; border-radius: 16px; background: color-mix(in srgb, var(--u1) 7%, var(--card)); border: 1px solid color-mix(in srgb, var(--u1) 18%, transparent); }
.up-dc .up-price { margin: 0 0 16px; font-size: 14.5px; padding: 9px 14px; border-radius: 12px; background: color-mix(in srgb, var(--ink) 5%, var(--card)); display: inline-block; }
.up-dc .up-price.up-free { color: #15803d; }
.up-ctab { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--card-line); }
.up-ctab .btn { background: linear-gradient(135deg, #16a34a, #15803d); color: #fff; box-shadow: 0 10px 24px rgba(22,163,74,.28); }
.up-ctab .btn:hover { background: linear-gradient(135deg, #15803d, #166534); }
.up-ctab .btn .ic { width: 20px; height: 20px; }
.up-ctab p { margin: 0; flex: 1; min-width: 220px; font-size: 13px; color: var(--muted); }

/* 小动画：默认停在第一帧；鼠标停在卡上 / 弹窗里才慢慢动 */
.up-vis * { animation-play-state: paused !important; }
.up-card:hover .up-vis * { animation-play-state: running !important; }
.up-steam path { animation: upSteam 3.6s ease-in-out infinite; }
.up-steam path:nth-child(2) { animation-delay: -1.2s; } .up-steam path:nth-child(3) { animation-delay: -2.4s; }
@keyframes upSteam { 0%, 100% { opacity: .55; transform: none; } 50% { opacity: .9; transform: translateY(-4px); } }
.up-qr { animation: upFloat 4.5s ease-in-out infinite; }
@keyframes upFloat { 0%, 100% { transform: translate(206px, 112px); } 50% { transform: translate(206px, 107px); } }
.up-bub { animation: upBub 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s); }
@keyframes upBub { 0%, 100% { transform: none; } 50% { transform: translateY(-6px); } }
.up-hop { animation: upHop 1.8s cubic-bezier(.3,0,.7,1) infinite; }
@keyframes upHop { 0%, 100% { transform: translateY(12px); } 50% { transform: translateY(-12px); } }
.up-ball { animation: upBall 4.5s ease-in-out infinite; }
@keyframes upBall { 0%, 100% { transform: none; } 25% { transform: translate(60px, 50px); } 50% { transform: translate(120px, 80px); } 75% { transform: translate(60px, 30px); } }
.up-cutA { animation: upCutA 2s ease-in-out infinite; transform-origin: 0 0; }
.up-cutB { animation: upCutB 2s ease-in-out infinite; transform-origin: 0 0; }
@keyframes upCutA { 50% { transform: rotate(9deg); } }
@keyframes upCutB { 50% { transform: rotate(-9deg); } }
.up-wr { animation: upWr 3s ease-in-out infinite; }
@keyframes upWr { 0%, 100% { transform: translate(196px, 70px); } 50% { transform: translate(196px, 70px) rotate(-24deg); } }
.up-st { fill: rgba(255,255,255,.22); }
.up-st[style*="--i:0"], .up-st[style*="--i:1"] { fill: #4ade80; }
.up-sz rect { fill: rgba(255,255,255,.12); stroke: rgba(255,255,255,.35); }
.up-sz text { fill: #e2e8f0; }
.up-sz[style*="--i:1"] rect { fill: rgba(253,230,138,.9); stroke: none; } .up-sz[style*="--i:1"] text { fill: #1e293b; }
.up-shirt { animation: upShirt 8s steps(1) infinite; }
@keyframes upShirt { 0% { fill: #60a5fa; } 25% { fill: #f87171; } 50% { fill: #facc15; } 75% { fill: #4ade80; } }
.up-sl { opacity: 0; } .up-sl[style*="--i:0"] { opacity: 1; }
.up-sl { animation: upSl 9s steps(1) infinite; animation-delay: calc(var(--i) * 3s - 9s); }
@keyframes upSl { 0% { opacity: 1; } 33.3%, 100% { opacity: 0; } }
.up-ln { animation: upLn 6s ease infinite; animation-delay: calc(var(--i) * -.3s); }
@keyframes upLn { 0%, 70%, 100% { opacity: 1; transform: none; } 82% { opacity: 0; transform: translateY(5px); } }
.up-cur { animation: upCur 6s ease-in-out infinite; }
@keyframes upCur { 0%, 100% { transform: none; } 40%, 60% { transform: translate(-90px, -40px); } }

/* 截图 / 减少动画：全部静止 */
html.shot .up-card.rv { opacity: 1; transform: none; transition: none; }
html.shot .up-vis *, html.shot .up-dv *, html.shot .up-kick i { animation: none !important; }
html.shot .up-sl { opacity: 0; } html.shot .up-sl[style*="--i:0"] { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .up-card.rv { opacity: 1; transform: none; transition: none; }
  .up-vis *, .up-dv *, .up-kick i { animation: none !important; }
  .up-dlg, .up-back { transition: none; }
}

/* ===== 联系区：WhatsApp 名片 + 微信二维码并排 ===== */
.ct-grid.ct-has-wa { grid-template-columns: 1fr 620px; gap: 48px; }
.ct-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.ct-cards > .qr-card { height: 100%; align-content: start; }
.wa-card { background: #fff; color: #111; border-radius: 22px; padding: 22px; display: grid; justify-items: center; align-content: start; gap: 8px; text-align: center; box-shadow: 0 30px 70px rgba(0,0,0,.22); overflow: hidden; }
.wa-top { display: flex; align-items: center; gap: 12px; justify-self: stretch; text-align: left; margin-bottom: 4px; }
.wa-av { position: relative; flex: none; width: 50px; height: 50px; border-radius: 50%; background: #fdf6e3; display: grid; place-items: center; box-shadow: 0 0 0 2px #16a34a; }
.wa-av img { width: 36px; height: auto; }
.wa-av i { position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px; border-radius: 50%; background: #16a34a; color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.wa-av i svg { width: 12px; height: 12px; }
.wa-who b { display: block; font-size: 18px; color: #111; line-height: 1.2; }
.wa-who small { display: block; font-size: 12.5px; color: #6b7280; margin-top: 2px; }
.wa-qr { width: 100%; max-width: 240px; aspect-ratio: 1; display: block; }
.wa-qr svg { width: 100%; height: 100%; display: block; }
.wa-scan { font-size: 13px; color: #777; margin: 0; }
.wa-btn { justify-self: stretch; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; margin-top: 4px; padding: 0 14px; border-radius: 12px; background: linear-gradient(135deg, #16a34a, #15803d); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 10px 22px rgba(22,163,74,.3); transition: transform .15s, box-shadow .15s; }
.wa-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(22,163,74,.36); }
.wa-btn svg { width: 20px; height: 20px; flex: none; }

/* 平板 */
@media (max-width: 1080px) {
  .up-grid { grid-template-columns: repeat(2, 1fr); }
  .up-grid:empty { min-height: 2100px; }
}
@media (max-width: 980px) {
  .ct-grid.ct-has-wa { grid-template-columns: 1fr; gap: 32px; }
  .ct-cards { max-width: 640px; }
}
/* 手机：一行一张紧凑小卡（图标 + 名字 + 一句华速 AI + 箭头），点开从下面滑上来 */
@media (max-width: 640px) {
  .up-grid { grid-template-columns: 1fr; gap: 10px; }
  .up-grid:empty { min-height: 1000px; }
  .up-card { border-radius: 16px; box-shadow: 0 1px 2px rgba(15,23,42,.05); }
  .up-card:hover, .up-card.rv.in:hover { transform: none; }
  .up-vis { display: none; }
  .up-body { padding: 14px 40px 14px 14px; }
  .up-hd { margin-bottom: 6px; gap: 12px; }
  .up-ico { width: 44px; height: 44px; }
  .up-card h3 { font-size: 16.5px; }
  .up-sub { font-size: 12px; }
  .up-d { display: none; }
  .up-ai { margin: 0 0 0 56px; gap: 6px; font-size: 12.5px; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .up-ai .ic { width: 15px; height: 15px; margin-top: 2px; }
  .up-ft { margin: 8px 0 0 56px; padding-top: 0; border-top: 0; }
  .up-ft:not(:has(.up-tag)) { display: none; }
  .up-more { display: none; }
  .up-tag { font-size: 12px; }
  .up-chev { display: grid; place-items: center; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; color: var(--u1); }
  .up-chev .ic { width: 18px; height: 18px; }
  .up-later { padding: 14px; gap: 8px; margin-top: 18px; }
  .up-later b { width: 100%; }
  .up-later span { font-size: 12.5px; }
  .up-modal { padding: 0; align-items: flex-end; }
  .up-dlg { width: 100%; max-height: 90vh; border-radius: 22px 22px 0 0; transform: translateY(60px); }
  .up-dv { height: 140px; }
  .up-dc { padding: 18px 18px 24px; }
  .up-dc h3 { font-size: 23px; }
  .up-dc .up-ico { width: 44px; height: 44px; }
  .up-dc .up-d { font-size: 15px; }
  .up-cols { grid-template-columns: 1fr; gap: 16px; }
  .up-ctab { flex-direction: column; align-items: stretch; position: sticky; bottom: 0; margin: 0 -18px -24px; padding: 14px 18px 18px; background: var(--card); }
  .up-ctab .btn { width: 100%; }
  .up-ctab p { min-width: 0; text-align: center; }
  .ct-cards { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; gap: 16px; }
  .wa-qr { max-width: 190px; }
}
