/* ============================================================
   CloudFisher 渔云 · 落地页
   主题:云海垂钓 · 浅色 + 深色节点面板
   品牌色:紫罗兰 #7c3aed → 珊瑚红 #f4574d
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
    --c-ink: #1b1826;
    --c-body: #57536a;
    --c-muted: #9d99af;
    --c-violet: #7c3aed;
    --c-violet-deep: #6428d4;
    --c-coral: #f4574d;
    --c-line: #ebe8f2;
    --c-bg: #fdfcff;
    --card-bg: #ffffff;
    --tile-bg: #f6f3fc;
    --glass-bg: rgba(255, 255, 255, .85);
    --nav-bg: rgba(253, 252, 255, .86);
    --grad-brand: linear-gradient(120deg, #7c3aed 0%, #f4574d 100%);
    --grad-text: linear-gradient(110deg, #7c3aed 10%, #c04ca8 55%, #f4574d 100%);
    --shadow-card: 0 1px 2px rgba(27, 24, 38, .04), 0 12px 32px -12px rgba(27, 24, 38, .10);
    --shadow-hover: 0 2px 4px rgba(27, 24, 38, .05), 0 24px 48px -16px rgba(124, 58, 237, .22);
    --font: "Inter", "Segoe UI", system-ui, -apple-system, "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
    color-scheme: light;
}

/* ---------- 深色主题变量 ---------- */
[data-theme="dark"] {
    --c-ink: #f0edf8;
    --c-body: #aea9c2;
    --c-muted: #6f6a84;
    --c-violet: #a78bfa;
    --c-violet-deep: #c4b0ff;
    --c-coral: #fb7d74;
    --c-line: rgba(255, 255, 255, .09);
    --c-bg: #0f0c1c;
    --card-bg: #171226;
    --tile-bg: rgba(255, 255, 255, .07);
    --glass-bg: rgba(23, 18, 38, .8);
    --nav-bg: rgba(15, 12, 28, .82);
    --grad-text: linear-gradient(110deg, #a78bfa 10%, #e06aba 55%, #fb7d74 100%);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .45);
    --shadow-hover: 0 2px 4px rgba(0, 0, 0, .35), 0 24px 48px -16px rgba(124, 58, 237, .35);
    color-scheme: dark;
}

/* 主题切换:View Transitions 淡入淡出 */
::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: .45s;
    animation-timing-function: ease;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; background: var(--c-bg); -webkit-tap-highlight-color: transparent; }

body {
    font-family: var(--font);
    color: var(--c-body);
    background: var(--c-bg);
    line-height: 1.7;
    letter-spacing: .012em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-synthesis-weight: none;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { width: min(1200px, 92%); margin-inline: auto; }

::selection { background: rgba(124, 58, 237, .22); }

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--c-violet);
    outline-offset: 2px;
    border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* ---------- 进场动画 ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border-radius: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .22s ease, box-shadow .22s ease;
    position: relative;
    overflow: hidden;
}
.btn-grad {
    color: #fff;
    background: var(--grad-brand);
    padding: 13px 30px;
    font-size: 15.5px;
    box-shadow: 0 10px 24px -8px rgba(196, 74, 130, .6);
}
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -8px rgba(196, 74, 130, .65); }
.btn-grad::after {
    content: "";
    position: absolute;
    top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg);
    animation: shine 4s ease-in-out infinite;
}
@keyframes shine {
    0% { left: -60%; }
    55%, 100% { left: 130%; }
}

.btn-plain {
    color: var(--c-ink);
    background: var(--card-bg);
    border: 1px solid var(--c-line);
    padding: 13px 28px;
    font-size: 15.5px;
    box-shadow: var(--shadow-card);
}
.btn-plain:hover { transform: translateY(-2px); border-color: #d9d2ea; }

/* ============================================================
   导航(通栏)
   ============================================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: saturate(1.5) blur(16px);
    -webkit-backdrop-filter: saturate(1.5) blur(16px);
    border-bottom: 1px solid var(--c-line);
}

/* 主题切换按钮 */
.theme-toggle {
    position: relative;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--c-line);
    background: transparent;
    color: var(--c-ink);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .25s ease, border-color .25s ease, transform .2s ease;
}
.theme-toggle:hover { background: rgba(140, 128, 170, .12); transform: rotate(12deg); }
.theme-toggle svg {
    position: absolute;
    width: 17px;
    height: 17px;
    transition: transform .5s cubic-bezier(.22, .61, .36, 1), opacity .35s ease;
}
[data-theme="light"] .theme-toggle .icon-sun { opacity: 0; transform: rotate(90deg) scale(.4); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(-90deg) scale(.4); }
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}
.nav-logo img { height: 44px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--c-body);
    transition: color .2s ease;
}
.nav-links a:hover { color: var(--c-ink); }

.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-login { font-size: 14.5px; font-weight: 600; color: var(--c-ink); transition: color .2s; }
.nav-login:hover { color: var(--c-violet); }
.nav-cta .btn-grad { padding: 10px 24px; font-size: 14px; border-radius: 12px; }

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 10px;
    cursor: pointer;
}
.nav-burger span { width: 20px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero · 云海垂钓
   ============================================================ */
.hero {
    position: relative;
    padding: 92px 0 300px;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(640px 400px at 78% 14%, rgba(244, 87, 77, .10), transparent 65%),
        radial-gradient(560px 380px at 12% 8%, rgba(124, 58, 237, .10), transparent 65%);
    pointer-events: none;
}

.hero-copy { position: relative; z-index: 3; max-width: 620px; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .22em;
    color: var(--c-violet-deep);
    background: rgba(124, 58, 237, .08);
    border: 1px solid rgba(124, 58, 237, .18);
    border-radius: 999px;
    padding: 7px 16px;
    margin-bottom: 24px;
}
.hero-eyebrow .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: dotPing 2.2s ease-out infinite;
}
@keyframes dotPing {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .45); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero h1 {
    font-size: clamp(40px, 6.2vw, 72px);
    font-weight: 900;
    letter-spacing: .01em;
    line-height: 1.22;
    color: var(--c-ink);
    text-wrap: balance;
}
.hero h1 .grad {
    background: var(--grad-text);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gradShift 7s linear infinite;
}
@keyframes gradShift { to { background-position: 200% 0; } }

.hero-sub {
    margin-top: 20px;
    font-size: clamp(15px, 1.9vw, 17px);
    color: var(--c-body);
    max-width: 460px;
}

.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

.hero-chips { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--glass-bg);
    backdrop-filter: blur(6px);
    border: 1px solid var(--c-line);
    border-radius: 999px;
    padding: 7px 15px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--c-body);
    box-shadow: var(--shadow-card);
}
.chip b { color: var(--c-ink); font-weight: 800; }
.chip svg { width: 14px; height: 14px; flex: none; }
.chip .i-v { color: var(--c-violet); }
.chip .i-c { color: var(--c-coral); }
.chip .i-g { color: #16a34a; }

/* ---------- 云海(多层流动波浪) ---------- */
.cloud-sea {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 280px;
    z-index: 1;
    pointer-events: none;
}
.wave {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    overflow: hidden;
}
.wave svg {
    display: block;
    width: 200%;
    height: 100%;
}
.wave.w1 { height: 100%; animation: bobY 9s ease-in-out infinite; }
.wave.w1 svg { animation: driftX 46s linear infinite; }
.wave.w2 { height: 78%; animation: bobY 11s ease-in-out 1.2s infinite; }
.wave.w2 svg { animation: driftX 34s linear infinite reverse; }
.wave.w3 { height: 56%; animation: bobY 13s ease-in-out 2.4s infinite; }
.wave.w3 svg { animation: driftX 24s linear infinite; }

@keyframes driftX { to { transform: translateX(-50%); } }
@keyframes bobY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(9px); }
}

/* ---------- 鱼竿 ---------- */
.rod {
    position: absolute;
    right: clamp(-40px, 3vw, 90px);
    bottom: 120px;
    width: min(480px, 46vw);
    z-index: 2;
    pointer-events: none;
    transform-origin: 92% 96%;
    animation: rodSway 7s ease-in-out infinite;
}
@keyframes rodSway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(1.6deg); }
}
.rod svg { width: 100%; height: auto; overflow: visible; }

.rod-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.hero.is-loaded .rod-draw { animation: drawIn 1.5s cubic-bezier(.4, 0, .2, 1) .3s forwards; }
.hero.is-loaded .rod-draw.d2 { animation-delay: .8s; }
@keyframes drawIn { to { stroke-dashoffset: 0; } }

.bobber {
    transform-box: fill-box;
    transform-origin: center;
    animation: bobberY 3.8s ease-in-out infinite;
}
@keyframes bobberY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(7px); }
}

.rod-ripple {
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0;
    animation: rippleOut 4s ease-out infinite;
}
.rod-ripple.rr2 { animation-delay: 1.3s; }
.rod-ripple.rr3 { animation-delay: 2.6s; }
@keyframes rippleOut {
    0% { transform: scale(.3); opacity: .75; }
    100% { transform: scale(1.15); opacity: 0; }
}

.sea-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(124, 58, 237, .14);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-ink);
    box-shadow: 0 10px 28px -8px rgba(124, 58, 237, .28);
    animation: chipFloat 6s ease-in-out infinite;
}
.sea-chip svg { width: 15px; height: 15px; flex: none; }
.sea-chip.sc1 { left: 8%; bottom: 165px; }
.sea-chip.sc2 { left: 30%; bottom: 105px; animation-delay: 1.5s; }
.sea-chip.sc3 { left: 52%; bottom: 150px; animation-delay: 3s; }
@keyframes chipFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-13px) rotate(1.4deg); }
}

/* ============================================================
   通用小节标题
   ============================================================ */
.section { padding: 96px 0 0; }

.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; }
.section-head .kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .26em;
    color: var(--c-coral);
    margin-bottom: 12px;
}
.section-head .kicker::before { content: ""; width: 26px; height: 2px; background: var(--c-coral); }
.section-head.center .kicker::after { content: ""; width: 26px; height: 2px; background: var(--c-coral); }
.section-head h2 {
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 800;
    color: var(--c-ink);
    letter-spacing: .01em;
    line-height: 1.3;
    text-wrap: balance;
}
.section-head p { margin-top: 10px; font-size: 15px; color: var(--c-body); }

/* ============================================================
   全球节点面板(浅色基础样式,深色见主题覆盖块)
   ============================================================ */
.globe-panel {
    position: relative;
    border-radius: 32px;
    background: linear-gradient(150deg, #faf7ff 0%, #f3ecff 55%, #fdf1ef 100%);
    border: 1px solid var(--c-line);
    padding: clamp(34px, 4.5vw, 58px);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.globe-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(480px 300px at 85% 8%, rgba(124, 58, 237, .12), transparent 62%),
        radial-gradient(420px 280px at 8% 95%, rgba(244, 87, 77, .1), transparent 62%);
    pointer-events: none;
    animation: auroraShift 9s ease-in-out infinite alternate;
}
@keyframes auroraShift {
    from { opacity: .7; }
    to { opacity: 1; transform: translateY(-8px); }
}
.globe-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(124, 58, 237, .16) 1px, transparent 1.5px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 15%, #000, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 90% at 50% 15%, #000, transparent 80%);
    pointer-events: none;
}
.globe-panel > * { position: relative; z-index: 1; }

.globe-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
    flex-wrap: wrap;
}
.globe-head .kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .26em;
    color: var(--c-coral);
    margin-bottom: 12px;
}
.globe-head .kicker::before { content: ""; width: 26px; height: 2px; background: #f4574d; }
.globe-head h2 {
    font-size: clamp(25px, 3.4vw, 38px);
    font-weight: 800;
    color: var(--c-ink);
    letter-spacing: .01em;
    line-height: 1.3;
}
.globe-head p { margin-top: 8px; font-size: 14.5px; color: var(--c-body); }

.globe-badge {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #0e9f6e;
    background: rgba(16, 185, 129, .09);
    border: 1px solid rgba(16, 185, 129, .28);
    padding: 7px 15px;
    border-radius: 999px;
}
.globe-badge .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: dotPing 2.2s ease-out infinite;
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.region {
    display: flex;
    align-items: center;
    gap: 13px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(124, 58, 237, .1);
    border-radius: 16px;
    padding: 16px 18px;
    transition: transform .26s ease, border-color .26s ease, background .26s ease;
}
.region:hover {
    transform: translateY(-3px);
    border-color: rgba(124, 58, 237, .4);
    background: #fff;
}
.region .sig {
    flex: none;
    width: 34px; height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(124, 58, 237, .08);
}
.region .sig svg { width: 17px; height: 17px; }
.region:nth-child(odd) .sig svg { color: #7c3aed; }
.region:nth-child(even) .sig svg { color: #f4574d; }
.region b { display: block; font-size: 15px; font-weight: 700; color: var(--c-ink); line-height: 1.35; }
.region small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; color: var(--c-muted); }

.globe-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 34px;
    padding-top: 30px;
    border-top: 1px solid rgba(124, 58, 237, .14);
}
.gstat { display: flex; align-items: center; gap: 13px; }
.gstat .gi {
    flex: none;
    width: 40px; height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(124, 58, 237, .1);
}
.gstat .gi svg { width: 19px; height: 19px; color: #7c3aed; }
.gstat:nth-child(2) .gi svg { color: #f4574d; }
.gstat:nth-child(3) .gi svg { color: #0f9d6c; }
.gstat:nth-child(4) .gi svg { color: #d98f06; }
.gstat b { display: block; font-size: 19px; font-weight: 800; color: var(--c-ink); line-height: 1.3; font-variant-numeric: tabular-nums; }
.gstat span { display: block; font-size: 12px; color: var(--c-muted); }

/* ============================================================
   功能特性(带内嵌动效的四卡)
   ============================================================ */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.feat {
    border: 1px solid var(--c-line);
    border-radius: 26px;
    box-shadow: var(--shadow-card);
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow: hidden;
    position: relative;
    transition: transform .28s ease, box-shadow .28s ease;
}
.feat:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.feat.f-speed { background: linear-gradient(165deg, #fdf3f1 0%, #fcecea 100%); }
.feat.f-secure { background: linear-gradient(165deg, #f6f1fe 0%, #f1eafd 100%); }
.feat.f-route { background: linear-gradient(165deg, #eefaf3 0%, #e8f6ee 100%); }
.feat.f-device { background: linear-gradient(165deg, #fdf7ec 0%, #fbf2e2 100%); }

.feat-top { display: flex; gap: 14px; align-items: flex-start; }
.feat-icon {
    flex: none;
    width: 46px; height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #fff;
    box-shadow: var(--shadow-card);
}
.feat-icon svg { width: 22px; height: 22px; }
.f-speed .feat-icon svg { color: var(--c-coral); }
.f-secure .feat-icon svg { color: var(--c-violet); }
.f-route .feat-icon svg { color: #0f9d6c; }
.f-device .feat-icon svg { color: #d97706; }

.feat h3 { font-size: 17.5px; font-weight: 800; color: var(--c-ink); margin-bottom: 4px; }
.feat p { font-size: 13.5px; color: var(--c-body); }

.feat-visual {
    flex: 1;
    min-height: 88px;
    display: grid;
    place-items: center;
}

/* 速度卡:均衡器条 */
.eq { display: flex; align-items: flex-end; gap: 9px; height: 72px; }
.eq i {
    width: 14px;
    border-radius: 6px 6px 3px 3px;
    background: linear-gradient(180deg, #f4574d, #f9a8a2);
    animation: eqBounce 1.6s ease-in-out infinite;
}
.eq i:nth-child(1) { height: 34%; animation-delay: 0s; }
.eq i:nth-child(2) { height: 62%; animation-delay: .15s; }
.eq i:nth-child(3) { height: 90%; animation-delay: .3s; }
.eq i:nth-child(4) { height: 55%; animation-delay: .45s; }
.eq i:nth-child(5) { height: 76%; animation-delay: .6s; }
.eq i:nth-child(6) { height: 42%; animation-delay: .75s; }
@keyframes eqBounce {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(.55); }
}
.eq i { transform-origin: bottom; }

/* 安全卡:盾牌 + 环 */
.mini-shield { position: relative; display: grid; place-items: center; }
.mini-shield::before {
    content: "";
    position: absolute;
    width: 105px; height: 105px;
    border-radius: 50%;
    border: 1.5px dashed rgba(124, 58, 237, .35);
    animation: spinSlow 16s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.mini-shield svg { width: 62px; height: auto; animation: floatY 4.8s ease-in-out infinite; }
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* 路由卡:定位涟漪 */
.mini-route { position: relative; display: grid; place-items: center; width: 100%; height: 100%; }
.mini-route .pin { width: 34px; height: 34px; color: #0f9d6c; position: relative; z-index: 1; animation: floatY 4.2s ease-in-out infinite; }
.mini-route .ring {
    position: absolute;
    left: 50%; top: 50%;
    border: 1.5px solid rgba(15, 157, 108, .38);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(.3);
    opacity: 0;
    animation: routeRipple 3.4s ease-out infinite;
}
.mini-route .ring.r1 { width: 64px; height: 64px; }
.mini-route .ring.r2 { width: 104px; height: 104px; animation-delay: 1.1s; }
.mini-route .ring.r3 { width: 144px; height: 144px; animation-delay: 2.2s; }
@keyframes routeRipple {
    0% { transform: translate(-50%, -50%) scale(.35); opacity: .8; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

/* 设备卡:漂浮线稿 */
.mini-devices { display: flex; align-items: flex-end; justify-content: center; gap: 12px; }
.mini-devices svg { color: #8a6420; animation: floatY 4.6s ease-in-out infinite; }
.mini-devices svg:nth-child(2) { animation-delay: .9s; }
.mini-devices svg:nth-child(3) { animation-delay: 1.8s; }

.feat-foot { display: flex; flex-wrap: wrap; gap: 7px; }
.feat-foot span {
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(27, 24, 38, .06);
    color: var(--c-body);
}

/* ============================================================
   流媒体 · 全宽跑马灯带
   ============================================================ */
.stream-band {
    margin-top: 96px;
    padding: 64px 0;
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    background: linear-gradient(180deg, #fdfcff 0%, #f8f4fe 55%, #fdfcff 100%);
    overflow: hidden;
}
.stream-band .section-head { margin-bottom: 34px; }

.stream-row {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    padding: 7px 0;
}
.stream-track { display: flex; gap: 14px; width: max-content; animation: streamMove 32s linear infinite; }
.stream-track.reverse { animation-direction: reverse; animation-duration: 40s; }
.stream-band:hover .stream-track { animation-play-state: paused; }
@keyframes streamMove { to { transform: translateX(calc(-50% - 7px)); } }

.schip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--card-bg);
    border: 1px solid var(--c-line);
    color: var(--c-ink);
    white-space: nowrap;
    box-shadow: 0 6px 18px -8px rgba(27, 24, 38, .14);
    transition: transform .2s ease, border-color .2s ease;
}

/* 品牌色文字胶囊(深浅色分别定义) */
.c-disney { color: #3d7eff; }
.c-hbo { color: #8b5cf6; }
.c-appletv { color: #333; }
.c-hulu { color: #0f9d6c; }
.c-dazn { color: #57536a; }
.c-abema { color: #0f9d6c; }
[data-theme="dark"] .c-appletv { color: #e9e6f2; }
[data-theme="dark"] .c-dazn { color: #c9c4da; }
[data-theme="dark"] .c-hulu, [data-theme="dark"] .c-abema { color: #3fe0a0; }
.schip:hover { transform: translateY(-3px); border-color: rgba(124, 58, 237, .35); }
.schip svg { width: 17px; height: 17px; flex: none; }

/* ============================================================
   用户评价
   ============================================================ */
.rev-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: -10px 0 36px;
}
.rev-rating b {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--c-ink);
    font-variant-numeric: tabular-nums;
}
.rev-stars { display: inline-flex; gap: 3px; color: #f5a623; }
.rev-stars svg { width: 19px; height: 19px; }
.rev-rating em { font-style: normal; font-size: 13.5px; color: var(--c-muted); }

.rev-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.rev {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 28px 28px 24px;
    border: 1px solid var(--c-line);
    border-radius: 22px;
    background: var(--card-bg);
    box-shadow: var(--shadow-card);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.rev:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(124, 58, 237, .28);
}
.rev blockquote {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--c-body);
    flex: 1;
}
.rev figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--c-line);
}
.rev-av {
    flex: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}
.rev-av.av1 { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.rev-av.av2 { background: linear-gradient(135deg, #f4574d, #fb923c); }
.rev-av.av3 { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.rev-av.av4 { background: linear-gradient(135deg, #ec4899, #f472b6); }
.rev-av.av5 { background: linear-gradient(135deg, #10b981, #34d399); }
.rev-av.av6 { background: linear-gradient(135deg, #6366f1, #818cf8); }
.rev-who b { display: block; font-size: 14px; font-weight: 700; color: var(--c-ink); line-height: 1.35; }
.rev-who span { display: block; font-size: 12px; color: var(--c-muted); }

/* ============================================================
   CTA · 云海回声
   ============================================================ */
.cta {
    position: relative;
    margin-top: 100px;
    padding: 96px 0 200px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, #fdfcff 0%, #f6f1fe 100%);
    border-top: 1px solid var(--c-line);
}
.cta .cloud-sea { height: 190px; }

.cta-inner { position: relative; z-index: 3; }
.cta h2 {
    font-size: clamp(28px, 4.2vw, 46px);
    font-weight: 900;
    color: var(--c-ink);
    letter-spacing: .01em;
    line-height: 1.3;
    text-wrap: balance;
}
.cta h2 .grad {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.cta p { margin: 14px auto 0; max-width: 460px; font-size: 15px; color: var(--c-body); }
.cta-actions { display: flex; justify-content: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.cta-note { margin-top: 20px; font-size: 12px; letter-spacing: .2em; color: var(--c-muted); }

/* ============================================================
   页脚
   ============================================================ */
.footer { border-top: 1px solid var(--c-line); padding: 34px 0; background: var(--card-bg); }
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.footer-inner img { height: 36px; width: auto; }
.footer-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-right a { font-size: 13px; color: var(--c-muted); transition: color .2s ease; }
.footer-right a:hover { color: var(--c-ink); }
.footer-right p { font-size: 13px; color: var(--c-muted); }

/* ============================================================
   深色主题组件适配
   ============================================================ */

/* 云海波浪(hero 与 CTA 通用):夜色紫层 */
[data-theme="dark"] .wave.w1 svg path { fill: #251b41; opacity: .95; }
[data-theme="dark"] .wave.w2 svg path { fill: #3a2145; opacity: .85; }
[data-theme="dark"] .wave.w3 svg path { fill: #171129; opacity: 1; }

/* 鱼竿线稿提亮 */
[data-theme="dark"] .rod path[stroke="#2c2840"] { stroke: #d6cdf0; }
[data-theme="dark"] .rod circle[stroke="#2c2840"] { stroke: #d6cdf0; }
[data-theme="dark"] .rod circle[fill="#2c2840"] { fill: #d6cdf0; }
[data-theme="dark"] .rod circle[fill="#fff"] { fill: #171129; }
[data-theme="dark"] .rod path[stroke="#5b566e"] { stroke: #9c93bd; }

/* 云海内容胶囊 */
[data-theme="dark"] .sea-chip {
    background: rgba(24, 18, 42, .88);
    border-color: rgba(167, 139, 250, .28);
    box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .55);
}

/* Hero 眉题 */
[data-theme="dark"] .hero-eyebrow {
    background: rgba(167, 139, 250, .1);
    border-color: rgba(167, 139, 250, .28);
}

/* 深色下 hero 光晕增强 */
[data-theme="dark"] .hero::before {
    background:
        radial-gradient(640px 400px at 78% 14%, rgba(244, 87, 77, .14), transparent 65%),
        radial-gradient(560px 380px at 12% 8%, rgba(124, 58, 237, .18), transparent 65%);
}

/* 节点面板:深色版完整覆盖 */
[data-theme="dark"] .globe-panel {
    border: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(150deg, #1d1433 0%, #2c1b4b 55%, #381f56 100%);
    box-shadow: 0 32px 72px -24px rgba(0, 0, 0, .55);
}
[data-theme="dark"] .globe-panel::before {
    background:
        radial-gradient(480px 300px at 85% 8%, rgba(124, 58, 237, .4), transparent 62%),
        radial-gradient(420px 280px at 8% 95%, rgba(244, 87, 77, .28), transparent 62%);
}
[data-theme="dark"] .globe-panel::after {
    background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1.5px);
}
[data-theme="dark"] .globe-head .kicker { color: #f79a93; }
[data-theme="dark"] .globe-head h2 { color: #fff; }
[data-theme="dark"] .globe-head p { color: rgba(255, 255, 255, .6); }
[data-theme="dark"] .globe-badge {
    color: #8ff0c8;
    background: rgba(52, 211, 153, .1);
    border-color: rgba(52, 211, 153, .28);
}
[data-theme="dark"] .region {
    background: rgba(255, 255, 255, .055);
    border-color: rgba(255, 255, 255, .11);
}
[data-theme="dark"] .region:hover {
    border-color: rgba(157, 107, 245, .55);
    background: rgba(124, 58, 237, .14);
}
[data-theme="dark"] .region .sig { background: rgba(255, 255, 255, .08); }
[data-theme="dark"] .region:nth-child(odd) .sig svg { color: #b18cff; }
[data-theme="dark"] .region:nth-child(even) .sig svg { color: #f79a93; }
[data-theme="dark"] .region b { color: #fff; }
[data-theme="dark"] .region small { color: rgba(255, 255, 255, .42); }
[data-theme="dark"] .globe-stats { border-top-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .gstat .gi { background: rgba(255, 255, 255, .07); border-color: transparent; }
[data-theme="dark"] .gstat .gi svg { color: #b18cff; }
[data-theme="dark"] .gstat:nth-child(2) .gi svg { color: #f79a93; }
[data-theme="dark"] .gstat:nth-child(3) .gi svg { color: #6ee7b7; }
[data-theme="dark"] .gstat:nth-child(4) .gi svg { color: #fcd34d; }
[data-theme="dark"] .gstat b { color: #fff; }
[data-theme="dark"] .gstat span { color: rgba(255, 255, 255, .5); }

/* 功能卡:夜色渐变底 */
[data-theme="dark"] .feat.f-speed { background: linear-gradient(165deg, #271523 0%, #1e101b 100%); }
[data-theme="dark"] .feat.f-secure { background: linear-gradient(165deg, #211738 0%, #19112b 100%); }
[data-theme="dark"] .feat.f-route { background: linear-gradient(165deg, #12261e 0%, #0e1d17 100%); }
[data-theme="dark"] .feat.f-device { background: linear-gradient(165deg, #281f11 0%, #1e170c 100%); }
[data-theme="dark"] .feat-icon { background: rgba(255, 255, 255, .08); box-shadow: none; }
[data-theme="dark"] .feat-foot span {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .09);
}
[data-theme="dark"] .mini-devices svg { color: #e0b76a; }
[data-theme="dark"] .mini-devices rect[fill="#fff"] { fill: #1c1530; }

/* 流媒体带 */
[data-theme="dark"] .stream-band {
    background: linear-gradient(180deg, #0f0c1c 0%, #191231 55%, #0f0c1c 100%);
}

/* CTA */
[data-theme="dark"] .cta {
    background: linear-gradient(180deg, #0f0c1c 0%, #1a1232 100%);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
    .region-grid { grid-template-columns: repeat(2, 1fr); }
    .globe-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
    .rev-grid { grid-template-columns: repeat(2, 1fr); }
    .rod { width: min(400px, 52vw); bottom: 140px; }
}

@media (max-width: 768px) {
    .nav-burger { display: flex; }
    .nav-login { display: none; }
    .nav-links {
        position: absolute;
        top: 74px;
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(253, 252, 255, .98);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--c-line);
        padding: 6px 0;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: transform .3s ease, opacity .3s ease, visibility .3s;
    }
    .nav-links.is-open { transform: none; opacity: 1; visibility: visible; }
    .nav-links a { padding: 13px 5%; font-size: 15px; }
    [data-theme="dark"] .nav-links { background: rgba(15, 12, 28, .98); }

    .hero { padding: 60px 0 250px; }
    .rod { width: 74vw; right: -14vw; bottom: 130px; opacity: .85; }
    .sea-chip.sc3 { display: none; }
    .sea-chip.sc1 { left: 5%; bottom: 150px; }
    .sea-chip.sc2 { left: 42%; bottom: 92px; }

    .section { padding: 68px 0 0; }
    .region-grid { grid-template-columns: 1fr; }
    .globe-stats { grid-template-columns: 1fr; }
    .feat-grid { grid-template-columns: 1fr; }
    .rev-grid { grid-template-columns: 1fr; }
    .stream-band { margin-top: 68px; padding: 48px 0; }
    .cta { padding: 72px 0 170px; margin-top: 68px; }
}
