/* ==========================================================
   首页独有模块 - 全球服务器地图 + 价值主张三栏 + 媒体引用
   ProtonVPN Edition I
   ========================================================== */

/* ========== 全球服务器地图 ========== */
.world-map-section {
    padding: 80px 20px;
    background: radial-gradient(ellipse at center, rgba(109, 74, 255, 0.08), transparent 70%);
    position: relative;
    overflow: hidden;
}

.world-map {
    max-width: 1100px;
    margin: 40px auto 0;
    position: relative;
    height: 480px;
    background:
        radial-gradient(circle at 25% 35%, rgba(109, 74, 255, 0.4) 0%, transparent 8%),
        radial-gradient(circle at 45% 28%, rgba(0, 212, 255, 0.4) 0%, transparent 6%),
        radial-gradient(circle at 55% 38%, rgba(109, 74, 255, 0.4) 0%, transparent 8%),
        radial-gradient(circle at 70% 32%, rgba(0, 212, 255, 0.5) 0%, transparent 10%),
        radial-gradient(circle at 78% 45%, rgba(109, 74, 255, 0.4) 0%, transparent 6%),
        radial-gradient(circle at 30% 55%, rgba(0, 212, 255, 0.4) 0%, transparent 7%),
        radial-gradient(circle at 60% 60%, rgba(109, 74, 255, 0.3) 0%, transparent 6%),
        radial-gradient(circle at 82% 65%, rgba(0, 212, 255, 0.4) 0%, transparent 7%),
        radial-gradient(circle at 50% 75%, rgba(109, 74, 255, 0.3) 0%, transparent 5%);
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(109, 74, 255, 0.2);
}

.world-map::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 60px 60px,
        linear-gradient(0deg, rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 60px 60px;
    border-radius: 16px;
}

.map-pulse {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 20px var(--secondary);
}

.map-pulse::before,
.map-pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    animation: pulse 2s ease-out infinite;
}

.map-pulse::after {
    animation-delay: 1s;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3.5); opacity: 0; }
}

.map-legend {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 0.95rem;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.pl { background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.legend-dot.std { background: var(--secondary); box-shadow: 0 0 10px var(--secondary); }

/* ========== 价值主张三栏 ========== */
.value-prop-section {
    padding: 80px 20px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.value-card {
    background: linear-gradient(135deg, rgba(109, 74, 255, 0.1), rgba(0, 212, 255, 0.05));
    border: 1px solid rgba(109, 74, 255, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(109, 74, 255, 0.15), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(109, 74, 255, 0.3);
}

.value-icon-wrap {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.value-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--light);
    position: relative;
    z-index: 1;
}

.value-card p {
    color: var(--gray);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.value-metric {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 15px;
}

/* ========== 媒体引用滚播 ========== */
.media-quotes-section {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.02);
}

.media-track {
    overflow: hidden;
    position: relative;
    margin-top: 30px;
    mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.media-track-inner {
    display: flex;
    gap: 60px;
    animation: scroll-media 30s linear infinite;
    width: max-content;
}

@keyframes scroll-media {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.media-quote {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(109, 74, 255, 0.2);
    border-radius: 50px;
    color: var(--light);
    font-size: 0.95rem;
    white-space: nowrap;
}

.media-quote .outlet {
    color: var(--secondary);
    font-weight: 700;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .world-map { height: 320px; }
    .value-grid { grid-template-columns: 1fr; }
    .map-legend { gap: 20px; }
}
