/* ==========================================================
   落地页：沉浸式深海首屏 + 白色行动区
   所有动画只用 transform / opacity，页面后台时自动暂停（见 fx.js）
   ========================================================== */
.landing { display: flex; flex-direction: column; background: #fff; color: var(--text); }

/* ---------- 首屏海洋 ---------- */
.sea {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 0 24px 92px; color: #fff; text-align: center;
  background:
    radial-gradient(120% 60% at 85% 0%, rgba(0,220,255,.75), transparent 60%),
    radial-gradient(90% 60% at 0% 35%, rgba(124,92,255,.55), transparent 65%),
    radial-gradient(80% 50% at 50% 100%, rgba(0,198,255,.45), transparent 70%),
    linear-gradient(180deg, #1B4DFF 0%, #0E36E0 55%, #1268F5 100%);
}

/* 光束：一张锥形渐变，缓慢旋转 */
.rays {
  position: absolute; z-index: -1; left: 50%; top: -260px;
  width: 700px; height: 700px; margin-left: -350px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.10) 0deg 6deg, transparent 6deg 22deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 20%, transparent 100%);
  animation: spin 60s linear infinite;
  will-change: transform;   /* 交给显卡旋转，不每帧重绘 */
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 上浮气泡 */
.bubbles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bubbles i {
  position: absolute; bottom: 40px; left: var(--x);
  width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(255,255,255,.15));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
  opacity: 0;
  animation: rise var(--d) linear infinite var(--t);
}
@keyframes rise {
  0%   { transform: translate3d(0, 0, 0); opacity: 0; }
  10%  { opacity: .9; }
  50%  { transform: translate3d(10px, -260px, 0); }
  90%  { opacity: .6; }
  100% { transform: translate3d(-6px, -520px, 0); opacity: 0; }
}

.topline { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 0; }
.topline .brand { display: flex; align-items: center; gap: 8px; }
.topline .logo { width: 26px; height: 26px; background: url(../img/logo-white.png) center / contain no-repeat; }
.topline b { font-size: 15px; font-weight: 800; letter-spacing: .18em; }
.topline button {
  font-size: 12px; font-weight: 600; letter-spacing: .06em; color: #fff;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}

/* 主视觉鲸鱼 */
.whale {
  position: relative; width: 190px; height: 190px; margin: 26px auto 4px;
  transform: perspective(600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s ease-out;
}
.whale .glow {
  position: absolute; inset: 20px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.55), rgba(0,220,255,.25) 45%, transparent 70%);
  animation: breathe 4s ease-in-out infinite;
}
.whale .core {
  position: absolute; inset: 38px; border-radius: 50%;
  background: url(../img/logo-white.png) center / 70% no-repeat, rgba(255,255,255,.16);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55), 0 20px 50px rgba(0,30,140,.35);
  animation: swim 6s ease-in-out infinite;
}
.whale .ring {
  position: absolute; inset: 38px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.7); opacity: 0;
  animation: ripple 3.6s cubic-bezier(.2,.6,.3,1) infinite;
}
.whale .ring:nth-child(2) { animation-delay: 1.2s; }
.whale .ring:nth-child(3) { animation-delay: 2.4s; }
@keyframes swim {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  30%      { transform: translate(3px, -8px) rotate(-3deg); }
  65%      { transform: translate(-3px, -3px) rotate(2deg); }
}
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }

.chip {
  position: absolute; display: flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
  animation: bob 4.5s ease-in-out infinite;
}
.chip.c1 { right: -26px; top: 34px; color: #fff; background: var(--pop-grad); box-shadow: 0 8px 18px rgba(255,122,69,.45); }
.chip.c1 i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blinkDot 1.2s ease-in-out infinite; }
.chip.c2 { left: -22px; bottom: 34px; color: var(--accent-deep); background: #fff; box-shadow: 0 8px 18px rgba(0,30,140,.25); animation-delay: 1.5s; }
@keyframes bob { 50% { transform: translateY(-7px); } }
@keyframes blinkDot { 50% { opacity: .3; } }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .3em; color: rgba(255,255,255,.75); }

.sea h1 {
  margin-top: 10px; min-height: 2.7em;
  font-size: 30px; line-height: 1.32; font-weight: 900; letter-spacing: .02em;
  text-shadow: 0 6px 24px rgba(0,30,140,.35);
}
.sea h1 span {
  background: linear-gradient(90deg, #FFE27A, #FFB627 45%, #FF8A5C);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
}
.sea .lead { margin: 10px auto 0; max-width: 20em; min-height: 3.6em; font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.85); }

.sea.swap h1, .sea.swap .lead { animation: swapIn .5s cubic-bezier(.2,.8,.2,1) both; }
.sea.swap .lead { animation-delay: .06s; }
@keyframes swapIn { from { opacity: 0; transform: translateY(10px); } }

/* 海浪：每层 SVG 两倍宽，横向平移半个宽度后无缝循环 */
.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 80px; pointer-events: none; }
.waves svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; will-change: transform; }
.waves path { fill: #fff; }
.waves .w1 { opacity: .22; animation: wave 11s linear infinite; }
.waves .w2 { opacity: .45; animation: wave 8s linear infinite reverse; }
.waves .w3 { opacity: 1;   animation: wave 14s linear infinite; }
@keyframes wave { to { transform: translateX(-50%); } }

/* ---------- 下半屏 ---------- */
.deck { position: relative; flex: 1; display: flex; flex-direction: column; padding: 0 22px; margin-top: -26px; z-index: 2; }

.identity {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 12px 16px; border-radius: 20px; background: #fff;
  box-shadow: 0 14px 34px rgba(27,77,255,.16), inset 0 0 0 1px rgba(30,123,255,.08);
}
.deck.swap .identity { animation: swapIn .5s cubic-bezier(.2,.8,.2,1) both .1s; }
.identity .txt { flex: 1; min-width: 0; line-height: 1.4; }
.identity b { display: block; font-size: 16px; font-weight: 800; letter-spacing: .04em; }
.identity small { display: block; font-size: 12px; color: var(--text-3); }
.identity .chg { font-size: 12px; font-weight: 700; color: var(--accent); padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); }

.cta-btn { margin-top: 16px; height: 56px; font-size: 16px; border-radius: 18px; }
.cta-btn .eq { display: inline-flex; align-items: center; gap: 2px; height: 16px; margin-right: 2px; }
.cta-btn .eq i { width: 3px; height: 100%; border-radius: 2px; background: #fff; animation: eq 1s ease-in-out infinite; }
.cta-btn .eq i:nth-child(2) { animation-delay: .15s; } .cta-btn .eq i:nth-child(3) { animation-delay: .3s; } .cta-btn .eq i:nth-child(4) { animation-delay: .45s; }
@keyframes eq { 50% { transform: scaleY(.35); } }
.btn-pop::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); animation: shine 3.2s ease-in-out infinite 1s; pointer-events: none; }
.hint { text-align: center; font-size: 11px; color: var(--text-3); letter-spacing: .08em; margin-top: 10px; }

.facts { list-style: none; display: flex; gap: 8px; margin-top: 18px; }
.facts li { flex: 1; padding: 12px 0 10px; text-align: center; border-radius: 16px; background: #F4F8FF; }
.facts b { display: block; font-family: var(--num); font-size: 24px; font-weight: 700; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts li:nth-child(2) b { background: var(--pop-grad); -webkit-background-clip: text; background-clip: text; }
.facts span { font-size: 11px; letter-spacing: .08em; color: var(--text-3); }
.deck .foot-note { margin-top: auto; }

/* 行业头像字：每个行业一种颜色，更活泼 */
.mono {
  flex: none; width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  font-size: 18px; font-weight: 800; color: #fff;
  background: var(--grad);
  box-shadow: 0 6px 14px rgba(27,77,255,.25);
}
.mono[data-c="1"] { background: linear-gradient(135deg, #FF9F1C, #FF5F45); box-shadow: 0 6px 14px rgba(255,95,69,.28); }
.mono[data-c="2"] { background: linear-gradient(135deg, #1B4DFF, #00C6FF); }
.mono[data-c="3"] { background: linear-gradient(135deg, #FF5FA2, #A35CFF); box-shadow: 0 6px 14px rgba(255,95,162,.28); }
.mono[data-c="4"] { background: linear-gradient(135deg, #00B386, #00C6FF); box-shadow: 0 6px 14px rgba(0,179,134,.28); }
.mono[data-c="5"] { background: linear-gradient(135deg, #7C5CFF, #1B4DFF); box-shadow: 0 6px 14px rgba(124,92,255,.28); }
.mono[data-c="6"] { background: linear-gradient(135deg, #E8433E, #FF9F1C); box-shadow: 0 6px 14px rgba(232,67,62,.25); }
.mono[data-c="7"] { background: linear-gradient(135deg, #5B6B8C, #8D9AB5); box-shadow: 0 6px 14px rgba(91,107,140,.25); }


/* ---------- 行业选择卡 ---------- */
.pick-sheet { padding-top: 10px; background: var(--surface); }
.pick-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pick-head h3 { font-size: 20px; font-weight: 800; }
.pick-head .close { width: 32px; height: 32px; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--text-3); }
.pick-head .close:active { background: var(--accent-soft); }

.pick-list { display: flex; flex-direction: column; gap: 8px; }
.opt {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 10px 46px 10px 12px; border-radius: 18px;
  background: #F5F8FF;
  box-shadow: inset 0 0 0 1.5px transparent;
  transition: box-shadow .2s, background .2s, transform .15s;
}
.sheet-open .opt { animation: optIn .4s cubic-bezier(.2,.8,.2,1) both; }
.sheet-open .opt:nth-child(2) { animation-delay: .04s; }
.sheet-open .opt:nth-child(3) { animation-delay: .08s; }
.sheet-open .opt:nth-child(4) { animation-delay: .12s; }
.sheet-open .opt:nth-child(5) { animation-delay: .16s; }
.sheet-open .opt:nth-child(6) { animation-delay: .2s; }
.sheet-open .opt:nth-child(7) { animation-delay: .24s; }
@keyframes optIn { from { opacity: 0; transform: translateY(12px); } }
.opt:active { transform: scale(.985); }
.opt .mono { width: 42px; height: 42px; font-size: 17px; }
.opt .txt { flex: 1; min-width: 0; line-height: 1.45; }
.opt b { display: block; font-size: 16px; font-weight: 700; color: var(--text); }
.opt small { display: block; font-size: 12px; color: var(--text-3); }
.opt .desc {
  display: block; font-style: normal; font-size: 12px; line-height: 1.7; color: var(--text-2);
  max-height: 0; overflow: hidden; opacity: 0; transition: max-height .3s ease, opacity .3s ease, margin .3s ease;
}
.show-desc .opt .desc { max-height: 80px; opacity: 1; margin-top: 6px; }
.opt::after {
  content: "✓"; position: absolute; right: 14px; top: 50%;
  width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff;
  background: var(--pop-grad); transform: scale(0); transition: transform .3s cubic-bezier(.3,1.6,.5,1);
}
.opt[aria-pressed="true"] { background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent), 0 8px 20px rgba(27,77,255,.12); }
.opt[aria-pressed="true"]::after { transform: scale(1); }

.more { display: block; margin: 14px auto 0; font-size: 12px; letter-spacing: .1em; color: var(--text-3); }
.more span { font-size: 10px; }
.skip {
  display: block; width: 100%; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--accent);
}

/* 弹出行业选择卡时，被遮住的首页动画暂停，把性能留给弹卡动画 */
body.sheet-open .rays,
body.sheet-open .bubbles i,
body.sheet-open .waves svg,
body.sheet-open .whale *,
body.sheet-open .chip,
body.sheet-open .chip i,
body.sheet-open .eq i,
body.sheet-open .btn-pop::after { animation-play-state: paused; }
